@zohodesk/dot 1.0.0-temp-197 → 1.0.0-temp-197.2
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/README.md +11 -0
- package/es/form/fields/TextEditor/TextEditor.js +20 -22
- package/es/form/fields/TextEditor/props/defaultProps.js +3 -3
- package/es/form/fields/TextEditor/props/propTypes.js +5 -3
- package/es/utils/editorUtils.js +4 -4
- package/es/v1/form/fields/TextEditor/TextEditor.js +6 -6
- package/es/v1/form/fields/TextEditor/props/defaultProps.js +3 -3
- package/es/v1/form/fields/TextEditor/props/propTypes.js +3 -3
- package/es/v1/utils/editorUtils.js +4 -4
- package/lib/form/fields/TextEditor/TextEditor.js +20 -22
- package/lib/form/fields/TextEditor/props/defaultProps.js +3 -3
- package/lib/form/fields/TextEditor/props/propTypes.js +5 -3
- package/lib/utils/editorUtils.js +4 -4
- package/lib/v1/form/fields/TextEditor/TextEditor.js +6 -6
- package/lib/v1/form/fields/TextEditor/props/defaultProps.js +3 -3
- package/lib/v1/form/fields/TextEditor/props/propTypes.js +3 -3
- package/lib/v1/utils/editorUtils.js +4 -4
- package/package.json +2 -2
- package/result.json +1 -1
- package/unittest/index.html +1 -1
- package/coverage/ActionButton/ActionButton.js.html +0 -628
- package/coverage/ActionButton/ActionButton.module.css.html +0 -559
- package/coverage/ActionButton/index.html +0 -131
- package/coverage/ActionButton/props/defaultProps.js.html +0 -136
- package/coverage/ActionButton/props/index.html +0 -131
- package/coverage/ActionButton/props/propTypes.js.html +0 -187
- 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 -1207
- 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 -139
- package/coverage/form/fields/TextEditor/props/index.html +0 -131
- package/coverage/form/fields/TextEditor/props/propTypes.js.html +0 -262
- 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 -649
- 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
package/README.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
In this Library, we Provide Some Basic Components to Build Your Application
|
|
4
4
|
|
|
5
|
+
# 1.5.5
|
|
6
|
+
- **TextEditor (v0&v1)**
|
|
7
|
+
- `inlineImageProps={allowedFileExtensions, fileNameMaxCharacters, fileSizeMax}` props added.
|
|
8
|
+
- default props,
|
|
9
|
+
- `allowedFileExtensions: ["jpeg", "jpg", "png", "gif", "bmp", "ico"]`
|
|
10
|
+
- `fileNameMaxCharacters: 200,`
|
|
11
|
+
- `fileSizeMax: 3 * 1024 * 1024`
|
|
12
|
+
- `customInitOptions` prop added, using this can initialize the editor details.
|
|
13
|
+
- `customCSS` prop suppported to customize the style to apply for editor, it adds css in style tag.
|
|
14
|
+
- In `handleUpload` method reverted the `TicketReply` editor specific case handle.
|
|
15
|
+
|
|
5
16
|
# 1.5.4
|
|
6
17
|
- **CheckBoxField (v0&v1)**
|
|
7
18
|
- children prop added.
|
|
@@ -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';
|
|
@@ -266,15 +272,15 @@ export default class TextEditor extends Component {
|
|
|
266
272
|
fileNameLimitExceed
|
|
267
273
|
} = i18nKeys;
|
|
268
274
|
const {
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
275
|
+
allowedFileExtensions,
|
|
276
|
+
fileNameMaxCharacters,
|
|
277
|
+
fileSizeMax
|
|
272
278
|
} = inlineImageProps;
|
|
273
279
|
|
|
274
|
-
if (!isFileNameSizeInvalid(file.name,
|
|
280
|
+
if (!isFileNameSizeInvalid(file.name, fileNameMaxCharacters)) {
|
|
275
281
|
if (file.size != 0) {
|
|
276
|
-
if (file.size <=
|
|
277
|
-
if (isImageFormat(file.name,
|
|
282
|
+
if (file.size <= fileSizeMax) {
|
|
283
|
+
if (isImageFormat(file.name, allowedFileExtensions)) {
|
|
278
284
|
progress && progress(true);
|
|
279
285
|
this.handleUpload(file).then(res => {
|
|
280
286
|
successCallback(res);
|
|
@@ -340,15 +346,7 @@ export default class TextEditor extends Component {
|
|
|
340
346
|
formData.append(getCSRFCookieName(), getCSRFCookie());
|
|
341
347
|
}
|
|
342
348
|
|
|
343
|
-
return onUpload(formData, file)
|
|
344
|
-
if (editorMode === 'TicketReply') {
|
|
345
|
-
return `${res.data}&from=r`;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
return res.data;
|
|
349
|
-
}, err => {
|
|
350
|
-
throw err;
|
|
351
|
-
});
|
|
349
|
+
return onUpload(formData, file);
|
|
352
350
|
} catch (err) {
|
|
353
351
|
return Promise.reject();
|
|
354
352
|
}
|
|
@@ -11,8 +11,8 @@ export const defaultProps = {
|
|
|
11
11
|
isReadOnly: false,
|
|
12
12
|
dataSelectorId: 'textEditor',
|
|
13
13
|
inlineImageProps: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
allowedFileExtensions: ["jpeg", "jpg", "png", "gif", "bmp", "ico"],
|
|
15
|
+
fileNameMaxCharacters: 200,
|
|
16
|
+
fileSizeMax: 3 * 1024 * 1024
|
|
17
17
|
}
|
|
18
18
|
};
|
|
@@ -43,9 +43,11 @@ export const propTypes = {
|
|
|
43
43
|
isEditorDefaultOpen: PropTypes.bool,
|
|
44
44
|
toggleEdit: PropTypes.func,
|
|
45
45
|
dataSelectorId: PropTypes.string,
|
|
46
|
+
customInitOptions: PropTypes.object,
|
|
47
|
+
customCSS: PropTypes.string,
|
|
46
48
|
inlineImageProps: {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
allowedFileExtensions: PropTypes.array,
|
|
50
|
+
fileNameMaxCharacters: PropTypes.number,
|
|
51
|
+
fileSizeMax: PropTypes.number
|
|
50
52
|
}
|
|
51
53
|
};
|
package/es/utils/editorUtils.js
CHANGED
|
@@ -47,12 +47,12 @@ export function encodeForHtml(str) {
|
|
|
47
47
|
return str;
|
|
48
48
|
} // attachment
|
|
49
49
|
|
|
50
|
-
export function isFileNameSizeInvalid(fileName,
|
|
51
|
-
return fileName.length >
|
|
50
|
+
export function isFileNameSizeInvalid(fileName, fileNameMaxCharacters) {
|
|
51
|
+
return fileName.length > fileNameMaxCharacters;
|
|
52
52
|
}
|
|
53
|
-
export function isImageFormat(fileName,
|
|
53
|
+
export function isImageFormat(fileName, allowedFileExtensions) {
|
|
54
54
|
let extension = getExtensionFromFileName(fileName);
|
|
55
|
-
const isValidExtension =
|
|
55
|
+
const isValidExtension = allowedFileExtensions.includes(extension);
|
|
56
56
|
return isValidExtension;
|
|
57
57
|
}
|
|
58
58
|
export function getExtensionFromFileName(fileName) {
|
|
@@ -266,15 +266,15 @@ export default class TextEditor extends Component {
|
|
|
266
266
|
fileNameLimitExceed
|
|
267
267
|
} = i18nKeys;
|
|
268
268
|
const {
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
269
|
+
allowedFileExtensions,
|
|
270
|
+
fileNameMaxCharacters,
|
|
271
|
+
fileSizeMax
|
|
272
272
|
} = inlineImageProps;
|
|
273
273
|
|
|
274
|
-
if (!isFileNameSizeInvalid(file.name,
|
|
274
|
+
if (!isFileNameSizeInvalid(file.name, fileNameMaxCharacters)) {
|
|
275
275
|
if (file.size != 0) {
|
|
276
|
-
if (file.size <=
|
|
277
|
-
if (isImageFormat(file.name,
|
|
276
|
+
if (file.size <= fileSizeMax) {
|
|
277
|
+
if (isImageFormat(file.name, allowedFileExtensions)) {
|
|
278
278
|
progress && progress(true);
|
|
279
279
|
this.handleUpload(file).then(res => {
|
|
280
280
|
successCallback(res);
|
|
@@ -11,8 +11,8 @@ export const defaultProps = {
|
|
|
11
11
|
isReadOnly: false,
|
|
12
12
|
dataSelectorId: 'textEditor',
|
|
13
13
|
inlineImageProps: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
allowedFileExtensions: ["jpeg", "jpg", "png", "gif", "bmp", "ico"],
|
|
15
|
+
fileNameMaxCharacters: 200,
|
|
16
|
+
fileSizeMax: 3 * 1024 * 1024
|
|
17
17
|
}
|
|
18
18
|
};
|
|
@@ -44,8 +44,8 @@ export const propTypes = {
|
|
|
44
44
|
toggleEdit: PropTypes.func,
|
|
45
45
|
dataSelectorId: PropTypes.string,
|
|
46
46
|
inlineImageProps: {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
allowedFileExtensions: PropTypes.array,
|
|
48
|
+
fileNameMaxCharacters: PropTypes.number,
|
|
49
|
+
fileSizeMax: PropTypes.number
|
|
50
50
|
}
|
|
51
51
|
};
|
|
@@ -47,12 +47,12 @@ export function encodeForHtml(str) {
|
|
|
47
47
|
return str;
|
|
48
48
|
} // attachment
|
|
49
49
|
|
|
50
|
-
export function isFileNameSizeInvalid(fileName,
|
|
51
|
-
return fileName.length >
|
|
50
|
+
export function isFileNameSizeInvalid(fileName, fileNameMaxCharacters) {
|
|
51
|
+
return fileName.length > fileNameMaxCharacters;
|
|
52
52
|
}
|
|
53
|
-
export function isImageFormat(fileName,
|
|
53
|
+
export function isImageFormat(fileName, allowedFileExtensions) {
|
|
54
54
|
let extension = getExtensionFromFileName(fileName);
|
|
55
|
-
const isValidExtension =
|
|
55
|
+
const isValidExtension = allowedFileExtensions.includes(extension);
|
|
56
56
|
return isValidExtension;
|
|
57
57
|
}
|
|
58
58
|
export function getExtensionFromFileName(fileName) {
|
|
@@ -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';
|
|
@@ -310,14 +316,14 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
310
316
|
fileSizeLimitExceed = i18nKeys.fileSizeLimitExceed,
|
|
311
317
|
fileEmptyError = i18nKeys.fileEmptyError,
|
|
312
318
|
fileNameLimitExceed = i18nKeys.fileNameLimitExceed;
|
|
313
|
-
var
|
|
314
|
-
|
|
315
|
-
|
|
319
|
+
var allowedFileExtensions = inlineImageProps.allowedFileExtensions,
|
|
320
|
+
fileNameMaxCharacters = inlineImageProps.fileNameMaxCharacters,
|
|
321
|
+
fileSizeMax = inlineImageProps.fileSizeMax;
|
|
316
322
|
|
|
317
|
-
if (!(0, _editorUtils.isFileNameSizeInvalid)(file.name,
|
|
323
|
+
if (!(0, _editorUtils.isFileNameSizeInvalid)(file.name, fileNameMaxCharacters)) {
|
|
318
324
|
if (file.size != 0) {
|
|
319
|
-
if (file.size <=
|
|
320
|
-
if ((0, _editorUtils.isImageFormat)(file.name,
|
|
325
|
+
if (file.size <= fileSizeMax) {
|
|
326
|
+
if ((0, _editorUtils.isImageFormat)(file.name, allowedFileExtensions)) {
|
|
321
327
|
progress && progress(true);
|
|
322
328
|
this.handleUpload(file).then(function (res) {
|
|
323
329
|
successCallback(res);
|
|
@@ -381,15 +387,7 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
381
387
|
formData.append(getCSRFCookieName(), getCSRFCookie());
|
|
382
388
|
}
|
|
383
389
|
|
|
384
|
-
return onUpload(formData, file)
|
|
385
|
-
if (editorMode === 'TicketReply') {
|
|
386
|
-
return "".concat(res.data, "&from=r");
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
return res.data;
|
|
390
|
-
}, function (err) {
|
|
391
|
-
throw err;
|
|
392
|
-
});
|
|
390
|
+
return onUpload(formData, file);
|
|
393
391
|
} catch (err) {
|
|
394
392
|
return Promise.reject();
|
|
395
393
|
}
|
|
@@ -17,9 +17,9 @@ var defaultProps = {
|
|
|
17
17
|
isReadOnly: false,
|
|
18
18
|
dataSelectorId: 'textEditor',
|
|
19
19
|
inlineImageProps: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
allowedFileExtensions: ["jpeg", "jpg", "png", "gif", "bmp", "ico"],
|
|
21
|
+
fileNameMaxCharacters: 200,
|
|
22
|
+
fileSizeMax: 3 * 1024 * 1024
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
exports.defaultProps = defaultProps;
|
|
@@ -53,10 +53,12 @@ var propTypes = {
|
|
|
53
53
|
isEditorDefaultOpen: _propTypes["default"].bool,
|
|
54
54
|
toggleEdit: _propTypes["default"].func,
|
|
55
55
|
dataSelectorId: _propTypes["default"].string,
|
|
56
|
+
customInitOptions: _propTypes["default"].object,
|
|
57
|
+
customCSS: _propTypes["default"].string,
|
|
56
58
|
inlineImageProps: {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
allowedFileExtensions: _propTypes["default"].array,
|
|
60
|
+
fileNameMaxCharacters: _propTypes["default"].number,
|
|
61
|
+
fileSizeMax: _propTypes["default"].number
|
|
60
62
|
}
|
|
61
63
|
};
|
|
62
64
|
exports.propTypes = propTypes;
|
package/lib/utils/editorUtils.js
CHANGED
|
@@ -67,13 +67,13 @@ function encodeForHtml(str) {
|
|
|
67
67
|
} // attachment
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
function isFileNameSizeInvalid(fileName,
|
|
71
|
-
return fileName.length >
|
|
70
|
+
function isFileNameSizeInvalid(fileName, fileNameMaxCharacters) {
|
|
71
|
+
return fileName.length > fileNameMaxCharacters;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
function isImageFormat(fileName,
|
|
74
|
+
function isImageFormat(fileName, allowedFileExtensions) {
|
|
75
75
|
var extension = getExtensionFromFileName(fileName);
|
|
76
|
-
var isValidExtension =
|
|
76
|
+
var isValidExtension = allowedFileExtensions.includes(extension);
|
|
77
77
|
return isValidExtension;
|
|
78
78
|
}
|
|
79
79
|
|
|
@@ -310,14 +310,14 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
310
310
|
fileSizeLimitExceed = i18nKeys.fileSizeLimitExceed,
|
|
311
311
|
fileEmptyError = i18nKeys.fileEmptyError,
|
|
312
312
|
fileNameLimitExceed = i18nKeys.fileNameLimitExceed;
|
|
313
|
-
var
|
|
314
|
-
|
|
315
|
-
|
|
313
|
+
var allowedFileExtensions = inlineImageProps.allowedFileExtensions,
|
|
314
|
+
fileNameMaxCharacters = inlineImageProps.fileNameMaxCharacters,
|
|
315
|
+
fileSizeMax = inlineImageProps.fileSizeMax;
|
|
316
316
|
|
|
317
|
-
if (!(0, _editorUtils.isFileNameSizeInvalid)(file.name,
|
|
317
|
+
if (!(0, _editorUtils.isFileNameSizeInvalid)(file.name, fileNameMaxCharacters)) {
|
|
318
318
|
if (file.size != 0) {
|
|
319
|
-
if (file.size <=
|
|
320
|
-
if ((0, _editorUtils.isImageFormat)(file.name,
|
|
319
|
+
if (file.size <= fileSizeMax) {
|
|
320
|
+
if ((0, _editorUtils.isImageFormat)(file.name, allowedFileExtensions)) {
|
|
321
321
|
progress && progress(true);
|
|
322
322
|
this.handleUpload(file).then(function (res) {
|
|
323
323
|
successCallback(res);
|
|
@@ -17,9 +17,9 @@ var defaultProps = {
|
|
|
17
17
|
isReadOnly: false,
|
|
18
18
|
dataSelectorId: 'textEditor',
|
|
19
19
|
inlineImageProps: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
allowedFileExtensions: ["jpeg", "jpg", "png", "gif", "bmp", "ico"],
|
|
21
|
+
fileNameMaxCharacters: 200,
|
|
22
|
+
fileSizeMax: 3 * 1024 * 1024
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
exports.defaultProps = defaultProps;
|
|
@@ -54,9 +54,9 @@ var propTypes = {
|
|
|
54
54
|
toggleEdit: _propTypes["default"].func,
|
|
55
55
|
dataSelectorId: _propTypes["default"].string,
|
|
56
56
|
inlineImageProps: {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
allowedFileExtensions: _propTypes["default"].array,
|
|
58
|
+
fileNameMaxCharacters: _propTypes["default"].number,
|
|
59
|
+
fileSizeMax: _propTypes["default"].number
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
exports.propTypes = propTypes;
|
|
@@ -67,13 +67,13 @@ function encodeForHtml(str) {
|
|
|
67
67
|
} // attachment
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
function isFileNameSizeInvalid(fileName,
|
|
71
|
-
return fileName.length >
|
|
70
|
+
function isFileNameSizeInvalid(fileName, fileNameMaxCharacters) {
|
|
71
|
+
return fileName.length > fileNameMaxCharacters;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
function isImageFormat(fileName,
|
|
74
|
+
function isImageFormat(fileName, allowedFileExtensions) {
|
|
75
75
|
var extension = getExtensionFromFileName(fileName);
|
|
76
|
-
var isValidExtension =
|
|
76
|
+
var isValidExtension = allowedFileExtensions.includes(extension);
|
|
77
77
|
return isValidExtension;
|
|
78
78
|
}
|
|
79
79
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/dot",
|
|
3
|
-
"version": "1.0.0-temp-197",
|
|
3
|
+
"version": "1.0.0-temp-197.2",
|
|
4
4
|
"main": "lib/index",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"sstest": "react-cli sstest",
|
|
38
38
|
"common_package_build": "cd ../common && npm run build && cd ../dot",
|
|
39
39
|
"docs": "npm run css:review && review:props && react-cli docs",
|
|
40
|
-
"prepublishOnly": "node prePublish.js && npm run download
|
|
40
|
+
"prepublishOnly": "node prePublish.js && npm run download",
|
|
41
41
|
"postpublish": "node postPublish.js",
|
|
42
42
|
"test-clean": "react-cli clean coverage",
|
|
43
43
|
"download": "react-cli clean ./node_modules ./package-lock.json && npm install",
|