@zohodesk/dot 1.0.0-temp-199.1 → 1.0.0-temp-200
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 +1 -1
- package/es/Attachment/Attachment.js +2 -1
- package/es/Attachment/Attachment.module.css +7 -3
- package/es/AttachmentViewer/Attachment.js +60 -1
- package/es/AttachmentViewer/AttachmentViewer.js +146 -12
- package/es/AttachmentViewer/AttachmentViewer.module.css +124 -4
- package/es/DotProvider/__tests__/DotProvider.spec.js +174 -0
- package/es/DotProvider/__tests__/__snapshots__/DotProvider.spec.js.snap +478 -0
- package/es/common/dot_common.module.css +35 -0
- package/es/lookup/header/Search/LookupSearch.module.css +1 -1
- package/es/lookup/header/Search/Search.js +2 -2
- package/es/lookup/header/Search/props/propTypes.js +1 -0
- package/lib/Attachment/Attachment.js +3 -1
- package/lib/Attachment/Attachment.module.css +7 -3
- package/lib/AttachmentViewer/Attachment.js +88 -1
- package/lib/AttachmentViewer/AttachmentViewer.js +147 -13
- package/lib/AttachmentViewer/AttachmentViewer.module.css +124 -4
- package/lib/DotProvider/__tests__/DotProvider.spec.js +441 -0
- package/lib/DotProvider/__tests__/__snapshots__/DotProvider.spec.js.snap +478 -0
- package/lib/common/dot_common.module.css +35 -0
- package/lib/lookup/header/Search/LookupSearch.module.css +1 -1
- package/lib/lookup/header/Search/Search.js +2 -2
- package/lib/lookup/header/Search/props/propTypes.js +1 -0
- package/package.json +8 -8
- package/result.json +1 -1
- package/unittest/index.html +1 -1
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -87
- package/coverage/coverage-final.json +0 -492
- package/coverage/coverage-summary.json +0 -493
- package/coverage/favicon.png +0 -0
- package/coverage/images/audio_thumbnail.png.html +0 -0
- package/coverage/images/index.html +0 -116
- package/coverage/index.html +0 -3881
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -196
- package/coverage/src/ActionButton/ActionButton.js.html +0 -652
- package/coverage/src/ActionButton/ActionButton.module.css.html +0 -559
- package/coverage/src/ActionButton/index.html +0 -131
- package/coverage/src/ActionButton/props/defaultProps.js.html +0 -142
- package/coverage/src/ActionButton/props/index.html +0 -131
- package/coverage/src/ActionButton/props/propTypes.js.html +0 -199
- package/coverage/src/AlphabeticList/AlphabeticList.js.html +0 -424
- package/coverage/src/AlphabeticList/AlphabeticList.module.css.html +0 -247
- package/coverage/src/AlphabeticList/index.html +0 -131
- package/coverage/src/AlphabeticList/props/defaultProps.js.html +0 -124
- package/coverage/src/AlphabeticList/props/index.html +0 -131
- package/coverage/src/AlphabeticList/props/propTypes.js.html +0 -250
- package/coverage/src/Attachment/Attachment.js.html +0 -388
- package/coverage/src/Attachment/Attachment.module.css.html +0 -583
- package/coverage/src/Attachment/index.html +0 -131
- package/coverage/src/Attachment/props/defaultProps.js.html +0 -109
- package/coverage/src/Attachment/props/index.html +0 -131
- package/coverage/src/Attachment/props/propTypes.js.html +0 -142
- package/coverage/src/AttachmentViewer/Attachment.js.html +0 -193
- package/coverage/src/AttachmentViewer/AttachmentImage.js.html +0 -334
- package/coverage/src/AttachmentViewer/AttachmentViewer.js.html +0 -1720
- package/coverage/src/AttachmentViewer/AttachmentViewer.module.css.html +0 -994
- package/coverage/src/AttachmentViewer/index.html +0 -176
- package/coverage/src/AttachmentViewer/props/defaultProps.js.html +0 -133
- package/coverage/src/AttachmentViewer/props/index.html +0 -131
- package/coverage/src/AttachmentViewer/props/propTypes.js.html +0 -199
- package/coverage/src/AttachmentViewer/utils.js.html +0 -400
- package/coverage/src/ChannelIcon/ChannelIcon.js.html +0 -448
- package/coverage/src/ChannelIcon/ChannelIcon.module.css.html +0 -727
- package/coverage/src/ChannelIcon/index.html +0 -131
- package/coverage/src/ChannelIcon/props/defaultProps.js.html +0 -106
- package/coverage/src/ChannelIcon/props/index.html +0 -131
- package/coverage/src/ChannelIcon/props/propTypes.js.html +0 -163
- package/coverage/src/Drawer/Drawer.js.html +0 -1030
- package/coverage/src/Drawer/Drawer.module.css.html +0 -466
- package/coverage/src/Drawer/index.html +0 -131
- package/coverage/src/Drawer/props/defaultProps.js.html +0 -163
- package/coverage/src/Drawer/props/index.html +0 -131
- package/coverage/src/Drawer/props/propTypes.js.html +0 -286
- package/coverage/src/ExternalLink/ExternalLink.js.html +0 -229
- package/coverage/src/ExternalLink/ExternalLink.module.css.html +0 -94
- package/coverage/src/ExternalLink/index.html +0 -131
- package/coverage/src/ExternalLink/props/defaultProps.js.html +0 -100
- package/coverage/src/ExternalLink/props/index.html +0 -131
- package/coverage/src/ExternalLink/props/propTypes.js.html +0 -124
- package/coverage/src/FlipCard/FlipCard.js.html +0 -523
- package/coverage/src/FlipCard/FlipCard.module.css.html +0 -190
- package/coverage/src/FlipCard/index.html +0 -131
- package/coverage/src/FlipCard/props/defaultProps.js.html +0 -100
- package/coverage/src/FlipCard/props/index.html +0 -131
- package/coverage/src/FlipCard/props/propTypes.js.html +0 -199
- package/coverage/src/FormAction/FormAction.js.html +0 -391
- package/coverage/src/FormAction/FormAction.module.css.html +0 -292
- package/coverage/src/FormAction/index.html +0 -131
- package/coverage/src/FormAction/props/defaultProps.js.html +0 -100
- package/coverage/src/FormAction/props/index.html +0 -131
- package/coverage/src/FormAction/props/propTypes.js.html +0 -112
- package/coverage/src/FreezeLayer/FreezeLayer.js.html +0 -346
- package/coverage/src/FreezeLayer/css/FreezeLayer.module.css.html +0 -199
- package/coverage/src/FreezeLayer/css/cssJSLogic.js.html +0 -139
- package/coverage/src/FreezeLayer/css/index.html +0 -131
- package/coverage/src/FreezeLayer/index.html +0 -116
- package/coverage/src/FreezeLayer/props/defaultProps.js.html +0 -112
- package/coverage/src/FreezeLayer/props/index.html +0 -131
- package/coverage/src/FreezeLayer/props/propTypes.js.html +0 -151
- package/coverage/src/Hooks/Dragger/css/Dragger.module.css.html +0 -91
- package/coverage/src/Hooks/Dragger/css/index.html +0 -116
- package/coverage/src/Hooks/Dragger/index.html +0 -116
- package/coverage/src/Hooks/Dragger/props/defaultProps.js.html +0 -100
- package/coverage/src/Hooks/Dragger/props/index.html +0 -131
- package/coverage/src/Hooks/Dragger/props/propTypes.js.html +0 -124
- package/coverage/src/Hooks/Dragger/useDragger.js.html +0 -439
- package/coverage/src/Hooks/Dragger/utils/DraggerUtil.js.html +0 -133
- package/coverage/src/Hooks/Dragger/utils/index.html +0 -116
- package/coverage/src/Hooks/index.html +0 -116
- package/coverage/src/Hooks/useFreezeLayer.js.html +0 -247
- package/coverage/src/IconButton/IconButton.js.html +0 -466
- package/coverage/src/IconButton/IconButton.module.css.html +0 -151
- package/coverage/src/IconButton/index.html +0 -131
- package/coverage/src/IconButton/props/defaultProps.js.html +0 -136
- package/coverage/src/IconButton/props/index.html +0 -131
- package/coverage/src/IconButton/props/propTypes.js.html +0 -187
- package/coverage/src/Image/Image.js.html +0 -190
- package/coverage/src/Image/Image.module.css.html +0 -118
- package/coverage/src/Image/index.html +0 -131
- package/coverage/src/Image/props/defaultProps.js.html +0 -97
- package/coverage/src/Image/props/index.html +0 -131
- package/coverage/src/Image/props/propTypes.js.html +0 -133
- package/coverage/src/ImportantNotes/ImportantNotes.js.html +0 -223
- package/coverage/src/ImportantNotes/ImportantNotes.module.css.html +0 -133
- package/coverage/src/ImportantNotes/index.html +0 -131
- package/coverage/src/ImportantNotes/props/defaultProps.js.html +0 -103
- package/coverage/src/ImportantNotes/props/index.html +0 -131
- package/coverage/src/ImportantNotes/props/propTypes.js.html +0 -118
- package/coverage/src/Link/Link.js.html +0 -388
- package/coverage/src/Link/Link.module.css.html +0 -94
- package/coverage/src/Link/LinkContext.js.html +0 -112
- package/coverage/src/Link/index.html +0 -146
- package/coverage/src/Link/props/defaultProps.js.html +0 -100
- package/coverage/src/Link/props/index.html +0 -131
- package/coverage/src/Link/props/propTypes.js.html +0 -142
- package/coverage/src/Loader/Loader.js.html +0 -136
- package/coverage/src/Loader/Loader.module.css.html +0 -163
- package/coverage/src/Loader/index.html +0 -131
- package/coverage/src/Message/Message.js.html +0 -361
- package/coverage/src/Message/Message.module.css.html +0 -292
- package/coverage/src/Message/index.html +0 -131
- package/coverage/src/Message/props/defaultProps.js.html +0 -97
- package/coverage/src/Message/props/index.html +0 -131
- package/coverage/src/Message/props/propTypes.js.html +0 -157
- package/coverage/src/MessageBanner/MessageBanner.js.html +0 -244
- package/coverage/src/MessageBanner/MessageBanner.module.css.html +0 -199
- package/coverage/src/MessageBanner/index.html +0 -131
- package/coverage/src/MessageBanner/props/defaultProps.js.html +0 -106
- package/coverage/src/MessageBanner/props/index.html +0 -131
- package/coverage/src/MessageBanner/props/propTypes.js.html +0 -127
- package/coverage/src/NewStar/NewStar.js.html +0 -259
- package/coverage/src/NewStar/NewStar.module.css.html +0 -490
- package/coverage/src/NewStar/index.html +0 -131
- package/coverage/src/NewStar/props/defaultProps.js.html +0 -97
- package/coverage/src/NewStar/props/index.html +0 -131
- package/coverage/src/NewStar/props/propTypes.js.html +0 -121
- package/coverage/src/PlusIcon/PlusIcon.js.html +0 -190
- package/coverage/src/PlusIcon/PlusIcon.module.css.html +0 -139
- package/coverage/src/PlusIcon/index.html +0 -131
- package/coverage/src/PlusIcon/props/defaultProps.js.html +0 -109
- package/coverage/src/PlusIcon/props/index.html +0 -131
- package/coverage/src/PlusIcon/props/propTypes.js.html +0 -121
- package/coverage/src/Provider/Config.js.html +0 -136
- package/coverage/src/Provider/index.html +0 -116
- package/coverage/src/Separator/Separator.js.html +0 -286
- package/coverage/src/Separator/Separator.module.css.html +0 -187
- package/coverage/src/Separator/index.html +0 -131
- package/coverage/src/Separator/props/defaultProps.js.html +0 -118
- package/coverage/src/Separator/props/index.html +0 -131
- package/coverage/src/Separator/props/propTypes.js.html +0 -121
- package/coverage/src/TagWithIcon/TagWithIcon.js.html +0 -247
- package/coverage/src/TagWithIcon/TagWithIcon.module.css.html +0 -262
- package/coverage/src/TagWithIcon/index.html +0 -131
- package/coverage/src/TagWithIcon/props/defaultProps.js.html +0 -106
- package/coverage/src/TagWithIcon/props/index.html +0 -131
- package/coverage/src/TagWithIcon/props/propTypes.js.html +0 -124
- package/coverage/src/ToastMessage/ToastMessage.js.html +0 -751
- package/coverage/src/ToastMessage/ToastMessage.module.css.html +0 -859
- package/coverage/src/ToastMessage/index.html +0 -131
- package/coverage/src/ToastMessage/props/defaultProps.js.html +0 -139
- package/coverage/src/ToastMessage/props/index.html +0 -131
- package/coverage/src/ToastMessage/props/propTypes.js.html +0 -229
- package/coverage/src/Upload/Upload.js.html +0 -310
- package/coverage/src/Upload/Upload.module.css.html +0 -403
- package/coverage/src/Upload/index.html +0 -131
- package/coverage/src/Upload/props/defaultProps.js.html +0 -106
- package/coverage/src/Upload/props/index.html +0 -131
- package/coverage/src/Upload/props/propTypes.js.html +0 -139
- package/coverage/src/actions/AutoClose.js.html +0 -181
- package/coverage/src/actions/index.html +0 -116
- package/coverage/src/actions/props/defaultProps.js.html +0 -94
- package/coverage/src/actions/props/index.html +0 -131
- package/coverage/src/actions/props/propTypes.js.html +0 -112
- package/coverage/src/alert/AlertHeader/AlertHeader.js.html +0 -337
- package/coverage/src/alert/AlertHeader/AlertHeader.module.css.html +0 -271
- package/coverage/src/alert/AlertHeader/index.html +0 -131
- package/coverage/src/alert/AlertHeader/props/defaultProps.js.html +0 -109
- package/coverage/src/alert/AlertHeader/props/index.html +0 -131
- package/coverage/src/alert/AlertHeader/props/propTypes.js.html +0 -148
- package/coverage/src/alert/AlertLookup/AlertLookup.js.html +0 -472
- package/coverage/src/alert/AlertLookup/AlertLookup.module.css.html +0 -151
- package/coverage/src/alert/AlertLookup/index.html +0 -131
- package/coverage/src/alert/AlertLookup/props/defaultProps.js.html +0 -127
- package/coverage/src/alert/AlertLookup/props/index.html +0 -131
- package/coverage/src/alert/AlertLookup/props/propTypes.js.html +0 -193
- package/coverage/src/avatar/AvatarClose/AvatarClose.js.html +0 -190
- package/coverage/src/avatar/AvatarClose/AvatarClose.module.css.html +0 -178
- package/coverage/src/avatar/AvatarClose/index.html +0 -131
- package/coverage/src/avatar/AvatarClose/props/defaultProps.js.html +0 -106
- package/coverage/src/avatar/AvatarClose/props/index.html +0 -131
- package/coverage/src/avatar/AvatarClose/props/propTypes.js.html +0 -133
- package/coverage/src/avatar/AvatarCollision/AvatarCollision.js.html +0 -241
- package/coverage/src/avatar/AvatarCollision/AvatarCollision.module.css.html +0 -250
- package/coverage/src/avatar/AvatarCollision/index.html +0 -131
- package/coverage/src/avatar/AvatarCollision/props/defaultProps.js.html +0 -109
- package/coverage/src/avatar/AvatarCollision/props/index.html +0 -131
- package/coverage/src/avatar/AvatarCollision/props/propTypes.js.html +0 -139
- package/coverage/src/avatar/AvatarIcon/AvatarIcon.js.html +0 -256
- package/coverage/src/avatar/AvatarIcon/AvatarIcon.module.css.html +0 -262
- package/coverage/src/avatar/AvatarIcon/index.html +0 -131
- package/coverage/src/avatar/AvatarIcon/props/defaultProps.js.html +0 -127
- package/coverage/src/avatar/AvatarIcon/props/index.html +0 -131
- package/coverage/src/avatar/AvatarIcon/props/propTypes.js.html +0 -148
- package/coverage/src/avatar/AvatarStatus/AvatarStatus.js.html +0 -301
- package/coverage/src/avatar/AvatarStatus/AvatarStatus.module.css.html +0 -373
- package/coverage/src/avatar/AvatarStatus/index.html +0 -131
- package/coverage/src/avatar/AvatarStatus/props/defaultProps.js.html +0 -121
- package/coverage/src/avatar/AvatarStatus/props/index.html +0 -131
- package/coverage/src/avatar/AvatarStatus/props/propTypes.js.html +0 -166
- package/coverage/src/avatar/AvatarThread/AvatarThread.js.html +0 -367
- package/coverage/src/avatar/AvatarThread/AvatarThread.module.css.html +0 -439
- package/coverage/src/avatar/AvatarThread/index.html +0 -131
- package/coverage/src/avatar/AvatarThread/props/defaultProps.js.html +0 -112
- package/coverage/src/avatar/AvatarThread/props/index.html +0 -131
- package/coverage/src/avatar/AvatarThread/props/propTypes.js.html +0 -178
- package/coverage/src/avatar/AvatarUser/AvatarUser.js.html +0 -415
- package/coverage/src/avatar/AvatarUser/AvatarUser.module.css.html +0 -385
- package/coverage/src/avatar/AvatarUser/index.html +0 -131
- package/coverage/src/avatar/AvatarUser/props/defaultProps.js.html +0 -109
- package/coverage/src/avatar/AvatarUser/props/index.html +0 -131
- package/coverage/src/avatar/AvatarUser/props/propTypes.js.html +0 -193
- package/coverage/src/avatar/AvatarWithTeam/AvatarWithTeam.js.html +0 -448
- package/coverage/src/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +0 -133
- package/coverage/src/avatar/AvatarWithTeam/index.html +0 -131
- package/coverage/src/avatar/AvatarWithTeam/props/defaultProps.js.html +0 -112
- package/coverage/src/avatar/AvatarWithTeam/props/index.html +0 -131
- package/coverage/src/avatar/AvatarWithTeam/props/propTypes.js.html +0 -163
- package/coverage/src/dropdown/ToggleDropDown/ToggleDropDown.js.html +0 -2719
- package/coverage/src/dropdown/ToggleDropDown/ToggleDropDown.module.css.html +0 -346
- package/coverage/src/dropdown/ToggleDropDown/index.html +0 -131
- package/coverage/src/dropdown/ToggleDropDown/props/defaultProps.js.html +0 -172
- package/coverage/src/dropdown/ToggleDropDown/props/index.html +0 -131
- package/coverage/src/dropdown/ToggleDropDown/props/propTypes.js.html +0 -376
- package/coverage/src/emptystate/CommonEmptyState/CommonEmptyState.js.html +0 -334
- package/coverage/src/emptystate/CommonEmptyState/CommonEmptyState.module.css.html +0 -337
- package/coverage/src/emptystate/CommonEmptyState/index.html +0 -131
- package/coverage/src/emptystate/CommonEmptyState/props/defaultProps.js.html +0 -115
- package/coverage/src/emptystate/CommonEmptyState/props/index.html +0 -131
- package/coverage/src/emptystate/CommonEmptyState/props/propTypes.js.html +0 -151
- package/coverage/src/emptystate/EditionPage/EditionPage.css.html +0 -196
- package/coverage/src/emptystate/EditionPage/EditionPage.js.html +0 -229
- package/coverage/src/emptystate/EditionPage/index.html +0 -131
- package/coverage/src/emptystate/EditionPage/props/defaultProps.js.html +0 -100
- package/coverage/src/emptystate/EditionPage/props/index.html +0 -131
- package/coverage/src/emptystate/EditionPage/props/propTypes.js.html +0 -121
- package/coverage/src/errorstate/EmptyStates.module.css.html +0 -337
- package/coverage/src/errorstate/Inconvenience/Inconvenience.js.html +0 -349
- package/coverage/src/errorstate/Inconvenience/Inconvenience.module.css.html +0 -97
- package/coverage/src/errorstate/Inconvenience/index.html +0 -131
- package/coverage/src/errorstate/Inconvenience/props/defaultProps.js.html +0 -97
- package/coverage/src/errorstate/Inconvenience/props/index.html +0 -131
- package/coverage/src/errorstate/Inconvenience/props/propTypes.js.html +0 -121
- package/coverage/src/errorstate/LinkText/LinkText.js.html +0 -166
- package/coverage/src/errorstate/LinkText/LinkText.module.css.html +0 -103
- package/coverage/src/errorstate/LinkText/index.html +0 -131
- package/coverage/src/errorstate/LinkText/props/defaultProps.js.html +0 -97
- package/coverage/src/errorstate/LinkText/props/index.html +0 -131
- package/coverage/src/errorstate/LinkText/props/propTypes.js.html +0 -112
- package/coverage/src/errorstate/NoRequestFound/NoRequestFound.js.html +0 -349
- package/coverage/src/errorstate/NoRequestFound/NoRequestFound.module.css.html +0 -94
- package/coverage/src/errorstate/NoRequestFound/index.html +0 -131
- package/coverage/src/errorstate/NoRequestFound/props/defaultProps.js.html +0 -97
- package/coverage/src/errorstate/NoRequestFound/props/index.html +0 -131
- package/coverage/src/errorstate/NoRequestFound/props/propTypes.js.html +0 -121
- package/coverage/src/errorstate/PermissionPlay/PermissionPlay.js.html +0 -343
- package/coverage/src/errorstate/PermissionPlay/PermissionPlay.module.css.html +0 -187
- package/coverage/src/errorstate/PermissionPlay/index.html +0 -131
- package/coverage/src/errorstate/PermissionPlay/props/defaultProps.js.html +0 -97
- package/coverage/src/errorstate/PermissionPlay/props/index.html +0 -131
- package/coverage/src/errorstate/PermissionPlay/props/propTypes.js.html +0 -121
- package/coverage/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.js.html +0 -349
- package/coverage/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css.html +0 -94
- package/coverage/src/errorstate/RequestUrlNotFound/index.html +0 -131
- package/coverage/src/errorstate/RequestUrlNotFound/props/defaultProps.js.html +0 -97
- package/coverage/src/errorstate/RequestUrlNotFound/props/index.html +0 -131
- package/coverage/src/errorstate/RequestUrlNotFound/props/propTypes.js.html +0 -121
- package/coverage/src/errorstate/UnableToProcess/UnableToProcess.js.html +0 -337
- package/coverage/src/errorstate/UnableToProcess/UnableToProcess.module.css.html +0 -94
- package/coverage/src/errorstate/UnableToProcess/index.html +0 -131
- package/coverage/src/errorstate/UnableToProcess/props/defaultProps.js.html +0 -97
- package/coverage/src/errorstate/UnableToProcess/props/index.html +0 -131
- package/coverage/src/errorstate/UnableToProcess/props/propTypes.js.html +0 -121
- package/coverage/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.js.html +0 -337
- package/coverage/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css.html +0 -94
- package/coverage/src/errorstate/UnauthorizedLogin/index.html +0 -131
- package/coverage/src/errorstate/UnauthorizedLogin/props/defaultProps.js.html +0 -97
- package/coverage/src/errorstate/UnauthorizedLogin/props/index.html +0 -131
- package/coverage/src/errorstate/UnauthorizedLogin/props/propTypes.js.html +0 -121
- package/coverage/src/errorstate/WillBack/WillBack.js.html +0 -307
- package/coverage/src/errorstate/WillBack/WillBack.module.css.html +0 -193
- package/coverage/src/errorstate/WillBack/index.html +0 -131
- package/coverage/src/errorstate/WillBack/props/defaultProps.js.html +0 -97
- package/coverage/src/errorstate/WillBack/props/index.html +0 -131
- package/coverage/src/errorstate/WillBack/props/propTypes.js.html +0 -103
- package/coverage/src/errorstate/index.html +0 -116
- package/coverage/src/form/fields/CheckBoxField/CheckBoxField.js.html +0 -580
- package/coverage/src/form/fields/CheckBoxField/index.html +0 -116
- package/coverage/src/form/fields/CheckBoxField/props/defaultProps.js.html +0 -124
- package/coverage/src/form/fields/CheckBoxField/props/index.html +0 -131
- package/coverage/src/form/fields/CheckBoxField/props/propTypes.js.html +0 -178
- package/coverage/src/form/fields/CurrencyField/CurrencyField.js.html +0 -667
- package/coverage/src/form/fields/CurrencyField/index.html +0 -116
- package/coverage/src/form/fields/CurrencyField/props/defaultProps.js.html +0 -139
- package/coverage/src/form/fields/CurrencyField/props/index.html +0 -131
- package/coverage/src/form/fields/CurrencyField/props/propTypes.js.html +0 -208
- package/coverage/src/form/fields/DateField/DateField.js.html +0 -682
- package/coverage/src/form/fields/DateField/index.html +0 -116
- package/coverage/src/form/fields/DateField/props/defaultProps.js.html +0 -145
- package/coverage/src/form/fields/DateField/props/index.html +0 -131
- package/coverage/src/form/fields/DateField/props/propTypes.js.html +0 -208
- package/coverage/src/form/fields/FieldContainer/FieldContainer.js.html +0 -271
- package/coverage/src/form/fields/FieldContainer/index.html +0 -116
- package/coverage/src/form/fields/FieldContainer/props/defaultProps.js.html +0 -109
- package/coverage/src/form/fields/FieldContainer/props/index.html +0 -131
- package/coverage/src/form/fields/FieldContainer/props/propTypes.js.html +0 -166
- package/coverage/src/form/fields/Fields.module.css.html +0 -619
- package/coverage/src/form/fields/MultiSelectField/MultiSelectField.js.html +0 -745
- package/coverage/src/form/fields/MultiSelectField/index.html +0 -116
- package/coverage/src/form/fields/MultiSelectField/props/defaultProps.js.html +0 -139
- package/coverage/src/form/fields/MultiSelectField/props/index.html +0 -131
- package/coverage/src/form/fields/MultiSelectField/props/propTypes.js.html +0 -241
- package/coverage/src/form/fields/PhoneField/PhoneField.js.html +0 -619
- package/coverage/src/form/fields/PhoneField/index.html +0 -116
- package/coverage/src/form/fields/PhoneField/props/defaultProps.js.html +0 -133
- package/coverage/src/form/fields/PhoneField/props/index.html +0 -131
- package/coverage/src/form/fields/PhoneField/props/propTypes.js.html +0 -229
- package/coverage/src/form/fields/RadioField/RadioField.js.html +0 -493
- package/coverage/src/form/fields/RadioField/index.html +0 -116
- package/coverage/src/form/fields/RadioField/props/defaultProps.js.html +0 -121
- package/coverage/src/form/fields/RadioField/props/index.html +0 -131
- package/coverage/src/form/fields/RadioField/props/propTypes.js.html +0 -196
- package/coverage/src/form/fields/SelectField/SelectField.js.html +0 -697
- package/coverage/src/form/fields/SelectField/index.html +0 -116
- package/coverage/src/form/fields/SelectField/props/defaultProps.js.html +0 -142
- package/coverage/src/form/fields/SelectField/props/index.html +0 -131
- package/coverage/src/form/fields/SelectField/props/propTypes.js.html +0 -241
- package/coverage/src/form/fields/TagsMultiSelect/TagsMultiSelect.js.html +0 -1066
- package/coverage/src/form/fields/TagsMultiSelect/TagsMultiSelect.module.css.html +0 -382
- package/coverage/src/form/fields/TagsMultiSelect/index.html +0 -131
- package/coverage/src/form/fields/TagsMultiSelect/props/defaultProps.js.html +0 -133
- package/coverage/src/form/fields/TagsMultiSelect/props/index.html +0 -131
- package/coverage/src/form/fields/TagsMultiSelect/props/propTypes.js.html +0 -256
- package/coverage/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.js.html +0 -868
- package/coverage/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css.html +0 -103
- package/coverage/src/form/fields/TagsMultiSelectField/index.html +0 -131
- package/coverage/src/form/fields/TagsMultiSelectField/props/defaultProps.js.html +0 -157
- package/coverage/src/form/fields/TagsMultiSelectField/props/index.html +0 -131
- package/coverage/src/form/fields/TagsMultiSelectField/props/propTypes.js.html +0 -304
- package/coverage/src/form/fields/TextBoxField/TextBoxField.js.html +0 -634
- package/coverage/src/form/fields/TextBoxField/index.html +0 -116
- package/coverage/src/form/fields/TextBoxField/props/defaultProps.js.html +0 -139
- package/coverage/src/form/fields/TextBoxField/props/index.html +0 -131
- package/coverage/src/form/fields/TextBoxField/props/propTypes.js.html +0 -223
- package/coverage/src/form/fields/TextEditor/TextEditor.js.html +0 -1183
- package/coverage/src/form/fields/TextEditor/TextEditor.module.css.html +0 -2113
- package/coverage/src/form/fields/TextEditor/index.html +0 -131
- package/coverage/src/form/fields/TextEditor/props/defaultProps.js.html +0 -133
- package/coverage/src/form/fields/TextEditor/props/index.html +0 -131
- package/coverage/src/form/fields/TextEditor/props/propTypes.js.html +0 -268
- package/coverage/src/form/fields/TextEditorField/TextEditorField.js.html +0 -622
- package/coverage/src/form/fields/TextEditorField/index.html +0 -116
- package/coverage/src/form/fields/TextEditorField/props/defaultProps.js.html +0 -133
- package/coverage/src/form/fields/TextEditorField/props/index.html +0 -131
- package/coverage/src/form/fields/TextEditorField/props/propTypes.js.html +0 -268
- package/coverage/src/form/fields/TextEditorWrapper/TextEditorWrapper.js.html +0 -631
- package/coverage/src/form/fields/TextEditorWrapper/TextEditorWrapper.module.css.html +0 -163
- package/coverage/src/form/fields/TextEditorWrapper/index.html +0 -131
- package/coverage/src/form/fields/TextEditorWrapper/props/defaultProps.js.html +0 -112
- package/coverage/src/form/fields/TextEditorWrapper/props/index.html +0 -131
- package/coverage/src/form/fields/TextEditorWrapper/props/propTypes.js.html +0 -226
- package/coverage/src/form/fields/TextareaField/TextareaField.js.html +0 -622
- package/coverage/src/form/fields/TextareaField/index.html +0 -116
- package/coverage/src/form/fields/TextareaField/props/defaultProps.js.html +0 -136
- package/coverage/src/form/fields/TextareaField/props/index.html +0 -131
- package/coverage/src/form/fields/TextareaField/props/propTypes.js.html +0 -202
- package/coverage/src/form/fields/ValidationMessage/ValidationMessage.js.html +0 -232
- package/coverage/src/form/fields/ValidationMessage/ValidationMessage.module.css.html +0 -151
- package/coverage/src/form/fields/ValidationMessage/index.html +0 -131
- package/coverage/src/form/fields/ValidationMessage/props/defaultProps.js.html +0 -106
- package/coverage/src/form/fields/ValidationMessage/props/index.html +0 -131
- package/coverage/src/form/fields/ValidationMessage/props/propTypes.js.html +0 -136
- package/coverage/src/form/fields/index.html +0 -116
- package/coverage/src/form/fields/props/FieldCommonDefaultProps.js.html +0 -115
- package/coverage/src/form/fields/props/FieldCommonPropTypes.js.html +0 -130
- package/coverage/src/form/fields/props/index.html +0 -131
- package/coverage/src/form/layout/Field/Field.js.html +0 -184
- package/coverage/src/form/layout/Field/Field.module.css.html +0 -151
- package/coverage/src/form/layout/Field/index.html +0 -131
- package/coverage/src/form/layout/Field/props/defaultProps.js.html +0 -97
- package/coverage/src/form/layout/Field/props/index.html +0 -131
- package/coverage/src/form/layout/Field/props/propTypes.js.html +0 -118
- package/coverage/src/form/layout/Section/ModuleFormSection.module.css.html +0 -94
- package/coverage/src/form/layout/Section/Section.js.html +0 -175
- package/coverage/src/form/layout/Section/index.html +0 -131
- package/coverage/src/form/layout/Section/props/index.html +0 -116
- package/coverage/src/form/layout/Section/props/propTypes.js.html +0 -121
- package/coverage/src/layout/SetupDetailLayout/SetupDetailLayout.js.html +0 -679
- package/coverage/src/layout/SetupDetailLayout/SetupDetailLayout.module.css.html +0 -433
- package/coverage/src/layout/SetupDetailLayout/index.html +0 -131
- package/coverage/src/layout/SetupDetailLayout/props/defaultProps.js.html +0 -154
- package/coverage/src/layout/SetupDetailLayout/props/index.html +0 -131
- package/coverage/src/layout/SetupDetailLayout/props/propTypes.js.html +0 -223
- package/coverage/src/layout/SubtabLayout/SubtabLayout.js.html +0 -577
- package/coverage/src/layout/SubtabLayout/SubtabLayout.module.css.html +0 -484
- package/coverage/src/layout/SubtabLayout/index.html +0 -131
- package/coverage/src/layout/SubtabLayout/props/defaultProps.js.html +0 -169
- package/coverage/src/layout/SubtabLayout/props/index.html +0 -131
- package/coverage/src/layout/SubtabLayout/props/propTypes.js.html +0 -217
- package/coverage/src/list/AvatarFlip/AvatarFlip.js.html +0 -325
- package/coverage/src/list/AvatarFlip/AvatarFlip.module.css.html +0 -94
- package/coverage/src/list/AvatarFlip/index.html +0 -131
- package/coverage/src/list/AvatarFlip/props/defaultProps.js.html +0 -103
- package/coverage/src/list/AvatarFlip/props/index.html +0 -131
- package/coverage/src/list/AvatarFlip/props/propTypes.js.html +0 -175
- package/coverage/src/list/BluePrintStatus/BluePrintStatus.js.html +0 -160
- package/coverage/src/list/BluePrintStatus/BluePrintStatus.module.css.html +0 -127
- package/coverage/src/list/BluePrintStatus/index.html +0 -131
- package/coverage/src/list/BluePrintStatus/props/index.html +0 -116
- package/coverage/src/list/BluePrintStatus/props/propTypes.js.html +0 -100
- package/coverage/src/list/Comment/Comment.js.html +0 -199
- package/coverage/src/list/Comment/Comment.module.css.html +0 -157
- package/coverage/src/list/Comment/index.html +0 -131
- package/coverage/src/list/Comment/props/defaultProps.js.html +0 -97
- package/coverage/src/list/Comment/props/index.html +0 -131
- package/coverage/src/list/Comment/props/propTypes.js.html +0 -109
- package/coverage/src/list/DepartmentDropDown/DepartmentDropDown.js.html +0 -358
- package/coverage/src/list/DepartmentDropDown/DepartmentDropDown.module.css.html +0 -112
- package/coverage/src/list/DepartmentDropDown/index.html +0 -131
- package/coverage/src/list/DepartmentDropDown/props/defaultProps.js.html +0 -106
- package/coverage/src/list/DepartmentDropDown/props/index.html +0 -131
- package/coverage/src/list/DepartmentDropDown/props/propTypes.js.html +0 -160
- package/coverage/src/list/Dot/Dot.js.html +0 -151
- package/coverage/src/list/Dot/Dot.module.css.html +0 -130
- package/coverage/src/list/Dot/index.html +0 -131
- package/coverage/src/list/Dot/props/defaultProps.js.html +0 -97
- package/coverage/src/list/Dot/props/index.html +0 -131
- package/coverage/src/list/Dot/props/propTypes.js.html +0 -103
- package/coverage/src/list/DotNew/DotNew.js.html +0 -154
- package/coverage/src/list/DotNew/DotNew.module.css.html +0 -157
- package/coverage/src/list/DotNew/index.html +0 -131
- package/coverage/src/list/DotNew/props/defaultProps.js.html +0 -94
- package/coverage/src/list/DotNew/props/index.html +0 -131
- package/coverage/src/list/DotNew/props/propTypes.js.html +0 -106
- package/coverage/src/list/GridStencils/GridStencils.js.html +0 -208
- package/coverage/src/list/GridStencils/GridStencils.module.css.html +0 -373
- package/coverage/src/list/GridStencils/index.html +0 -131
- package/coverage/src/list/GridStencils/props/index.html +0 -116
- package/coverage/src/list/GridStencils/props/propTypes.js.html +0 -112
- package/coverage/src/list/Icons/AddNewIcon.js.html +0 -154
- package/coverage/src/list/Icons/CompleteIcon.js.html +0 -151
- package/coverage/src/list/Icons/DeleteIcon.js.html +0 -157
- package/coverage/src/list/Icons/EditIcon.js.html +0 -157
- package/coverage/src/list/Icons/FloatingIcons.js.html +0 -166
- package/coverage/src/list/Icons/Icons.module.css.html +0 -133
- package/coverage/src/list/Icons/ReadUnreadIcon.js.html +0 -181
- package/coverage/src/list/Icons/SmartIcon.js.html +0 -160
- package/coverage/src/list/Icons/index.html +0 -221
- package/coverage/src/list/Icons/props/defaultProps.js.html +0 -106
- package/coverage/src/list/Icons/props/index.html +0 -131
- package/coverage/src/list/Icons/props/propTypes.js.html +0 -265
- package/coverage/src/list/ListLayout/ListLayout.js.html +0 -337
- package/coverage/src/list/ListLayout/ListLayout.module.css.html +0 -283
- package/coverage/src/list/ListLayout/index.html +0 -131
- package/coverage/src/list/ListLayout/props/defaultProps.js.html +0 -118
- package/coverage/src/list/ListLayout/props/index.html +0 -131
- package/coverage/src/list/ListLayout/props/propTypes.js.html +0 -175
- package/coverage/src/list/ListStencils/ListStencils.js.html +0 -223
- package/coverage/src/list/ListStencils/ListStencils.module.css.html +0 -271
- package/coverage/src/list/ListStencils/index.html +0 -131
- package/coverage/src/list/ListStencils/props/defaultProps.js.html +0 -94
- package/coverage/src/list/ListStencils/props/index.html +0 -131
- package/coverage/src/list/ListStencils/props/propTypes.js.html +0 -100
- package/coverage/src/list/SecondaryText/AccountName.js.html +0 -358
- package/coverage/src/list/SecondaryText/ContactName.js.html +0 -361
- package/coverage/src/list/SecondaryText/DepartmentText.js.html +0 -160
- package/coverage/src/list/SecondaryText/Email.js.html +0 -253
- package/coverage/src/list/SecondaryText/HappinessRating.js.html +0 -172
- package/coverage/src/list/SecondaryText/PhoneNumber.js.html +0 -262
- package/coverage/src/list/SecondaryText/PriorityText.js.html +0 -181
- package/coverage/src/list/SecondaryText/SecondaryText.js.html +0 -190
- package/coverage/src/list/SecondaryText/SecondaryText.module.css.html +0 -463
- package/coverage/src/list/SecondaryText/StatusText.js.html +0 -181
- package/coverage/src/list/SecondaryText/TicketId.js.html +0 -214
- package/coverage/src/list/SecondaryText/Website.js.html +0 -226
- package/coverage/src/list/SecondaryText/index.html +0 -296
- package/coverage/src/list/SecondaryText/index.js.html +0 -118
- package/coverage/src/list/SecondaryText/props/defaultProps.js.html +0 -241
- package/coverage/src/list/SecondaryText/props/index.html +0 -131
- package/coverage/src/list/SecondaryText/props/propTypes.js.html +0 -544
- package/coverage/src/list/SecondryPanel/SecondryPanel.js.html +0 -406
- package/coverage/src/list/SecondryPanel/SecondryPanel.module.css.html +0 -100
- package/coverage/src/list/SecondryPanel/index.html +0 -131
- package/coverage/src/list/SecondryPanel/props/defaultProps.js.html +0 -148
- package/coverage/src/list/SecondryPanel/props/index.html +0 -131
- package/coverage/src/list/SecondryPanel/props/propTypes.js.html +0 -178
- package/coverage/src/list/SentimentStatus/SentimentStatus.js.html +0 -175
- package/coverage/src/list/SentimentStatus/SentimentStatus.module.css.html +0 -112
- package/coverage/src/list/SentimentStatus/index.html +0 -131
- package/coverage/src/list/SentimentStatus/props/index.html +0 -116
- package/coverage/src/list/SentimentStatus/props/propTypes.js.html +0 -103
- package/coverage/src/list/Subject/Subject.js.html +0 -304
- package/coverage/src/list/Subject/Subject.module.css.html +0 -187
- package/coverage/src/list/Subject/index.html +0 -131
- package/coverage/src/list/Subject/props/defaultProps.js.html +0 -109
- package/coverage/src/list/Subject/props/index.html +0 -131
- package/coverage/src/list/Subject/props/propTypes.js.html +0 -148
- package/coverage/src/list/TagNew/TagNew.js.html +0 -181
- package/coverage/src/list/TagNew/TagNew.module.css.html +0 -412
- package/coverage/src/list/TagNew/index.html +0 -131
- package/coverage/src/list/TagNew/props/defaultProps.js.html +0 -97
- package/coverage/src/list/TagNew/props/index.html +0 -131
- package/coverage/src/list/TagNew/props/propTypes.js.html +0 -112
- package/coverage/src/list/Thread/Thread.js.html +0 -199
- package/coverage/src/list/Thread/Thread.module.css.html +0 -175
- package/coverage/src/list/Thread/index.html +0 -131
- package/coverage/src/list/Thread/props/defaultProps.js.html +0 -97
- package/coverage/src/list/Thread/props/index.html +0 -131
- package/coverage/src/list/Thread/props/propTypes.js.html +0 -112
- package/coverage/src/list/status/StatusDropdown/StatusDropdown.js.html +0 -1192
- package/coverage/src/list/status/StatusDropdown/StatusDropdown.module.css.html +0 -292
- package/coverage/src/list/status/StatusDropdown/index.html +0 -131
- package/coverage/src/list/status/StatusDropdown/props/defaultProps.js.html +0 -151
- package/coverage/src/list/status/StatusDropdown/props/index.html +0 -131
- package/coverage/src/list/status/StatusDropdown/props/propTypes.js.html +0 -337
- package/coverage/src/list/status/StatusListItem/StatusListItem.js.html +0 -424
- package/coverage/src/list/status/StatusListItem/StatusListItem.module.css.html +0 -352
- package/coverage/src/list/status/StatusListItem/index.html +0 -131
- package/coverage/src/list/status/StatusListItem/props/defaultProps.js.html +0 -133
- package/coverage/src/list/status/StatusListItem/props/index.html +0 -131
- package/coverage/src/list/status/StatusListItem/props/propTypes.js.html +0 -181
- package/coverage/src/lookup/EmptyPage/EmptyPage.js.html +0 -256
- package/coverage/src/lookup/EmptyPage/LookupEmptyPage.module.css.html +0 -121
- package/coverage/src/lookup/EmptyPage/index.html +0 -131
- package/coverage/src/lookup/EmptyPage/props/defaultProps.js.html +0 -97
- package/coverage/src/lookup/EmptyPage/props/index.html +0 -131
- package/coverage/src/lookup/EmptyPage/props/propTypes.js.html +0 -103
- package/coverage/src/lookup/Lookup/Lookup.js.html +0 -499
- package/coverage/src/lookup/Lookup/Lookup.module.css.html +0 -217
- package/coverage/src/lookup/Lookup/index.html +0 -131
- package/coverage/src/lookup/Lookup/props/defaultProps.js.html +0 -112
- package/coverage/src/lookup/Lookup/props/index.html +0 -131
- package/coverage/src/lookup/Lookup/props/propTypes.js.html +0 -160
- package/coverage/src/lookup/Section/LookupSection.module.css.html +0 -109
- package/coverage/src/lookup/Section/Section.js.html +0 -142
- package/coverage/src/lookup/Section/index.html +0 -131
- package/coverage/src/lookup/Section/props/index.html +0 -116
- package/coverage/src/lookup/Section/props/propTypes.js.html +0 -106
- package/coverage/src/lookup/header/Close/Close.js.html +0 -154
- package/coverage/src/lookup/header/Close/index.html +0 -116
- package/coverage/src/lookup/header/Close/props/defaultProps.js.html +0 -94
- package/coverage/src/lookup/header/Close/props/index.html +0 -131
- package/coverage/src/lookup/header/Close/props/propTypes.js.html +0 -106
- package/coverage/src/lookup/header/ModuleHeader/ModuleHeader.js.html +0 -367
- package/coverage/src/lookup/header/ModuleHeader/index.html +0 -116
- package/coverage/src/lookup/header/ModuleHeader/props/defaultProps.js.html +0 -97
- package/coverage/src/lookup/header/ModuleHeader/props/index.html +0 -131
- package/coverage/src/lookup/header/ModuleHeader/props/propTypes.js.html +0 -148
- package/coverage/src/lookup/header/Search/LookupSearch.module.css.html +0 -244
- package/coverage/src/lookup/header/Search/Search.js.html +0 -718
- package/coverage/src/lookup/header/Search/index.html +0 -131
- package/coverage/src/lookup/header/Search/props/defaultProps.js.html +0 -103
- package/coverage/src/lookup/header/Search/props/index.html +0 -131
- package/coverage/src/lookup/header/Search/props/propTypes.js.html +0 -187
- package/coverage/src/lookup/header/TicketHeader/TicketHeader.js.html +0 -433
- package/coverage/src/lookup/header/TicketHeader/TicketHeader.module.css.html +0 -142
- package/coverage/src/lookup/header/TicketHeader/index.html +0 -131
- package/coverage/src/lookup/header/TicketHeader/props/defaultProps.js.html +0 -100
- package/coverage/src/lookup/header/TicketHeader/props/index.html +0 -131
- package/coverage/src/lookup/header/TicketHeader/props/propTypes.js.html +0 -151
- package/coverage/src/lookup/header/Title/LookupTitle.module.css.html +0 -148
- package/coverage/src/lookup/header/Title/Title.js.html +0 -169
- package/coverage/src/lookup/header/Title/index.html +0 -131
- package/coverage/src/lookup/header/Title/props/defaultProps.js.html +0 -94
- package/coverage/src/lookup/header/Title/props/index.html +0 -131
- package/coverage/src/lookup/header/Title/props/propTypes.js.html +0 -106
- package/coverage/src/lookup/header/ViewDropDown/ViewDropDown.js.html +0 -634
- package/coverage/src/lookup/header/ViewDropDown/ViewDropDown.module.css.html +0 -220
- package/coverage/src/lookup/header/ViewDropDown/index.html +0 -131
- package/coverage/src/lookup/header/ViewDropDown/props/defaultProps.js.html +0 -115
- package/coverage/src/lookup/header/ViewDropDown/props/index.html +0 -131
- package/coverage/src/lookup/header/ViewDropDown/props/propTypes.js.html +0 -169
- package/coverage/src/lookup/header/index.html +0 -131
- package/coverage/src/lookup/header/lookupHeaderCommon.module.css.html +0 -178
- package/coverage/src/lookup/header/lookupHeaderCommonResponsive.module.css.html +0 -130
- package/coverage/src/setup/header/Button/Button.js.html +0 -169
- package/coverage/src/setup/header/Button/HeaderButton.module.css.html +0 -94
- package/coverage/src/setup/header/Button/index.html +0 -131
- package/coverage/src/setup/header/Button/props/defaultProps.js.html +0 -97
- package/coverage/src/setup/header/Button/props/index.html +0 -131
- package/coverage/src/setup/header/Button/props/propTypes.js.html +0 -109
- package/coverage/src/setup/header/Link/HeaderLink.module.css.html +0 -130
- package/coverage/src/setup/header/Link/Link.js.html +0 -193
- package/coverage/src/setup/header/Link/index.html +0 -131
- package/coverage/src/setup/header/Link/props/defaultProps.js.html +0 -97
- package/coverage/src/setup/header/Link/props/index.html +0 -131
- package/coverage/src/setup/header/Link/props/propTypes.js.html +0 -112
- package/coverage/src/setup/header/Search/Search.js.html +0 -280
- package/coverage/src/setup/header/Search/Search.module.css.html +0 -259
- package/coverage/src/setup/header/Search/index.html +0 -131
- package/coverage/src/setup/header/Search/props/defaultProps.js.html +0 -103
- package/coverage/src/setup/header/Search/props/index.html +0 -131
- package/coverage/src/setup/header/Search/props/propTypes.js.html +0 -124
- package/coverage/src/setup/header/Views/Views.js.html +0 -208
- package/coverage/src/setup/header/Views/Views.module.css.html +0 -169
- package/coverage/src/setup/header/Views/index.html +0 -131
- package/coverage/src/setup/header/Views/props/defaultProps.js.html +0 -103
- package/coverage/src/setup/header/Views/props/index.html +0 -131
- package/coverage/src/setup/header/Views/props/propTypes.js.html +0 -115
- package/coverage/src/setup/helptips/Description/Description.js.html +0 -148
- package/coverage/src/setup/helptips/Description/HelpTipsDescription.module.css.html +0 -103
- package/coverage/src/setup/helptips/Description/index.html +0 -131
- package/coverage/src/setup/helptips/Description/props/index.html +0 -116
- package/coverage/src/setup/helptips/Description/props/propTypes.js.html +0 -100
- package/coverage/src/setup/helptips/Link/HelpTipsLink.module.css.html +0 -103
- package/coverage/src/setup/helptips/Link/Link.js.html +0 -172
- package/coverage/src/setup/helptips/Link/index.html +0 -131
- package/coverage/src/setup/helptips/Link/props/index.html +0 -116
- package/coverage/src/setup/helptips/Link/props/propTypes.js.html +0 -109
- package/coverage/src/setup/helptips/ListGroup/ListGroup.js.html +0 -205
- package/coverage/src/setup/helptips/ListGroup/ListGroup.module.css.html +0 -136
- package/coverage/src/setup/helptips/ListGroup/index.html +0 -131
- package/coverage/src/setup/helptips/ListGroup/props/index.html +0 -116
- package/coverage/src/setup/helptips/ListGroup/props/propTypes.js.html +0 -103
- package/coverage/src/setup/helptips/Title/HelpTipsTitle.module.css.html +0 -100
- package/coverage/src/setup/helptips/Title/Title.js.html +0 -148
- package/coverage/src/setup/helptips/Title/index.html +0 -131
- package/coverage/src/setup/helptips/Title/props/index.html +0 -116
- package/coverage/src/setup/helptips/Title/props/propTypes.js.html +0 -100
- package/coverage/src/setup/table/Table/Table.js.html +0 -160
- package/coverage/src/setup/table/Table/index.html +0 -116
- package/coverage/src/setup/table/Table/props/defaultProps.js.html +0 -97
- package/coverage/src/setup/table/Table/props/index.html +0 -131
- package/coverage/src/setup/table/Table/props/propTypes.js.html +0 -106
- package/coverage/src/setup/table/TableBody/TableBody.js.html +0 -160
- package/coverage/src/setup/table/TableBody/index.html +0 -116
- package/coverage/src/setup/table/TableBody/props/defaultProps.js.html +0 -94
- package/coverage/src/setup/table/TableBody/props/index.html +0 -131
- package/coverage/src/setup/table/TableBody/props/propTypes.js.html +0 -109
- package/coverage/src/setup/table/TableData/SetupTableData.module.css.html +0 -193
- package/coverage/src/setup/table/TableData/TableData.js.html +0 -199
- package/coverage/src/setup/table/TableData/index.html +0 -131
- package/coverage/src/setup/table/TableData/props/defaultProps.js.html +0 -100
- package/coverage/src/setup/table/TableData/props/index.html +0 -131
- package/coverage/src/setup/table/TableData/props/propTypes.js.html +0 -121
- package/coverage/src/setup/table/TableHead/SetupTableHead.module.css.html +0 -109
- package/coverage/src/setup/table/TableHead/TableHead.js.html +0 -193
- package/coverage/src/setup/table/TableHead/index.html +0 -131
- package/coverage/src/setup/table/TableHead/props/defaultProps.js.html +0 -97
- package/coverage/src/setup/table/TableHead/props/index.html +0 -131
- package/coverage/src/setup/table/TableHead/props/propTypes.js.html +0 -112
- package/coverage/src/setup/table/TableRow/SetupTableRow.module.css.html +0 -115
- package/coverage/src/setup/table/TableRow/TableRow.js.html +0 -205
- package/coverage/src/setup/table/TableRow/index.html +0 -131
- package/coverage/src/setup/table/TableRow/props/defaultProps.js.html +0 -97
- package/coverage/src/setup/table/TableRow/props/index.html +0 -131
- package/coverage/src/setup/table/TableRow/props/propTypes.js.html +0 -121
- package/coverage/src/setup/table/Text/TableText.module.css.html +0 -196
- package/coverage/src/setup/table/Text/Text.js.html +0 -214
- package/coverage/src/setup/table/Text/index.html +0 -131
- package/coverage/src/setup/table/Text/props/defaultProps.js.html +0 -106
- package/coverage/src/setup/table/Text/props/index.html +0 -131
- package/coverage/src/setup/table/Text/props/propTypes.js.html +0 -127
- package/coverage/src/svg/PlusIcon.js.html +0 -175
- package/coverage/src/svg/SnippetIcon.js.html +0 -196
- package/coverage/src/svg/TemplateIcon.js.html +0 -160
- package/coverage/src/svg/index.html +0 -146
- package/coverage/src/svg/props/defaultProps.js.html +0 -136
- package/coverage/src/svg/props/index.html +0 -131
- package/coverage/src/svg/props/propTypes.js.html +0 -142
- package/coverage/src/utils/ChannelIconMapping.js.html +0 -475
- package/coverage/src/utils/General.js.html +0 -208
- package/coverage/src/utils/editorUtils.js.html +0 -649
- package/coverage/src/utils/index.html +0 -146
- package/coverage/src/version2/AlertClose/AlertClose.js.html +0 -202
- package/coverage/src/version2/AlertClose/AlertClose.module.css.html +0 -211
- package/coverage/src/version2/AlertClose/index.html +0 -131
- package/coverage/src/version2/AlertClose/props/index.html +0 -116
- package/coverage/src/version2/AlertClose/props/propTypes.js.html +0 -112
- package/coverage/src/version2/GlobalNotification/GlobalNotification.js.html +0 -463
- package/coverage/src/version2/GlobalNotification/GlobalNotification.module.css.html +0 -466
- package/coverage/src/version2/GlobalNotification/index.html +0 -131
- package/coverage/src/version2/GlobalNotification/props/defaultProps.js.html +0 -103
- package/coverage/src/version2/GlobalNotification/props/index.html +0 -131
- package/coverage/src/version2/GlobalNotification/props/propTypes.js.html +0 -214
- package/coverage/src/version2/alertIcons/AlarmAlertIcon.js.html +0 -166
- package/coverage/src/version2/alertIcons/AlertIcons.js.html +0 -253
- package/coverage/src/version2/alertIcons/AlertIcons.module.css.html +0 -286
- package/coverage/src/version2/alertIcons/DangerAlertIcon.js.html +0 -166
- package/coverage/src/version2/alertIcons/ErrorAlertIcon.js.html +0 -169
- package/coverage/src/version2/alertIcons/InfoAlertIcon.js.html +0 -172
- package/coverage/src/version2/alertIcons/NotificationAlertIcon.js.html +0 -166
- package/coverage/src/version2/alertIcons/SuccessAlertIcon.js.html +0 -166
- package/coverage/src/version2/alertIcons/WarningAlertIcon.js.html +0 -163
- package/coverage/src/version2/alertIcons/index.html +0 -236
- package/coverage/src/version2/alertIcons/props/defaultProps.js.html +0 -187
- package/coverage/src/version2/alertIcons/props/index.html +0 -131
- package/coverage/src/version2/alertIcons/props/propTypes.js.html +0 -211
- package/coverage/src/version2/errorstate/Inconvenience/Inconvenience.js.html +0 -319
- package/coverage/src/version2/errorstate/Inconvenience/index.html +0 -116
- package/coverage/src/version2/errorstate/Inconvenience/props/defaultProps.js.html +0 -109
- package/coverage/src/version2/errorstate/Inconvenience/props/index.html +0 -131
- package/coverage/src/version2/errorstate/Inconvenience/props/propTypes.js.html +0 -136
- package/coverage/src/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js.html +0 -319
- package/coverage/src/version2/errorstate/OopsSomethingMiss/index.html +0 -116
- package/coverage/src/version2/errorstate/OopsSomethingMiss/props/defaultProps.js.html +0 -109
- package/coverage/src/version2/errorstate/OopsSomethingMiss/props/index.html +0 -131
- package/coverage/src/version2/errorstate/OopsSomethingMiss/props/propTypes.js.html +0 -136
- package/coverage/src/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js.html +0 -319
- package/coverage/src/version2/errorstate/UnableToProcessRequest/index.html +0 -116
- package/coverage/src/version2/errorstate/UnableToProcessRequest/props/defaultProps.js.html +0 -109
- package/coverage/src/version2/errorstate/UnableToProcessRequest/props/index.html +0 -131
- package/coverage/src/version2/errorstate/UnableToProcessRequest/props/propTypes.js.html +0 -136
- package/coverage/src/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js.html +0 -319
- package/coverage/src/version2/errorstate/UnauthorizedLogin/index.html +0 -116
- package/coverage/src/version2/errorstate/UnauthorizedLogin/props/defaultProps.js.html +0 -112
- package/coverage/src/version2/errorstate/UnauthorizedLogin/props/index.html +0 -131
- package/coverage/src/version2/errorstate/UnauthorizedLogin/props/propTypes.js.html +0 -139
- package/coverage/src/version2/errorstate/UrlNotFound/UrlNotFound.js.html +0 -319
- package/coverage/src/version2/errorstate/UrlNotFound/index.html +0 -116
- package/coverage/src/version2/errorstate/UrlNotFound/props/defaultProps.js.html +0 -109
- package/coverage/src/version2/errorstate/UrlNotFound/props/index.html +0 -131
- package/coverage/src/version2/errorstate/UrlNotFound/props/propTypes.js.html +0 -136
- package/coverage/src/version2/errorstate/V2_ErrorStates.module.css.html +0 -223
- package/coverage/src/version2/errorstate/WillBeRightBack/WillBeRightBack.js.html +0 -319
- package/coverage/src/version2/errorstate/WillBeRightBack/index.html +0 -116
- package/coverage/src/version2/errorstate/WillBeRightBack/props/defaultProps.js.html +0 -109
- package/coverage/src/version2/errorstate/WillBeRightBack/props/index.html +0 -131
- package/coverage/src/version2/errorstate/WillBeRightBack/props/propTypes.js.html +0 -136
- package/coverage/src/version2/errorstate/index.html +0 -116
- package/coverage/src/version2/lookup/AlertHeader/AlertHeader.js.html +0 -316
- package/coverage/src/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css.html +0 -277
- package/coverage/src/version2/lookup/AlertHeader/css/cssJSLogic.js.html +0 -130
- package/coverage/src/version2/lookup/AlertHeader/css/index.html +0 -131
- package/coverage/src/version2/lookup/AlertHeader/index.html +0 -116
- package/coverage/src/version2/lookup/AlertHeader/props/defaultProps.js.html +0 -106
- package/coverage/src/version2/lookup/AlertHeader/props/index.html +0 -131
- package/coverage/src/version2/lookup/AlertHeader/props/propTypes.js.html +0 -166
- package/coverage/src/version2/lookup/AlertLookup/AlertLookup.js.html +0 -778
- package/coverage/src/version2/lookup/AlertLookup/AlertLookupNew.module.css.html +0 -202
- package/coverage/src/version2/lookup/AlertLookup/index.html +0 -131
- package/coverage/src/version2/lookup/AlertLookup/props/defaultProps.js.html +0 -124
- package/coverage/src/version2/lookup/AlertLookup/props/index.html +0 -131
- package/coverage/src/version2/lookup/AlertLookup/props/propTypes.js.html +0 -214
- package/coverage/src/version2/notification/DesktopNotification/DesktopNotification.js.html +0 -703
- package/coverage/src/version2/notification/DesktopNotification/DesktopNotification.module.css.html +0 -424
- package/coverage/src/version2/notification/DesktopNotification/index.html +0 -131
- package/coverage/src/version2/notification/DesktopNotification/props/defaultProps.js.html +0 -139
- package/coverage/src/version2/notification/DesktopNotification/props/index.html +0 -131
- package/coverage/src/version2/notification/DesktopNotification/props/propTypes.js.html +0 -217
- package/coverage/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js.html +0 -361
- package/coverage/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css.html +0 -370
- package/coverage/src/version2/notification/DesktopNotificationHeader/index.html +0 -131
- package/coverage/src/version2/notification/DesktopNotificationHeader/props/defaultProps.js.html +0 -109
- package/coverage/src/version2/notification/DesktopNotificationHeader/props/index.html +0 -131
- package/coverage/src/version2/notification/DesktopNotificationHeader/props/propTypes.js.html +0 -124
- /package/images/{audio_thumbnail.png → audio_thumbnail_old.png} +0 -0
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ In this Library, we Provide Some Basic Components to Build Your Application
|
|
|
4
4
|
|
|
5
5
|
# 1.7.2
|
|
6
6
|
|
|
7
|
-
- **Search** - renderChildren, isActive, hasSeparator & customStyle props supported & Some customization also opened for this compoenent.
|
|
7
|
+
- **Lookup - Search** - renderChildren, isActive, hasSeparator & customStyle props supported & Some customization also opened for this compoenent.
|
|
8
8
|
|
|
9
9
|
# 1.7.1
|
|
10
10
|
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
height: 100% ;
|
|
15
15
|
width: 100% ;
|
|
16
16
|
position: absolute;
|
|
17
|
-
top:0
|
|
17
|
+
top: 0
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
[dir=ltr] .disableLayer {
|
|
21
|
-
left:0
|
|
21
|
+
left: 0
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
[dir=rtl] .disableLayer {
|
|
25
|
-
right:0
|
|
25
|
+
right: 0
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.attachmentHover {
|
|
@@ -66,6 +66,10 @@
|
|
|
66
66
|
height: var(--zd_size40) ;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
+
.attachleft {
|
|
70
|
+
padding: var(--zd_size3) ;
|
|
71
|
+
}
|
|
72
|
+
|
|
69
73
|
[dir=ltr] .attachleft {
|
|
70
74
|
border-right: 1px solid var(--zdt_attachment_default_border);
|
|
71
75
|
}
|
|
@@ -2,7 +2,55 @@ const UNASSIGNED = 'Unassigned';
|
|
|
2
2
|
const BROWSER_SUPPORTED_FILES = ['pdf', 'text', 'txt', 'css', 'jpg', 'jpeg', 'gif', 'png', 'bmp', 'ico', 'sh', 'mp3', 'wav', 'ogg'];
|
|
3
3
|
export function isAudioFile(fileName) {
|
|
4
4
|
const extension = getExtensionFromFileName(fileName);
|
|
5
|
-
return /mp3|wav|ogg/i.test(extension);
|
|
5
|
+
return /mp3|wav|ogg|oga|m4a|weba|opus|m4b|webma|aac/i.test(extension);
|
|
6
|
+
}
|
|
7
|
+
export function isVideoFile(fileName) {
|
|
8
|
+
const extension = getExtensionFromFileName(fileName);
|
|
9
|
+
return /mp4|webm|ogg/i.test(extension);
|
|
10
|
+
}
|
|
11
|
+
export function isPdfFile(fileName) {
|
|
12
|
+
const extension = getExtensionFromFileName(fileName);
|
|
13
|
+
return /pdf/i.test(extension);
|
|
14
|
+
}
|
|
15
|
+
export function isDocsFile(fileName) {
|
|
16
|
+
const extension = getExtensionFromFileName(fileName);
|
|
17
|
+
return /docx|doc|docm|rtf|odt|dot|dotm|dotx|pages/i.test(extension);
|
|
18
|
+
}
|
|
19
|
+
export function isSheetFile(fileName) {
|
|
20
|
+
const extension = getExtensionFromFileName(fileName);
|
|
21
|
+
return /xlsx|numbers/i.test(extension);
|
|
22
|
+
}
|
|
23
|
+
export function isShowFile(fileName) {
|
|
24
|
+
const extension = getExtensionFromFileName(fileName);
|
|
25
|
+
return /pptx|ppt|pps|ppsx|key/i.test(extension);
|
|
26
|
+
}
|
|
27
|
+
export function isEmailFile(fileName) {
|
|
28
|
+
const extension = getExtensionFromFileName(fileName);
|
|
29
|
+
return /eml|msg/i.test(extension);
|
|
30
|
+
}
|
|
31
|
+
export function isImageFile(fileName) {
|
|
32
|
+
const extension = getExtensionFromFileName(fileName);
|
|
33
|
+
return /jpeg|jpg|png|gif|bmp|tiff|tif|ico/i.test(extension);
|
|
34
|
+
}
|
|
35
|
+
export function docsFileTypes(fileName) {
|
|
36
|
+
const extension = getExtensionFromFileName(fileName);
|
|
37
|
+
return /docx|doc|docm|rtf|odt|dot|dotm|dotx|sxw|odt|ott|txt|pages/i.test(extension);
|
|
38
|
+
}
|
|
39
|
+
export function sheetFileTypes(fileName) {
|
|
40
|
+
const extension = getExtensionFromFileName(fileName);
|
|
41
|
+
return /xls|xlsx|sxc|ods|csv|tsv|ots|xlsm|xlsb|xlt|xltx|xltm|numbers/i.test(extension);
|
|
42
|
+
}
|
|
43
|
+
export function showFileTypes(fileName) {
|
|
44
|
+
const extension = getExtensionFromFileName(fileName);
|
|
45
|
+
return /pptx|ppt|pps|ppsx|odp|sxi|key|pot|potx/i.test(extension);
|
|
46
|
+
}
|
|
47
|
+
export function designFileTypes(fileName) {
|
|
48
|
+
const extension = getExtensionFromFileName(fileName);
|
|
49
|
+
return /sketch|xd|psd|ai|fig|svg/i.test(extension);
|
|
50
|
+
}
|
|
51
|
+
export function zipFileType(fileName) {
|
|
52
|
+
const extension = getExtensionFromFileName(fileName);
|
|
53
|
+
return /zip/i.test(extension);
|
|
6
54
|
}
|
|
7
55
|
export function getExtensionFromFileName(fileName) {
|
|
8
56
|
if (fileName && fileName.indexOf(".") !== -1) {
|
|
@@ -14,4 +62,15 @@ export function getExtensionFromFileName(fileName) {
|
|
|
14
62
|
export function isBrowserSupportedFile(fileName) {
|
|
15
63
|
const extension = getExtensionFromFileName(fileName);
|
|
16
64
|
return BROWSER_SUPPORTED_FILES.indexOf(extension) !== -1;
|
|
65
|
+
}
|
|
66
|
+
export function openInNewTabWithNoopener(url) {
|
|
67
|
+
let targetnName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '_blank';
|
|
68
|
+
const aTag = document.createElement('a');
|
|
69
|
+
aTag.rel = 'noopener noreferrer';
|
|
70
|
+
aTag.target = targetnName;
|
|
71
|
+
aTag.href = url;
|
|
72
|
+
aTag.click();
|
|
73
|
+
}
|
|
74
|
+
export function openNewTab(href) {
|
|
75
|
+
openInNewTabWithNoopener(href);
|
|
17
76
|
}
|
|
@@ -10,7 +10,7 @@ import AttachmentImage from "./AttachmentImage";
|
|
|
10
10
|
import Link from "../Link/Link";
|
|
11
11
|
import IconButton from "../IconButton/IconButton";
|
|
12
12
|
import FreezeLayer from "../FreezeLayer/FreezeLayer";
|
|
13
|
-
import { isAudioFile, getExtensionFromFileName } from "./Attachment";
|
|
13
|
+
import { isAudioFile, getExtensionFromFileName, isVideoFile, isPdfFile, isDocsFile, isSheetFile, isShowFile, isEmailFile, isImageFile, openNewTab, sheetFileTypes, docsFileTypes, showFileTypes, designFileTypes, zipFileType } from "./Attachment";
|
|
14
14
|
import { shallowDiff } from "../utils/General";
|
|
15
15
|
import style from "./AttachmentViewer.module.css";
|
|
16
16
|
import { checkFileSourcesValidation } from "./utils";
|
|
@@ -310,6 +310,62 @@ export default class AttachmentViewer extends Component {
|
|
|
310
310
|
customChildrenClass = ''
|
|
311
311
|
} = customClass;
|
|
312
312
|
const retainZoom = canZoom && selectedIndex == i && maintainZoom;
|
|
313
|
+
const {
|
|
314
|
+
previewurl
|
|
315
|
+
} = data;
|
|
316
|
+
const fileTypeIconList = [{
|
|
317
|
+
check: isAudioFile(data.name),
|
|
318
|
+
name: 'ZD-EF-fileMp3',
|
|
319
|
+
size: '50'
|
|
320
|
+
}, {
|
|
321
|
+
check: isVideoFile(data.name),
|
|
322
|
+
name: 'ZD-EF-fileMp4',
|
|
323
|
+
size: '50'
|
|
324
|
+
}, {
|
|
325
|
+
check: isPdfFile(data.name),
|
|
326
|
+
name: 'ZD-EF-filePdf',
|
|
327
|
+
size: '50'
|
|
328
|
+
}, {
|
|
329
|
+
check: docsFileTypes(data.name),
|
|
330
|
+
name: 'ZD-EF-fileWord',
|
|
331
|
+
size: '50'
|
|
332
|
+
}, {
|
|
333
|
+
check: sheetFileTypes(data.name),
|
|
334
|
+
name: 'ZD-EF-fileExcel',
|
|
335
|
+
size: '50'
|
|
336
|
+
}, {
|
|
337
|
+
check: showFileTypes(data.name),
|
|
338
|
+
name: 'ZD-SE-ppt',
|
|
339
|
+
size: '50'
|
|
340
|
+
}, {
|
|
341
|
+
check: designFileTypes(data.name),
|
|
342
|
+
name: 'ZD-EF-file',
|
|
343
|
+
size: '50'
|
|
344
|
+
}, {
|
|
345
|
+
check: isEmailFile(data.name),
|
|
346
|
+
name: 'ZD-CH-mail',
|
|
347
|
+
size: '50'
|
|
348
|
+
}, {
|
|
349
|
+
check: zipFileType(data.name),
|
|
350
|
+
name: 'ZD-EF-fileZip',
|
|
351
|
+
size: '50'
|
|
352
|
+
}];
|
|
353
|
+
|
|
354
|
+
const PreviewFileIcon = _ref3 => {
|
|
355
|
+
let {
|
|
356
|
+
data
|
|
357
|
+
} = _ref3;
|
|
358
|
+
const matchedIcon = fileTypeIconList.find(item => item.check);
|
|
359
|
+
const iconName = matchedIcon ? matchedIcon.name : 'ZD-EF-file';
|
|
360
|
+
const iconSize = matchedIcon ? matchedIcon.size : '50';
|
|
361
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
362
|
+
iconClass: style.prevIcon,
|
|
363
|
+
name: iconName,
|
|
364
|
+
size: iconSize
|
|
365
|
+
});
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
console.log("...previewUrl", previewurl, "...data", data);
|
|
313
369
|
return /*#__PURE__*/React.createElement(Container, {
|
|
314
370
|
className: style.imgBox,
|
|
315
371
|
id: `imgBox${i}`,
|
|
@@ -328,12 +384,27 @@ export default class AttachmentViewer extends Component {
|
|
|
328
384
|
"data-test-id": `${dataId}_videoPreview`,
|
|
329
385
|
...audioProps
|
|
330
386
|
}, /*#__PURE__*/React.createElement("source", {
|
|
331
|
-
src:
|
|
387
|
+
src: previewurl,
|
|
332
388
|
type: `audio/${getExtensionFromFileName(name)}`
|
|
333
|
-
})) : null : /*#__PURE__*/React.createElement(
|
|
389
|
+
})) : null : isVideoFile(data.name) ? selectedIndex == i ? /*#__PURE__*/React.createElement("video", {
|
|
390
|
+
autoPlay: true,
|
|
391
|
+
controls: true,
|
|
392
|
+
className: style.zoomIn
|
|
393
|
+
}, /*#__PURE__*/React.createElement("source", {
|
|
394
|
+
src: previewurl,
|
|
395
|
+
type: `video/${getExtensionFromFileName(data.name)}`
|
|
396
|
+
})) : null : isDocsFile(data.name) || isSheetFile(data.name) || isShowFile(data.name) ? selectedIndex == i ? (console.log("...previewurl", previewurl), /*#__PURE__*/React.createElement("iframe", {
|
|
397
|
+
src: previewurl,
|
|
398
|
+
className: style.pdfFrame
|
|
399
|
+
}) // <iframe src={previewurl+"&frameorigin=https://deskqa.localzoho.com"} className={style.pdfFrame}></iframe>
|
|
400
|
+
) : null : isPdfFile(data.name) || isEmailFile(data.name) ? selectedIndex == i ? /*#__PURE__*/React.createElement("iframe", {
|
|
401
|
+
src: previewurl,
|
|
402
|
+
className: style.pdfFrame
|
|
403
|
+
}) // <iframe src={previewurl+"&frameorigin=https://deskqa.localzoho.com"} className={style.pdfFrame}/>
|
|
404
|
+
: null : isImageFile(data.name) ? /*#__PURE__*/React.createElement(AttachmentImage, {
|
|
334
405
|
customClass: {
|
|
335
406
|
customImageClass: `${style.img} ${style.altText}
|
|
336
|
-
|
|
407
|
+
${canZoom || retainZoom ? isZoomed ? `${style.zoomedImg} ${style.zoomOutCursor}` : `${style.normalImg} ${style.zoomInCursor}` : ''} ${customImageClass}`,
|
|
337
408
|
customChildrenClass
|
|
338
409
|
},
|
|
339
410
|
src: viewUrl,
|
|
@@ -345,7 +416,17 @@ export default class AttachmentViewer extends Component {
|
|
|
345
416
|
id: `img${i}`,
|
|
346
417
|
isCover: false,
|
|
347
418
|
...imageProps
|
|
348
|
-
}, children)
|
|
419
|
+
}, children) : /*#__PURE__*/React.createElement("div", {
|
|
420
|
+
className: style.previewNone
|
|
421
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
422
|
+
className: style.fileTypeImg
|
|
423
|
+
}, /*#__PURE__*/React.createElement(PreviewFileIcon, {
|
|
424
|
+
data: data.name
|
|
425
|
+
})), "Preview not available for the selected file type.", /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(Link, {
|
|
426
|
+
href: data.href,
|
|
427
|
+
className: style.downloadLink,
|
|
428
|
+
onClick: () => openNewTab(data.href)
|
|
429
|
+
}, "Download"))));
|
|
349
430
|
});
|
|
350
431
|
}
|
|
351
432
|
|
|
@@ -388,10 +469,10 @@ export default class AttachmentViewer extends Component {
|
|
|
388
469
|
}, /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
389
470
|
responsiveId: responsiveId,
|
|
390
471
|
query: this.responsiveFunc
|
|
391
|
-
},
|
|
472
|
+
}, _ref4 => {
|
|
392
473
|
let {
|
|
393
474
|
uptoTablet
|
|
394
|
-
} =
|
|
475
|
+
} = _ref4;
|
|
395
476
|
return /*#__PURE__*/React.createElement(Container, {
|
|
396
477
|
scroll: "none",
|
|
397
478
|
"data-scroll-palette": "dark"
|
|
@@ -580,17 +661,68 @@ export default class AttachmentViewer extends Component {
|
|
|
580
661
|
const {
|
|
581
662
|
customImageClass = '',
|
|
582
663
|
customChildrenClass = ''
|
|
583
|
-
} = customClass;
|
|
584
|
-
|
|
664
|
+
} = customClass; // thumbnail= isAudioFile(name) ? thumbnail || audioThumbNail : thumbnail //fallback thumbnail for audio
|
|
665
|
+
|
|
666
|
+
const fileTypeIconList = [{
|
|
667
|
+
check: isAudioFile(name),
|
|
668
|
+
name: thumbnail || 'ZD-EF-fileMp3',
|
|
669
|
+
size: '30'
|
|
670
|
+
}, {
|
|
671
|
+
check: isVideoFile(name),
|
|
672
|
+
name: 'ZD-EF-fileMp4',
|
|
673
|
+
size: '30'
|
|
674
|
+
}, {
|
|
675
|
+
check: isPdfFile(name),
|
|
676
|
+
name: 'ZD-EF-filePdf',
|
|
677
|
+
size: '30'
|
|
678
|
+
}, {
|
|
679
|
+
check: docsFileTypes(name),
|
|
680
|
+
name: 'ZD-EF-fileWord',
|
|
681
|
+
size: '30'
|
|
682
|
+
}, {
|
|
683
|
+
check: sheetFileTypes(name),
|
|
684
|
+
name: 'ZD-EF-fileExcel',
|
|
685
|
+
size: '30'
|
|
686
|
+
}, {
|
|
687
|
+
check: showFileTypes(name),
|
|
688
|
+
name: 'ZD-SE-ppt',
|
|
689
|
+
size: '30'
|
|
690
|
+
}, {
|
|
691
|
+
check: designFileTypes(name),
|
|
692
|
+
name: 'ZD-EF-file',
|
|
693
|
+
size: '30'
|
|
694
|
+
}, {
|
|
695
|
+
check: isEmailFile(name),
|
|
696
|
+
name: 'ZD-CH-mail',
|
|
697
|
+
size: '30'
|
|
698
|
+
}, {
|
|
699
|
+
check: zipFileType(name),
|
|
700
|
+
name: 'ZD-EF-fileZip',
|
|
701
|
+
size: '30'
|
|
702
|
+
}];
|
|
703
|
+
|
|
704
|
+
const PreviewFileIcon = _ref5 => {
|
|
705
|
+
let {
|
|
706
|
+
data
|
|
707
|
+
} = _ref5;
|
|
708
|
+
const matchedIcon = fileTypeIconList.find(item => item.check);
|
|
709
|
+
const iconName = matchedIcon ? matchedIcon.name : 'ZD-EF-file';
|
|
710
|
+
const iconSize = matchedIcon ? matchedIcon.size : '30';
|
|
711
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
712
|
+
iconClass: style.prevFooterIcon,
|
|
713
|
+
name: iconName,
|
|
714
|
+
size: iconSize
|
|
715
|
+
});
|
|
716
|
+
};
|
|
585
717
|
|
|
586
718
|
return /*#__PURE__*/React.createElement(Box, {
|
|
587
|
-
className: `${style.imgItem} ${index === selectedIndex ? style.selected : ''}`,
|
|
719
|
+
className: `${style.imgItem} ${index === selectedIndex ? style.selected : ''} ${isImageFile(name) || thumbnail ? '' : style.previewIconDiv}`,
|
|
588
720
|
key: index,
|
|
589
721
|
onClick: this.changeSelectedIndex.bind(this, index),
|
|
590
722
|
eleRef: el => this[`img_${index}`] = el,
|
|
591
723
|
dataId: "attachPreviewList",
|
|
592
724
|
"data-title": name
|
|
593
|
-
}, /*#__PURE__*/React.createElement(AttachmentImage, {
|
|
725
|
+
}, isImageFile(name) || thumbnail ? /*#__PURE__*/React.createElement(AttachmentImage, {
|
|
594
726
|
src: thumbnail || viewUrl,
|
|
595
727
|
size: "small",
|
|
596
728
|
alt: name,
|
|
@@ -600,7 +732,9 @@ export default class AttachmentViewer extends Component {
|
|
|
600
732
|
},
|
|
601
733
|
dataId: dataId,
|
|
602
734
|
...customProps
|
|
603
|
-
}, children)
|
|
735
|
+
}, children) : /*#__PURE__*/React.createElement(PreviewFileIcon, {
|
|
736
|
+
data: name
|
|
737
|
+
}));
|
|
604
738
|
}))))), totalLen !== 1 && /*#__PURE__*/React.createElement(IconButton, {
|
|
605
739
|
dataId: "attachToggle",
|
|
606
740
|
onClick: this.togglePViewList,
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
font-size: var(--zd_font_size22) ;
|
|
80
80
|
height: var(--zd_size38) ;
|
|
81
81
|
width: var(--zd_size38) ;
|
|
82
|
-
line-height:
|
|
82
|
+
line-height: 36px;
|
|
83
83
|
border-radius: 50%;
|
|
84
84
|
cursor: pointer;
|
|
85
85
|
}
|
|
@@ -154,6 +154,7 @@
|
|
|
154
154
|
.imgItem {
|
|
155
155
|
height: var(--zd_size60) ;
|
|
156
156
|
min-width: var(--zd_size40) ;
|
|
157
|
+
/* css:theme-validation:ignore */
|
|
157
158
|
position: relative;
|
|
158
159
|
transition: border var(--zd_transition3);
|
|
159
160
|
border-width: 2px;
|
|
@@ -168,6 +169,10 @@
|
|
|
168
169
|
border-color: var(--zdt_attachmentviewer_hover_border);
|
|
169
170
|
}
|
|
170
171
|
|
|
172
|
+
.imgItem+.imgItem {
|
|
173
|
+
/* margin-left: 6px; */
|
|
174
|
+
}
|
|
175
|
+
|
|
171
176
|
[dir=ltr] .imgItem+.imgItem {
|
|
172
177
|
margin-left: var(--zd_size12) ;
|
|
173
178
|
}
|
|
@@ -230,16 +235,71 @@
|
|
|
230
235
|
transform: rotateX(0deg);
|
|
231
236
|
}
|
|
232
237
|
|
|
238
|
+
.isAudio,
|
|
239
|
+
.isVideo,
|
|
240
|
+
.isPdf,
|
|
241
|
+
.isMail,
|
|
242
|
+
.isWriter,
|
|
243
|
+
.isSheet,
|
|
244
|
+
.isShow,
|
|
245
|
+
.otherFile {
|
|
246
|
+
width: var(--zd_size60) ;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.isAudio, .isVideo, .isPdf, .isMail, .isWriter, .isSheet, .isShow, .otherFile {
|
|
250
|
+
background-size: 100% 100%;
|
|
251
|
+
}
|
|
252
|
+
|
|
233
253
|
.isAudio {
|
|
234
254
|
composes: audioImage from '../common/dot_common.module.css';
|
|
235
|
-
width: var(--zd_size100) ;
|
|
236
|
-
background-size: 100% 100%;
|
|
237
255
|
}
|
|
238
256
|
|
|
239
|
-
.
|
|
257
|
+
.isVideo {
|
|
258
|
+
composes: videoImage from '../common/dot_common.module.css';
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.isPdf {
|
|
262
|
+
composes: pdfImage from '../common/dot_common.module.css';
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.isWriter {
|
|
266
|
+
composes: writerImage from '../common/dot_common.module.css';
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.isSheet {
|
|
270
|
+
composes: sheetImage from '../common/dot_common.module.css';
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.isShow {
|
|
274
|
+
composes: showImage from '../common/dot_common.module.css';
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
.isMail {
|
|
279
|
+
composes: mailImage from '../common/dot_common.module.css';
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.otherFile {
|
|
283
|
+
composes: otherImage from '../common/dot_common.module.css';
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.isAudio .image,
|
|
287
|
+
.isVideo .image,
|
|
288
|
+
.isPdf .image,
|
|
289
|
+
.isWriter .image,
|
|
290
|
+
.isSheet .image,
|
|
291
|
+
.isShow .image,
|
|
292
|
+
.isMail .image,
|
|
293
|
+
.otherFile .image {
|
|
240
294
|
opacity: 0;
|
|
241
295
|
}
|
|
242
296
|
|
|
297
|
+
.pdfFrame {
|
|
298
|
+
height: 100% ;
|
|
299
|
+
width: 100% ;
|
|
300
|
+
border: 0;
|
|
301
|
+
}
|
|
302
|
+
|
|
243
303
|
.video {
|
|
244
304
|
position: absolute;
|
|
245
305
|
top: 0 ;
|
|
@@ -357,9 +417,69 @@
|
|
|
357
417
|
}
|
|
358
418
|
|
|
359
419
|
.btn {
|
|
420
|
+
/* css:theme-validation:ignore */
|
|
360
421
|
height: 100% ;
|
|
361
422
|
width: 100% ;
|
|
362
423
|
background-color: var(--dot_mirror);
|
|
363
424
|
border: 0;
|
|
364
425
|
cursor: pointer;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.fileTypeImg {
|
|
429
|
+
margin: 0 auto var(--zd_size20) ;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.previewNone {
|
|
433
|
+
/* css:theme-validation:ignore */
|
|
434
|
+
color: #fff;
|
|
435
|
+
text-align: center;
|
|
436
|
+
margin: auto ;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.downloadLink {
|
|
440
|
+
/* css:theme-validation:ignore */
|
|
441
|
+
color: #0a73eb;
|
|
442
|
+
display: inline-block;
|
|
443
|
+
padding-top: var(--zd_size10) ;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.previewIconDiv {
|
|
447
|
+
width: var(--zd_size60) ;
|
|
448
|
+
composes: dflex from '~@zohodesk/components/lib/common/common.module.css';
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.prevFooterIcon,
|
|
452
|
+
.prevIcon {
|
|
453
|
+
/* css:theme-validation:ignore */
|
|
454
|
+
color: #fff;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.prevFooterIcon, .prevIcon {
|
|
458
|
+
padding: var(--zd_size2) ;
|
|
459
|
+
margin: auto ;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.prevFooterIcon::before,
|
|
463
|
+
.prevIcon::before {
|
|
464
|
+
/* css:theme-validation:ignore */
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.prevFooterIcon::before, .prevIcon::before {
|
|
468
|
+
background-color: transparent;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
[dir=ltr] .prevIcon::before {
|
|
472
|
+
border-radius: 10px 30px 10px 10px;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
[dir=rtl] .prevIcon::before {
|
|
476
|
+
border-radius: 30px 10px 10px 10px;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
[dir=ltr] .prevFooterIcon::before {
|
|
480
|
+
border-radius: 5px 17px 5px 5px
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
[dir=rtl] .prevFooterIcon::before {
|
|
484
|
+
border-radius: 17px 5px 5px 5px
|
|
365
485
|
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { render, waitFor } from '@testing-library/react';
|
|
3
|
+
import DotProvider from "../DotProvider"; // snapshot test cases
|
|
4
|
+
|
|
5
|
+
describe('DotProvider Snapshot', () => {
|
|
6
|
+
const THEME_APPEARANCE = ['light', 'dark', 'pureDark'];
|
|
7
|
+
const THEME_COLOR = ['blue', 'green', 'orange', 'red', 'yellow'];
|
|
8
|
+
const BASE_ZOOM_UNIT = ['0.5', '0.8', '1', '1.2'];
|
|
9
|
+
const BASE_FONT_UNIT = ['1px', '1rem', '1em', '1'];
|
|
10
|
+
test('rendering the default props', async () => {
|
|
11
|
+
const {
|
|
12
|
+
asFragment
|
|
13
|
+
} = render( /*#__PURE__*/React.createElement(DotProvider, null, "This is a DotProvider component")); // wait for the data attributes and styles to be applied
|
|
14
|
+
|
|
15
|
+
await waitFor(() => {}); // take the snapshot after the attributes and styles are applied
|
|
16
|
+
|
|
17
|
+
expect(asFragment()).toMatchSnapshot();
|
|
18
|
+
});
|
|
19
|
+
test('rendering the default attributes, styles and modified the tag props', async () => {
|
|
20
|
+
const {
|
|
21
|
+
asFragment
|
|
22
|
+
} = render( /*#__PURE__*/React.createElement(DotProvider, {
|
|
23
|
+
tag: "span"
|
|
24
|
+
}, "This is a DotProvider component"));
|
|
25
|
+
await waitFor(() => {});
|
|
26
|
+
expect(asFragment()).toMatchSnapshot();
|
|
27
|
+
});
|
|
28
|
+
test('rendering the default attributes, styles and modifying the tag prop to React.Fragment', async () => {
|
|
29
|
+
render( /*#__PURE__*/React.createElement(DotProvider, {
|
|
30
|
+
tag: React.Fragment
|
|
31
|
+
}, "This is a DotProvider component"));
|
|
32
|
+
await waitFor(() => {});
|
|
33
|
+
expect(document.documentElement).toMatchSnapshot();
|
|
34
|
+
});
|
|
35
|
+
test('rendering the providerRef props', async () => {
|
|
36
|
+
const mockProviderRef = jest.fn();
|
|
37
|
+
const {
|
|
38
|
+
asFragment
|
|
39
|
+
} = render( /*#__PURE__*/React.createElement(DotProvider, {
|
|
40
|
+
providerRef: mockProviderRef
|
|
41
|
+
}, "This is a DotProvider component"));
|
|
42
|
+
await waitFor(() => {});
|
|
43
|
+
expect(asFragment()).toMatchSnapshot();
|
|
44
|
+
});
|
|
45
|
+
test('rendering the additional ...rest props', async () => {
|
|
46
|
+
const {
|
|
47
|
+
asFragment
|
|
48
|
+
} = render( /*#__PURE__*/React.createElement(DotProvider, {
|
|
49
|
+
className: "testClass",
|
|
50
|
+
"data-id": "test-id"
|
|
51
|
+
}, "This is a DotProvider component"));
|
|
52
|
+
await waitFor(() => {});
|
|
53
|
+
expect(asFragment()).toMatchSnapshot();
|
|
54
|
+
});
|
|
55
|
+
test('rendering the wrong themeAppearance and themeColor', async () => {
|
|
56
|
+
const {
|
|
57
|
+
asFragment
|
|
58
|
+
} = render( /*#__PURE__*/React.createElement(DotProvider, {
|
|
59
|
+
themeAppearance: "ligt",
|
|
60
|
+
themeColor: "gren"
|
|
61
|
+
}, "This is a DotProvider component"));
|
|
62
|
+
await waitFor(() => {});
|
|
63
|
+
expect(asFragment()).toMatchSnapshot();
|
|
64
|
+
});
|
|
65
|
+
THEME_APPEARANCE.map(appearance => {
|
|
66
|
+
test.each(THEME_COLOR)(`rendering the theme-appearance of ${appearance} along with theme-color of %s`, async theme => {
|
|
67
|
+
const {
|
|
68
|
+
asFragment
|
|
69
|
+
} = render( /*#__PURE__*/React.createElement(DotProvider, {
|
|
70
|
+
themeAppearance: appearance,
|
|
71
|
+
themeColor: theme
|
|
72
|
+
}));
|
|
73
|
+
await waitFor(() => {});
|
|
74
|
+
expect(asFragment()).toMatchSnapshot();
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
THEME_APPEARANCE.map(appearance => {
|
|
78
|
+
test.each(THEME_COLOR)(`rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of ${appearance} along with theme-color of %s`, async theme => {
|
|
79
|
+
const {
|
|
80
|
+
asFragment
|
|
81
|
+
} = render( /*#__PURE__*/React.createElement(DotProvider, {
|
|
82
|
+
themeAppearance: appearance,
|
|
83
|
+
themeColor: theme,
|
|
84
|
+
themeAppearanceAttr: "data-desk-mode",
|
|
85
|
+
themeColorAttr: "data-desk-theme"
|
|
86
|
+
}));
|
|
87
|
+
await waitFor(() => {});
|
|
88
|
+
expect(asFragment()).toMatchSnapshot();
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
test.each(BASE_ZOOM_UNIT)(`rendering the baseZoomUnit props of %s`, async zoom => {
|
|
92
|
+
const {
|
|
93
|
+
asFragment
|
|
94
|
+
} = render( /*#__PURE__*/React.createElement(DotProvider, {
|
|
95
|
+
baseZoomUnit: zoom
|
|
96
|
+
}));
|
|
97
|
+
await waitFor(() => {});
|
|
98
|
+
expect(asFragment()).toMatchSnapshot();
|
|
99
|
+
});
|
|
100
|
+
test.each(BASE_FONT_UNIT)(`rendering the baseFontUnit props of %s`, async font => {
|
|
101
|
+
const {
|
|
102
|
+
asFragment
|
|
103
|
+
} = render( /*#__PURE__*/React.createElement(DotProvider, {
|
|
104
|
+
baseFontUnit: font
|
|
105
|
+
}));
|
|
106
|
+
await waitFor(() => {});
|
|
107
|
+
expect(asFragment()).toMatchSnapshot();
|
|
108
|
+
});
|
|
109
|
+
test('rendering the zoomUnitVariable prop along with baseZoomUnit props', async () => {
|
|
110
|
+
const {
|
|
111
|
+
asFragment
|
|
112
|
+
} = render( /*#__PURE__*/React.createElement(DotProvider, {
|
|
113
|
+
baseZoomUnit: "1.1",
|
|
114
|
+
zoomUnitVariable: "--gc_baseUnit"
|
|
115
|
+
}, "This is a DotProvider component"));
|
|
116
|
+
await waitFor(() => {});
|
|
117
|
+
expect(asFragment()).toMatchSnapshot();
|
|
118
|
+
});
|
|
119
|
+
test('rendering the fontUnitVariable prop along with baseFontUnit props', async () => {
|
|
120
|
+
const {
|
|
121
|
+
asFragment
|
|
122
|
+
} = render( /*#__PURE__*/React.createElement(DotProvider, {
|
|
123
|
+
baseFontUnit: "14px",
|
|
124
|
+
fontUnitVariable: "--gc_baseFontUnit"
|
|
125
|
+
}, "This is a DotProvider component"));
|
|
126
|
+
await waitFor(() => {});
|
|
127
|
+
expect(asFragment()).toMatchSnapshot();
|
|
128
|
+
});
|
|
129
|
+
}); // unit test cases
|
|
130
|
+
|
|
131
|
+
describe('DotProvider Unit-Test', () => {
|
|
132
|
+
test('rendering the ref function type props', async () => {
|
|
133
|
+
const mockFunctionRef = jest.fn();
|
|
134
|
+
render( /*#__PURE__*/React.createElement(DotProvider, {
|
|
135
|
+
id: "dot-provider",
|
|
136
|
+
ref: mockFunctionRef
|
|
137
|
+
}, "This is a DotProvider component"));
|
|
138
|
+
await waitFor(() => {});
|
|
139
|
+
const dotProviderElement = document.getElementById('dot-provider');
|
|
140
|
+
expect(mockFunctionRef).toHaveBeenCalledWith(dotProviderElement);
|
|
141
|
+
});
|
|
142
|
+
test('rendering the ref object type props', async () => {
|
|
143
|
+
const mockObjectRef = /*#__PURE__*/React.createRef();
|
|
144
|
+
render( /*#__PURE__*/React.createElement(DotProvider, {
|
|
145
|
+
id: "dot-provider",
|
|
146
|
+
ref: mockObjectRef
|
|
147
|
+
}, "This is a DotProvider component"));
|
|
148
|
+
await waitFor(() => {});
|
|
149
|
+
const dotProviderElement = document.getElementById('dot-provider');
|
|
150
|
+
expect(mockObjectRef.current).toBe(dotProviderElement);
|
|
151
|
+
});
|
|
152
|
+
test('rendering the onAssetsDownloadSuccess props', async () => {
|
|
153
|
+
const mockFunc = jest.fn();
|
|
154
|
+
render( /*#__PURE__*/React.createElement(DotProvider, {
|
|
155
|
+
onAssetsDownloadSuccess: mockFunc
|
|
156
|
+
}, "This is a DotProvider component"));
|
|
157
|
+
await waitFor(() => {});
|
|
158
|
+
expect(mockFunc).toHaveBeenCalled();
|
|
159
|
+
});
|
|
160
|
+
test('rendering the getAssetsPromises props', async () => {
|
|
161
|
+
const mockFunc = jest.fn();
|
|
162
|
+
render( /*#__PURE__*/React.createElement(DotProvider, {
|
|
163
|
+
getAssetsPromises: mockFunc
|
|
164
|
+
}, "This is a DotProvider component"));
|
|
165
|
+
await waitFor(() => {});
|
|
166
|
+
expect(mockFunc).toHaveBeenCalledWith(expect.objectContaining({
|
|
167
|
+
fontSizePromise: expect.any(Promise),
|
|
168
|
+
themeAppearancePromise: expect.arrayContaining([expect.any(Promise)]),
|
|
169
|
+
themeColorPromise: expect.arrayContaining([expect.any(Promise)]),
|
|
170
|
+
zoomSizePromise: expect.any(Promise)
|
|
171
|
+
}));
|
|
172
|
+
});
|
|
173
|
+
}); // need to check error handling cases
|
|
174
|
+
// onAssetsDownloadSuccess not called verification
|