@zohodesk/dot 1.0.0-temp-181.9 → 1.0.0-temp-183.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cli/propValidation_report.html +1 -1
- package/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 +14 -16
- 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/DepartmentDropDown/DepartmentDropDown.js +9 -3
- package/es/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/es/list/DepartmentDropDown/props/propTypes.js +2 -1
- 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.module.css +42 -42
- package/es/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/list/status/StatusListItem/StatusListItem.module.css +35 -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/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/TagsMultiSelect/TagsMultiSelect.js +5 -3
- 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/DepartmentDropDown/DepartmentDropDown.js +8 -3
- package/lib/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/lib/list/DepartmentDropDown/props/propTypes.js +1 -1
- 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.module.css +42 -42
- package/lib/list/status/StatusListItem/StatusListItem.module.css +35 -5
- 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 +4 -4
- package/result.json +1 -1
- package/es/v1/DotWrapper/DotWrapper.js +0 -46
- package/es/v1/DotWrapper/libraryChunks/dynamicImports.js +0 -24
- 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 -30
- 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 -65
- package/lib/v1/DotWrapper/libraryChunks/dynamicImports.js +0 -43
- 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 -39
- 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
|
import React from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -29,12 +31,12 @@ export default function AvatarStatus(props) {
|
|
|
29
31
|
AvatarStatusProps = {},
|
|
30
32
|
AvatarProps = {}
|
|
31
33
|
} = customProps;
|
|
32
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
33
|
-
className: `${style.container} ${className}
|
|
34
|
-
|
|
34
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
35
|
+
className: `${style.container} ${className} `
|
|
36
|
+
}, AvatarStatusProps, {
|
|
35
37
|
"aria-label": `${title}, ${name}, ${statusTitle}`,
|
|
36
38
|
"data-selector-id": dataSelectorId
|
|
37
|
-
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
39
|
+
}), /*#__PURE__*/React.createElement(Avatar, _extends({
|
|
38
40
|
src: src,
|
|
39
41
|
name: name,
|
|
40
42
|
palette: palette,
|
|
@@ -48,9 +50,8 @@ export default function AvatarStatus(props) {
|
|
|
48
50
|
shape: shape,
|
|
49
51
|
needTitle: needTitle,
|
|
50
52
|
needDefaultBorder: needDefaultBorder,
|
|
51
|
-
needBorder: needBorder
|
|
52
|
-
|
|
53
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
53
|
+
needBorder: needBorder
|
|
54
|
+
}, AvatarProps)), /*#__PURE__*/React.createElement("span", {
|
|
54
55
|
"data-title": statusTitle,
|
|
55
56
|
className: `${style.state} ${style[state]} ${style[size]} ${style[shape]}`
|
|
56
57
|
}));
|
|
@@ -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';
|
|
@@ -36,11 +38,10 @@ export default function AvatarThread(props) {
|
|
|
36
38
|
AvatarProps = {}
|
|
37
39
|
} = customProps;
|
|
38
40
|
let hoverEffect = showOnHover ? style.hover : '';
|
|
39
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
41
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
40
42
|
className: `${style.container} ${onClick ? style.pointer : ''} ${hoverEffect}`,
|
|
41
|
-
"data-selector-id": dataSelectorId
|
|
42
|
-
|
|
43
|
-
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
43
|
+
"data-selector-id": dataSelectorId
|
|
44
|
+
}, AvatarThreadProps), /*#__PURE__*/React.createElement(Avatar, _extends({
|
|
44
45
|
initial: initial,
|
|
45
46
|
src: src,
|
|
46
47
|
name: name,
|
|
@@ -51,9 +52,8 @@ export default function AvatarThread(props) {
|
|
|
51
52
|
palette: palette,
|
|
52
53
|
textPalette: textPalette,
|
|
53
54
|
customClass: customTextClass,
|
|
54
|
-
needTitle: needTitle
|
|
55
|
-
|
|
56
|
-
}), (iconName || getCustomThread) && /*#__PURE__*/React.createElement("span", {
|
|
55
|
+
needTitle: needTitle
|
|
56
|
+
}, AvatarProps)), (iconName || getCustomThread) && /*#__PURE__*/React.createElement("span", {
|
|
57
57
|
className: `${style.thread} ${onIconClick ? style.pointer : style.defaultCursor} ${needBackground ? style.threadBg : ''} ${style[`thread_${size}_pos`]} ${needBorder ? style[`border_${borderPalette}`] : ''}`,
|
|
58
58
|
"data-title": iconTitle,
|
|
59
59
|
"data-id": iconTitle === 'Remove Follower' && 'removeFollower',
|
|
@@ -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 from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -47,22 +49,20 @@ export default function AvatarUser(props) {
|
|
|
47
49
|
portalTitle = 'End User',
|
|
48
50
|
lockTitle = 'Locked'
|
|
49
51
|
} = i18nKeys;
|
|
50
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
52
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
51
53
|
className: `${style.container} ${style[size]}`,
|
|
52
54
|
"data-id": dataId || name || iconName,
|
|
53
55
|
"data-test-id": dataId || name || iconName,
|
|
54
|
-
"data-selector-id": dataSelectorId
|
|
55
|
-
|
|
56
|
-
}, iconName ? /*#__PURE__*/React.createElement(AvatarIcon, {
|
|
56
|
+
"data-selector-id": dataSelectorId
|
|
57
|
+
}, AvatarUserProps), iconName ? /*#__PURE__*/React.createElement(AvatarIcon, _extends({
|
|
57
58
|
name: iconName,
|
|
58
59
|
iconSize: iconSize,
|
|
59
60
|
size: size,
|
|
60
61
|
iconClass: iconClass,
|
|
61
62
|
dataId: iconName,
|
|
62
63
|
iconColor: iconColor,
|
|
63
|
-
title: title
|
|
64
|
-
|
|
65
|
-
}) : /*#__PURE__*/React.createElement(Avatar, {
|
|
64
|
+
title: title
|
|
65
|
+
}, AvatarIconProps)) : /*#__PURE__*/React.createElement(Avatar, _extends({
|
|
66
66
|
src: src,
|
|
67
67
|
name: name,
|
|
68
68
|
initial: initial,
|
|
@@ -73,9 +73,8 @@ export default function AvatarUser(props) {
|
|
|
73
73
|
palette: palette,
|
|
74
74
|
textPalette: textPalette,
|
|
75
75
|
customClass: customTextClass,
|
|
76
|
-
alternateSrc: alternateSrc
|
|
77
|
-
|
|
78
|
-
}), isPaid ? /*#__PURE__*/React.createElement("span", {
|
|
76
|
+
alternateSrc: alternateSrc
|
|
77
|
+
}, AvatarProps)), isPaid ? /*#__PURE__*/React.createElement("span", {
|
|
79
78
|
"data-title": paidTitle,
|
|
80
79
|
className: style.paid,
|
|
81
80
|
"data-id": "paidUser",
|
|
@@ -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';
|
|
@@ -30,13 +32,12 @@ export default function AvatarWithTeam(props) {
|
|
|
30
32
|
Avatar2Props = {},
|
|
31
33
|
AvatarTeam2Props = {}
|
|
32
34
|
} = customProps;
|
|
33
|
-
return /*#__PURE__*/React.createElement("span", {
|
|
35
|
+
return /*#__PURE__*/React.createElement("span", _extends({
|
|
34
36
|
className: `${style.container} `,
|
|
35
37
|
"data-id": "avatarWithTeamId",
|
|
36
38
|
"data-test-id": "avatarWithTeamId",
|
|
37
|
-
"data-selector-id": dataSelectorId
|
|
38
|
-
|
|
39
|
-
}, isTeam && teamName ? /*#__PURE__*/React.createElement(Avatar, {
|
|
39
|
+
"data-selector-id": dataSelectorId
|
|
40
|
+
}, AvatarWithTeamProps), isTeam && teamName ? /*#__PURE__*/React.createElement(Avatar, _extends({
|
|
40
41
|
name: name,
|
|
41
42
|
src: src,
|
|
42
43
|
size: size,
|
|
@@ -45,9 +46,8 @@ export default function AvatarWithTeam(props) {
|
|
|
45
46
|
palette: palette,
|
|
46
47
|
textPalette: textPalette,
|
|
47
48
|
customClass: customTextClass,
|
|
48
|
-
borderOnActive: borderOnActive
|
|
49
|
-
|
|
50
|
-
}) : isTeam ? /*#__PURE__*/React.createElement(AvatarTeam, {
|
|
49
|
+
borderOnActive: borderOnActive
|
|
50
|
+
}, Avatar1Props)) : isTeam ? /*#__PURE__*/React.createElement(AvatarTeam, _extends({
|
|
51
51
|
name: name,
|
|
52
52
|
src: src,
|
|
53
53
|
size: size,
|
|
@@ -58,9 +58,8 @@ export default function AvatarWithTeam(props) {
|
|
|
58
58
|
customClass: {
|
|
59
59
|
customAvatar: customTextClass
|
|
60
60
|
},
|
|
61
|
-
borderOnActive: borderOnActive
|
|
62
|
-
|
|
63
|
-
}) : /*#__PURE__*/React.createElement(Avatar, {
|
|
61
|
+
borderOnActive: borderOnActive
|
|
62
|
+
}, AvatarTeam1Props)) : /*#__PURE__*/React.createElement(Avatar, _extends({
|
|
64
63
|
name: name,
|
|
65
64
|
src: src,
|
|
66
65
|
size: size,
|
|
@@ -69,14 +68,13 @@ export default function AvatarWithTeam(props) {
|
|
|
69
68
|
palette: palette,
|
|
70
69
|
textPalette: textPalette,
|
|
71
70
|
customClass: customTextClass,
|
|
72
|
-
borderOnActive: borderOnActive
|
|
73
|
-
|
|
74
|
-
}), teamName ? /*#__PURE__*/React.createElement("span", {
|
|
71
|
+
borderOnActive: borderOnActive
|
|
72
|
+
}, Avatar2Props)), teamName ? /*#__PURE__*/React.createElement("span", {
|
|
75
73
|
className: `${style.teamAvatar} ${teamClassName} `,
|
|
76
74
|
"data-id": "teamNameTestId",
|
|
77
75
|
"data-test-id": "teamNameTestId",
|
|
78
76
|
"data-title": needTitle ? title : undefined
|
|
79
|
-
}, /*#__PURE__*/React.createElement(AvatarTeam, {
|
|
77
|
+
}, /*#__PURE__*/React.createElement(AvatarTeam, _extends({
|
|
80
78
|
name: teamName,
|
|
81
79
|
size: "small",
|
|
82
80
|
palette: palette,
|
|
@@ -86,9 +84,8 @@ export default function AvatarWithTeam(props) {
|
|
|
86
84
|
customClass: {
|
|
87
85
|
customAvatar: customTextClass
|
|
88
86
|
},
|
|
89
|
-
borderOnActive: teamBorderActive
|
|
90
|
-
|
|
91
|
-
})) : null);
|
|
87
|
+
borderOnActive: teamBorderActive
|
|
88
|
+
}, AvatarTeam2Props))) : null);
|
|
92
89
|
}
|
|
93
90
|
AvatarWithTeam.defaultProps = defaultProps;
|
|
94
91
|
AvatarWithTeam.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
|
import React, { Component, Fragment } from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -548,22 +550,21 @@ export class ToggleDropDown extends Component {
|
|
|
548
550
|
let listIndex = -1;
|
|
549
551
|
const ariaTitleId = this.getAriaId(); // const allyOptionsArr = this.getOptionsArray();
|
|
550
552
|
|
|
551
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
553
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
552
554
|
className: style.wrapper,
|
|
553
555
|
onMouseEnter: showOnHover && !isDisabled && !isReadOnly && isEditable ? this.showTogglePopup : undefined,
|
|
554
556
|
onMouseLeave: showOnHover && !isDisabled && !isReadOnly && isEditable ? this.hideTogglePopup : undefined,
|
|
555
|
-
"data-selector-id": dataSelectorId
|
|
556
|
-
|
|
557
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
557
|
+
"data-selector-id": dataSelectorId
|
|
558
|
+
}, ToggleDropDownProps), /*#__PURE__*/React.createElement(Container, {
|
|
558
559
|
alignBox: "row",
|
|
559
560
|
onClick: !showOnHover && !isDisabled && !isReadOnly && isEditable && this.handleTogglePopup,
|
|
560
561
|
eleRef: getTargetRef,
|
|
561
562
|
align: "vertical",
|
|
562
563
|
isCover: false,
|
|
563
564
|
dataId: dataId
|
|
564
|
-
}, children ? isToggleStateNeeded ? /*#__PURE__*/React.createElement(Component, {
|
|
565
|
+
}, children ? isToggleStateNeeded ? /*#__PURE__*/React.createElement(Component, _extends({}, componentProps, {
|
|
565
566
|
isActive: isPopupOpen
|
|
566
|
-
}) : children : /*#__PURE__*/React.createElement(RippleEffect, {
|
|
567
|
+
})) : children : /*#__PURE__*/React.createElement(RippleEffect, {
|
|
567
568
|
hoverType: hoverType,
|
|
568
569
|
isActive: isPopupOpen,
|
|
569
570
|
isNeedEffect: isEditable && isNeedEffect
|
|
@@ -601,7 +602,7 @@ export class ToggleDropDown extends Component {
|
|
|
601
602
|
let {
|
|
602
603
|
tabletMode
|
|
603
604
|
} = _ref4;
|
|
604
|
-
return /*#__PURE__*/React.createElement(ResponsiveDropBox, {
|
|
605
|
+
return /*#__PURE__*/React.createElement(ResponsiveDropBox, _extends({
|
|
605
606
|
boxPosition: position,
|
|
606
607
|
isActive: isPopupReady,
|
|
607
608
|
onClick: removeClose,
|
|
@@ -637,12 +638,12 @@ export class ToggleDropDown extends Component {
|
|
|
637
638
|
searchValue: searchValue,
|
|
638
639
|
isFetchingOptions: isFetchingOptions
|
|
639
640
|
}
|
|
640
|
-
}
|
|
641
|
-
|
|
641
|
+
}
|
|
642
|
+
}, DropBoxProps, {
|
|
642
643
|
onClose: this.handleTogglePopup
|
|
643
|
-
}, /*#__PURE__*/React.createElement(React.Fragment, null, isSearch ? /*#__PURE__*/React.createElement(Box, {
|
|
644
|
+
}), /*#__PURE__*/React.createElement(React.Fragment, null, isSearch ? /*#__PURE__*/React.createElement(Box, {
|
|
644
645
|
className: style.search
|
|
645
|
-
}, /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
646
|
+
}, /*#__PURE__*/React.createElement(TextBoxIcon, _extends({
|
|
646
647
|
placeHolder: placeHolderText,
|
|
647
648
|
onChange: this.handleChange,
|
|
648
649
|
value: searchValue,
|
|
@@ -663,9 +664,8 @@ export class ToggleDropDown extends Component {
|
|
|
663
664
|
ariaAutocomplete: 'list',
|
|
664
665
|
ariaHaspopup: true,
|
|
665
666
|
ariaExpanded: true
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
})) : null, title && options.length != 0 && /*#__PURE__*/React.createElement(Box, {
|
|
667
|
+
}
|
|
668
|
+
}, TextBoxIconProps))) : null, title && options.length != 0 && /*#__PURE__*/React.createElement(Box, {
|
|
669
669
|
className: style.title
|
|
670
670
|
}, /*#__PURE__*/React.createElement(DropDownHeading, {
|
|
671
671
|
text: title,
|
|
@@ -716,7 +716,7 @@ export class ToggleDropDown extends Component {
|
|
|
716
716
|
isDisabled = false
|
|
717
717
|
} = item;
|
|
718
718
|
listIndex += 1;
|
|
719
|
-
return iconName ? /*#__PURE__*/React.createElement(ListItemWithIcon, {
|
|
719
|
+
return iconName ? /*#__PURE__*/React.createElement(ListItemWithIcon, _extends({
|
|
720
720
|
key: listIndex,
|
|
721
721
|
dataId: item[keyName],
|
|
722
722
|
value: item[keyName],
|
|
@@ -742,9 +742,8 @@ export class ToggleDropDown extends Component {
|
|
|
742
742
|
role: isSearch ? 'option' : 'menuitem',
|
|
743
743
|
ariaSelected: selectedId === item[idName],
|
|
744
744
|
ariaLabel: item[keyName]
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
}) : /*#__PURE__*/React.createElement(ListItem, {
|
|
745
|
+
}
|
|
746
|
+
}, ListItemWithIconProps)) : /*#__PURE__*/React.createElement(ListItem, _extends({
|
|
748
747
|
key: listIndex,
|
|
749
748
|
dataId: item[keyName],
|
|
750
749
|
value: item[keyName],
|
|
@@ -767,9 +766,8 @@ export class ToggleDropDown extends Component {
|
|
|
767
766
|
role: isSearch ? 'option' : 'menuitem',
|
|
768
767
|
ariaSelected: selectedId === item[idName],
|
|
769
768
|
ariaLabel: item[keyName]
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
});
|
|
769
|
+
}
|
|
770
|
+
}, ListItemProps));
|
|
773
771
|
}));
|
|
774
772
|
}), isFetchingOptions && /*#__PURE__*/React.createElement(Container, {
|
|
775
773
|
isCover: false,
|
|
@@ -793,7 +791,7 @@ export class ToggleDropDown extends Component {
|
|
|
793
791
|
key: i
|
|
794
792
|
}, needDivider ? /*#__PURE__*/React.createElement("div", {
|
|
795
793
|
className: style.seperatedLine
|
|
796
|
-
}) : iconName ? /*#__PURE__*/React.createElement(ListItemWithIcon, {
|
|
794
|
+
}) : iconName ? /*#__PURE__*/React.createElement(ListItemWithIcon, _extends({
|
|
797
795
|
dataId: item[keyName],
|
|
798
796
|
value: item[keyName],
|
|
799
797
|
id: item[idName],
|
|
@@ -819,9 +817,8 @@ export class ToggleDropDown extends Component {
|
|
|
819
817
|
role: isSearch ? 'option' : 'menuitem',
|
|
820
818
|
ariaSelected: selectedId === item[idName],
|
|
821
819
|
ariaLabel: item[keyName]
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
}) : /*#__PURE__*/React.createElement(ListItem, {
|
|
820
|
+
}
|
|
821
|
+
}, ListItemWithIconProps)) : /*#__PURE__*/React.createElement(ListItem, _extends({
|
|
825
822
|
key: listIndex,
|
|
826
823
|
dataId: item[keyName],
|
|
827
824
|
value: item[keyName],
|
|
@@ -844,9 +841,8 @@ export class ToggleDropDown extends Component {
|
|
|
844
841
|
role: isSearch ? 'option' : 'menuitem',
|
|
845
842
|
ariaSelected: selectedId === item[idName],
|
|
846
843
|
ariaLabel: item[keyName]
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
}));
|
|
844
|
+
}
|
|
845
|
+
}, ListItemProps)));
|
|
850
846
|
}), isFetchingOptions && /*#__PURE__*/React.createElement(Container, {
|
|
851
847
|
isCover: false,
|
|
852
848
|
align: "both"
|
|
@@ -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, { memo } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -56,7 +58,7 @@ function CheckBoxField(props) {
|
|
|
56
58
|
lockedInfoText: lockedInfoText,
|
|
57
59
|
infoText: infoText,
|
|
58
60
|
renderProps: renderLabelProps
|
|
59
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
61
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
60
62
|
text: labelName,
|
|
61
63
|
id: id,
|
|
62
64
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
@@ -66,9 +68,8 @@ function CheckBoxField(props) {
|
|
|
66
68
|
title: labelName,
|
|
67
69
|
onClick: !removeEvent ? handleLabelClick : null,
|
|
68
70
|
variant: isDirectCol ? 'default' : 'primary',
|
|
69
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
70
|
-
|
|
71
|
-
}));
|
|
71
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
72
|
+
}, LabelProps)));
|
|
72
73
|
|
|
73
74
|
function handleChange(value) {
|
|
74
75
|
onChange && onChange(id, value);
|
|
@@ -94,30 +95,27 @@ function CheckBoxField(props) {
|
|
|
94
95
|
align: "top"
|
|
95
96
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
96
97
|
className: isDirectCol ? style.checkbox : style.checkboxRow
|
|
97
|
-
}, /*#__PURE__*/React.createElement(CheckBox, {
|
|
98
|
+
}, /*#__PURE__*/React.createElement(CheckBox, _extends({
|
|
98
99
|
id: id,
|
|
99
100
|
onChange: handleChange,
|
|
100
101
|
disabled: removeEvent,
|
|
101
102
|
checked: checked,
|
|
102
103
|
getRef: handleGetRef,
|
|
103
104
|
dataId: dataId,
|
|
104
|
-
getContainerRef: getContainerRef
|
|
105
|
-
|
|
106
|
-
})), !isDirectCol && /*#__PURE__*/React.createElement(Box, {
|
|
105
|
+
getContainerRef: getContainerRef
|
|
106
|
+
}, CheckBoxProps))), !isDirectCol && /*#__PURE__*/React.createElement(Box, {
|
|
107
107
|
flexible: true
|
|
108
|
-
}, labelElement)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
108
|
+
}, labelElement)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
109
109
|
text: validationMessage,
|
|
110
110
|
palette: validationPalette,
|
|
111
111
|
type: errorType,
|
|
112
|
-
dataId: `${dataId}_ValidationMessage
|
|
113
|
-
|
|
114
|
-
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
112
|
+
dataId: `${dataId}_ValidationMessage`
|
|
113
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
115
114
|
text: validationRuleMessage,
|
|
116
115
|
palette: validationRulePalette,
|
|
117
116
|
type: errorType,
|
|
118
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
119
|
-
|
|
120
|
-
})));
|
|
117
|
+
dataId: `${dataId}_ValidationRuleMessage`
|
|
118
|
+
}, ValidationMessageProps2))));
|
|
121
119
|
}
|
|
122
120
|
|
|
123
121
|
CheckBoxField.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, { memo, useRef, useState } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -101,17 +103,16 @@ function CurrencyField(props) {
|
|
|
101
103
|
isLocked: isLocked,
|
|
102
104
|
lockedInfoText: lockedInfoText,
|
|
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
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
112
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
113
|
+
}, LabelProps))), /*#__PURE__*/React.createElement("div", {
|
|
113
114
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
114
|
-
}, /*#__PURE__*/React.createElement(TextBox, {
|
|
115
|
+
}, /*#__PURE__*/React.createElement(TextBox, _extends({
|
|
115
116
|
htmlId: uniqueId,
|
|
116
117
|
id: id,
|
|
117
118
|
type: textBoxType,
|
|
@@ -131,23 +132,20 @@ function CurrencyField(props) {
|
|
|
131
132
|
isDisabled: isDisabled,
|
|
132
133
|
needEffect: isReadOnly || isDisabled ? false : true,
|
|
133
134
|
isClickable: isClickable,
|
|
134
|
-
needReadOnlyStyle: needReadOnlyStyle
|
|
135
|
-
|
|
136
|
-
}), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
135
|
+
needReadOnlyStyle: needReadOnlyStyle
|
|
136
|
+
}, TextBoxProps)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
137
137
|
text: validationMessage,
|
|
138
138
|
palette: validationPalette,
|
|
139
139
|
type: errorType,
|
|
140
140
|
dataId: `${dataId}_ValidationMessage`,
|
|
141
|
-
htmlFor: uniqueId
|
|
142
|
-
|
|
143
|
-
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
141
|
+
htmlFor: uniqueId
|
|
142
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
144
143
|
text: validationRuleMessage,
|
|
145
144
|
palette: validationRulePalette,
|
|
146
145
|
type: errorType,
|
|
147
146
|
htmlFor: uniqueId,
|
|
148
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
149
|
-
|
|
150
|
-
})));
|
|
147
|
+
dataId: `${dataId}_ValidationRuleMessage`
|
|
148
|
+
}, ValidationMessageProps2))));
|
|
151
149
|
}
|
|
152
150
|
|
|
153
151
|
CurrencyField.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, { memo, useEffect, useRef } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -101,21 +103,21 @@ function DateField(props) {
|
|
|
101
103
|
isLocked: isLocked,
|
|
102
104
|
lockedInfoText: lockedInfoText,
|
|
103
105
|
renderProps: renderLabelProps
|
|
104
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
106
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
105
107
|
text: labelName,
|
|
106
108
|
htmlFor: getAriaId,
|
|
107
109
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
108
110
|
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
109
111
|
onClick: isDisabled || isReadOnly ? null : handleLabelClick,
|
|
110
112
|
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
111
|
-
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label
|
|
112
|
-
|
|
113
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
|
|
114
|
+
}, LabelProps, {
|
|
113
115
|
id: labelName
|
|
114
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
116
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
115
117
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
116
118
|
}, isLocked && lockedValueText ? /*#__PURE__*/React.createElement("div", {
|
|
117
119
|
className: style.lockText
|
|
118
|
-
}, lockedValueText) : /*#__PURE__*/React.createElement(DateWidget, {
|
|
120
|
+
}, lockedValueText) : /*#__PURE__*/React.createElement(DateWidget, _extends({
|
|
119
121
|
textBoxSize: fieldSize === 'medium' ? textBoxSize : 'xsmall',
|
|
120
122
|
textBoxVariant: textBoxVariant,
|
|
121
123
|
isDateTime: isDateTime,
|
|
@@ -133,26 +135,24 @@ function DateField(props) {
|
|
|
133
135
|
isEditable: true,
|
|
134
136
|
htmlId: getAriaId,
|
|
135
137
|
i18nKeys: i18nKeys,
|
|
136
|
-
iconOnHover: iconOnHover
|
|
137
|
-
|
|
138
|
+
iconOnHover: iconOnHover
|
|
139
|
+
}, DateWidgetProps, {
|
|
138
140
|
a11y: {
|
|
139
141
|
ariaLabelledby: labelName
|
|
140
142
|
}
|
|
141
|
-
}), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
143
|
+
})), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
142
144
|
text: validationMessage,
|
|
143
145
|
palette: validationPalette,
|
|
144
146
|
type: errorType,
|
|
145
147
|
htmlFor: getAriaId,
|
|
146
|
-
dataId: `${dataId}_ValidationMessage
|
|
147
|
-
|
|
148
|
-
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
148
|
+
dataId: `${dataId}_ValidationMessage`
|
|
149
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
149
150
|
text: validationRuleMessage,
|
|
150
151
|
palette: validationRulePalette,
|
|
151
152
|
type: errorType,
|
|
152
153
|
htmlFor: getAriaId,
|
|
153
|
-
dataId: `${dataId}_ValidationRuleMessage
|
|
154
|
-
|
|
155
|
-
})));
|
|
154
|
+
dataId: `${dataId}_ValidationRuleMessage`
|
|
155
|
+
}, ValidationMessageProps2))));
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
DateField.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, { memo, useRef } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -120,7 +122,7 @@ function MultiSelectField(props) {
|
|
|
120
122
|
isLocked: isLocked,
|
|
121
123
|
lockedInfoText: lockedInfoText,
|
|
122
124
|
renderProps: renderLabelProps
|
|
123
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
125
|
+
}, /*#__PURE__*/React.createElement(Label, _extends({
|
|
124
126
|
text: labelName,
|
|
125
127
|
id: id,
|
|
126
128
|
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
@@ -128,9 +130,8 @@ function MultiSelectField(props) {
|
|
|
128
130
|
,
|
|
129
131
|
customClass: `${style.fieldLabel} ${isMandatory ? style.labelMandatory : ''}`,
|
|
130
132
|
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
131
|
-
htmlFor: uniqueId
|
|
132
|
-
|
|
133
|
-
})), /*#__PURE__*/React.createElement(MultiSelect, {
|
|
133
|
+
htmlFor: uniqueId
|
|
134
|
+
}, LabelProps))), /*#__PURE__*/React.createElement(MultiSelect, _extends({
|
|
134
135
|
options: options,
|
|
135
136
|
onChange: handleChange,
|
|
136
137
|
selectedOptions: selectedOptions,
|
|
@@ -161,24 +162,22 @@ function MultiSelectField(props) {
|
|
|
161
162
|
i18nKeys: i18nKeys,
|
|
162
163
|
htmlId: uniqueId,
|
|
163
164
|
customChildrenClass: customChildrenClass,
|
|
164
|
-
onFocus: onFocus
|
|
165
|
-
|
|
165
|
+
onFocus: onFocus
|
|
166
|
+
}, MultiSelectProps, {
|
|
166
167
|
ariaLabelledby: uniqueId
|
|
167
|
-
}, children ? children : null), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
168
|
+
}), children ? children : null), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
168
169
|
text: validationMessage,
|
|
169
170
|
palette: validationPalette,
|
|
170
171
|
type: errorType,
|
|
171
172
|
dataId: `${dataId}_ValidationMessage`,
|
|
172
|
-
htmlFor: uniqueId
|
|
173
|
-
|
|
174
|
-
}), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
|
|
173
|
+
htmlFor: uniqueId
|
|
174
|
+
}, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
|
|
175
175
|
text: validationRuleMessage,
|
|
176
176
|
palette: validationRulePalette,
|
|
177
177
|
type: errorType,
|
|
178
178
|
dataId: `${dataId}_ValidationRuleMessage`,
|
|
179
|
-
htmlFor: uniqueId
|
|
180
|
-
|
|
181
|
-
}));
|
|
179
|
+
htmlFor: uniqueId
|
|
180
|
+
}, ValidationMessageProps2)));
|
|
182
181
|
}
|
|
183
182
|
|
|
184
183
|
MultiSelectField.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, { memo, useState, useRef } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -104,7 +106,7 @@ function PhoneField(props) {
|
|
|
104
106
|
dataSelectorId: dataSelectorId
|
|
105
107
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
106
108
|
flexible: true
|
|
107
|
-
}, /*#__PURE__*/React.createElement(TextBoxField, {
|
|
109
|
+
}, /*#__PURE__*/React.createElement(TextBoxField, _extends({
|
|
108
110
|
labelName: labelName,
|
|
109
111
|
id: id,
|
|
110
112
|
palette: isMandatory ? 'mandatory' : 'default',
|
|
@@ -131,9 +133,8 @@ function PhoneField(props) {
|
|
|
131
133
|
labelPalette: labelPalette,
|
|
132
134
|
labelCustomClass: labelCustomClass,
|
|
133
135
|
errorType: errorType,
|
|
134
|
-
ePhiData: ePhiData
|
|
135
|
-
|
|
136
|
-
})), /*#__PURE__*/React.createElement(Box, null, isTelephony && value ? /*#__PURE__*/React.createElement(Link, {
|
|
136
|
+
ePhiData: ePhiData
|
|
137
|
+
}, TextBoxFieldProps))), /*#__PURE__*/React.createElement(Box, null, isTelephony && value ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
137
138
|
className: style.phoneIcon,
|
|
138
139
|
callfrom: "phone",
|
|
139
140
|
pbxname: providerName,
|
|
@@ -144,9 +145,8 @@ function PhoneField(props) {
|
|
|
144
145
|
callto: 'RequestPhoneNumber',
|
|
145
146
|
href: true,
|
|
146
147
|
onClick: onCall,
|
|
147
|
-
type: type
|
|
148
|
-
|
|
149
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
148
|
+
type: type
|
|
149
|
+
}, LinkProps), /*#__PURE__*/React.createElement(Icon, {
|
|
150
150
|
name: "ZD-GN-phone",
|
|
151
151
|
size: "14"
|
|
152
152
|
})) : null));
|