@zohodesk/dot 1.0.0-temp-61 → 1.0.0-temp-64

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.
Files changed (178) hide show
  1. package/README.md +14 -0
  2. package/es/ActionButton/ActionButton.js +10 -6
  3. package/es/ActionButton/ActionButton.module.css +1 -0
  4. package/es/Drawer/Drawer.js +8 -6
  5. package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -1
  6. package/es/Link/Link.js +1 -1
  7. package/es/alert/AlertLookup/AlertLookup.js +10 -5
  8. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +11 -5
  9. package/es/errorstate/Inconvenience/Inconvenience.js +36 -32
  10. package/es/errorstate/NoRequestFound/NoRequestFound.js +36 -32
  11. package/es/errorstate/PermissionPlay/PermissionPlay.js +35 -31
  12. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +36 -32
  13. package/es/errorstate/UnableToProcess/UnableToProcess.js +36 -32
  14. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +36 -32
  15. package/es/errorstate/WillBack/WillBack.js +34 -30
  16. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +0 -2
  17. package/es/form/fields/TextEditor/TextEditor.js +7 -4
  18. package/es/form/fields/TextEditor/TextEditor.module.css +2 -1
  19. package/es/list/status/StatusListItem/StatusListItem.js +0 -2
  20. package/es/lookup/header/ViewDropDown/ViewDropDown.js +8 -4
  21. package/es/utils/General.js +7 -3
  22. package/es/utils/KeyboardApi.js +3 -1
  23. package/es/utils/editorUtils.js +5 -2
  24. package/es/version2/lookup/AlertLookup/AlertLookup.js +10 -5
  25. package/lib/ActionButton/ActionButton.js +13 -9
  26. package/lib/ActionButton/ActionButton.module.css +1 -0
  27. package/lib/AlphabeticList/AlphabeticList.js +3 -3
  28. package/lib/Attachment/Attachment.js +3 -3
  29. package/lib/ChannelIcon/ChannelIcon.js +3 -3
  30. package/lib/Drawer/Drawer.js +4 -4
  31. package/lib/ExternalLink/ExternalLink.js +3 -3
  32. package/lib/FlipCard/FlipCard.js +3 -3
  33. package/lib/FormAction/FormAction.js +4 -4
  34. package/lib/FreezeLayer/FreezeLayer.js +3 -3
  35. package/lib/IconButton/IconButton.js +3 -3
  36. package/lib/Image/Image.js +3 -3
  37. package/lib/ImportantNotes/ImportantNotes.js +3 -3
  38. package/lib/Link/Link.js +4 -4
  39. package/lib/Loader/Loader.js +3 -3
  40. package/lib/Message/Message.js +4 -4
  41. package/lib/MessageBanner/MessageBanner.js +3 -3
  42. package/lib/NewStar/NewStar.js +3 -3
  43. package/lib/PlusIcon/PlusIcon.js +3 -3
  44. package/lib/Provider.js +3 -3
  45. package/lib/ToastMessage/ToastMessage.js +1 -1
  46. package/lib/Upload/Upload.js +3 -3
  47. package/lib/actions/AutoClose.js +1 -1
  48. package/lib/alert/AlertHeader/AlertHeader.js +3 -3
  49. package/lib/alert/AlertLookup/AlertLookup.js +11 -7
  50. package/lib/avatar/AvatarClose/AvatarClose.js +3 -3
  51. package/lib/avatar/AvatarCollision/AvatarCollision.js +3 -3
  52. package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -3
  53. package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -3
  54. package/lib/avatar/AvatarThread/AvatarThread.js +3 -3
  55. package/lib/avatar/AvatarUser/AvatarUser.js +3 -3
  56. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
  57. package/lib/deprecated/SelectDropdown/SelectDropdown.js +3 -3
  58. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +3 -3
  59. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +3 -3
  60. package/lib/emptystate/EditionPage/EditionPage.js +3 -3
  61. package/lib/errorstate/Inconvenience/Inconvenience.js +3 -3
  62. package/lib/errorstate/LinkText/LinkText.js +3 -3
  63. package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -3
  64. package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -3
  65. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -3
  66. package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -3
  67. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
  68. package/lib/errorstate/WillBack/WillBack.js +3 -3
  69. package/lib/form/fields/CheckBoxField/CheckBoxField.js +3 -3
  70. package/lib/form/fields/CurrencyField/CurrencyField.js +3 -3
  71. package/lib/form/fields/DateField/DateField.js +3 -3
  72. package/lib/form/fields/MultiSelectField/MultiSelectField.js +3 -3
  73. package/lib/form/fields/PhoneField/PhoneField.js +3 -3
  74. package/lib/form/fields/RadioField/RadioField.js +3 -3
  75. package/lib/form/fields/SelectField/SelectField.js +3 -3
  76. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +3 -3
  77. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +1 -1
  78. package/lib/form/fields/TextBoxField/TextBoxField.js +3 -3
  79. package/lib/form/fields/TextEditor/TextEditor.js +11 -7
  80. package/lib/form/fields/TextEditor/TextEditor.module.css +2 -1
  81. package/lib/form/fields/TextEditorField/TextEditorField.js +3 -3
  82. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
  83. package/lib/form/fields/TextareaField/TextareaField.js +3 -3
  84. package/lib/form/fields/ValidationMessage/ValidationMessage.js +3 -3
  85. package/lib/form/layout/Field/Field.js +3 -3
  86. package/lib/form/layout/Section/Section.js +3 -3
  87. package/lib/index.js +4 -4
  88. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +4 -4
  89. package/lib/layout/SetupDetailLayout/index.js +7 -7
  90. package/lib/layout/SubtabLayout/SubtabLayout.js +4 -4
  91. package/lib/layout/SubtabLayout/index.js +9 -9
  92. package/lib/list/AvatarFlip/AvatarFlip.js +3 -3
  93. package/lib/list/BluePrintStatus/BluePrintStatus.js +3 -3
  94. package/lib/list/Comment/Comment.js +3 -3
  95. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +3 -3
  96. package/lib/list/Dot/Dot.js +3 -3
  97. package/lib/list/DotNew/DotNew.js +3 -3
  98. package/lib/list/GridStencils/GridStencils.js +3 -3
  99. package/lib/list/Icons/AddNewIcon.js +3 -3
  100. package/lib/list/Icons/CompleteIcon.js +3 -3
  101. package/lib/list/Icons/DeleteIcon.js +3 -3
  102. package/lib/list/Icons/EditIcon.js +3 -3
  103. package/lib/list/Icons/FloatingIcons.js +3 -3
  104. package/lib/list/Icons/ReadUnreadIcon.js +3 -3
  105. package/lib/list/Icons/SmartIcon.js +3 -3
  106. package/lib/list/ListLayout/ListLayout.js +4 -4
  107. package/lib/list/ListStencils/ListStencils.js +3 -3
  108. package/lib/list/SecondaryText/AccountName.js +3 -3
  109. package/lib/list/SecondaryText/ContactName.js +3 -3
  110. package/lib/list/SecondaryText/DepartmentText.js +3 -3
  111. package/lib/list/SecondaryText/Email.js +3 -3
  112. package/lib/list/SecondaryText/HappinessRating.js +3 -3
  113. package/lib/list/SecondaryText/PhoneNumber.js +3 -3
  114. package/lib/list/SecondaryText/PriorityText.js +3 -3
  115. package/lib/list/SecondaryText/SecondaryText.js +3 -3
  116. package/lib/list/SecondaryText/StatusText.js +3 -3
  117. package/lib/list/SecondaryText/TicketId.js +3 -3
  118. package/lib/list/SecondaryText/Website.js +3 -3
  119. package/lib/list/SecondaryText/index.js +22 -22
  120. package/lib/list/SecondryPanel/SecondryPanel.js +4 -4
  121. package/lib/list/SentimentStatus/SentimentStatus.js +3 -3
  122. package/lib/list/Subject/Subject.js +3 -3
  123. package/lib/list/TagNew/TagNew.js +3 -3
  124. package/lib/list/Thread/Thread.js +3 -3
  125. package/lib/list/UserTime/UserTime.js +3 -3
  126. package/lib/list/status/StatusDropdown/StatusDropdown.js +3 -3
  127. package/lib/list/status/StatusListItem/StatusListItem.js +3 -3
  128. package/lib/lookup/EmptyPage/EmptyPage.js +3 -3
  129. package/lib/lookup/Lookup/Lookup.js +3 -3
  130. package/lib/lookup/Section/Section.js +3 -3
  131. package/lib/lookup/header/Close/Close.js +3 -3
  132. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +3 -3
  133. package/lib/lookup/header/Search/Search.js +3 -3
  134. package/lib/lookup/header/TicketHeader/TicketHeader.js +3 -3
  135. package/lib/lookup/header/Title/Title.js +3 -3
  136. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
  137. package/lib/setup/header/Button/Button.js +3 -3
  138. package/lib/setup/header/Link/Link.js +3 -3
  139. package/lib/setup/header/Search/Search.js +3 -3
  140. package/lib/setup/header/Views/Views.js +3 -3
  141. package/lib/setup/helptips/Description/Description.js +3 -3
  142. package/lib/setup/helptips/Link/Link.js +3 -3
  143. package/lib/setup/helptips/ListGroup/ListGroup.js +3 -3
  144. package/lib/setup/helptips/Title/Title.js +3 -3
  145. package/lib/setup/table/Table/Table.js +3 -3
  146. package/lib/setup/table/TableBody/TableBody.js +3 -3
  147. package/lib/setup/table/TableData/TableData.js +3 -3
  148. package/lib/setup/table/TableHead/TableHead.js +3 -3
  149. package/lib/setup/table/TableRow/TableRow.js +3 -3
  150. package/lib/setup/table/Text/Text.js +3 -3
  151. package/lib/svg/PlusIcon.js +3 -3
  152. package/lib/svg/SnippetIcon.js +3 -3
  153. package/lib/svg/TemplateIcon.js +3 -3
  154. package/lib/utils/ChannelIconMapping.js +1 -1
  155. package/lib/utils/General.js +4 -4
  156. package/lib/utils/KeyboardApi.js +3 -1
  157. package/lib/utils/editorUtils.js +6 -6
  158. package/lib/version2/AlertClose/AlertClose.js +3 -3
  159. package/lib/version2/GlobalNotification/GlobalNotification.js +4 -4
  160. package/lib/version2/alertIcons/AlarmAlertIcon.js +3 -3
  161. package/lib/version2/alertIcons/AlertIcons.js +3 -3
  162. package/lib/version2/alertIcons/DangerAlertIcon.js +3 -3
  163. package/lib/version2/alertIcons/ErrorAlertIcon.js +3 -3
  164. package/lib/version2/alertIcons/InfoAlertIcon.js +3 -3
  165. package/lib/version2/alertIcons/NotificationAlertIcon.js +3 -3
  166. package/lib/version2/alertIcons/SuccessAlertIcon.js +3 -3
  167. package/lib/version2/alertIcons/WarningAlertIcon.js +3 -3
  168. package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -3
  169. package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -3
  170. package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -3
  171. package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
  172. package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -3
  173. package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -3
  174. package/lib/version2/lookup/AlertHeader/AlertHeader.js +3 -3
  175. package/lib/version2/lookup/AlertLookup/AlertLookup.js +11 -7
  176. package/lib/version2/notification/DesktopNotification/DesktopNotification.js +1 -1
  177. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +3 -3
  178. package/package.json +3 -3
