@zohodesk/dot 1.2.4 → 1.3.0-temp-158
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cli/PropLessFiles.html +1 -1
- package/.cli/PropValidationExcludeFilesArray.js +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/README.md +20 -9
- package/assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css +1 -1
- package/assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css +1 -1
- package/assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css +1 -1
- package/assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css +1 -1
- package/assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css +1 -1
- package/assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css +1 -1
- package/assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css +1 -1
- package/assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css +1 -1
- package/assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css +1 -1
- package/assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css +1 -1
- package/assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css +1 -1
- package/assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css +1 -1
- package/assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css +1 -1
- package/assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css +1 -1
- package/assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css +1 -1
- package/coverage/ExternalLink/ExternalLink.js.html +1 -1
- package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
- package/coverage/ExternalLink/index.html +1 -1
- package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
- package/coverage/ExternalLink/props/index.html +1 -1
- package/coverage/ExternalLink/props/propTypes.js.html +1 -1
- package/coverage/IconButton/IconButton.js.html +466 -0
- package/coverage/IconButton/IconButton.module.css.html +151 -0
- package/coverage/IconButton/index.html +131 -0
- package/coverage/IconButton/props/defaultProps.js.html +136 -0
- package/coverage/IconButton/props/index.html +131 -0
- package/coverage/IconButton/props/propTypes.js.html +187 -0
- package/coverage/Image/Image.js.html +1 -1
- package/coverage/Image/Image.module.css.html +1 -1
- package/coverage/Image/index.html +1 -1
- package/coverage/Image/props/defaultProps.js.html +1 -1
- package/coverage/Image/props/index.html +1 -1
- package/coverage/Image/props/propTypes.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
- package/coverage/avatar/AvatarWithTeam/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
- package/coverage/coverage-final.json +16 -12
- package/coverage/coverage-summary.json +17 -13
- package/coverage/index.html +40 -10
- package/es/Drawer/Drawer.js +3 -2
- package/es/IconButton/__tests__/IconButton.spec.js +148 -0
- package/es/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -0
- package/es/form/fields/FieldContainer/props/propTypes.js +1 -1
- package/es/v1/ActionButton/ActionButton.js +11 -8
- package/es/v1/AlphabeticList/AlphabeticList.js +7 -3
- package/es/v1/Attachment/Attachment.js +79 -76
- package/es/v1/AttachmentViewer/AttachmentImage.js +44 -63
- package/es/v1/AttachmentViewer/AttachmentViewer.js +4 -4
- package/es/v1/ChannelIcon/ChannelIcon.js +1 -1
- package/es/v1/Drawer/Drawer.js +6 -6
- package/es/v1/FlipCard/FlipCard.js +4 -4
- package/es/v1/FormAction/FormAction.js +1 -1
- package/es/v1/FreezeLayer/FreezeLayer.js +3 -3
- package/es/v1/{version2/GlobalNotification → GlobalNotification}/GlobalNotification.js +7 -7
- package/es/v1/IconButton/IconButton.js +3 -3
- package/es/v1/Image/Image.js +26 -33
- package/es/v1/ImportantNotes/ImportantNotes.js +1 -1
- package/es/v1/Loader/Loader.js +12 -18
- package/es/v1/MessageBanner/MessageBanner.js +1 -1
- package/es/v1/NewStar/NewStar.js +1 -1
- package/es/v1/Separator/Separator.js +41 -48
- package/es/v1/TagWithIcon/TagWithIcon.js +1 -1
- package/es/v1/ToastMessage/ToastMessage.js +4 -4
- package/es/v1/Upload/Upload.js +60 -67
- package/es/v1/{version2 → alert}/AlertClose/AlertClose.js +1 -1
- package/es/v1/alert/AlertHeader/AlertHeader.js +58 -49
- package/es/v1/alert/AlertLookup/AlertLookup.js +101 -41
- package/es/v1/avatar/AvatarClose/AvatarClose.js +1 -1
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/es/v1/avatar/AvatarThread/AvatarThread.js +1 -1
- package/es/v1/avatar/AvatarUser/AvatarUser.js +1 -1
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +18 -15
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +53 -80
- package/es/v1/{version2/errorstate → errorstate}/OopsSomethingMiss/OopsSomethingMiss.js +6 -6
- package/es/v1/{version2/errorstate → errorstate}/UnableToProcessRequest/UnableToProcessRequest.js +6 -6
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +54 -73
- package/es/v1/{version2/errorstate → errorstate}/UrlNotFound/UrlNotFound.js +6 -6
- package/es/v1/{version2/errorstate → errorstate}/WillBeRightBack/WillBeRightBack.js +6 -6
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +102 -118
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +129 -155
- package/es/v1/form/fields/DateField/DateField.js +132 -163
- package/es/v1/form/fields/FieldContainer/FieldContainer.js +52 -57
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +144 -168
- package/es/v1/form/fields/PhoneField/PhoneField.js +129 -157
- package/es/v1/form/fields/RadioField/RadioField.js +91 -99
- package/es/v1/form/fields/SelectField/SelectField.js +141 -156
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +8 -8
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +8 -5
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +3 -3
- package/es/v1/form/fields/TextEditor/TextEditor.js +1 -1
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +1 -1
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
- package/es/v1/form/fields/TextareaField/TextareaField.js +3 -3
- package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +155 -198
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +110 -126
- package/es/v1/list/AvatarFlip/AvatarFlip.js +61 -64
- package/es/v1/list/BluePrintStatus/BluePrintStatus.js +11 -18
- package/es/v1/list/Comment/Comment.js +25 -32
- package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +57 -72
- package/es/v1/list/Dot/Dot.js +9 -16
- package/es/v1/list/DotNew/DotNew.js +11 -18
- package/es/v1/list/GridStencils/GridStencils.js +21 -24
- package/es/v1/list/Icons/AddNewIcon.js +19 -22
- package/es/v1/list/Icons/CompleteIcon.js +21 -24
- package/es/v1/list/Icons/DeleteIcon.js +22 -25
- package/es/v1/list/Icons/EditIcon.js +22 -25
- package/es/v1/list/Icons/FloatingIcons.js +12 -19
- package/es/v1/list/Icons/ReadUnreadIcon.js +24 -27
- package/es/v1/list/Icons/SmartIcon.js +20 -23
- package/es/v1/list/ListLayout/ListLayout.js +54 -68
- package/es/v1/list/ListStencils/ListStencils.js +28 -31
- package/es/v1/list/SecondaryText/AccountName.js +1 -1
- package/es/v1/list/SecondaryText/ContactName.js +1 -1
- package/es/v1/list/SecondryPanel/SecondryPanel.js +1 -2
- package/es/v1/list/Thread/Thread.js +1 -1
- package/es/v1/list/UserTime/UserTime.js +1 -1
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +266 -357
- package/es/v1/list/status/StatusListItem/StatusListItem.js +77 -102
- package/es/v1/lookup/EmptyPage/EmptyPage.js +15 -26
- package/es/v1/lookup/Lookup/Lookup.js +4 -3
- package/es/v1/lookup/Section/Section.js +15 -21
- package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/es/v1/lookup/header/Search/Search.js +3 -3
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +10 -9
- package/es/v1/{version2/notification → notification}/DesktopNotification/DesktopNotification.js +6 -6
- package/es/v1/{version2/notification → notification}/DesktopNotificationHeader/DesktopNotificationHeader.js +6 -6
- package/es/v1/setup/header/Button/Button.js +1 -1
- package/es/v1/setup/header/Link/Link.js +1 -1
- package/es/v1/setup/header/Search/Search.js +1 -1
- package/es/v1/setup/table/Table/Table.js +1 -1
- package/es/v1/setup/table/TableBody/TableBody.js +1 -1
- package/es/v1/setup/table/TableData/TableData.js +1 -1
- package/es/v1/setup/table/TableHead/TableHead.js +1 -1
- package/es/v1/setup/table/TableRow/TableRow.js +1 -1
- package/es/v1/svg/PlusIcon.js +20 -27
- package/es/v1/svg/SnippetIcon.js +22 -29
- package/es/v1/svg/TemplateIcon.js +23 -30
- package/lib/Drawer/Drawer.js +3 -2
- package/lib/IconButton/__tests__/IconButton.spec.js +156 -0
- package/lib/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -0
- package/lib/form/fields/FieldContainer/props/propTypes.js +1 -1
- package/lib/v1/ActionButton/ActionButton.js +11 -9
- package/lib/v1/AlphabeticList/AlphabeticList.js +8 -6
- package/lib/v1/Attachment/Attachment.js +78 -113
- package/lib/v1/AttachmentViewer/AttachmentImage.js +61 -96
- package/lib/v1/AttachmentViewer/AttachmentViewer.js +4 -4
- package/lib/v1/ChannelIcon/ChannelIcon.js +1 -1
- package/lib/v1/Drawer/Drawer.js +6 -6
- package/lib/v1/FlipCard/FlipCard.js +4 -4
- package/lib/v1/FormAction/FormAction.js +1 -1
- package/lib/v1/FreezeLayer/FreezeLayer.js +3 -3
- package/lib/v1/{version2/GlobalNotification → GlobalNotification}/GlobalNotification.js +7 -7
- package/lib/v1/IconButton/IconButton.js +3 -3
- package/lib/v1/Image/Image.js +26 -71
- package/lib/v1/ImportantNotes/ImportantNotes.js +1 -1
- package/lib/v1/Loader/Loader.js +13 -56
- package/lib/v1/MessageBanner/MessageBanner.js +1 -1
- package/lib/v1/NewStar/NewStar.js +1 -1
- package/lib/v1/Separator/Separator.js +45 -86
- package/lib/v1/TagWithIcon/TagWithIcon.js +1 -1
- package/lib/v1/ToastMessage/ToastMessage.js +4 -4
- package/lib/v1/Upload/Upload.js +59 -104
- package/lib/v1/{version2 → alert}/AlertClose/AlertClose.js +1 -1
- package/lib/v1/alert/AlertHeader/AlertHeader.js +68 -50
- package/lib/v1/alert/AlertLookup/AlertLookup.js +109 -42
- package/lib/v1/avatar/AvatarClose/AvatarClose.js +1 -1
- package/lib/v1/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/lib/v1/avatar/AvatarThread/AvatarThread.js +1 -1
- package/lib/v1/avatar/AvatarUser/AvatarUser.js +1 -1
- package/lib/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +18 -16
- package/lib/v1/errorstate/Inconvenience/Inconvenience.js +53 -115
- package/lib/v1/{version2/errorstate → errorstate}/OopsSomethingMiss/OopsSomethingMiss.js +6 -6
- package/lib/v1/{version2/errorstate → errorstate}/UnableToProcessRequest/UnableToProcessRequest.js +6 -6
- package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +54 -108
- package/lib/v1/{version2/errorstate → errorstate}/UrlNotFound/UrlNotFound.js +6 -6
- package/lib/v1/{version2/errorstate → errorstate}/WillBeRightBack/WillBeRightBack.js +6 -6
- package/lib/v1/form/fields/CheckBoxField/CheckBoxField.js +108 -160
- package/lib/v1/form/fields/CurrencyField/CurrencyField.js +153 -194
- package/lib/v1/form/fields/DateField/DateField.js +141 -207
- package/lib/v1/form/fields/FieldContainer/FieldContainer.js +60 -91
- package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +169 -229
- package/lib/v1/form/fields/PhoneField/PhoneField.js +151 -194
- package/lib/v1/form/fields/RadioField/RadioField.js +93 -139
- package/lib/v1/form/fields/SelectField/SelectField.js +152 -203
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +8 -8
- package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -8
- package/lib/v1/form/fields/TextBoxField/TextBoxField.js +3 -3
- package/lib/v1/form/fields/TextEditor/TextEditor.js +1 -1
- package/lib/v1/form/fields/TextEditorField/TextEditorField.js +1 -1
- package/lib/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
- package/lib/v1/form/fields/TextareaField/TextareaField.js +3 -3
- package/lib/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/lib/v1/layout/SetupDetailLayout/SetupDetailLayout.js +161 -254
- package/lib/v1/layout/SubtabLayout/SubtabLayout.js +109 -208
- package/lib/v1/list/AvatarFlip/AvatarFlip.js +61 -106
- package/lib/v1/list/BluePrintStatus/BluePrintStatus.js +11 -51
- package/lib/v1/list/Comment/Comment.js +24 -69
- package/lib/v1/list/DepartmentDropDown/DepartmentDropDown.js +67 -122
- package/lib/v1/list/Dot/Dot.js +9 -54
- package/lib/v1/list/DotNew/DotNew.js +11 -56
- package/lib/v1/list/GridStencils/GridStencils.js +21 -62
- package/lib/v1/list/Icons/AddNewIcon.js +19 -60
- package/lib/v1/list/Icons/CompleteIcon.js +21 -62
- package/lib/v1/list/Icons/DeleteIcon.js +22 -63
- package/lib/v1/list/Icons/EditIcon.js +22 -63
- package/lib/v1/list/Icons/FloatingIcons.js +17 -62
- package/lib/v1/list/Icons/ReadUnreadIcon.js +24 -65
- package/lib/v1/list/Icons/SmartIcon.js +20 -65
- package/lib/v1/list/ListLayout/ListLayout.js +53 -116
- package/lib/v1/list/ListStencils/ListStencils.js +33 -72
- package/lib/v1/list/SecondaryText/AccountName.js +1 -1
- package/lib/v1/list/SecondaryText/ContactName.js +1 -1
- package/lib/v1/list/SecondryPanel/SecondryPanel.js +3 -5
- package/lib/v1/list/Thread/Thread.js +1 -1
- package/lib/v1/list/UserTime/UserTime.js +1 -1
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +367 -472
- package/lib/v1/list/status/StatusListItem/StatusListItem.js +83 -139
- package/lib/v1/lookup/EmptyPage/EmptyPage.js +43 -93
- package/lib/v1/lookup/Lookup/Lookup.js +5 -3
- package/lib/v1/lookup/Section/Section.js +15 -59
- package/lib/v1/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/lib/v1/lookup/header/Search/Search.js +3 -3
- package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +10 -9
- package/lib/v1/{version2/notification → notification}/DesktopNotification/DesktopNotification.js +6 -6
- package/lib/v1/{version2/notification → notification}/DesktopNotificationHeader/DesktopNotificationHeader.js +6 -6
- package/lib/v1/setup/header/Button/Button.js +1 -1
- package/lib/v1/setup/header/Link/Link.js +1 -1
- package/lib/v1/setup/header/Search/Search.js +1 -1
- package/lib/v1/setup/table/Table/Table.js +1 -1
- package/lib/v1/setup/table/TableBody/TableBody.js +1 -1
- package/lib/v1/setup/table/TableData/TableData.js +1 -1
- package/lib/v1/setup/table/TableHead/TableHead.js +1 -1
- package/lib/v1/setup/table/TableRow/TableRow.js +1 -1
- package/lib/v1/svg/PlusIcon.js +20 -65
- package/lib/v1/svg/SnippetIcon.js +22 -67
- package/lib/v1/svg/TemplateIcon.js +23 -68
- package/package.json +10 -10
- package/result.json +1 -1
- package/unittest/index.html +1 -1
- package/es/v1/errorstate/LinkText/LinkText.js +0 -29
- package/es/v1/errorstate/NoRequestFound/NoRequestFound.js +0 -84
- package/es/v1/errorstate/PermissionPlay/PermissionPlay.js +0 -83
- package/es/v1/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -84
- package/es/v1/errorstate/UnableToProcess/UnableToProcess.js +0 -86
- package/es/v1/errorstate/WillBack/WillBack.js +0 -75
- package/es/v1/errorstate/index.js +0 -8
- package/es/v1/version2/errorstate/Inconvenience/Inconvenience.js +0 -63
- package/es/v1/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -65
- package/es/v1/version2/index.js +0 -12
- package/es/v1/version2/lookup/AlertHeader/AlertHeader.js +0 -79
- package/es/v1/version2/lookup/AlertLookup/AlertLookup.js +0 -164
- package/lib/v1/errorstate/LinkText/LinkText.js +0 -80
- package/lib/v1/errorstate/NoRequestFound/NoRequestFound.js +0 -135
- package/lib/v1/errorstate/PermissionPlay/PermissionPlay.js +0 -134
- package/lib/v1/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -135
- package/lib/v1/errorstate/UnableToProcess/UnableToProcess.js +0 -137
- package/lib/v1/errorstate/WillBack/WillBack.js +0 -125
- package/lib/v1/errorstate/index.js +0 -71
- package/lib/v1/version2/errorstate/Inconvenience/Inconvenience.js +0 -79
- package/lib/v1/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -81
- package/lib/v1/version2/index.js +0 -58
- package/lib/v1/version2/lookup/AlertHeader/AlertHeader.js +0 -104
- package/lib/v1/version2/lookup/AlertLookup/AlertLookup.js +0 -185
- /package/es/v1/{version2 → alert}/alertIcons/AlarmAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/AlertIcons.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/DangerAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/ErrorAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/InfoAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/NotificationAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/SuccessAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/WarningAlertIcon.js +0 -0
- /package/es/v1/{version2 → alert}/alertIcons/index.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/AlarmAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/AlertIcons.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/DangerAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/ErrorAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/InfoAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/NotificationAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/SuccessAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/WarningAlertIcon.js +0 -0
- /package/lib/v1/{version2 → alert}/alertIcons/index.js +0 -0
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { defaultProps } from '../../../errorstate/NoRequestFound/props/defaultProps';
|
|
3
|
-
import { propTypes } from '../../../errorstate/NoRequestFound/props/propTypes';
|
|
4
|
-
import commonStyle from '../../../errorstate/EmptyStates.module.css';
|
|
5
|
-
import NoRequestFoundSVG from '@zohodesk/svg/lib/errorstate/version1/NoRequestFound';
|
|
6
|
-
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
7
|
-
import LinkText from '../LinkText/LinkText';
|
|
8
|
-
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
9
|
-
import style from '../../../errorstate/NoRequestFound/NoRequestFound.module.css';
|
|
10
|
-
export default class NoRequestFound extends React.Component {
|
|
11
|
-
constructor(props) {
|
|
12
|
-
super(props);
|
|
13
|
-
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
responsiveFunc(_ref) {
|
|
17
|
-
let {
|
|
18
|
-
mediaQueryOR
|
|
19
|
-
} = _ref;
|
|
20
|
-
return {
|
|
21
|
-
tablet: mediaQueryOR([{
|
|
22
|
-
minWidth: 481,
|
|
23
|
-
maxWidth: 768
|
|
24
|
-
}]),
|
|
25
|
-
uptoMobile: mediaQueryOR([{
|
|
26
|
-
maxWidth: 480
|
|
27
|
-
}])
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
render() {
|
|
32
|
-
let {
|
|
33
|
-
title,
|
|
34
|
-
subtitle,
|
|
35
|
-
description,
|
|
36
|
-
urlText,
|
|
37
|
-
url,
|
|
38
|
-
onClick,
|
|
39
|
-
dataId,
|
|
40
|
-
customClass
|
|
41
|
-
} = this.props;
|
|
42
|
-
return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
43
|
-
query: this.responsiveFunc
|
|
44
|
-
}, _ref2 => {
|
|
45
|
-
let {
|
|
46
|
-
tablet,
|
|
47
|
-
uptoMobile
|
|
48
|
-
} = _ref2;
|
|
49
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
50
|
-
className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
|
|
51
|
-
dataId: dataId,
|
|
52
|
-
scroll: "vertical"
|
|
53
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
54
|
-
className: commonStyle.top
|
|
55
|
-
}, title ? /*#__PURE__*/React.createElement("div", {
|
|
56
|
-
className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
|
|
57
|
-
}, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
|
|
58
|
-
className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
|
|
59
|
-
}, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
|
|
60
|
-
className: `${style.imageContainer} ${uptoMobile ? commonStyle.mobileImageContainer : tablet ? commonStyle.tabletImageContainer : commonStyle.imageContainer}`
|
|
61
|
-
}, /*#__PURE__*/React.createElement(NoRequestFoundSVG, {
|
|
62
|
-
isFluid: true,
|
|
63
|
-
dataId: `${dataId}_svg`
|
|
64
|
-
})), /*#__PURE__*/React.createElement(Box, {
|
|
65
|
-
className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
|
|
66
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
67
|
-
className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
|
|
68
|
-
}, description), /*#__PURE__*/React.createElement(LinkText, {
|
|
69
|
-
text: urlText,
|
|
70
|
-
href: url,
|
|
71
|
-
onClick: onClick,
|
|
72
|
-
dataId: `${dataId}_link`,
|
|
73
|
-
customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
|
|
74
|
-
})));
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
NoRequestFound.propTypes = propTypes;
|
|
80
|
-
NoRequestFound.defaultProps = defaultProps; // if (__DOCS__) {
|
|
81
|
-
// NoRequestFound.docs = {
|
|
82
|
-
// componentGroup: 'errorStates'
|
|
83
|
-
// };
|
|
84
|
-
// }
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { defaultProps } from '../../../errorstate/PermissionPlay/props/defaultProps';
|
|
3
|
-
import { propTypes } from '../../../errorstate/PermissionPlay/props/propTypes';
|
|
4
|
-
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
5
|
-
import LinkText from '../LinkText/LinkText';
|
|
6
|
-
import UnauthorizedLoginSVG from '@zohodesk/svg/lib/errorstate/version1/UnauthorizedLogin';
|
|
7
|
-
import commonStyle from '../../../errorstate/EmptyStates.module.css';
|
|
8
|
-
import style from '../../../errorstate/PermissionPlay/PermissionPlay.module.css';
|
|
9
|
-
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
10
|
-
export default class PermissionPlay extends React.Component {
|
|
11
|
-
constructor(props) {
|
|
12
|
-
super(props);
|
|
13
|
-
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
responsiveFunc(_ref) {
|
|
17
|
-
let {
|
|
18
|
-
mediaQueryOR
|
|
19
|
-
} = _ref;
|
|
20
|
-
return {
|
|
21
|
-
tablet: mediaQueryOR([{
|
|
22
|
-
minWidth: 481,
|
|
23
|
-
maxWidth: 768
|
|
24
|
-
}]),
|
|
25
|
-
uptoMobile: mediaQueryOR([{
|
|
26
|
-
maxWidth: 480
|
|
27
|
-
}])
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
render() {
|
|
32
|
-
let {
|
|
33
|
-
subtitle,
|
|
34
|
-
title,
|
|
35
|
-
description,
|
|
36
|
-
urlText,
|
|
37
|
-
url,
|
|
38
|
-
onClick,
|
|
39
|
-
dataId,
|
|
40
|
-
customClass
|
|
41
|
-
} = this.props;
|
|
42
|
-
return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
43
|
-
query: this.responsiveFunc
|
|
44
|
-
}, _ref2 => {
|
|
45
|
-
let {
|
|
46
|
-
tablet,
|
|
47
|
-
uptoMobile
|
|
48
|
-
} = _ref2;
|
|
49
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
50
|
-
className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
|
|
51
|
-
dataId: dataId,
|
|
52
|
-
scroll: "vertical"
|
|
53
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
54
|
-
className: commonStyle.top
|
|
55
|
-
}, title ? /*#__PURE__*/React.createElement("div", {
|
|
56
|
-
className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
|
|
57
|
-
}, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
|
|
58
|
-
className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
|
|
59
|
-
}, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
|
|
60
|
-
className: uptoMobile ? commonStyle.mobileImageContainer : tablet ? commonStyle.tabletImageContainer : commonStyle.imageContainer
|
|
61
|
-
}, /*#__PURE__*/React.createElement(UnauthorizedLoginSVG, {
|
|
62
|
-
isFluid: true,
|
|
63
|
-
dataId: `${dataId}_svg`
|
|
64
|
-
})), /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement("div", {
|
|
65
|
-
className: `${style.lastBox} ${tablet || uptoMobile ? style.max : style.min}`
|
|
66
|
-
}, /*#__PURE__*/React.createElement("span", null, description), /*#__PURE__*/React.createElement("span", {
|
|
67
|
-
className: style.lineText
|
|
68
|
-
}, /*#__PURE__*/React.createElement(LinkText, {
|
|
69
|
-
text: urlText,
|
|
70
|
-
href: url,
|
|
71
|
-
onClick: onClick,
|
|
72
|
-
dataId: `${dataId}_link`
|
|
73
|
-
})))));
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
PermissionPlay.propTypes = propTypes;
|
|
79
|
-
PermissionPlay.defaultProps = defaultProps; // if (__DOCS__) {
|
|
80
|
-
// PermissionPlay.docs = {
|
|
81
|
-
// componentGroup: 'errorStates'
|
|
82
|
-
// };
|
|
83
|
-
// }
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { defaultProps } from '../../../errorstate/RequestUrlNotFound/props/defaultProps';
|
|
3
|
-
import { propTypes } from '../../../errorstate/RequestUrlNotFound/props/propTypes';
|
|
4
|
-
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
5
|
-
import UrlNotFound from '@zohodesk/svg/lib/errorstate/version1/UrlNotFound';
|
|
6
|
-
import LinkText from '../LinkText/LinkText';
|
|
7
|
-
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
8
|
-
import commonStyle from '../../../errorstate/EmptyStates.module.css';
|
|
9
|
-
import style from '../../../errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css';
|
|
10
|
-
export default class RequestUrlNotFound extends React.Component {
|
|
11
|
-
constructor(props) {
|
|
12
|
-
super(props);
|
|
13
|
-
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
responsiveFunc(_ref) {
|
|
17
|
-
let {
|
|
18
|
-
mediaQueryOR
|
|
19
|
-
} = _ref;
|
|
20
|
-
return {
|
|
21
|
-
tablet: mediaQueryOR([{
|
|
22
|
-
minWidth: 481,
|
|
23
|
-
maxWidth: 768
|
|
24
|
-
}]),
|
|
25
|
-
uptoMobile: mediaQueryOR([{
|
|
26
|
-
maxWidth: 480
|
|
27
|
-
}])
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
render() {
|
|
32
|
-
let {
|
|
33
|
-
title,
|
|
34
|
-
subtitle,
|
|
35
|
-
description,
|
|
36
|
-
urlText,
|
|
37
|
-
url,
|
|
38
|
-
onClick,
|
|
39
|
-
dataId,
|
|
40
|
-
customClass
|
|
41
|
-
} = this.props;
|
|
42
|
-
return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
43
|
-
query: this.responsiveFunc
|
|
44
|
-
}, _ref2 => {
|
|
45
|
-
let {
|
|
46
|
-
tablet,
|
|
47
|
-
uptoMobile
|
|
48
|
-
} = _ref2;
|
|
49
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
50
|
-
className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
|
|
51
|
-
dataId: dataId,
|
|
52
|
-
scroll: "vertical"
|
|
53
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
54
|
-
className: commonStyle.top
|
|
55
|
-
}, title ? /*#__PURE__*/React.createElement("div", {
|
|
56
|
-
className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
|
|
57
|
-
}, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
|
|
58
|
-
className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
|
|
59
|
-
}, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
|
|
60
|
-
className: `${style.imageContainer} ${uptoMobile ? commonStyle.mobileImageContainer : tablet ? commonStyle.tabletImageContainer : commonStyle.imageContainer}`
|
|
61
|
-
}, /*#__PURE__*/React.createElement(UrlNotFound, {
|
|
62
|
-
isFluid: true,
|
|
63
|
-
dataId: `${dataId}_svg`
|
|
64
|
-
})), /*#__PURE__*/React.createElement(Box, {
|
|
65
|
-
className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
|
|
66
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
67
|
-
className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
|
|
68
|
-
}, description), /*#__PURE__*/React.createElement(LinkText, {
|
|
69
|
-
text: urlText,
|
|
70
|
-
href: url,
|
|
71
|
-
onClick: onClick,
|
|
72
|
-
dataId: `${dataId}_link`,
|
|
73
|
-
customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
|
|
74
|
-
})));
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
RequestUrlNotFound.propTypes = propTypes;
|
|
80
|
-
RequestUrlNotFound.defaultProps = defaultProps; // if (__DOCS__) {
|
|
81
|
-
// RequestUrlNotFound.docs = {
|
|
82
|
-
// componentGroup: 'errorStates'
|
|
83
|
-
// };
|
|
84
|
-
// }
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { defaultProps } from '../../../errorstate/UnableToProcess/props/defaultProps';
|
|
3
|
-
import { propTypes } from '../../../errorstate/UnableToProcess/props/propTypes';
|
|
4
|
-
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
5
|
-
import LinkText from '../LinkText/LinkText';
|
|
6
|
-
import UnableToProcessRequest from '@zohodesk/svg/lib/errorstate/version1/UnableToProcessRequest';
|
|
7
|
-
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
8
|
-
import commonStyle from '../../../errorstate/EmptyStates.module.css';
|
|
9
|
-
import style from '../../../errorstate/UnableToProcess/UnableToProcess.module.css';
|
|
10
|
-
export default class UnableToProcess extends React.Component {
|
|
11
|
-
constructor(props) {
|
|
12
|
-
super(props);
|
|
13
|
-
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
responsiveFunc(_ref) {
|
|
17
|
-
let {
|
|
18
|
-
mediaQueryOR
|
|
19
|
-
} = _ref;
|
|
20
|
-
return {
|
|
21
|
-
tablet: mediaQueryOR([{
|
|
22
|
-
minWidth: 481,
|
|
23
|
-
maxWidth: 768
|
|
24
|
-
}]),
|
|
25
|
-
uptoMobile: mediaQueryOR([{
|
|
26
|
-
maxWidth: 480
|
|
27
|
-
}])
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
render() {
|
|
32
|
-
let {
|
|
33
|
-
title,
|
|
34
|
-
subtitle,
|
|
35
|
-
description,
|
|
36
|
-
urlText,
|
|
37
|
-
url,
|
|
38
|
-
onClick,
|
|
39
|
-
dataId,
|
|
40
|
-
customClass
|
|
41
|
-
} = this.props;
|
|
42
|
-
return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
43
|
-
query: this.responsiveFunc
|
|
44
|
-
}, _ref2 => {
|
|
45
|
-
let {
|
|
46
|
-
tablet,
|
|
47
|
-
uptoMobile
|
|
48
|
-
} = _ref2;
|
|
49
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
50
|
-
className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
|
|
51
|
-
dataId: dataId,
|
|
52
|
-
scroll: "vertical"
|
|
53
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
54
|
-
className: commonStyle.top
|
|
55
|
-
}, title ? /*#__PURE__*/React.createElement("div", {
|
|
56
|
-
className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
|
|
57
|
-
}, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
|
|
58
|
-
className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
|
|
59
|
-
}, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
|
|
60
|
-
className: `${style.imageContainer} ${uptoMobile ? commonStyle.mobileImageContainer : commonStyle.tabletImageContainer}`
|
|
61
|
-
}, /*#__PURE__*/React.createElement(UnableToProcessRequest, {
|
|
62
|
-
isFluid: true,
|
|
63
|
-
dataId: `${dataId}_svg`
|
|
64
|
-
})), /*#__PURE__*/React.createElement(Box, {
|
|
65
|
-
className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
|
|
66
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
67
|
-
className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
|
|
68
|
-
}, description), /*#__PURE__*/React.createElement(LinkText, {
|
|
69
|
-
text: urlText,
|
|
70
|
-
href: url,
|
|
71
|
-
onClick: onClick,
|
|
72
|
-
dataId: `${dataId}_link`,
|
|
73
|
-
customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
|
|
74
|
-
})));
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
UnableToProcess.propTypes = propTypes;
|
|
80
|
-
UnableToProcess.defaultProps = defaultProps;
|
|
81
|
-
|
|
82
|
-
if (false) {
|
|
83
|
-
UnableToProcess.docs = {
|
|
84
|
-
componentGroup: 'errorStates'
|
|
85
|
-
};
|
|
86
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { defaultProps } from '../../../errorstate/WillBack/props/defaultProps';
|
|
3
|
-
import { propTypes } from '../../../errorstate/WillBack/props/propTypes';
|
|
4
|
-
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
5
|
-
import WillBeRightBack from '@zohodesk/svg/lib/errorstate/version1/WillBeRightBack';
|
|
6
|
-
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
7
|
-
import commonStyle from '../../../errorstate/EmptyStates.module.css';
|
|
8
|
-
import style from '../../../errorstate/WillBack/WillBack.module.css';
|
|
9
|
-
export default class WillBack extends React.Component {
|
|
10
|
-
constructor(props) {
|
|
11
|
-
super(props);
|
|
12
|
-
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
responsiveFunc(_ref) {
|
|
16
|
-
let {
|
|
17
|
-
mediaQueryOR
|
|
18
|
-
} = _ref;
|
|
19
|
-
return {
|
|
20
|
-
tablet: mediaQueryOR([{
|
|
21
|
-
minWidth: 481,
|
|
22
|
-
maxWidth: 768
|
|
23
|
-
}]),
|
|
24
|
-
uptoMobile: mediaQueryOR([{
|
|
25
|
-
maxWidth: 480
|
|
26
|
-
}])
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
render() {
|
|
31
|
-
let {
|
|
32
|
-
dataId,
|
|
33
|
-
customClass
|
|
34
|
-
} = this.props;
|
|
35
|
-
return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
36
|
-
query: this.responsiveFunc
|
|
37
|
-
}, _ref2 => {
|
|
38
|
-
let {
|
|
39
|
-
tablet,
|
|
40
|
-
uptoMobile
|
|
41
|
-
} = _ref2;
|
|
42
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
43
|
-
className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
|
|
44
|
-
dataId: dataId,
|
|
45
|
-
scroll: "vertical"
|
|
46
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
47
|
-
className: commonStyle.top
|
|
48
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
49
|
-
className: uptoMobile || tablet ? '' : `${commonStyle.header} ${style.header} `
|
|
50
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
51
|
-
className: uptoMobile ? style.mobileTitle : tablet ? style.tabletTitle : style.title
|
|
52
|
-
}, "We'll be right back !"))), /*#__PURE__*/React.createElement(Box, {
|
|
53
|
-
className: uptoMobile ? style.mobileImageContainer : tablet ? style.tabletImageContainer : style.imageContainer
|
|
54
|
-
}, /*#__PURE__*/React.createElement(WillBeRightBack, {
|
|
55
|
-
isFluid: true,
|
|
56
|
-
dataId: `${dataId}_svg`
|
|
57
|
-
})), /*#__PURE__*/React.createElement(Box, {
|
|
58
|
-
className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
|
|
59
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
60
|
-
className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
|
|
61
|
-
}, "Our Service is temporarity unavailable. We are currently working to restore it."), /*#__PURE__*/React.createElement("div", {
|
|
62
|
-
className: `${uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText} ${style.bottomSpace} `
|
|
63
|
-
}, "Please try again later or report this issue"), /*#__PURE__*/React.createElement("div", {
|
|
64
|
-
className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
|
|
65
|
-
}, "2013, Zoho Corp, All rights reserved.")));
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
WillBack.propTypes = propTypes;
|
|
71
|
-
WillBack.defaultProps = defaultProps; // if (__DOCS__) {
|
|
72
|
-
// WillBack.docs = {
|
|
73
|
-
// componentGroup: 'errorStates'
|
|
74
|
-
// };
|
|
75
|
-
// }
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { default as Inconvenience } from './Inconvenience/Inconvenience';
|
|
2
|
-
export { default as LinkText } from './LinkText/LinkText';
|
|
3
|
-
export { default as NoRequestFound } from './NoRequestFound/NoRequestFound';
|
|
4
|
-
export { default as PermissionPlay } from './PermissionPlay/PermissionPlay';
|
|
5
|
-
export { default as RequestUrlNotFound } from './RequestUrlNotFound/RequestUrlNotFound';
|
|
6
|
-
export { default as UnableToProcess } from './UnableToProcess/UnableToProcess';
|
|
7
|
-
export { default as UnauthorizedLogin } from './UnauthorizedLogin/UnauthorizedLogin';
|
|
8
|
-
export { default as WillBack } from './WillBack/WillBack';
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { defaultProps } from '../../../../version2/errorstate/Inconvenience/props/defaultProps';
|
|
3
|
-
import { propTypes } from '../../../../version2/errorstate/Inconvenience/props/propTypes';
|
|
4
|
-
import { Container } from '@zohodesk/components/lib/Layout';
|
|
5
|
-
import ErrorInconvenience from '@zohodesk/svg/lib/v1/errorstate/version3/ErrorInconvenience';
|
|
6
|
-
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
|
-
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
8
|
-
import style from '../../../../version2/errorstate/V2_ErrorStates.module.css';
|
|
9
|
-
export default function Inconvenience(props) {
|
|
10
|
-
function errorInconvenience() {
|
|
11
|
-
return /*#__PURE__*/React.createElement(ErrorInconvenience, {
|
|
12
|
-
className: style.errorSvg
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
let {
|
|
17
|
-
title,
|
|
18
|
-
description,
|
|
19
|
-
isButtonNeeded,
|
|
20
|
-
className,
|
|
21
|
-
isFluid,
|
|
22
|
-
dataId,
|
|
23
|
-
buttonText,
|
|
24
|
-
onButtonClick,
|
|
25
|
-
urlText,
|
|
26
|
-
url,
|
|
27
|
-
onClick,
|
|
28
|
-
urlTarget,
|
|
29
|
-
size
|
|
30
|
-
} = props;
|
|
31
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
32
|
-
scroll: "vertical",
|
|
33
|
-
className: `${style.container} ${style[size]}`
|
|
34
|
-
}, /*#__PURE__*/React.createElement(CommonEmptyState, {
|
|
35
|
-
title: title,
|
|
36
|
-
description: description,
|
|
37
|
-
getEmptyState: errorInconvenience,
|
|
38
|
-
className: `${style.errorState} ${className}`,
|
|
39
|
-
isFluid: isFluid,
|
|
40
|
-
dataId: dataId,
|
|
41
|
-
linkUrl: url,
|
|
42
|
-
linkText: urlText,
|
|
43
|
-
onUrlClick: onClick,
|
|
44
|
-
linkTarget: urlTarget,
|
|
45
|
-
customClass: {
|
|
46
|
-
titleClass: style.title,
|
|
47
|
-
descriptionClass: style.desc
|
|
48
|
-
}
|
|
49
|
-
}, isButtonNeeded ? /*#__PURE__*/React.createElement(Button, {
|
|
50
|
-
palette: "primaryFilled",
|
|
51
|
-
text: buttonText,
|
|
52
|
-
customClass: {
|
|
53
|
-
customButton: style.errorBtn
|
|
54
|
-
},
|
|
55
|
-
onClick: onButtonClick
|
|
56
|
-
}) : null));
|
|
57
|
-
}
|
|
58
|
-
Inconvenience.propTypes = propTypes;
|
|
59
|
-
Inconvenience.defaultProps = defaultProps; // if (__DOCS__) {
|
|
60
|
-
// Inconvenience.docs = {
|
|
61
|
-
// componentGroup: 'errorStates'
|
|
62
|
-
// };
|
|
63
|
-
// }
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { defaultProps } from '../../../../version2/errorstate/UnauthorizedLogin/props/defaultProps';
|
|
3
|
-
import { propTypes } from '../../../../version2/errorstate/UnauthorizedLogin/props/propTypes';
|
|
4
|
-
import { Container } from '@zohodesk/components/lib/Layout';
|
|
5
|
-
import ErrorUnauthorizedLogin from '@zohodesk/svg/lib/v1/errorstate/version3/ErrorUnauthorizedLogin';
|
|
6
|
-
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
|
-
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
8
|
-
import style from '../../../../version2/errorstate/V2_ErrorStates.module.css';
|
|
9
|
-
export default function UnauthorizedLogin(props) {
|
|
10
|
-
function errorUnauthorizedLogin() {
|
|
11
|
-
return /*#__PURE__*/React.createElement(ErrorUnauthorizedLogin, {
|
|
12
|
-
className: style.errorSvg
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
let {
|
|
17
|
-
title,
|
|
18
|
-
description,
|
|
19
|
-
isButtonNeeded,
|
|
20
|
-
className,
|
|
21
|
-
isFluid,
|
|
22
|
-
dataId,
|
|
23
|
-
buttonText,
|
|
24
|
-
buttonPalette,
|
|
25
|
-
onButtonClick,
|
|
26
|
-
urlText,
|
|
27
|
-
url,
|
|
28
|
-
onClick,
|
|
29
|
-
urlTarget,
|
|
30
|
-
size
|
|
31
|
-
} = props;
|
|
32
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
33
|
-
scroll: "vertical",
|
|
34
|
-
className: `${style.container} ${style[size]}`
|
|
35
|
-
}, /*#__PURE__*/React.createElement(CommonEmptyState, {
|
|
36
|
-
title: title,
|
|
37
|
-
description: description,
|
|
38
|
-
getEmptyState: errorUnauthorizedLogin,
|
|
39
|
-
className: `${style.errorState} ${className}`,
|
|
40
|
-
isFluid: isFluid,
|
|
41
|
-
dataId: dataId,
|
|
42
|
-
linkUrl: url,
|
|
43
|
-
linkText: urlText,
|
|
44
|
-
onUrlClick: onClick,
|
|
45
|
-
linkTarget: urlTarget,
|
|
46
|
-
customClass: {
|
|
47
|
-
titleClass: style.title,
|
|
48
|
-
descriptionClass: style.desc
|
|
49
|
-
}
|
|
50
|
-
}, isButtonNeeded ? /*#__PURE__*/React.createElement(Button, {
|
|
51
|
-
palette: buttonPalette,
|
|
52
|
-
text: buttonText,
|
|
53
|
-
customClass: {
|
|
54
|
-
customButton: style.errorBtn
|
|
55
|
-
},
|
|
56
|
-
onClick: onButtonClick,
|
|
57
|
-
dataId: `${dataId}_button`
|
|
58
|
-
}) : null));
|
|
59
|
-
}
|
|
60
|
-
UnauthorizedLogin.propTypes = propTypes;
|
|
61
|
-
UnauthorizedLogin.defaultProps = defaultProps; // if (__DOCS__) {
|
|
62
|
-
// UnauthorizedLogin.docs = {
|
|
63
|
-
// componentGroup: 'errorStates'
|
|
64
|
-
// };
|
|
65
|
-
// }
|
package/es/v1/version2/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { default as AlertClose } from './AlertClose/AlertClose';
|
|
2
|
-
import * as _alertIcons from './alertIcons';
|
|
3
|
-
export { _alertIcons as alertIcons };
|
|
4
|
-
import * as _errorstate from './errorstate';
|
|
5
|
-
export { _errorstate as errorstate };
|
|
6
|
-
export { default as GlobalNotification } from './GlobalNotification/GlobalNotification';
|
|
7
|
-
export { GlobalNotificationUI } from './GlobalNotification/GlobalNotification';
|
|
8
|
-
export { GlobalNotificationNew } from './GlobalNotification/GlobalNotification';
|
|
9
|
-
import * as _lookup from './lookup';
|
|
10
|
-
export { _lookup as lookup };
|
|
11
|
-
import * as _notification from './notification';
|
|
12
|
-
export { _notification as notification };
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import React, { useRef } from 'react'; //AlertDependencies
|
|
2
|
-
|
|
3
|
-
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
4
|
-
import AlertClose from '../../AlertClose/AlertClose';
|
|
5
|
-
import AlertIcons from '../../alertIcons/AlertIcons'; //CSS
|
|
6
|
-
|
|
7
|
-
import style from '../../../../version2/lookup/AlertHeader/css/AlertHeaderNew.module.css';
|
|
8
|
-
import cssJSLogic from '../../../../version2/lookup/AlertHeader/css/cssJSLogic';
|
|
9
|
-
import { mergeStyle } from '@zohodesk/utils'; //customHooks
|
|
10
|
-
|
|
11
|
-
import useDragger from '../../../../Hooks/Dragger/useDragger'; //Props
|
|
12
|
-
|
|
13
|
-
import defaultProps from '../../../../version2/lookup/AlertHeader/props/defaultProps';
|
|
14
|
-
import propTypes from '../../../../version2/lookup/AlertHeader/props/propTypes';
|
|
15
|
-
export default function AlertHeader(props) {
|
|
16
|
-
const {
|
|
17
|
-
title,
|
|
18
|
-
needIcon,
|
|
19
|
-
onClose,
|
|
20
|
-
closeTitle,
|
|
21
|
-
children,
|
|
22
|
-
breakChildren,
|
|
23
|
-
dataId,
|
|
24
|
-
type,
|
|
25
|
-
htmlId,
|
|
26
|
-
customStyle,
|
|
27
|
-
dragBoundaryLimit
|
|
28
|
-
} = props;
|
|
29
|
-
const finalStyle = mergeStyle(style, customStyle);
|
|
30
|
-
const {
|
|
31
|
-
alertHeaderContainerClass
|
|
32
|
-
} = cssJSLogic({
|
|
33
|
-
props,
|
|
34
|
-
style: finalStyle
|
|
35
|
-
});
|
|
36
|
-
const dragRef = useRef(null); //dragRef
|
|
37
|
-
|
|
38
|
-
useDragger({
|
|
39
|
-
isActive: true,
|
|
40
|
-
ChildRef: dragRef,
|
|
41
|
-
boundaryLimit: dragBoundaryLimit
|
|
42
|
-
}); //custom Hook
|
|
43
|
-
|
|
44
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
45
|
-
align: "vertical",
|
|
46
|
-
alignBox: "row",
|
|
47
|
-
className: `${alertHeaderContainerClass}`,
|
|
48
|
-
isCover: false,
|
|
49
|
-
wrap: "wrap",
|
|
50
|
-
"data-drag-hook": "true",
|
|
51
|
-
eleRef: dragRef
|
|
52
|
-
}, needIcon && /*#__PURE__*/React.createElement("div", {
|
|
53
|
-
className: finalStyle.iconContainer
|
|
54
|
-
}, /*#__PURE__*/React.createElement(AlertIcons, {
|
|
55
|
-
type: type
|
|
56
|
-
})), (title || children) && /*#__PURE__*/React.createElement(Box, {
|
|
57
|
-
flexible: true
|
|
58
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
59
|
-
alignBox: "row",
|
|
60
|
-
wrap: breakChildren ? 'wrap' : null
|
|
61
|
-
}, title && /*#__PURE__*/React.createElement(Box, {
|
|
62
|
-
className: finalStyle.title,
|
|
63
|
-
shrink: true,
|
|
64
|
-
id: htmlId
|
|
65
|
-
}, title), children && /*#__PURE__*/React.createElement(Box, {
|
|
66
|
-
adjust: true,
|
|
67
|
-
flexible: true
|
|
68
|
-
}, children))), onClose && /*#__PURE__*/React.createElement(Box, {
|
|
69
|
-
className: style.close
|
|
70
|
-
}, /*#__PURE__*/React.createElement(AlertClose, {
|
|
71
|
-
onClose: onClose,
|
|
72
|
-
dataTitle: closeTitle,
|
|
73
|
-
dataId: `${dataId}_close`,
|
|
74
|
-
type: "light"
|
|
75
|
-
})));
|
|
76
|
-
} //Props
|
|
77
|
-
|
|
78
|
-
AlertHeader.propTypes = propTypes;
|
|
79
|
-
AlertHeader.defaultProps = defaultProps;
|