@zohodesk/dot 1.0.0-beta.208 → 1.0.0-beta.210
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 +9 -0
- package/es/ActionButton/ActionButton.js +10 -6
- package/es/ActionButton/ActionButton.module.css +10 -25
- package/es/AlphabeticList/AlphabeticList.module.css +4 -7
- package/{assets → es}/Appearance/dark/mode/dotDarkMode.module.css +1 -1
- package/{assets → es}/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +1 -1
- package/{assets → es}/Appearance/dark/themes/green/greenDarkDotTheme.module.css +0 -0
- package/{assets → es}/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +1 -1
- package/{assets → es}/Appearance/dark/themes/red/redDarkDotTheme.module.css +0 -0
- package/{assets → es}/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +0 -0
- package/{assets → es}/Appearance/default/mode/dotDefaultMode.module.css +1 -1
- package/{assets → es}/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -0
- package/{assets → es}/Appearance/default/themes/green/greenDefaultDotTheme.module.css +1 -1
- package/{assets → es}/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -0
- package/{assets → es}/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -0
- package/{assets → es}/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -0
- package/es/Attachment/Attachment.module.css +9 -20
- package/es/ChannelIcon/ChannelIcon.module.css +21 -30
- package/es/Drawer/Drawer.module.css +11 -59
- package/es/FlipCard/FlipCard.module.css +5 -14
- package/es/FormAction/FormAction.module.css +9 -34
- package/es/FreezeLayer/FreezeLayer.module.css +2 -6
- package/es/IconButton/IconButton.module.css +1 -1
- package/es/ImportantNotes/ImportantNotes.module.css +2 -7
- package/es/Link/Link.js +1 -1
- package/es/Loader/Loader.module.css +4 -25
- package/es/Message/Message.module.css +9 -42
- package/es/MessageBanner/MessageBanner.module.css +4 -12
- package/es/NewStar/NewStar.module.css +5 -42
- package/es/ToastMessage/ToastMessage.module.css +25 -96
- package/es/Upload/Upload.module.css +8 -27
- package/es/alert/AlertHeader/AlertHeader.module.css +3 -21
- package/es/alert/AlertLookup/AlertLookup.js +8 -4
- package/es/alert/AlertLookup/AlertLookup.module.css +2 -6
- package/es/avatar/AvatarClose/AvatarClose.module.css +3 -9
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +4 -18
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +4 -3
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +9 -59
- package/es/avatar/AvatarThread/AvatarThread.module.css +5 -55
- package/es/avatar/AvatarUser/AvatarUser.module.css +10 -81
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +3 -10
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +3 -11
- package/es/deprecated/Theme/dotDarkTheme.module.css +532 -0
- package/es/deprecated/Theme/dotDefaultTheme.module.css +532 -0
- package/es/deprecated/Theme/palette/darkPalette.module.css +40 -0
- package/es/deprecated/Theme/palette/defaultPalette.module.css +40 -0
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +6 -19
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -12
- package/es/emptystate/EditionPage/EditionPage.css +3 -9
- package/es/errorstate/EmptyStates.module.css +10 -13
- package/es/errorstate/Inconvenience/Inconvenience.module.css +0 -3
- package/es/errorstate/LinkText/LinkText.module.css +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
- package/es/errorstate/WillBack/WillBack.module.css +3 -1
- package/es/form/fields/Fields.module.css +14 -49
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +7 -19
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +1 -4
- package/es/form/fields/TextEditor/TextEditor.js +7 -4
- package/es/form/fields/TextEditor/TextEditor.module.css +73 -144
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -13
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +4 -9
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +16 -52
- package/es/layout/SubtabLayout/SubtabLayout.module.css +29 -55
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +1 -4
- package/es/list/Comment/Comment.module.css +0 -5
- package/es/list/DotNew/DotNew.module.css +3 -3
- package/es/list/GridStencils/GridStencils.module.css +16 -70
- package/es/list/Icons/Icons.module.css +1 -1
- package/es/list/ListLayout/ListLayout.module.css +14 -22
- package/es/list/ListStencils/ListStencils.module.css +6 -11
- package/es/list/SecondaryText/SecondaryText.module.css +3 -13
- package/es/list/SentimentStatus/SentimentStatus.module.css +1 -4
- package/es/list/TagNew/TagNew.module.css +7 -14
- package/es/list/Thread/Thread.module.css +1 -13
- package/es/list/UserTime/UserTime.module.css +0 -6
- package/es/list/listCommon.module.css +1 -9
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +6 -19
- package/es/list/status/StatusListItem/StatusListItem.module.css +15 -38
- package/es/lookup/Lookup/Lookup.module.css +2 -2
- package/es/lookup/Section/LookupSection.module.css +2 -2
- package/es/lookup/header/Close/LookupClose.module.css +4 -4
- package/es/lookup/header/Search/LookupSearch.module.css +12 -21
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +2 -5
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +3 -8
- package/es/lookup/header/lookupHeaderCommon.module.css +6 -16
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +3 -12
- package/es/setup/header/Button/HeaderButton.module.css +1 -3
- package/es/setup/header/Link/HeaderLink.module.css +1 -7
- package/es/setup/header/Search/Search.module.css +8 -19
- package/es/setup/header/Views/Views.module.css +5 -15
- package/es/setup/helptips/Link/HelpTipsLink.module.css +0 -1
- package/es/setup/helptips/ListGroup/ListGroup.module.css +1 -6
- package/es/setup/table/TableData/SetupTableData.module.css +3 -11
- package/es/setup/table/TableHead/SetupTableHead.module.css +0 -4
- package/es/setup/table/TableRow/SetupTableRow.module.css +2 -6
- package/es/version2/AlertClose/AlertClose.module.css +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.module.css +9 -44
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +2 -25
- package/es/version2/lookup/AlertLookup/AlertLookup.js +8 -4
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +3 -7
- package/es/version2/lookup/alertLookupCommonNew.module.css +1 -8
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +10 -26
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +10 -47
- package/lib/ActionButton/ActionButton.js +3 -3
- package/lib/ActionButton/ActionButton.module.css +9 -25
- package/lib/AlphabeticList/AlphabeticList.js +3 -3
- package/lib/AlphabeticList/AlphabeticList.module.css +4 -7
- package/lib/Appearance/dark/mode/dotDarkMode.module.css +536 -0
- package/lib/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +10 -0
- package/lib/Appearance/dark/themes/green/greenDarkDotTheme.module.css +10 -0
- package/lib/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +10 -0
- package/lib/Appearance/dark/themes/red/redDarkDotTheme.module.css +10 -0
- package/lib/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +10 -0
- package/lib/Appearance/default/mode/dotDefaultMode.module.css +536 -0
- package/lib/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +10 -0
- package/lib/Appearance/default/themes/green/greenDefaultDotTheme.module.css +10 -0
- package/lib/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +10 -0
- package/lib/Appearance/default/themes/red/redDefaultDotTheme.module.css +10 -0
- package/lib/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +10 -0
- package/lib/Attachment/Attachment.js +3 -3
- package/lib/Attachment/Attachment.module.css +9 -20
- package/lib/ChannelIcon/ChannelIcon.js +3 -3
- package/lib/ChannelIcon/ChannelIcon.module.css +21 -30
- package/lib/Drawer/Drawer.js +4 -4
- package/lib/Drawer/Drawer.module.css +11 -59
- package/lib/ExternalLink/ExternalLink.js +3 -3
- package/lib/FlipCard/FlipCard.js +3 -3
- package/lib/FlipCard/FlipCard.module.css +5 -14
- package/lib/FormAction/FormAction.js +4 -4
- package/lib/FormAction/FormAction.module.css +9 -34
- package/lib/FreezeLayer/FreezeLayer.js +3 -3
- package/lib/FreezeLayer/FreezeLayer.module.css +2 -6
- package/lib/IconButton/IconButton.js +3 -3
- package/lib/IconButton/IconButton.module.css +1 -1
- package/lib/Image/Image.js +3 -3
- package/lib/ImportantNotes/ImportantNotes.js +3 -3
- package/lib/ImportantNotes/ImportantNotes.module.css +2 -7
- package/lib/Link/Link.js +3 -3
- package/lib/Loader/Loader.js +3 -3
- package/lib/Loader/Loader.module.css +4 -25
- package/lib/Message/Message.js +4 -4
- package/lib/Message/Message.module.css +9 -42
- package/lib/MessageBanner/MessageBanner.js +3 -3
- package/lib/MessageBanner/MessageBanner.module.css +4 -12
- package/lib/NewStar/NewStar.js +3 -3
- package/lib/NewStar/NewStar.module.css +5 -42
- package/lib/PlusIcon/PlusIcon.js +3 -3
- package/lib/Provider.js +49 -49
- package/lib/ToastMessage/ToastMessage.js +1 -1
- package/lib/ToastMessage/ToastMessage.module.css +25 -96
- package/lib/Upload/Upload.js +3 -3
- package/lib/Upload/Upload.module.css +8 -27
- package/lib/actions/AutoClose.js +1 -1
- package/lib/alert/AlertHeader/AlertHeader.js +3 -3
- package/lib/alert/AlertHeader/AlertHeader.module.css +3 -21
- package/lib/alert/AlertLookup/AlertLookup.js +3 -3
- package/lib/alert/AlertLookup/AlertLookup.module.css +2 -6
- package/lib/avatar/AvatarClose/AvatarClose.js +3 -3
- package/lib/avatar/AvatarClose/AvatarClose.module.css +3 -9
- package/lib/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +4 -18
- package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -3
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +4 -3
- package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +9 -59
- package/lib/avatar/AvatarThread/AvatarThread.js +3 -3
- package/lib/avatar/AvatarThread/AvatarThread.module.css +5 -55
- package/lib/avatar/AvatarUser/AvatarUser.js +3 -3
- package/lib/avatar/AvatarUser/AvatarUser.module.css +10 -81
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +3 -10
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +3 -3
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +9 -17
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +3 -3
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +6 -19
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +3 -3
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -12
- package/lib/emptystate/EditionPage/EditionPage.css +3 -9
- package/lib/emptystate/EditionPage/EditionPage.js +3 -3
- package/lib/errorstate/EmptyStates.module.css +10 -13
- package/lib/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +0 -3
- package/lib/errorstate/LinkText/LinkText.js +3 -3
- package/lib/errorstate/LinkText/LinkText.module.css +1 -1
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -3
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -3
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/lib/errorstate/WillBack/WillBack.js +3 -3
- package/lib/errorstate/WillBack/WillBack.module.css +3 -1
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +4 -4
- package/lib/form/fields/CurrencyField/CurrencyField.js +5 -5
- package/lib/form/fields/DateField/DateField.js +5 -5
- package/lib/form/fields/Fields.module.css +16 -54
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +5 -5
- package/lib/form/fields/PhoneField/PhoneField.js +3 -3
- package/lib/form/fields/RadioField/RadioField.js +5 -5
- package/lib/form/fields/SelectField/SelectField.js +5 -5
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +7 -8
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +7 -19
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +3 -3
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +1 -4
- package/lib/form/fields/TextBoxField/TextBoxField.js +5 -5
- package/lib/form/fields/TextEditor/TextEditor.js +4 -4
- package/lib/form/fields/TextEditor/TextEditor.module.css +71 -143
- package/lib/form/fields/TextEditorField/TextEditorField.js +5 -5
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +4 -4
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -13
- package/lib/form/fields/TextareaField/TextareaField.js +5 -5
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +3 -3
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +4 -9
- package/lib/form/layout/Field/Field.js +3 -3
- package/lib/form/layout/Section/Section.js +3 -3
- package/lib/index.js +4 -4
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +4 -4
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +16 -52
- package/lib/layout/SetupDetailLayout/index.js +7 -7
- package/lib/layout/SubtabLayout/SubtabLayout.js +4 -4
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +29 -55
- package/lib/layout/SubtabLayout/index.js +9 -9
- package/lib/list/AvatarFlip/AvatarFlip.js +3 -3
- package/lib/list/BluePrintStatus/BluePrintStatus.js +3 -3
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +3 -6
- package/lib/list/Comment/Comment.js +3 -3
- package/lib/list/Comment/Comment.module.css +0 -5
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +3 -3
- package/lib/list/Dot/Dot.js +3 -3
- package/lib/list/DotNew/DotNew.js +3 -3
- package/lib/list/DotNew/DotNew.module.css +6 -6
- package/lib/list/GridStencils/GridStencils.js +3 -3
- package/lib/list/GridStencils/GridStencils.module.css +16 -70
- package/lib/list/Icons/AddNewIcon.js +3 -3
- package/lib/list/Icons/CompleteIcon.js +3 -3
- package/lib/list/Icons/DeleteIcon.js +3 -3
- package/lib/list/Icons/EditIcon.js +3 -3
- package/lib/list/Icons/FloatingIcons.js +3 -3
- package/lib/list/Icons/Icons.module.css +1 -1
- package/lib/list/Icons/ReadUnreadIcon.js +3 -3
- package/lib/list/Icons/SmartIcon.js +3 -3
- package/lib/list/ListLayout/ListLayout.js +4 -4
- package/lib/list/ListLayout/ListLayout.module.css +14 -22
- package/lib/list/ListStencils/ListStencils.js +3 -3
- package/lib/list/ListStencils/ListStencils.module.css +6 -11
- package/lib/list/SecondaryText/AccountName.js +3 -3
- package/lib/list/SecondaryText/ContactName.js +3 -3
- package/lib/list/SecondaryText/DepartmentText.js +3 -3
- package/lib/list/SecondaryText/Email.js +3 -3
- package/lib/list/SecondaryText/HappinessRating.js +3 -3
- package/lib/list/SecondaryText/PhoneNumber.js +3 -3
- package/lib/list/SecondaryText/PriorityText.js +3 -3
- package/lib/list/SecondaryText/SecondaryText.js +3 -3
- package/lib/list/SecondaryText/SecondaryText.module.css +3 -13
- package/lib/list/SecondaryText/StatusText.js +3 -3
- package/lib/list/SecondaryText/TicketId.js +3 -3
- package/lib/list/SecondaryText/Website.js +3 -3
- package/lib/list/SecondaryText/index.js +22 -22
- package/lib/list/SecondryPanel/SecondryPanel.js +4 -4
- package/lib/list/SentimentStatus/SentimentStatus.js +3 -3
- package/lib/list/SentimentStatus/SentimentStatus.module.css +1 -4
- package/lib/list/Subject/Subject.js +3 -3
- package/lib/list/TagNew/TagNew.js +3 -3
- package/lib/list/TagNew/TagNew.module.css +7 -14
- package/lib/list/Thread/Thread.js +3 -3
- package/lib/list/Thread/Thread.module.css +1 -13
- package/lib/list/UserTime/UserTime.js +3 -3
- package/lib/list/UserTime/UserTime.module.css +0 -6
- package/lib/list/listCommon.module.css +1 -9
- package/lib/list/status/StatusDropdown/StatusDropdown.js +3 -3
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +6 -19
- package/lib/list/status/StatusListItem/StatusListItem.js +3 -3
- package/lib/list/status/StatusListItem/StatusListItem.module.css +15 -38
- package/lib/lookup/EmptyPage/EmptyPage.js +3 -3
- package/lib/lookup/Lookup/Lookup.js +3 -3
- package/lib/lookup/Lookup/Lookup.module.css +2 -2
- package/lib/lookup/Section/LookupSection.module.css +2 -2
- package/lib/lookup/Section/Section.js +3 -3
- package/lib/lookup/header/Close/Close.js +3 -3
- package/lib/lookup/header/Close/LookupClose.module.css +4 -4
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +3 -3
- package/lib/lookup/header/Search/LookupSearch.module.css +12 -21
- package/lib/lookup/header/Search/Search.js +3 -3
- package/lib/lookup/header/TicketHeader/TicketHeader.js +4 -6
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +3 -7
- package/lib/lookup/header/Title/Title.js +3 -3
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +4 -8
- package/lib/lookup/header/lookupHeaderCommon.module.css +6 -16
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +3 -12
- package/lib/setup/header/Button/Button.js +3 -3
- package/lib/setup/header/Button/HeaderButton.module.css +1 -3
- package/lib/setup/header/Link/HeaderLink.module.css +1 -7
- package/lib/setup/header/Link/Link.js +3 -3
- package/lib/setup/header/Search/Search.js +3 -3
- package/lib/setup/header/Search/Search.module.css +8 -19
- package/lib/setup/header/Views/Views.js +3 -3
- package/lib/setup/header/Views/Views.module.css +5 -15
- package/lib/setup/helptips/Description/Description.js +3 -3
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +0 -1
- package/lib/setup/helptips/Link/Link.js +3 -3
- package/lib/setup/helptips/ListGroup/ListGroup.js +3 -3
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +1 -6
- package/lib/setup/helptips/Title/Title.js +3 -3
- package/lib/setup/table/Table/Table.js +3 -3
- package/lib/setup/table/TableBody/TableBody.js +3 -3
- package/lib/setup/table/TableData/SetupTableData.module.css +3 -11
- package/lib/setup/table/TableData/TableData.js +3 -3
- package/lib/setup/table/TableHead/SetupTableHead.module.css +0 -4
- package/lib/setup/table/TableHead/TableHead.js +3 -3
- package/lib/setup/table/TableRow/SetupTableRow.module.css +2 -6
- package/lib/setup/table/TableRow/TableRow.js +3 -3
- package/lib/setup/table/Text/Text.js +3 -3
- package/lib/svg/PlusIcon.js +3 -3
- package/lib/svg/SnippetIcon.js +3 -3
- package/lib/svg/TemplateIcon.js +3 -3
- package/lib/utils/ChannelIconMapping.js +1 -1
- package/lib/utils/General.js +4 -4
- package/lib/utils/KeyboardApi.js +1 -3
- package/lib/utils/editorUtils.js +6 -6
- package/lib/version2/AlertClose/AlertClose.js +3 -3
- package/lib/version2/AlertClose/AlertClose.module.css +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.js +10 -22
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +9 -44
- package/lib/version2/alertIcons/AlarmAlertIcon.js +3 -3
- package/lib/version2/alertIcons/AlertIcons.js +3 -3
- package/lib/version2/alertIcons/DangerAlertIcon.js +3 -3
- package/lib/version2/alertIcons/ErrorAlertIcon.js +3 -3
- package/lib/version2/alertIcons/InfoAlertIcon.js +3 -3
- package/lib/version2/alertIcons/NotificationAlertIcon.js +3 -3
- package/lib/version2/alertIcons/SuccessAlertIcon.js +3 -3
- package/lib/version2/alertIcons/WarningAlertIcon.js +3 -3
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -3
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -3
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -3
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -3
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +3 -3
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +2 -25
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -3
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +3 -7
- package/lib/version2/lookup/alertLookupCommonNew.module.css +1 -8
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +6 -14
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +14 -29
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +3 -3
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +10 -47
- package/package.json +1 -1
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
.container {
|
|
2
2
|
position: relative;
|
|
3
|
-
height: var(--zd_size52);
|
|
4
|
-
border-bottom: 1px solid var(--zdt_setuptablerow_border);
|
|
5
|
-
}[dir=ltr] .container {
|
|
6
3
|
margin-right: var(--zd_size40);
|
|
7
4
|
margin-left: var(--zd_size40);
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
margin-right: var(--zd_size40);
|
|
5
|
+
border-bottom: 1px solid var(--zdt_setuptablerow_border);
|
|
6
|
+
height: var(--zd_size52);
|
|
11
7
|
}
|
|
12
8
|
.container:hover {
|
|
13
9
|
background-color: var( --zdt_setuptablerow_hover_bg);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
21
21
|
|
|
22
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
|
|
|
24
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
26
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
21
21
|
|
|
22
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
|
|
|
24
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
26
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
package/lib/svg/PlusIcon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -19,9 +19,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
19
19
|
|
|
20
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
|
|
|
22
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
22
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
23
23
|
|
|
24
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
25
25
|
|
|
26
26
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
27
27
|
|
package/lib/svg/SnippetIcon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -19,9 +19,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
19
19
|
|
|
20
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
|
|
|
22
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
22
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
23
23
|
|
|
24
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
25
25
|
|
|
26
26
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
27
27
|
|
package/lib/svg/TemplateIcon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -19,9 +19,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
19
19
|
|
|
20
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
|
|
|
22
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
22
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
23
23
|
|
|
24
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
25
25
|
|
|
26
26
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
27
27
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.getActivitiesIconObj = getActivitiesIconObj;
|
|
7
6
|
exports.getChannelMappingObj = getChannelMappingObj;
|
|
7
|
+
exports.getActivitiesIconObj = getActivitiesIconObj;
|
|
8
8
|
|
|
9
9
|
function getChannelMappingObj() {
|
|
10
10
|
return {
|
package/lib/utils/General.js
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
exports.formatPhoneUrl = formatPhoneUrl;
|
|
6
|
+
exports.stopBubbling = stopBubbling;
|
|
8
7
|
exports.getFullName = getFullName;
|
|
9
8
|
exports.shallowDiff = shallowDiff;
|
|
10
|
-
exports.
|
|
9
|
+
exports.formatPhoneUrl = formatPhoneUrl;
|
|
10
|
+
exports.formatCurrency = formatCurrency;
|
|
11
11
|
|
|
12
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
12
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
13
13
|
|
|
14
14
|
function stopBubbling(event) {
|
|
15
15
|
event.preventDefault();
|
package/lib/utils/KeyboardApi.js
CHANGED
|
@@ -289,9 +289,7 @@ function _shortRestrictionPlaces(e) {
|
|
|
289
289
|
var keyCode = e.keyCode || e.charCode;
|
|
290
290
|
var isContentEditable = _target.contentEditable === 'true';
|
|
291
291
|
|
|
292
|
-
if (['TEXTAREA', 'INPUT', 'SELECT'].indexOf(tagName) !== -1 ||
|
|
293
|
-
//restrict_keyUI() ||
|
|
294
|
-
keyCode >= 112 && keyCode <= 123 || isContentEditable) {
|
|
292
|
+
if (['TEXTAREA', 'INPUT', 'SELECT'].indexOf(tagName) !== -1 || keyCode >= 112 && keyCode <= 123 || isContentEditable) {
|
|
295
293
|
return true;
|
|
296
294
|
}
|
|
297
295
|
|
package/lib/utils/editorUtils.js
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.bind = bind;
|
|
7
|
-
exports.changeContent = void 0;
|
|
8
6
|
exports.editorContentValidate = editorContentValidate;
|
|
9
|
-
exports.encodeForHtml = encodeForHtml;
|
|
10
7
|
exports.fixEncoding = fixEncoding;
|
|
11
|
-
exports.
|
|
12
|
-
exports.getRichEditorContent = getRichEditorContent;
|
|
8
|
+
exports.encodeForHtml = encodeForHtml;
|
|
13
9
|
exports.isFileNameSizeInvalid = isFileNameSizeInvalid;
|
|
14
10
|
exports.isImageFormat = isImageFormat;
|
|
15
|
-
exports.
|
|
11
|
+
exports.getExtensionFromFileName = getExtensionFromFileName;
|
|
16
12
|
exports.triggerKeyup = triggerKeyup;
|
|
13
|
+
exports.getRichEditorContent = getRichEditorContent;
|
|
17
14
|
exports.validateEditorContentOnInsertHtml = validateEditorContentOnInsertHtml;
|
|
15
|
+
exports.loadResource = loadResource;
|
|
16
|
+
exports.bind = bind;
|
|
17
|
+
exports.changeContent = void 0;
|
|
18
18
|
var ATTACHMENT_FILE_NAME_SIZE_LIMIT = 200; // editorUtils
|
|
19
19
|
|
|
20
20
|
function editorContentValidate(editorObj) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -27,9 +27,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
27
27
|
|
|
28
28
|
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); } }
|
|
29
29
|
|
|
30
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
30
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
31
31
|
|
|
32
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
32
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
33
33
|
|
|
34
34
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
35
35
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.GlobalNotificationNew = GlobalNotificationNew;
|
|
9
8
|
exports.GlobalNotificationUI = GlobalNotificationUI;
|
|
9
|
+
exports.GlobalNotificationNew = GlobalNotificationNew;
|
|
10
10
|
exports["default"] = void 0;
|
|
11
11
|
|
|
12
12
|
var _react = _interopRequireDefault(require("react"));
|
|
@@ -31,9 +31,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
31
31
|
|
|
32
32
|
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); } }
|
|
33
33
|
|
|
34
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
34
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
35
35
|
|
|
36
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
36
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
37
37
|
|
|
38
38
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
39
39
|
|
|
@@ -102,8 +102,7 @@ var GlobalNotification = /*#__PURE__*/function (_React$Component) {
|
|
|
102
102
|
hideMessage = _this$props3.hideMessage,
|
|
103
103
|
onClick = _this$props3.onClick,
|
|
104
104
|
_this$props3$i18nKeys = _this$props3.i18nKeys,
|
|
105
|
-
i18nKeys = _this$props3$i18nKeys === void 0 ? {} : _this$props3$i18nKeys
|
|
106
|
-
customProps = _this$props3.customProps;
|
|
105
|
+
i18nKeys = _this$props3$i18nKeys === void 0 ? {} : _this$props3$i18nKeys;
|
|
107
106
|
var _i18nKeys$closeTitle = i18nKeys.closeTitle,
|
|
108
107
|
closeTitle = _i18nKeys$closeTitle === void 0 ? 'Close' : _i18nKeys$closeTitle;
|
|
109
108
|
return /*#__PURE__*/_react["default"].createElement(GlobalNotificationUI, {
|
|
@@ -111,8 +110,7 @@ var GlobalNotification = /*#__PURE__*/function (_React$Component) {
|
|
|
111
110
|
message: message,
|
|
112
111
|
hideMessage: hideMessage,
|
|
113
112
|
onClick: onClick,
|
|
114
|
-
closeTitle: closeTitle
|
|
115
|
-
customProps: customProps
|
|
113
|
+
closeTitle: closeTitle
|
|
116
114
|
});
|
|
117
115
|
}
|
|
118
116
|
}]);
|
|
@@ -128,13 +126,7 @@ GlobalNotification.propTypes = {
|
|
|
128
126
|
onClick: _propTypes["default"].func,
|
|
129
127
|
showMessage: _propTypes["default"].bool,
|
|
130
128
|
type: _propTypes["default"].oneOf(['success', 'danger', 'info', 'warning', 'error']),
|
|
131
|
-
i18nKeys: _propTypes["default"].object
|
|
132
|
-
customProps: _propTypes["default"].shape({
|
|
133
|
-
ExtraProps: _propTypes["default"].object
|
|
134
|
-
})
|
|
135
|
-
};
|
|
136
|
-
GlobalNotification.defaultProps = {
|
|
137
|
-
customProps: {}
|
|
129
|
+
i18nKeys: _propTypes["default"].object
|
|
138
130
|
};
|
|
139
131
|
|
|
140
132
|
if (false) {
|
|
@@ -157,15 +149,11 @@ function GlobalNotificationUI(props) {
|
|
|
157
149
|
message = props.message,
|
|
158
150
|
onClick = props.onClick,
|
|
159
151
|
_props$closeTitle = props.closeTitle,
|
|
160
|
-
closeTitle = _props$closeTitle === void 0 ? '' : _props$closeTitle
|
|
161
|
-
|
|
162
|
-
customProps = _props$customProps === void 0 ? {} : _props$customProps;
|
|
163
|
-
var _customProps$ExtraPro = customProps.ExtraProps,
|
|
164
|
-
ExtraProps = _customProps$ExtraPro === void 0 ? {} : _customProps$ExtraPro;
|
|
165
|
-
return /*#__PURE__*/_react["default"].createElement("div", _extends({
|
|
152
|
+
closeTitle = _props$closeTitle === void 0 ? '' : _props$closeTitle;
|
|
153
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
166
154
|
className: "".concat(_GlobalNotificationModule["default"].message, " ").concat(type ? _GlobalNotificationModule["default"][type] : ''),
|
|
167
155
|
"data-id": "show_".concat(type, "_message")
|
|
168
|
-
},
|
|
156
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
169
157
|
className: "".concat(_GlobalNotificationModule["default"].container),
|
|
170
158
|
alignBox: "row",
|
|
171
159
|
isCover: false,
|
|
@@ -11,38 +11,25 @@
|
|
|
11
11
|
top: 0;
|
|
12
12
|
z-index: 1000;
|
|
13
13
|
/*Hook for editor alert*/
|
|
14
|
-
pointer-events: none;
|
|
15
|
-
text-align: center;
|
|
16
|
-
}
|
|
17
|
-
[dir=ltr] .message {
|
|
18
14
|
right: 0;
|
|
15
|
+
text-align: center;
|
|
19
16
|
left: 0;
|
|
20
|
-
|
|
21
|
-
[dir=rtl] .message {
|
|
22
|
-
left: 0;
|
|
23
|
-
right: 0;
|
|
17
|
+
pointer-events: none;
|
|
24
18
|
}
|
|
25
19
|
|
|
26
20
|
.container {
|
|
21
|
+
padding: var(--zd_size18) var(--zd_size70) var(--zd_size19) var(--zd_size75);
|
|
27
22
|
position: relative;
|
|
28
23
|
pointer-events: initial;
|
|
29
|
-
color: var(--globalnotification_text_color);
|
|
30
|
-
max-width: var(--zd_size490);
|
|
31
|
-
composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
32
24
|
box-shadow: 0 4px 20px var(--globalnotification_box_shadow);
|
|
33
25
|
border-radius: 0 0 var(--zd_size10) var(--zd_size10);
|
|
34
26
|
background-color: var(--globalnotification_bg_color);
|
|
35
27
|
border-style: solid;
|
|
36
28
|
border-color: var(--commonalert_border_color);
|
|
37
29
|
border-width: 2px 1px 1px 1px;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
padding: var(--zd_size18) var(--zd_size70) var(--zd_size19) var(--zd_size75);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
[dir=rtl] .container {
|
|
45
|
-
padding: var(--zd_size18) var(--zd_size75) var(--zd_size19) var(--zd_size70);
|
|
30
|
+
color: var(--globalnotification_text_color);
|
|
31
|
+
max-width: var(--zd_size490);
|
|
32
|
+
composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
46
33
|
}
|
|
47
34
|
|
|
48
35
|
.icon {
|
|
@@ -51,15 +38,8 @@
|
|
|
51
38
|
position: absolute;
|
|
52
39
|
top: 0;
|
|
53
40
|
bottom: 0;
|
|
54
|
-
margin: auto 0;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
[dir=ltr] .icon {
|
|
58
41
|
left: var(--zd_size18);
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
[dir=rtl] .icon {
|
|
62
|
-
right: var(--zd_size18);
|
|
42
|
+
margin: auto 0;
|
|
63
43
|
}
|
|
64
44
|
|
|
65
45
|
.success {
|
|
@@ -96,30 +76,15 @@
|
|
|
96
76
|
font-size: var(--zd_font_size14);
|
|
97
77
|
font-family: var(--zd_semibold);
|
|
98
78
|
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
99
|
-
line-height: var(--zd_size20);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
[dir=ltr] .text {
|
|
103
79
|
text-align: left;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
[dir=rtl] .text {
|
|
107
|
-
text-align: right;
|
|
80
|
+
line-height: var(--zd_size20);
|
|
108
81
|
}
|
|
109
82
|
|
|
110
83
|
.close {
|
|
111
84
|
position: absolute;
|
|
112
85
|
top: 0;
|
|
113
86
|
bottom: 0;
|
|
114
|
-
height: var(--zd_size25);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
[dir=ltr] .close {
|
|
118
87
|
right: var(--zd_size12);
|
|
119
88
|
margin: auto 0 auto var(--zd_size25);
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
[dir=rtl] .close {
|
|
123
|
-
left: var(--zd_size12);
|
|
124
|
-
margin: auto var(--zd_size25) auto 0;
|
|
89
|
+
height: var(--zd_size25);
|
|
125
90
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
23
23
|
|
|
24
24
|
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); } }
|
|
25
25
|
|
|
26
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
28
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -35,9 +35,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
35
35
|
|
|
36
36
|
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); } }
|
|
37
37
|
|
|
38
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
38
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
39
39
|
|
|
40
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
40
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
41
41
|
|
|
42
42
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
43
43
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
23
23
|
|
|
24
24
|
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); } }
|
|
25
25
|
|
|
26
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
28
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
23
23
|
|
|
24
24
|
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); } }
|
|
25
25
|
|
|
26
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
28
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
23
23
|
|
|
24
24
|
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); } }
|
|
25
25
|
|
|
26
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
28
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
23
23
|
|
|
24
24
|
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); } }
|
|
25
25
|
|
|
26
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
28
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
23
23
|
|
|
24
24
|
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); } }
|
|
25
25
|
|
|
26
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
28
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
23
23
|
|
|
24
24
|
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); } }
|
|
25
25
|
|
|
26
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
28
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|