@zohodesk/dot 1.9.2 → 1.9.4
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 +22 -0
- package/_react-cli.config.js +27 -0
- package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +425 -422
- package/assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css +16 -16
- package/assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css +16 -16
- package/assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css +16 -16
- package/assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css +16 -16
- package/assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css +16 -16
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +425 -422
- package/assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css +16 -16
- package/assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css +16 -16
- package/assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css +16 -16
- package/assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css +16 -16
- package/assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css +16 -16
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +425 -422
- package/assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css +16 -16
- package/assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css +16 -16
- package/assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css +16 -16
- package/assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css +16 -16
- package/assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css +16 -16
- package/cbt.config.js +41 -0
- package/es/AlphabeticList/AlphabeticList.module.css +0 -0
- package/es/AttachmentViewer/AttachmentViewer.js +20 -24
- package/es/AudioPlayer/Timer/__tests__/Timer.spec.js +1 -2
- package/es/AudioPlayer/__tests__/AudioPlayer.spec.js +39 -38
- package/es/ChannelIcon/ChannelIcon.js +11 -13
- package/es/DotProvider/DotProvider.js +4 -2
- package/es/Drawer/Drawer.js +5 -4
- package/es/ExternalLink/ExternalLink.js +5 -4
- package/es/ExternalLink/ExternalLink.module.css +0 -0
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/es/FlipCard/FlipCard.js +12 -14
- package/es/IconButton/IconButton.js +5 -4
- package/es/Link/Link.js +10 -8
- package/es/Message/Message.js +5 -4
- package/es/Onboarding/Onboarding.js +25 -33
- package/es/PlusIcon/PlusIcon.js +0 -0
- package/es/Separator/Separator.module.css +5 -5
- package/es/TagWithIcon/TagWithIcon.module.css +2 -2
- package/es/ToastMessage/ToastMessage.js +4 -2
- package/es/ToastMessage/ToastMessage.module.css +0 -0
- 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/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/dot_layer.module.css +1 -1
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +24 -28
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
- package/es/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/es/errorstate/UnableToProcess/UnableToProcess.js +1 -1
- 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 +13 -14
- package/es/form/fields/Fields.module.css +4 -1
- 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 +17 -19
- package/es/form/fields/SelectField/SelectField.js +13 -14
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +20 -20
- package/es/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/form/fields/TextBoxField/TextBoxField.js +13 -14
- package/es/form/fields/TextEditor/TextEditor.module.css +0 -0
- 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 +14 -15
- package/es/form/fields/ValidationMessage/ValidationMessage.js +4 -2
- package/es/form/layout/Field/Field.js +0 -0
- package/es/form/layout/Section/Section.js +0 -0
- package/es/layout/SubtabLayout/SubtabLayout.js +6 -4
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +17 -10
- package/es/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/es/list/DepartmentDropDown/props/propTypes.js +3 -0
- package/es/list/GridStencils/GridStencils.module.css +14 -5
- package/es/list/ListLayout/ListLayout.js +5 -4
- package/es/list/SecondaryText/AccountName.js +6 -4
- package/es/list/SecondaryText/ContactName.js +6 -4
- package/es/list/SecondaryText/Email.js +5 -4
- package/es/list/SecondaryText/PhoneNumber.js +5 -4
- package/es/list/SecondaryText/TicketId.js +7 -7
- package/es/list/SecondaryText/Website.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.js +0 -0
- package/es/list/Subject/Subject.js +6 -4
- package/es/list/status/StatusDropdown/StatusDropdown.js +7 -2
- package/es/list/status/StatusDropdown/props/defaultProps.js +2 -1
- package/es/list/status/StatusDropdown/props/propTypes.js +4 -1
- package/es/list/status/StatusListItem/StatusListItem.js +11 -7
- package/es/list/status/StatusListItem/StatusListItem.module.css +38 -17
- package/es/list/status/StatusListItem/__tests__/__snapshots__/StatusListItem.spec.js.snap +30 -23
- package/es/list/status/StatusListItem/props/defaultProps.js +2 -1
- package/es/list/status/StatusListItem/props/propTypes.js +2 -1
- package/es/lookup/EmptyPage/EmptyPage.js +0 -0
- package/es/lookup/Lookup/Lookup.js +5 -4
- package/es/lookup/Lookup/Lookup.module.css +0 -0
- package/es/lookup/header/Search/Search.js +3 -5
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +0 -0
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -0
- package/es/setup/helptips/Link/Link.js +0 -0
- package/es/setup/helptips/Title/Title.js +0 -0
- package/es/setup/table/Text/TableText.module.css +0 -0
- package/es/setup/table/Text/Text.js +0 -0
- package/es/version2/GlobalNotification/GlobalNotification.js +9 -8
- package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/lib/AlphabeticList/AlphabeticList.module.css +0 -0
- package/lib/Drawer/Drawer.js +0 -0
- package/lib/ExternalLink/ExternalLink.js +0 -0
- package/lib/ExternalLink/ExternalLink.module.css +0 -0
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/lib/Link/Link.js +0 -0
- package/lib/PlusIcon/PlusIcon.js +0 -0
- package/lib/Separator/Separator.module.css +5 -5
- package/lib/TagWithIcon/TagWithIcon.module.css +2 -2
- package/lib/ToastMessage/ToastMessage.js +0 -0
- package/lib/ToastMessage/ToastMessage.module.css +0 -0
- package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -0
- package/lib/avatar/AvatarUser/AvatarUser.js +0 -0
- package/lib/dot_layer.module.css +1 -1
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
- package/lib/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +1 -1
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +0 -0
- package/lib/form/fields/Fields.module.css +4 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +12 -7
- package/lib/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
- package/lib/form/fields/TextEditor/TextEditor.module.css +0 -0
- package/lib/form/layout/Field/Field.js +0 -0
- package/lib/form/layout/Section/Section.js +0 -0
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +16 -10
- package/lib/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/lib/list/DepartmentDropDown/props/propTypes.js +2 -0
- package/lib/list/GridStencils/GridStencils.module.css +14 -5
- package/lib/list/SecondaryText/Website.js +0 -0
- package/lib/list/SecondryPanel/SecondryPanel.js +0 -0
- package/lib/list/Subject/Subject.js +1 -0
- package/lib/list/status/StatusDropdown/StatusDropdown.js +6 -2
- package/lib/list/status/StatusDropdown/props/defaultProps.js +2 -1
- package/lib/list/status/StatusDropdown/props/propTypes.js +3 -1
- package/lib/list/status/StatusListItem/StatusListItem.js +7 -3
- package/lib/list/status/StatusListItem/StatusListItem.module.css +38 -17
- package/lib/list/status/StatusListItem/__tests__/__snapshots__/StatusListItem.spec.js.snap +30 -23
- package/lib/list/status/StatusListItem/props/defaultProps.js +2 -1
- package/lib/list/status/StatusListItem/props/propTypes.js +2 -1
- package/lib/lookup/EmptyPage/EmptyPage.js +0 -0
- package/lib/lookup/Lookup/Lookup.js +0 -0
- package/lib/lookup/Lookup/Lookup.module.css +0 -0
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +0 -0
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -0
- package/lib/setup/helptips/Link/Link.js +0 -0
- package/lib/setup/helptips/Title/Title.js +0 -0
- package/lib/setup/table/Text/TableText.module.css +0 -0
- package/lib/setup/table/Text/Text.js +0 -0
- package/package.json +16 -20
- package/es/v1/ActionButton/ActionButton.js +0 -155
- package/es/v1/ActionButton/props/defaultProps.js +0 -19
- package/es/v1/ActionButton/props/propTypes.js +0 -37
- package/es/v1/AlphabeticList/AlphabeticList.js +0 -94
- package/es/v1/AlphabeticList/props/defaultProps.js +0 -12
- package/es/v1/AlphabeticList/props/propTypes.js +0 -23
- package/es/v1/Attachment/Attachment.js +0 -96
- package/es/v1/Attachment/props/defaultProps.js +0 -8
- package/es/v1/Attachment/props/propTypes.js +0 -18
- package/es/v1/AttachmentViewer/AttachmentImage.js +0 -81
- package/es/v1/AttachmentViewer/AttachmentViewer.js +0 -626
- package/es/v1/AttachmentViewer/props/defaultProps.js +0 -11
- package/es/v1/AttachmentViewer/props/propTypes.js +0 -36
- package/es/v1/ChannelIcon/ChannelIcon.js +0 -93
- package/es/v1/ChannelIcon/props/defaultProps.js +0 -7
- package/es/v1/ChannelIcon/props/propTypes.js +0 -25
- package/es/v1/Drawer/Drawer.js +0 -270
- package/es/v1/Drawer/props/defaultProps.js +0 -23
- package/es/v1/Drawer/props/propTypes.js +0 -53
- package/es/v1/ExternalLink/ExternalLink.js +0 -48
- package/es/v1/ExternalLink/props/defaultProps.js +0 -5
- package/es/v1/ExternalLink/props/propTypes.js +0 -12
- package/es/v1/FlipCard/FlipCard.js +0 -132
- package/es/v1/FlipCard/props/defaultProps.js +0 -5
- package/es/v1/FlipCard/props/propTypes.js +0 -37
- package/es/v1/FormAction/FormAction.js +0 -75
- package/es/v1/FormAction/props/defaultProps.js +0 -5
- package/es/v1/FormAction/props/propTypes.js +0 -8
- package/es/v1/FreezeLayer/FreezeLayer.js +0 -74
- package/es/v1/FreezeLayer/props/defaultProps.js +0 -9
- package/es/v1/FreezeLayer/props/propTypes.js +0 -19
- package/es/v1/GlobalNotification/GlobalNotification.js +0 -144
- package/es/v1/GlobalNotification/props/defaultProps.js +0 -6
- package/es/v1/GlobalNotification/props/propTypes.js +0 -42
- package/es/v1/IconButton/IconButton.js +0 -112
- package/es/v1/IconButton/props/defaultProps.js +0 -17
- package/es/v1/IconButton/props/propTypes.js +0 -33
- package/es/v1/Image/Image.js +0 -36
- package/es/v1/Image/props/defaultProps.js +0 -4
- package/es/v1/Image/props/propTypes.js +0 -15
- package/es/v1/ImportantNotes/ImportantNotes.js +0 -41
- package/es/v1/ImportantNotes/props/defaultProps.js +0 -6
- package/es/v1/ImportantNotes/props/propTypes.js +0 -10
- package/es/v1/Link/Link.js +0 -93
- package/es/v1/Link/props/defaultProps.js +0 -5
- package/es/v1/Link/props/propTypes.js +0 -18
- package/es/v1/Loader/Loader.js +0 -15
- package/es/v1/Message/Message.js +0 -91
- package/es/v1/Message/props/defaultProps.js +0 -4
- package/es/v1/Message/props/propTypes.js +0 -20
- package/es/v1/MessageBanner/MessageBanner.js +0 -60
- package/es/v1/MessageBanner/props/defaultProps.js +0 -7
- package/es/v1/MessageBanner/props/propTypes.js +0 -13
- package/es/v1/NewStar/NewStar.js +0 -61
- package/es/v1/NewStar/props/defaultProps.js +0 -4
- package/es/v1/NewStar/props/propTypes.js +0 -6
- package/es/v1/PlusIcon/PlusIcon.js +0 -32
- package/es/v1/PlusIcon/props/defaultProps.js +0 -8
- package/es/v1/PlusIcon/props/propTypes.js +0 -11
- package/es/v1/Separator/Separator.js +0 -53
- package/es/v1/Separator/props/defaultProps.js +0 -12
- package/es/v1/Separator/props/propTypes.js +0 -11
- package/es/v1/TagWithIcon/TagWithIcon.js +0 -39
- package/es/v1/TagWithIcon/props/defaultProps.js +0 -8
- package/es/v1/TagWithIcon/props/propTypes.js +0 -13
- package/es/v1/ToastMessage/ToastMessage.js +0 -201
- package/es/v1/ToastMessage/props/defaultProps.js +0 -18
- package/es/v1/ToastMessage/props/propTypes.js +0 -40
- package/es/v1/Upload/Upload.js +0 -69
- package/es/v1/Upload/props/defaultProps.js +0 -7
- package/es/v1/Upload/props/propTypes.js +0 -17
- package/es/v1/actions/AutoClose.js +0 -44
- package/es/v1/actions/props/defaultProps.js +0 -3
- package/es/v1/actions/props/propTypes.js +0 -8
- package/es/v1/alert/AlertClose/AlertClose.js +0 -43
- package/es/v1/alert/AlertClose/props/propTypes.js +0 -8
- package/es/v1/alert/AlertHeader/AlertHeader.js +0 -82
- package/es/v1/alert/AlertHeader/props/defaultProps.js +0 -12
- package/es/v1/alert/AlertHeader/props/propTypes.js +0 -20
- package/es/v1/alert/AlertLookup/AlertLookup.js +0 -166
- package/es/v1/alert/AlertLookup/props/defaultProps.js +0 -13
- package/es/v1/alert/AlertLookup/props/propTypes.js +0 -36
- package/es/v1/alert/alertIcons/AlarmAlertIcon.js +0 -65
- package/es/v1/alert/alertIcons/AlertIcons.js +0 -57
- package/es/v1/alert/alertIcons/DangerAlertIcon.js +0 -65
- package/es/v1/alert/alertIcons/ErrorAlertIcon.js +0 -70
- package/es/v1/alert/alertIcons/InfoAlertIcon.js +0 -74
- package/es/v1/alert/alertIcons/NotificationAlertIcon.js +0 -70
- package/es/v1/alert/alertIcons/SuccessAlertIcon.js +0 -65
- package/es/v1/alert/alertIcons/WarningAlertIcon.js +0 -65
- package/es/v1/alert/alertIcons/index.js +0 -8
- package/es/v1/alert/alertIcons/props/defaultProps.js +0 -27
- package/es/v1/alert/alertIcons/props/propTypes.js +0 -34
- package/es/v1/alert/index.js +0 -2
- package/es/v1/avatar/AvatarClose/AvatarClose.js +0 -47
- package/es/v1/avatar/AvatarClose/props/defaultProps.js +0 -7
- package/es/v1/avatar/AvatarClose/props/propTypes.js +0 -15
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +0 -51
- package/es/v1/avatar/AvatarCollision/props/defaultProps.js +0 -8
- package/es/v1/avatar/AvatarCollision/props/propTypes.js +0 -17
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +0 -48
- package/es/v1/avatar/AvatarIcon/props/defaultProps.js +0 -14
- package/es/v1/avatar/AvatarIcon/props/propTypes.js +0 -20
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +0 -59
- package/es/v1/avatar/AvatarStatus/props/defaultProps.js +0 -12
- package/es/v1/avatar/AvatarStatus/props/propTypes.js +0 -26
- package/es/v1/avatar/AvatarThread/AvatarThread.js +0 -72
- package/es/v1/avatar/AvatarThread/props/defaultProps.js +0 -9
- package/es/v1/avatar/AvatarThread/props/propTypes.js +0 -30
- package/es/v1/avatar/AvatarUser/AvatarUser.js +0 -110
- package/es/v1/avatar/AvatarUser/props/defaultProps.js +0 -8
- package/es/v1/avatar/AvatarUser/props/propTypes.js +0 -35
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -94
- package/es/v1/avatar/AvatarWithTeam/props/defaultProps.js +0 -9
- package/es/v1/avatar/AvatarWithTeam/props/propTypes.js +0 -25
- package/es/v1/avatar/index.js +0 -7
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +0 -880
- package/es/v1/dropdown/ToggleDropDown/props/defaultProps.js +0 -29
- package/es/v1/dropdown/ToggleDropDown/props/propTypes.js +0 -83
- package/es/v1/emptystate/CommonEmptyState/CommonEmptyState.js +0 -64
- package/es/v1/emptystate/CommonEmptyState/props/defaultProps.js +0 -10
- package/es/v1/emptystate/CommonEmptyState/props/propTypes.js +0 -21
- package/es/v1/emptystate/EditionPage/EditionPage.js +0 -51
- package/es/v1/emptystate/EditionPage/props/defaultProps.js +0 -5
- package/es/v1/emptystate/EditionPage/props/propTypes.js +0 -11
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +0 -60
- package/es/v1/errorstate/Inconvenience/props/defaultProps.js +0 -8
- package/es/v1/errorstate/Inconvenience/props/propTypes.js +0 -16
- package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +0 -64
- package/es/v1/errorstate/OopsSomethingMiss/props/defaultProps.js +0 -8
- package/es/v1/errorstate/OopsSomethingMiss/props/propTypes.js +0 -16
- package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +0 -64
- package/es/v1/errorstate/UnableToProcessRequest/props/defaultProps.js +0 -8
- package/es/v1/errorstate/UnableToProcessRequest/props/propTypes.js +0 -16
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -65
- package/es/v1/errorstate/UnauthorizedLogin/props/defaultProps.js +0 -9
- package/es/v1/errorstate/UnauthorizedLogin/props/propTypes.js +0 -17
- package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +0 -64
- package/es/v1/errorstate/UrlNotFound/props/defaultProps.js +0 -8
- package/es/v1/errorstate/UrlNotFound/props/propTypes.js +0 -16
- package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +0 -64
- package/es/v1/errorstate/WillBeRightBack/props/defaultProps.js +0 -8
- package/es/v1/errorstate/WillBeRightBack/props/propTypes.js +0 -16
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +0 -130
- package/es/v1/form/fields/CheckBoxField/props/defaultProps.js +0 -12
- package/es/v1/form/fields/CheckBoxField/props/propTypes.js +0 -29
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +0 -160
- package/es/v1/form/fields/CurrencyField/props/defaultProps.js +0 -17
- package/es/v1/form/fields/CurrencyField/props/propTypes.js +0 -39
- package/es/v1/form/fields/DateField/DateField.js +0 -164
- package/es/v1/form/fields/DateField/props/defaultProps.js +0 -19
- package/es/v1/form/fields/DateField/props/propTypes.js +0 -39
- package/es/v1/form/fields/FieldContainer/FieldContainer.js +0 -66
- package/es/v1/form/fields/FieldContainer/props/defaultProps.js +0 -6
- package/es/v1/form/fields/FieldContainer/props/propTypes.js +0 -24
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +0 -190
- package/es/v1/form/fields/MultiSelectField/props/defaultProps.js +0 -17
- package/es/v1/form/fields/MultiSelectField/props/propTypes.js +0 -50
- package/es/v1/form/fields/PhoneField/PhoneField.js +0 -161
- package/es/v1/form/fields/PhoneField/props/defaultProps.js +0 -16
- package/es/v1/form/fields/PhoneField/props/propTypes.js +0 -47
- package/es/v1/form/fields/RadioField/RadioField.js +0 -144
- package/es/v1/form/fields/RadioField/props/defaultProps.js +0 -13
- package/es/v1/form/fields/RadioField/props/propTypes.js +0 -33
- package/es/v1/form/fields/RadioField/useRadio.js +0 -44
- package/es/v1/form/fields/SelectField/SelectField.js +0 -160
- package/es/v1/form/fields/SelectField/props/defaultProps.js +0 -18
- package/es/v1/form/fields/SelectField/props/propTypes.js +0 -50
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +0 -333
- package/es/v1/form/fields/TagsMultiSelect/props/defaultProps.js +0 -16
- package/es/v1/form/fields/TagsMultiSelect/props/propTypes.js +0 -57
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +0 -276
- package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +0 -23
- package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +0 -71
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +0 -144
- package/es/v1/form/fields/TextBoxField/props/defaultProps.js +0 -17
- package/es/v1/form/fields/TextBoxField/props/propTypes.js +0 -44
- package/es/v1/form/fields/TextEditor/TextEditor.js +0 -418
- package/es/v1/form/fields/TextEditor/props/defaultProps.js +0 -16
- package/es/v1/form/fields/TextEditor/props/propTypes.js +0 -53
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +0 -159
- package/es/v1/form/fields/TextEditorField/props/defaultProps.js +0 -15
- package/es/v1/form/fields/TextEditorField/props/propTypes.js +0 -59
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +0 -163
- package/es/v1/form/fields/TextEditorWrapper/props/defaultProps.js +0 -9
- package/es/v1/form/fields/TextEditorWrapper/props/propTypes.js +0 -40
- package/es/v1/form/fields/TextareaField/TextareaField.js +0 -140
- package/es/v1/form/fields/TextareaField/props/defaultProps.js +0 -15
- package/es/v1/form/fields/TextareaField/props/propTypes.js +0 -35
- package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +0 -58
- package/es/v1/form/fields/ValidationMessage/props/defaultProps.js +0 -7
- package/es/v1/form/fields/ValidationMessage/props/propTypes.js +0 -16
- package/es/v1/form/fields/index.js +0 -16
- package/es/v1/form/fields/props/FieldCommonDefaultProps.js +0 -10
- package/es/v1/form/fields/props/FieldCommonPropTypes.js +0 -17
- package/es/v1/form/layout/Field/Field.js +0 -29
- package/es/v1/form/layout/Field/props/defaultProps.js +0 -4
- package/es/v1/form/layout/Field/props/propTypes.js +0 -10
- package/es/v1/form/layout/Section/Section.js +0 -30
- package/es/v1/form/layout/Section/props/propTypes.js +0 -11
- package/es/v1/form/layout/index.js +0 -2
- package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +0 -174
- package/es/v1/layout/SetupDetailLayout/index.js +0 -4
- package/es/v1/layout/SetupDetailLayout/props/defaultProps.js +0 -20
- package/es/v1/layout/SetupDetailLayout/props/propTypes.js +0 -40
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +0 -126
- package/es/v1/layout/SubtabLayout/index.js +0 -4
- package/es/v1/layout/SubtabLayout/props/defaultProps.js +0 -25
- package/es/v1/layout/SubtabLayout/props/propTypes.js +0 -40
- package/es/v1/list/AvatarFlip/AvatarFlip.js +0 -73
- package/es/v1/list/AvatarFlip/props/defaultProps.js +0 -6
- package/es/v1/list/AvatarFlip/props/propTypes.js +0 -29
- package/es/v1/list/BluePrintStatus/BluePrintStatus.js +0 -21
- package/es/v1/list/BluePrintStatus/props/propTypes.js +0 -4
- package/es/v1/list/Comment/Comment.js +0 -35
- package/es/v1/list/Comment/props/defaultProps.js +0 -4
- package/es/v1/list/Comment/props/propTypes.js +0 -7
- package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +0 -85
- package/es/v1/list/DepartmentDropDown/props/defaultProps.js +0 -7
- package/es/v1/list/DepartmentDropDown/props/propTypes.js +0 -24
- package/es/v1/list/Dot/Dot.js +0 -15
- package/es/v1/list/Dot/props/defaultProps.js +0 -4
- package/es/v1/list/Dot/props/propTypes.js +0 -5
- package/es/v1/list/DotNew/DotNew.js +0 -22
- package/es/v1/list/DotNew/props/defaultProps.js +0 -3
- package/es/v1/list/DotNew/props/propTypes.js +0 -6
- package/es/v1/list/GridStencils/GridStencils.js +0 -31
- package/es/v1/list/GridStencils/props/propTypes.js +0 -8
- package/es/v1/list/Icons/AddNewIcon.js +0 -25
- package/es/v1/list/Icons/CompleteIcon.js +0 -27
- package/es/v1/list/Icons/DeleteIcon.js +0 -28
- package/es/v1/list/Icons/EditIcon.js +0 -28
- package/es/v1/list/Icons/FloatingIcons.js +0 -23
- package/es/v1/list/Icons/ReadUnreadIcon.js +0 -32
- package/es/v1/list/Icons/SmartIcon.js +0 -25
- package/es/v1/list/Icons/index.js +0 -7
- package/es/v1/list/Icons/props/defaultProps.js +0 -6
- package/es/v1/list/Icons/props/propTypes.js +0 -53
- package/es/v1/list/ListLayout/ListLayout.js +0 -68
- package/es/v1/list/ListLayout/props/defaultProps.js +0 -11
- package/es/v1/list/ListLayout/props/propTypes.js +0 -27
- package/es/v1/list/ListStencils/ListStencils.js +0 -44
- package/es/v1/list/ListStencils/props/defaultProps.js +0 -3
- package/es/v1/list/ListStencils/props/propTypes.js +0 -4
- package/es/v1/list/SecondaryText/AccountName.js +0 -77
- package/es/v1/list/SecondaryText/ContactName.js +0 -76
- package/es/v1/list/SecondaryText/DepartmentText.js +0 -18
- package/es/v1/list/SecondaryText/Email.js +0 -47
- package/es/v1/list/SecondaryText/HappinessRating.js +0 -23
- package/es/v1/list/SecondaryText/PhoneNumber.js +0 -51
- package/es/v1/list/SecondaryText/PriorityText.js +0 -21
- package/es/v1/list/SecondaryText/SecondaryText.js +0 -27
- package/es/v1/list/SecondaryText/StatusText.js +0 -22
- package/es/v1/list/SecondaryText/TicketId.js +0 -41
- package/es/v1/list/SecondaryText/Website.js +0 -35
- package/es/v1/list/SecondaryText/index.js +0 -11
- package/es/v1/list/SecondaryText/props/defaultProps.js +0 -44
- package/es/v1/list/SecondaryText/props/propTypes.js +0 -142
- package/es/v1/list/SecondryPanel/SecondryPanel.js +0 -87
- package/es/v1/list/SecondryPanel/props/defaultProps.js +0 -18
- package/es/v1/list/SecondryPanel/props/propTypes.js +0 -27
- package/es/v1/list/SentimentStatus/SentimentStatus.js +0 -23
- package/es/v1/list/SentimentStatus/props/propTypes.js +0 -5
- package/es/v1/list/Subject/Subject.js +0 -52
- package/es/v1/list/Subject/props/defaultProps.js +0 -8
- package/es/v1/list/Subject/props/propTypes.js +0 -20
- package/es/v1/list/TagNew/TagNew.js +0 -24
- package/es/v1/list/TagNew/props/defaultProps.js +0 -4
- package/es/v1/list/TagNew/props/propTypes.js +0 -8
- package/es/v1/list/Thread/Thread.js +0 -33
- package/es/v1/list/Thread/props/defaultProps.js +0 -4
- package/es/v1/list/Thread/props/propTypes.js +0 -8
- package/es/v1/list/index.js +0 -16
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +0 -307
- package/es/v1/list/status/StatusDropdown/props/defaultProps.js +0 -22
- package/es/v1/list/status/StatusDropdown/props/propTypes.js +0 -60
- package/es/v1/list/status/StatusListItem/StatusListItem.js +0 -108
- package/es/v1/list/status/StatusListItem/props/defaultProps.js +0 -16
- package/es/v1/list/status/StatusListItem/props/propTypes.js +0 -31
- package/es/v1/list/status/index.js +0 -2
- package/es/v1/lookup/EmptyPage/EmptyPage.js +0 -54
- package/es/v1/lookup/EmptyPage/props/defaultProps.js +0 -4
- package/es/v1/lookup/EmptyPage/props/propTypes.js +0 -5
- package/es/v1/lookup/Lookup/Lookup.js +0 -116
- package/es/v1/lookup/Lookup/props/defaultProps.js +0 -9
- package/es/v1/lookup/Lookup/props/propTypes.js +0 -24
- package/es/v1/lookup/Section/Section.js +0 -18
- package/es/v1/lookup/Section/props/propTypes.js +0 -6
- package/es/v1/lookup/header/Close/Close.js +0 -30
- package/es/v1/lookup/header/Close/props/defaultProps.js +0 -3
- package/es/v1/lookup/header/Close/props/propTypes.js +0 -6
- package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +0 -89
- package/es/v1/lookup/header/ModuleHeader/props/defaultProps.js +0 -9
- package/es/v1/lookup/header/ModuleHeader/props/propTypes.js +0 -20
- package/es/v1/lookup/header/Search/Search.js +0 -179
- package/es/v1/lookup/header/Search/props/defaultProps.js +0 -5
- package/es/v1/lookup/header/Search/props/propTypes.js +0 -28
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +0 -108
- package/es/v1/lookup/header/TicketHeader/props/defaultProps.js +0 -10
- package/es/v1/lookup/header/TicketHeader/props/propTypes.js +0 -21
- package/es/v1/lookup/header/Title/Title.js +0 -27
- package/es/v1/lookup/header/Title/props/defaultProps.js +0 -3
- package/es/v1/lookup/header/Title/props/propTypes.js +0 -6
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +0 -194
- package/es/v1/lookup/header/ViewDropDown/props/defaultProps.js +0 -10
- package/es/v1/lookup/header/ViewDropDown/props/propTypes.js +0 -27
- package/es/v1/lookup/header/index.js +0 -5
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +0 -190
- package/es/v1/notification/DesktopNotification/props/defaultProps.js +0 -17
- package/es/v1/notification/DesktopNotification/props/propTypes.js +0 -43
- package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +0 -91
- package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +0 -7
- package/es/v1/notification/DesktopNotificationHeader/props/propTypes.js +0 -13
- package/es/v1/setup/header/Button/Button.js +0 -24
- package/es/v1/setup/header/Button/props/defaultProps.js +0 -4
- package/es/v1/setup/header/Button/props/propTypes.js +0 -7
- package/es/v1/setup/header/Link/Link.js +0 -32
- package/es/v1/setup/header/Link/props/defaultProps.js +0 -4
- package/es/v1/setup/header/Link/props/propTypes.js +0 -8
- package/es/v1/setup/header/Search/Search.js +0 -60
- package/es/v1/setup/header/Search/props/defaultProps.js +0 -6
- package/es/v1/setup/header/Search/props/propTypes.js +0 -12
- package/es/v1/setup/header/Views/Views.js +0 -34
- package/es/v1/setup/header/Views/props/defaultProps.js +0 -6
- package/es/v1/setup/header/Views/props/propTypes.js +0 -9
- package/es/v1/setup/header/index.js +0 -4
- package/es/v1/setup/helptips/Description/Description.js +0 -12
- package/es/v1/setup/helptips/Description/props/propTypes.js +0 -4
- package/es/v1/setup/helptips/Link/Link.js +0 -29
- package/es/v1/setup/helptips/Link/props/propTypes.js +0 -7
- package/es/v1/setup/helptips/ListGroup/ListGroup.js +0 -27
- package/es/v1/setup/helptips/ListGroup/props/propTypes.js +0 -5
- package/es/v1/setup/helptips/Title/Title.js +0 -12
- package/es/v1/setup/helptips/Title/props/propTypes.js +0 -4
- package/es/v1/setup/helptips/index.js +0 -4
- package/es/v1/setup/index.js +0 -6
- package/es/v1/setup/table/Table/Table.js +0 -22
- package/es/v1/setup/table/Table/props/defaultProps.js +0 -4
- package/es/v1/setup/table/Table/props/propTypes.js +0 -6
- package/es/v1/setup/table/TableBody/TableBody.js +0 -26
- package/es/v1/setup/table/TableBody/props/defaultProps.js +0 -3
- package/es/v1/setup/table/TableBody/props/propTypes.js +0 -7
- package/es/v1/setup/table/TableData/TableData.js +0 -31
- package/es/v1/setup/table/TableData/props/defaultProps.js +0 -5
- package/es/v1/setup/table/TableData/props/propTypes.js +0 -11
- package/es/v1/setup/table/TableHead/TableHead.js +0 -31
- package/es/v1/setup/table/TableHead/props/defaultProps.js +0 -4
- package/es/v1/setup/table/TableHead/props/propTypes.js +0 -8
- package/es/v1/setup/table/TableRow/TableRow.js +0 -36
- package/es/v1/setup/table/TableRow/props/defaultProps.js +0 -4
- package/es/v1/setup/table/TableRow/props/propTypes.js +0 -11
- package/es/v1/setup/table/Text/Text.js +0 -50
- package/es/v1/setup/table/Text/props/defaultProps.js +0 -7
- package/es/v1/setup/table/Text/props/propTypes.js +0 -13
- package/es/v1/setup/table/index.js +0 -5
- package/es/v1/svg/PlusIcon.js +0 -25
- package/es/v1/svg/SnippetIcon.js +0 -27
- package/es/v1/svg/TemplateIcon.js +0 -28
- package/es/v1/svg/index.js +0 -3
- package/es/v1/svg/props/defaultProps.js +0 -15
- package/es/v1/svg/props/propTypes.js +0 -16
- package/es/v1/utils/ChannelIconMapping.js +0 -129
- package/es/v1/utils/General.js +0 -45
- package/es/v1/utils/editorUtils.js +0 -193
- package/lib/v1/ActionButton/ActionButton.js +0 -173
- package/lib/v1/ActionButton/props/defaultProps.js +0 -26
- package/lib/v1/ActionButton/props/propTypes.js +0 -48
- package/lib/v1/AlphabeticList/AlphabeticList.js +0 -113
- package/lib/v1/AlphabeticList/props/defaultProps.js +0 -20
- package/lib/v1/AlphabeticList/props/propTypes.js +0 -50
- package/lib/v1/Attachment/Attachment.js +0 -110
- package/lib/v1/Attachment/props/defaultProps.js +0 -15
- package/lib/v1/Attachment/props/propTypes.js +0 -29
- package/lib/v1/AttachmentViewer/AttachmentImage.js +0 -117
- package/lib/v1/AttachmentViewer/AttachmentViewer.js +0 -713
- package/lib/v1/AttachmentViewer/props/defaultProps.js +0 -19
- package/lib/v1/AttachmentViewer/props/propTypes.js +0 -48
- package/lib/v1/ChannelIcon/ChannelIcon.js +0 -114
- package/lib/v1/ChannelIcon/props/defaultProps.js +0 -14
- package/lib/v1/ChannelIcon/props/propTypes.js +0 -36
- package/lib/v1/Drawer/Drawer.js +0 -302
- package/lib/v1/Drawer/props/defaultProps.js +0 -32
- package/lib/v1/Drawer/props/propTypes.js +0 -67
- package/lib/v1/ExternalLink/ExternalLink.js +0 -57
- package/lib/v1/ExternalLink/props/defaultProps.js +0 -12
- package/lib/v1/ExternalLink/props/propTypes.js +0 -23
- package/lib/v1/FlipCard/FlipCard.js +0 -149
- package/lib/v1/FlipCard/props/defaultProps.js +0 -12
- package/lib/v1/FlipCard/props/propTypes.js +0 -48
- package/lib/v1/FormAction/FormAction.js +0 -102
- package/lib/v1/FormAction/props/defaultProps.js +0 -12
- package/lib/v1/FormAction/props/propTypes.js +0 -19
- package/lib/v1/FreezeLayer/FreezeLayer.js +0 -94
- package/lib/v1/FreezeLayer/props/defaultProps.js +0 -16
- package/lib/v1/FreezeLayer/props/propTypes.js +0 -31
- package/lib/v1/GlobalNotification/GlobalNotification.js +0 -187
- package/lib/v1/GlobalNotification/props/defaultProps.js +0 -13
- package/lib/v1/GlobalNotification/props/propTypes.js +0 -58
- package/lib/v1/IconButton/IconButton.js +0 -149
- package/lib/v1/IconButton/props/defaultProps.js +0 -24
- package/lib/v1/IconButton/props/propTypes.js +0 -43
- package/lib/v1/Image/Image.js +0 -48
- package/lib/v1/Image/props/defaultProps.js +0 -11
- package/lib/v1/Image/props/propTypes.js +0 -26
- package/lib/v1/ImportantNotes/ImportantNotes.js +0 -55
- package/lib/v1/ImportantNotes/props/defaultProps.js +0 -13
- package/lib/v1/ImportantNotes/props/propTypes.js +0 -21
- package/lib/v1/Link/Link.js +0 -116
- package/lib/v1/Link/props/defaultProps.js +0 -12
- package/lib/v1/Link/props/propTypes.js +0 -29
- package/lib/v1/Loader/Loader.js +0 -27
- package/lib/v1/Message/Message.js +0 -113
- package/lib/v1/Message/props/defaultProps.js +0 -11
- package/lib/v1/Message/props/propTypes.js +0 -41
- package/lib/v1/MessageBanner/MessageBanner.js +0 -75
- package/lib/v1/MessageBanner/props/defaultProps.js +0 -14
- package/lib/v1/MessageBanner/props/propTypes.js +0 -24
- package/lib/v1/NewStar/NewStar.js +0 -74
- package/lib/v1/NewStar/props/defaultProps.js +0 -11
- package/lib/v1/NewStar/props/propTypes.js +0 -17
- package/lib/v1/PlusIcon/PlusIcon.js +0 -45
- package/lib/v1/PlusIcon/props/defaultProps.js +0 -15
- package/lib/v1/PlusIcon/props/propTypes.js +0 -22
- package/lib/v1/Separator/Separator.js +0 -66
- package/lib/v1/Separator/props/defaultProps.js +0 -19
- package/lib/v1/Separator/props/propTypes.js +0 -22
- package/lib/v1/TagWithIcon/TagWithIcon.js +0 -53
- package/lib/v1/TagWithIcon/props/defaultProps.js +0 -15
- package/lib/v1/TagWithIcon/props/propTypes.js +0 -24
- package/lib/v1/ToastMessage/ToastMessage.js +0 -246
- package/lib/v1/ToastMessage/props/defaultProps.js +0 -25
- package/lib/v1/ToastMessage/props/propTypes.js +0 -51
- package/lib/v1/Upload/Upload.js +0 -83
- package/lib/v1/Upload/props/defaultProps.js +0 -14
- package/lib/v1/Upload/props/propTypes.js +0 -28
- package/lib/v1/actions/AutoClose.js +0 -75
- package/lib/v1/actions/props/defaultProps.js +0 -10
- package/lib/v1/actions/props/propTypes.js +0 -19
- package/lib/v1/alert/AlertClose/AlertClose.js +0 -62
- package/lib/v1/alert/AlertClose/props/propTypes.js +0 -19
- package/lib/v1/alert/AlertHeader/AlertHeader.js +0 -107
- package/lib/v1/alert/AlertHeader/props/defaultProps.js +0 -19
- package/lib/v1/alert/AlertHeader/props/propTypes.js +0 -31
- package/lib/v1/alert/AlertLookup/AlertLookup.js +0 -187
- package/lib/v1/alert/AlertLookup/props/defaultProps.js +0 -20
- package/lib/v1/alert/AlertLookup/props/propTypes.js +0 -47
- package/lib/v1/alert/alertIcons/AlarmAlertIcon.js +0 -77
- package/lib/v1/alert/alertIcons/AlertIcons.js +0 -78
- package/lib/v1/alert/alertIcons/DangerAlertIcon.js +0 -77
- package/lib/v1/alert/alertIcons/ErrorAlertIcon.js +0 -82
- package/lib/v1/alert/alertIcons/InfoAlertIcon.js +0 -86
- package/lib/v1/alert/alertIcons/NotificationAlertIcon.js +0 -82
- package/lib/v1/alert/alertIcons/SuccessAlertIcon.js +0 -77
- package/lib/v1/alert/alertIcons/WarningAlertIcon.js +0 -77
- package/lib/v1/alert/alertIcons/index.js +0 -71
- package/lib/v1/alert/alertIcons/props/defaultProps.js +0 -41
- package/lib/v1/alert/alertIcons/props/propTypes.js +0 -52
- package/lib/v1/alert/index.js +0 -23
- package/lib/v1/avatar/AvatarClose/AvatarClose.js +0 -61
- package/lib/v1/avatar/AvatarClose/props/defaultProps.js +0 -14
- package/lib/v1/avatar/AvatarClose/props/propTypes.js +0 -26
- package/lib/v1/avatar/AvatarCollision/AvatarCollision.js +0 -65
- package/lib/v1/avatar/AvatarCollision/props/defaultProps.js +0 -15
- package/lib/v1/avatar/AvatarCollision/props/propTypes.js +0 -28
- package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +0 -63
- package/lib/v1/avatar/AvatarIcon/props/defaultProps.js +0 -21
- package/lib/v1/avatar/AvatarIcon/props/propTypes.js +0 -31
- package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +0 -73
- package/lib/v1/avatar/AvatarStatus/props/defaultProps.js +0 -19
- package/lib/v1/avatar/AvatarStatus/props/propTypes.js +0 -35
- package/lib/v1/avatar/AvatarThread/AvatarThread.js +0 -85
- package/lib/v1/avatar/AvatarThread/props/defaultProps.js +0 -16
- package/lib/v1/avatar/AvatarThread/props/propTypes.js +0 -41
- package/lib/v1/avatar/AvatarUser/AvatarUser.js +0 -122
- package/lib/v1/avatar/AvatarUser/props/defaultProps.js +0 -15
- package/lib/v1/avatar/AvatarUser/props/propTypes.js +0 -46
- package/lib/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -109
- package/lib/v1/avatar/AvatarWithTeam/props/defaultProps.js +0 -16
- package/lib/v1/avatar/AvatarWithTeam/props/propTypes.js +0 -36
- package/lib/v1/avatar/index.js +0 -63
- package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +0 -946
- package/lib/v1/dropdown/ToggleDropDown/props/defaultProps.js +0 -36
- package/lib/v1/dropdown/ToggleDropDown/props/propTypes.js +0 -94
- package/lib/v1/emptystate/CommonEmptyState/CommonEmptyState.js +0 -77
- package/lib/v1/emptystate/CommonEmptyState/props/defaultProps.js +0 -17
- package/lib/v1/emptystate/CommonEmptyState/props/propTypes.js +0 -32
- package/lib/v1/emptystate/EditionPage/EditionPage.js +0 -64
- package/lib/v1/emptystate/EditionPage/props/defaultProps.js +0 -12
- package/lib/v1/emptystate/EditionPage/props/propTypes.js +0 -22
- package/lib/v1/errorstate/Inconvenience/Inconvenience.js +0 -76
- package/lib/v1/errorstate/Inconvenience/props/defaultProps.js +0 -15
- package/lib/v1/errorstate/Inconvenience/props/propTypes.js +0 -27
- package/lib/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +0 -80
- package/lib/v1/errorstate/OopsSomethingMiss/props/defaultProps.js +0 -15
- package/lib/v1/errorstate/OopsSomethingMiss/props/propTypes.js +0 -27
- package/lib/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +0 -80
- package/lib/v1/errorstate/UnableToProcessRequest/props/defaultProps.js +0 -15
- package/lib/v1/errorstate/UnableToProcessRequest/props/propTypes.js +0 -27
- package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -81
- package/lib/v1/errorstate/UnauthorizedLogin/props/defaultProps.js +0 -16
- package/lib/v1/errorstate/UnauthorizedLogin/props/propTypes.js +0 -28
- package/lib/v1/errorstate/UrlNotFound/UrlNotFound.js +0 -80
- package/lib/v1/errorstate/UrlNotFound/props/defaultProps.js +0 -15
- package/lib/v1/errorstate/UrlNotFound/props/propTypes.js +0 -27
- package/lib/v1/errorstate/WillBeRightBack/WillBeRightBack.js +0 -80
- package/lib/v1/errorstate/WillBeRightBack/props/defaultProps.js +0 -15
- package/lib/v1/errorstate/WillBeRightBack/props/propTypes.js +0 -27
- package/lib/v1/form/fields/CheckBoxField/CheckBoxField.js +0 -148
- package/lib/v1/form/fields/CheckBoxField/props/defaultProps.js +0 -27
- package/lib/v1/form/fields/CheckBoxField/props/propTypes.js +0 -47
- package/lib/v1/form/fields/CurrencyField/CurrencyField.js +0 -194
- package/lib/v1/form/fields/CurrencyField/props/defaultProps.js +0 -32
- package/lib/v1/form/fields/CurrencyField/props/propTypes.js +0 -57
- package/lib/v1/form/fields/DateField/DateField.js +0 -183
- package/lib/v1/form/fields/DateField/props/defaultProps.js +0 -34
- package/lib/v1/form/fields/DateField/props/propTypes.js +0 -57
- package/lib/v1/form/fields/FieldContainer/FieldContainer.js +0 -87
- package/lib/v1/form/fields/FieldContainer/props/defaultProps.js +0 -22
- package/lib/v1/form/fields/FieldContainer/props/propTypes.js +0 -35
- package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +0 -208
- package/lib/v1/form/fields/MultiSelectField/props/defaultProps.js +0 -32
- package/lib/v1/form/fields/MultiSelectField/props/propTypes.js +0 -68
- package/lib/v1/form/fields/PhoneField/PhoneField.js +0 -193
- package/lib/v1/form/fields/PhoneField/props/defaultProps.js +0 -23
- package/lib/v1/form/fields/PhoneField/props/propTypes.js +0 -58
- package/lib/v1/form/fields/RadioField/RadioField.js +0 -164
- package/lib/v1/form/fields/RadioField/props/defaultProps.js +0 -20
- package/lib/v1/form/fields/RadioField/props/propTypes.js +0 -44
- package/lib/v1/form/fields/RadioField/useRadio.js +0 -50
- package/lib/v1/form/fields/SelectField/SelectField.js +0 -179
- package/lib/v1/form/fields/SelectField/props/defaultProps.js +0 -33
- package/lib/v1/form/fields/SelectField/props/propTypes.js +0 -68
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +0 -387
- package/lib/v1/form/fields/TagsMultiSelect/props/defaultProps.js +0 -23
- package/lib/v1/form/fields/TagsMultiSelect/props/propTypes.js +0 -68
- package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +0 -317
- package/lib/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +0 -38
- package/lib/v1/form/fields/TagsMultiSelectField/props/propTypes.js +0 -83
- package/lib/v1/form/fields/TextBoxField/TextBoxField.js +0 -163
- package/lib/v1/form/fields/TextBoxField/props/defaultProps.js +0 -32
- package/lib/v1/form/fields/TextBoxField/props/propTypes.js +0 -62
- package/lib/v1/form/fields/TextEditor/TextEditor.js +0 -462
- package/lib/v1/form/fields/TextEditor/props/defaultProps.js +0 -23
- package/lib/v1/form/fields/TextEditor/props/propTypes.js +0 -64
- package/lib/v1/form/fields/TextEditorField/TextEditorField.js +0 -175
- package/lib/v1/form/fields/TextEditorField/props/defaultProps.js +0 -30
- package/lib/v1/form/fields/TextEditorField/props/propTypes.js +0 -67
- package/lib/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +0 -204
- package/lib/v1/form/fields/TextEditorWrapper/props/defaultProps.js +0 -16
- package/lib/v1/form/fields/TextEditorWrapper/props/propTypes.js +0 -51
- package/lib/v1/form/fields/TextareaField/TextareaField.js +0 -157
- package/lib/v1/form/fields/TextareaField/props/defaultProps.js +0 -30
- package/lib/v1/form/fields/TextareaField/props/propTypes.js +0 -53
- package/lib/v1/form/fields/ValidationMessage/ValidationMessage.js +0 -71
- package/lib/v1/form/fields/ValidationMessage/props/defaultProps.js +0 -14
- package/lib/v1/form/fields/ValidationMessage/props/propTypes.js +0 -27
- package/lib/v1/form/fields/index.js +0 -135
- package/lib/v1/form/fields/props/FieldCommonDefaultProps.js +0 -19
- package/lib/v1/form/fields/props/FieldCommonPropTypes.js +0 -28
- package/lib/v1/form/layout/Field/Field.js +0 -40
- package/lib/v1/form/layout/Field/props/defaultProps.js +0 -11
- package/lib/v1/form/layout/Field/props/propTypes.js +0 -21
- package/lib/v1/form/layout/Section/Section.js +0 -40
- package/lib/v1/form/layout/Section/props/propTypes.js +0 -22
- package/lib/v1/form/layout/index.js +0 -23
- package/lib/v1/layout/SetupDetailLayout/SetupDetailLayout.js +0 -212
- package/lib/v1/layout/SetupDetailLayout/index.js +0 -37
- package/lib/v1/layout/SetupDetailLayout/props/defaultProps.js +0 -30
- package/lib/v1/layout/SetupDetailLayout/props/propTypes.js +0 -54
- package/lib/v1/layout/SubtabLayout/SubtabLayout.js +0 -146
- package/lib/v1/layout/SubtabLayout/index.js +0 -37
- package/lib/v1/layout/SubtabLayout/props/defaultProps.js +0 -35
- package/lib/v1/layout/SubtabLayout/props/propTypes.js +0 -54
- package/lib/v1/list/AvatarFlip/AvatarFlip.js +0 -86
- package/lib/v1/list/AvatarFlip/props/defaultProps.js +0 -13
- package/lib/v1/list/AvatarFlip/props/propTypes.js +0 -40
- package/lib/v1/list/BluePrintStatus/BluePrintStatus.js +0 -33
- package/lib/v1/list/BluePrintStatus/props/propTypes.js +0 -15
- package/lib/v1/list/Comment/Comment.js +0 -49
- package/lib/v1/list/Comment/props/defaultProps.js +0 -11
- package/lib/v1/list/Comment/props/propTypes.js +0 -18
- package/lib/v1/list/DepartmentDropDown/DepartmentDropDown.js +0 -102
- package/lib/v1/list/DepartmentDropDown/props/defaultProps.js +0 -14
- package/lib/v1/list/DepartmentDropDown/props/propTypes.js +0 -35
- package/lib/v1/list/Dot/Dot.js +0 -27
- package/lib/v1/list/Dot/props/defaultProps.js +0 -11
- package/lib/v1/list/Dot/props/propTypes.js +0 -16
- package/lib/v1/list/DotNew/DotNew.js +0 -34
- package/lib/v1/list/DotNew/props/defaultProps.js +0 -10
- package/lib/v1/list/DotNew/props/propTypes.js +0 -17
- package/lib/v1/list/GridStencils/GridStencils.js +0 -42
- package/lib/v1/list/GridStencils/props/propTypes.js +0 -19
- package/lib/v1/list/Icons/AddNewIcon.js +0 -38
- package/lib/v1/list/Icons/CompleteIcon.js +0 -40
- package/lib/v1/list/Icons/DeleteIcon.js +0 -41
- package/lib/v1/list/Icons/EditIcon.js +0 -41
- package/lib/v1/list/Icons/FloatingIcons.js +0 -42
- package/lib/v1/list/Icons/ReadUnreadIcon.js +0 -46
- package/lib/v1/list/Icons/SmartIcon.js +0 -38
- package/lib/v1/list/Icons/index.js +0 -63
- package/lib/v1/list/Icons/props/defaultProps.js +0 -14
- package/lib/v1/list/Icons/props/propTypes.js +0 -70
- package/lib/v1/list/ListLayout/ListLayout.js +0 -82
- package/lib/v1/list/ListLayout/props/defaultProps.js +0 -18
- package/lib/v1/list/ListLayout/props/propTypes.js +0 -39
- package/lib/v1/list/ListStencils/ListStencils.js +0 -57
- package/lib/v1/list/ListStencils/props/defaultProps.js +0 -10
- package/lib/v1/list/ListStencils/props/propTypes.js +0 -15
- package/lib/v1/list/SecondaryText/AccountName.js +0 -86
- package/lib/v1/list/SecondaryText/ContactName.js +0 -94
- package/lib/v1/list/SecondaryText/DepartmentText.js +0 -29
- package/lib/v1/list/SecondaryText/Email.js +0 -53
- package/lib/v1/list/SecondaryText/HappinessRating.js +0 -34
- package/lib/v1/list/SecondaryText/PhoneNumber.js +0 -57
- package/lib/v1/list/SecondaryText/PriorityText.js +0 -33
- package/lib/v1/list/SecondaryText/SecondaryText.js +0 -38
- package/lib/v1/list/SecondaryText/StatusText.js +0 -34
- package/lib/v1/list/SecondaryText/TicketId.js +0 -54
- package/lib/v1/list/SecondaryText/Website.js +0 -48
- package/lib/v1/list/SecondaryText/index.js +0 -95
- package/lib/v1/list/SecondaryText/props/defaultProps.js +0 -59
- package/lib/v1/list/SecondaryText/props/propTypes.js +0 -163
- package/lib/v1/list/SecondryPanel/SecondryPanel.js +0 -104
- package/lib/v1/list/SecondryPanel/props/defaultProps.js +0 -28
- package/lib/v1/list/SecondryPanel/props/propTypes.js +0 -41
- package/lib/v1/list/SentimentStatus/SentimentStatus.js +0 -35
- package/lib/v1/list/SentimentStatus/props/propTypes.js +0 -16
- package/lib/v1/list/Subject/Subject.js +0 -65
- package/lib/v1/list/Subject/props/defaultProps.js +0 -15
- package/lib/v1/list/Subject/props/propTypes.js +0 -31
- package/lib/v1/list/TagNew/TagNew.js +0 -35
- package/lib/v1/list/TagNew/props/defaultProps.js +0 -11
- package/lib/v1/list/TagNew/props/propTypes.js +0 -19
- package/lib/v1/list/Thread/Thread.js +0 -46
- package/lib/v1/list/Thread/props/defaultProps.js +0 -11
- package/lib/v1/list/Thread/props/propTypes.js +0 -19
- package/lib/v1/list/index.js +0 -165
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +0 -363
- package/lib/v1/list/status/StatusDropdown/props/defaultProps.js +0 -29
- package/lib/v1/list/status/StatusDropdown/props/propTypes.js +0 -34
- package/lib/v1/list/status/StatusListItem/StatusListItem.js +0 -124
- package/lib/v1/list/status/StatusListItem/props/defaultProps.js +0 -23
- package/lib/v1/list/status/StatusListItem/props/propTypes.js +0 -42
- package/lib/v1/list/status/index.js +0 -23
- package/lib/v1/lookup/EmptyPage/EmptyPage.js +0 -70
- package/lib/v1/lookup/EmptyPage/props/defaultProps.js +0 -11
- package/lib/v1/lookup/EmptyPage/props/propTypes.js +0 -16
- package/lib/v1/lookup/Lookup/Lookup.js +0 -145
- package/lib/v1/lookup/Lookup/props/defaultProps.js +0 -16
- package/lib/v1/lookup/Lookup/props/propTypes.js +0 -35
- package/lib/v1/lookup/Section/Section.js +0 -30
- package/lib/v1/lookup/Section/props/propTypes.js +0 -17
- package/lib/v1/lookup/header/Close/Close.js +0 -47
- package/lib/v1/lookup/header/Close/props/defaultProps.js +0 -10
- package/lib/v1/lookup/header/Close/props/propTypes.js +0 -17
- package/lib/v1/lookup/header/ModuleHeader/ModuleHeader.js +0 -116
- package/lib/v1/lookup/header/ModuleHeader/props/defaultProps.js +0 -16
- package/lib/v1/lookup/header/ModuleHeader/props/propTypes.js +0 -31
- package/lib/v1/lookup/header/Search/Search.js +0 -208
- package/lib/v1/lookup/header/Search/props/defaultProps.js +0 -12
- package/lib/v1/lookup/header/Search/props/propTypes.js +0 -40
- package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +0 -133
- package/lib/v1/lookup/header/TicketHeader/props/defaultProps.js +0 -17
- package/lib/v1/lookup/header/TicketHeader/props/propTypes.js +0 -32
- package/lib/v1/lookup/header/Title/Title.js +0 -44
- package/lib/v1/lookup/header/Title/props/defaultProps.js +0 -10
- package/lib/v1/lookup/header/Title/props/propTypes.js +0 -17
- package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +0 -239
- package/lib/v1/lookup/header/ViewDropDown/props/defaultProps.js +0 -17
- package/lib/v1/lookup/header/ViewDropDown/props/propTypes.js +0 -38
- package/lib/v1/lookup/header/index.js +0 -47
- package/lib/v1/notification/DesktopNotification/DesktopNotification.js +0 -209
- package/lib/v1/notification/DesktopNotification/props/defaultProps.js +0 -26
- package/lib/v1/notification/DesktopNotification/props/propTypes.js +0 -55
- package/lib/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +0 -105
- package/lib/v1/notification/DesktopNotificationHeader/props/defaultProps.js +0 -16
- package/lib/v1/notification/DesktopNotificationHeader/props/propTypes.js +0 -24
- package/lib/v1/setup/header/Button/Button.js +0 -37
- package/lib/v1/setup/header/Button/props/defaultProps.js +0 -11
- package/lib/v1/setup/header/Button/props/propTypes.js +0 -18
- package/lib/v1/setup/header/Link/Link.js +0 -47
- package/lib/v1/setup/header/Link/props/defaultProps.js +0 -11
- package/lib/v1/setup/header/Link/props/propTypes.js +0 -19
- package/lib/v1/setup/header/Search/Search.js +0 -99
- package/lib/v1/setup/header/Search/props/defaultProps.js +0 -13
- package/lib/v1/setup/header/Search/props/propTypes.js +0 -23
- package/lib/v1/setup/header/Views/Views.js +0 -47
- package/lib/v1/setup/header/Views/props/defaultProps.js +0 -13
- package/lib/v1/setup/header/Views/props/propTypes.js +0 -20
- package/lib/v1/setup/header/index.js +0 -39
- package/lib/v1/setup/helptips/Description/Description.js +0 -23
- package/lib/v1/setup/helptips/Description/props/propTypes.js +0 -15
- package/lib/v1/setup/helptips/Link/Link.js +0 -42
- package/lib/v1/setup/helptips/Link/props/propTypes.js +0 -18
- package/lib/v1/setup/helptips/ListGroup/ListGroup.js +0 -42
- package/lib/v1/setup/helptips/ListGroup/props/propTypes.js +0 -16
- package/lib/v1/setup/helptips/Title/Title.js +0 -23
- package/lib/v1/setup/helptips/Title/props/propTypes.js +0 -15
- package/lib/v1/setup/helptips/index.js +0 -39
- package/lib/v1/setup/index.js +0 -24
- package/lib/v1/setup/table/Table/Table.js +0 -34
- package/lib/v1/setup/table/Table/props/defaultProps.js +0 -11
- package/lib/v1/setup/table/Table/props/propTypes.js +0 -17
- package/lib/v1/setup/table/TableBody/TableBody.js +0 -39
- package/lib/v1/setup/table/TableBody/props/defaultProps.js +0 -10
- package/lib/v1/setup/table/TableBody/props/propTypes.js +0 -18
- package/lib/v1/setup/table/TableData/TableData.js +0 -44
- package/lib/v1/setup/table/TableData/props/defaultProps.js +0 -12
- package/lib/v1/setup/table/TableData/props/propTypes.js +0 -22
- package/lib/v1/setup/table/TableHead/TableHead.js +0 -44
- package/lib/v1/setup/table/TableHead/props/defaultProps.js +0 -11
- package/lib/v1/setup/table/TableHead/props/propTypes.js +0 -19
- package/lib/v1/setup/table/TableRow/TableRow.js +0 -49
- package/lib/v1/setup/table/TableRow/props/defaultProps.js +0 -11
- package/lib/v1/setup/table/TableRow/props/propTypes.js +0 -22
- package/lib/v1/setup/table/Text/Text.js +0 -64
- package/lib/v1/setup/table/Text/props/defaultProps.js +0 -14
- package/lib/v1/setup/table/Text/props/propTypes.js +0 -24
- package/lib/v1/setup/table/index.js +0 -47
- package/lib/v1/svg/PlusIcon.js +0 -37
- package/lib/v1/svg/SnippetIcon.js +0 -39
- package/lib/v1/svg/TemplateIcon.js +0 -40
- package/lib/v1/svg/index.js +0 -31
- package/lib/v1/svg/props/defaultProps.js +0 -24
- package/lib/v1/svg/props/propTypes.js +0 -29
- package/lib/v1/utils/ChannelIconMapping.js +0 -138
- package/lib/v1/utils/General.js +0 -58
- package/lib/v1/utils/editorUtils.js +0 -224
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.propTypes = void 0;
|
|
7
|
-
|
|
8
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
|
|
12
|
-
var propTypes = {
|
|
13
|
-
isBold: _propTypes["default"].bool,
|
|
14
|
-
palette: _propTypes["default"].oneOf(['default', 'primary', 'danger']),
|
|
15
|
-
text: _propTypes["default"].string
|
|
16
|
-
};
|
|
17
|
-
exports.propTypes = propTypes;
|
|
@@ -1,239 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
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); }
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
|
-
var _defaultProps = require("./props/defaultProps");
|
|
13
|
-
|
|
14
|
-
var _propTypes = require("./props/propTypes");
|
|
15
|
-
|
|
16
|
-
var _Select = require("@zohodesk/components/es/v1/Select/Select");
|
|
17
|
-
|
|
18
|
-
var _Popup = _interopRequireDefault(require("@zohodesk/components/es/v1/Popup/Popup"));
|
|
19
|
-
|
|
20
|
-
var _ListItem = _interopRequireDefault(require("@zohodesk/components/es/v1/ListItem/ListItem"));
|
|
21
|
-
|
|
22
|
-
var _DropDownSearch = _interopRequireDefault(require("@zohodesk/components/es/v1/DropDown/DropDownSearch"));
|
|
23
|
-
|
|
24
|
-
var _Card = require("@zohodesk/components/es/v1/Card");
|
|
25
|
-
|
|
26
|
-
var _ResponsiveDropBox = _interopRequireDefault(require("@zohodesk/components/es/v1/ResponsiveDropBox/ResponsiveDropBox"));
|
|
27
|
-
|
|
28
|
-
var _CustomResponsive = require("@zohodesk/components/es/Responsive/CustomResponsive");
|
|
29
|
-
|
|
30
|
-
var _icons = require("@zohodesk/icons");
|
|
31
|
-
|
|
32
|
-
var _Layout = require("@zohodesk/components/es/v1/Layout");
|
|
33
|
-
|
|
34
|
-
var _Loader = _interopRequireDefault(require("@zohodesk/svg/es/Loader/Loader"));
|
|
35
|
-
|
|
36
|
-
var _ViewDropDownModule = _interopRequireDefault(require("../../../../lookup/header/ViewDropDown/ViewDropDown.module.css"));
|
|
37
|
-
|
|
38
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
39
|
-
|
|
40
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
41
|
-
|
|
42
|
-
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); } }
|
|
43
|
-
|
|
44
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
45
|
-
|
|
46
|
-
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); }
|
|
47
|
-
|
|
48
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
49
|
-
|
|
50
|
-
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); }; }
|
|
51
|
-
|
|
52
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
53
|
-
|
|
54
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
55
|
-
|
|
56
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
57
|
-
|
|
58
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
59
|
-
|
|
60
|
-
/* eslint-disable react/forbid-component-props */
|
|
61
|
-
|
|
62
|
-
/*eslint-disable react/sort-prop-types*/
|
|
63
|
-
var DropDown = /*#__PURE__*/function (_SelectComponent) {
|
|
64
|
-
_inherits(DropDown, _SelectComponent);
|
|
65
|
-
|
|
66
|
-
var _super = _createSuper(DropDown);
|
|
67
|
-
|
|
68
|
-
function DropDown(props) {
|
|
69
|
-
var _this;
|
|
70
|
-
|
|
71
|
-
_classCallCheck(this, DropDown);
|
|
72
|
-
|
|
73
|
-
_this = _super.call(this, props);
|
|
74
|
-
_this.onSearchKeyDown = _this.onSearchKeyDown.bind(_assertThisInitialized(_this));
|
|
75
|
-
return _this;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
_createClass(DropDown, [{
|
|
79
|
-
key: "onSearchKeyDown",
|
|
80
|
-
value: function onSearchKeyDown(e) {
|
|
81
|
-
var closePopupOnly = this.props.closePopupOnly;
|
|
82
|
-
|
|
83
|
-
if (e.keyCode === 27) {
|
|
84
|
-
closePopupOnly && closePopupOnly(e);
|
|
85
|
-
} else {
|
|
86
|
-
this.handleKeyDown(e);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}, {
|
|
90
|
-
key: "responsiveFunc",
|
|
91
|
-
value: function responsiveFunc(_ref) {
|
|
92
|
-
var mediaQueryOR = _ref.mediaQueryOR;
|
|
93
|
-
return {
|
|
94
|
-
tabletMode: mediaQueryOR([{
|
|
95
|
-
maxWidth: 700
|
|
96
|
-
}])
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
}, {
|
|
100
|
-
key: "render",
|
|
101
|
-
value: function render() {
|
|
102
|
-
var _this2 = this;
|
|
103
|
-
|
|
104
|
-
var _this$props = this.props,
|
|
105
|
-
needSearch = _this$props.needSearch,
|
|
106
|
-
dropBoxSize = _this$props.dropBoxSize,
|
|
107
|
-
emptyMessage = _this$props.emptyMessage,
|
|
108
|
-
searchEmptyMessage = _this$props.searchEmptyMessage,
|
|
109
|
-
position = _this$props.position,
|
|
110
|
-
defaultDropBoxPosition = _this$props.defaultDropBoxPosition,
|
|
111
|
-
getTargetRef = _this$props.getTargetRef,
|
|
112
|
-
getContainerRef = _this$props.getContainerRef,
|
|
113
|
-
isPopupOpen = _this$props.isPopupOpen,
|
|
114
|
-
removeClose = _this$props.removeClose,
|
|
115
|
-
isPopupReady = _this$props.isPopupReady,
|
|
116
|
-
animationStyle = _this$props.animationStyle,
|
|
117
|
-
searchBoxSize = _this$props.searchBoxSize,
|
|
118
|
-
searchBoxVariant = _this$props.searchBoxVariant,
|
|
119
|
-
searchBoxPlaceHolder = _this$props.searchBoxPlaceHolder,
|
|
120
|
-
maxLength = _this$props.maxLength,
|
|
121
|
-
dataId = _this$props.dataId,
|
|
122
|
-
isAbsolutePositioningNeeded = _this$props.isAbsolutePositioningNeeded,
|
|
123
|
-
isRestrictScroll = _this$props.isRestrictScroll,
|
|
124
|
-
positionsOffset = _this$props.positionsOffset,
|
|
125
|
-
targetOffset = _this$props.targetOffset;
|
|
126
|
-
var _this$state = this.state,
|
|
127
|
-
hoverIndex = _this$state.hoverIndex,
|
|
128
|
-
selected = _this$state.selected,
|
|
129
|
-
searchStr = _this$state.searchStr,
|
|
130
|
-
isFetchingOptions = _this$state.isFetchingOptions,
|
|
131
|
-
selectedId = _this$state.selectedId;
|
|
132
|
-
var suggestions = this.handleFilterSuggestions();
|
|
133
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
134
|
-
className: _ViewDropDownModule["default"].container,
|
|
135
|
-
"data-id": dataId,
|
|
136
|
-
"data-test-id": dataId
|
|
137
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
138
|
-
onClick: this.togglePopup,
|
|
139
|
-
ref: getTargetRef
|
|
140
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
141
|
-
className: "".concat(_ViewDropDownModule["default"].labelCnt, " ").concat(isPopupOpen ? _ViewDropDownModule["default"].focused : '')
|
|
142
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
143
|
-
className: _ViewDropDownModule["default"].labelText,
|
|
144
|
-
"data-title": selected,
|
|
145
|
-
"data-id": "".concat(dataId, "_selectedValue"),
|
|
146
|
-
"data-test-id": "".concat(dataId, "_selectedValue")
|
|
147
|
-
}, selected), /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
148
|
-
name: "ZD-down",
|
|
149
|
-
size: "7",
|
|
150
|
-
iconClass: _ViewDropDownModule["default"].arrowIcon,
|
|
151
|
-
dataId: "".concat(dataId, "_icon")
|
|
152
|
-
}))), isPopupOpen ? /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
|
|
153
|
-
query: this.responsiveFunc,
|
|
154
|
-
responsiveId: "Helmet"
|
|
155
|
-
}, function (_ref2) {
|
|
156
|
-
var tabletMode = _ref2.tabletMode;
|
|
157
|
-
return /*#__PURE__*/_react["default"].createElement(_ResponsiveDropBox["default"], {
|
|
158
|
-
isAnimate: true,
|
|
159
|
-
isArrow: false,
|
|
160
|
-
isActive: isPopupReady,
|
|
161
|
-
boxPosition: position || "".concat(defaultDropBoxPosition, "Center"),
|
|
162
|
-
getRef: getContainerRef,
|
|
163
|
-
onClick: removeClose,
|
|
164
|
-
animationStyle: animationStyle,
|
|
165
|
-
size: "large",
|
|
166
|
-
alignBox: "row",
|
|
167
|
-
isResponsivePadding: true,
|
|
168
|
-
dataId: "".concat(dataId, "_dropbox"),
|
|
169
|
-
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
170
|
-
isRestrictScroll: isRestrictScroll,
|
|
171
|
-
positionsOffset: positionsOffset,
|
|
172
|
-
targetOffset: targetOffset
|
|
173
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
174
|
-
flexible: true
|
|
175
|
-
}, /*#__PURE__*/_react["default"].createElement(_Card.Card, null, needSearch ? /*#__PURE__*/_react["default"].createElement(_Card.CardHeader, null, /*#__PURE__*/_react["default"].createElement(_DropDownSearch["default"], {
|
|
176
|
-
value: searchStr,
|
|
177
|
-
onChange: _this2.handleSearch,
|
|
178
|
-
onKeyDown: _this2.onSearchKeyDown,
|
|
179
|
-
getRef: _this2.searchInputRef,
|
|
180
|
-
size: searchBoxSize,
|
|
181
|
-
variant: searchBoxVariant,
|
|
182
|
-
placeHolder: searchBoxPlaceHolder,
|
|
183
|
-
maxLength: maxLength,
|
|
184
|
-
dataId: "".concat(dataId, "_search")
|
|
185
|
-
})) : null, /*#__PURE__*/_react["default"].createElement(_Card.CardContent, {
|
|
186
|
-
shrink: true,
|
|
187
|
-
eleRef: _this2.suggestionContainerRef,
|
|
188
|
-
customClass: !tabletMode && dropBoxSize ? _ViewDropDownModule["default"][dropBoxSize] : ''
|
|
189
|
-
}, suggestions.length ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
190
|
-
className: _ViewDropDownModule["default"].listItemContainer,
|
|
191
|
-
"data-id": "".concat(dataId, "_Options")
|
|
192
|
-
}, suggestions.map(function () {
|
|
193
|
-
var option = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
194
|
-
var index = arguments.length > 1 ? arguments[1] : undefined;
|
|
195
|
-
var id = option.id,
|
|
196
|
-
value = option.value;
|
|
197
|
-
return /*#__PURE__*/_react["default"].createElement(_ListItem["default"], {
|
|
198
|
-
active: id === selectedId,
|
|
199
|
-
getRef: _this2.suggestionItemRef,
|
|
200
|
-
highlight: hoverIndex === index ? true : false,
|
|
201
|
-
id: id,
|
|
202
|
-
key: "".concat(id, "dropDown"),
|
|
203
|
-
onClick: _this2.handleChange,
|
|
204
|
-
onMouseEnter: _this2.handleMouseEnter,
|
|
205
|
-
size: "medium",
|
|
206
|
-
value: value,
|
|
207
|
-
index: index,
|
|
208
|
-
needTick: true,
|
|
209
|
-
needBorder: false
|
|
210
|
-
});
|
|
211
|
-
})) : isFetchingOptions ? /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
212
|
-
align: "both",
|
|
213
|
-
className: _ViewDropDownModule["default"].loader
|
|
214
|
-
}, /*#__PURE__*/_react["default"].createElement(_Loader["default"], null)) : searchStr ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
215
|
-
className: _ViewDropDownModule["default"].emptyState
|
|
216
|
-
}, searchEmptyMessage || emptyMessage) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
217
|
-
className: _ViewDropDownModule["default"].emptyState
|
|
218
|
-
}, emptyMessage)))));
|
|
219
|
-
}) : null);
|
|
220
|
-
}
|
|
221
|
-
}]);
|
|
222
|
-
|
|
223
|
-
return DropDown;
|
|
224
|
-
}(_Select.SelectComponent);
|
|
225
|
-
|
|
226
|
-
DropDown.propTypes = _propTypes.propTypes;
|
|
227
|
-
DropDown.defaultProps = _defaultProps.defaultProps;
|
|
228
|
-
var ViewDropDown = (0, _Popup["default"])(DropDown);
|
|
229
|
-
ViewDropDown.defaultProps = DropDown.defaultProps;
|
|
230
|
-
ViewDropDown.propTypes = DropDown.propTypes; // if (__DOCS__) {
|
|
231
|
-
// DropDown.docs = {
|
|
232
|
-
// componentGroup: 'Lookup'
|
|
233
|
-
// };
|
|
234
|
-
// // eslint-disable-next-line react/forbid-foreign-prop-types
|
|
235
|
-
// ViewDropDown.propTypes = DropDown.propTypes;
|
|
236
|
-
// }
|
|
237
|
-
|
|
238
|
-
var _default = ViewDropDown;
|
|
239
|
-
exports["default"] = _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.defaultProps = void 0;
|
|
7
|
-
var defaultProps = {
|
|
8
|
-
dropBoxSize: 'small',
|
|
9
|
-
needLocalSearch: true,
|
|
10
|
-
needSearch: true,
|
|
11
|
-
textField: 'text',
|
|
12
|
-
valueField: 'id',
|
|
13
|
-
dataId: 'ViewDropDown',
|
|
14
|
-
isAbsolutePositioningNeeded: true,
|
|
15
|
-
isRestrictScroll: false
|
|
16
|
-
};
|
|
17
|
-
exports.defaultProps = defaultProps;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.propTypes = void 0;
|
|
7
|
-
|
|
8
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
|
|
12
|
-
var propTypes = {
|
|
13
|
-
emptyMessage: _propTypes["default"].string,
|
|
14
|
-
needSearch: _propTypes["default"].bool,
|
|
15
|
-
searchBoxPlaceHolder: _propTypes["default"].string,
|
|
16
|
-
searchEmptyMessage: _propTypes["default"].string,
|
|
17
|
-
dropBoxSize: _propTypes["default"].oneOf(['small', 'medium', 'large']),
|
|
18
|
-
dataId: _propTypes["default"].string,
|
|
19
|
-
|
|
20
|
-
/**** Popup props ****/
|
|
21
|
-
isPopupOpen: _propTypes["default"].bool,
|
|
22
|
-
isPopupReady: _propTypes["default"].bool,
|
|
23
|
-
removeClose: _propTypes["default"].func,
|
|
24
|
-
closePopupOnly: _propTypes["default"].func,
|
|
25
|
-
position: _propTypes["default"].string,
|
|
26
|
-
getTargetRef: _propTypes["default"].func,
|
|
27
|
-
getContainerRef: _propTypes["default"].func,
|
|
28
|
-
defaultDropBoxPosition: _propTypes["default"].string,
|
|
29
|
-
animationStyle: _propTypes["default"].string,
|
|
30
|
-
searchBoxSize: _propTypes["default"].string,
|
|
31
|
-
searchBoxVariant: _propTypes["default"].string,
|
|
32
|
-
maxLength: _propTypes["default"].string,
|
|
33
|
-
isAbsolutePositioningNeeded: _propTypes["default"].bool,
|
|
34
|
-
isRestrictScroll: _propTypes["default"].bool,
|
|
35
|
-
positionsOffset: _propTypes["default"].string,
|
|
36
|
-
targetOffset: _propTypes["default"].string
|
|
37
|
-
};
|
|
38
|
-
exports.propTypes = propTypes;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "Close", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _Close["default"];
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "ModuleHeader", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _ModuleHeader["default"];
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "Search", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function get() {
|
|
21
|
-
return _Search["default"];
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "TicketHeader", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function get() {
|
|
27
|
-
return _TicketHeader["default"];
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "ViewDropDown", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function get() {
|
|
33
|
-
return _ViewDropDown["default"];
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
var _Close = _interopRequireDefault(require("./Close/Close"));
|
|
38
|
-
|
|
39
|
-
var _ModuleHeader = _interopRequireDefault(require("./ModuleHeader/ModuleHeader"));
|
|
40
|
-
|
|
41
|
-
var _Search = _interopRequireDefault(require("./Search/Search"));
|
|
42
|
-
|
|
43
|
-
var _TicketHeader = _interopRequireDefault(require("./TicketHeader/TicketHeader"));
|
|
44
|
-
|
|
45
|
-
var _ViewDropDown = _interopRequireDefault(require("./ViewDropDown/ViewDropDown"));
|
|
46
|
-
|
|
47
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.DesktopNotificationUI = DesktopNotificationUI;
|
|
7
|
-
exports["default"] = DesktopNotification;
|
|
8
|
-
|
|
9
|
-
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
|
|
11
|
-
var _defaultProps = _interopRequireDefault(require("./props/defaultProps"));
|
|
12
|
-
|
|
13
|
-
var _propTypes = require("./props/propTypes");
|
|
14
|
-
|
|
15
|
-
var _Layout = require("@zohodesk/components/es/v1/Layout");
|
|
16
|
-
|
|
17
|
-
var _ZindexProvider = require("@zohodesk/components/es/Provider/ZindexProvider");
|
|
18
|
-
|
|
19
|
-
var _AutoClose = _interopRequireDefault(require("../../../actions/AutoClose"));
|
|
20
|
-
|
|
21
|
-
var _Button = _interopRequireDefault(require("@zohodesk/components/es/v1/Button/Button"));
|
|
22
|
-
|
|
23
|
-
var _FormAction = _interopRequireDefault(require("../../../FormAction/FormAction"));
|
|
24
|
-
|
|
25
|
-
var _DesktopNotificationHeader = _interopRequireDefault(require("../DesktopNotificationHeader/DesktopNotificationHeader"));
|
|
26
|
-
|
|
27
|
-
var _CustomResponsive = require("@zohodesk/components/es/Responsive/CustomResponsive");
|
|
28
|
-
|
|
29
|
-
var _DesktopNotificationModule = _interopRequireDefault(require("../../../version2/notification/DesktopNotification/DesktopNotification.module.css"));
|
|
30
|
-
|
|
31
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
32
|
-
|
|
33
|
-
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); }
|
|
34
|
-
|
|
35
|
-
var buttonPaletteObject = {
|
|
36
|
-
success: {
|
|
37
|
-
buttonPalette: 'successFilled'
|
|
38
|
-
},
|
|
39
|
-
error: {
|
|
40
|
-
buttonPalette: 'dangerFilled'
|
|
41
|
-
},
|
|
42
|
-
danger: {
|
|
43
|
-
buttonPalette: 'dangerFilled'
|
|
44
|
-
},
|
|
45
|
-
warning: {
|
|
46
|
-
buttonPalette: 'dangerFilled'
|
|
47
|
-
},
|
|
48
|
-
info: {
|
|
49
|
-
buttonPalette: 'primaryFilled'
|
|
50
|
-
},
|
|
51
|
-
notification: {
|
|
52
|
-
buttonPalette: 'primaryFilled'
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
function DesktopNotificationUI(props) {
|
|
57
|
-
var _props$type = props.type,
|
|
58
|
-
type = _props$type === void 0 ? '' : _props$type,
|
|
59
|
-
submitText = props.submitText,
|
|
60
|
-
cancelText = props.cancelText,
|
|
61
|
-
submitType = props.submitType,
|
|
62
|
-
isMore = props.isMore,
|
|
63
|
-
message = props.message,
|
|
64
|
-
isAnimate = props.isAnimate,
|
|
65
|
-
getBottomContainer = props.getBottomContainer,
|
|
66
|
-
getSubmitContainer = props.getSubmitContainer,
|
|
67
|
-
onSubmit = props.onSubmit,
|
|
68
|
-
onCancel = props.onCancel,
|
|
69
|
-
dataId = props.dataId,
|
|
70
|
-
dataSelectorId = props.dataSelectorId,
|
|
71
|
-
isClose = props.isClose,
|
|
72
|
-
needAutoZindex = props.needAutoZindex,
|
|
73
|
-
title = props.title,
|
|
74
|
-
subTitle = props.subTitle,
|
|
75
|
-
needIcon = props.needIcon,
|
|
76
|
-
info = props.info,
|
|
77
|
-
secondaryInfo = props.secondaryInfo,
|
|
78
|
-
titleVariant = props.titleVariant,
|
|
79
|
-
getSectionContainer = props.getSectionContainer,
|
|
80
|
-
isShrinkView = props.isShrinkView,
|
|
81
|
-
size = props.size,
|
|
82
|
-
onClose = props.onClose,
|
|
83
|
-
needClose = props.needClose,
|
|
84
|
-
renderAlertIcon = props.renderAlertIcon,
|
|
85
|
-
_props$customClass = props.customClass,
|
|
86
|
-
customClass = _props$customClass === void 0 ? {} : _props$customClass,
|
|
87
|
-
_props$i18nKeys = props.i18nKeys,
|
|
88
|
-
i18nKeys = _props$i18nKeys === void 0 ? {} : _props$i18nKeys,
|
|
89
|
-
customProps = props.customProps,
|
|
90
|
-
responsiveId = props.responsiveId;
|
|
91
|
-
var _i18nKeys$closeTitle = i18nKeys.closeTitle,
|
|
92
|
-
closeTitle = _i18nKeys$closeTitle === void 0 ? 'Close' : _i18nKeys$closeTitle;
|
|
93
|
-
var containerClass = customClass.containerClass;
|
|
94
|
-
|
|
95
|
-
var _ref = buttonPaletteObject[type] || {},
|
|
96
|
-
_ref$buttonPalette = _ref.buttonPalette,
|
|
97
|
-
buttonPalette = _ref$buttonPalette === void 0 ? 'dangerFilled' : _ref$buttonPalette;
|
|
98
|
-
|
|
99
|
-
var _customProps$ExtraPro = customProps.ExtraProps,
|
|
100
|
-
ExtraProps = _customProps$ExtraPro === void 0 ? {} : _customProps$ExtraPro;
|
|
101
|
-
|
|
102
|
-
function onClickSubmit(e) {
|
|
103
|
-
onSubmit && onSubmit();
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
function onClickCancel(e) {
|
|
107
|
-
onCancel && onCancel();
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
var animateClass = isClose ? _DesktopNotificationModule["default"].rightanimate : _DesktopNotificationModule["default"].leftanimate;
|
|
111
|
-
var animateRemoveClass = isClose ? _DesktopNotificationModule["default"].rightanimate : _DesktopNotificationModule["default"].leftnoanimate;
|
|
112
|
-
var getNextIndex = (0, _ZindexProvider.useZIndex)();
|
|
113
|
-
var Zindex = isAnimate ? getNextIndex() : null;
|
|
114
|
-
var uiVariantOne = title && (info || secondaryInfo);
|
|
115
|
-
var uiVariantTwo = title && !(info || secondaryInfo) && !getSectionContainer;
|
|
116
|
-
|
|
117
|
-
function responsiveFunc(_ref2) {
|
|
118
|
-
var mediaQueryOR = _ref2.mediaQueryOR;
|
|
119
|
-
return {
|
|
120
|
-
uptoTablet: mediaQueryOR([{
|
|
121
|
-
maxWidth: 760
|
|
122
|
-
}])
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
127
|
-
className: _DesktopNotificationModule["default"].parentElement,
|
|
128
|
-
style: needAutoZindex && isAnimate ? {
|
|
129
|
-
zIndex: "".concat(Zindex)
|
|
130
|
-
} : {},
|
|
131
|
-
"data-selector-id": dataSelectorId
|
|
132
|
-
}, /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
|
|
133
|
-
query: responsiveFunc,
|
|
134
|
-
responsiveId: responsiveId
|
|
135
|
-
}, function (_ref3) {
|
|
136
|
-
var uptoTablet = _ref3.uptoTablet;
|
|
137
|
-
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, _extends({
|
|
138
|
-
className: "".concat(_DesktopNotificationModule["default"].container, " ").concat(isAnimate ? animateClass : animateRemoveClass, "\n ").concat(isShrinkView ? _DesktopNotificationModule["default"].globalNotify : '', " ").concat(containerClass, "\n ").concat(uptoTablet ? _DesktopNotificationModule["default"].tapWidth : _DesktopNotificationModule["default"]["".concat(size)]),
|
|
139
|
-
isCover: false,
|
|
140
|
-
dataId: dataId,
|
|
141
|
-
isInline: uiVariantTwo
|
|
142
|
-
}, ExtraProps), /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement(_DesktopNotificationHeader["default"], {
|
|
143
|
-
type: type,
|
|
144
|
-
title: title,
|
|
145
|
-
variant: titleVariant,
|
|
146
|
-
needIcon: needIcon,
|
|
147
|
-
onClose: onClose,
|
|
148
|
-
closeTitle: closeTitle,
|
|
149
|
-
renderAlertIcon: renderAlertIcon,
|
|
150
|
-
dataId: "".concat(dataId, "_close"),
|
|
151
|
-
needClose: needClose
|
|
152
|
-
})), /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
153
|
-
alignBox: "column"
|
|
154
|
-
}, uiVariantOne && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
155
|
-
flexible: true
|
|
156
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
157
|
-
className: "".concat(_DesktopNotificationModule["default"].section, " ").concat(_DesktopNotificationModule["default"].infoText)
|
|
158
|
-
}, subTitle && /*#__PURE__*/_react["default"].createElement("div", {
|
|
159
|
-
className: "".concat(_DesktopNotificationModule["default"].subTitle, " ").concat(info || secondaryInfo ? _DesktopNotificationModule["default"].subTitleMargin : '')
|
|
160
|
-
}, subTitle), info && /*#__PURE__*/_react["default"].createElement("div", null, info), secondaryInfo && /*#__PURE__*/_react["default"].createElement("div", {
|
|
161
|
-
className: "".concat(info ? _DesktopNotificationModule["default"].secondaryInfo : '')
|
|
162
|
-
}, secondaryInfo))), getSectionContainer && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
163
|
-
flexible: true
|
|
164
|
-
}, getSectionContainer()), submitText || cancelText ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
165
|
-
className: _DesktopNotificationModule["default"].footer
|
|
166
|
-
}, isMore ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
167
|
-
className: "".concat(_DesktopNotificationModule["default"].message)
|
|
168
|
-
}, message) : null, /*#__PURE__*/_react["default"].createElement(_FormAction["default"], {
|
|
169
|
-
size: "small",
|
|
170
|
-
paddingLeftSize: "xmedium"
|
|
171
|
-
}, submitText ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
172
|
-
onClick: onClickSubmit,
|
|
173
|
-
"data-id": "".concat(dataId, "_submitButton"),
|
|
174
|
-
"data-test-id": "".concat(dataId, "_submitButton")
|
|
175
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
176
|
-
align: "vertical",
|
|
177
|
-
alignBox: "row"
|
|
178
|
-
}, getSubmitContainer ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
179
|
-
flexible: true
|
|
180
|
-
}, getSubmitContainer()) : /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
181
|
-
flexible: true
|
|
182
|
-
}, /*#__PURE__*/_react["default"].createElement(_Button["default"], {
|
|
183
|
-
text: submitText,
|
|
184
|
-
palette: submitType ? submitType : buttonPalette
|
|
185
|
-
})))) : null, cancelText ? /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Button["default"], {
|
|
186
|
-
text: cancelText,
|
|
187
|
-
palette: "secondary",
|
|
188
|
-
dataId: "".concat(dataId, "_cancelButton"),
|
|
189
|
-
onClick: onClickCancel
|
|
190
|
-
})) : null))) : null)), getBottomContainer ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, getBottomContainer()) : null);
|
|
191
|
-
}));
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
DesktopNotificationUI.propTypes = _propTypes.DesktopNotificationUI_propTypes;
|
|
195
|
-
DesktopNotificationUI.propTypes = _defaultProps["default"];
|
|
196
|
-
|
|
197
|
-
function DesktopNotification(props) {
|
|
198
|
-
return /*#__PURE__*/_react["default"].createElement(_AutoClose["default"], _extends({}, props, {
|
|
199
|
-
Element: DesktopNotificationUI
|
|
200
|
-
}));
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
DesktopNotification.propTypes = _propTypes.propTypes;
|
|
204
|
-
DesktopNotification.defaultProps = _defaultProps["default"]; // if (__DOCS__) {
|
|
205
|
-
// DesktopNotification.docs = {
|
|
206
|
-
// componentGroup: 'DesktopNotification',
|
|
207
|
-
// folderName: 'Alert'
|
|
208
|
-
// };
|
|
209
|
-
// }
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
|
|
8
|
-
var _Config = require("../../../../Provider/Config");
|
|
9
|
-
|
|
10
|
-
var _default = {
|
|
11
|
-
isMore: false,
|
|
12
|
-
isAnimate: true,
|
|
13
|
-
isClose: false,
|
|
14
|
-
autoClose: false,
|
|
15
|
-
hideTime: '3000',
|
|
16
|
-
dataId: 'toastMessage',
|
|
17
|
-
needAutoZindex: true,
|
|
18
|
-
needIcon: true,
|
|
19
|
-
titleVariant: 'primary',
|
|
20
|
-
isShrinkView: false,
|
|
21
|
-
needClose: true,
|
|
22
|
-
customProps: {},
|
|
23
|
-
dataSelectorId: 'desktopNotification',
|
|
24
|
-
responsiveId: (0, _Config.getDotLibraryConfig)('desktopNotificationResponsiveId')
|
|
25
|
-
};
|
|
26
|
-
exports["default"] = _default;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.propTypes = exports.DesktopNotificationUI_propTypes = void 0;
|
|
7
|
-
|
|
8
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
|
|
12
|
-
var propTypes = {
|
|
13
|
-
isClose: _propTypes["default"].bool,
|
|
14
|
-
onPortalClose: _propTypes["default"].func,
|
|
15
|
-
autoClose: _propTypes["default"].bool,
|
|
16
|
-
hideTime: _propTypes["default"].string,
|
|
17
|
-
Element: _propTypes["default"].element,
|
|
18
|
-
responsiveId: _propTypes["default"].string
|
|
19
|
-
};
|
|
20
|
-
exports.propTypes = propTypes;
|
|
21
|
-
var DesktopNotificationUI_propTypes = {
|
|
22
|
-
type: _propTypes["default"].oneOf(['success', 'error', 'danger', 'warning', 'info', 'notification', 'alarm']),
|
|
23
|
-
cancelText: _propTypes["default"].string,
|
|
24
|
-
submitText: _propTypes["default"].string,
|
|
25
|
-
submitType: _propTypes["default"].oneOf(['primary', 'danger', 'success']),
|
|
26
|
-
isMore: _propTypes["default"].bool,
|
|
27
|
-
customClass: _propTypes["default"].object,
|
|
28
|
-
dataId: _propTypes["default"].string,
|
|
29
|
-
getBottomContainer: _propTypes["default"].func,
|
|
30
|
-
getSectionContainer: _propTypes["default"].func,
|
|
31
|
-
getSubmitContainer: _propTypes["default"].func,
|
|
32
|
-
i18nKeys: _propTypes["default"].object,
|
|
33
|
-
dataSelectorId: _propTypes["default"].string,
|
|
34
|
-
info: _propTypes["default"].string,
|
|
35
|
-
isAnimate: _propTypes["default"].bool,
|
|
36
|
-
isShrinkView: _propTypes["default"].bool,
|
|
37
|
-
message: _propTypes["default"].string,
|
|
38
|
-
needAutoZindex: _propTypes["default"].bool,
|
|
39
|
-
needClose: _propTypes["default"].bool,
|
|
40
|
-
needIcon: _propTypes["default"].bool,
|
|
41
|
-
onCancel: _propTypes["default"].func,
|
|
42
|
-
onClose: _propTypes["default"].func,
|
|
43
|
-
onSubmit: _propTypes["default"].func,
|
|
44
|
-
secondaryInfo: _propTypes["default"].string,
|
|
45
|
-
size: _propTypes["default"].oneOf(['medium', 'large']),
|
|
46
|
-
subTitle: _propTypes["default"].string,
|
|
47
|
-
titleVariant: _propTypes["default"].oneOf(['primary', 'secondary']),
|
|
48
|
-
isClose: _propTypes["default"].bool,
|
|
49
|
-
renderAlertIcon: _propTypes["default"].func,
|
|
50
|
-
customProps: _propTypes["default"].shape({
|
|
51
|
-
ExtraProps: _propTypes["default"].object
|
|
52
|
-
}),
|
|
53
|
-
title: _propTypes["default"].string
|
|
54
|
-
};
|
|
55
|
-
exports.DesktopNotificationUI_propTypes = DesktopNotificationUI_propTypes;
|