orc-shared 1.2.2-dev.1 → 1.2.3

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 (302) hide show
  1. package/dist/actions/applications.js +14 -52
  2. package/dist/actions/authentication.js +10 -45
  3. package/dist/actions/countries.js +6 -36
  4. package/dist/actions/locale.js +14 -54
  5. package/dist/actions/makeApiAction.js +31 -79
  6. package/dist/actions/makeOrcApiAction.js +3 -26
  7. package/dist/actions/metadata.js +65 -174
  8. package/dist/actions/modules.js +0 -26
  9. package/dist/actions/navigation.js +3 -33
  10. package/dist/actions/requestState.js +0 -18
  11. package/dist/actions/requestsApi.js +1 -17
  12. package/dist/actions/scopes.js +14 -56
  13. package/dist/actions/timezones.js +6 -36
  14. package/dist/actions/toasts.js +3 -23
  15. package/dist/actions/versionInfo.js +6 -39
  16. package/dist/actions/view.js +0 -38
  17. package/dist/buildStore.js +3 -53
  18. package/dist/components/AppFrame/About.js +8 -70
  19. package/dist/components/AppFrame/Anchor.js +1 -25
  20. package/dist/components/AppFrame/AppFrame.js +23 -92
  21. package/dist/components/AppFrame/ApplicationSelector/ApplicationDialog.js +4 -35
  22. package/dist/components/AppFrame/ApplicationSelector/Header.js +1 -31
  23. package/dist/components/AppFrame/ApplicationSelector/index.js +1 -30
  24. package/dist/components/AppFrame/ConnectedToastList.js +0 -31
  25. package/dist/components/AppFrame/Help.js +0 -25
  26. package/dist/components/AppFrame/MenuItem.js +17 -70
  27. package/dist/components/AppFrame/Preferences.js +17 -79
  28. package/dist/components/AppFrame/Sidebar.js +8 -53
  29. package/dist/components/AppFrame/Topbar.js +9 -65
  30. package/dist/components/AppFrame/index.js +0 -20
  31. package/dist/components/AppFrame/useApplicationHelpUrl.js +0 -22
  32. package/dist/components/ApplicationModuleLoader.js +7 -46
  33. package/dist/components/Authenticate.js +5 -48
  34. package/dist/components/Button.js +0 -24
  35. package/dist/components/CategoryList.js +33 -82
  36. package/dist/components/Checkbox.js +3 -41
  37. package/dist/components/ColumnWrapper.js +0 -19
  38. package/dist/components/Culture.js +0 -29
  39. package/dist/components/DevPages.js +0 -21
  40. package/dist/components/DropMenu/Menu.js +4 -36
  41. package/dist/components/DropMenu/index.js +12 -50
  42. package/dist/components/ErrorPlaceholder.js +3 -31
  43. package/dist/components/Form/Combination.js +3 -28
  44. package/dist/components/Form/Field.js +6 -37
  45. package/dist/components/Form/FieldElements.js +9 -41
  46. package/dist/components/Form/FieldList.js +28 -92
  47. package/dist/components/Form/Fieldset.js +1 -27
  48. package/dist/components/Form/Form.js +6 -37
  49. package/dist/components/Form/FormElement.js +1 -20
  50. package/dist/components/Form/InputField.js +17 -66
  51. package/dist/components/Form/Inputs/Button.js +5 -35
  52. package/dist/components/Form/Inputs/Date.js +2 -28
  53. package/dist/components/Form/Inputs/FieldButtons.js +0 -25
  54. package/dist/components/Form/Inputs/Number.js +7 -46
  55. package/dist/components/Form/Inputs/ReadOnly.js +0 -29
  56. package/dist/components/Form/Inputs/SmallButton.js +6 -38
  57. package/dist/components/Form/Inputs/Text.js +8 -41
  58. package/dist/components/Form/Inputs/Time.js +4 -33
  59. package/dist/components/Form/Inputs/Toggles.js +5 -39
  60. package/dist/components/Form/Inputs/Translation.js +21 -78
  61. package/dist/components/Form/Inputs/index.js +0 -28
  62. package/dist/components/Form/index.js +0 -20
  63. package/dist/components/Head.js +0 -22
  64. package/dist/components/I18n.js +0 -28
  65. package/dist/components/Icon.js +1 -27
  66. package/dist/components/IconButton.js +2 -32
  67. package/dist/components/Input.js +2 -42
  68. package/dist/components/InternetExplorerWarningMessage.js +0 -31
  69. package/dist/components/List/DataCell.js +3 -42
  70. package/dist/components/List/HeadCell.js +3 -43
  71. package/dist/components/List/HeadRow.js +2 -25
  72. package/dist/components/List/List.js +37 -107
  73. package/dist/components/List/Row.js +7 -38
  74. package/dist/components/List/enhanceColumnDefs.js +3 -29
  75. package/dist/components/List/index.js +0 -20
  76. package/dist/components/Loader.js +5 -48
  77. package/dist/components/LoadingIcon.js +0 -24
  78. package/dist/components/MaterialUI/DataDisplay/Badge.js +2 -31
  79. package/dist/components/MaterialUI/DataDisplay/Chip.js +1 -33
  80. package/dist/components/MaterialUI/DataDisplay/CollapsableList.js +7 -51
  81. package/dist/components/MaterialUI/DataDisplay/Divider.js +0 -30
  82. package/dist/components/MaterialUI/DataDisplay/Icon.js +2 -28
  83. package/dist/components/MaterialUI/DataDisplay/List.js +16 -55
  84. package/dist/components/MaterialUI/DataDisplay/Modal.js +4 -37
  85. package/dist/components/MaterialUI/DataDisplay/Notification.js +17 -69
  86. package/dist/components/MaterialUI/DataDisplay/NotificationProps.js +3 -34
  87. package/dist/components/MaterialUI/DataDisplay/PopperedElements/PopperedIcon.js +0 -22
  88. package/dist/components/MaterialUI/DataDisplay/PredefinedElements/ActionModal.js +5 -37
  89. package/dist/components/MaterialUI/DataDisplay/PredefinedElements/Address.js +1 -33
  90. package/dist/components/MaterialUI/DataDisplay/PredefinedElements/ConfirmationModal.js +7 -28
  91. package/dist/components/MaterialUI/DataDisplay/PredefinedElements/DiscountedPrice.js +3 -32
  92. package/dist/components/MaterialUI/DataDisplay/PredefinedElements/InformationItem.js +14 -54
  93. package/dist/components/MaterialUI/DataDisplay/PredefinedElements/Placeholder.js +4 -33
  94. package/dist/components/MaterialUI/DataDisplay/PredefinedElements/SectionTitle.js +0 -25
  95. package/dist/components/MaterialUI/DataDisplay/PredefinedElements/StepperModal.js +14 -60
  96. package/dist/components/MaterialUI/DataDisplay/PredefinedElements/TableInfoBar.js +0 -29
  97. package/dist/components/MaterialUI/DataDisplay/PredefinedElements/Translations.js +15 -59
  98. package/dist/components/MaterialUI/DataDisplay/SelectionList.js +23 -70
  99. package/dist/components/MaterialUI/DataDisplay/Table.js +34 -123
  100. package/dist/components/MaterialUI/DataDisplay/TableHeaderCell.js +0 -35
  101. package/dist/components/MaterialUI/DataDisplay/TableProps.js +3 -49
  102. package/dist/components/MaterialUI/DataDisplay/Timeline.js +1 -21
  103. package/dist/components/MaterialUI/DataDisplay/TimelineItem.js +4 -32
  104. package/dist/components/MaterialUI/DataDisplay/TooltippedElements/MultipleLinesText.js +7 -46
  105. package/dist/components/MaterialUI/DataDisplay/TooltippedElements/TooltippedIcon.js +3 -29
  106. package/dist/components/MaterialUI/DataDisplay/TooltippedElements/TooltippedTypography.js +0 -21
  107. package/dist/components/MaterialUI/DataDisplay/TransferList.js +32 -97
  108. package/dist/components/MaterialUI/DataDisplay/chipProps.js +3 -38
  109. package/dist/components/MaterialUI/DataDisplay/collapsableListProps.js +3 -37
  110. package/dist/components/MaterialUI/DataDisplay/dividerProps.js +3 -41
  111. package/dist/components/MaterialUI/DataDisplay/index.js +0 -33
  112. package/dist/components/MaterialUI/DataDisplay/modalProps.js +3 -36
  113. package/dist/components/MaterialUI/DataDisplay/tableHelpers.js +5 -68
  114. package/dist/components/MaterialUI/DataDisplay/useTableSelection.js +11 -48
  115. package/dist/components/MaterialUI/Feedback/NotificationContext.js +5 -40
  116. package/dist/components/MaterialUI/Feedback/loadingScreen.js +5 -44
  117. package/dist/components/MaterialUI/Feedback/useNotification.js +0 -21
  118. package/dist/components/MaterialUI/Inputs/Autocomplete.js +5 -44
  119. package/dist/components/MaterialUI/Inputs/AutocompleteProps.js +3 -37
  120. package/dist/components/MaterialUI/Inputs/Checkbox.js +3 -40
  121. package/dist/components/MaterialUI/Inputs/CheckboxGroup.js +3 -43
  122. package/dist/components/MaterialUI/Inputs/CheckboxGroupProps.js +3 -38
  123. package/dist/components/MaterialUI/Inputs/CheckboxProps.js +3 -39
  124. package/dist/components/MaterialUI/Inputs/DatePicker.js +16 -52
  125. package/dist/components/MaterialUI/Inputs/InputBase.js +7 -56
  126. package/dist/components/MaterialUI/Inputs/InputBaseProps.js +3 -49
  127. package/dist/components/MaterialUI/Inputs/PredefinedElements/SearchControl.js +12 -65
  128. package/dist/components/MaterialUI/Inputs/PredefinedElements/TitledSelect.js +3 -31
  129. package/dist/components/MaterialUI/Inputs/Radio.js +8 -54
  130. package/dist/components/MaterialUI/Inputs/RadioProps.js +3 -41
  131. package/dist/components/MaterialUI/Inputs/Select.js +10 -72
  132. package/dist/components/MaterialUI/Inputs/SelectProps.js +3 -46
  133. package/dist/components/MaterialUI/Inputs/StandaloneRadio.js +3 -35
  134. package/dist/components/MaterialUI/Inputs/Switch.js +4 -38
  135. package/dist/components/MaterialUI/Inputs/SwitchProps.js +3 -40
  136. package/dist/components/MaterialUI/Inputs/TimePicker.js +14 -91
  137. package/dist/components/MaterialUI/Inputs/createInput.js +5 -30
  138. package/dist/components/MaterialUI/Inputs/index.js +0 -35
  139. package/dist/components/MaterialUI/Inputs/standaloneRadioProps.js +3 -41
  140. package/dist/components/MaterialUI/Navigation/DropDownMenu.js +12 -56
  141. package/dist/components/MaterialUI/Navigation/DropDownMenuProps.js +3 -33
  142. package/dist/components/MaterialUI/Navigation/ExternalLink.js +2 -27
  143. package/dist/components/MaterialUI/Navigation/PredefinedElements/ActionMenu.js +4 -31
  144. package/dist/components/MaterialUI/Navigation/TabBar.js +22 -103
  145. package/dist/components/MaterialUI/Navigation/TabLabel.js +7 -41
  146. package/dist/components/MaterialUI/ScopeSelector/ScopeSelector.js +7 -42
  147. package/dist/components/MaterialUI/ScopeSelector/ScopeTreeView.js +22 -62
  148. package/dist/components/MaterialUI/ScopeSelector/TreeItem.js +16 -68
  149. package/dist/components/MaterialUI/Surfaces/ExpansionPanel.js +15 -55
  150. package/dist/components/MaterialUI/Surfaces/Paper.js +1 -31
  151. package/dist/components/MaterialUI/Surfaces/PredefinedElements/TitledPaper.js +3 -28
  152. package/dist/components/MaterialUI/Surfaces/SectionExpansionPanel.js +19 -62
  153. package/dist/components/MaterialUI/Surfaces/expansionPanelProps.js +3 -55
  154. package/dist/components/MaterialUI/Surfaces/paperProps.js +3 -36
  155. package/dist/components/MaterialUI/componentProps.js +3 -29
  156. package/dist/components/MaterialUI/hocs/withDeferredPopper.js +10 -59
  157. package/dist/components/MaterialUI/hocs/withDeferredTooltip.js +7 -44
  158. package/dist/components/MaterialUI/muiThemes.js +5 -57
  159. package/dist/components/MaterialUI/textProps.js +3 -33
  160. package/dist/components/Modal/Background.js +0 -19
  161. package/dist/components/Modal/Dialog.js +2 -26
  162. package/dist/components/Modal/Wrapper.js +0 -26
  163. package/dist/components/Modal/index.js +8 -44
  164. package/dist/components/Modules.js +21 -93
  165. package/dist/components/MultiSelector.js +21 -74
  166. package/dist/components/Navigation/Bar.js +29 -90
  167. package/dist/components/Navigation/Tab.js +22 -74
  168. package/dist/components/Navigation/index.js +1 -21
  169. package/dist/components/Navigation/useNavigationState.js +90 -173
  170. package/dist/components/Placeholder.js +5 -43
  171. package/dist/components/Provision.js +4 -36
  172. package/dist/components/Routing/FullPage.js +14 -37
  173. package/dist/components/Routing/Page.js +14 -51
  174. package/dist/components/Routing/Segment.js +5 -30
  175. package/dist/components/Routing/SegmentPage.js +26 -106
  176. package/dist/components/Routing/SubPage.js +6 -54
  177. package/dist/components/Routing/withWaypointing.js +6 -37
  178. package/dist/components/Scope/ScopeModificationConfirmationDialog.js +3 -30
  179. package/dist/components/Scope/ScopeNode.js +8 -49
  180. package/dist/components/Scope/Selector.js +8 -44
  181. package/dist/components/Scope/index.js +29 -96
  182. package/dist/components/Scope/useScopeConfirmationModalState.js +33 -100
  183. package/dist/components/Scope/useScopeData.js +0 -25
  184. package/dist/components/Scope/useScopeSelect.js +0 -26
  185. package/dist/components/Selector.js +15 -76
  186. package/dist/components/Sidepanel.js +0 -28
  187. package/dist/components/Spritesheet.js +0 -26
  188. package/dist/components/Switch.js +11 -51
  189. package/dist/components/Text.js +6 -50
  190. package/dist/components/ToastList.js +5 -45
  191. package/dist/components/Toolbar.js +16 -74
  192. package/dist/components/Tooltip.js +0 -24
  193. package/dist/components/Treeview/Branch.js +0 -25
  194. package/dist/components/Treeview/Label.js +0 -29
  195. package/dist/components/Treeview/Leaf.js +0 -21
  196. package/dist/components/Treeview/Node.js +17 -55
  197. package/dist/components/Treeview/index.js +25 -66
  198. package/dist/components/Treeview/settings.js +0 -17
  199. package/dist/constants.js +2 -17
  200. package/dist/getTheme.js +0 -29
  201. package/dist/getThemeOverrides.js +3 -22
  202. package/dist/hocs/routingConnector.js +0 -21
  203. package/dist/hocs/withAuthentication.js +4 -26
  204. package/dist/hocs/withClickOutside.js +2 -28
  205. package/dist/hocs/withErrorBoundary.js +2 -37
  206. package/dist/hocs/withId.js +1 -30
  207. package/dist/hocs/withInfiniteScroll.js +15 -32
  208. package/dist/hocs/withInitialLoad.js +0 -20
  209. package/dist/hocs/withLocaleSwitch.js +0 -19
  210. package/dist/hocs/withNavigationLink.js +5 -32
  211. package/dist/hocs/withRequestActivity.js +0 -21
  212. package/dist/hocs/withScopeData.js +6 -33
  213. package/dist/hocs/withScrollBox.js +2 -31
  214. package/dist/hocs/withToggle.js +9 -37
  215. package/dist/hocs/withUpdateHandler.js +3 -23
  216. package/dist/hocs/withViewState.js +5 -32
  217. package/dist/hooks/useDispatchWithModulesData.js +0 -26
  218. package/dist/hooks/useEditState.js +6 -103
  219. package/dist/hooks/useEntityLoader.js +18 -67
  220. package/dist/hooks/useFullEntityEditState.js +9 -56
  221. package/dist/hooks/useInfiniteScroll.js +5 -33
  222. package/dist/hooks/useLabelMessage.js +3 -42
  223. package/dist/hooks/useLoader.js +0 -27
  224. package/dist/hooks/useMultipleFieldEditState.js +3 -40
  225. package/dist/hooks/useNavigationHandler.js +3 -28
  226. package/dist/hooks/useNotificationRequestState.js +17 -47
  227. package/dist/hooks/usePreviousModified.js +0 -24
  228. package/dist/hooks/useRequestState.js +8 -38
  229. package/dist/hooks/useSelectorAndUnwrap.js +0 -23
  230. package/dist/hooks/useToggle.js +5 -35
  231. package/dist/hooks/useViewState.js +0 -23
  232. package/dist/index.js +1 -2
  233. package/dist/reducers/applications.js +0 -23
  234. package/dist/reducers/authentication.js +6 -37
  235. package/dist/reducers/countries.js +0 -25
  236. package/dist/reducers/localeFactory.js +0 -30
  237. package/dist/reducers/metadata.js +3 -63
  238. package/dist/reducers/modules.js +0 -36
  239. package/dist/reducers/navigation.js +8 -47
  240. package/dist/reducers/request.js +0 -28
  241. package/dist/reducers/requestStates.js +0 -42
  242. package/dist/reducers/scopes.js +0 -28
  243. package/dist/reducers/settings.js +4 -39
  244. package/dist/reducers/timezones.js +0 -25
  245. package/dist/reducers/toasts.js +0 -27
  246. package/dist/reducers/versionInfo.js +0 -24
  247. package/dist/reducers/view.js +36 -84
  248. package/dist/schemas/countries.js +0 -17
  249. package/dist/schemas/definitions.js +0 -17
  250. package/dist/schemas/metadata.js +0 -17
  251. package/dist/schemas/productDefinitions.js +0 -17
  252. package/dist/schemas/scopes.js +0 -17
  253. package/dist/schemas/timezones.js +0 -17
  254. package/dist/selectors/applications.js +0 -20
  255. package/dist/selectors/authentication.js +0 -40
  256. package/dist/selectors/countries.js +0 -22
  257. package/dist/selectors/locale.js +1 -29
  258. package/dist/selectors/metadata.js +4 -45
  259. package/dist/selectors/modules.js +3 -22
  260. package/dist/selectors/navigation.js +9 -39
  261. package/dist/selectors/requestStates.js +0 -22
  262. package/dist/selectors/requests.js +2 -22
  263. package/dist/selectors/route.js +0 -21
  264. package/dist/selectors/scope.js +0 -32
  265. package/dist/selectors/settings.js +0 -18
  266. package/dist/selectors/timezones.js +0 -19
  267. package/dist/selectors/versionInfo.js +0 -18
  268. package/dist/selectors/view.js +3 -74
  269. package/dist/sharedMessages.js +0 -17
  270. package/dist/spawnerMiddleware.js +0 -24
  271. package/dist/utils/buildUrl.js +7 -38
  272. package/dist/utils/countryHelper.js +0 -18
  273. package/dist/utils/curry.js +0 -19
  274. package/dist/utils/debounce.js +1 -20
  275. package/dist/utils/displayModeHelper.js +0 -24
  276. package/dist/utils/domHelper.js +0 -17
  277. package/dist/utils/flatten.js +7 -38
  278. package/dist/utils/index.js +0 -31
  279. package/dist/utils/insertIcons.js +0 -21
  280. package/dist/utils/localizationHelper.js +0 -26
  281. package/dist/utils/logPass.js +1 -22
  282. package/dist/utils/mapHelper.js +1 -25
  283. package/dist/utils/memoize.js +0 -23
  284. package/dist/utils/modelValidationHelper.js +3 -42
  285. package/dist/utils/normalizeForSearch.js +2 -19
  286. package/dist/utils/objectHelper.js +2 -24
  287. package/dist/utils/parseHelper.js +0 -32
  288. package/dist/utils/profilerHelper.js +0 -18
  289. package/dist/utils/propertyHelper.js +1 -38
  290. package/dist/utils/propertyValidator.js +0 -25
  291. package/dist/utils/requestProcessingHelper.js +0 -24
  292. package/dist/utils/safeGet.js +0 -18
  293. package/dist/utils/setTranslation.js +1 -28
  294. package/dist/utils/setTranslationWithFallback.js +1 -33
  295. package/dist/utils/stripKey.js +1 -23
  296. package/dist/utils/styledPropFuncs.js +3 -29
  297. package/dist/utils/testUtils.js +14 -91
  298. package/dist/utils/timezoneHelper.js +4 -35
  299. package/dist/utils/unwrapImmutable.js +0 -19
  300. package/dist/utils/urlHelper.js +3 -28
  301. package/dist/whyDidYouRerender.js +1 -5
  302. package/package.json +3 -3
