@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
@@ -12,9 +12,10 @@ export default class UnauthorizedLogin 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 UnauthorizedLogin 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(UnauthorizedLoginSVG, {
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(UnauthorizedLoginSVG, {
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
  }
@@ -11,9 +11,10 @@ export default class WillBack extends React.Component {
11
11
  this.responsiveFunc = this.responsiveFunc.bind(this);
12
12
  }
13
13
 
14
- responsiveFunc({
15
- mediaQueryOR
16
- }) {
14
+ responsiveFunc(_ref) {
15
+ let {
16
+ mediaQueryOR
17
+ } = _ref;
17
18
  return {
18
19
  tablet: mediaQueryOR([{
19
20
  minWidth: 481,
@@ -32,33 +33,36 @@ export default class WillBack extends React.Component {
32
33
  } = this.props;
33
34
  return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
34
35
  query: this.responsiveFunc
35
- }, ({
36
- tablet,
37
- uptoMobile
38
- }) => /*#__PURE__*/React.createElement(Container, {
39
- className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
40
- dataId: dataId,
41
- scroll: "vertical"
42
- }, /*#__PURE__*/React.createElement(Box, {
43
- className: commonStyle.top
44
- }, /*#__PURE__*/React.createElement("div", {
45
- className: uptoMobile || tablet ? '' : `${commonStyle.header} ${style.header} `
46
- }, /*#__PURE__*/React.createElement("div", {
47
- className: uptoMobile ? style.mobileTitle : tablet ? style.tabletTitle : style.title
48
- }, "We'll be right back !"))), /*#__PURE__*/React.createElement(Box, {
49
- className: uptoMobile ? style.mobileImageContainer : tablet ? style.tabletImageContainer : style.imageContainer
50
- }, /*#__PURE__*/React.createElement(WillBeRightBack, {
51
- isFluid: true,
52
- dataId: `${dataId}_svg`
53
- })), /*#__PURE__*/React.createElement(Box, {
54
- className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
55
- }, /*#__PURE__*/React.createElement("div", {
56
- className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
57
- }, "Our Service is temporarity unavailable. We are currently working to restore it."), /*#__PURE__*/React.createElement("div", {
58
- className: `${uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText} ${style.bottomSpace} `
59
- }, "Please try again later or report this issue"), /*#__PURE__*/React.createElement("div", {
60
- className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
61
- }, "2013, Zoho Corp, All rights reserved."))));
36
+ }, _ref2 => {
37
+ let {
38
+ tablet,
39
+ uptoMobile
40
+ } = _ref2;
41
+ return /*#__PURE__*/React.createElement(Container, {
42
+ className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
43
+ dataId: dataId,
44
+ scroll: "vertical"
45
+ }, /*#__PURE__*/React.createElement(Box, {
46
+ className: commonStyle.top
47
+ }, /*#__PURE__*/React.createElement("div", {
48
+ className: uptoMobile || tablet ? '' : `${commonStyle.header} ${style.header} `
49
+ }, /*#__PURE__*/React.createElement("div", {
50
+ className: uptoMobile ? style.mobileTitle : tablet ? style.tabletTitle : style.title
51
+ }, "We'll be right back !"))), /*#__PURE__*/React.createElement(Box, {
52
+ className: uptoMobile ? style.mobileImageContainer : tablet ? style.tabletImageContainer : style.imageContainer
53
+ }, /*#__PURE__*/React.createElement(WillBeRightBack, {
54
+ isFluid: true,
55
+ dataId: `${dataId}_svg`
56
+ })), /*#__PURE__*/React.createElement(Box, {
57
+ className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
58
+ }, /*#__PURE__*/React.createElement("div", {
59
+ className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
60
+ }, "Our Service is temporarity unavailable. We are currently working to restore it."), /*#__PURE__*/React.createElement("div", {
61
+ className: `${uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText} ${style.bottomSpace} `
62
+ }, "Please try again later or report this issue"), /*#__PURE__*/React.createElement("div", {
63
+ className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
64
+ }, "2013, Zoho Corp, All rights reserved.")));
65
+ });
62
66
  }
63
67
 
64
68
  }
@@ -1,5 +1,3 @@
1
- import "core-js/modules/es.string.replace";
2
-
3
1
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
2
 
5
3
  import React, { useState, useEffect } from 'react';
@@ -21,7 +21,8 @@ export default class TextEditor extends Component {
21
21
  super(props);
22
22
  this.state = {
23
23
  isEditorLoad: false,
24
- isResourceLoaded: false
24
+ isResourceLoaded: false,
25
+ isEditorShow: false
25
26
  };
26
27
  let methods = ['editorCallback', 'handleUpload', 'handleChange', 'focusCallback', 'handleInlineUpload', 'handleDropUpload', 'blurCallback', 'handleGetContent', 'initializeEditor', 'clearEditorData', 'plainTextSwitchCallback', 'onWindowClick', 'toggleEditor'];
27
28
  bind.apply(this, methods);
@@ -199,7 +200,8 @@ export default class TextEditor extends Component {
199
200
  isCustomScroll
200
201
  } = this.props;
201
202
  this.setState({
202
- isEditorLoad: true
203
+ isEditorLoad: true,
204
+ isEditorShow: true
203
205
  });
204
206
  let {
205
207
  id
@@ -377,12 +379,13 @@ export default class TextEditor extends Component {
377
379
  isReadOnly
378
380
  } = this.props;
379
381
  let {
380
- isEditorLoad
382
+ isEditorLoad,
383
+ isEditorShow
381
384
  } = this.state;
382
385
  let editorDoc = ImgLazyLoad && global.editor && global.editor[id] ? global.editor[id].doc : null;
383
386
  return /*#__PURE__*/React.createElement(Container, {
384
387
  className: `${styles.textEditor} ${styles[type]} ${styles[border]}
385
- ${isNightMode ? styles.night : styles.light} ${isReadOnly ? styles.readOnly : ''}`,
388
+ ${isNightMode ? styles.night : styles.light} ${isReadOnly ? styles.readOnly : ''} ${!isEditorShow ? styles.editorHide : ''}`,
386
389
  dataId: dataId,
387
390
  "data-isEditor": true
388
391
  }, loadingComponent && !isEditorLoad ? loadingComponent : null, /*#__PURE__*/React.createElement(Box, {
@@ -649,6 +649,7 @@
649
649
  right: 0;
650
650
  left: 0;
651
651
  }
652
- .readOnly :global .KB_Editor_menus {
652
+ .readOnly :global .KB_Editor_menus,
653
+ .editorHide :global .KB_Editor {
653
654
  display: none !important;
654
655
  }
@@ -1,5 +1,3 @@
1
- import "core-js/modules/es.string.replace";
2
-
3
1
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
2
 
5
3
  /**** Libraries ****/
@@ -38,6 +38,8 @@ class DropDown extends SelectComponent {
38
38
  }
39
39
 
40
40
  render() {
41
+ var _this = this;
42
+
41
43
  const {
42
44
  needSearch,
43
45
  dropBoxSize,
@@ -101,19 +103,21 @@ class DropDown extends SelectComponent {
101
103
  customClass: dropBoxSize ? style[dropBoxSize] : ''
102
104
  }, suggestions.length ? /*#__PURE__*/React.createElement("div", {
103
105
  className: style.listItemContainer
104
- }, suggestions.map((option = {}, index) => {
106
+ }, suggestions.map(function () {
107
+ let option = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
108
+ let index = arguments.length > 1 ? arguments[1] : undefined;
105
109
  const {
106
110
  id,
107
111
  value
108
112
  } = option;
109
113
  return /*#__PURE__*/React.createElement(ListItem, {
110
114
  active: id === selectedId,
111
- getRef: this.suggestionItemRef,
115
+ getRef: _this.suggestionItemRef,
112
116
  highlight: hoverIndex === index ? true : false,
113
117
  id: id,
114
118
  key: `${id}dropDown`,
115
- onClick: this.handleChange,
116
- onMouseEnter: this.handleMouseEnter,
119
+ onClick: _this.handleChange,
120
+ onMouseEnter: _this.handleMouseEnter,
117
121
  size: "medium",
118
122
  value: value,
119
123
  index: index,
@@ -1,10 +1,11 @@
1
- import "core-js/modules/es.string.replace";
2
1
  export function stopBubbling(event) {
3
2
  event.preventDefault();
4
3
  event.stopPropagation && event.stopPropagation();
5
4
  event.nativeEvent && event.nativeEvent.stopImmediatePropagation && event.nativeEvent.stopImmediatePropagation();
6
5
  }
7
- export function getFullName(firstName = '', lastName = '') {
6
+ export function getFullName() {
7
+ let firstName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
8
+ let lastName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
8
9
  let fullName = '';
9
10
 
10
11
  if (firstName !== null && firstName !== '') {
@@ -17,7 +18,10 @@ export function getFullName(firstName = '', lastName = '') {
17
18
 
18
19
  return fullName;
19
20
  }
20
- export function shallowDiff(a = {}, b = {}) {
21
+ export function shallowDiff() {
22
+ let a = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
23
+ let b = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
24
+
21
25
  for (let i in a) {
22
26
  if (!(i in b)) {
23
27
  return true;
@@ -284,7 +284,9 @@ function _shortRestrictionPlaces(e) {
284
284
  let keyCode = e.keyCode || e.charCode;
285
285
  let isContentEditable = _target.contentEditable === 'true';
286
286
 
287
- if (['TEXTAREA', 'INPUT', 'SELECT'].indexOf(tagName) !== -1 || keyCode >= 112 && keyCode <= 123 || isContentEditable) {
287
+ if (['TEXTAREA', 'INPUT', 'SELECT'].indexOf(tagName) !== -1 || //!SupportUI.CurrentUser.getKBStatus() ||
288
+ //restrict_keyUI() ||
289
+ keyCode >= 112 && keyCode <= 123 || isContentEditable) {
288
290
  return true;
289
291
  }
290
292
 
@@ -1,4 +1,3 @@
1
- import "core-js/modules/es.string.replace";
2
1
  const ATTACHMENT_FILE_NAME_SIZE_LIMIT = 200; // editorUtils
3
2
 
4
3
  export function editorContentValidate(editorObj) {
@@ -177,7 +176,11 @@ export function loadResource(url, type, id, callback) {
177
176
  });
178
177
  } // bind
179
178
 
180
- export function bind(...handlers) {
179
+ export function bind() {
180
+ for (var _len = arguments.length, handlers = new Array(_len), _key = 0; _key < _len; _key++) {
181
+ handlers[_key] = arguments[_key];
182
+ }
183
+
181
184
  handlers.forEach(handler => {
182
185
  if (__DEVELOPMENT__) {
183
186
  if (!this[handler]) {
@@ -57,16 +57,19 @@ export default class AlertLookup extends Component {
57
57
  document.removeEventListener('keydown', this.documentKeydownHandler);
58
58
  }
59
59
 
60
- documentKeydownHandler(e = {}) {
60
+ documentKeydownHandler() {
61
+ let e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
61
62
  let {
62
63
  onSubmitClick,
63
64
  onCancelClick,
64
- isActive
65
+ isActive,
66
+ onEsc,
67
+ onClose
65
68
  } = this.props;
66
69
 
67
70
  if (e.keyCode === 27 && isActive) {
68
71
  e && e.preventDefault && e.preventDefault();
69
- onCancelClick && onCancelClick(e);
72
+ onEsc == 'close' ? onClose && onClose(e) : onCancelClick && onCancelClick(e);
70
73
  } else if (e.keyCode === 13 && isActive) {
71
74
  e && e.preventDefault && e.preventDefault();
72
75
  onSubmitClick && onSubmitClick(e);
@@ -226,7 +229,8 @@ AlertLookup.propTypes = {
226
229
  align: PropTypes.oneOf(['top', 'vertical']),
227
230
  childAnimationName: PropTypes.oneOf(['expand', 'flyDown']),
228
231
  isHtmlContent: PropTypes.bool,
229
- scroll: PropTypes.oneOf(['horizontal', 'vertical', 'both'])
232
+ scroll: PropTypes.oneOf(['horizontal', 'vertical', 'both']),
233
+ onEsc: PropTypes.oneOf(['close', 'cancel'])
230
234
  };
231
235
  AlertLookup.defaultProps = {
232
236
  isActive: false,
@@ -238,7 +242,8 @@ AlertLookup.defaultProps = {
238
242
  align: 'top',
239
243
  childAnimationName: 'flyDown',
240
244
  isHtmlContent: false,
241
- scroll: ''
245
+ scroll: '',
246
+ onEsc: 'cancel'
242
247
  };
243
248
 
244
249
  if (false) {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -31,9 +31,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
31
31
 
32
32
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
33
33
 
34
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
34
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
35
35
 
36
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
36
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
37
37
 
38
38
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
39
39
 
@@ -97,7 +97,8 @@ var ActionButton = /*#__PURE__*/function (_React$Component) {
97
97
  dropBoxClass = _this$props2.dropBoxClass,
98
98
  isBoxPaddingNeed = _this$props2.isBoxPaddingNeed,
99
99
  getContainerRef = _this$props2.getContainerRef,
100
- getTargetRef = _this$props2.getTargetRef;
100
+ getTargetRef = _this$props2.getTargetRef,
101
+ removeChildrenTooltip = _this$props2.removeChildrenTooltip;
101
102
  return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
102
103
  alignBox: "row",
103
104
  isCover: false,
@@ -114,7 +115,8 @@ var ActionButton = /*#__PURE__*/function (_React$Component) {
114
115
  size: "medium",
115
116
  customClass: {
116
117
  customButton: _ActionButtonModule["default"].btn
117
- }
118
+ },
119
+ text: text
118
120
  })) : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
119
121
  flexible: true,
120
122
  onClick: onClick,
@@ -136,9 +138,9 @@ var ActionButton = /*#__PURE__*/function (_React$Component) {
136
138
  }) : null, text ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
137
139
  shrink: true,
138
140
  className: _ActionButtonModule["default"].txt,
139
- "data-title": text
141
+ "data-title": removeChildrenTooltip ? null : text
140
142
  }, text) : null)), subText ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
141
- "data-title": subText,
143
+ "data-title": removeChildrenTooltip ? null : subText,
142
144
  className: _ActionButtonModule["default"].subTxt
143
145
  }, subText) : null)), children ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
144
146
  onClick: onClick ? !onHover && this.handleTogglePopup : undefined,
@@ -184,7 +186,8 @@ ActionButton.defaultProps = {
184
186
  dropBoxClass: '',
185
187
  arrowBoxSize: 'medium',
186
188
  isBoxPaddingNeed: true,
187
- palette: 'primaryFilled'
189
+ palette: 'primaryFilled',
190
+ removeChildrenTooltip: false
188
191
  };
189
192
  ActionButton.propTypes = {
190
193
  arrowBoxDataId: _propTypes["default"].string,
@@ -211,7 +214,8 @@ ActionButton.propTypes = {
211
214
  subText: _propTypes["default"].string,
212
215
  text: _propTypes["default"].string,
213
216
  getContainerRef: _propTypes["default"].func,
214
- getTargetRef: _propTypes["default"].func
217
+ getTargetRef: _propTypes["default"].func,
218
+ removeChildrenTooltip: _propTypes["default"].bool
215
219
  };
216
220
  ActionButton.docs = {
217
221
  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;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -33,9 +33,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
33
33
 
34
34
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
35
35
 
36
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
36
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
37
37
 
38
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
38
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
39
39
 
40
40
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
41
41
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -25,9 +25,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
25
25
 
26
26
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
27
27
 
28
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
28
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
29
29
 
30
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
30
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
31
31
 
32
32
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
33
33
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -31,9 +31,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
31
31
 
32
32
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
33
33
 
34
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
34
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
35
35
 
36
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
36
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
37
37
 
38
38
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
39
39
 
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports["default"] = exports.Footer = exports.Content = exports.Header = void 0;
8
+ exports["default"] = exports.Header = exports.Footer = exports.Content = void 0;
9
9
 
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
 
@@ -37,9 +37,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
37
37
 
38
38
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
39
39
 
40
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
40
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
41
41
 
42
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
42
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
43
43
 
44
44
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
45
45
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -39,9 +39,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
39
39
 
40
40
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
41
41
 
42
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
42
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
43
43
 
44
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
44
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
45
45
 
46
46
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
47
47
 
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports["default"] = exports.Center = exports.RightSide = exports.LeftSide = void 0;
8
+ exports["default"] = exports.RightSide = exports.LeftSide = exports.Center = void 0;
9
9
 
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
 
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29