package/README.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  In this Library, we Provide Some Basic Components to Build Your Application
4
4
 
5
+ # 1.0.0-beta.210
6
+
7
+ - TextEditor => editor laoding issue fix
8
+
9
+ # 1.0.0-beta.209
10
+
11
+ - ActionButton => removeChildrenTooltip prop added , Loader Bg Fixed for Primary Palette
12
+ - AlertLookup,AlertLookup v2 => onEsc Prop added
13
+
14
+ # 1.0.0-beta.208
15
+
16
+ - Read-only and disable class and style added in All Fields like TextBoxField, MultiSelect Field etc..
17
+ - isCopyTextEnabled prop added in Ripple Effect component.
18
+
5
19
  # 1.0.0-beta.207
6
20
  - Linear Gradient - to Left direction fixed
7
21
  - TicketHeader/ViewDropdown -> block layout fix
@@ -46,7 +46,8 @@ export class ActionButton extends React.Component {
46
46
  dropBoxClass,
47
47
  isBoxPaddingNeed,
48
48
  getContainerRef,
49
- getTargetRef
49
+ getTargetRef,
50
+ removeChildrenTooltip
50
51
  } = this.props;
51
52
  return /*#__PURE__*/React.createElement(Container, {
52
53
  alignBox: "row",
@@ -64,7 +65,8 @@ export class ActionButton extends React.Component {
64
65
  size: "medium",
65
66
  customClass: {
66
67
  customButton: style.btn
67
- }
68
+ },
69
+ text: text
68
70
  })) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