@@ -2,43 +2,31 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.default = void 0;
5
-
6
5
  var _react = _interopRequireDefault(require("react"));
7
-
8
6
  var _classnames = _interopRequireDefault(require("classnames"));
9
-
10
7
  var _Modal = _interopRequireDefault(require("@material-ui/core/Modal"));
11
-
12
8
  var _styles = require("@material-ui/core/styles");
13
-
14
9
  var _modalProps = _interopRequireWildcard(require("./modalProps"));
15
-
16
10
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
-
18
11
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
-
20
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
-
22
13
  (function () {
23
14
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
24
15
  enterModule && enterModule(module);
25
16
  })();
26
-
27
17
  (function () {
28
18
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
29
19
  enterModule && enterModule(module);
30
20
  })();
31
-
32
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
33
-
21
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
22
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
23
+ function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
34
24
  var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
35
25
  return a;
36
26
  };
37
-
38
27
  var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
39
28
  return a;
40
29
  };
41
-
42
30
  var useStyles = (0, _styles.makeStyles)(function (theme) {
43
31
  return {
44
32
  modal: {
@@ -112,18 +100,14 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
112
100
  }
113
101
  };
114
102
  });
115
-
116
103
  var Modal = function Modal(_ref) {
117
104
  var _modalProps$get, _modalProps$get2, _classNames, _classNames2;
118
-
119
105
  var message = _ref.message,
120
- modalProps = _ref.modalProps;
106
+ modalProps = _ref.modalProps;
121
107
  var classes = useStyles();
122
-
123
108
  if ((0, _modalProps.isModalProps)(modalProps) === false) {
124
109
  throw new TypeError("modalProps property is not of type ModalProps");
125
110
  }
126
-
127
111
  var open = (_modalProps$get = modalProps == null ? void 0 : modalProps.get(_modalProps.default.propNames.open)) != null ? _modalProps$get : false;
128
112
  var title = modalProps == null ? void 0 : modalProps.get(_modalProps.default.propNames.title);
129
113
  var actionPanel = modalProps == null ? void 0 : modalProps.get(_modalProps.default.propNames.actionPanel);
@@ -131,13 +115,11 @@ var Modal = function Modal(_ref) {
131
115
  var modalType = (_modalProps$get2 = modalProps == null ? void 0 : modalProps.get(_modalProps.default.propNames.type)) != null ? _modalProps$get2 : "normal";
132
116
  var containerCls = (0, _classnames.default)((_classNames = {}, _defineProperty(_classNames, classes.containerNormal, modalType === "normal"), _defineProperty(_classNames, classes.containerWide, modalType === "wide"), _defineProperty(_classNames, classes.containerFullwidth, modalType === "fullwidth"), _classNames));
133
117
  var messageCls = (0, _classnames.default)((_classNames2 = {}, _defineProperty(_classNames2, classes.message, modalType === "normal"), _defineProperty(_classNames2, classes.messageWide, modalType === "wide" || modalType === "fullwidth"), _classNames2));
134
-
135
118
  var onCloseCallback = function onCloseCallback(e, reason) {
136
119
  if (backdropClickCallback && reason === "backdropClick") {
137
120
  backdropClickCallback(e);
138
121
  }
139
122
  };
140
-
141
123
  var model = /*#__PURE__*/_react.default.createElement(_Modal.default, {
142
124
  disablePortal: true,
143
125
  disableEnforceFocus: true,
@@ -154,59 +136,44 @@ var Modal = function Modal(_ref) {
154
136
  }, message), /*#__PURE__*/_react.default.createElement("div", {
155
137
  className: classes.actionPanel
156
138
  }, actionPanel)));
157
-
158
139
  return model;
159
140
  };
