@zohodesk/dot 1.0.0-temp-230.3 → 1.0.0-temp-232
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 +2 -11
- package/es/ActionButton/__tests__/ActionButton.spec.js +4 -5
- package/es/AttachmentViewer/AttachmentImage.js +1 -3
- package/es/AttachmentViewer/AttachmentViewer.js +254 -359
- package/es/AttachmentViewer/AttachmentViewer.module.css +15 -8
- package/es/AttachmentViewer/props/defaultProps.js +2 -4
- package/es/AttachmentViewer/props/propTypes.js +2 -8
- 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 +21 -16
- 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 +3 -4
- package/es/Link/props/propTypes.js +0 -1
- 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/AlertHeader.js +5 -3
- package/es/version2/lookup/AlertHeader/__tests__/AlertHeader.spec.js +24 -0
- package/es/version2/lookup/AlertHeader/__tests__/__snapshots__/AlertHeader.spec.js.snap +34 -0
- package/es/version2/lookup/AlertHeader/css/cssJSLogic.js +4 -5
- package/es/version2/lookup/AlertHeader/props/propTypes.js +2 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +59 -63
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +40 -44
- package/lib/AttachmentViewer/AttachmentImage.js +1 -3
- package/lib/AttachmentViewer/AttachmentViewer.js +85 -187
- package/lib/AttachmentViewer/AttachmentViewer.module.css +15 -8
- package/lib/AttachmentViewer/props/defaultProps.js +2 -6
- package/lib/AttachmentViewer/props/propTypes.js +2 -8
- package/lib/DotProvider/hooks/useDownloadAssetsAndSetAttr.js +9 -3
- package/lib/Link/Link.js +3 -4
- package/lib/Link/props/propTypes.js +0 -1
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +5 -2
- package/lib/version2/lookup/AlertHeader/__tests__/AlertHeader.spec.js +26 -0
- package/lib/version2/lookup/AlertHeader/__tests__/__snapshots__/AlertHeader.spec.js.snap +34 -0
- package/lib/version2/lookup/AlertHeader/props/propTypes.js +2 -1
- package/package.json +7 -7
|
@@ -13,10 +13,9 @@ export default class Inconvenience 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 Inconvenience 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(InconvenienceSVG, {
|
|
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 NoRequestFound 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 NoRequestFound 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(NoRequestFoundSVG, {
|
|
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 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
|
}
|