@zohodesk/dot 1.0.0-temp-181.8 → 1.0.0-temp-184
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/coverage/ExternalLink/ExternalLink.js.html +1 -1
- package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
- package/coverage/ExternalLink/index.html +1 -1
- package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
- package/coverage/ExternalLink/props/index.html +1 -1
- package/coverage/ExternalLink/props/propTypes.js.html +1 -1
- package/coverage/IconButton/IconButton.js.html +1 -1
- package/coverage/IconButton/IconButton.module.css.html +1 -1
- package/coverage/IconButton/index.html +1 -1
- package/coverage/IconButton/props/defaultProps.js.html +1 -1
- package/coverage/IconButton/props/index.html +1 -1
- package/coverage/IconButton/props/propTypes.js.html +1 -1
- package/coverage/Image/Image.js.html +1 -1
- package/coverage/Image/Image.module.css.html +1 -1
- package/coverage/Image/index.html +1 -1
- package/coverage/Image/props/defaultProps.js.html +1 -1
- package/coverage/Image/props/index.html +1 -1
- package/coverage/Image/props/propTypes.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
- package/coverage/avatar/AvatarWithTeam/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
- package/coverage/coverage-final.json +16 -16
- package/coverage/coverage-summary.json +16 -16
- package/coverage/index.html +1 -1
- package/es/ActionButton/ActionButton.module.css +192 -192
- package/es/AlphabeticList/AlphabeticList.module.css +57 -57
- package/es/AttachmentViewer/AttachmentViewer.module.css +352 -352
- package/es/ChannelIcon/ChannelIcon.module.css +225 -225
- package/es/Drawer/Drawer.js +5 -4
- package/es/ExternalLink/ExternalLink.js +5 -4
- package/es/FlipCard/FlipCard.js +12 -14
- package/es/FormAction/FormAction.module.css +100 -100
- package/es/IconButton/IconButton.js +5 -4
- package/es/IconButton/IconButton.module.css +22 -22
- package/es/Link/Link.js +10 -8
- package/es/Message/Message.js +5 -4
- package/es/TagWithIcon/TagWithIcon.module.css +66 -66
- package/es/ToastMessage/ToastMessage.js +4 -2
- package/es/actions/AutoClose.js +1 -2
- package/es/alert/AlertLookup/AlertLookup.js +12 -14
- package/es/avatar/AvatarClose/AvatarClose.js +7 -7
- package/es/avatar/AvatarCollision/AvatarCollision.js +7 -7
- package/es/avatar/AvatarIcon/AvatarIcon.js +5 -4
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/es/avatar/AvatarStatus/AvatarStatus.js +8 -7
- package/es/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/avatar/AvatarUser/AvatarUser.js +9 -10
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +14 -17
- package/es/common/dot_boxShadow.module.css +2 -0
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +24 -28
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
- package/es/form/fields/CheckBoxField/CheckBoxField.js +13 -15
- package/es/form/fields/CurrencyField/CurrencyField.js +12 -14
- package/es/form/fields/DateField/DateField.js +14 -14
- package/es/form/fields/MultiSelectField/MultiSelectField.js +12 -13
- package/es/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/form/fields/RadioField/RadioField.js +15 -18
- package/es/form/fields/SelectField/SelectField.js +14 -14
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +10 -13
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/form/fields/TextBoxField/TextBoxField.js +14 -14
- package/es/form/fields/TextEditorField/TextEditorField.js +10 -11
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +10 -11
- package/es/form/fields/TextareaField/TextareaField.js +13 -14
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/es/layout/SubtabLayout/SubtabLayout.js +6 -4
- package/es/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/ListLayout/ListLayout.js +5 -4
- package/es/list/ListLayout/ListLayout.module.css +79 -79
- package/es/list/SecondaryText/AccountName.js +12 -12
- package/es/list/SecondaryText/ContactName.js +9 -8
- package/es/list/SecondaryText/Email.js +8 -8
- package/es/list/SecondaryText/PhoneNumber.js +8 -8
- package/es/list/SecondaryText/SecondaryText.js +5 -4
- package/es/list/SecondaryText/TicketId.js +7 -7
- package/es/list/Subject/Subject.js +7 -7
- package/es/list/Subject/Subject.module.css +34 -34
- package/es/list/Thread/Thread.js +1 -2
- package/es/list/Thread/Thread.module.css +42 -42
- package/es/list/status/StatusDropdown/StatusDropdown.js +101 -142
- package/es/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/lookup/Lookup/Lookup.js +5 -4
- package/es/lookup/header/Search/Search.js +3 -5
- package/es/v1/Drawer/Drawer.js +5 -4
- package/es/v1/ExternalLink/ExternalLink.js +5 -4
- package/es/v1/FlipCard/FlipCard.js +12 -14
- package/es/v1/GlobalNotification/GlobalNotification.js +7 -6
- package/es/v1/IconButton/IconButton.js +5 -4
- package/es/v1/Link/Link.js +10 -8
- package/es/v1/Message/Message.js +5 -4
- package/es/v1/ToastMessage/ToastMessage.js +4 -2
- package/es/v1/actions/AutoClose.js +1 -2
- package/es/v1/alert/AlertLookup/AlertLookup.js +15 -15
- package/es/v1/avatar/AvatarClose/AvatarClose.js +7 -7
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +7 -7
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +5 -4
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +8 -7
- package/es/v1/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/v1/avatar/AvatarUser/AvatarUser.js +9 -10
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +14 -17
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +24 -28
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +13 -15
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +12 -14
- package/es/v1/form/fields/DateField/DateField.js +14 -14
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +12 -13
- package/es/v1/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/v1/form/fields/RadioField/RadioField.js +16 -18
- package/es/v1/form/fields/SelectField/SelectField.js +14 -14
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +10 -13
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +14 -14
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +10 -11
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +10 -11
- package/es/v1/form/fields/TextareaField/TextareaField.js +13 -14
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +6 -4
- package/es/v1/list/ListLayout/ListLayout.js +5 -4
- package/es/v1/list/SecondaryText/AccountName.js +12 -12
- package/es/v1/list/SecondaryText/ContactName.js +9 -8
- package/es/v1/list/SecondaryText/Email.js +8 -8
- package/es/v1/list/SecondaryText/PhoneNumber.js +8 -8
- package/es/v1/list/SecondaryText/SecondaryText.js +5 -4
- package/es/v1/list/SecondaryText/TicketId.js +7 -7
- package/es/v1/list/Subject/Subject.js +7 -7
- package/es/v1/list/Thread/Thread.js +1 -2
- package/es/v1/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/v1/lookup/Lookup/Lookup.js +5 -4
- package/es/v1/lookup/header/Search/Search.js +3 -5
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/es/version2/GlobalNotification/GlobalNotification.js +7 -6
- package/es/version2/GlobalNotification/GlobalNotification.module.css +177 -177
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
- package/lib/ActionButton/ActionButton.module.css +192 -192
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
- package/lib/AttachmentViewer/AttachmentViewer.module.css +352 -352
- package/lib/ChannelIcon/ChannelIcon.module.css +225 -225
- package/lib/FormAction/FormAction.module.css +100 -100
- package/lib/IconButton/IconButton.module.css +22 -22
- package/lib/TagWithIcon/TagWithIcon.module.css +66 -66
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/lib/common/dot_boxShadow.module.css +2 -0
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/ListLayout/ListLayout.module.css +79 -79
- package/lib/list/Subject/Subject.module.css +34 -34
- package/lib/list/Thread/Thread.js +1 -2
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/list/status/StatusDropdown/StatusDropdown.js +162 -207
- package/lib/v1/list/Thread/Thread.js +1 -2
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +177 -177
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
- package/package.json +1 -1
- package/result.json +1 -1
- package/es/v1/DotWrapper/DotWrapper.js +0 -39
- package/es/v1/DotWrapper/libraryChunks/appearance/component/DarkMode_Component.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/component/LightMode_Component.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/component/PureDarkMode_Component.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/dot/DarkMode_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/dot/LightMode_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/dot/PureDarkMode_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/svg/DarkMode_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/svg/LightMode_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/svg/PureDarkMode_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/dynamicImports.js +0 -24
- package/es/v1/DotWrapper/libraryChunks/importMapping.js +0 -19
- package/es/v1/DotWrapper/libraryChunks/size/fontSize.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/size/zoomSize.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/props/defaultProps.js +0 -6
- package/es/v1/DotWrapper/props/propTypes.js +0 -9
- package/es/v1/DotWrapper/utils/appearanceProperties.js +0 -46
- package/es/v1/DotWrapper/utils/errorMessage.js +0 -7
- package/es/v1/DotWrapper/utils/importFiles.js +0 -31
- package/es/v1/DotWrapper/utils/sizeProperties.js +0 -12
- package/es/v1/DotWrapper/utils/themeProperties.js +0 -220
- package/lib/v1/DotWrapper/DotWrapper.js +0 -64
- package/lib/v1/DotWrapper/libraryChunks/appearance/component/DarkMode_Component.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/component/LightMode_Component.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/component/PureDarkMode_Component.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/dot/DarkMode_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/dot/LightMode_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/dot/PureDarkMode_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/svg/DarkMode_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/svg/LightMode_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/svg/PureDarkMode_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/dynamicImports.js +0 -43
- package/lib/v1/DotWrapper/libraryChunks/importMapping.js +0 -26
- package/lib/v1/DotWrapper/libraryChunks/size/fontSize.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/size/zoomSize.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/props/defaultProps.js +0 -13
- package/lib/v1/DotWrapper/props/propTypes.js +0 -20
- package/lib/v1/DotWrapper/utils/appearanceProperties.js +0 -79
- package/lib/v1/DotWrapper/utils/errorMessage.js +0 -14
- package/lib/v1/DotWrapper/utils/importFiles.js +0 -40
- package/lib/v1/DotWrapper/utils/sizeProperties.js +0 -31
- package/lib/v1/DotWrapper/utils/themeProperties.js +0 -325
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React, { PureComponent } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -84,7 +86,7 @@ export default class CheckBoxField extends PureComponent {
|
|
|
84
86
|
lockedInfoText: lockedInfoText,
|
|
85
87
|
infoText: infoText,
|
|
86
88
|
renderProps: renderLabelProps
|
|
87
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
89
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
88
90
|
text: labelName,
|
|
89
91
|
id: id,
|
|
90
92
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
@@ -94,9 +96,8 @@ export default class CheckBoxField extends PureComponent {
|
|
|
94
96
|
title: labelName,
|
|
95
97
|
onClick: !removeEvent ? this.handleLabelClick : null,
|
|
96
98
|
variant: isDirectCol ? 'default' : 'primary',
|
|
97
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
98
|
-
|
|
99
|
-
}));
|
|
99
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
100
|
+
}, LabelProps)));
|
|
100
101
|
return /*#__PURE__*/React.createElement("div", {
|
|
101
102
|
className: `${style.container} ${isDisabled ? style.disabled : isReadOnly ? style.readonly : ''}`,
|
|
102
103
|
"data-title": isDisabled ? title : null,
|
|
@@ -109,30 +110,27 @@ export default class CheckBoxField extends PureComponent {
|
|
|
109
110
|
align: "top"
|
|
110
111
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
111
112
|
className: isDirectCol ? style.checkbox : style.checkboxRow
|
|
112
|
-
}, /*#__PURE__*/React.createElement(CheckBox, {
|
|
113
|
+
}, /*#__PURE__*/React.createElement(CheckBox, _extends({
|
|
113
114
|
id: id,
|
|
114
115
|
onChange: this.handleChange,
|
|
115
116
|
disabled: removeEvent,
|
|
116
117
|
checked: checked,
|
|
117
118
|
getRef: this.handleGetRef,
|
|
118
119
|
dataId: dataId,
|
|
119
|
-
getContainerRef: getContainerRef
|
|
120
|
-
|
|
121
|
-
})), !isDirectCol && /*#__PURE__*/React.createElement(Box, {
|
|
120
|
+
getContainerRef: getContainerRef
|
|
121
|
+
}, CheckBoxProps))), !isDirectCol && /*#__PURE__*/React.createElement(Box, {
|
|
122
122
|
flexible: true
|
|
123
|
-
}, labelElement)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
123
|
+
}, labelElement)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
124
124
|
text: validationMessage,
|
|
125
125
|
palette: validationPalette,
|
|
126
126
|
type: errorType,
|
|
127
|
-
dataId: `${dataId}_ValidationMessage
|
|
128
|
-
|
|
129
|
-
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
127
|
+
dataId: `${dataId}_ValidationMessage`
|
|
128
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
130
129
|
text: validationRuleMessage,
|
|
131
130
|
palette: validationRulePalette,
|
|
132
131
|
type: errorType,
|
|
133
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
134
|
-
|
|
135
|
-
})));
|
|
132
|
+
dataId: `${dataId}_ValidationRuleMessage`
|
|
133
|
+
}, ValidationMessageProps2))));
|
|
136
134
|
}
|
|
137
135
|
|
|
138
136
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React, { PureComponent } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -126,17 +128,16 @@ export default class CurrencyField extends PureComponent {
|
|
|
126
128
|
isLocked: isLocked,
|
|
127
129
|
lockedInfoText: lockedInfoText,
|
|
128
130
|
renderProps: renderLabelProps
|
|
129
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
131
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
130
132
|
text: labelName,
|
|
131
133
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
132
134
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
133
135
|
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
134
136
|
htmlFor: uniqueId,
|
|
135
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
136
|
-
|
|
137
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
137
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
138
|
+
}, LabelProps))), /*#__PURE__*/React.createElement("div", {
|
|
138
139
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
139
|
-
}, /*#__PURE__*/React.createElement(TextBox, {
|
|
140
|
+
}, /*#__PURE__*/React.createElement(TextBox, _extends({
|
|
140
141
|
htmlId: uniqueId,
|
|
141
142
|
id: id,
|
|
142
143
|
type: textBoxType,
|
|
@@ -156,23 +157,20 @@ export default class CurrencyField extends PureComponent {
|
|
|
156
157
|
isDisabled: isDisabled,
|
|
157
158
|
needEffect: isReadOnly || isDisabled ? false : true,
|
|
158
159
|
isClickable: isClickable,
|
|
159
|
-
needReadOnlyStyle: needReadOnlyStyle
|
|
160
|
-
|
|
161
|
-
}), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
160
|
+
needReadOnlyStyle: needReadOnlyStyle
|
|
161
|
+
}, TextBoxProps)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
162
162
|
text: validationMessage,
|
|
163
163
|
palette: validationPalette,
|
|
164
164
|
type: errorType,
|
|
165
165
|
dataId: `${dataId}_ValidationMessage`,
|
|
166
|
-
htmlFor: uniqueId
|
|
167
|
-
|
|
168
|
-
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
166
|
+
htmlFor: uniqueId
|
|
167
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
169
168
|
text: validationRuleMessage,
|
|
170
169
|
palette: validationRulePalette,
|
|
171
170
|
type: errorType,
|
|
172
171
|
htmlFor: uniqueId,
|
|
173
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
174
|
-
|
|
175
|
-
})));
|
|
172
|
+
dataId: `${dataId}_ValidationRuleMessage`
|
|
173
|
+
}, ValidationMessageProps2))));
|
|
176
174
|
}
|
|
177
175
|
|
|
178
176
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React, { PureComponent } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -131,21 +133,21 @@ export default class DateField extends PureComponent {
|
|
|
131
133
|
isLocked: isLocked,
|
|
132
134
|
lockedInfoText: lockedInfoText,
|
|
133
135
|
renderProps: renderLabelProps
|
|
134
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
136
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
135
137
|
text: labelName,
|
|
136
138
|
htmlFor: getAriaId,
|
|
137
139
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
138
140
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
139
141
|
onClick: isDisabled || isReadOnly ? null : this.handleLabelClick,
|
|
140
142
|
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
141
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
142
|
-
|
|
143
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
144
|
+
}, LabelProps, {
|
|
143
145
|
id: labelName
|
|
144
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
146
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
145
147
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
146
148
|
}, isLocked && lockedValueText ? /*#__PURE__*/React.createElement("div", {
|
|
147
149
|
className: style.lockText
|
|
148
|
-
}, lockedValueText) : /*#__PURE__*/React.createElement(DateWidget, {
|
|
150
|
+
}, lockedValueText) : /*#__PURE__*/React.createElement(DateWidget, _extends({
|
|
149
151
|
textBoxSize: fieldSize === 'medium' ? textBoxSize : 'xsmall',
|
|
150
152
|
textBoxVariant: textBoxVariant,
|
|
151
153
|
isDateTime: isDateTime,
|
|
@@ -163,26 +165,24 @@ export default class DateField extends PureComponent {
|
|
|
163
165
|
isEditable: true,
|
|
164
166
|
htmlId: getAriaId,
|
|
165
167
|
i18nKeys: i18nKeys,
|
|
166
|
-
iconOnHover: iconOnHover
|
|
167
|
-
|
|
168
|
+
iconOnHover: iconOnHover
|
|
169
|
+
}, DateWidgetProps, {
|
|
168
170
|
a11y: {
|
|
169
171
|
ariaLabelledby: labelName
|
|
170
172
|
}
|
|
171
|
-
}), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
173
|
+
})), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
172
174
|
text: validationMessage,
|
|
173
175
|
palette: validationPalette,
|
|
174
176
|
type: errorType,
|
|
175
177
|
htmlFor: getAriaId,
|
|
176
|
-
dataId: `${dataId}_ValidationMessage
|
|
177
|
-
|
|
178
|
-
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
178
|
+
dataId: `${dataId}_ValidationMessage`
|
|
179
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
179
180
|
text: validationRuleMessage,
|
|
180
181
|
palette: validationRulePalette,
|
|
181
182
|
type: errorType,
|
|
182
183
|
htmlFor: getAriaId,
|
|
183
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
184
|
-
|
|
185
|
-
})));
|
|
184
|
+
dataId: `${dataId}_ValidationRuleMessage`
|
|
185
|
+
}, ValidationMessageProps2))));
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React, { PureComponent } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -143,7 +145,7 @@ export default class MultiSelectField extends PureComponent {
|
|
|
143
145
|
isLocked: isLocked,
|
|
144
146
|
lockedInfoText: lockedInfoText,
|
|
145
147
|
renderProps: renderLabelProps
|
|
146
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
148
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
147
149
|
text: labelName,
|
|
148
150
|
id: id,
|
|
149
151
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
@@ -151,9 +153,8 @@ export default class MultiSelectField extends PureComponent {
|
|
|
151
153
|
,
|
|
152
154
|
customClass: `${style.fieldLabel} ${isMandatory ? style.labelMandatory : ''}`,
|
|
153
155
|
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
154
|
-
htmlFor: uniqueId
|
|
155
|
-
|
|
156
|
-
})), /*#__PURE__*/React.createElement(MultiSelect, {
|
|
156
|
+
htmlFor: uniqueId
|
|
157
|
+
}, LabelProps))), /*#__PURE__*/React.createElement(MultiSelect, _extends({
|
|
157
158
|
options: options,
|
|
158
159
|
onChange: this.handleChange,
|
|
159
160
|
selectedOptions: selectedOptions,
|
|
@@ -184,24 +185,22 @@ export default class MultiSelectField extends PureComponent {
|
|
|
184
185
|
i18nKeys: i18nKeys,
|
|
185
186
|
htmlId: uniqueId,
|
|
186
187
|
customChildrenClass: customChildrenClass,
|
|
187
|
-
onFocus: onFocus
|
|
188
|
-
|
|
188
|
+
onFocus: onFocus
|
|
189
|
+
}, MultiSelectProps, {
|
|
189
190
|
ariaLabelledby: uniqueId
|
|
190
|
-
}, children ? children : null), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
191
|
+
}), children ? children : null), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
191
192
|
text: validationMessage,
|
|
192
193
|
palette: validationPalette,
|
|
193
194
|
type: errorType,
|
|
194
195
|
dataId: `${dataId}_ValidationMessage`,
|
|
195
|
-
htmlFor: uniqueId
|
|
196
|
-
|
|
197
|
-
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
196
|
+
htmlFor: uniqueId
|
|
197
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
198
198
|
text: validationRuleMessage,
|
|
199
199
|
palette: validationRulePalette,
|
|
200
200
|
type: errorType,
|
|
201
201
|
dataId: `${dataId}_ValidationRuleMessage`,
|
|
202
|
-
htmlFor: uniqueId
|
|
203
|
-
|
|
204
|
-
}));
|
|
202
|
+
htmlFor: uniqueId
|
|
203
|
+
}, ValidationMessageProps2)));
|
|
205
204
|
}
|
|
206
205
|
|
|
207
206
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React, { PureComponent } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -131,7 +133,7 @@ export default class PhoneField extends PureComponent {
|
|
|
131
133
|
dataSelectorId: dataSelectorId
|
|
132
134
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
133
135
|
flexible: true
|
|
134
|
-
}, /*#__PURE__*/React.createElement(TextBoxField, {
|
|
136
|
+
}, /*#__PURE__*/React.createElement(TextBoxField, _extends({
|
|
135
137
|
labelName: labelName,
|
|
136
138
|
id: id,
|
|
137
139
|
palette: isMandatory ? 'mandatory' : 'default',
|
|
@@ -158,9 +160,8 @@ export default class PhoneField extends PureComponent {
|
|
|
158
160
|
labelPalette: labelPalette,
|
|
159
161
|
labelCustomClass: labelCustomClass,
|
|
160
162
|
errorType: errorType,
|
|
161
|
-
ePhiData: ePhiData
|
|
162
|
-
|
|
163
|
-
})), /*#__PURE__*/React.createElement(Box, null, isTelephony && value ? /*#__PURE__*/React.createElement(Link, {
|
|
163
|
+
ePhiData: ePhiData
|
|
164
|
+
}, TextBoxFieldProps))), /*#__PURE__*/React.createElement(Box, null, isTelephony && value ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
164
165
|
className: style.phoneIcon,
|
|
165
166
|
callfrom: "phone",
|
|
166
167
|
pbxname: providerName,
|
|
@@ -171,9 +172,8 @@ export default class PhoneField extends PureComponent {
|
|
|
171
172
|
callto: 'RequestPhoneNumber',
|
|
172
173
|
href: true,
|
|
173
174
|
onClick: onCall,
|
|
174
|
-
type: type
|
|
175
|
-
|
|
176
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
175
|
+
type: type
|
|
176
|
+
}, LinkProps), /*#__PURE__*/React.createElement(Icon, {
|
|
177
177
|
name: "ZD-GN-phone",
|
|
178
178
|
size: "14"
|
|
179
179
|
})) : null));
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React, { PureComponent } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -60,15 +62,14 @@ export default class RadioField extends PureComponent {
|
|
|
60
62
|
className: `${style.container} ${isDisabled ? style.disabled : isReadOnly ? style.readonly : ''}`,
|
|
61
63
|
"data-title": isDisabled ? title : null,
|
|
62
64
|
"data-selector-id": dataSelectorId
|
|
63
|
-
}, labelName && /*#__PURE__*/React.createElement(Label, {
|
|
65
|
+
}, labelName && /*#__PURE__*/React.createElement(Label, _extends({
|
|
64
66
|
text: labelName,
|
|
65
67
|
size: "medium",
|
|
66
68
|
id: id,
|
|
67
69
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : 'default',
|
|
68
70
|
customClass: `${style.fieldLabel} ${isMandatory ? style.labelMandatory : ''}`,
|
|
69
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
70
|
-
|
|
71
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
71
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
72
|
+
}, LabelProps)), /*#__PURE__*/React.createElement("div", {
|
|
72
73
|
className: `${style.fieldContainer} ${labelName ? style.fieldMargin_medium : ''} ${style.radioContainer}`
|
|
73
74
|
}, options.map((option, index) => {
|
|
74
75
|
let {
|
|
@@ -81,7 +82,7 @@ export default class RadioField extends PureComponent {
|
|
|
81
82
|
return /*#__PURE__*/React.createElement("span", {
|
|
82
83
|
key: index,
|
|
83
84
|
className: `${style.radio}`
|
|
84
|
-
}, /*#__PURE__*/React.createElement(Radio, {
|
|
85
|
+
}, /*#__PURE__*/React.createElement(Radio, _extends({
|
|
85
86
|
id: index,
|
|
86
87
|
value: value,
|
|
87
88
|
name: id,
|
|
@@ -97,28 +98,24 @@ export default class RadioField extends PureComponent {
|
|
|
97
98
|
checked: selectedValue == value,
|
|
98
99
|
dataId: dataId,
|
|
99
100
|
isReadOnly: isReadOnly,
|
|
100
|
-
variant: variant
|
|
101
|
-
|
|
102
|
-
}, !!infoTooltip ? /*#__PURE__*/React.createElement(Icon, {
|
|
101
|
+
variant: variant
|
|
102
|
+
}, RadioProps), !!infoTooltip ? /*#__PURE__*/React.createElement(Icon, _extends({
|
|
103
103
|
name: "ZD-GN-info",
|
|
104
104
|
size: "16",
|
|
105
105
|
title: infoTooltip,
|
|
106
|
-
iconClass: style.infoIcon
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
})), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
106
|
+
iconClass: style.infoIcon
|
|
107
|
+
}, InfoIconProps)) : null));
|
|
108
|
+
})), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
110
109
|
text: validationMessage,
|
|
111
110
|
palette: validationPalette,
|
|
112
111
|
type: errorType,
|
|
113
|
-
dataId: `${dataId}_ValidationMessage
|
|
114
|
-
|
|
115
|
-
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
112
|
+
dataId: `${dataId}_ValidationMessage`
|
|
113
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
116
114
|
text: validationRuleMessage,
|
|
117
115
|
palette: validationRulePalette,
|
|
118
116
|
type: errorType,
|
|
119
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
120
|
-
|
|
121
|
-
}));
|
|
117
|
+
dataId: `${dataId}_ValidationRuleMessage`
|
|
118
|
+
}, ValidationMessageProps2)));
|
|
122
119
|
}
|
|
123
120
|
|
|
124
121
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React, { PureComponent } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -113,18 +115,18 @@ export default class SelectField extends PureComponent {
|
|
|
113
115
|
isLocked: isLocked,
|
|
114
116
|
lockedInfoText: lockedInfoText,
|
|
115
117
|
renderProps: renderLabelProps
|
|
116
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
118
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
117
119
|
text: labelName,
|
|
118
120
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
119
121
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
120
122
|
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
121
123
|
htmlFor: uniqueId,
|
|
122
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
123
|
-
|
|
124
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
125
|
+
}, LabelProps, {
|
|
124
126
|
id: uniqueId
|
|
125
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
127
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
126
128
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''} ${fieldClass ? fieldClass : ''}`
|
|
127
|
-
}, /*#__PURE__*/React.createElement(Select, {
|
|
129
|
+
}, /*#__PURE__*/React.createElement(Select, _extends({
|
|
128
130
|
options: options,
|
|
129
131
|
selectedValue: selectedValue,
|
|
130
132
|
onChange: this.handleChange,
|
|
@@ -153,24 +155,22 @@ export default class SelectField extends PureComponent {
|
|
|
153
155
|
needLocalSearch: needLocalSearch,
|
|
154
156
|
isDefaultSelectValue: isDefaultSelectValue,
|
|
155
157
|
placeHolder: placeHolder,
|
|
156
|
-
iconOnHover: iconOnHover
|
|
157
|
-
|
|
158
|
+
iconOnHover: iconOnHover
|
|
159
|
+
}, SelectProps, {
|
|
158
160
|
ariaLabelledby: uniqueId
|
|
159
|
-
}, children ? children : null)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
161
|
+
}), children ? children : null)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
160
162
|
text: validationMessage,
|
|
161
163
|
palette: validationPalette,
|
|
162
164
|
type: errorType,
|
|
163
165
|
htmlFor: uniqueId,
|
|
164
|
-
dataId: `${dataId}_ValidationMessage
|
|
165
|
-
|
|
166
|
-
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
166
|
+
dataId: `${dataId}_ValidationMessage`
|
|
167
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
167
168
|
text: validationRuleMessage,
|
|
168
169
|
palette: validationRulePalette,
|
|
169
170
|
type: errorType,
|
|
170
171
|
htmlFor: uniqueId,
|
|
171
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
172
|
-
|
|
173
|
-
}));
|
|
172
|
+
dataId: `${dataId}_ValidationRuleMessage`
|
|
173
|
+
}, ValidationMessageProps2)));
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -185,12 +187,10 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
185
187
|
boxCustomProps,
|
|
186
188
|
tagCustomProps
|
|
187
189
|
} = tag;
|
|
188
|
-
return index < chipLimit ? /*#__PURE__*/React.createElement(Box, {
|
|
190
|
+
return index < chipLimit ? /*#__PURE__*/React.createElement(Box, _extends({
|
|
189
191
|
className: style.tag,
|
|
190
|
-
key: index
|
|
191
|
-
|
|
192
|
-
...boxCustomProps
|
|
193
|
-
}, /*#__PURE__*/React.createElement(Tag, {
|
|
192
|
+
key: index
|
|
193
|
+
}, TagWrapperProps, boxCustomProps), /*#__PURE__*/React.createElement(Tag, _extends({
|
|
194
194
|
id: id,
|
|
195
195
|
text: name,
|
|
196
196
|
onRemove: isReadOnly ? null : deleteTag.bind(this, name),
|
|
@@ -198,10 +198,8 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
198
198
|
palette: clickableTag ? 'defaultLink' : tagType === 'SYSTEM' ? 'primary' : 'default',
|
|
199
199
|
isReadOnly: isReadOnly,
|
|
200
200
|
onSelectTag: onSelectTag ? onSelectTag : undefined,
|
|
201
|
-
customClass: tagCustomClass
|
|
202
|
-
|
|
203
|
-
...tagCustomProps
|
|
204
|
-
})) : null;
|
|
201
|
+
customClass: tagCustomClass
|
|
202
|
+
}, TagProps, tagCustomProps))) : null;
|
|
205
203
|
}), tagsList.length > chipNeedToShow && !isPopupReady ? /*#__PURE__*/React.createElement(Box, {
|
|
206
204
|
className: style.moreLess,
|
|
207
205
|
dataId: `${dataId}_tagsMore`,
|
|
@@ -213,7 +211,7 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
213
211
|
className: style.inputWrapper
|
|
214
212
|
}, /*#__PURE__*/React.createElement("span", {
|
|
215
213
|
className: style.custmSpan
|
|
216
|
-
}, name), /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
214
|
+
}, name), /*#__PURE__*/React.createElement(TextBoxIcon, _extends({
|
|
217
215
|
htmlId: htmlId,
|
|
218
216
|
dataId: `${dataId}_tagInp`,
|
|
219
217
|
value: name,
|
|
@@ -229,9 +227,8 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
229
227
|
customTextBox: style.input
|
|
230
228
|
},
|
|
231
229
|
size: "xsmall",
|
|
232
|
-
inputRef: this.textInputRef
|
|
233
|
-
|
|
234
|
-
}, getTextBoxChildren ? getTextBoxChildren() : null))), isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
230
|
+
inputRef: this.textInputRef
|
|
231
|
+
}, TextBoxIconProps), getTextBoxChildren ? getTextBoxChildren() : null))), isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
235
232
|
query: this.responsiveFunc,
|
|
236
233
|
responsiveId: "Helmet"
|
|
237
234
|
}, _ref2 => {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React, { useState, useEffect } from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -200,7 +202,7 @@ const TagsMultiSelectField = props => {
|
|
|
200
202
|
renderProps: {
|
|
201
203
|
end: renderEnd
|
|
202
204
|
}
|
|
203
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
205
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
204
206
|
text: labelName,
|
|
205
207
|
title: labelName,
|
|
206
208
|
id: id,
|
|
@@ -208,12 +210,11 @@ const TagsMultiSelectField = props => {
|
|
|
208
210
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
209
211
|
customClass: `${fieldStyle.fieldLabel} ${isMandatory ? fieldStyle.labelMandatory : ''} ${labelClass ? labelClass : ''}`,
|
|
210
212
|
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
211
|
-
htmlFor: htmlId
|
|
212
|
-
|
|
213
|
-
}), selectedValueCount ? /*#__PURE__*/React.createElement(Box, {
|
|
213
|
+
htmlFor: htmlId
|
|
214
|
+
}, LabelProps)), selectedValueCount ? /*#__PURE__*/React.createElement(Box, {
|
|
214
215
|
dataId: `${dataId}_tagCount`,
|
|
215
216
|
className: style.count
|
|
216
|
-
}, `(${selectedValueCount})`) : null), /*#__PURE__*/React.createElement(TagsMultiSelect, {
|
|
217
|
+
}, `(${selectedValueCount})`) : null), /*#__PURE__*/React.createElement(TagsMultiSelect, _extends({
|
|
217
218
|
addTag: handleAdd,
|
|
218
219
|
deleteTag: onDelete,
|
|
219
220
|
handleChange: handleChange,
|
|
@@ -243,17 +244,16 @@ const TagsMultiSelectField = props => {
|
|
|
243
244
|
borderColor: borderColor,
|
|
244
245
|
htmlId: htmlId,
|
|
245
246
|
getTextBoxChildren: getTextBoxChildren,
|
|
246
|
-
className: containerClass
|
|
247
|
-
|
|
247
|
+
className: containerClass
|
|
248
|
+
}, TagsMultiSelectProps, {
|
|
248
249
|
clickableTag: clickableTag
|
|
249
|
-
}), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
250
|
+
})), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
250
251
|
text: validationMessage,
|
|
251
252
|
palette: validationPalette,
|
|
252
253
|
type: errorType,
|
|
253
254
|
dataId: `${dataId}_ValidationMessage`,
|
|
254
|
-
htmlFor: htmlId
|
|
255
|
-
|
|
256
|
-
}));
|
|
255
|
+
htmlFor: htmlId
|
|
256
|
+
}, ValidationMessageProps)));
|
|
257
257
|
};
|
|
258
258
|
|
|
259
259
|
TagsMultiSelectField.propTypes = propTypes;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React, { PureComponent } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -101,18 +103,18 @@ export default class TextBoxField extends PureComponent {
|
|
|
101
103
|
ePhiData: ePhiData,
|
|
102
104
|
dataId: dataId,
|
|
103
105
|
renderProps: renderLabelProps
|
|
104
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
106
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
105
107
|
text: labelName,
|
|
106
108
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
107
109
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
108
110
|
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
109
111
|
htmlFor: uniqueId,
|
|
110
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
111
|
-
|
|
112
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
113
|
+
}, LabelProps, {
|
|
112
114
|
id: labelName
|
|
113
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
115
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
114
116
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
115
|
-
}, /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
117
|
+
}, /*#__PURE__*/React.createElement(TextBoxIcon, _extends({
|
|
116
118
|
htmlId: uniqueId,
|
|
117
119
|
id: id,
|
|
118
120
|
type: textBoxType,
|
|
@@ -132,26 +134,24 @@ export default class TextBoxField extends PureComponent {
|
|
|
132
134
|
isDisabled: isDisabled,
|
|
133
135
|
needEffect: isReadOnly || isDisabled ? false : true,
|
|
134
136
|
isClickable: isClickable,
|
|
135
|
-
needReadOnlyStyle: needReadOnlyStyle
|
|
136
|
-
|
|
137
|
+
needReadOnlyStyle: needReadOnlyStyle
|
|
138
|
+
}, TextBoxIconProps, {
|
|
137
139
|
a11y: {
|
|
138
140
|
ariaLabelledby: labelName
|
|
139
141
|
}
|
|
140
|
-
}, children ? children : null), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
142
|
+
}), children ? children : null), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
141
143
|
text: validationMessage,
|
|
142
144
|
palette: validationPalette,
|
|
143
145
|
type: errorType,
|
|
144
146
|
dataId: `${dataId}_ValidationMessage`,
|
|
145
|
-
htmlFor: uniqueId
|
|
146
|
-
|
|
147
|
-
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
147
|
+
htmlFor: uniqueId
|
|
148
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
148
149
|
text: validationRuleMessage,
|
|
149
150
|
palette: validationRulePalette,
|
|
150
151
|
type: errorType,
|
|
151
152
|
htmlFor: uniqueId,
|
|
152
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
153
|
-
|
|
154
|
-
})));
|
|
153
|
+
dataId: `${dataId}_ValidationRuleMessage`
|
|
154
|
+
}, ValidationMessageProps2))));
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React, { PureComponent } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -119,18 +121,17 @@ export default class TextEditorField extends PureComponent {
|
|
|
119
121
|
renderProps: {
|
|
120
122
|
end: this.renderEnd
|
|
121
123
|
}
|
|
122
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
124
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
123
125
|
text: labelName,
|
|
124
126
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
125
127
|
htmlFor: !isReadOnly && !isDisabled ? id : undefined,
|
|
126
128
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
127
129
|
onClick: this.handleLabelClick,
|
|
128
130
|
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
129
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
130
|
-
|
|
131
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
131
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
132
|
+
}, LabelProps))), /*#__PURE__*/React.createElement("div", {
|
|
132
133
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
133
|
-
}, /*#__PURE__*/React.createElement(TextEditorWrapper, {
|
|
134
|
+
}, /*#__PURE__*/React.createElement(TextEditorWrapper, _extends({
|
|
134
135
|
needEditor: needEditor,
|
|
135
136
|
onChange: this.handleChange,
|
|
136
137
|
id: id,
|
|
@@ -159,15 +160,13 @@ export default class TextEditorField extends PureComponent {
|
|
|
159
160
|
shouldEditorUpdateContent: shouldEditorUpdateContent,
|
|
160
161
|
setInlineAttachmentInProgress: setInlineAttachmentInProgress,
|
|
161
162
|
handleEditorDropUpload: handleEditorDropUpload,
|
|
162
|
-
needInlineAttachment: needInlineAttachment
|
|
163
|
-
|
|
164
|
-
})), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
163
|
+
needInlineAttachment: needInlineAttachment
|
|
164
|
+
}, TextEditorWrapperProps))), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
165
165
|
text: validationMessage,
|
|
166
166
|
palette: validationPalette,
|
|
167
167
|
type: errorType,
|
|
168
|
-
dataId: `${dataId}_ValidationMessage
|
|
169
|
-
|
|
170
|
-
}));
|
|
168
|
+
dataId: `${dataId}_ValidationMessage`
|
|
169
|
+
}, ValidationMessageProps)));
|
|
171
170
|
}
|
|
172
171
|
|
|
173
172
|
}
|