@zohodesk/dot 1.9.12 → 1.9.14
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 +19 -6
- package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +7 -7
- package/assets/Appearance/dark/themes/blue/blue_DotCTA_DarkModifyCategory.module.css +13 -0
- package/assets/Appearance/dark/themes/green/green_DotCTA_DarkModifyCategory.module.css +13 -0
- package/assets/Appearance/dark/themes/orange/orange_DotCTA_DarkModifyCategory.module.css +13 -0
- package/assets/Appearance/dark/themes/red/red_DotCTA_DarkModifyCategory.module.css +13 -0
- package/assets/Appearance/dark/themes/yellow/yellow_DotCTA_DarkModifyCategory.module.css +13 -0
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +13 -13
- package/assets/Appearance/light/themes/blue/blue_DotCTA_LightModifyCategory.module.css +13 -0
- package/assets/Appearance/light/themes/green/green_DotCTA_LightModifyCategory.module.css +13 -0
- package/assets/Appearance/light/themes/orange/orange_DotCTA_LightModifyCategory.module.css +13 -0
- package/assets/Appearance/light/themes/red/red_DotCTA_LightModifyCategory.module.css +13 -0
- package/assets/Appearance/light/themes/yellow/yellow_DotCTA_LightModifyCategory.module.css +13 -0
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +5 -5
- package/assets/Appearance/pureDark/themes/blue/blue_DotCTA_PureDarkModifyCategory.module.css +13 -0
- package/assets/Appearance/pureDark/themes/green/green_DotCTA_PureDarkModifyCategory.module.css +13 -0
- package/assets/Appearance/pureDark/themes/orange/orange_DotCTA_PureDarkModifyCategory.module.css +13 -0
- package/assets/Appearance/pureDark/themes/red/red_DotCTA_PureDarkModifyCategory.module.css +13 -0
- package/assets/Appearance/pureDark/themes/yellow/yellow_DotCTA_PureDarkModifyCategory.module.css +13 -0
- package/cbt.config.js +12 -3
- package/es/ActionButton/__tests__/ActionButton.spec.js +4 -5
- package/es/AttachmentViewer/AttachmentImage.js +3 -1
- package/es/AttachmentViewer/AttachmentViewer.js +340 -273
- package/es/AttachmentViewer/AttachmentViewer.module.css +8 -15
- package/es/AttachmentViewer/__tests__/AttachmentViewer.spec.js +104 -100
- package/es/AttachmentViewer/__tests__/__snapshots__/AttachmentViewer.spec.js.snap +778 -1
- package/es/AttachmentViewer/props/defaultProps.js +4 -2
- package/es/AttachmentViewer/props/propTypes.js +9 -2
- package/es/AttachmentViewer/utils.js +6 -7
- package/es/AudioPlayer/utils/utils.js +2 -5
- package/es/DotProvider/hooks/useDotProvider.js +14 -15
- package/es/DotProvider/hooks/useDownloadAssetsAndSetAttr.js +12 -13
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +2 -1
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +1 -0
- package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_Dark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_Light_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/blue/Blue_PureDark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/green/Green_Dark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/green/Green_Light_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/green/Green_PureDark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_Dark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_Light_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/orange/Orange_PureDark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/red/Red_Dark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/red/Red_Light_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/red/Red_PureDark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Dark_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Light_Variables.js +1 -2
- package/es/DotProvider/libraryChunks/themes/variables/yellow/Yellow_PureDark_Variables.js +1 -2
- package/es/DotProvider/utils/assetPromiseHandlers/themeAppearanceAssetPromise.js +3 -4
- package/es/DotProvider/utils/assetPromiseHandlers/themeColorAssetPromise.js +4 -5
- package/es/DotProvider/utils/errorValidation.js +5 -6
- package/es/DotProvider/utils/getAssetsImportPromises.js +4 -5
- package/es/Drawer/Drawer.js +6 -8
- package/es/FreezeLayer/css/cssJSLogic.js +4 -5
- package/es/Hooks/Dragger/useDragger.js +5 -6
- package/es/Hooks/Dragger/utils/DraggerUtil.js +7 -8
- package/es/Hooks/useFreezeLayer.js +4 -5
- package/es/Link/Link.js +4 -3
- package/es/Link/props/propTypes.js +1 -0
- package/es/Onboarding/CarouselDots/CarouselDots.js +29 -32
- package/es/Onboarding/Onboarding.js +23 -24
- package/es/Onboarding/hooks/useOnboarding.js +4 -5
- package/es/Onboarding/hooks/useOnboardingSlider.js +5 -6
- package/es/deprecated/SelectDropdown/SelectDropdown.js +43 -47
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +214 -225
- package/es/errorstate/Inconvenience/Inconvenience.js +32 -36
- package/es/errorstate/NoRequestFound/NoRequestFound.js +32 -36
- package/es/errorstate/PermissionPlay/PermissionPlay.js +31 -35
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +32 -36
- package/es/errorstate/UnableToProcess/UnableToProcess.js +32 -36
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +32 -36
- package/es/errorstate/WillBack/WillBack.js +30 -34
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +81 -85
- package/es/list/status/StatusDropdown/StatusDropdown.js +109 -113
- package/es/list/status/StatusDropdown/__tests__/StatusDropdown.spec.js +3 -4
- package/es/lookup/header/Search/Search.js +4 -5
- package/es/lookup/header/Search/__tests__/Search.spec.js +3 -4
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +67 -75
- package/es/utils/General.js +2 -7
- package/es/utils/editorUtils.js +1 -5
- package/es/version2/lookup/AlertHeader/css/cssJSLogic.js +4 -5
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +59 -63
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +40 -44
- package/lib/AttachmentViewer/AttachmentImage.js +3 -1
- package/lib/AttachmentViewer/AttachmentViewer.js +158 -82
- package/lib/AttachmentViewer/AttachmentViewer.module.css +8 -15
- package/lib/AttachmentViewer/__tests__/AttachmentViewer.spec.js +100 -100
- package/lib/AttachmentViewer/__tests__/__snapshots__/AttachmentViewer.spec.js.snap +778 -1
- package/lib/AttachmentViewer/props/defaultProps.js +6 -2
- package/lib/AttachmentViewer/props/propTypes.js +9 -2
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +3 -1
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +2 -0
- package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_Dark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_Light_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/blue/Blue_PureDark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/green/Green_Dark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/green/Green_Light_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/green/Green_PureDark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_Dark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_Light_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/orange/Orange_PureDark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/red/Red_Dark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/red/Red_Light_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/red/Red_PureDark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Dark_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_Light_Variables.js +1 -3
- package/lib/DotProvider/libraryChunks/themes/variables/yellow/Yellow_PureDark_Variables.js +1 -3
- package/lib/Link/Link.js +4 -3
- package/lib/Link/props/propTypes.js +1 -0
- package/package.json +12 -11
|
@@ -13,10 +13,9 @@ export default class PermissionPlay extends React.Component {
|
|
|
13
13
|
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
responsiveFunc(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} = _ref;
|
|
16
|
+
responsiveFunc({
|
|
17
|
+
mediaQueryOR
|
|
18
|
+
}) {
|
|
20
19
|
return {
|
|
21
20
|
tablet: mediaQueryOR([{
|
|
22
21
|
minWidth: 481,
|
|
@@ -41,37 +40,34 @@ export default class PermissionPlay extends React.Component {
|
|
|
41
40
|
} = this.props;
|
|
42
41
|
return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
43
42
|
query: this.responsiveFunc
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
dataId: `${dataId}_link`
|
|
73
|
-
})))));
|
|
74
|
-
});
|
|
43
|
+
}, ({
|
|
44
|
+
tablet,
|
|
45
|
+
uptoMobile
|
|
46
|
+
}) => /*#__PURE__*/React.createElement(Container, {
|
|
47
|
+
className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
|
|
48
|
+
dataId: dataId,
|
|
49
|
+
scroll: "vertical"
|
|
50
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
51
|
+
className: commonStyle.top
|
|
52
|
+
}, title ? /*#__PURE__*/React.createElement("div", {
|
|
53
|
+
className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
|
|
54
|
+
}, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
|
|
55
|
+
className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
|
|
56
|
+
}, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
|
|
57
|
+
className: uptoMobile ? commonStyle.mobileImageContainer : tablet ? commonStyle.tabletImageContainer : commonStyle.imageContainer
|
|
58
|
+
}, /*#__PURE__*/React.createElement(UnauthorizedLoginSVG, {
|
|
59
|
+
isFluid: true,
|
|
60
|
+
dataId: `${dataId}_svg`
|
|
61
|
+
})), /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement("div", {
|
|
62
|
+
className: `${style.lastBox} ${tablet || uptoMobile ? style.max : style.min}`
|
|
63
|
+
}, /*#__PURE__*/React.createElement("span", null, description), /*#__PURE__*/React.createElement("span", {
|
|
64
|
+
className: style.lineText
|
|
65
|
+
}, /*#__PURE__*/React.createElement(LinkText, {
|
|
66
|
+
text: urlText,
|
|
67
|
+
href: url,
|
|
68
|
+
onClick: onClick,
|
|
69
|
+
dataId: `${dataId}_link`
|
|
70
|
+
}))))));
|
|
75
71
|
}
|
|
76
72
|
|
|
77
73
|
}
|
|
@@ -13,10 +13,9 @@ export default class RequestUrlNotFound extends React.Component {
|
|
|
13
13
|
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
responsiveFunc(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} = _ref;
|
|
16
|
+
responsiveFunc({
|
|
17
|
+
mediaQueryOR
|
|
18
|
+
}) {
|
|
20
19
|
return {
|
|
21
20
|
tablet: mediaQueryOR([{
|
|
22
21
|
minWidth: 481,
|
|
@@ -41,38 +40,35 @@ export default class RequestUrlNotFound extends React.Component {
|
|
|
41
40
|
} = this.props;
|
|
42
41
|
return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
43
42
|
query: this.responsiveFunc
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
|
|
74
|
-
})));
|
|
75
|
-
});
|
|
43
|
+
}, ({
|
|
44
|
+
tablet,
|
|
45
|
+
uptoMobile
|
|
46
|
+
}) => /*#__PURE__*/React.createElement(Container, {
|
|
47
|
+
className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
|
|
48
|
+
dataId: dataId,
|
|
49
|
+
scroll: "vertical"
|
|
50
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
51
|
+
className: commonStyle.top
|
|
52
|
+
}, title ? /*#__PURE__*/React.createElement("div", {
|
|
53
|
+
className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
|
|
54
|
+
}, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
|
|
55
|
+
className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
|
|
56
|
+
}, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
|
|
57
|
+
className: `${style.imageContainer} ${uptoMobile ? commonStyle.mobileImageContainer : tablet ? commonStyle.tabletImageContainer : commonStyle.imageContainer}`
|
|
58
|
+
}, /*#__PURE__*/React.createElement(UrlNotFound, {
|
|
59
|
+
isFluid: true,
|
|
60
|
+
dataId: `${dataId}_svg`
|
|
61
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
62
|
+
className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
|
|
63
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
64
|
+
className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
|
|
65
|
+
}, description), /*#__PURE__*/React.createElement(LinkText, {
|
|
66
|
+
text: urlText,
|
|
67
|
+
href: url,
|
|
68
|
+
onClick: onClick,
|
|
69
|
+
dataId: `${dataId}_link`,
|
|
70
|
+
customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
|
|
71
|
+
}))));
|
|
76
72
|
}
|
|
77
73
|
|
|
78
74
|
}
|
|
@@ -13,10 +13,9 @@ export default class UnableToProcess extends React.Component {
|
|
|
13
13
|
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
responsiveFunc(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} = _ref;
|
|
16
|
+
responsiveFunc({
|
|
17
|
+
mediaQueryOR
|
|
18
|
+
}) {
|
|
20
19
|
return {
|
|
21
20
|
tablet: mediaQueryOR([{
|
|
22
21
|
minWidth: 481,
|
|
@@ -41,38 +40,35 @@ export default class UnableToProcess extends React.Component {
|
|
|
41
40
|
} = this.props;
|
|
42
41
|
return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
43
42
|
query: this.responsiveFunc
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
|
|
74
|
-
})));
|
|
75
|
-
});
|
|
43
|
+
}, ({
|
|
44
|
+
tablet,
|
|
45
|
+
uptoMobile
|
|
46
|
+
}) => /*#__PURE__*/React.createElement(Container, {
|
|
47
|
+
className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
|
|
48
|
+
dataId: dataId,
|
|
49
|
+
scroll: "vertical"
|
|
50
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
51
|
+
className: commonStyle.top
|
|
52
|
+
}, title ? /*#__PURE__*/React.createElement("div", {
|
|
53
|
+
className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
|
|
54
|
+
}, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
|
|
55
|
+
className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
|
|
56
|
+
}, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
|
|
57
|
+
className: `${style.imageContainer} ${uptoMobile ? commonStyle.mobileImageContainer : commonStyle.tabletImageContainer}`
|
|
58
|
+
}, /*#__PURE__*/React.createElement(UnableToProcessRequest, {
|
|
59
|
+
isFluid: true,
|
|
60
|
+
dataId: `${dataId}_svg`
|
|
61
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
62
|
+
className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
|
|
63
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
64
|
+
className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
|
|
65
|
+
}, description), /*#__PURE__*/React.createElement(LinkText, {
|
|
66
|
+
text: urlText,
|
|
67
|
+
href: url,
|
|
68
|
+
onClick: onClick,
|
|
69
|
+
dataId: `${dataId}_link`,
|
|
70
|
+
customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
|
|
71
|
+
}))));
|
|
76
72
|
}
|
|
77
73
|
|
|
78
74
|
}
|
|
@@ -13,10 +13,9 @@ export default class UnauthorizedLogin extends React.Component {
|
|
|
13
13
|
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
responsiveFunc(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} = _ref;
|
|
16
|
+
responsiveFunc({
|
|
17
|
+
mediaQueryOR
|
|
18
|
+
}) {
|
|
20
19
|
return {
|
|
21
20
|
tablet: mediaQueryOR([{
|
|
22
21
|
minWidth: 481,
|
|
@@ -41,38 +40,35 @@ export default class UnauthorizedLogin extends React.Component {
|
|
|
41
40
|
} = this.props;
|
|
42
41
|
return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
43
42
|
query: this.responsiveFunc
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
|
|
74
|
-
})));
|
|
75
|
-
});
|
|
43
|
+
}, ({
|
|
44
|
+
tablet,
|
|
45
|
+
uptoMobile
|
|
46
|
+
}) => /*#__PURE__*/React.createElement(Container, {
|
|
47
|
+
className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
|
|
48
|
+
dataId: dataId,
|
|
49
|
+
scroll: "vertical"
|
|
50
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
51
|
+
className: commonStyle.top
|
|
52
|
+
}, title ? /*#__PURE__*/React.createElement("div", {
|
|
53
|
+
className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
|
|
54
|
+
}, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
|
|
55
|
+
className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
|
|
56
|
+
}, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
|
|
57
|
+
className: `${style.imageContainer} ${uptoMobile ? commonStyle.mobileImageContainer : commonStyle.tabletImageContainer}`
|
|
58
|
+
}, /*#__PURE__*/React.createElement(UnauthorizedLoginSVG, {
|
|
59
|
+
isFluid: true,
|
|
60
|
+
dataId: `${dataId}_svg`
|
|
61
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
62
|
+
className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
|
|
63
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
64
|
+
className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
|
|
65
|
+
}, description), /*#__PURE__*/React.createElement(LinkText, {
|
|
66
|
+
text: urlText,
|
|
67
|
+
href: url,
|
|
68
|
+
onClick: onClick,
|
|
69
|
+
dataId: `${dataId}_link`,
|
|
70
|
+
customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
|
|
71
|
+
}))));
|
|
76
72
|
}
|
|
77
73
|
|
|
78
74
|
}
|
|
@@ -12,10 +12,9 @@ export default class WillBack extends React.Component {
|
|
|
12
12
|
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
responsiveFunc(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} = _ref;
|
|
15
|
+
responsiveFunc({
|
|
16
|
+
mediaQueryOR
|
|
17
|
+
}) {
|
|
19
18
|
return {
|
|
20
19
|
tablet: mediaQueryOR([{
|
|
21
20
|
minWidth: 481,
|
|
@@ -34,36 +33,33 @@ export default class WillBack extends React.Component {
|
|
|
34
33
|
} = this.props;
|
|
35
34
|
return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
36
35
|
query: this.responsiveFunc
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
|
|
65
|
-
}, "2013, Zoho Corp, All rights reserved.")));
|
|
66
|
-
});
|
|
36
|
+
}, ({
|
|
37
|
+
tablet,
|
|
38
|
+
uptoMobile
|
|
39
|
+
}) => /*#__PURE__*/React.createElement(Container, {
|
|
40
|
+
className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
|
|
41
|
+
dataId: dataId,
|
|
42
|
+
scroll: "vertical"
|
|
43
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
44
|
+
className: commonStyle.top
|
|
45
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
46
|
+
className: uptoMobile || tablet ? '' : `${commonStyle.header} ${style.header} `
|
|
47
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
48
|
+
className: uptoMobile ? style.mobileTitle : tablet ? style.tabletTitle : style.title
|
|
49
|
+
}, "We'll be right back !"))), /*#__PURE__*/React.createElement(Box, {
|
|
50
|
+
className: uptoMobile ? style.mobileImageContainer : tablet ? style.tabletImageContainer : style.imageContainer
|
|
51
|
+
}, /*#__PURE__*/React.createElement(WillBeRightBack, {
|
|
52
|
+
isFluid: true,
|
|
53
|
+
dataId: `${dataId}_svg`
|
|
54
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
55
|
+
className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
|
|
56
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
57
|
+
className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
|
|
58
|
+
}, "Our Service is temporarity unavailable. We are currently working to restore it."), /*#__PURE__*/React.createElement("div", {
|
|
59
|
+
className: `${uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText} ${style.bottomSpace} `
|
|
60
|
+
}, "Please try again later or report this issue"), /*#__PURE__*/React.createElement("div", {
|
|
61
|
+
className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
|
|
62
|
+
}, "2013, Zoho Corp, All rights reserved."))));
|
|
67
63
|
}
|
|
68
64
|
|
|
69
65
|
}
|
|
@@ -102,10 +102,9 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
102
102
|
this.containerRef = ele;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
responsiveFunc(
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
} = _ref;
|
|
105
|
+
responsiveFunc({
|
|
106
|
+
mediaQueryOR
|
|
107
|
+
}) {
|
|
109
108
|
return {
|
|
110
109
|
tabletMode: mediaQueryOR([{
|
|
111
110
|
maxWidth: 700
|
|
@@ -239,91 +238,88 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
239
238
|
}, TextBoxIconProps), getTextBoxChildren ? getTextBoxChildren() : null))), isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
240
239
|
query: this.responsiveFunc,
|
|
241
240
|
responsiveId: "Helmet"
|
|
242
|
-
},
|
|
241
|
+
}, ({
|
|
242
|
+
tabletMode
|
|
243
|
+
}) => /*#__PURE__*/React.createElement(ResponsiveDropBox, {
|
|
244
|
+
isAnimate: false,
|
|
245
|
+
isActive: isPopupReady,
|
|
246
|
+
isArrow: false,
|
|
247
|
+
getRef: getContainerRef,
|
|
248
|
+
isBoxPaddingNeed: true,
|
|
249
|
+
size: boxSize,
|
|
250
|
+
boxPosition: boxPosition,
|
|
251
|
+
isPadding: false,
|
|
252
|
+
customClass: {
|
|
253
|
+
customDropBoxWrap: style.dropdown,
|
|
254
|
+
customDropBox: dropBoxClass
|
|
255
|
+
},
|
|
256
|
+
dataId: `${dataId}_dropbox`,
|
|
257
|
+
isResponsivePadding: true,
|
|
258
|
+
alignBox: "row",
|
|
259
|
+
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
260
|
+
isRestrictScroll: isRestrictScroll,
|
|
261
|
+
positionsOffset: positionsOffset,
|
|
262
|
+
targetOffset: targetOffset
|
|
263
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
264
|
+
flexible: true
|
|
265
|
+
}, needSelectAll ? /*#__PURE__*/React.createElement(MultiSelectHeader, {
|
|
266
|
+
onSelect: handleSelectAll,
|
|
267
|
+
selectAllText: selectAllText,
|
|
268
|
+
suggestions: searchList,
|
|
269
|
+
dataId: `${dataId}_selectAll`
|
|
270
|
+
}) : null, isTagListLoading ? /*#__PURE__*/React.createElement(Container, {
|
|
271
|
+
align: "both",
|
|
272
|
+
className: `${tabletMode ? '' : style.viewpopNew}`
|
|
273
|
+
}, /*#__PURE__*/React.createElement(Loader, null)) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Container, {
|
|
274
|
+
scroll: "vertical",
|
|
275
|
+
className: `${tabletMode ? '' : style.viewpopNew}`,
|
|
276
|
+
onScroll: this.onScroll,
|
|
277
|
+
eleRef: this.getContainerRef
|
|
278
|
+
}, searchList.length ? /*#__PURE__*/React.createElement(Box, {
|
|
279
|
+
flexible: true,
|
|
280
|
+
shrink: true,
|
|
281
|
+
dataId: `${dataId}_Options`
|
|
282
|
+
}, searchList.map((item, index) => {
|
|
243
283
|
let {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
284
|
+
name,
|
|
285
|
+
isNew,
|
|
286
|
+
listItemProps: listProps
|
|
287
|
+
} = item;
|
|
288
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, searchList.length > 1 && isNew ? /*#__PURE__*/React.createElement(DropDownSeparator, null) : null, /*#__PURE__*/React.createElement(ListItem, _extends({}, ListItemProps, {
|
|
289
|
+
key: index,
|
|
290
|
+
index: index,
|
|
291
|
+
autoHover: true,
|
|
292
|
+
value: isNew ? '' : name,
|
|
293
|
+
title: isNew ? '' : name,
|
|
294
|
+
onClick: addTag.bind(this, item),
|
|
295
|
+
needTick: true,
|
|
296
|
+
highlight: selectSearchIndex === index,
|
|
297
|
+
getRef: this.getSelectedItemRef,
|
|
298
|
+
isDisabled: listDisabled,
|
|
299
|
+
customProps: listProps,
|
|
300
|
+
customClass: listItemClass
|
|
301
|
+
}), isNew ? /*#__PURE__*/React.createElement(Container, {
|
|
261
302
|
alignBox: "row",
|
|
262
|
-
|
|
263
|
-
isRestrictScroll: isRestrictScroll,
|
|
264
|
-
positionsOffset: positionsOffset,
|
|
265
|
-
targetOffset: targetOffset
|
|
303
|
+
align: "vertical"
|
|
266
304
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
267
|
-
|
|
268
|
-
},
|
|
269
|
-
onSelect: handleSelectAll,
|
|
270
|
-
selectAllText: selectAllText,
|
|
271
|
-
suggestions: searchList,
|
|
272
|
-
dataId: `${dataId}_selectAll`
|
|
273
|
-
}) : null, isTagListLoading ? /*#__PURE__*/React.createElement(Container, {
|
|
274
|
-
align: "both",
|
|
275
|
-
className: `${tabletMode ? '' : style.viewpopNew}`
|
|
276
|
-
}, /*#__PURE__*/React.createElement(Loader, null)) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Container, {
|
|
277
|
-
scroll: "vertical",
|
|
278
|
-
className: `${tabletMode ? '' : style.viewpopNew}`,
|
|
279
|
-
onScroll: this.onScroll,
|
|
280
|
-
eleRef: this.getContainerRef
|
|
281
|
-
}, searchList.length ? /*#__PURE__*/React.createElement(Box, {
|
|
282
|
-
flexible: true,
|
|
305
|
+
className: style.newTagLabel
|
|
306
|
+
}, i18nKeys.newTagText, ":"), /*#__PURE__*/React.createElement(Box, {
|
|
283
307
|
shrink: true,
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
highlight: selectSearchIndex === index,
|
|
300
|
-
getRef: this.getSelectedItemRef,
|
|
301
|
-
isDisabled: listDisabled,
|
|
302
|
-
customProps: listProps,
|
|
303
|
-
customClass: listItemClass
|
|
304
|
-
}), isNew ? /*#__PURE__*/React.createElement(Container, {
|
|
305
|
-
alignBox: "row",
|
|
306
|
-
align: "vertical"
|
|
307
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
308
|
-
className: style.newTagLabel
|
|
309
|
-
}, i18nKeys.newTagText, ":"), /*#__PURE__*/React.createElement(Box, {
|
|
310
|
-
shrink: true,
|
|
311
|
-
"data-title": name,
|
|
312
|
-
className: `${style.dotted} ${style.newTagText} `,
|
|
313
|
-
dataId: `${dataId}_new_tag_text`
|
|
314
|
-
}, name)) : null));
|
|
315
|
-
})) : /*#__PURE__*/React.createElement(Box, {
|
|
316
|
-
flexible: true,
|
|
317
|
-
dataId: `${dataId}_empty`
|
|
318
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
319
|
-
className: style.searchEmpty
|
|
320
|
-
}, /*#__PURE__*/React.createElement(CommonEmptyState, {
|
|
321
|
-
title: i18nKeys.emptyTitleText,
|
|
322
|
-
description: i18nKeys.emptyDescription,
|
|
323
|
-
size: "small",
|
|
324
|
-
getEmptyState: this.emptySearchSVG
|
|
325
|
-
})))))));
|
|
326
|
-
}) : null);
|
|
308
|
+
"data-title": name,
|
|
309
|
+
className: `${style.dotted} ${style.newTagText} `,
|
|
310
|
+
dataId: `${dataId}_new_tag_text`
|
|
311
|
+
}, name)) : null));
|
|
312
|
+
})) : /*#__PURE__*/React.createElement(Box, {
|
|
313
|
+
flexible: true,
|
|
314
|
+
dataId: `${dataId}_empty`
|
|
315
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
316
|
+
className: style.searchEmpty
|
|
317
|
+
}, /*#__PURE__*/React.createElement(CommonEmptyState, {
|
|
318
|
+
title: i18nKeys.emptyTitleText,
|
|
319
|
+
description: i18nKeys.emptyDescription,
|
|
320
|
+
size: "small",
|
|
321
|
+
getEmptyState: this.emptySearchSVG
|
|
322
|
+
})))))))) : null);
|
|
327
323
|
}
|
|
328
324
|
|
|
329
325
|
}
|