160
-
161
141
  __signature__(Modal, "useStyles{classes}", function () {
162
142
  return [useStyles];
163
143
  });
164
-
165
144
  __signature__(Modal, "useStyles{classes}", function () {
166
145
  return [useStyles];
167
146
  });
168
-
169
147
  var _default = Modal;
170
148
  var _default2 = _default;
171
149
  var _default3 = _default2;
172
150
  exports.default = _default3;
173
151
  ;
174
-
175
152
  (function () {
176
153
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
177
-
178
154
  if (!reactHotLoader) {
179
155
  return;
180
156
  }
181
-
182
157
  reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/Modal.js");
183
158
  reactHotLoader.register(Modal, "Modal", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/Modal.js");
184
159
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/Modal.js");
185
160
  })();
186
-
187
161
  ;
188
-
189
162
  (function () {
190
163
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
191
164
  leaveModule && leaveModule(module);
192
165
  })();
193
-
194
166
  ;
195
-
196
167
  (function () {
197
168
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
198
-
199
169
  if (!reactHotLoader) {
200
170
  return;
201
171
  }
202
-
203
172
  reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/Modal.js");
204
173
  reactHotLoader.register(Modal, "Modal", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/Modal.js");
205
174
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/Modal.js");
206
175
  })();
207
-
208
176
  ;
209
-
210
177
  (function () {
211
178
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
212
179
  leaveModule && leaveModule(module);
@@ -2,61 +2,40 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.default = void 0;
5
-
6
5
  var _react = _interopRequireWildcard(require("react"));
7
-
8
6
  var _styles = require("@material-ui/core/styles");
9
-
10
7
  var _Snackbar = _interopRequireDefault(require("@material-ui/core/Snackbar"));
11
-
12
8
  var _IconButton = _interopRequireDefault(require("@material-ui/core/IconButton"));
13
-
14
9
  var _Icon = _interopRequireDefault(require("./Icon"));
15
-
16
10
  var _NotificationProps = _interopRequireDefault(require("./NotificationProps"));
17
-
18
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
-
20
12
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
21
-
22
13
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
23
-
24
14
  (function () {
25
15
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
26
16
  enterModule && enterModule(module);
27
17
  })();
28
-
29
18
  (function () {
30
19
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
31
20
  enterModule && enterModule(module);
32
21
  })();
33
-
34
22
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
35
-
36
23
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
37
-
38
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
39
-
24
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
25
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
26
+ function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
40
27
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
41
-
42
28
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
43
-
44
29
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
45
-
46
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
47
-
48
- function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
49
-
30
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
31
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
50
32
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
51
-
52
33
  var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
53
34
  return a;
54
35
  };
55
-
56
36
  var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
57
37
  return a;
58
38
  };
59
-
60
39
  var useStyles = (0, _styles.makeStyles)(function (theme) {
61
40
  return {
62
41
  close: {
@@ -101,31 +80,25 @@ var defaultAnchorOrigin = {
101
80
  vertical: "top",
102
81
  horizontal: "right"
103
82
  };
104
-
105
83
  var getIconIdByType = function getIconIdByType(type) {
106
84
  switch (type) {
107
85
  case "success":
108
86
  return "checkmark-filled";
109
-
110
87
  case "error":
111
88
  return "error-cross-filled";
112
-
113
89
  default:
114
90
  return "";
115
91
  }
116
92
  };
117
-
118
93
  var useNotificationState = function useNotificationState(snackPack, setSnackPack, lastOnly) {
119
94
  var _useState = (0, _react.useState)(false),
120
- _useState2 = _slicedToArray(_useState, 2),
121
- open = _useState2[0],
122
- setOpen = _useState2[1];
123
-
95
+ _useState2 = _slicedToArray(_useState, 2),
96
+ open = _useState2[0],
97
+ setOpen = _useState2[1];
124
98
  var _useState3 = (0, _react.useState)(undefined),
125
- _useState4 = _slicedToArray(_useState3, 2),
126
- messageInfo = _useState4[0],
127
- setMessageInfo = _useState4[1];
128
-
99
+ _useState4 = _slicedToArray(_useState3, 2),
100
+ messageInfo = _useState4[0],
101
+ setMessageInfo = _useState4[1];
129
102
  (0, _react.useEffect)(function () {
130
103
  if (snackPack.length && !messageInfo) {
131
104
  // Set a new snack when we don't have an active one
@@ -140,19 +113,15 @@ var useNotificationState = function useNotificationState(snackPack, setSnackPack
140
113
  setOpen(false);
141
114
  }
142
115
  }, [snackPack, messageInfo, open, lastOnly, setSnackPack]);
143
-
144
116
  var handleClose = function handleClose(event, reason) {
145
117
  if (reason === "clickaway") {
146
118
  return;
147
119
  }
148
-
149
120
  setOpen(false);
150
121
  };
151
-
152
122
  var handleExited = function handleExited() {
153
123
  setMessageInfo(undefined);
154
124
  };
155
-
156
125
  return {
157
126
  open: open,
158
127
  messageInfo: messageInfo,
@@ -160,28 +129,22 @@ var useNotificationState = function useNotificationState(snackPack, setSnackPack
160
129
  handleExited: handleExited
161
130
  };
162
131
  };
163
-
164
132
  __signature__(useNotificationState, "useState{[open, setOpen](false)}\nuseState{[messageInfo, setMessageInfo](undefined)}\nuseEffect{}");
165
-
166
133
  __signature__(useNotificationState, "useState{[open, setOpen](false)}\nuseState{[messageInfo, setMessageInfo](undefined)}\nuseEffect{}");
167
-
168
134
  var Notification = function Notification(_ref) {
169
135
  var _notificationProps$ge;
170
-
171
136
  var notificationProps = _ref.notificationProps,
172
- snackPack = _ref.snackPack,
173
- setSnackPack = _ref.setSnackPack;
137
+ snackPack = _ref.snackPack,
138
+ setSnackPack = _ref.setSnackPack;
174
139
  var classes = useStyles();
175
140
  var autoHideDuration = (notificationProps == null ? void 0 : notificationProps.get(_NotificationProps.default.propNames.autoHideDuration)) || 5000;
176
141
  var anchorOrigin = (notificationProps == null ? void 0 : notificationProps.get(_NotificationProps.default.propNames.anchorOrigin)) || defaultAnchorOrigin;
177
142
  var lastOnly = (_notificationProps$ge = notificationProps == null ? void 0 : notificationProps.get(_NotificationProps.default.propNames.lastOnly)) != null ? _notificationProps$ge : true;
178
-
179
143
  var _useNotificationState = useNotificationState(snackPack, setSnackPack, lastOnly),
180
- open = _useNotificationState.open,
181
- messageInfo = _useNotificationState.messageInfo,
182
- handleClose = _useNotificationState.handleClose,
183
- handleExited = _useNotificationState.handleExited;
184
-
144
+ open = _useNotificationState.open,
145
+ messageInfo = _useNotificationState.messageInfo,
146
+ handleClose = _useNotificationState.handleClose,
147
+ handleExited = _useNotificationState.handleExited;
185
148
  return messageInfo ? /*#__PURE__*/_react.default.createElement(_Snackbar.default, {
186
149
  key: messageInfo.key,
187
150
  anchorOrigin: anchorOrigin,
@@ -209,29 +172,22 @@ var Notification = function Notification(_ref) {
209
172
  className: classes.closeIcon
210
173
  })))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
211
174
  };
212
-
213
175
  __signature__(Notification, "useStyles{classes}\nuseNotificationState{{ open, messageInfo, handleClose, handleExited }}", function () {
214
176
  return [useStyles, useNotificationState];
215
177
  });
216
-
217
178
  __signature__(Notification, "useStyles{classes}\nuseNotificationState{{ open, messageInfo, handleClose, handleExited }}", function () {
218
179
  return [useStyles, useNotificationState];
219
180
  });
220
-
221
181
  var _default = _react.default.memo(Notification);
222
-
223
182
  var _default2 = _default;
224
183
  var _default3 = _default2;
225
184
  exports.default = _default3;
226
185
  ;
227
-
228
186
  (function () {
229
187
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
230
-
231
188
  if (!reactHotLoader) {
232
189
  return;
233
190
  }
234
-
235
191
  reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/Notification.js");
236
192
  reactHotLoader.register(defaultAnchorOrigin, "defaultAnchorOrigin", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/Notification.js");
237
193
  reactHotLoader.register(getIconIdByType, "getIconIdByType", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/Notification.js");
@@ -239,23 +195,17 @@ exports.default = _default3;
239
195
  reactHotLoader.register(Notification, "Notification", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/Notification.js");
240
196
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/Notification.js");
241
197
  })();
242
-
243
198
  ;
244
-
245
199
  (function () {
246
200
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
247
201
  leaveModule && leaveModule(module);
248
202
  })();
249
-
250
203
  ;
251
-
252
204
  (function () {
253
205
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
254
-
255
206
  if (!reactHotLoader) {
256
207
  return;
257
208
  }
258
-
259
209
  reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/Notification.js");
260
210
  reactHotLoader.register(defaultAnchorOrigin, "defaultAnchorOrigin", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/Notification.js");
261
211
  reactHotLoader.register(getIconIdByType, "getIconIdByType", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/Notification.js");
@@ -263,9 +213,7 @@ exports.default = _default3;
263
213
  reactHotLoader.register(Notification, "Notification", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/Notification.js");
264
214
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/Notification.js");
265
215
  })();
266
-
267
216
  ;
268
-
269
217
  (function () {
270
218
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
271
219
  leaveModule && leaveModule(module);
@@ -2,117 +2,86 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.isNotificationProps = exports.default = void 0;
5
-
6
5
  var _componentProps = _interopRequireDefault(require("../componentProps"));
7
-
8
6
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
-
10
7
  (function () {
11
8
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
12
9
  enterModule && enterModule(module);
13
10
  })();
14
-
15
11
  (function () {
16
12
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
17
13
  enterModule && enterModule(module);
18
14
  })();
19
-
20
15
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
21
-
22
16
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
-
24
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
25
-
17
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
18
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
19
+ function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
26
20
  var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
27
21
  return a;
28
22
  };
29
-
30
23
  var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
31
24
  return a;
32
25
  };
33
-
34
26
  var NotificationProps = /*#__PURE__*/function (_ComponentProps) {
35
27
  _inheritsLoose(NotificationProps, _ComponentProps);
36
-
37
28
  function NotificationProps() {
38
29
  var _this;
39
-
40
30
  _this = _ComponentProps.call(this) || this;
41
-
42
31
  _this.componentProps.set(_this.constructor.propNames.autoHideDuration, null);
43
-
44
32
  _this.componentProps.set(_this.constructor.propNames.anchorOrigin, null);
45
-
46
33
  _this.componentProps.set(_this.constructor.propNames.lastOnly, null);
47
-
48
34
  _this._isNotificationProps = true;
49
35
  return _this;
50
36
  }
51
-
52
37
  var _proto = NotificationProps.prototype;
53
-
54
38
  // @ts-ignore
55
39
  _proto.__reactstandin__regenerateByEval = function __reactstandin__regenerateByEval(key, code) {
56
40
  // @ts-ignore
57
41
  this[key] = eval(code);
58
42
  };
59
-
60
43
  return NotificationProps;
61
44
  }(_componentProps.default);
62
-
63
45
  _defineProperty(NotificationProps, "propNames", {
64
46
  autoHideDuration: "autoHideDuration",
65
47
  anchorOrigin: "anchorOrigin",
66
48
  lastOnly: "lastOnly"
67
49
  });
68
-
69
50
  var isNotificationProps = function isNotificationProps(value) {
70
51
  if (value == null) return true;
71
52
  return typeof value === "object" && (value instanceof NotificationProps || value._isNotificationProps === true);
72
53
  };
73
-
74
54
  exports.isNotificationProps = isNotificationProps;
75
55
  var _default = NotificationProps;
76
56
  var _default2 = _default;
77
57
  var _default3 = _default2;
78
58
  exports.default = _default3;
79
59
  ;
80
-
81
60
  (function () {
82
61
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
83
-
84
62
  if (!reactHotLoader) {
85
63
  return;
86
64
  }
87
-
88
65
  reactHotLoader.register(NotificationProps, "NotificationProps", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/NotificationProps.js");
89
66
  reactHotLoader.register(isNotificationProps, "isNotificationProps", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/NotificationProps.js");
90
67
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/NotificationProps.js");
91
68
  })();
92
-
93
69
  ;
94
-
95
70
  (function () {
96
71
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
97
72
  leaveModule && leaveModule(module);
98
73
  })();
99
-
100
74
  ;
101
-
102
75
  (function () {
103
76
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
104
-
105
77
  if (!reactHotLoader) {
106
78
  return;
107
79
  }
108
-
109
80
  reactHotLoader.register(NotificationProps, "NotificationProps", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/NotificationProps.js");
110
81
  reactHotLoader.register(isNotificationProps, "isNotificationProps", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/NotificationProps.js");
111
82
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/NotificationProps.js");
112
83
  })();
113
-
114
84
  ;
115
-
116
85
  (function () {
117
86
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
118
87
  leaveModule && leaveModule(module);
@@ -2,77 +2,55 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.default = void 0;
5
-
6
5
  var _react = _interopRequireDefault(require("react"));
7
-
8
6
  var _withDeferredPopper = _interopRequireDefault(require("../../hocs/withDeferredPopper"));
9
-
10
7
  var _Icon = _interopRequireDefault(require("../Icon"));
11
-
12
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
-
14
9
  (function () {
15
10
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
16
11
  enterModule && enterModule(module);
17
12
  })();
18
-
19
13
  (function () {
20
14
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
21
15
  enterModule && enterModule(module);
22
16
  })();
23
-
24
17
  function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
25
-
26
18
  var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
27
19
  return a;
28
20
  };
29
-
30
21
  var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
31
22
  return a;
32
23
  };
33
-
34
24
  var _default = (0, _withDeferredPopper.default)(_react.default.forwardRef(function (props, ref) {
35
25
  return /*#__PURE__*/_react.default.createElement(_Icon.default, _extends({
36
26
  ref: ref
37
27
  }, props));
38
28
  }));
39
-
40
29
  var _default2 = _default;
41
30
  var _default3 = _default2;
42
31
  exports.default = _default3;
43
32
  ;
44
-
45
33
  (function () {
46
34
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
47
-
48
35
  if (!reactHotLoader) {
49
36
  return;
50
37
  }
51
-
52
38
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/PopperedElements/PopperedIcon.js");
53
39
  })();
54
-
55
40
  ;
56
-
57
41
  (function () {
58
42
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
59
43
  leaveModule && leaveModule(module);
60
44
  })();
61
-
62
45
  ;
63
-
64
46
  (function () {
65
47
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
66
-
67
48
  if (!reactHotLoader) {
68
49
  return;
69
50
  }
70
-
71
51
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/PopperedElements/PopperedIcon.js");
72
52
  })();
73
-
74
53
  ;
75
-
76
54
  (function () {
77
55
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
78
56
  leaveModule && leaveModule(module);