@zohodesk/dot 1.0.0-temp-112 → 1.0.0-temp-114
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/README.md +1173 -1176
- package/assets/Appearance/dark/mode/dotDarkMode.module.css +1 -1
- package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +1 -1
- package/css_error.log +0 -0
- package/dubFinder.js +96 -96
- package/es/ActionButton/ActionButton.module.css +136 -136
- package/es/AlphabeticList/AlphabeticList.module.css +57 -57
- package/es/Attachment/Attachment.module.css +157 -157
- package/es/AttachmentViewer/AttachmentViewer.module.css +354 -354
- package/es/ChannelIcon/ChannelIcon.module.css +217 -217
- package/es/Drawer/Drawer.js +0 -0
- package/es/Drawer/Drawer.module.css +150 -150
- package/es/ExternalLink/ExternalLink.js +0 -0
- package/es/ExternalLink/ExternalLink.module.css +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/es/FlipCard/FlipCard.module.css +44 -44
- package/es/FormAction/FormAction.module.css +82 -82
- package/es/FreezeLayer/FreezeLayer.module.css +42 -42
- package/es/IconButton/IconButton.module.css +22 -22
- package/es/Image/Image.module.css +10 -10
- package/es/ImportantNotes/ImportantNotes.module.css +20 -20
- package/es/Link/Link.js +0 -0
- package/es/Link/Link.module.css +3 -3
- package/es/Loader/Loader.module.css +46 -46
- package/es/Message/Message.module.css +102 -102
- package/es/MessageBanner/MessageBanner.module.css +46 -46
- package/es/NewStar/NewStar.module.css +110 -110
- package/es/PlusIcon/PlusIcon.js +0 -0
- package/es/PlusIcon/PlusIcon.module.css +16 -16
- package/es/ToastMessage/ToastMessage.js +0 -0
- package/es/ToastMessage/ToastMessage.module.css +328 -328
- package/es/Upload/Upload.module.css +125 -125
- package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/es/avatar/AvatarStatus/AvatarStatus.js +0 -0
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
- package/es/avatar/AvatarUser/AvatarUser.js +0 -0
- package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/es/common/dot_animation.module.css +26 -26
- package/es/common/dot_common.module.css +3 -3
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
- package/es/deprecated/utils/KeyboardApi.js +25 -25
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +8 -4
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +101 -101
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
- package/es/emptystate/EditionPage/EditionPage.css +43 -43
- package/es/errorstate/EmptyStates.module.css +87 -87
- package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/es/errorstate/LinkText/LinkText.module.css +6 -6
- package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/es/errorstate/WillBack/WillBack.module.css +34 -34
- package/es/form/fields/CheckBoxField/CheckBoxField.js +2 -3
- package/es/form/fields/CurrencyField/CurrencyField.js +8 -43
- package/es/form/fields/CurrencyField/props/defaultProps.js +0 -1
- package/es/form/fields/DateField/DateField.js +8 -93
- package/es/form/fields/DateField/props/defaultProps.js +0 -1
- package/es/form/fields/Fields.module.css +183 -248
- package/es/form/fields/MultiSelectField/MultiSelectField.js +9 -91
- package/es/form/fields/MultiSelectField/props/defaultProps.js +0 -1
- package/es/form/fields/PhoneField/PhoneField.js +1 -3
- package/es/form/fields/PhoneField/props/defaultProps.js +1 -2
- package/es/form/fields/RadioField/RadioField.js +1 -1
- package/es/form/fields/SelectField/SelectField.js +12 -99
- package/es/form/fields/SelectField/props/defaultProps.js +0 -1
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/es/form/fields/TextBoxField/TextBoxField.js +8 -59
- package/es/form/fields/TextBoxField/props/defaultProps.js +0 -1
- package/es/form/fields/TextEditor/TextEditor.module.css +666 -666
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
- package/es/form/fields/TextareaField/TextareaField.js +12 -58
- package/es/form/fields/TextareaField/props/defaultProps.js +0 -1
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/es/form/layout/Field/Field.js +0 -0
- package/es/form/layout/Field/Field.module.css +22 -22
- package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/es/form/layout/Section/Section.js +0 -0
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/es/layout/SubtabLayout/SubtabLayout.module.css +146 -146
- package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/DotNew/DotNew.module.css +22 -22
- package/es/list/GridStencils/GridStencils.module.css +146 -146
- package/es/list/Icons/Icons.module.css +16 -16
- package/es/list/ListLayout/ListLayout.js +1 -0
- package/es/list/ListLayout/ListLayout.module.css +57 -57
- package/es/list/ListStencils/ListStencils.module.css +67 -67
- package/es/list/SecondaryText/SecondaryText.module.css +136 -136
- package/es/list/SecondaryText/Website.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/es/list/Subject/Subject.module.css +27 -27
- package/es/list/TagNew/TagNew.module.css +115 -115
- package/es/list/Thread/Thread.module.css +42 -42
- package/es/list/UserTime/UserTime.module.css +58 -58
- package/es/list/listCommon.module.css +60 -60
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
- package/es/list/status/StatusListItem/StatusListItem.js +0 -0
- package/es/list/status/StatusListItem/StatusListItem.module.css +104 -104
- package/es/lookup/EmptyPage/EmptyPage.js +0 -0
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/es/lookup/Lookup/Lookup.js +0 -0
- package/es/lookup/Lookup/Lookup.module.css +26 -26
- package/es/lookup/Section/LookupSection.module.css +8 -8
- package/es/lookup/header/Close/LookupClose.module.css +15 -15
- package/es/lookup/header/Search/LookupSearch.module.css +57 -57
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/es/lookup/header/Title/LookupTitle.module.css +20 -20
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
- package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/es/setup/header/Button/HeaderButton.module.css +5 -5
- package/es/setup/header/Link/HeaderLink.module.css +21 -21
- package/es/setup/header/Search/Search.module.css +68 -68
- package/es/setup/header/Views/Views.module.css +37 -37
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
- package/es/setup/helptips/Link/Link.js +0 -0
- package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
- package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/es/setup/helptips/Title/Title.js +0 -0
- package/es/setup/table/TableData/SetupTableData.module.css +44 -44
- package/es/setup/table/TableData/Tablehover.module.css +6 -6
- package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/es/setup/table/Text/TableText.module.css +37 -37
- package/es/setup/table/Text/Text.js +0 -0
- package/es/svg/PlusIcon.js +1 -1
- package/es/svg/SnippetIcon.js +2 -2
- package/es/version2/AlertClose/AlertClose.module.css +42 -42
- package/es/version2/GlobalNotification/GlobalNotification.module.css +124 -124
- package/es/version2/alertIcons/AlertIcons.module.css +67 -67
- package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -106
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
- package/lib/ActionButton/ActionButton.js +1 -3
- package/lib/ActionButton/ActionButton.module.css +136 -136
- package/lib/AlphabeticList/AlphabeticList.js +1 -3
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
- package/lib/Attachment/Attachment.js +1 -3
- package/lib/Attachment/Attachment.module.css +157 -157
- package/lib/AttachmentViewer/AttachmentImage.js +1 -3
- package/lib/AttachmentViewer/AttachmentViewer.js +1 -3
- package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -354
- package/lib/AttachmentViewer/utils.js +1 -4
- package/lib/ChannelIcon/ChannelIcon.js +1 -3
- package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
- package/lib/Drawer/Drawer.js +1 -3
- package/lib/Drawer/Drawer.module.css +150 -150
- package/lib/ExternalLink/ExternalLink.js +1 -3
- package/lib/ExternalLink/ExternalLink.module.css +3 -3
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/lib/FlipCard/FlipCard.js +1 -3
- package/lib/FlipCard/FlipCard.module.css +44 -44
- package/lib/FormAction/FormAction.js +1 -3
- package/lib/FormAction/FormAction.module.css +82 -82
- package/lib/FreezeLayer/FreezeLayer.js +1 -3
- package/lib/FreezeLayer/FreezeLayer.module.css +42 -42
- package/lib/IconButton/IconButton.js +1 -3
- package/lib/IconButton/IconButton.module.css +22 -22
- package/lib/IconButton/props/propTypes.js +1 -4
- package/lib/Image/Image.js +1 -3
- package/lib/Image/Image.module.css +10 -10
- package/lib/ImportantNotes/ImportantNotes.js +1 -3
- package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
- package/lib/Link/Link.js +1 -3
- package/lib/Link/Link.module.css +3 -3
- package/lib/Loader/Loader.js +1 -3
- package/lib/Loader/Loader.module.css +46 -46
- package/lib/Message/Message.js +1 -3
- package/lib/Message/Message.module.css +102 -102
- package/lib/MessageBanner/MessageBanner.js +1 -3
- package/lib/MessageBanner/MessageBanner.module.css +46 -46
- package/lib/NewStar/NewStar.js +1 -3
- package/lib/NewStar/NewStar.module.css +110 -110
- package/lib/PlusIcon/PlusIcon.js +1 -3
- package/lib/PlusIcon/PlusIcon.module.css +16 -16
- package/lib/ToastMessage/ToastMessage.js +1 -1
- package/lib/ToastMessage/ToastMessage.module.css +328 -328
- package/lib/Upload/Upload.js +1 -3
- package/lib/Upload/Upload.module.css +125 -125
- package/lib/actions/AutoClose.js +1 -1
- package/lib/alert/AlertHeader/AlertHeader.js +1 -3
- package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/lib/alert/AlertLookup/AlertLookup.js +1 -3
- package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/lib/avatar/AvatarClose/AvatarClose.js +1 -3
- package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/lib/avatar/AvatarCollision/AvatarCollision.js +1 -3
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/lib/avatar/AvatarIcon/AvatarIcon.js +1 -3
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/lib/avatar/AvatarStatus/AvatarStatus.js +1 -3
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/lib/avatar/AvatarThread/AvatarThread.js +1 -3
- package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
- package/lib/avatar/AvatarUser/AvatarUser.js +2 -5
- package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +1 -3
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/lib/common/dot_animation.module.css +26 -26
- package/lib/common/dot_common.module.css +3 -3
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +1 -3
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
- package/lib/deprecated/utils/KeyboardApi.js +26 -29
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +10 -8
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +101 -101
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +1 -3
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
- package/lib/emptystate/EditionPage/EditionPage.css +43 -43
- package/lib/emptystate/EditionPage/EditionPage.js +1 -3
- package/lib/errorstate/EmptyStates.module.css +87 -87
- package/lib/errorstate/Inconvenience/Inconvenience.js +1 -3
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/lib/errorstate/LinkText/LinkText.js +1 -3
- package/lib/errorstate/LinkText/LinkText.module.css +6 -6
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +1 -3
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +1 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +1 -3
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +1 -3
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -3
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/lib/errorstate/WillBack/WillBack.js +1 -3
- package/lib/errorstate/WillBack/WillBack.module.css +34 -34
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +3 -6
- package/lib/form/fields/CheckBoxField/props/defaultProps.js +1 -4
- package/lib/form/fields/CheckBoxField/props/propTypes.js +1 -4
- package/lib/form/fields/CurrencyField/CurrencyField.js +42 -79
- package/lib/form/fields/CurrencyField/props/defaultProps.js +1 -5
- package/lib/form/fields/CurrencyField/props/propTypes.js +1 -4
- package/lib/form/fields/DateField/DateField.js +41 -131
- package/lib/form/fields/DateField/props/defaultProps.js +1 -4
- package/lib/form/fields/DateField/props/propTypes.js +1 -4
- package/lib/form/fields/FieldContainer/FieldContainer.js +1 -3
- package/lib/form/fields/FieldContainer/props/defaultProps.js +1 -4
- package/lib/form/fields/FieldContainer/props/propTypes.js +1 -4
- package/lib/form/fields/Fields.module.css +183 -248
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +53 -138
- package/lib/form/fields/MultiSelectField/props/defaultProps.js +1 -4
- package/lib/form/fields/MultiSelectField/props/propTypes.js +1 -4
- package/lib/form/fields/PhoneField/PhoneField.js +2 -6
- package/lib/form/fields/PhoneField/props/defaultProps.js +1 -2
- package/lib/form/fields/RadioField/RadioField.js +2 -4
- package/lib/form/fields/SelectField/SelectField.js +61 -153
- package/lib/form/fields/SelectField/props/defaultProps.js +2 -6
- package/lib/form/fields/SelectField/props/propTypes.js +1 -4
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +1 -3
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +1 -1
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -4
- package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +1 -4
- package/lib/form/fields/TextBoxField/TextBoxField.js +44 -97
- package/lib/form/fields/TextBoxField/props/defaultProps.js +2 -6
- package/lib/form/fields/TextBoxField/props/propTypes.js +1 -4
- package/lib/form/fields/TextEditor/TextEditor.js +2 -4
- package/lib/form/fields/TextEditor/TextEditor.module.css +666 -666
- package/lib/form/fields/TextEditorField/TextEditorField.js +1 -3
- package/lib/form/fields/TextEditorField/props/defaultProps.js +1 -4
- package/lib/form/fields/TextEditorField/props/propTypes.js +1 -4
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -5
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
- package/lib/form/fields/TextareaField/TextareaField.js +45 -92
- package/lib/form/fields/TextareaField/props/defaultProps.js +1 -4
- package/lib/form/fields/TextareaField/props/propTypes.js +1 -4
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +1 -3
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/lib/form/layout/Field/Field.js +1 -3
- package/lib/form/layout/Field/Field.module.css +22 -22
- package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/lib/form/layout/Section/Section.js +1 -3
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +1 -3
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/lib/layout/SubtabLayout/SubtabLayout.js +1 -3
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +146 -146
- package/lib/list/AvatarFlip/AvatarFlip.js +1 -3
- package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/lib/list/BluePrintStatus/BluePrintStatus.js +1 -3
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/lib/list/Comment/Comment.js +1 -3
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +1 -3
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/lib/list/DepartmentDropDown/props/propTypes.js +1 -4
- package/lib/list/Dot/Dot.js +1 -3
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/DotNew/DotNew.js +1 -3
- package/lib/list/DotNew/DotNew.module.css +22 -22
- package/lib/list/GridStencils/GridStencils.js +1 -3
- package/lib/list/GridStencils/GridStencils.module.css +146 -146
- package/lib/list/Icons/AddNewIcon.js +1 -3
- package/lib/list/Icons/CompleteIcon.js +1 -3
- package/lib/list/Icons/DeleteIcon.js +1 -3
- package/lib/list/Icons/EditIcon.js +1 -3
- package/lib/list/Icons/FloatingIcons.js +1 -3
- package/lib/list/Icons/Icons.module.css +16 -16
- package/lib/list/Icons/ReadUnreadIcon.js +1 -3
- package/lib/list/Icons/SmartIcon.js +1 -3
- package/lib/list/ListLayout/ListLayout.js +2 -3
- package/lib/list/ListLayout/ListLayout.module.css +57 -57
- package/lib/list/ListLayout/props/propTypes.js +1 -4
- package/lib/list/ListStencils/ListStencils.js +1 -3
- package/lib/list/ListStencils/ListStencils.module.css +67 -67
- package/lib/list/SecondaryText/AccountName.js +1 -3
- package/lib/list/SecondaryText/ContactName.js +1 -3
- package/lib/list/SecondaryText/DepartmentText.js +1 -3
- package/lib/list/SecondaryText/Email.js +1 -3
- package/lib/list/SecondaryText/HappinessRating.js +1 -3
- package/lib/list/SecondaryText/PhoneNumber.js +1 -3
- package/lib/list/SecondaryText/PriorityText.js +1 -3
- package/lib/list/SecondaryText/SecondaryText.js +1 -3
- package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
- package/lib/list/SecondaryText/StatusText.js +1 -3
- package/lib/list/SecondaryText/TicketId.js +1 -3
- package/lib/list/SecondaryText/Website.js +1 -3
- package/lib/list/SecondryPanel/SecondryPanel.js +1 -3
- package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/lib/list/SentimentStatus/SentimentStatus.js +1 -3
- package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/lib/list/Subject/Subject.js +1 -3
- package/lib/list/Subject/Subject.module.css +27 -27
- package/lib/list/TagNew/TagNew.js +1 -3
- package/lib/list/TagNew/TagNew.module.css +115 -115
- package/lib/list/Thread/Thread.js +1 -3
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/list/UserTime/UserTime.js +1 -3
- package/lib/list/UserTime/UserTime.module.css +58 -58
- package/lib/list/listCommon.module.css +60 -60
- package/lib/list/status/StatusDropdown/StatusDropdown.js +1 -3
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
- package/lib/list/status/StatusDropdown/props/propTypes.js +1 -4
- package/lib/list/status/StatusListItem/StatusListItem.js +1 -3
- package/lib/list/status/StatusListItem/StatusListItem.module.css +104 -104
- package/lib/lookup/EmptyPage/EmptyPage.js +1 -3
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/lib/lookup/Lookup/Lookup.js +2 -5
- package/lib/lookup/Lookup/Lookup.module.css +26 -26
- package/lib/lookup/Section/LookupSection.module.css +8 -8
- package/lib/lookup/Section/Section.js +1 -3
- package/lib/lookup/header/Close/Close.js +1 -3
- package/lib/lookup/header/Close/LookupClose.module.css +15 -15
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +2 -5
- package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
- package/lib/lookup/header/Search/Search.js +1 -3
- package/lib/lookup/header/TicketHeader/TicketHeader.js +2 -5
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
- package/lib/lookup/header/Title/Title.js +1 -3
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +1 -3
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
- package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/lib/setup/header/Button/Button.js +1 -3
- package/lib/setup/header/Button/HeaderButton.module.css +5 -5
- package/lib/setup/header/Link/HeaderLink.module.css +21 -21
- package/lib/setup/header/Link/Link.js +1 -3
- package/lib/setup/header/Search/Search.js +1 -3
- package/lib/setup/header/Search/Search.module.css +68 -68
- package/lib/setup/header/Views/Views.js +1 -3
- package/lib/setup/header/Views/Views.module.css +37 -37
- package/lib/setup/helptips/Description/Description.js +1 -3
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
- package/lib/setup/helptips/Link/Link.js +1 -3
- package/lib/setup/helptips/ListGroup/ListGroup.js +1 -3
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
- package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/lib/setup/helptips/Title/Title.js +1 -3
- package/lib/setup/table/Table/Table.js +1 -3
- package/lib/setup/table/TableBody/TableBody.js +1 -3
- package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
- package/lib/setup/table/TableData/TableData.js +1 -3
- package/lib/setup/table/TableData/Tablehover.module.css +6 -6
- package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/lib/setup/table/TableHead/TableHead.js +1 -3
- package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/lib/setup/table/TableRow/TableRow.js +1 -3
- package/lib/setup/table/Text/TableText.module.css +37 -37
- package/lib/setup/table/Text/Text.js +1 -3
- package/lib/svg/PlusIcon.js +2 -4
- package/lib/svg/SnippetIcon.js +3 -5
- package/lib/svg/TemplateIcon.js +1 -3
- package/lib/version2/AlertClose/AlertClose.js +1 -3
- package/lib/version2/AlertClose/AlertClose.module.css +42 -42
- package/lib/version2/GlobalNotification/GlobalNotification.js +1 -3
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +124 -124
- package/lib/version2/alertIcons/AlarmAlertIcon.js +1 -3
- package/lib/version2/alertIcons/AlertIcons.js +1 -3
- package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
- package/lib/version2/alertIcons/DangerAlertIcon.js +1 -3
- package/lib/version2/alertIcons/ErrorAlertIcon.js +1 -3
- package/lib/version2/alertIcons/InfoAlertIcon.js +1 -3
- package/lib/version2/alertIcons/NotificationAlertIcon.js +1 -3
- package/lib/version2/alertIcons/SuccessAlertIcon.js +1 -3
- package/lib/version2/alertIcons/WarningAlertIcon.js +1 -3
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +1 -3
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -3
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -3
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -3
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +1 -3
- package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +1 -3
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +1 -3
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +1 -3
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -106
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -3
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
- package/package.json +93 -93
|
@@ -13,17 +13,14 @@ var _MultiSelect = _interopRequireDefault(require("@zohodesk/components/lib/Mult
|
|
|
13
13
|
var _ValidationMessage = _interopRequireDefault(require("../ValidationMessage/ValidationMessage"));
|
|
14
14
|
var _IdProvider = require("@zohodesk/components/lib/Provider/IdProvider");
|
|
15
15
|
var _FieldContainer = _interopRequireDefault(require("../FieldContainer/FieldContainer"));
|
|
16
|
-
var _RippleEffect = _interopRequireDefault(require("@zohodesk/components/lib/RippleEffect/RippleEffect"));
|
|
17
16
|
var _FieldsModule = _interopRequireDefault(require("../Fields.module.css"));
|
|
18
17
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
18
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
20
19
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
20
|
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); }
|
|
22
21
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target,
|
|
22
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
24
23
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
26
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
27
24
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
28
25
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
26
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
@@ -45,16 +42,6 @@ var MultiSelectField = /*#__PURE__*/function (_PureComponent) {
|
|
|
45
42
|
_this.onSearch = _this.onSearch.bind(_assertThisInitialized(_this));
|
|
46
43
|
_this.getNextOptions = _this.getNextOptions.bind(_assertThisInitialized(_this));
|
|
47
44
|
_this.getNextId = (0, _IdProvider.getUniqueId)(_assertThisInitialized(_this));
|
|
48
|
-
_this.handleParentClick = _this.handleParentClick.bind(_assertThisInitialized(_this));
|
|
49
|
-
_this.handleFocusToggle = _this.handleFocusToggle.bind(_assertThisInitialized(_this));
|
|
50
|
-
_this.handleFocus = _this.handleFocus.bind(_assertThisInitialized(_this));
|
|
51
|
-
_this.handleBlur = _this.handleBlur.bind(_assertThisInitialized(_this));
|
|
52
|
-
_this.getPopupHandlers = _this.getPopupHandlers.bind(_assertThisInitialized(_this));
|
|
53
|
-
_this.handleDropBoxClose = _this.handleDropBoxClose.bind(_assertThisInitialized(_this));
|
|
54
|
-
_this.state = {
|
|
55
|
-
isFocused: false,
|
|
56
|
-
isPopupOpen: false
|
|
57
|
-
};
|
|
58
45
|
return _this;
|
|
59
46
|
}
|
|
60
47
|
_createClass(MultiSelectField, [{
|
|
@@ -71,12 +58,6 @@ var MultiSelectField = /*#__PURE__*/function (_PureComponent) {
|
|
|
71
58
|
var _this$props2 = this.props,
|
|
72
59
|
onDropBoxOpen = _this$props2.onDropBoxOpen,
|
|
73
60
|
id = _this$props2.id;
|
|
74
|
-
var isPopupOpen = this.state.isPopupOpen;
|
|
75
|
-
if (isPopupOpen == false) {
|
|
76
|
-
this.setState({
|
|
77
|
-
isPopupOpen: true
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
61
|
return onDropBoxOpen && onDropBoxOpen(id);
|
|
81
62
|
}
|
|
82
63
|
}, {
|
|
@@ -108,57 +89,6 @@ var MultiSelectField = /*#__PURE__*/function (_PureComponent) {
|
|
|
108
89
|
this.multiSelectBox = el;
|
|
109
90
|
getRef && getRef(el, id);
|
|
110
91
|
}
|
|
111
|
-
}, {
|
|
112
|
-
key: "handleParentClick",
|
|
113
|
-
value: function handleParentClick(e) {
|
|
114
|
-
var needFieldStyle = this.props.needFieldStyle;
|
|
115
|
-
if (needFieldStyle) {
|
|
116
|
-
this.multiSelectBox.focus();
|
|
117
|
-
this.togglePopup(e);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}, {
|
|
121
|
-
key: "handleFocusToggle",
|
|
122
|
-
value: function handleFocusToggle(value) {
|
|
123
|
-
this.setState({
|
|
124
|
-
isFocused: value
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
}, {
|
|
128
|
-
key: "handleFocus",
|
|
129
|
-
value: function handleFocus(e) {
|
|
130
|
-
var _this$props6 = this.props,
|
|
131
|
-
onFocus = _this$props6.onFocus,
|
|
132
|
-
needFieldStyle = _this$props6.needFieldStyle;
|
|
133
|
-
needFieldStyle && this.handleFocusToggle(true);
|
|
134
|
-
onFocus && onFocus(e);
|
|
135
|
-
}
|
|
136
|
-
}, {
|
|
137
|
-
key: "handleBlur",
|
|
138
|
-
value: function handleBlur(e) {
|
|
139
|
-
var _this$props7 = this.props,
|
|
140
|
-
onBlur = _this$props7.onBlur,
|
|
141
|
-
needFieldStyle = _this$props7.needFieldStyle;
|
|
142
|
-
needFieldStyle && this.handleFocusToggle(false);
|
|
143
|
-
onBlur && onBlur(e);
|
|
144
|
-
}
|
|
145
|
-
}, {
|
|
146
|
-
key: "getPopupHandlers",
|
|
147
|
-
value: function getPopupHandlers(methods) {
|
|
148
|
-
var togglePopup = methods.togglePopup;
|
|
149
|
-
this.togglePopup = togglePopup;
|
|
150
|
-
console.log('togglePopup', togglePopup);
|
|
151
|
-
}
|
|
152
|
-
}, {
|
|
153
|
-
key: "handleDropBoxClose",
|
|
154
|
-
value: function handleDropBoxClose() {
|
|
155
|
-
var isPopupOpen = this.state.isPopupOpen;
|
|
156
|
-
if (isPopupOpen) {
|
|
157
|
-
this.setState({
|
|
158
|
-
isPopupOpen: false
|
|
159
|
-
});
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
92
|
|
|
163
93
|
// handleLabelClick() {
|
|
164
94
|
// let { isFocusOnLabelClick } = this.props;
|
|
@@ -173,51 +103,50 @@ var MultiSelectField = /*#__PURE__*/function (_PureComponent) {
|
|
|
173
103
|
}, {
|
|
174
104
|
key: "render",
|
|
175
105
|
value: function render() {
|
|
176
|
-
var _this$
|
|
177
|
-
labelName = _this$
|
|
178
|
-
id = _this$
|
|
179
|
-
isMandatory = _this$
|
|
180
|
-
options = _this$
|
|
181
|
-
selectedOptions = _this$
|
|
182
|
-
needSelectAll = _this$
|
|
183
|
-
selectAllText = _this$
|
|
184
|
-
isAnimate = _this$
|
|
185
|
-
emptyMessage = _this$
|
|
186
|
-
size = _this$
|
|
187
|
-
variant = _this$
|
|
188
|
-
textBoxSize = _this$
|
|
189
|
-
animationStyle = _this$
|
|
190
|
-
validationMessage = _this$
|
|
191
|
-
validationPalette = _this$
|
|
192
|
-
isReadOnly = _this$
|
|
193
|
-
errorType = _this$
|
|
194
|
-
isDisabled = _this$
|
|
195
|
-
title = _this$
|
|
196
|
-
dataId = _this$
|
|
197
|
-
validationRuleMessage = _this$
|
|
198
|
-
validationRulePalette = _this$
|
|
199
|
-
onKeyDown = _this$
|
|
200
|
-
infoText = _this$
|
|
201
|
-
borderColor = _this$
|
|
202
|
-
placeHolder = _this$
|
|
203
|
-
fieldSize = _this$
|
|
204
|
-
valueField = _this$
|
|
205
|
-
textField = _this$
|
|
206
|
-
isNextOptions = _this$
|
|
207
|
-
isSearching = _this$
|
|
208
|
-
popupGroup = _this$
|
|
209
|
-
labelPalette = _this$
|
|
210
|
-
palette = _this$
|
|
211
|
-
lockedInfoText = _this$
|
|
212
|
-
isLocked = _this$
|
|
213
|
-
htmlId = _this$
|
|
214
|
-
children = _this$
|
|
215
|
-
customChildrenClass = _this$
|
|
216
|
-
onFocus = _this$
|
|
217
|
-
customProps = _this$
|
|
218
|
-
i18nKeys = _this$
|
|
219
|
-
renderLabelProps = _this$
|
|
220
|
-
needFieldStyle = _this$props8.needFieldStyle;
|
|
106
|
+
var _this$props6 = this.props,
|
|
107
|
+
labelName = _this$props6.labelName,
|
|
108
|
+
id = _this$props6.id,
|
|
109
|
+
isMandatory = _this$props6.isMandatory,
|
|
110
|
+
options = _this$props6.options,
|
|
111
|
+
selectedOptions = _this$props6.selectedOptions,
|
|
112
|
+
needSelectAll = _this$props6.needSelectAll,
|
|
113
|
+
selectAllText = _this$props6.selectAllText,
|
|
114
|
+
isAnimate = _this$props6.isAnimate,
|
|
115
|
+
emptyMessage = _this$props6.emptyMessage,
|
|
116
|
+
size = _this$props6.size,
|
|
117
|
+
variant = _this$props6.variant,
|
|
118
|
+
textBoxSize = _this$props6.textBoxSize,
|
|
119
|
+
animationStyle = _this$props6.animationStyle,
|
|
120
|
+
validationMessage = _this$props6.validationMessage,
|
|
121
|
+
validationPalette = _this$props6.validationPalette,
|
|
122
|
+
isReadOnly = _this$props6.isReadOnly,
|
|
123
|
+
errorType = _this$props6.errorType,
|
|
124
|
+
isDisabled = _this$props6.isDisabled,
|
|
125
|
+
title = _this$props6.title,
|
|
126
|
+
dataId = _this$props6.dataId,
|
|
127
|
+
validationRuleMessage = _this$props6.validationRuleMessage,
|
|
128
|
+
validationRulePalette = _this$props6.validationRulePalette,
|
|
129
|
+
onKeyDown = _this$props6.onKeyDown,
|
|
130
|
+
infoText = _this$props6.infoText,
|
|
131
|
+
borderColor = _this$props6.borderColor,
|
|
132
|
+
placeHolder = _this$props6.placeHolder,
|
|
133
|
+
fieldSize = _this$props6.fieldSize,
|
|
134
|
+
valueField = _this$props6.valueField,
|
|
135
|
+
textField = _this$props6.textField,
|
|
136
|
+
isNextOptions = _this$props6.isNextOptions,
|
|
137
|
+
isSearching = _this$props6.isSearching,
|
|
138
|
+
popupGroup = _this$props6.popupGroup,
|
|
139
|
+
labelPalette = _this$props6.labelPalette,
|
|
140
|
+
palette = _this$props6.palette,
|
|
141
|
+
lockedInfoText = _this$props6.lockedInfoText,
|
|
142
|
+
isLocked = _this$props6.isLocked,
|
|
143
|
+
htmlId = _this$props6.htmlId,
|
|
144
|
+
children = _this$props6.children,
|
|
145
|
+
customChildrenClass = _this$props6.customChildrenClass,
|
|
146
|
+
onFocus = _this$props6.onFocus,
|
|
147
|
+
customProps = _this$props6.customProps,
|
|
148
|
+
i18nKeys = _this$props6.i18nKeys,
|
|
149
|
+
renderLabelProps = _this$props6.renderLabelProps;
|
|
221
150
|
var _customProps$LabelPro = customProps.LabelProps,
|
|
222
151
|
LabelProps = _customProps$LabelPro === void 0 ? {} : _customProps$LabelPro,
|
|
223
152
|
_customProps$MultiSel = customProps.MultiSelectProps,
|
|
@@ -228,18 +157,9 @@ var MultiSelectField = /*#__PURE__*/function (_PureComponent) {
|
|
|
228
157
|
ValidationMessageProps2 = _customProps$Validati2 === void 0 ? {} : _customProps$Validati2;
|
|
229
158
|
var isDarkPalette = palette === 'dark';
|
|
230
159
|
var uniqueId = htmlId ? htmlId : this.getNextId();
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
// let isActive = isPopupOpen || isFocused;
|
|
235
|
-
return /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
236
|
-
hoverType: "bg",
|
|
237
|
-
isActive: isFocused,
|
|
238
|
-
isNeedEffect: !isReadOnly && !isDisabled && needFieldStyle ? true : false
|
|
239
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
240
|
-
className: "".concat(needFieldStyle ? _FieldsModule["default"].highlightSpace : '', " ").concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled : isReadOnly ? _FieldsModule["default"].readonly : ''),
|
|
241
|
-
"data-title": isDisabled ? title : null,
|
|
242
|
-
onClick: this.handleParentClick
|
|
160
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
161
|
+
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled : isReadOnly ? _FieldsModule["default"].readonly : ''),
|
|
162
|
+
"data-title": isDisabled ? title : null
|
|
243
163
|
}, labelName && /*#__PURE__*/_react["default"].createElement(_FieldContainer["default"], {
|
|
244
164
|
infoText: infoText,
|
|
245
165
|
isLocked: isLocked,
|
|
@@ -253,8 +173,8 @@ var MultiSelectField = /*#__PURE__*/function (_PureComponent) {
|
|
|
253
173
|
// onClick={this.handleLabelClick}
|
|
254
174
|
,
|
|
255
175
|
customClass: "".concat(_FieldsModule["default"].fieldLabel, " ").concat(isMandatory ? _FieldsModule["default"].labelMandatory : ''),
|
|
256
|
-
dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label")
|
|
257
|
-
|
|
176
|
+
dataId: isDisabled ? "".concat(dataId, "_label_disabled") : isMandatory ? "".concat(dataId, "_label_mandatory") : "".concat(dataId, "_label"),
|
|
177
|
+
htmlFor: uniqueId
|
|
258
178
|
}, LabelProps))), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], _extends({
|
|
259
179
|
options: options,
|
|
260
180
|
onChange: this.handleChange,
|
|
@@ -285,13 +205,8 @@ var MultiSelectField = /*#__PURE__*/function (_PureComponent) {
|
|
|
285
205
|
palette: palette,
|
|
286
206
|
i18nKeys: i18nKeys,
|
|
287
207
|
htmlId: uniqueId,
|
|
288
|
-
customChildrenClass: customChildrenClass
|
|
289
|
-
|
|
290
|
-
,
|
|
291
|
-
onFocus: this.handleFocus,
|
|
292
|
-
onBlur: this.handleBlur,
|
|
293
|
-
getPublicMethods: this.getPopupHandlers,
|
|
294
|
-
isPadding: needFieldStyle ? true : false
|
|
208
|
+
customChildrenClass: customChildrenClass,
|
|
209
|
+
onFocus: onFocus
|
|
295
210
|
}, MultiSelectProps, {
|
|
296
211
|
ariaLabelledby: uniqueId
|
|
297
212
|
}), children ? children : null), validationMessage && /*#__PURE__*/_react["default"].createElement(_ValidationMessage["default"], _extends({
|
|
@@ -306,7 +221,7 @@ var MultiSelectField = /*#__PURE__*/function (_PureComponent) {
|
|
|
306
221
|
type: errorType,
|
|
307
222
|
dataId: "".concat(dataId, "_ValidationRuleMessage"),
|
|
308
223
|
htmlFor: uniqueId
|
|
309
|
-
}, ValidationMessageProps2)))
|
|
224
|
+
}, ValidationMessageProps2)));
|
|
310
225
|
}
|
|
311
226
|
}]);
|
|
312
227
|
return MultiSelectField;
|
|
@@ -5,12 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.defaultProps = void 0;
|
|
7
7
|
var _FieldCommonDefaultProps = require("../../props/FieldCommonDefaultProps");
|
|
8
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
9
8
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10
9
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
11
|
-
function _defineProperty(obj, key, value) {
|
|
12
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
13
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
14
11
|
var defaultProps = _objectSpread({
|
|
15
12
|
errorType: 'primary',
|
|
16
13
|
isAnimate: false,
|
|
@@ -7,12 +7,9 @@ exports.propTypes = void 0;
|
|
|
7
7
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
8
8
|
var _FieldCommonPropTypes = require("../../props/FieldCommonPropTypes");
|
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
11
10
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
12
11
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13
|
-
function _defineProperty(obj, key, value) {
|
|
14
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
15
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
12
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16
13
|
var propTypes = _objectSpread({
|
|
17
14
|
animationStyle: _propTypes["default"].string,
|
|
18
15
|
borderColor: _propTypes["default"].oneOf(['transparent', 'default', 'dark']),
|
|
@@ -19,10 +19,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
19
19
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
20
20
|
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); }
|
|
21
21
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
22
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target,
|
|
22
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
23
23
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
24
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
25
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
26
24
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
25
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
28
26
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
@@ -119,7 +117,6 @@ var PhoneField = /*#__PURE__*/function (_PureComponent) {
|
|
|
119
117
|
onCall = _this$props2.onCall,
|
|
120
118
|
ePhiData = _this$props2.ePhiData,
|
|
121
119
|
type = _this$props2.type,
|
|
122
|
-
needFieldStyle = _this$props2.needFieldStyle,
|
|
123
120
|
customProps = _this$props2.customProps;
|
|
124
121
|
var _customProps$TextBoxF = customProps.TextBoxFieldProps,
|
|
125
122
|
TextBoxFieldProps = _customProps$TextBoxF === void 0 ? {} : _customProps$TextBoxF,
|
|
@@ -172,8 +169,7 @@ var PhoneField = /*#__PURE__*/function (_PureComponent) {
|
|
|
172
169
|
labelPalette: labelPalette,
|
|
173
170
|
labelCustomClass: labelCustomClass,
|
|
174
171
|
errorType: errorType,
|
|
175
|
-
ePhiData: ePhiData
|
|
176
|
-
needFieldStyle: needFieldStyle
|
|
172
|
+
ePhiData: ePhiData
|
|
177
173
|
}, TextBoxFieldProps))), /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, isTelephony && value ? /*#__PURE__*/_react["default"].createElement(_Link["default"], _extends({
|
|
178
174
|
className: _FieldsModule["default"].phoneIcon,
|
|
179
175
|
callfrom: "phone",
|
|
@@ -17,10 +17,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
17
17
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
18
18
|
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); }
|
|
19
19
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
20
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target,
|
|
20
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
21
21
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
22
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
23
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
24
22
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
25
23
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
26
24
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
@@ -80,7 +78,7 @@ var RadioField = /*#__PURE__*/function (_PureComponent) {
|
|
|
80
78
|
_customProps$Validati2 = customProps.ValidationMessageProps2,
|
|
81
79
|
ValidationMessageProps2 = _customProps$Validati2 === void 0 ? {} : _customProps$Validati2;
|
|
82
80
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
83
|
-
className: "".concat(_FieldsModule["default"].container, " ").concat(
|
|
81
|
+
className: "".concat(_FieldsModule["default"].container, " ").concat(isDisabled ? _FieldsModule["default"].disabled : isReadOnly ? _FieldsModule["default"].readonly : ''),
|
|
84
82
|
"data-title": isDisabled ? title : null
|
|
85
83
|
}, labelName && /*#__PURE__*/_react["default"].createElement(_Label["default"], _extends({
|
|
86
84
|
text: labelName,
|