@forcewin/mir-chat-response-manage
v0.2.10
Published
**`M`** : Means props competible only for editing only messages mode
Downloads
2
Readme
ResponseManage for MIR-Chat
ResponseManage
Descriptions
M
: Means props competible only for editing only messages mode
Constants
Available props
Props about ConditionList
requestId
Binding id of request for control conditions
conditionActions
Binding actions(functions) for trigged user interaction for condition
Props about MessageBoard
currentEditMessage
*
Bidning current editing messages data
Props about SliderView
currentEditSlidePage
*
Bidning current editing slide page data
Props about ReferenceList
Props about UI
autoSave
Auto save activate/deactivate flag value
msgChanges
Flag for messages data is changed
msgUpdating
Flag for current messages data is updating
onComplete
M
Trigging when user click 'Complete button' It need when only edit messages (Bot create page)
onDropDeleteArea
Trigging when dropped rendered component for delete
Common props
editCurrentResponse
Binding response for edit
isDragging
*
Binding value drag boolean value
messageActions
*
Binding actions about messages data
editing_message_index
*
Binding editing index
editing_row_index
*
Binding editing index
editing_slide_page_index
*
Binding editing index
topicUpdateID
Binding updateId(UID) for topic
editCurrentResponse
Binding actions about messages data
Excepts
Return types
ADD_COMPONENT
DELETE_COMPONENT
UPDATE_COMPONENT
UPDATE_COMPONENT_INDEX_POS
UPDATE_ROW
This MessageActions is different return type with other actions
Return type
{
editState: <String>, // ['MESSAGE', 'SLIDE_PAGE']
result: NULL, <Array>, // Edited result
}
~~onExit
~~
~~Trigging when exit response manage -> On click exit button~~
--- omission ---
This readme is currently updating
This readme is only Specifying must props for minumum working
Not implemened
hideUIs
(current not Implemented)
Select UI to hiding
[UI names]
ElementPicker
ComponentPicker
ComponentTrash
Settings
MessageBoard
RefList
RemoveResponseBtn
UItype
Specific types of UI layout for ResponseManage
[UI types]
~~- Generic
~~
~~Normal layout~~
~~- Confirm
~~
~~Show 'Confirm' button Minified function Bidning onConfirm props when activate this UItype~~
-> Implemented as onConfirm
autoSave
msgChanges
msgUpdating
clickASBtn
clickSaveBtn
[About export (publish)]
[In window]
set NODE_ENV=production&&babel src/lib --out-dir dist --copy-files --ignore spec.js,test.js