@zohodesk/dot 1.0.0-temp-196 → 1.0.0-temp-197.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cli/propValidation_report.html +1 -1
- package/es/ActionButton/ActionButton.js +2 -10
- package/es/ActionButton/props/defaultProps.js +1 -3
- package/es/ActionButton/props/propTypes.js +1 -6
- package/es/form/fields/TextEditor/TextEditor.js +37 -26
- package/es/form/fields/TextEditor/props/defaultProps.js +6 -1
- package/es/form/fields/TextEditor/props/propTypes.js +8 -1
- package/es/utils/editorUtils.js +6 -6
- package/es/v1/form/fields/TextEditor/TextEditor.js +23 -10
- package/es/v1/form/fields/TextEditor/props/defaultProps.js +6 -1
- package/es/v1/form/fields/TextEditor/props/propTypes.js +6 -1
- package/es/v1/utils/editorUtils.js +6 -6
- package/lib/ActionButton/ActionButton.js +2 -10
- package/lib/ActionButton/props/defaultProps.js +1 -3
- package/lib/ActionButton/props/propTypes.js +33 -37
- package/lib/form/fields/TextEditor/TextEditor.js +33 -26
- package/lib/form/fields/TextEditor/props/defaultProps.js +6 -1
- package/lib/form/fields/TextEditor/props/propTypes.js +8 -1
- package/lib/utils/editorUtils.js +6 -5
- package/lib/v1/form/fields/TextEditor/TextEditor.js +19 -10
- package/lib/v1/form/fields/TextEditor/props/defaultProps.js +6 -1
- package/lib/v1/form/fields/TextEditor/props/propTypes.js +6 -1
- package/lib/v1/utils/editorUtils.js +6 -5
- package/package.json +2 -2
- package/result.json +1 -1
- package/unittest/index.html +1 -1
- package/coverage/ActionButton/ActionButton.js.html +0 -652
- package/coverage/ActionButton/ActionButton.module.css.html +0 -559
- package/coverage/ActionButton/index.html +0 -131
- package/coverage/ActionButton/props/defaultProps.js.html +0 -142
- package/coverage/ActionButton/props/index.html +0 -131
- package/coverage/ActionButton/props/propTypes.js.html +0 -202
- package/coverage/AlphabeticList/AlphabeticList.js.html +0 -424
- package/coverage/AlphabeticList/AlphabeticList.module.css.html +0 -247
- package/coverage/AlphabeticList/index.html +0 -131
- package/coverage/AlphabeticList/props/defaultProps.js.html +0 -124
- package/coverage/AlphabeticList/props/index.html +0 -131
- package/coverage/AlphabeticList/props/propTypes.js.html +0 -250
- package/coverage/Attachment/Attachment.js.html +0 -388
- package/coverage/Attachment/Attachment.module.css.html +0 -583
- package/coverage/Attachment/index.html +0 -131
- package/coverage/Attachment/props/defaultProps.js.html +0 -109
- package/coverage/Attachment/props/index.html +0 -131
- package/coverage/Attachment/props/propTypes.js.html +0 -142
- package/coverage/AttachmentViewer/Attachment.js.html +0 -193
- package/coverage/AttachmentViewer/AttachmentImage.js.html +0 -268
- package/coverage/AttachmentViewer/AttachmentViewer.js.html +0 -1576
- package/coverage/AttachmentViewer/AttachmentViewer.module.css.html +0 -955
- package/coverage/AttachmentViewer/index.html +0 -161
- package/coverage/AttachmentViewer/props/defaultProps.js.html +0 -121
- package/coverage/AttachmentViewer/props/index.html +0 -131
- package/coverage/AttachmentViewer/props/propTypes.js.html +0 -187
- package/coverage/ChannelIcon/ChannelIcon.js.html +0 -448
- package/coverage/ChannelIcon/ChannelIcon.module.css.html +0 -727
- package/coverage/ChannelIcon/index.html +0 -131
- package/coverage/ChannelIcon/props/defaultProps.js.html +0 -106
- package/coverage/ChannelIcon/props/index.html +0 -131
- package/coverage/ChannelIcon/props/propTypes.js.html +0 -163
- package/coverage/Drawer/Drawer.js.html +0 -1042
- package/coverage/Drawer/Drawer.module.css.html +0 -466
- package/coverage/Drawer/index.html +0 -131
- package/coverage/Drawer/props/defaultProps.js.html +0 -160
- package/coverage/Drawer/props/index.html +0 -131
- package/coverage/Drawer/props/propTypes.js.html +0 -283
- package/coverage/ExternalLink/ExternalLink.js.html +0 -229
- package/coverage/ExternalLink/ExternalLink.module.css.html +0 -94
- package/coverage/ExternalLink/index.html +0 -131
- package/coverage/ExternalLink/props/defaultProps.js.html +0 -100
- package/coverage/ExternalLink/props/index.html +0 -131
- package/coverage/ExternalLink/props/propTypes.js.html +0 -124
- package/coverage/FlipCard/FlipCard.js.html +0 -523
- package/coverage/FlipCard/FlipCard.module.css.html +0 -190
- package/coverage/FlipCard/index.html +0 -131
- package/coverage/FlipCard/props/defaultProps.js.html +0 -100
- package/coverage/FlipCard/props/index.html +0 -131
- package/coverage/FlipCard/props/propTypes.js.html +0 -199
- package/coverage/FormAction/FormAction.js.html +0 -391
- package/coverage/FormAction/FormAction.module.css.html +0 -292
- package/coverage/FormAction/index.html +0 -131
- package/coverage/FormAction/props/defaultProps.js.html +0 -100
- package/coverage/FormAction/props/index.html +0 -131
- package/coverage/FormAction/props/propTypes.js.html +0 -112
- package/coverage/FreezeLayer/FreezeLayer.js.html +0 -346
- package/coverage/FreezeLayer/css/FreezeLayer.module.css.html +0 -199
- package/coverage/FreezeLayer/css/cssJSLogic.js.html +0 -139
- package/coverage/FreezeLayer/css/index.html +0 -131
- package/coverage/FreezeLayer/index.html +0 -116
- package/coverage/FreezeLayer/props/defaultProps.js.html +0 -112
- package/coverage/FreezeLayer/props/index.html +0 -131
- package/coverage/FreezeLayer/props/propTypes.js.html +0 -151
- package/coverage/Hooks/Dragger/css/Dragger.module.css.html +0 -91
- package/coverage/Hooks/Dragger/css/index.html +0 -116
- package/coverage/Hooks/Dragger/index.html +0 -116
- package/coverage/Hooks/Dragger/props/defaultProps.js.html +0 -100
- package/coverage/Hooks/Dragger/props/index.html +0 -131
- package/coverage/Hooks/Dragger/props/propTypes.js.html +0 -124
- package/coverage/Hooks/Dragger/useDragger.js.html +0 -439
- package/coverage/Hooks/Dragger/utils/DraggerUtil.js.html +0 -133
- package/coverage/Hooks/Dragger/utils/index.html +0 -116
- package/coverage/Hooks/index.html +0 -116
- package/coverage/Hooks/useFreezeLayer.js.html +0 -247
- package/coverage/IconButton/IconButton.js.html +0 -466
- package/coverage/IconButton/IconButton.module.css.html +0 -151
- package/coverage/IconButton/index.html +0 -131
- package/coverage/IconButton/props/defaultProps.js.html +0 -136
- package/coverage/IconButton/props/index.html +0 -131
- package/coverage/IconButton/props/propTypes.js.html +0 -187
- package/coverage/Image/Image.js.html +0 -184
- package/coverage/Image/Image.module.css.html +0 -118
- package/coverage/Image/index.html +0 -131
- package/coverage/Image/props/defaultProps.js.html +0 -97
- package/coverage/Image/props/index.html +0 -131
- package/coverage/Image/props/propTypes.js.html +0 -127
- package/coverage/ImportantNotes/ImportantNotes.js.html +0 -223
- package/coverage/ImportantNotes/ImportantNotes.module.css.html +0 -133
- package/coverage/ImportantNotes/index.html +0 -131
- package/coverage/ImportantNotes/props/defaultProps.js.html +0 -103
- package/coverage/ImportantNotes/props/index.html +0 -131
- package/coverage/ImportantNotes/props/propTypes.js.html +0 -118
- package/coverage/Link/Link.js.html +0 -388
- package/coverage/Link/Link.module.css.html +0 -94
- package/coverage/Link/LinkContext.js.html +0 -112
- package/coverage/Link/index.html +0 -146
- package/coverage/Link/props/defaultProps.js.html +0 -100
- package/coverage/Link/props/index.html +0 -131
- package/coverage/Link/props/propTypes.js.html +0 -142
- package/coverage/Loader/Loader.js.html +0 -136
- package/coverage/Loader/Loader.module.css.html +0 -163
- package/coverage/Loader/index.html +0 -131
- package/coverage/Message/Message.js.html +0 -361
- package/coverage/Message/Message.module.css.html +0 -292
- package/coverage/Message/index.html +0 -131
- package/coverage/Message/props/defaultProps.js.html +0 -97
- package/coverage/Message/props/index.html +0 -131
- package/coverage/Message/props/propTypes.js.html +0 -157
- package/coverage/MessageBanner/MessageBanner.js.html +0 -244
- package/coverage/MessageBanner/MessageBanner.module.css.html +0 -199
- package/coverage/MessageBanner/index.html +0 -131
- package/coverage/MessageBanner/props/defaultProps.js.html +0 -106
- package/coverage/MessageBanner/props/index.html +0 -131
- package/coverage/MessageBanner/props/propTypes.js.html +0 -127
- package/coverage/NewStar/NewStar.js.html +0 -259
- package/coverage/NewStar/NewStar.module.css.html +0 -490
- package/coverage/NewStar/index.html +0 -131
- package/coverage/NewStar/props/defaultProps.js.html +0 -97
- package/coverage/NewStar/props/index.html +0 -131
- package/coverage/NewStar/props/propTypes.js.html +0 -121
- package/coverage/PlusIcon/PlusIcon.js.html +0 -190
- package/coverage/PlusIcon/PlusIcon.module.css.html +0 -139
- package/coverage/PlusIcon/index.html +0 -131
- package/coverage/PlusIcon/props/defaultProps.js.html +0 -109
- package/coverage/PlusIcon/props/index.html +0 -131
- package/coverage/PlusIcon/props/propTypes.js.html +0 -121
- package/coverage/Provider/Config.js.html +0 -136
- package/coverage/Provider/index.html +0 -116
- package/coverage/Separator/Separator.js.html +0 -286
- package/coverage/Separator/Separator.module.css.html +0 -187
- package/coverage/Separator/index.html +0 -131
- package/coverage/Separator/props/defaultProps.js.html +0 -118
- package/coverage/Separator/props/index.html +0 -131
- package/coverage/Separator/props/propTypes.js.html +0 -121
- package/coverage/TagWithIcon/TagWithIcon.js.html +0 -247
- package/coverage/TagWithIcon/TagWithIcon.module.css.html +0 -262
- package/coverage/TagWithIcon/index.html +0 -131
- package/coverage/TagWithIcon/props/defaultProps.js.html +0 -106
- package/coverage/TagWithIcon/props/index.html +0 -131
- package/coverage/TagWithIcon/props/propTypes.js.html +0 -124
- package/coverage/ToastMessage/ToastMessage.js.html +0 -751
- package/coverage/ToastMessage/ToastMessage.module.css.html +0 -859
- package/coverage/ToastMessage/index.html +0 -131
- package/coverage/ToastMessage/props/defaultProps.js.html +0 -139
- package/coverage/ToastMessage/props/index.html +0 -131
- package/coverage/ToastMessage/props/propTypes.js.html +0 -229
- package/coverage/Upload/Upload.js.html +0 -310
- package/coverage/Upload/Upload.module.css.html +0 -403
- package/coverage/Upload/index.html +0 -131
- package/coverage/Upload/props/defaultProps.js.html +0 -106
- package/coverage/Upload/props/index.html +0 -131
- package/coverage/Upload/props/propTypes.js.html +0 -139
- package/coverage/actions/AutoClose.js.html +0 -181
- package/coverage/actions/index.html +0 -116
- package/coverage/actions/props/defaultProps.js.html +0 -94
- package/coverage/actions/props/index.html +0 -131
- package/coverage/actions/props/propTypes.js.html +0 -112
- package/coverage/alert/AlertHeader/AlertHeader.js.html +0 -337
- package/coverage/alert/AlertHeader/AlertHeader.module.css.html +0 -271
- package/coverage/alert/AlertHeader/index.html +0 -131
- package/coverage/alert/AlertHeader/props/defaultProps.js.html +0 -109
- package/coverage/alert/AlertHeader/props/index.html +0 -131
- package/coverage/alert/AlertHeader/props/propTypes.js.html +0 -148
- package/coverage/alert/AlertLookup/AlertLookup.js.html +0 -472
- package/coverage/alert/AlertLookup/AlertLookup.module.css.html +0 -151
- package/coverage/alert/AlertLookup/index.html +0 -131
- package/coverage/alert/AlertLookup/props/defaultProps.js.html +0 -127
- package/coverage/alert/AlertLookup/props/index.html +0 -131
- package/coverage/alert/AlertLookup/props/propTypes.js.html +0 -193
- package/coverage/avatar/AvatarClose/AvatarClose.js.html +0 -190
- package/coverage/avatar/AvatarClose/AvatarClose.module.css.html +0 -178
- package/coverage/avatar/AvatarClose/index.html +0 -131
- package/coverage/avatar/AvatarClose/props/defaultProps.js.html +0 -106
- package/coverage/avatar/AvatarClose/props/index.html +0 -131
- package/coverage/avatar/AvatarClose/props/propTypes.js.html +0 -133
- package/coverage/avatar/AvatarCollision/AvatarCollision.js.html +0 -241
- package/coverage/avatar/AvatarCollision/AvatarCollision.module.css.html +0 -250
- package/coverage/avatar/AvatarCollision/index.html +0 -131
- package/coverage/avatar/AvatarCollision/props/defaultProps.js.html +0 -109
- package/coverage/avatar/AvatarCollision/props/index.html +0 -131
- package/coverage/avatar/AvatarCollision/props/propTypes.js.html +0 -139
- package/coverage/avatar/AvatarIcon/AvatarIcon.js.html +0 -256
- package/coverage/avatar/AvatarIcon/AvatarIcon.module.css.html +0 -262
- package/coverage/avatar/AvatarIcon/index.html +0 -131
- package/coverage/avatar/AvatarIcon/props/defaultProps.js.html +0 -127
- package/coverage/avatar/AvatarIcon/props/index.html +0 -131
- package/coverage/avatar/AvatarIcon/props/propTypes.js.html +0 -148
- package/coverage/avatar/AvatarStatus/AvatarStatus.js.html +0 -301
- package/coverage/avatar/AvatarStatus/AvatarStatus.module.css.html +0 -373
- package/coverage/avatar/AvatarStatus/index.html +0 -131
- package/coverage/avatar/AvatarStatus/props/defaultProps.js.html +0 -121
- package/coverage/avatar/AvatarStatus/props/index.html +0 -131
- package/coverage/avatar/AvatarStatus/props/propTypes.js.html +0 -166
- package/coverage/avatar/AvatarThread/AvatarThread.js.html +0 -367
- package/coverage/avatar/AvatarThread/AvatarThread.module.css.html +0 -439
- package/coverage/avatar/AvatarThread/index.html +0 -131
- package/coverage/avatar/AvatarThread/props/defaultProps.js.html +0 -112
- package/coverage/avatar/AvatarThread/props/index.html +0 -131
- package/coverage/avatar/AvatarThread/props/propTypes.js.html +0 -178
- package/coverage/avatar/AvatarUser/AvatarUser.js.html +0 -415
- package/coverage/avatar/AvatarUser/AvatarUser.module.css.html +0 -385
- package/coverage/avatar/AvatarUser/index.html +0 -131
- package/coverage/avatar/AvatarUser/props/defaultProps.js.html +0 -109
- package/coverage/avatar/AvatarUser/props/index.html +0 -131
- package/coverage/avatar/AvatarUser/props/propTypes.js.html +0 -193
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +0 -448
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +0 -133
- package/coverage/avatar/AvatarWithTeam/index.html +0 -131
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +0 -112
- package/coverage/avatar/AvatarWithTeam/props/index.html +0 -131
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +0 -163
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -87
- package/coverage/coverage-final.json +0 -490
- package/coverage/coverage-summary.json +0 -491
- package/coverage/dropdown/ToggleDropDown/ToggleDropDown.js.html +0 -2719
- package/coverage/dropdown/ToggleDropDown/ToggleDropDown.module.css.html +0 -346
- package/coverage/dropdown/ToggleDropDown/index.html +0 -131
- package/coverage/dropdown/ToggleDropDown/props/defaultProps.js.html +0 -172
- package/coverage/dropdown/ToggleDropDown/props/index.html +0 -131
- package/coverage/dropdown/ToggleDropDown/props/propTypes.js.html +0 -376
- package/coverage/emptystate/CommonEmptyState/CommonEmptyState.js.html +0 -334
- package/coverage/emptystate/CommonEmptyState/CommonEmptyState.module.css.html +0 -337
- package/coverage/emptystate/CommonEmptyState/index.html +0 -131
- package/coverage/emptystate/CommonEmptyState/props/defaultProps.js.html +0 -115
- package/coverage/emptystate/CommonEmptyState/props/index.html +0 -131
- package/coverage/emptystate/CommonEmptyState/props/propTypes.js.html +0 -151
- package/coverage/emptystate/EditionPage/EditionPage.css.html +0 -196
- package/coverage/emptystate/EditionPage/EditionPage.js.html +0 -229
- package/coverage/emptystate/EditionPage/index.html +0 -131
- package/coverage/emptystate/EditionPage/props/defaultProps.js.html +0 -100
- package/coverage/emptystate/EditionPage/props/index.html +0 -131
- package/coverage/emptystate/EditionPage/props/propTypes.js.html +0 -121
- package/coverage/errorstate/EmptyStates.module.css.html +0 -337
- package/coverage/errorstate/Inconvenience/Inconvenience.js.html +0 -349
- package/coverage/errorstate/Inconvenience/Inconvenience.module.css.html +0 -97
- package/coverage/errorstate/Inconvenience/index.html +0 -131
- package/coverage/errorstate/Inconvenience/props/defaultProps.js.html +0 -97
- package/coverage/errorstate/Inconvenience/props/index.html +0 -131
- package/coverage/errorstate/Inconvenience/props/propTypes.js.html +0 -121
- package/coverage/errorstate/LinkText/LinkText.js.html +0 -166
- package/coverage/errorstate/LinkText/LinkText.module.css.html +0 -103
- package/coverage/errorstate/LinkText/index.html +0 -131
- package/coverage/errorstate/LinkText/props/defaultProps.js.html +0 -97
- package/coverage/errorstate/LinkText/props/index.html +0 -131
- package/coverage/errorstate/LinkText/props/propTypes.js.html +0 -112
- package/coverage/errorstate/NoRequestFound/NoRequestFound.js.html +0 -349
- package/coverage/errorstate/NoRequestFound/NoRequestFound.module.css.html +0 -94
- package/coverage/errorstate/NoRequestFound/index.html +0 -131
- package/coverage/errorstate/NoRequestFound/props/defaultProps.js.html +0 -97
- package/coverage/errorstate/NoRequestFound/props/index.html +0 -131
- package/coverage/errorstate/NoRequestFound/props/propTypes.js.html +0 -121
- package/coverage/errorstate/PermissionPlay/PermissionPlay.js.html +0 -343
- package/coverage/errorstate/PermissionPlay/PermissionPlay.module.css.html +0 -187
- package/coverage/errorstate/PermissionPlay/index.html +0 -131
- package/coverage/errorstate/PermissionPlay/props/defaultProps.js.html +0 -97
- package/coverage/errorstate/PermissionPlay/props/index.html +0 -131
- package/coverage/errorstate/PermissionPlay/props/propTypes.js.html +0 -121
- package/coverage/errorstate/RequestUrlNotFound/RequestUrlNotFound.js.html +0 -349
- package/coverage/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css.html +0 -94
- package/coverage/errorstate/RequestUrlNotFound/index.html +0 -131
- package/coverage/errorstate/RequestUrlNotFound/props/defaultProps.js.html +0 -97
- package/coverage/errorstate/RequestUrlNotFound/props/index.html +0 -131
- package/coverage/errorstate/RequestUrlNotFound/props/propTypes.js.html +0 -121
- package/coverage/errorstate/UnableToProcess/UnableToProcess.js.html +0 -337
- package/coverage/errorstate/UnableToProcess/UnableToProcess.module.css.html +0 -94
- package/coverage/errorstate/UnableToProcess/index.html +0 -131
- package/coverage/errorstate/UnableToProcess/props/defaultProps.js.html +0 -97
- package/coverage/errorstate/UnableToProcess/props/index.html +0 -131
- package/coverage/errorstate/UnableToProcess/props/propTypes.js.html +0 -121
- package/coverage/errorstate/UnauthorizedLogin/UnauthorizedLogin.js.html +0 -337
- package/coverage/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css.html +0 -94
- package/coverage/errorstate/UnauthorizedLogin/index.html +0 -131
- package/coverage/errorstate/UnauthorizedLogin/props/defaultProps.js.html +0 -97
- package/coverage/errorstate/UnauthorizedLogin/props/index.html +0 -131
- package/coverage/errorstate/UnauthorizedLogin/props/propTypes.js.html +0 -121
- package/coverage/errorstate/WillBack/WillBack.js.html +0 -307
- package/coverage/errorstate/WillBack/WillBack.module.css.html +0 -193
- package/coverage/errorstate/WillBack/index.html +0 -131
- package/coverage/errorstate/WillBack/props/defaultProps.js.html +0 -97
- package/coverage/errorstate/WillBack/props/index.html +0 -131
- package/coverage/errorstate/WillBack/props/propTypes.js.html +0 -103
- package/coverage/errorstate/index.html +0 -116
- package/coverage/favicon.png +0 -0
- package/coverage/form/fields/CheckBoxField/CheckBoxField.js.html +0 -580
- package/coverage/form/fields/CheckBoxField/index.html +0 -116
- package/coverage/form/fields/CheckBoxField/props/defaultProps.js.html +0 -124
- package/coverage/form/fields/CheckBoxField/props/index.html +0 -131
- package/coverage/form/fields/CheckBoxField/props/propTypes.js.html +0 -178
- package/coverage/form/fields/CurrencyField/CurrencyField.js.html +0 -664
- package/coverage/form/fields/CurrencyField/index.html +0 -116
- package/coverage/form/fields/CurrencyField/props/defaultProps.js.html +0 -139
- package/coverage/form/fields/CurrencyField/props/index.html +0 -131
- package/coverage/form/fields/CurrencyField/props/propTypes.js.html +0 -208
- package/coverage/form/fields/DateField/DateField.js.html +0 -682
- package/coverage/form/fields/DateField/index.html +0 -116
- package/coverage/form/fields/DateField/props/defaultProps.js.html +0 -145
- package/coverage/form/fields/DateField/props/index.html +0 -131
- package/coverage/form/fields/DateField/props/propTypes.js.html +0 -208
- package/coverage/form/fields/FieldContainer/FieldContainer.js.html +0 -271
- package/coverage/form/fields/FieldContainer/index.html +0 -116
- package/coverage/form/fields/FieldContainer/props/defaultProps.js.html +0 -109
- package/coverage/form/fields/FieldContainer/props/index.html +0 -131
- package/coverage/form/fields/FieldContainer/props/propTypes.js.html +0 -166
- package/coverage/form/fields/Fields.module.css.html +0 -619
- package/coverage/form/fields/MultiSelectField/MultiSelectField.js.html +0 -745
- package/coverage/form/fields/MultiSelectField/index.html +0 -116
- package/coverage/form/fields/MultiSelectField/props/defaultProps.js.html +0 -139
- package/coverage/form/fields/MultiSelectField/props/index.html +0 -131
- package/coverage/form/fields/MultiSelectField/props/propTypes.js.html +0 -241
- package/coverage/form/fields/PhoneField/PhoneField.js.html +0 -619
- package/coverage/form/fields/PhoneField/index.html +0 -116
- package/coverage/form/fields/PhoneField/props/defaultProps.js.html +0 -133
- package/coverage/form/fields/PhoneField/props/index.html +0 -131
- package/coverage/form/fields/PhoneField/props/propTypes.js.html +0 -229
- package/coverage/form/fields/RadioField/RadioField.js.html +0 -493
- package/coverage/form/fields/RadioField/index.html +0 -116
- package/coverage/form/fields/RadioField/props/defaultProps.js.html +0 -121
- package/coverage/form/fields/RadioField/props/index.html +0 -131
- package/coverage/form/fields/RadioField/props/propTypes.js.html +0 -196
- package/coverage/form/fields/SelectField/SelectField.js.html +0 -697
- package/coverage/form/fields/SelectField/index.html +0 -116
- package/coverage/form/fields/SelectField/props/defaultProps.js.html +0 -142
- package/coverage/form/fields/SelectField/props/index.html +0 -131
- package/coverage/form/fields/SelectField/props/propTypes.js.html +0 -241
- package/coverage/form/fields/TagsMultiSelect/TagsMultiSelect.js.html +0 -1042
- package/coverage/form/fields/TagsMultiSelect/TagsMultiSelect.module.css.html +0 -382
- package/coverage/form/fields/TagsMultiSelect/index.html +0 -131
- package/coverage/form/fields/TagsMultiSelect/props/defaultProps.js.html +0 -127
- package/coverage/form/fields/TagsMultiSelect/props/index.html +0 -131
- package/coverage/form/fields/TagsMultiSelect/props/propTypes.js.html +0 -244
- package/coverage/form/fields/TagsMultiSelectField/TagsMultiSelectField.js.html +0 -844
- package/coverage/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css.html +0 -103
- package/coverage/form/fields/TagsMultiSelectField/index.html +0 -131
- package/coverage/form/fields/TagsMultiSelectField/props/defaultProps.js.html +0 -151
- package/coverage/form/fields/TagsMultiSelectField/props/index.html +0 -131
- package/coverage/form/fields/TagsMultiSelectField/props/propTypes.js.html +0 -292
- package/coverage/form/fields/TextBoxField/TextBoxField.js.html +0 -634
- package/coverage/form/fields/TextBoxField/index.html +0 -116
- package/coverage/form/fields/TextBoxField/props/defaultProps.js.html +0 -139
- package/coverage/form/fields/TextBoxField/props/index.html +0 -131
- package/coverage/form/fields/TextBoxField/props/propTypes.js.html +0 -223
- package/coverage/form/fields/TextEditor/TextEditor.js.html +0 -1201
- package/coverage/form/fields/TextEditor/TextEditor.module.css.html +0 -2113
- package/coverage/form/fields/TextEditor/index.html +0 -131
- package/coverage/form/fields/TextEditor/props/defaultProps.js.html +0 -124
- package/coverage/form/fields/TextEditor/props/index.html +0 -131
- package/coverage/form/fields/TextEditor/props/propTypes.js.html +0 -247
- package/coverage/form/fields/TextEditorField/TextEditorField.js.html +0 -622
- package/coverage/form/fields/TextEditorField/index.html +0 -116
- package/coverage/form/fields/TextEditorField/props/defaultProps.js.html +0 -133
- package/coverage/form/fields/TextEditorField/props/index.html +0 -131
- package/coverage/form/fields/TextEditorField/props/propTypes.js.html +0 -268
- package/coverage/form/fields/TextEditorWrapper/TextEditorWrapper.js.html +0 -631
- package/coverage/form/fields/TextEditorWrapper/TextEditorWrapper.module.css.html +0 -163
- package/coverage/form/fields/TextEditorWrapper/index.html +0 -131
- package/coverage/form/fields/TextEditorWrapper/props/defaultProps.js.html +0 -112
- package/coverage/form/fields/TextEditorWrapper/props/index.html +0 -131
- package/coverage/form/fields/TextEditorWrapper/props/propTypes.js.html +0 -226
- package/coverage/form/fields/TextareaField/TextareaField.js.html +0 -622
- package/coverage/form/fields/TextareaField/index.html +0 -116
- package/coverage/form/fields/TextareaField/props/defaultProps.js.html +0 -136
- package/coverage/form/fields/TextareaField/props/index.html +0 -131
- package/coverage/form/fields/TextareaField/props/propTypes.js.html +0 -202
- package/coverage/form/fields/ValidationMessage/ValidationMessage.js.html +0 -232
- package/coverage/form/fields/ValidationMessage/ValidationMessage.module.css.html +0 -151
- package/coverage/form/fields/ValidationMessage/index.html +0 -131
- package/coverage/form/fields/ValidationMessage/props/defaultProps.js.html +0 -106
- package/coverage/form/fields/ValidationMessage/props/index.html +0 -131
- package/coverage/form/fields/ValidationMessage/props/propTypes.js.html +0 -136
- package/coverage/form/fields/index.html +0 -116
- package/coverage/form/fields/props/FieldCommonDefaultProps.js.html +0 -115
- package/coverage/form/fields/props/FieldCommonPropTypes.js.html +0 -130
- package/coverage/form/fields/props/index.html +0 -131
- package/coverage/form/layout/Field/Field.js.html +0 -184
- package/coverage/form/layout/Field/Field.module.css.html +0 -151
- package/coverage/form/layout/Field/index.html +0 -131
- package/coverage/form/layout/Field/props/defaultProps.js.html +0 -97
- package/coverage/form/layout/Field/props/index.html +0 -131
- package/coverage/form/layout/Field/props/propTypes.js.html +0 -118
- package/coverage/form/layout/Section/ModuleFormSection.module.css.html +0 -94
- package/coverage/form/layout/Section/Section.js.html +0 -175
- package/coverage/form/layout/Section/index.html +0 -131
- package/coverage/form/layout/Section/props/index.html +0 -116
- package/coverage/form/layout/Section/props/propTypes.js.html +0 -121
- package/coverage/index.html +0 -3866
- package/coverage/layout/SetupDetailLayout/SetupDetailLayout.js.html +0 -679
- package/coverage/layout/SetupDetailLayout/SetupDetailLayout.module.css.html +0 -433
- package/coverage/layout/SetupDetailLayout/index.html +0 -131
- package/coverage/layout/SetupDetailLayout/props/defaultProps.js.html +0 -154
- package/coverage/layout/SetupDetailLayout/props/index.html +0 -131
- package/coverage/layout/SetupDetailLayout/props/propTypes.js.html +0 -223
- package/coverage/layout/SubtabLayout/SubtabLayout.js.html +0 -577
- package/coverage/layout/SubtabLayout/SubtabLayout.module.css.html +0 -484
- package/coverage/layout/SubtabLayout/index.html +0 -131
- package/coverage/layout/SubtabLayout/props/defaultProps.js.html +0 -169
- package/coverage/layout/SubtabLayout/props/index.html +0 -131
- package/coverage/layout/SubtabLayout/props/propTypes.js.html +0 -217
- package/coverage/list/AvatarFlip/AvatarFlip.js.html +0 -325
- package/coverage/list/AvatarFlip/AvatarFlip.module.css.html +0 -94
- package/coverage/list/AvatarFlip/index.html +0 -131
- package/coverage/list/AvatarFlip/props/defaultProps.js.html +0 -103
- package/coverage/list/AvatarFlip/props/index.html +0 -131
- package/coverage/list/AvatarFlip/props/propTypes.js.html +0 -175
- package/coverage/list/BluePrintStatus/BluePrintStatus.js.html +0 -160
- package/coverage/list/BluePrintStatus/BluePrintStatus.module.css.html +0 -127
- package/coverage/list/BluePrintStatus/index.html +0 -131
- package/coverage/list/BluePrintStatus/props/index.html +0 -116
- package/coverage/list/BluePrintStatus/props/propTypes.js.html +0 -100
- package/coverage/list/Comment/Comment.js.html +0 -199
- package/coverage/list/Comment/Comment.module.css.html +0 -157
- package/coverage/list/Comment/index.html +0 -131
- package/coverage/list/Comment/props/defaultProps.js.html +0 -97
- package/coverage/list/Comment/props/index.html +0 -131
- package/coverage/list/Comment/props/propTypes.js.html +0 -109
- package/coverage/list/DepartmentDropDown/DepartmentDropDown.js.html +0 -358
- package/coverage/list/DepartmentDropDown/DepartmentDropDown.module.css.html +0 -112
- package/coverage/list/DepartmentDropDown/index.html +0 -131
- package/coverage/list/DepartmentDropDown/props/defaultProps.js.html +0 -106
- package/coverage/list/DepartmentDropDown/props/index.html +0 -131
- package/coverage/list/DepartmentDropDown/props/propTypes.js.html +0 -160
- package/coverage/list/Dot/Dot.js.html +0 -151
- package/coverage/list/Dot/Dot.module.css.html +0 -130
- package/coverage/list/Dot/index.html +0 -131
- package/coverage/list/Dot/props/defaultProps.js.html +0 -97
- package/coverage/list/Dot/props/index.html +0 -131
- package/coverage/list/Dot/props/propTypes.js.html +0 -103
- package/coverage/list/DotNew/DotNew.js.html +0 -154
- package/coverage/list/DotNew/DotNew.module.css.html +0 -157
- package/coverage/list/DotNew/index.html +0 -131
- package/coverage/list/DotNew/props/defaultProps.js.html +0 -94
- package/coverage/list/DotNew/props/index.html +0 -131
- package/coverage/list/DotNew/props/propTypes.js.html +0 -106
- package/coverage/list/GridStencils/GridStencils.js.html +0 -208
- package/coverage/list/GridStencils/GridStencils.module.css.html +0 -373
- package/coverage/list/GridStencils/index.html +0 -131
- package/coverage/list/GridStencils/props/index.html +0 -116
- package/coverage/list/GridStencils/props/propTypes.js.html +0 -112
- package/coverage/list/Icons/AddNewIcon.js.html +0 -154
- package/coverage/list/Icons/CompleteIcon.js.html +0 -151
- package/coverage/list/Icons/DeleteIcon.js.html +0 -157
- package/coverage/list/Icons/EditIcon.js.html +0 -157
- package/coverage/list/Icons/FloatingIcons.js.html +0 -166
- package/coverage/list/Icons/Icons.module.css.html +0 -133
- package/coverage/list/Icons/ReadUnreadIcon.js.html +0 -181
- package/coverage/list/Icons/SmartIcon.js.html +0 -160
- package/coverage/list/Icons/index.html +0 -221
- package/coverage/list/Icons/props/defaultProps.js.html +0 -106
- package/coverage/list/Icons/props/index.html +0 -131
- package/coverage/list/Icons/props/propTypes.js.html +0 -265
- package/coverage/list/ListLayout/ListLayout.js.html +0 -337
- package/coverage/list/ListLayout/ListLayout.module.css.html +0 -283
- package/coverage/list/ListLayout/index.html +0 -131
- package/coverage/list/ListLayout/props/defaultProps.js.html +0 -118
- package/coverage/list/ListLayout/props/index.html +0 -131
- package/coverage/list/ListLayout/props/propTypes.js.html +0 -175
- package/coverage/list/ListStencils/ListStencils.js.html +0 -223
- package/coverage/list/ListStencils/ListStencils.module.css.html +0 -271
- package/coverage/list/ListStencils/index.html +0 -131
- package/coverage/list/ListStencils/props/defaultProps.js.html +0 -94
- package/coverage/list/ListStencils/props/index.html +0 -131
- package/coverage/list/ListStencils/props/propTypes.js.html +0 -100
- package/coverage/list/SecondaryText/AccountName.js.html +0 -358
- package/coverage/list/SecondaryText/ContactName.js.html +0 -361
- package/coverage/list/SecondaryText/DepartmentText.js.html +0 -160
- package/coverage/list/SecondaryText/Email.js.html +0 -253
- package/coverage/list/SecondaryText/HappinessRating.js.html +0 -172
- package/coverage/list/SecondaryText/PhoneNumber.js.html +0 -262
- package/coverage/list/SecondaryText/PriorityText.js.html +0 -181
- package/coverage/list/SecondaryText/SecondaryText.js.html +0 -190
- package/coverage/list/SecondaryText/SecondaryText.module.css.html +0 -463
- package/coverage/list/SecondaryText/StatusText.js.html +0 -181
- package/coverage/list/SecondaryText/TicketId.js.html +0 -214
- package/coverage/list/SecondaryText/Website.js.html +0 -226
- package/coverage/list/SecondaryText/index.html +0 -296
- package/coverage/list/SecondaryText/index.js.html +0 -118
- package/coverage/list/SecondaryText/props/defaultProps.js.html +0 -241
- package/coverage/list/SecondaryText/props/index.html +0 -131
- package/coverage/list/SecondaryText/props/propTypes.js.html +0 -544
- package/coverage/list/SecondryPanel/SecondryPanel.js.html +0 -406
- package/coverage/list/SecondryPanel/SecondryPanel.module.css.html +0 -100
- package/coverage/list/SecondryPanel/index.html +0 -131
- package/coverage/list/SecondryPanel/props/defaultProps.js.html +0 -148
- package/coverage/list/SecondryPanel/props/index.html +0 -131
- package/coverage/list/SecondryPanel/props/propTypes.js.html +0 -178
- package/coverage/list/SentimentStatus/SentimentStatus.js.html +0 -175
- package/coverage/list/SentimentStatus/SentimentStatus.module.css.html +0 -112
- package/coverage/list/SentimentStatus/index.html +0 -131
- package/coverage/list/SentimentStatus/props/index.html +0 -116
- package/coverage/list/SentimentStatus/props/propTypes.js.html +0 -103
- package/coverage/list/Subject/Subject.js.html +0 -304
- package/coverage/list/Subject/Subject.module.css.html +0 -187
- package/coverage/list/Subject/index.html +0 -131
- package/coverage/list/Subject/props/defaultProps.js.html +0 -109
- package/coverage/list/Subject/props/index.html +0 -131
- package/coverage/list/Subject/props/propTypes.js.html +0 -148
- package/coverage/list/TagNew/TagNew.js.html +0 -181
- package/coverage/list/TagNew/TagNew.module.css.html +0 -412
- package/coverage/list/TagNew/index.html +0 -131
- package/coverage/list/TagNew/props/defaultProps.js.html +0 -97
- package/coverage/list/TagNew/props/index.html +0 -131
- package/coverage/list/TagNew/props/propTypes.js.html +0 -112
- package/coverage/list/Thread/Thread.js.html +0 -199
- package/coverage/list/Thread/Thread.module.css.html +0 -175
- package/coverage/list/Thread/index.html +0 -131
- package/coverage/list/Thread/props/defaultProps.js.html +0 -97
- package/coverage/list/Thread/props/index.html +0 -131
- package/coverage/list/Thread/props/propTypes.js.html +0 -112
- package/coverage/list/status/StatusDropdown/StatusDropdown.js.html +0 -1147
- package/coverage/list/status/StatusDropdown/StatusDropdown.module.css.html +0 -292
- package/coverage/list/status/StatusDropdown/index.html +0 -131
- package/coverage/list/status/StatusDropdown/props/defaultProps.js.html +0 -145
- package/coverage/list/status/StatusDropdown/props/index.html +0 -131
- package/coverage/list/status/StatusDropdown/props/propTypes.js.html +0 -319
- package/coverage/list/status/StatusListItem/StatusListItem.js.html +0 -424
- package/coverage/list/status/StatusListItem/StatusListItem.module.css.html +0 -352
- package/coverage/list/status/StatusListItem/index.html +0 -131
- package/coverage/list/status/StatusListItem/props/defaultProps.js.html +0 -133
- package/coverage/list/status/StatusListItem/props/index.html +0 -131
- package/coverage/list/status/StatusListItem/props/propTypes.js.html +0 -181
- package/coverage/lookup/EmptyPage/EmptyPage.js.html +0 -256
- package/coverage/lookup/EmptyPage/LookupEmptyPage.module.css.html +0 -121
- package/coverage/lookup/EmptyPage/index.html +0 -131
- package/coverage/lookup/EmptyPage/props/defaultProps.js.html +0 -97
- package/coverage/lookup/EmptyPage/props/index.html +0 -131
- package/coverage/lookup/EmptyPage/props/propTypes.js.html +0 -103
- package/coverage/lookup/Lookup/Lookup.js.html +0 -499
- package/coverage/lookup/Lookup/Lookup.module.css.html +0 -217
- package/coverage/lookup/Lookup/index.html +0 -131
- package/coverage/lookup/Lookup/props/defaultProps.js.html +0 -112
- package/coverage/lookup/Lookup/props/index.html +0 -131
- package/coverage/lookup/Lookup/props/propTypes.js.html +0 -160
- package/coverage/lookup/Section/LookupSection.module.css.html +0 -109
- package/coverage/lookup/Section/Section.js.html +0 -142
- package/coverage/lookup/Section/index.html +0 -131
- package/coverage/lookup/Section/props/index.html +0 -116
- package/coverage/lookup/Section/props/propTypes.js.html +0 -106
- package/coverage/lookup/header/Close/Close.js.html +0 -154
- package/coverage/lookup/header/Close/index.html +0 -116
- package/coverage/lookup/header/Close/props/defaultProps.js.html +0 -94
- package/coverage/lookup/header/Close/props/index.html +0 -131
- package/coverage/lookup/header/Close/props/propTypes.js.html +0 -106
- package/coverage/lookup/header/ModuleHeader/ModuleHeader.js.html +0 -367
- package/coverage/lookup/header/ModuleHeader/index.html +0 -116
- package/coverage/lookup/header/ModuleHeader/props/defaultProps.js.html +0 -97
- package/coverage/lookup/header/ModuleHeader/props/index.html +0 -131
- package/coverage/lookup/header/ModuleHeader/props/propTypes.js.html +0 -148
- package/coverage/lookup/header/Search/LookupSearch.module.css.html +0 -229
- package/coverage/lookup/header/Search/Search.js.html +0 -724
- package/coverage/lookup/header/Search/index.html +0 -131
- package/coverage/lookup/header/Search/props/defaultProps.js.html +0 -100
- package/coverage/lookup/header/Search/props/index.html +0 -131
- package/coverage/lookup/header/Search/props/propTypes.js.html +0 -175
- package/coverage/lookup/header/TicketHeader/TicketHeader.js.html +0 -433
- package/coverage/lookup/header/TicketHeader/TicketHeader.module.css.html +0 -142
- package/coverage/lookup/header/TicketHeader/index.html +0 -131
- package/coverage/lookup/header/TicketHeader/props/defaultProps.js.html +0 -100
- package/coverage/lookup/header/TicketHeader/props/index.html +0 -131
- package/coverage/lookup/header/TicketHeader/props/propTypes.js.html +0 -151
- package/coverage/lookup/header/Title/LookupTitle.module.css.html +0 -148
- package/coverage/lookup/header/Title/Title.js.html +0 -169
- package/coverage/lookup/header/Title/index.html +0 -131
- package/coverage/lookup/header/Title/props/defaultProps.js.html +0 -94
- package/coverage/lookup/header/Title/props/index.html +0 -131
- package/coverage/lookup/header/Title/props/propTypes.js.html +0 -106
- package/coverage/lookup/header/ViewDropDown/ViewDropDown.js.html +0 -610
- package/coverage/lookup/header/ViewDropDown/ViewDropDown.module.css.html +0 -220
- package/coverage/lookup/header/ViewDropDown/index.html +0 -131
- package/coverage/lookup/header/ViewDropDown/props/defaultProps.js.html +0 -109
- package/coverage/lookup/header/ViewDropDown/props/index.html +0 -131
- package/coverage/lookup/header/ViewDropDown/props/propTypes.js.html +0 -157
- package/coverage/lookup/header/index.html +0 -131
- package/coverage/lookup/header/lookupHeaderCommon.module.css.html +0 -178
- package/coverage/lookup/header/lookupHeaderCommonResponsive.module.css.html +0 -130
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/setup/header/Button/Button.js.html +0 -169
- package/coverage/setup/header/Button/HeaderButton.module.css.html +0 -94
- package/coverage/setup/header/Button/index.html +0 -131
- package/coverage/setup/header/Button/props/defaultProps.js.html +0 -97
- package/coverage/setup/header/Button/props/index.html +0 -131
- package/coverage/setup/header/Button/props/propTypes.js.html +0 -109
- package/coverage/setup/header/Link/HeaderLink.module.css.html +0 -130
- package/coverage/setup/header/Link/Link.js.html +0 -193
- package/coverage/setup/header/Link/index.html +0 -131
- package/coverage/setup/header/Link/props/defaultProps.js.html +0 -97
- package/coverage/setup/header/Link/props/index.html +0 -131
- package/coverage/setup/header/Link/props/propTypes.js.html +0 -112
- package/coverage/setup/header/Search/Search.js.html +0 -280
- package/coverage/setup/header/Search/Search.module.css.html +0 -259
- package/coverage/setup/header/Search/index.html +0 -131
- package/coverage/setup/header/Search/props/defaultProps.js.html +0 -103
- package/coverage/setup/header/Search/props/index.html +0 -131
- package/coverage/setup/header/Search/props/propTypes.js.html +0 -124
- package/coverage/setup/header/Views/Views.js.html +0 -208
- package/coverage/setup/header/Views/Views.module.css.html +0 -169
- package/coverage/setup/header/Views/index.html +0 -131
- package/coverage/setup/header/Views/props/defaultProps.js.html +0 -103
- package/coverage/setup/header/Views/props/index.html +0 -131
- package/coverage/setup/header/Views/props/propTypes.js.html +0 -115
- package/coverage/setup/helptips/Description/Description.js.html +0 -148
- package/coverage/setup/helptips/Description/HelpTipsDescription.module.css.html +0 -103
- package/coverage/setup/helptips/Description/index.html +0 -131
- package/coverage/setup/helptips/Description/props/index.html +0 -116
- package/coverage/setup/helptips/Description/props/propTypes.js.html +0 -100
- package/coverage/setup/helptips/Link/HelpTipsLink.module.css.html +0 -103
- package/coverage/setup/helptips/Link/Link.js.html +0 -172
- package/coverage/setup/helptips/Link/index.html +0 -131
- package/coverage/setup/helptips/Link/props/index.html +0 -116
- package/coverage/setup/helptips/Link/props/propTypes.js.html +0 -109
- package/coverage/setup/helptips/ListGroup/ListGroup.js.html +0 -205
- package/coverage/setup/helptips/ListGroup/ListGroup.module.css.html +0 -136
- package/coverage/setup/helptips/ListGroup/index.html +0 -131
- package/coverage/setup/helptips/ListGroup/props/index.html +0 -116
- package/coverage/setup/helptips/ListGroup/props/propTypes.js.html +0 -103
- package/coverage/setup/helptips/Title/HelpTipsTitle.module.css.html +0 -100
- package/coverage/setup/helptips/Title/Title.js.html +0 -148
- package/coverage/setup/helptips/Title/index.html +0 -131
- package/coverage/setup/helptips/Title/props/index.html +0 -116
- package/coverage/setup/helptips/Title/props/propTypes.js.html +0 -100
- package/coverage/setup/table/Table/Table.js.html +0 -160
- package/coverage/setup/table/Table/index.html +0 -116
- package/coverage/setup/table/Table/props/defaultProps.js.html +0 -97
- package/coverage/setup/table/Table/props/index.html +0 -131
- package/coverage/setup/table/Table/props/propTypes.js.html +0 -106
- package/coverage/setup/table/TableBody/TableBody.js.html +0 -160
- package/coverage/setup/table/TableBody/index.html +0 -116
- package/coverage/setup/table/TableBody/props/defaultProps.js.html +0 -94
- package/coverage/setup/table/TableBody/props/index.html +0 -131
- package/coverage/setup/table/TableBody/props/propTypes.js.html +0 -109
- package/coverage/setup/table/TableData/SetupTableData.module.css.html +0 -193
- package/coverage/setup/table/TableData/TableData.js.html +0 -199
- package/coverage/setup/table/TableData/index.html +0 -131
- package/coverage/setup/table/TableData/props/defaultProps.js.html +0 -100
- package/coverage/setup/table/TableData/props/index.html +0 -131
- package/coverage/setup/table/TableData/props/propTypes.js.html +0 -121
- package/coverage/setup/table/TableHead/SetupTableHead.module.css.html +0 -109
- package/coverage/setup/table/TableHead/TableHead.js.html +0 -193
- package/coverage/setup/table/TableHead/index.html +0 -131
- package/coverage/setup/table/TableHead/props/defaultProps.js.html +0 -97
- package/coverage/setup/table/TableHead/props/index.html +0 -131
- package/coverage/setup/table/TableHead/props/propTypes.js.html +0 -112
- package/coverage/setup/table/TableRow/SetupTableRow.module.css.html +0 -115
- package/coverage/setup/table/TableRow/TableRow.js.html +0 -205
- package/coverage/setup/table/TableRow/index.html +0 -131
- package/coverage/setup/table/TableRow/props/defaultProps.js.html +0 -97
- package/coverage/setup/table/TableRow/props/index.html +0 -131
- package/coverage/setup/table/TableRow/props/propTypes.js.html +0 -121
- package/coverage/setup/table/Text/TableText.module.css.html +0 -196
- package/coverage/setup/table/Text/Text.js.html +0 -214
- package/coverage/setup/table/Text/index.html +0 -131
- package/coverage/setup/table/Text/props/defaultProps.js.html +0 -106
- package/coverage/setup/table/Text/props/index.html +0 -131
- package/coverage/setup/table/Text/props/propTypes.js.html +0 -127
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -196
- package/coverage/svg/PlusIcon.js.html +0 -175
- package/coverage/svg/SnippetIcon.js.html +0 -196
- package/coverage/svg/TemplateIcon.js.html +0 -160
- package/coverage/svg/index.html +0 -146
- package/coverage/svg/props/defaultProps.js.html +0 -136
- package/coverage/svg/props/index.html +0 -131
- package/coverage/svg/props/propTypes.js.html +0 -142
- package/coverage/utils/ChannelIconMapping.js.html +0 -475
- package/coverage/utils/General.js.html +0 -208
- package/coverage/utils/editorUtils.js.html +0 -652
- package/coverage/utils/index.html +0 -146
- package/coverage/version2/AlertClose/AlertClose.js.html +0 -202
- package/coverage/version2/AlertClose/AlertClose.module.css.html +0 -211
- package/coverage/version2/AlertClose/index.html +0 -131
- package/coverage/version2/AlertClose/props/index.html +0 -116
- package/coverage/version2/AlertClose/props/propTypes.js.html +0 -112
- package/coverage/version2/GlobalNotification/GlobalNotification.js.html +0 -463
- package/coverage/version2/GlobalNotification/GlobalNotification.module.css.html +0 -466
- package/coverage/version2/GlobalNotification/index.html +0 -131
- package/coverage/version2/GlobalNotification/props/defaultProps.js.html +0 -103
- package/coverage/version2/GlobalNotification/props/index.html +0 -131
- package/coverage/version2/GlobalNotification/props/propTypes.js.html +0 -214
- package/coverage/version2/alertIcons/AlarmAlertIcon.js.html +0 -166
- package/coverage/version2/alertIcons/AlertIcons.js.html +0 -253
- package/coverage/version2/alertIcons/AlertIcons.module.css.html +0 -286
- package/coverage/version2/alertIcons/DangerAlertIcon.js.html +0 -166
- package/coverage/version2/alertIcons/ErrorAlertIcon.js.html +0 -169
- package/coverage/version2/alertIcons/InfoAlertIcon.js.html +0 -172
- package/coverage/version2/alertIcons/NotificationAlertIcon.js.html +0 -166
- package/coverage/version2/alertIcons/SuccessAlertIcon.js.html +0 -166
- package/coverage/version2/alertIcons/WarningAlertIcon.js.html +0 -163
- package/coverage/version2/alertIcons/index.html +0 -236
- package/coverage/version2/alertIcons/props/defaultProps.js.html +0 -187
- package/coverage/version2/alertIcons/props/index.html +0 -131
- package/coverage/version2/alertIcons/props/propTypes.js.html +0 -211
- package/coverage/version2/errorstate/Inconvenience/Inconvenience.js.html +0 -319
- package/coverage/version2/errorstate/Inconvenience/index.html +0 -116
- package/coverage/version2/errorstate/Inconvenience/props/defaultProps.js.html +0 -109
- package/coverage/version2/errorstate/Inconvenience/props/index.html +0 -131
- package/coverage/version2/errorstate/Inconvenience/props/propTypes.js.html +0 -136
- package/coverage/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js.html +0 -319
- package/coverage/version2/errorstate/OopsSomethingMiss/index.html +0 -116
- package/coverage/version2/errorstate/OopsSomethingMiss/props/defaultProps.js.html +0 -109
- package/coverage/version2/errorstate/OopsSomethingMiss/props/index.html +0 -131
- package/coverage/version2/errorstate/OopsSomethingMiss/props/propTypes.js.html +0 -136
- package/coverage/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js.html +0 -319
- package/coverage/version2/errorstate/UnableToProcessRequest/index.html +0 -116
- package/coverage/version2/errorstate/UnableToProcessRequest/props/defaultProps.js.html +0 -109
- package/coverage/version2/errorstate/UnableToProcessRequest/props/index.html +0 -131
- package/coverage/version2/errorstate/UnableToProcessRequest/props/propTypes.js.html +0 -136
- package/coverage/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js.html +0 -319
- package/coverage/version2/errorstate/UnauthorizedLogin/index.html +0 -116
- package/coverage/version2/errorstate/UnauthorizedLogin/props/defaultProps.js.html +0 -112
- package/coverage/version2/errorstate/UnauthorizedLogin/props/index.html +0 -131
- package/coverage/version2/errorstate/UnauthorizedLogin/props/propTypes.js.html +0 -139
- package/coverage/version2/errorstate/UrlNotFound/UrlNotFound.js.html +0 -319
- package/coverage/version2/errorstate/UrlNotFound/index.html +0 -116
- package/coverage/version2/errorstate/UrlNotFound/props/defaultProps.js.html +0 -109
- package/coverage/version2/errorstate/UrlNotFound/props/index.html +0 -131
- package/coverage/version2/errorstate/UrlNotFound/props/propTypes.js.html +0 -136
- package/coverage/version2/errorstate/V2_ErrorStates.module.css.html +0 -223
- package/coverage/version2/errorstate/WillBeRightBack/WillBeRightBack.js.html +0 -319
- package/coverage/version2/errorstate/WillBeRightBack/index.html +0 -116
- package/coverage/version2/errorstate/WillBeRightBack/props/defaultProps.js.html +0 -109
- package/coverage/version2/errorstate/WillBeRightBack/props/index.html +0 -131
- package/coverage/version2/errorstate/WillBeRightBack/props/propTypes.js.html +0 -136
- package/coverage/version2/errorstate/index.html +0 -116
- package/coverage/version2/lookup/AlertHeader/AlertHeader.js.html +0 -316
- package/coverage/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css.html +0 -277
- package/coverage/version2/lookup/AlertHeader/css/cssJSLogic.js.html +0 -130
- package/coverage/version2/lookup/AlertHeader/css/index.html +0 -131
- package/coverage/version2/lookup/AlertHeader/index.html +0 -116
- package/coverage/version2/lookup/AlertHeader/props/defaultProps.js.html +0 -106
- package/coverage/version2/lookup/AlertHeader/props/index.html +0 -131
- package/coverage/version2/lookup/AlertHeader/props/propTypes.js.html +0 -166
- package/coverage/version2/lookup/AlertLookup/AlertLookup.js.html +0 -778
- package/coverage/version2/lookup/AlertLookup/AlertLookupNew.module.css.html +0 -202
- package/coverage/version2/lookup/AlertLookup/index.html +0 -131
- package/coverage/version2/lookup/AlertLookup/props/defaultProps.js.html +0 -124
- package/coverage/version2/lookup/AlertLookup/props/index.html +0 -131
- package/coverage/version2/lookup/AlertLookup/props/propTypes.js.html +0 -214
- package/coverage/version2/notification/DesktopNotification/DesktopNotification.js.html +0 -703
- package/coverage/version2/notification/DesktopNotification/DesktopNotification.module.css.html +0 -424
- package/coverage/version2/notification/DesktopNotification/index.html +0 -131
- package/coverage/version2/notification/DesktopNotification/props/defaultProps.js.html +0 -139
- package/coverage/version2/notification/DesktopNotification/props/index.html +0 -131
- package/coverage/version2/notification/DesktopNotification/props/propTypes.js.html +0 -217
- package/coverage/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js.html +0 -361
- package/coverage/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css.html +0 -370
- package/coverage/version2/notification/DesktopNotificationHeader/index.html +0 -131
- package/coverage/version2/notification/DesktopNotificationHeader/props/defaultProps.js.html +0 -109
- package/coverage/version2/notification/DesktopNotificationHeader/props/index.html +0 -131
- package/coverage/version2/notification/DesktopNotificationHeader/props/propTypes.js.html +0 -124
|
@@ -60,11 +60,7 @@ export class ActionButton extends React.Component {
|
|
|
60
60
|
getTargetRef,
|
|
61
61
|
removeChildrenTooltip,
|
|
62
62
|
innerClassName,
|
|
63
|
-
popupGroup
|
|
64
|
-
isAbsolutePositioningNeeded,
|
|
65
|
-
isRestrictScroll,
|
|
66
|
-
positionsOffset,
|
|
67
|
-
targetOffset
|
|
63
|
+
popupGroup
|
|
68
64
|
} = this.props;
|
|
69
65
|
return /*#__PURE__*/React.createElement(Container, {
|
|
70
66
|
alignBox: "row",
|
|
@@ -142,11 +138,7 @@ export class ActionButton extends React.Component {
|
|
|
142
138
|
popupGroup: popupGroup,
|
|
143
139
|
needFocusScope: true,
|
|
144
140
|
onClose: this.handleTogglePopup,
|
|
145
|
-
dataId: `${dataId}_dropbox
|
|
146
|
-
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
147
|
-
isRestrictScroll: isRestrictScroll,
|
|
148
|
-
positionsOffset: positionsOffset,
|
|
149
|
-
targetOffset: targetOffset
|
|
141
|
+
dataId: `${dataId}_dropbox`
|
|
150
142
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
151
143
|
flexible: true,
|
|
152
144
|
shrink: true,
|
|
@@ -29,10 +29,5 @@ export const propTypes = {
|
|
|
29
29
|
innerClassName: PropTypes.string,
|
|
30
30
|
popupGroup: PropTypes.string,
|
|
31
31
|
togglePopup: PropTypes.func,
|
|
32
|
-
openPopupOnly: PropTypes.func
|
|
33
|
-
popupGroup: PropTypes.string,
|
|
34
|
-
isAbsolutePositioningNeeded: PropTypes.bool,
|
|
35
|
-
isRestrictScroll: PropTypes.bool,
|
|
36
|
-
positionsOffset: PropTypes.string,
|
|
37
|
-
targetOffset: PropTypes.string
|
|
32
|
+
openPopupOnly: PropTypes.func
|
|
38
33
|
};
|
|
@@ -58,7 +58,8 @@ export default class TextEditor extends Component {
|
|
|
58
58
|
fontSize,
|
|
59
59
|
initCallback,
|
|
60
60
|
handleAlertMessage,
|
|
61
|
-
needInlineAttachment
|
|
61
|
+
needInlineAttachment,
|
|
62
|
+
customInitOptions
|
|
62
63
|
} = this.props;
|
|
63
64
|
|
|
64
65
|
if (id && global.ZohoDeskEditor) {
|
|
@@ -90,13 +91,17 @@ export default class TextEditor extends Component {
|
|
|
90
91
|
htmlVersion: '<!Doctype html>'
|
|
91
92
|
};
|
|
92
93
|
|
|
93
|
-
if (!
|
|
94
|
-
|
|
94
|
+
if (!customInitOptions) {
|
|
95
|
+
if (!ZohoDeskEditor_Init.init) {
|
|
96
|
+
global.editorInitialize && global.editorInitialize();
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
ZohoDeskEditor_Init.init(editorMode, fontFamily, initCallback, fontSize);
|
|
95
100
|
}
|
|
96
101
|
|
|
97
102
|
defaultObj = Object.assign(defaultObj, editorOptions);
|
|
98
|
-
|
|
99
|
-
|
|
103
|
+
const globalEditor = global.ZohoDeskEditor;
|
|
104
|
+
globalEditor && typeof globalEditor.create == 'function' && globalEditor.create(defaultObj, customInitOptions);
|
|
100
105
|
}
|
|
101
106
|
}
|
|
102
107
|
|
|
@@ -203,7 +208,8 @@ export default class TextEditor extends Component {
|
|
|
203
208
|
let {
|
|
204
209
|
editorCallback,
|
|
205
210
|
getRef,
|
|
206
|
-
isCustomScroll
|
|
211
|
+
isCustomScroll,
|
|
212
|
+
customCSS
|
|
207
213
|
} = this.props;
|
|
208
214
|
this.setState({
|
|
209
215
|
isEditorLoad: true,
|
|
@@ -218,7 +224,7 @@ export default class TextEditor extends Component {
|
|
|
218
224
|
global.editor[id] = editorObj;
|
|
219
225
|
}
|
|
220
226
|
|
|
221
|
-
const css =
|
|
227
|
+
const css = `pre {white-space: pre-wrap}, ${customCSS}`,
|
|
222
228
|
head = editorObj.doc.head || editorObj.doc.getElementsByTagName('head')[0],
|
|
223
229
|
style = document.createElement('style');
|
|
224
230
|
style.type = 'text/css';
|
|
@@ -255,13 +261,26 @@ export default class TextEditor extends Component {
|
|
|
255
261
|
let {
|
|
256
262
|
id,
|
|
257
263
|
setInlineAttachmentInProgress: progress,
|
|
258
|
-
i18nKeys
|
|
264
|
+
i18nKeys,
|
|
265
|
+
inlineImageProps
|
|
259
266
|
} = this.props;
|
|
260
|
-
|
|
261
|
-
|
|
267
|
+
const {
|
|
268
|
+
fileUploadError,
|
|
269
|
+
fileNotSupported,
|
|
270
|
+
fileSizeLimitExceed,
|
|
271
|
+
fileEmptyError,
|
|
272
|
+
fileNameLimitExceed
|
|
273
|
+
} = i18nKeys;
|
|
274
|
+
const {
|
|
275
|
+
fileNameExtensions,
|
|
276
|
+
fileNameCharacterLimit,
|
|
277
|
+
fileSizeLimit
|
|
278
|
+
} = inlineImageProps;
|
|
279
|
+
|
|
280
|
+
if (!isFileNameSizeInvalid(file.name, fileNameCharacterLimit)) {
|
|
262
281
|
if (file.size != 0) {
|
|
263
|
-
if (file.size <=
|
|
264
|
-
if (isImageFormat(file.name)) {
|
|
282
|
+
if (file.size <= fileSizeLimit) {
|
|
283
|
+
if (isImageFormat(file.name, fileNameExtensions)) {
|
|
265
284
|
progress && progress(true);
|
|
266
285
|
this.handleUpload(file).then(res => {
|
|
267
286
|
successCallback(res);
|
|
@@ -271,19 +290,19 @@ export default class TextEditor extends Component {
|
|
|
271
290
|
triggerKeyup(editorObj.doc);
|
|
272
291
|
}
|
|
273
292
|
}, () => {
|
|
274
|
-
failureCallback(
|
|
293
|
+
failureCallback(fileUploadError);
|
|
275
294
|
});
|
|
276
295
|
} else {
|
|
277
|
-
failureCallback(
|
|
296
|
+
failureCallback(fileNotSupported);
|
|
278
297
|
}
|
|
279
298
|
} else {
|
|
280
|
-
failureCallback(
|
|
299
|
+
failureCallback(fileSizeLimitExceed);
|
|
281
300
|
}
|
|
282
301
|
} else {
|
|
283
|
-
failureCallback(
|
|
302
|
+
failureCallback(fileEmptyError);
|
|
284
303
|
}
|
|
285
304
|
} else {
|
|
286
|
-
failureCallback(
|
|
305
|
+
failureCallback(fileNameLimitExceed);
|
|
287
306
|
}
|
|
288
307
|
}
|
|
289
308
|
|
|
@@ -327,15 +346,7 @@ export default class TextEditor extends Component {
|
|
|
327
346
|
formData.append(getCSRFCookieName(), getCSRFCookie());
|
|
328
347
|
}
|
|
329
348
|
|
|
330
|
-
return onUpload(formData, file)
|
|
331
|
-
if (editorMode === 'TicketReply') {
|
|
332
|
-
return `${res.data}&from=r`;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
return res.data;
|
|
336
|
-
}, err => {
|
|
337
|
-
throw err;
|
|
338
|
-
});
|
|
349
|
+
return onUpload(formData, file);
|
|
339
350
|
} catch (err) {
|
|
340
351
|
return Promise.reject();
|
|
341
352
|
}
|
|
@@ -9,5 +9,10 @@ export const defaultProps = {
|
|
|
9
9
|
needInlineAttachment: false,
|
|
10
10
|
isNightMode: false,
|
|
11
11
|
isReadOnly: false,
|
|
12
|
-
dataSelectorId: 'textEditor'
|
|
12
|
+
dataSelectorId: 'textEditor',
|
|
13
|
+
inlineImageProps: {
|
|
14
|
+
fileNameExtensions: ["jpeg", "jpg", "png", "gif", "bmp", "ico"],
|
|
15
|
+
fileNameCharacterLimit: 200,
|
|
16
|
+
fileSizeLimit: 3 * 1024 * 1024
|
|
17
|
+
}
|
|
13
18
|
};
|
|
@@ -42,5 +42,12 @@ export const propTypes = {
|
|
|
42
42
|
getCSRFCookie: PropTypes.string,
|
|
43
43
|
isEditorDefaultOpen: PropTypes.bool,
|
|
44
44
|
toggleEdit: PropTypes.func,
|
|
45
|
-
dataSelectorId: PropTypes.string
|
|
45
|
+
dataSelectorId: PropTypes.string,
|
|
46
|
+
customInitOptions: PropTypes.object,
|
|
47
|
+
customCSS: PropTypes.string,
|
|
48
|
+
inlineImageProps: {
|
|
49
|
+
fileNameExtensions: PropTypes.array,
|
|
50
|
+
fileNameCharacterLimit: PropTypes.number,
|
|
51
|
+
fileSizeLimit: PropTypes.number
|
|
52
|
+
}
|
|
46
53
|
};
|
package/es/utils/editorUtils.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// editorUtils
|
|
3
2
|
export function editorContentValidate(editorObj) {
|
|
4
3
|
let content = editorObj && editorObj.getContent && editorObj.getContent() || '';
|
|
5
4
|
|
|
@@ -48,12 +47,13 @@ export function encodeForHtml(str) {
|
|
|
48
47
|
return str;
|
|
49
48
|
} // attachment
|
|
50
49
|
|
|
51
|
-
export function isFileNameSizeInvalid(fileName) {
|
|
52
|
-
return fileName.length >
|
|
50
|
+
export function isFileNameSizeInvalid(fileName, fileNameLimit) {
|
|
51
|
+
return fileName.length > fileNameLimit;
|
|
53
52
|
}
|
|
54
|
-
export function isImageFormat(fileName) {
|
|
53
|
+
export function isImageFormat(fileName, fileNameExtensions) {
|
|
55
54
|
let extension = getExtensionFromFileName(fileName);
|
|
56
|
-
|
|
55
|
+
const isValidExtension = fileNameExtensions.includes(extension);
|
|
56
|
+
return isValidExtension;
|
|
57
57
|
}
|
|
58
58
|
export function getExtensionFromFileName(fileName) {
|
|
59
59
|
if (fileName && fileName.indexOf('.') != -1) {
|
|
@@ -255,13 +255,26 @@ export default class TextEditor extends Component {
|
|
|
255
255
|
let {
|
|
256
256
|
id,
|
|
257
257
|
setInlineAttachmentInProgress: progress,
|
|
258
|
-
i18nKeys
|
|
258
|
+
i18nKeys,
|
|
259
|
+
inlineImageProps
|
|
259
260
|
} = this.props;
|
|
260
|
-
|
|
261
|
-
|
|
261
|
+
const {
|
|
262
|
+
fileUploadError,
|
|
263
|
+
fileNotSupported,
|
|
264
|
+
fileSizeLimitExceed,
|
|
265
|
+
fileEmptyError,
|
|
266
|
+
fileNameLimitExceed
|
|
267
|
+
} = i18nKeys;
|
|
268
|
+
const {
|
|
269
|
+
fileNameExtensions,
|
|
270
|
+
fileNameCharacterLimit,
|
|
271
|
+
fileSizeLimit
|
|
272
|
+
} = inlineImageProps;
|
|
273
|
+
|
|
274
|
+
if (!isFileNameSizeInvalid(file.name, fileNameCharacterLimit)) {
|
|
262
275
|
if (file.size != 0) {
|
|
263
|
-
if (file.size <=
|
|
264
|
-
if (isImageFormat(file.name)) {
|
|
276
|
+
if (file.size <= fileSizeLimit) {
|
|
277
|
+
if (isImageFormat(file.name, fileNameExtensions)) {
|
|
265
278
|
progress && progress(true);
|
|
266
279
|
this.handleUpload(file).then(res => {
|
|
267
280
|
successCallback(res);
|
|
@@ -271,19 +284,19 @@ export default class TextEditor extends Component {
|
|
|
271
284
|
triggerKeyup(editorObj.doc);
|
|
272
285
|
}
|
|
273
286
|
}, () => {
|
|
274
|
-
failureCallback(
|
|
287
|
+
failureCallback(fileUploadError);
|
|
275
288
|
});
|
|
276
289
|
} else {
|
|
277
|
-
failureCallback(
|
|
290
|
+
failureCallback(fileNotSupported);
|
|
278
291
|
}
|
|
279
292
|
} else {
|
|
280
|
-
failureCallback(
|
|
293
|
+
failureCallback(fileSizeLimitExceed);
|
|
281
294
|
}
|
|
282
295
|
} else {
|
|
283
|
-
failureCallback(
|
|
296
|
+
failureCallback(fileEmptyError);
|
|
284
297
|
}
|
|
285
298
|
} else {
|
|
286
|
-
failureCallback(
|
|
299
|
+
failureCallback(fileNameLimitExceed);
|
|
287
300
|
}
|
|
288
301
|
}
|
|
289
302
|
|
|
@@ -9,5 +9,10 @@ export const defaultProps = {
|
|
|
9
9
|
needInlineAttachment: false,
|
|
10
10
|
isNightMode: false,
|
|
11
11
|
isReadOnly: false,
|
|
12
|
-
dataSelectorId: 'textEditor'
|
|
12
|
+
dataSelectorId: 'textEditor',
|
|
13
|
+
inlineImageProps: {
|
|
14
|
+
fileNameExtensions: ["jpeg", "jpg", "png", "gif", "bmp", "ico"],
|
|
15
|
+
fileNameCharacterLimit: 200,
|
|
16
|
+
fileSizeLimit: 3 * 1024 * 1024
|
|
17
|
+
}
|
|
13
18
|
};
|
|
@@ -42,5 +42,10 @@ export const propTypes = {
|
|
|
42
42
|
getCSRFCookie: PropTypes.string,
|
|
43
43
|
isEditorDefaultOpen: PropTypes.bool,
|
|
44
44
|
toggleEdit: PropTypes.func,
|
|
45
|
-
dataSelectorId: PropTypes.string
|
|
45
|
+
dataSelectorId: PropTypes.string,
|
|
46
|
+
inlineImageProps: {
|
|
47
|
+
fileNameExtensions: PropTypes.array,
|
|
48
|
+
fileNameCharacterLimit: PropTypes.number,
|
|
49
|
+
fileSizeLimit: PropTypes.number
|
|
50
|
+
}
|
|
46
51
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// editorUtils
|
|
3
2
|
export function editorContentValidate(editorObj) {
|
|
4
3
|
let content = editorObj && editorObj.getContent && editorObj.getContent() || '';
|
|
5
4
|
|
|
@@ -48,12 +47,13 @@ export function encodeForHtml(str) {
|
|
|
48
47
|
return str;
|
|
49
48
|
} // attachment
|
|
50
49
|
|
|
51
|
-
export function isFileNameSizeInvalid(fileName) {
|
|
52
|
-
return fileName.length >
|
|
50
|
+
export function isFileNameSizeInvalid(fileName, fileNameLimit) {
|
|
51
|
+
return fileName.length > fileNameLimit;
|
|
53
52
|
}
|
|
54
|
-
export function isImageFormat(fileName) {
|
|
53
|
+
export function isImageFormat(fileName, fileNameExtensions) {
|
|
55
54
|
let extension = getExtensionFromFileName(fileName);
|
|
56
|
-
|
|
55
|
+
const isValidExtension = fileNameExtensions.includes(extension);
|
|
56
|
+
return isValidExtension;
|
|
57
57
|
}
|
|
58
58
|
export function getExtensionFromFileName(fileName) {
|
|
59
59
|
if (fileName && fileName.indexOf('.') != -1) {
|
|
@@ -113,11 +113,7 @@ var ActionButton = /*#__PURE__*/function (_React$Component) {
|
|
|
113
113
|
getTargetRef = _this$props3.getTargetRef,
|
|
114
114
|
removeChildrenTooltip = _this$props3.removeChildrenTooltip,
|
|
115
115
|
innerClassName = _this$props3.innerClassName,
|
|
116
|
-
popupGroup = _this$props3.popupGroup
|
|
117
|
-
isAbsolutePositioningNeeded = _this$props3.isAbsolutePositioningNeeded,
|
|
118
|
-
isRestrictScroll = _this$props3.isRestrictScroll,
|
|
119
|
-
positionsOffset = _this$props3.positionsOffset,
|
|
120
|
-
targetOffset = _this$props3.targetOffset;
|
|
116
|
+
popupGroup = _this$props3.popupGroup;
|
|
121
117
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
122
118
|
alignBox: "row",
|
|
123
119
|
isCover: false,
|
|
@@ -194,11 +190,7 @@ var ActionButton = /*#__PURE__*/function (_React$Component) {
|
|
|
194
190
|
popupGroup: popupGroup,
|
|
195
191
|
needFocusScope: true,
|
|
196
192
|
onClose: this.handleTogglePopup,
|
|
197
|
-
dataId: "".concat(dataId, "_dropbox")
|
|
198
|
-
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
199
|
-
isRestrictScroll: isRestrictScroll,
|
|
200
|
-
positionsOffset: positionsOffset,
|
|
201
|
-
targetOffset: targetOffset
|
|
193
|
+
dataId: "".concat(dataId, "_dropbox")
|
|
202
194
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
203
195
|
flexible: true,
|
|
204
196
|
shrink: true,
|
|
@@ -19,8 +19,6 @@ var defaultProps = {
|
|
|
19
19
|
isBoxPaddingNeed: true,
|
|
20
20
|
palette: 'primaryFilled',
|
|
21
21
|
removeChildrenTooltip: false,
|
|
22
|
-
innerClassName: ''
|
|
23
|
-
isAbsolutePositioningNeeded: true,
|
|
24
|
-
isRestrictScroll: false
|
|
22
|
+
innerClassName: ''
|
|
25
23
|
};
|
|
26
24
|
exports.defaultProps = defaultProps;
|
|
@@ -5,44 +5,40 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.propTypes = void 0;
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
var _propTypes;
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
9
|
|
|
12
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
11
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
openPopupOnly: _propTypes2["default"].func
|
|
47
|
-
}, _defineProperty(_propTypes, "popupGroup", _propTypes2["default"].string), _defineProperty(_propTypes, "isAbsolutePositioningNeeded", _propTypes2["default"].bool), _defineProperty(_propTypes, "isRestrictScroll", _propTypes2["default"].bool), _defineProperty(_propTypes, "positionsOffset", _propTypes2["default"].string), _defineProperty(_propTypes, "targetOffset", _propTypes2["default"].string), _propTypes);
|
|
12
|
+
var propTypes = {
|
|
13
|
+
dataSelectorId: _propTypes["default"].string,
|
|
14
|
+
arrowBoxSize: _propTypes["default"].oneOf(['small', 'medium']),
|
|
15
|
+
children: _propTypes["default"].node,
|
|
16
|
+
className: _propTypes["default"].string,
|
|
17
|
+
dataId: _propTypes["default"].string,
|
|
18
|
+
dataTitle: _propTypes["default"].string,
|
|
19
|
+
dropBoxClass: _propTypes["default"].string,
|
|
20
|
+
defaultPosition: _propTypes["default"].string,
|
|
21
|
+
position: _propTypes["default"].string,
|
|
22
|
+
iconName: _propTypes["default"].string,
|
|
23
|
+
iconSize: _propTypes["default"].string,
|
|
24
|
+
isArrow: _propTypes["default"].bool,
|
|
25
|
+
isBoxPaddingNeed: _propTypes["default"].bool,
|
|
26
|
+
isDisabled: _propTypes["default"].bool,
|
|
27
|
+
isLoading: _propTypes["default"].bool,
|
|
28
|
+
isPopupOpen: _propTypes["default"].bool,
|
|
29
|
+
onClick: _propTypes["default"].func,
|
|
30
|
+
onHover: _propTypes["default"].bool,
|
|
31
|
+
palette: _propTypes["default"].oneOf(['primaryFilled', 'primary']),
|
|
32
|
+
removeClose: _propTypes["default"].func,
|
|
33
|
+
size: _propTypes["default"].oneOf(['small', 'medium', 'large']),
|
|
34
|
+
subText: _propTypes["default"].string,
|
|
35
|
+
text: _propTypes["default"].string,
|
|
36
|
+
getContainerRef: _propTypes["default"].func,
|
|
37
|
+
getTargetRef: _propTypes["default"].func,
|
|
38
|
+
removeChildrenTooltip: _propTypes["default"].bool,
|
|
39
|
+
innerClassName: _propTypes["default"].string,
|
|
40
|
+
popupGroup: _propTypes["default"].string,
|
|
41
|
+
togglePopup: _propTypes["default"].func,
|
|
42
|
+
openPopupOnly: _propTypes["default"].func
|
|
43
|
+
};
|
|
48
44
|
exports.propTypes = propTypes;
|
|
@@ -114,7 +114,8 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
114
114
|
fontSize = _this$props.fontSize,
|
|
115
115
|
initCallback = _this$props.initCallback,
|
|
116
116
|
handleAlertMessage = _this$props.handleAlertMessage,
|
|
117
|
-
needInlineAttachment = _this$props.needInlineAttachment
|
|
117
|
+
needInlineAttachment = _this$props.needInlineAttachment,
|
|
118
|
+
customInitOptions = _this$props.customInitOptions;
|
|
118
119
|
|
|
119
120
|
if (id && global.ZohoDeskEditor) {
|
|
120
121
|
var _defaultObj;
|
|
@@ -142,13 +143,17 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
142
143
|
return true; // By default reply editor needs customPaste, so returning true.
|
|
143
144
|
}), _defineProperty(_defaultObj, "htmlVersion", '<!Doctype html>'), _defaultObj);
|
|
144
145
|
|
|
145
|
-
if (!
|
|
146
|
-
|
|
146
|
+
if (!customInitOptions) {
|
|
147
|
+
if (!ZohoDeskEditor_Init.init) {
|
|
148
|
+
global.editorInitialize && global.editorInitialize();
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
ZohoDeskEditor_Init.init(editorMode, fontFamily, initCallback, fontSize);
|
|
147
152
|
}
|
|
148
153
|
|
|
149
154
|
defaultObj = Object.assign(defaultObj, editorOptions);
|
|
150
|
-
|
|
151
|
-
|
|
155
|
+
var globalEditor = global.ZohoDeskEditor;
|
|
156
|
+
globalEditor && typeof globalEditor.create == 'function' && globalEditor.create(defaultObj, customInitOptions);
|
|
152
157
|
}
|
|
153
158
|
}
|
|
154
159
|
}, {
|
|
@@ -251,7 +256,8 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
251
256
|
var _this$props5 = this.props,
|
|
252
257
|
editorCallback = _this$props5.editorCallback,
|
|
253
258
|
getRef = _this$props5.getRef,
|
|
254
|
-
isCustomScroll = _this$props5.isCustomScroll
|
|
259
|
+
isCustomScroll = _this$props5.isCustomScroll,
|
|
260
|
+
customCSS = _this$props5.customCSS;
|
|
255
261
|
this.setState({
|
|
256
262
|
isEditorLoad: true,
|
|
257
263
|
isEditorShow: true
|
|
@@ -263,7 +269,7 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
263
269
|
global.editor[id] = editorObj;
|
|
264
270
|
}
|
|
265
271
|
|
|
266
|
-
var css =
|
|
272
|
+
var css = "pre {white-space: pre-wrap}, ".concat(customCSS),
|
|
267
273
|
head = editorObj.doc.head || editorObj.doc.getElementsByTagName('head')[0],
|
|
268
274
|
style = document.createElement('style');
|
|
269
275
|
style.type = 'text/css';
|
|
@@ -303,12 +309,21 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
303
309
|
var _this$props6 = this.props,
|
|
304
310
|
id = _this$props6.id,
|
|
305
311
|
progress = _this$props6.setInlineAttachmentInProgress,
|
|
306
|
-
i18nKeys = _this$props6.i18nKeys
|
|
307
|
-
|
|
308
|
-
|
|
312
|
+
i18nKeys = _this$props6.i18nKeys,
|
|
313
|
+
inlineImageProps = _this$props6.inlineImageProps;
|
|
314
|
+
var fileUploadError = i18nKeys.fileUploadError,
|
|
315
|
+
fileNotSupported = i18nKeys.fileNotSupported,
|
|
316
|
+
fileSizeLimitExceed = i18nKeys.fileSizeLimitExceed,
|
|
317
|
+
fileEmptyError = i18nKeys.fileEmptyError,
|
|
318
|
+
fileNameLimitExceed = i18nKeys.fileNameLimitExceed;
|
|
319
|
+
var fileNameExtensions = inlineImageProps.fileNameExtensions,
|
|
320
|
+
fileNameCharacterLimit = inlineImageProps.fileNameCharacterLimit,
|
|
321
|
+
fileSizeLimit = inlineImageProps.fileSizeLimit;
|
|
322
|
+
|
|
323
|
+
if (!(0, _editorUtils.isFileNameSizeInvalid)(file.name, fileNameCharacterLimit)) {
|
|
309
324
|
if (file.size != 0) {
|
|
310
|
-
if (file.size <=
|
|
311
|
-
if ((0, _editorUtils.isImageFormat)(file.name)) {
|
|
325
|
+
if (file.size <= fileSizeLimit) {
|
|
326
|
+
if ((0, _editorUtils.isImageFormat)(file.name, fileNameExtensions)) {
|
|
312
327
|
progress && progress(true);
|
|
313
328
|
this.handleUpload(file).then(function (res) {
|
|
314
329
|
successCallback(res);
|
|
@@ -318,19 +333,19 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
318
333
|
(0, _editorUtils.triggerKeyup)(editorObj.doc);
|
|
319
334
|
}
|
|
320
335
|
}, function () {
|
|
321
|
-
failureCallback(
|
|
336
|
+
failureCallback(fileUploadError);
|
|
322
337
|
});
|
|
323
338
|
} else {
|
|
324
|
-
failureCallback(
|
|
339
|
+
failureCallback(fileNotSupported);
|
|
325
340
|
}
|
|
326
341
|
} else {
|
|
327
|
-
failureCallback(
|
|
342
|
+
failureCallback(fileSizeLimitExceed);
|
|
328
343
|
}
|
|
329
344
|
} else {
|
|
330
|
-
failureCallback(
|
|
345
|
+
failureCallback(fileEmptyError);
|
|
331
346
|
}
|
|
332
347
|
} else {
|
|
333
|
-
failureCallback(
|
|
348
|
+
failureCallback(fileNameLimitExceed);
|
|
334
349
|
}
|
|
335
350
|
}
|
|
336
351
|
}, {
|
|
@@ -372,15 +387,7 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
372
387
|
formData.append(getCSRFCookieName(), getCSRFCookie());
|
|
373
388
|
}
|
|
374
389
|
|
|
375
|
-
return onUpload(formData, file)
|
|
376
|
-
if (editorMode === 'TicketReply') {
|
|
377
|
-
return "".concat(res.data, "&from=r");
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
return res.data;
|
|
381
|
-
}, function (err) {
|
|
382
|
-
throw err;
|
|
383
|
-
});
|
|
390
|
+
return onUpload(formData, file);
|
|
384
391
|
} catch (err) {
|
|
385
392
|
return Promise.reject();
|
|
386
393
|
}
|
|
@@ -15,6 +15,11 @@ var defaultProps = {
|
|
|
15
15
|
needInlineAttachment: false,
|
|
16
16
|
isNightMode: false,
|
|
17
17
|
isReadOnly: false,
|
|
18
|
-
dataSelectorId: 'textEditor'
|
|
18
|
+
dataSelectorId: 'textEditor',
|
|
19
|
+
inlineImageProps: {
|
|
20
|
+
fileNameExtensions: ["jpeg", "jpg", "png", "gif", "bmp", "ico"],
|
|
21
|
+
fileNameCharacterLimit: 200,
|
|
22
|
+
fileSizeLimit: 3 * 1024 * 1024
|
|
23
|
+
}
|
|
19
24
|
};
|
|
20
25
|
exports.defaultProps = defaultProps;
|
|
@@ -52,6 +52,13 @@ var propTypes = {
|
|
|
52
52
|
getCSRFCookie: _propTypes["default"].string,
|
|
53
53
|
isEditorDefaultOpen: _propTypes["default"].bool,
|
|
54
54
|
toggleEdit: _propTypes["default"].func,
|
|
55
|
-
dataSelectorId: _propTypes["default"].string
|
|
55
|
+
dataSelectorId: _propTypes["default"].string,
|
|
56
|
+
customInitOptions: _propTypes["default"].object,
|
|
57
|
+
customCSS: _propTypes["default"].string,
|
|
58
|
+
inlineImageProps: {
|
|
59
|
+
fileNameExtensions: _propTypes["default"].array,
|
|
60
|
+
fileNameCharacterLimit: _propTypes["default"].number,
|
|
61
|
+
fileSizeLimit: _propTypes["default"].number
|
|
62
|
+
}
|
|
56
63
|
};
|
|
57
64
|
exports.propTypes = propTypes;
|
package/lib/utils/editorUtils.js
CHANGED
|
@@ -15,8 +15,8 @@ exports.isImageFormat = isImageFormat;
|
|
|
15
15
|
exports.loadResource = loadResource;
|
|
16
16
|
exports.triggerKeyup = triggerKeyup;
|
|
17
17
|
exports.validateEditorContentOnInsertHtml = validateEditorContentOnInsertHtml;
|
|
18
|
-
var ATTACHMENT_FILE_NAME_SIZE_LIMIT = 200; // editorUtils
|
|
19
18
|
|
|
19
|
+
// editorUtils
|
|
20
20
|
function editorContentValidate(editorObj) {
|
|
21
21
|
var content = editorObj && editorObj.getContent && editorObj.getContent() || '';
|
|
22
22
|
|
|
@@ -67,13 +67,14 @@ function encodeForHtml(str) {
|
|
|
67
67
|
} // attachment
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
function isFileNameSizeInvalid(fileName) {
|
|
71
|
-
return fileName.length >
|
|
70
|
+
function isFileNameSizeInvalid(fileName, fileNameLimit) {
|
|
71
|
+
return fileName.length > fileNameLimit;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
function isImageFormat(fileName) {
|
|
74
|
+
function isImageFormat(fileName, fileNameExtensions) {
|
|
75
75
|
var extension = getExtensionFromFileName(fileName);
|
|
76
|
-
|
|
76
|
+
var isValidExtension = fileNameExtensions.includes(extension);
|
|
77
|
+
return isValidExtension;
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
function getExtensionFromFileName(fileName) {
|