69
71
  flexible: true,
70
72
  onClick: onClick,
@@ -86,9 +88,9 @@ export class ActionButton extends React.Component {
86
88
  }) : null, text ? /*#__PURE__*/React.createElement(Box, {
87
89
  shrink: true,
88
90
  className: style.txt,
89
- "data-title": text
91
+ "data-title": removeChildrenTooltip ? null : text
90
92
  }, text) : null)), subText ? /*#__PURE__*/React.createElement(Box, {
91
- "data-title": subText,
93
+ "data-title": removeChildrenTooltip ? null : subText,
92
94
  className: style.subTxt
93
95
  }, subText) : null)), children ? /*#__PURE__*/React.createElement(Box, {
94
96
  onClick: onClick ? !onHover && this.handleTogglePopup : undefined,
@@ -130,7 +132,8 @@ ActionButton.defaultProps = {
130
132
  dropBoxClass: '',
131
133
  arrowBoxSize: 'medium',
132
134
  isBoxPaddingNeed: true,
133
- palette: 'primaryFilled'
135
+ palette: 'primaryFilled',
136
+ removeChildrenTooltip: false
134
137
  };
135
138
  ActionButton.propTypes = {
136
139
  arrowBoxDataId: PropTypes.string,
@@ -157,7 +160,8 @@ ActionButton.propTypes = {
157
160
  subText: PropTypes.string,
158
161
  text: PropTypes.string,
159
162
  getContainerRef: PropTypes.func,
160
- getTargetRef: PropTypes.func
163
+ getTargetRef: PropTypes.func,
164
+ removeChildrenTooltip: PropTypes.bool
161
165
  };
162
166
  ActionButton.docs = {
163
167
  componentGroup: 'Atom'
@@ -119,6 +119,7 @@
119
119
  .btn {
120
120
  height: 100%;
121
121
  width: 100%;
122
+ color:var(--dot_mirror)
122
123
  }
123
124
  .popupWrapper {
124
125
  padding: var(--zd_size10) 0;
@@ -205,9 +205,10 @@ export default class Drawer extends React.Component {
205
205
  }, childrenWithProps)));
206
206
  }
207
207
 
208
- responsiveFunc({
209
- mediaQueryOR
210
- }) {
208
+ responsiveFunc(_ref) {
209
+ let {
210
+ mediaQueryOR
211
+ } = _ref;
211
212
  return {
212
213
  uptoTablet: mediaQueryOR([{
213
214
  maxWidth: 768
@@ -233,9 +234,10 @@ export default class Drawer extends React.Component {
233
234
  return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
234
235
  query: this.responsiveFunc,
235
236
  responsiveId: responsiveId
236
- }, ({
237
- uptoTablet
238
- }) => {
237
+ }, _ref2 => {
238
+ let {
239
+ uptoTablet
240
+ } = _ref2;
239
241
  let styleByResolutions = `${subDrawerClass} ${style.secondDrawer} ${uptoTablet ? `${style.secondMobDrawer} ${style.mbleSize}` : `${style[subDrawerSize]}`} `;
240
242
  return needFreeze ? /*#__PURE__*/React.createElement(FreezeLayer, {
241
243
  onClick: onClose,
@@ -1,4 +1,3 @@
1
- import "core-js/modules/web.url.to-json";
2
1
  import React from 'react';
3
2
  import ExternalLink from '../ExternalLink';
4
3
  import renderer from 'react-test-renderer';
package/es/Link/Link.js CHANGED
@@ -3,7 +3,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
3
3
  import React from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import style from './Link.module.css';
6
- import LinkContext from './LinkContext.js';
6
+ import LinkContext from './LinkContext';
7
7
  export default class Link extends React.Component {
8
8
  constructor(props, context) {
9
9
  super(props, context);
@@ -34,16 +34,19 @@ export default class AlertLookup extends Component {
34
34
  document.removeEventListener('keydown', this.documentKeydownHandler);
35
35
  }
36
36
 
37
- documentKeydownHandler(e = {}) {
37
+ documentKeydownHandler() {
38
+ let e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
38
39
  let {
39
40
  onSubmitClick,
40
41
  onCancelClick,
41
- isActive
42
+ isActive,
43
+ onEsc,
44
+ onClose
42
45
  } = this.props;
43
46
 
44
47
  if (e.keyCode === 27 && isActive) {
45
48
  e && e.preventDefault && e.preventDefault();
46
- onCancelClick && onCancelClick(e);
49
+ onEsc == 'close' ? onClose && onClose(e) : onCancelClick && onCancelClick(e);
47
50
  } else if (e.keyCode === 13 && isActive) {
48
51
  e && e.preventDefault && e.preventDefault();
49
52
  onSubmitClick && onSubmitClick(e);
@@ -168,7 +171,8 @@ AlertLookup.propTypes = {
168
171
  AlertHeaderProps: PropTypes.object,
169
172
  PrimaryButtonProps: PropTypes.object,
170
173
  SecondaryButtonProps: PropTypes.object
171
- })
174
+ }),
175
+ onEsc: PropTypes.oneOf(['close', 'cancel'])
172
176
  };
173
177
  AlertLookup.defaultProps = {
174
178
  isActive: false,
@@ -180,7 +184,8 @@ AlertLookup.defaultProps = {
180
184
  dataId: 'alertPopup',
181
185
  customClass: '',
182
186
  isDefaultFocus: true,
183
- customProps: {}
187
+ customProps: {},
188
+ onEsc: 'cancel'
184
189
  };
185
190
 
186
191
  if (false) {
@@ -177,11 +177,17 @@ export class ToggleDropDown extends Component {
177
177
 
178
178
  if (this.props.from == 'activityFilter') {
179
179
  //Temproary
180
- const results = this.props.options.filter(({
181
- isDisabled: id1
182
- }) => !prevProps.options.some(({
183
- isDisabled: id2
184
- }) => id2 === id1));
180
+ const results = this.props.options.filter(_ref => {
181
+ let {
182
+ isDisabled: id1
183
+ } = _ref;
184
+ return !prevProps.options.some(_ref2 => {
185
+ let {
186
+ isDisabled: id2
187
+ } = _ref2;
188
+ return id2 === id1;
189
+ });
190
+ });
185
191
 
186
192
  if (results.length > 0) {
187
193
  this.setState({
@@ -12,9 +12,10 @@ export default class Inconvenience extends React.Component {
12
12
  this.responsiveFunc = this.responsiveFunc.bind(this);
13
13
  }
14
14
 
15
- responsiveFunc({
16
- mediaQueryOR
17
- }) {
15
+ responsiveFunc(_ref) {
16
+ let {
17
+ mediaQueryOR
18
+ } = _ref;
18
19
  return {
19
20
  tablet: mediaQueryOR([{
20
21
  minWidth: 481,
@@ -39,35 +40,38 @@ export default class Inconvenience extends React.Component {
39
40
  } = this.props;
40
41
  return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
41
42
  query: this.responsiveFunc
42
- }, ({
43
- tablet,
44
- uptoMobile
45
- }) => /*#__PURE__*/React.createElement(Container, {
46
- className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
47
- dataId: dataId,
48
- scroll: "vertical"
49
- }, /*#__PURE__*/React.createElement(Box, {
50
- className: commonStyle.top
51
- }, title ? /*#__PURE__*/React.createElement("div", {
52
- className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
53
- }, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
54
- className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
55
- }, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
56
- className: `${style.imageContainer} ${uptoMobile ? commonStyle.mobileImageContainer : tablet ? commonStyle.tabletImageContainer : commonStyle.imageContainer}`
57
- }, /*#__PURE__*/React.createElement(InconvenienceSVG, {
58
- isFluid: true,
59
- dataId: `${dataId}_svg`
60
- })), /*#__PURE__*/React.createElement(Box, {
61
- className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
62
- }, /*#__PURE__*/React.createElement("div", {
63
- className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
64
- }, description), /*#__PURE__*/React.createElement(LinkText, {
65
- text: urlText,
66
- href: url,
67
- onClick: onClick,
68
- dataId: `${dataId}_link`,
69
- customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
70
- }))));
43
+ }, _ref2 => {
44
+ let {
45
+ tablet,
46
+ uptoMobile
47
+ } = _ref2;
48
+ return /*#__PURE__*/React.createElement(Container, {
49
+ className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
50
+ dataId: dataId,
51
+ scroll: "vertical"
52
+ }, /*#__PURE__*/React.createElement(Box, {
53
+ className: commonStyle.top
54
+ }, title ? /*#__PURE__*/React.createElement("div", {
55
+ className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
56
+ }, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
57
+ className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
58
+ }, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
59
+ className: `${style.imageContainer} ${uptoMobile ? commonStyle.mobileImageContainer : tablet ? commonStyle.tabletImageContainer : commonStyle.imageContainer}`
60
+ }, /*#__PURE__*/React.createElement(InconvenienceSVG, {
61
+ isFluid: true,
62
+ dataId: `${dataId}_svg`
63
+ })), /*#__PURE__*/React.createElement(Box, {
64
+ className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
65
+ }, /*#__PURE__*/React.createElement("div", {
66
+ className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
67
+ }, description), /*#__PURE__*/React.createElement(LinkText, {
68
+ text: urlText,
69
+ href: url,
70
+ onClick: onClick,
71
+ dataId: `${dataId}_link`,
72
+ customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
73
+ })));
74
+ });
71
75
  }
72
76
 
73
77
  }
@@ -12,9 +12,10 @@ export default class NoRequestFound extends React.Component {
12
12
  this.responsiveFunc = this.responsiveFunc.bind(this);
13
13
  }
14
14
 
15
- responsiveFunc({
16
- mediaQueryOR
17
- }) {
15
+ responsiveFunc(_ref) {
16
+ let {
17
+ mediaQueryOR
18
+ } = _ref;
18
19
  return {
19
20
  tablet: mediaQueryOR([{
20
21
  minWidth: 481,
@@ -39,35 +40,38 @@ export default class NoRequestFound extends React.Component {
39
40
  } = this.props;
40
41
  return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
41
42
  query: this.responsiveFunc
42
- }, ({
43
- tablet,
44
- uptoMobile
45
- }) => /*#__PURE__*/React.createElement(Container, {
46
- className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
47
- dataId: dataId,
48
- scroll: "vertical"
49
- }, /*#__PURE__*/React.createElement(Box, {
50
- className: commonStyle.top
51
- }, title ? /*#__PURE__*/React.createElement("div", {
52
- className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
53
- }, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
54
- className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
55
- }, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
56
- className: `${style.imageContainer} ${uptoMobile ? commonStyle.mobileImageContainer : tablet ? commonStyle.tabletImageContainer : commonStyle.imageContainer}`
57
- }, /*#__PURE__*/React.createElement(NoRequestFoundSVG, {
58
- isFluid: true,
59
- dataId: `${dataId}_svg`
60
- })), /*#__PURE__*/React.createElement(Box, {
61
- className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
62
- }, /*#__PURE__*/React.createElement("div", {
63
- className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
64
- }, description), /*#__PURE__*/React.createElement(LinkText, {
65
- text: urlText,
66
- href: url,
67
- onClick: onClick,
68
- dataId: `${dataId}_link`,
69
- customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
70
- }))));
43
+ }, _ref2 => {
44
+ let {
45
+ tablet,
46
+ uptoMobile
47
+ } = _ref2;
48
+ return /*#__PURE__*/React.createElement(Container, {
49
+ className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
50
+ dataId: dataId,
51
+ scroll: "vertical"
52
+ }, /*#__PURE__*/React.createElement(Box, {
53
+ className: commonStyle.top
54
+ }, title ? /*#__PURE__*/React.createElement("div", {
55
+ className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
56
+ }, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
57
+ className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
58
+ }, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
59
+ className: `${style.imageContainer} ${uptoMobile ? commonStyle.mobileImageContainer : tablet ? commonStyle.tabletImageContainer : commonStyle.imageContainer}`
60
+ }, /*#__PURE__*/React.createElement(NoRequestFoundSVG, {
61
+ isFluid: true,
62
+ dataId: `${dataId}_svg`
63
+ })), /*#__PURE__*/React.createElement(Box, {
64
+ className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
65
+ }, /*#__PURE__*/React.createElement("div", {
66
+ className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
67
+ }, description), /*#__PURE__*/React.createElement(LinkText, {
68
+ text: urlText,
69
+ href: url,
70
+ onClick: onClick,
71
+ dataId: `${dataId}_link`,
72
+ customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
73
+ })));
74
+ });
71
75
  }
72
76
 
73
77
  }
@@ -12,9 +12,10 @@ export default class PermissionPlay extends React.Component {
12
12
  this.responsiveFunc = this.responsiveFunc.bind(this);
13
13
  }
14
14
 
15
- responsiveFunc({
16
- mediaQueryOR
17
- }) {
15
+ responsiveFunc(_ref) {
16
+ let {
17
+ mediaQueryOR
18
+ } = _ref;
18
19
  return {
19
20
  tablet: mediaQueryOR([{
20
21
  minWidth: 481,
@@ -39,34 +40,37 @@ export default class PermissionPlay extends React.Component {
39
40
  } = this.props;
40
41
  return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
41
42
  query: this.responsiveFunc
42
- }, ({
43
- tablet,
44
- uptoMobile
45
- }) => /*#__PURE__*/React.createElement(Container, {
46
- className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
47
- dataId: dataId,
48
- scroll: "vertical"
49
- }, /*#__PURE__*/React.createElement(Box, {
50
- className: commonStyle.top
51
- }, title ? /*#__PURE__*/React.createElement("div", {
52
- className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
53
- }, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
54
- className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
55
- }, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
56
- className: uptoMobile ? commonStyle.mobileImageContainer : tablet ? commonStyle.tabletImageContainer : commonStyle.imageContainer
57
- }, /*#__PURE__*/React.createElement(UnauthorizedLoginSVG, {
58
- isFluid: true,
59
- dataId: `${dataId}_svg`
60
- })), /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement("div", {
61
- className: `${style.lastBox} ${tablet || uptoMobile ? style.max : style.min}`
62
- }, /*#__PURE__*/React.createElement("span", null, description), /*#__PURE__*/React.createElement("span", {
63
- className: style.lineText
64
- }, /*#__PURE__*/React.createElement(LinkText, {
65
- text: urlText,
66
- href: url,
67
- onClick: onClick,
68
- dataId: `${dataId}_link`
69
- }))))));
43
+ }, _ref2 => {
44
+ let {
45
+ tablet,
46
+ uptoMobile
47
+ } = _ref2;
48
+ return /*#__PURE__*/React.createElement(Container, {
49
+ className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
50
+ dataId: dataId,
51
+ scroll: "vertical"
52
+ }, /*#__PURE__*/React.createElement(Box, {
53
+ className: commonStyle.top
54
+ }, title ? /*#__PURE__*/React.createElement("div", {
55
+ className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
56
+ }, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
57
+ className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
58
+ }, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
59
+ className: uptoMobile ? commonStyle.mobileImageContainer : tablet ? commonStyle.tabletImageContainer : commonStyle.imageContainer
60
+ }, /*#__PURE__*/React.createElement(UnauthorizedLoginSVG, {
61
+ isFluid: true,
62
+ dataId: `${dataId}_svg`
63
+ })), /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement("div", {
64
+ className: `${style.lastBox} ${tablet || uptoMobile ? style.max : style.min}`
65
+ }, /*#__PURE__*/React.createElement("span", null, description), /*#__PURE__*/React.createElement("span", {
66
+ className: style.lineText
67
+ }, /*#__PURE__*/React.createElement(LinkText, {
68
+ text: urlText,
69
+ href: url,
70
+ onClick: onClick,
71
+ dataId: `${dataId}_link`
72
+ })))));
73
+ });
70
74
  }
71
75
 
72
76
  }
@@ -12,9 +12,10 @@ export default class RequestUrlNotFound extends React.Component {
12
12
  this.responsiveFunc = this.responsiveFunc.bind(this);
13
13
  }
14
14
 
15
- responsiveFunc({
16
- mediaQueryOR
17
- }) {
15
+ responsiveFunc(_ref) {
16
+ let {
17
+ mediaQueryOR
18
+ } = _ref;
18
19
  return {
19
20
  tablet: mediaQueryOR([{
20
21
  minWidth: 481,
@@ -39,35 +40,38 @@ export default class RequestUrlNotFound extends React.Component {
39
40
  } = this.props;
40
41
  return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
41
42
  query: this.responsiveFunc
42
- }, ({
43
- tablet,
44
- uptoMobile
45
- }) => /*#__PURE__*/React.createElement(Container, {
46
- className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
47
- dataId: dataId,
48
- scroll: "vertical"
49
- }, /*#__PURE__*/React.createElement(Box, {
50
- className: commonStyle.top
51
- }, title ? /*#__PURE__*/React.createElement("div", {
52
- className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
53
- }, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
54
- className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
55
- }, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
56
- className: `${style.imageContainer} ${uptoMobile ? commonStyle.mobileImageContainer : tablet ? commonStyle.tabletImageContainer : commonStyle.imageContainer}`
57
- }, /*#__PURE__*/React.createElement(UrlNotFound, {
58
- isFluid: true,
59
- dataId: `${dataId}_svg`
60
- })), /*#__PURE__*/React.createElement(Box, {
61
- className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
62
- }, /*#__PURE__*/React.createElement("div", {
63
- className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
64
- }, description), /*#__PURE__*/React.createElement(LinkText, {
65
- text: urlText,
66
- href: url,
67
- onClick: onClick,
68
- dataId: `${dataId}_link`,
69
- customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
70
- }))));
43
+ }, _ref2 => {
44
+ let {
45
+ tablet,
46
+ uptoMobile
47
+ } = _ref2;
48
+ return /*#__PURE__*/React.createElement(Container, {
49
+ className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
50
+ dataId: dataId,
51
+ scroll: "vertical"
52
+ }, /*#__PURE__*/React.createElement(Box, {
53
+ className: commonStyle.top
54
+ }, title ? /*#__PURE__*/React.createElement("div", {
55
+ className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
56
+ }, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
57
+ className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
58
+ }, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
59
+ className: `${style.imageContainer} ${uptoMobile ? commonStyle.mobileImageContainer : tablet ? commonStyle.tabletImageContainer : commonStyle.imageContainer}`
60
+ }, /*#__PURE__*/React.createElement(UrlNotFound, {
61
+ isFluid: true,
62
+ dataId: `${dataId}_svg`
63
+ })), /*#__PURE__*/React.createElement(Box, {
64
+ className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
65
+ }, /*#__PURE__*/React.createElement("div", {
66
+ className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
67
+ }, description), /*#__PURE__*/React.createElement(LinkText, {
68
+ text: urlText,
69
+ href: url,
70
+ onClick: onClick,
71
+ dataId: `${dataId}_link`,
72
+ customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
73
+ })));
74
+ });
71
75
  }
72
76
 
73
77
  }
@@ -12,9 +12,10 @@ export default class UnableToProcess extends React.Component {
12
12
  this.responsiveFunc = this.responsiveFunc.bind(this);
13
13
  }
14
14
 
15
- responsiveFunc({
16
- mediaQueryOR
17
- }) {
15
+ responsiveFunc(_ref) {
16
+ let {
17
+ mediaQueryOR
18
+ } = _ref;
18
19
  return {
19
20
  tablet: mediaQueryOR([{
20
21
  minWidth: 481,
@@ -39,35 +40,38 @@ export default class UnableToProcess extends React.Component {
39
40
  } = this.props;
40
41
  return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
41
42
  query: this.responsiveFunc
42
- }, ({
43
- tablet,
44
- uptoMobile
45
- }) => /*#__PURE__*/React.createElement(Container, {
46
- className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
47
- dataId: dataId,
48
- scroll: "vertical"
49
- }, /*#__PURE__*/React.createElement(Box, {
50
- className: commonStyle.top
51
- }, title ? /*#__PURE__*/React.createElement("div", {
52
- className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
53
- }, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
54
- className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
55
- }, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
56
- className: `${style.imageContainer} ${uptoMobile ? commonStyle.mobileImageContainer : commonStyle.tabletImageContainer}`
57
- }, /*#__PURE__*/React.createElement(UnableToProcessRequest, {
58
- isFluid: true,
59
- dataId: `${dataId}_svg`
60
- })), /*#__PURE__*/React.createElement(Box, {
61
- className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
62
- }, /*#__PURE__*/React.createElement("div", {
63
- className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
64
- }, description), /*#__PURE__*/React.createElement(LinkText, {
65
- text: urlText,
66
- href: url,
67
- onClick: onClick,
68
- dataId: `${dataId}_link`,
69
- customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
70
- }))));
43
+ }, _ref2 => {
44
+ let {
45
+ tablet,
46
+ uptoMobile
47
+ } = _ref2;
48
+ return /*#__PURE__*/React.createElement(Container, {
49
+ className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
50
+ dataId: dataId,
51
+ scroll: "vertical"
52
+ }, /*#__PURE__*/React.createElement(Box, {
53
+ className: commonStyle.top
54
+ }, title ? /*#__PURE__*/React.createElement("div", {
55
+ className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
56
+ }, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
57
+ className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
58
+ }, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
59
+ className: `${style.imageContainer} ${uptoMobile ? commonStyle.mobileImageContainer : commonStyle.tabletImageContainer}`
60
+ }, /*#__PURE__*/React.createElement(UnableToProcessRequest, {
61
+ isFluid: true,
62
+ dataId: `${dataId}_svg`
63
+ })), /*#__PURE__*/React.createElement(Box, {
64
+ className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
65
+ }, /*#__PURE__*/React.createElement("div", {
66
+ className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
67
+ }, description), /*#__PURE__*/React.createElement(LinkText, {
68
+ text: urlText,
69
+ href: url,
70
+ onClick: onClick,
71
+ dataId: `${dataId}_link`,
72
+ customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
73
+ })));
74
+ });
71
75
  }
72
76
 
73
77
  }