orc-shared 1.2.2-dev.0 → 1.2.2

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 (303) hide show
  1. package/dist/actions/applications.js +12 -50
  2. package/dist/actions/authentication.js +8 -43
  3. package/dist/actions/countries.js +4 -34
  4. package/dist/actions/locale.js +12 -52
  5. package/dist/actions/makeApiAction.js +6 -52
  6. package/dist/actions/makeOrcApiAction.js +0 -25
  7. package/dist/actions/metadata.js +60 -171
  8. package/dist/actions/modules.js +0 -26
  9. package/dist/actions/navigation.js +0 -32
  10. package/dist/actions/requestState.js +0 -18
  11. package/dist/actions/requestsApi.js +0 -17
  12. package/dist/actions/scopes.js +12 -54
  13. package/dist/actions/timezones.js +4 -34
  14. package/dist/actions/toasts.js +3 -23
  15. package/dist/actions/versionInfo.js +4 -37
  16. package/dist/actions/view.js +0 -38
  17. package/dist/buildStore.js +0 -52
  18. package/dist/components/AppFrame/About.js +3 -67
  19. package/dist/components/AppFrame/Anchor.js +1 -25
  20. package/dist/components/AppFrame/AppFrame.js +21 -90
  21. package/dist/components/AppFrame/ApplicationSelector/ApplicationDialog.js +4 -35
  22. package/dist/components/AppFrame/ApplicationSelector/Header.js +2 -32
  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 +18 -71
  27. package/dist/components/AppFrame/Preferences.js +12 -76
  28. package/dist/components/AppFrame/Sidebar.js +9 -54
  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 +5 -44
  33. package/dist/components/Authenticate.js +5 -48
  34. package/dist/components/Button.js +0 -24
  35. package/dist/components/CategoryList.js +25 -80
  36. package/dist/components/Checkbox.js +4 -42
  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 +10 -48
  42. package/dist/components/ErrorPlaceholder.js +3 -31
  43. package/dist/components/Form/Combination.js +3 -28
  44. package/dist/components/Form/Field.js +7 -38
  45. package/dist/components/Form/FieldElements.js +10 -42
  46. package/dist/components/Form/FieldList.js +23 -89
  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 +16 -65
  51. package/dist/components/Form/Inputs/Button.js +6 -36
  52. package/dist/components/Form/Inputs/Date.js +3 -29
  53. package/dist/components/Form/Inputs/FieldButtons.js +0 -25
  54. package/dist/components/Form/Inputs/Number.js +8 -47
  55. package/dist/components/Form/Inputs/ReadOnly.js +0 -29
  56. package/dist/components/Form/Inputs/SmallButton.js +7 -39
  57. package/dist/components/Form/Inputs/Text.js +9 -42
  58. package/dist/components/Form/Inputs/Time.js +5 -34
  59. package/dist/components/Form/Inputs/Toggles.js +6 -40
  60. package/dist/components/Form/Inputs/Translation.js +17 -76
  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 +1 -29
  65. package/dist/components/Icon.js +1 -27
  66. package/dist/components/IconButton.js +2 -32
  67. package/dist/components/Input.js +3 -43
  68. package/dist/components/InternetExplorerWarningMessage.js +0 -31
  69. package/dist/components/List/DataCell.js +4 -43
  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 +35 -105
  73. package/dist/components/List/Row.js +7 -38
  74. package/dist/components/List/enhanceColumnDefs.js +0 -28
  75. package/dist/components/List/index.js +0 -20
  76. package/dist/components/Loader.js +3 -46
  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 +5 -49
  81. package/dist/components/MaterialUI/DataDisplay/Divider.js +0 -30
  82. package/dist/components/MaterialUI/DataDisplay/Icon.js +3 -29
  83. package/dist/components/MaterialUI/DataDisplay/List.js +16 -55
  84. package/dist/components/MaterialUI/DataDisplay/Modal.js +1 -36
  85. package/dist/components/MaterialUI/DataDisplay/Notification.js +12 -66
  86. package/dist/components/MaterialUI/DataDisplay/NotificationProps.js +1 -34
  87. package/dist/components/MaterialUI/DataDisplay/PopperedElements/PopperedIcon.js +1 -23
  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 +2 -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 +12 -58
  96. package/dist/components/MaterialUI/DataDisplay/PredefinedElements/TableInfoBar.js +0 -29
  97. package/dist/components/MaterialUI/DataDisplay/PredefinedElements/Translations.js +11 -57
  98. package/dist/components/MaterialUI/DataDisplay/SelectionList.js +21 -68
  99. package/dist/components/MaterialUI/DataDisplay/Table.js +33 -122
  100. package/dist/components/MaterialUI/DataDisplay/TableHeaderCell.js +0 -35
  101. package/dist/components/MaterialUI/DataDisplay/TableProps.js +1 -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 +6 -45
  105. package/dist/components/MaterialUI/DataDisplay/TooltippedElements/TooltippedIcon.js +4 -30
  106. package/dist/components/MaterialUI/DataDisplay/TooltippedElements/TooltippedTypography.js +1 -22
  107. package/dist/components/MaterialUI/DataDisplay/TransferList.js +28 -95
  108. package/dist/components/MaterialUI/DataDisplay/chipProps.js +1 -38
  109. package/dist/components/MaterialUI/DataDisplay/collapsableListProps.js +1 -37
  110. package/dist/components/MaterialUI/DataDisplay/dividerProps.js +1 -41
  111. package/dist/components/MaterialUI/DataDisplay/index.js +0 -33
  112. package/dist/components/MaterialUI/DataDisplay/modalProps.js +1 -36
  113. package/dist/components/MaterialUI/DataDisplay/tableHelpers.js +3 -66
  114. package/dist/components/MaterialUI/DataDisplay/useTableSelection.js +6 -45
  115. package/dist/components/MaterialUI/Feedback/NotificationContext.js +3 -38
  116. package/dist/components/MaterialUI/Feedback/loadingScreen.js +3 -42
  117. package/dist/components/MaterialUI/Feedback/useNotification.js +0 -21
  118. package/dist/components/MaterialUI/Inputs/Autocomplete.js +3 -44
  119. package/dist/components/MaterialUI/Inputs/AutocompleteProps.js +1 -37
  120. package/dist/components/MaterialUI/Inputs/Checkbox.js +0 -39
  121. package/dist/components/MaterialUI/Inputs/CheckboxGroup.js +0 -42
  122. package/dist/components/MaterialUI/Inputs/CheckboxGroupProps.js +1 -38
  123. package/dist/components/MaterialUI/Inputs/CheckboxProps.js +1 -39
  124. package/dist/components/MaterialUI/Inputs/DatePicker.js +14 -52
  125. package/dist/components/MaterialUI/Inputs/InputBase.js +5 -54
  126. package/dist/components/MaterialUI/Inputs/InputBaseProps.js +1 -49
  127. package/dist/components/MaterialUI/Inputs/PredefinedElements/SearchControl.js +10 -63
  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 +1 -41
  131. package/dist/components/MaterialUI/Inputs/Select.js +6 -70
  132. package/dist/components/MaterialUI/Inputs/SelectProps.js +1 -46
  133. package/dist/components/MaterialUI/Inputs/StandaloneRadio.js +0 -34
  134. package/dist/components/MaterialUI/Inputs/Switch.js +1 -37
  135. package/dist/components/MaterialUI/Inputs/SwitchProps.js +1 -40
  136. package/dist/components/MaterialUI/Inputs/TimePicker.js +12 -89
  137. package/dist/components/MaterialUI/Inputs/createInput.js +3 -30
  138. package/dist/components/MaterialUI/Inputs/index.js +0 -35
  139. package/dist/components/MaterialUI/Inputs/standaloneRadioProps.js +1 -41
  140. package/dist/components/MaterialUI/Navigation/DropDownMenu.js +10 -54
  141. package/dist/components/MaterialUI/Navigation/DropDownMenuProps.js +1 -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 +21 -102
  145. package/dist/components/MaterialUI/Navigation/TabLabel.js +5 -39
  146. package/dist/components/MaterialUI/ScopeSelector/ScopeSelector.js +7 -42
  147. package/dist/components/MaterialUI/ScopeSelector/ScopeTreeView.js +20 -60
  148. package/dist/components/MaterialUI/ScopeSelector/TreeItem.js +13 -67
  149. package/dist/components/MaterialUI/Surfaces/ExpansionPanel.js +13 -53
  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 +17 -60
  153. package/dist/components/MaterialUI/Surfaces/expansionPanelProps.js +1 -55
  154. package/dist/components/MaterialUI/Surfaces/paperProps.js +1 -36
  155. package/dist/components/MaterialUI/componentProps.js +0 -28
  156. package/dist/components/MaterialUI/hocs/withDeferredPopper.js +9 -58
  157. package/dist/components/MaterialUI/hocs/withDeferredTooltip.js +7 -43
  158. package/dist/components/MaterialUI/muiThemes.js +2 -56
  159. package/dist/components/MaterialUI/textProps.js +1 -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 +6 -42
  164. package/dist/components/Modules.js +18 -90
  165. package/dist/components/MultiSelector.js +20 -73
  166. package/dist/components/Navigation/Bar.js +24 -87
  167. package/dist/components/Navigation/Tab.js +20 -72
  168. package/dist/components/Navigation/index.js +2 -21
  169. package/dist/components/Navigation/useNavigationState.js +85 -172
  170. package/dist/components/Placeholder.js +6 -44
  171. package/dist/components/Provision.js +4 -36
  172. package/dist/components/Routing/FullPage.js +14 -37
  173. package/dist/components/Routing/Page.js +13 -50
  174. package/dist/components/Routing/Segment.js +5 -30
  175. package/dist/components/Routing/SegmentPage.js +25 -105
  176. package/dist/components/Routing/SubPage.js +7 -55
  177. package/dist/components/Routing/withWaypointing.js +3 -36
  178. package/dist/components/Scope/ScopeModificationConfirmationDialog.js +3 -30
  179. package/dist/components/Scope/ScopeNode.js +6 -47
  180. package/dist/components/Scope/Selector.js +8 -44
  181. package/dist/components/Scope/index.js +24 -93
  182. package/dist/components/Scope/useScopeConfirmationModalState.js +11 -74
  183. package/dist/components/Scope/useScopeData.js +0 -25
  184. package/dist/components/Scope/useScopeSelect.js +0 -26
  185. package/dist/components/Selector.js +14 -75
  186. package/dist/components/Sidepanel.js +0 -28
  187. package/dist/components/Spritesheet.js +0 -26
  188. package/dist/components/Switch.js +12 -52
  189. package/dist/components/Text.js +4 -48
  190. package/dist/components/ToastList.js +5 -45
  191. package/dist/components/Toolbar.js +17 -75
  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 +15 -55
  197. package/dist/components/Treeview/index.js +20 -63
  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 +0 -21
  202. package/dist/hocs/routingConnector.js +0 -21
  203. package/dist/hocs/withAuthentication.js +4 -26
  204. package/dist/hocs/withClickOutside.js +3 -29
  205. package/dist/hocs/withErrorBoundary.js +4 -39
  206. package/dist/hocs/withId.js +2 -31
  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 +3 -30
  211. package/dist/hocs/withRequestActivity.js +0 -21
  212. package/dist/hocs/withScopeData.js +4 -31
  213. package/dist/hocs/withScrollBox.js +3 -32
  214. package/dist/hocs/withToggle.js +4 -34
  215. package/dist/hocs/withUpdateHandler.js +0 -22
  216. package/dist/hocs/withViewState.js +3 -30
  217. package/dist/hooks/useDispatchWithModulesData.js +0 -26
  218. package/dist/hooks/useEditState.js +3 -102
  219. package/dist/hooks/useEntityLoader.js +13 -64
  220. package/dist/hooks/useFullEntityEditState.js +4 -53
  221. package/dist/hooks/useInfiniteScroll.js +3 -31
  222. package/dist/hooks/useLabelMessage.js +0 -41
  223. package/dist/hooks/useLoader.js +0 -27
  224. package/dist/hooks/useMultipleFieldEditState.js +0 -39
  225. package/dist/hooks/useNavigationHandler.js +3 -28
  226. package/dist/hooks/useNotificationRequestState.js +14 -46
  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 +3 -33
  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 +4 -35
  235. package/dist/reducers/countries.js +0 -25
  236. package/dist/reducers/localeFactory.js +0 -30
  237. package/dist/reducers/metadata.js +2 -62
  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 +1 -44
  259. package/dist/selectors/modules.js +0 -21
  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 +5 -36
  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 +2 -35
  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 +0 -41
  285. package/dist/utils/normalizeForSearch.js +2 -19
  286. package/dist/utils/objectHelper.js +0 -22
  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 +0 -27
  294. package/dist/utils/setTranslationWithFallback.js +0 -32
  295. package/dist/utils/stripKey.js +1 -23
  296. package/dist/utils/styledPropFuncs.js +3 -29
  297. package/dist/utils/testUtils.js +19 -86
  298. package/dist/utils/timezoneHelper.js +0 -31
  299. package/dist/utils/unwrapImmutable.js +0 -19
  300. package/dist/utils/urlHelper.js +2 -27
  301. package/dist/whyDidYouRerender.js +0 -5
  302. package/package.json +1 -1
  303. package/src/utils/testUtils.js +10 -1
@@ -2,59 +2,37 @@
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 _Accordion = _interopRequireDefault(require("@material-ui/core/Accordion"));
9
-
10
7
  var _AccordionSummary = _interopRequireDefault(require("@material-ui/core/AccordionSummary"));
11
-
12
8
  var _AccordionDetails = _interopRequireDefault(require("@material-ui/core/AccordionDetails"));
13
-
14
9
  var _AccordionActions = _interopRequireDefault(require("@material-ui/core/AccordionActions"));
15
-
16
10
  var _styles = require("@material-ui/core/styles");
17
-
18
11
  var _classnames = _interopRequireDefault(require("classnames"));
19
-
20
12
  var _Icon = _interopRequireDefault(require("./../DataDisplay/Icon"));
21
-
22
13
  var _expansionPanelProps = require("./expansionPanelProps");
23
-
24
14
  var _useViewState3 = _interopRequireDefault(require("../../../hooks/useViewState"));
25
-
26
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
-
28
16
  (function () {
29
17
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
30
18
  enterModule && enterModule(module);
31
19
  })();
32
-
33
20
  (function () {
34
21
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
35
22
  enterModule && enterModule(module);
36
23
  })();
37
-
38
24
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
39
-
40
25
  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."); }
41
-
42
26
  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); }
43
-
44
27
  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; }
45
-
46
28
  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; }
47
-
48
29
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
49
-
50
30
  var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
51
31
  return a;
52
32
  };
53
-
54
33
  var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
55
34
  return a;
56
35
  };
57
-
58
36
  var useStyles = (0, _styles.makeStyles)(function (theme) {
59
37
  return {
60
38
  summaryRoot: {
@@ -103,47 +81,39 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
103
81
  }
104
82
  };
105
83
  });
106
-
107
84
  var SectionExpansionPanel = function SectionExpansionPanel(_ref) {
108
85
  var _panelState$isExpande;
109
-
110
86
  var header = _ref.header,
111
- content = _ref.content,
112
- actions = _ref.actions,
113
- expansionPanelId = _ref.expansionPanelId,
114
- expansionPanelProps = _ref.expansionPanelProps,
115
- expansionPanelActionsProps = _ref.expansionPanelActionsProps;
116
-
87
+ content = _ref.content,
88
+ actions = _ref.actions,
89
+ expansionPanelId = _ref.expansionPanelId,
90
+ expansionPanelProps = _ref.expansionPanelProps,
91
+ expansionPanelActionsProps = _ref.expansionPanelActionsProps;
117
92
  if ((0, _expansionPanelProps.isExpansionPanelProps)(expansionPanelProps) === false) {
118
93
  throw new TypeError("expansionPanelProps property is not of type ExpansionPanelProps");
119
94
  }
120
-
121
95
  if ((0, _expansionPanelProps.isExpansionPanelActionsProps)(expansionPanelActionsProps) === false) {
122
96
  throw new TypeError("expansionPanelActionsProps property is not of type ExpansionPanelActionsProps");
123
97
  }
98
+ var classes = useStyles();
124
99
 
125
- var classes = useStyles(); // Expansion panel props
126
-
100
+ // Expansion panel props
127
101
  var disabled = expansionPanelProps == null ? void 0 : expansionPanelProps.get(_expansionPanelProps.ExpansionPanelProps.propNames.disabled);
128
-
129
102
  var _useViewState = (0, _useViewState3.default)(expansionPanelId),
130
- _useViewState2 = _slicedToArray(_useViewState, 2),
131
- panelState = _useViewState2[0],
132
- updateViewState = _useViewState2[1];
133
-
103
+ _useViewState2 = _slicedToArray(_useViewState, 2),
104
+ panelState = _useViewState2[0],
105
+ updateViewState = _useViewState2[1];
134
106
  var defaultExpanded = (_panelState$isExpande = panelState["isExpanded"]) != null ? _panelState$isExpande : true;
135
-
136
107
  var _React$useState = _react.default.useState(defaultExpanded),
137
- _React$useState2 = _slicedToArray(_React$useState, 2),
138
- expanded = _React$useState2[0],
139
- setExpanded = _React$useState2[1];
140
-
108
+ _React$useState2 = _slicedToArray(_React$useState, 2),
109
+ expanded = _React$useState2[0],
110
+ setExpanded = _React$useState2[1];
141
111
  var internalOnChange = function internalOnChange(evt, isExpanded) {
142
112
  setExpanded(isExpanded);
143
113
  updateViewState("isExpanded", isExpanded);
144
- }; // Expansion panel summary props
145
-
114
+ };
146
115
 
116
+ // Expansion panel summary props
147
117
  var defaultSummaryStyles = {
148
118
  edge: false,
149
119
  size: "small",
@@ -151,8 +121,9 @@ var SectionExpansionPanel = function SectionExpansionPanel(_ref) {
151
121
  root: classes.summaryExpandIconRoot,
152
122
  sizeSmall: classes.resetPadding
153
123
  }
154
- }; // Expansion panel actions props
124
+ };
155
125
 
126
+ // Expansion panel actions props
156
127
  var disableSpacing = expansionPanelActionsProps == null ? void 0 : expansionPanelActionsProps.get(_expansionPanelProps.ExpansionPanelActionsProps.propNames.disableSpacing);
157
128
  var constrained = (expansionPanelProps == null ? void 0 : expansionPanelProps.get(_expansionPanelProps.ExpansionPanelProps.propNames.constrained)) || false;
158
129
  return /*#__PURE__*/_react.default.createElement(_Accordion.default, {
@@ -183,56 +154,42 @@ var SectionExpansionPanel = function SectionExpansionPanel(_ref) {
183
154
  disableSpacing: disableSpacing == null ? false : disableSpacing
184
155
  }, actions) : null);
185
156
  };
186
-
187
157
  __signature__(SectionExpansionPanel, "useStyles{classes}\nuseViewState{[panelState, updateViewState]}\nuseState{[expanded, setExpanded](defaultExpanded)}", function () {
188
158
  return [useStyles, _useViewState3.default];
189
159
  });
190
-
191
160
  __signature__(SectionExpansionPanel, "useStyles{classes}\nuseViewState{[panelState, updateViewState]}\nuseState{[expanded, setExpanded](defaultExpanded)}", function () {
192
161
  return [useStyles, _useViewState3.default];
193
162
  });
194
-
195
163
  var _default = SectionExpansionPanel;
196
164
  var _default2 = _default;
197
165
  var _default3 = _default2;
198
166
  exports.default = _default3;
199
167
  ;
200
-
201
168
  (function () {
202
169
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
203
-
204
170
  if (!reactHotLoader) {
205
171
  return;
206
172
  }
207
-
208
173
  reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/SectionExpansionPanel.js");
209
174
  reactHotLoader.register(SectionExpansionPanel, "SectionExpansionPanel", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/SectionExpansionPanel.js");
210
175
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/SectionExpansionPanel.js");
211
176
  })();
212
-
213
177
  ;
214
-
215
178
  (function () {
216
179
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
217
180
  leaveModule && leaveModule(module);
218
181
  })();
219
-
220
182
  ;
221
-
222
183
  (function () {
223
184
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
224
-
225
185
  if (!reactHotLoader) {
226
186
  return;
227
187
  }
228
-
229
188
  reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/SectionExpansionPanel.js");
230
189
  reactHotLoader.register(SectionExpansionPanel, "SectionExpansionPanel", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/SectionExpansionPanel.js");
231
190
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/SectionExpansionPanel.js");
232
191
  })();
233
-
234
192
  ;
235
-
236
193
  (function () {
237
194
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
238
195
  leaveModule && leaveModule(module);
@@ -2,80 +2,52 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.isExpansionPanelProps = exports.isExpansionPanelActionsProps = exports.ExpansionPanelProps = exports.ExpansionPanelActionsProps = 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
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
-
16
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
24
17
  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
-
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 ExpansionPanelProps = /*#__PURE__*/function (_ComponentProps) {
35
25
  _inheritsLoose(ExpansionPanelProps, _ComponentProps);
36
-
37
26
  function ExpansionPanelProps() {
38
27
  var _this;
39
-
40
28
  _this = _ComponentProps.call(this) || this;
41
-
42
29
  _this.componentProps.set(_this.constructor.propNames.defaultExpanded, null);
43
-
44
30
  _this.componentProps.set(_this.constructor.propNames.disabled, null);
45
-
46
31
  _this.componentProps.set(_this.constructor.propNames.expanded, null);
47
-
48
32
  _this.componentProps.set(_this.constructor.propNames.onChange, null);
49
-
50
33
  _this.componentProps.set(_this.constructor.propNames.constrained, false);
51
-
52
34
  _this.componentClasses.set(_this.constructor.ruleNames.root, null);
53
-
54
35
  _this.componentClasses.set(_this.constructor.ruleNames.summaryRoot, null);
55
-
56
36
  _this.componentClasses.set(_this.constructor.ruleNames.summaryExpanded, null);
57
-
58
37
  _this.componentClasses.set(_this.constructor.ruleNames.details, null);
59
-
60
38
  _this.componentClasses.set(_this.constructor.ruleNames.actions, null);
61
-
62
39
  _this._isExpansionPanelProps = true;
63
40
  return _this;
64
41
  }
65
-
66
42
  var _proto = ExpansionPanelProps.prototype;
67
-
68
43
  // @ts-ignore
69
44
  _proto.__reactstandin__regenerateByEval = function __reactstandin__regenerateByEval(key, code) {
70
45
  // @ts-ignore
71
46
  this[key] = eval(code);
72
47
  };
73
-
74
48
  return ExpansionPanelProps;
75
49
  }(_componentProps.default);
76
-
77
50
  exports.ExpansionPanelProps = ExpansionPanelProps;
78
-
79
51
  _defineProperty(ExpansionPanelProps, "propNames", {
80
52
  defaultExpanded: "defaultExpanded",
81
53
  disabled: "disabled",
@@ -83,7 +55,6 @@ _defineProperty(ExpansionPanelProps, "propNames", {
83
55
  onChange: "onChange",
84
56
  constrained: "constrained"
85
57
  });
86
-
87
58
  _defineProperty(ExpansionPanelProps, "ruleNames", {
88
59
  root: "root",
89
60
  summaryRoot: "summaryRoot",
@@ -91,90 +62,65 @@ _defineProperty(ExpansionPanelProps, "ruleNames", {
91
62
  details: "details",
92
63
  actions: "actions"
93
64
  });
94
-
95
65
  var isExpansionPanelProps = function isExpansionPanelProps(value) {
96
66
  if (value == null) return true;
97
67
  return typeof value === "object" && (value instanceof ExpansionPanelProps || value._isExpansionPanelProps === true);
98
68
  };
99
-
100
69
  exports.isExpansionPanelProps = isExpansionPanelProps;
101
-
102
70
  var ExpansionPanelActionsProps = /*#__PURE__*/function (_ComponentProps2) {
103
71
  _inheritsLoose(ExpansionPanelActionsProps, _ComponentProps2);
104
-
105
72
  function ExpansionPanelActionsProps() {
106
73
  var _this2;
107
-
108
74
  _this2 = _ComponentProps2.call(this) || this;
109
-
110
75
  _this2.componentProps.set(_this2.constructor.propNames.disableSpacing, null);
111
-
112
76
  _this2._isExpansionPanelActionsProps = true;
113
77
  return _this2;
114
78
  }
115
-
116
79
  var _proto2 = ExpansionPanelActionsProps.prototype;
117
-
118
80
  // @ts-ignore
119
81
  _proto2.__reactstandin__regenerateByEval = function __reactstandin__regenerateByEval(key, code) {
120
82
  // @ts-ignore
121
83
  this[key] = eval(code);
122
84
  };
123
-
124
85
  return ExpansionPanelActionsProps;
125
86
  }(_componentProps.default);
126
-
127
87
  exports.ExpansionPanelActionsProps = ExpansionPanelActionsProps;
128
-
129
88
  _defineProperty(ExpansionPanelActionsProps, "propNames", {
130
89
  disableSpacing: "disableSpacing"
131
90
  });
132
-
133
91
  var isExpansionPanelActionsProps = function isExpansionPanelActionsProps(value) {
134
92
  if (value == null) return true;
135
93
  return typeof value === "object" && (value instanceof ExpansionPanelProps || value._isExpansionPanelActionsProps === true);
136
94
  };
137
-
138
95
  exports.isExpansionPanelActionsProps = isExpansionPanelActionsProps;
139
96
  ;
140
-
141
97
  (function () {
142
98
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
143
-
144
99
  if (!reactHotLoader) {
145
100
  return;
146
101
  }
147
-
148
102
  reactHotLoader.register(ExpansionPanelProps, "ExpansionPanelProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/expansionPanelProps.js");
149
103
  reactHotLoader.register(isExpansionPanelProps, "isExpansionPanelProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/expansionPanelProps.js");
150
104
  reactHotLoader.register(ExpansionPanelActionsProps, "ExpansionPanelActionsProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/expansionPanelProps.js");
151
105
  reactHotLoader.register(isExpansionPanelActionsProps, "isExpansionPanelActionsProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/expansionPanelProps.js");
152
106
  })();
153
-
154
107
  ;
155
-
156
108
  (function () {
157
109
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
158
110
  leaveModule && leaveModule(module);
159
111
  })();
160
-
161
112
  ;
162
-
163
113
  (function () {
164
114
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
165
-
166
115
  if (!reactHotLoader) {
167
116
  return;
168
117
  }
169
-
170
118
  reactHotLoader.register(ExpansionPanelProps, "ExpansionPanelProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/expansionPanelProps.js");
171
119
  reactHotLoader.register(isExpansionPanelProps, "isExpansionPanelProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/expansionPanelProps.js");
172
120
  reactHotLoader.register(ExpansionPanelActionsProps, "ExpansionPanelActionsProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/expansionPanelProps.js");
173
121
  reactHotLoader.register(isExpansionPanelActionsProps, "isExpansionPanelActionsProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/expansionPanelProps.js");
174
122
  })();
175
-
176
123
  ;
177
-
178
124
  (function () {
179
125
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
180
126
  leaveModule && leaveModule(module);
@@ -2,123 +2,88 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.isPaperProps = 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
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
-
16
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
24
17
  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
-
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 PaperProps = /*#__PURE__*/function (_ComponentProps) {
35
25
  _inheritsLoose(PaperProps, _ComponentProps);
36
-
37
26
  function PaperProps() {
38
27
  var _this;
39
-
40
28
  _this = _ComponentProps.call(this) || this;
41
-
42
29
  _this.componentProps.set(_this.constructor.propNames.elevation, null);
43
-
44
30
  _this.componentProps.set(_this.constructor.propNames.square, null);
45
-
46
31
  _this.componentProps.set(_this.constructor.propNames.variant, null);
47
-
48
32
  _this.componentClasses.set(_this.constructor.ruleNames.root, null);
49
-
50
33
  _this._isPaperProps = true;
51
34
  return _this;
52
35
  }
53
-
54
36
  var _proto = PaperProps.prototype;
55
-
56
37
  // @ts-ignore
57
38
  _proto.__reactstandin__regenerateByEval = function __reactstandin__regenerateByEval(key, code) {
58
39
  // @ts-ignore
59
40
  this[key] = eval(code);
60
41
  };
61
-
62
42
  return PaperProps;
63
43
  }(_componentProps.default);
64
-
65
44
  _defineProperty(PaperProps, "propNames", {
66
45
  elevation: "elevation",
67
46
  square: "square",
68
47
  variant: "variant"
69
48
  });
70
-
71
49
  _defineProperty(PaperProps, "ruleNames", {
72
50
  root: "root"
73
51
  });
74
-
75
52
  var isPaperProps = function isPaperProps(value) {
76
53
  if (value == null) return true;
77
54
  return typeof value === "object" && (value instanceof PaperProps || value._isPaperProps === true);
78
55
  };
79
-
80
56
  exports.isPaperProps = isPaperProps;
81
57
  var _default = PaperProps;
82
58
  var _default2 = _default;
83
59
  var _default3 = _default2;
84
60
  exports.default = _default3;
85
61
  ;
86
-
87
62
  (function () {
88
63
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
89
-
90
64
  if (!reactHotLoader) {
91
65
  return;
92
66
  }
93
-
94
67
  reactHotLoader.register(PaperProps, "PaperProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/paperProps.js");
95
68
  reactHotLoader.register(isPaperProps, "isPaperProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/paperProps.js");
96
69
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/paperProps.js");
97
70
  })();
98
-
99
71
  ;
100
-
101
72
  (function () {
102
73
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
103
74
  leaveModule && leaveModule(module);
104
75
  })();
105
-
106
76
  ;
107
-
108
77
  (function () {
109
78
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
110
-
111
79
  if (!reactHotLoader) {
112
80
  return;
113
81
  }
114
-
115
82
  reactHotLoader.register(PaperProps, "PaperProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/paperProps.js");
116
83
  reactHotLoader.register(isPaperProps, "isPaperProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/paperProps.js");
117
84
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/paperProps.js");
118
85
  })();
119
-
120
86
  ;
121
-
122
87
  (function () {
123
88
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
124
89
  leaveModule && leaveModule(module);
@@ -2,103 +2,75 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.default = void 0;
5
-
6
5
  (function () {
7
6
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
8
7
  enterModule && enterModule(module);
9
8
  })();
10
-
11
9
  (function () {
12
10
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
13
11
  enterModule && enterModule(module);
14
12
  })();
15
-
16
13
  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; }
17
-
18
14
  var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
19
15
  return a;
20
16
  };
21
-
22
17
  var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
23
18
  return a;
24
19
  };
25
-
26
20
  var ComponentProps = /*#__PURE__*/function () {
27
21
  function ComponentProps() {
28
22
  _defineProperty(this, "componentProps", new Map());
29
-
30
23
  _defineProperty(this, "componentClasses", new Map());
31
24
  }
32
-
33
25
  var _proto = ComponentProps.prototype;
34
-
35
26
  _proto.set = function set(key, value) {
36
27
  if (this.componentProps.has(key) === false) {
37
28
  throw new Error("Incorrect key was passed");
38
29
  }
39
-
40
30
  this.componentProps.set(key, value);
41
31
  };
42
-
43
32
  _proto.get = function get(key) {
44
33
  return this.componentProps.get(key);
45
34
  };
46
-
47
35
  _proto.setStyle = function setStyle(key, value) {
48
36
  if (this.componentClasses.has(key) === false) {
49
37
  throw new Error("Incorrect key was passed");
50
38
  }
51
-
52
39
  this.componentClasses.set(key, value);
53
40
  };
54
-
55
41
  _proto.getStyle = function getStyle(key) {
56
42
  return this.componentClasses.get(key);
57
43
  };
58
-
59
44
  // @ts-ignore
60
45
  _proto.__reactstandin__regenerateByEval = function __reactstandin__regenerateByEval(key, code) {
61
46
  // @ts-ignore
62
47
  this[key] = eval(code);
63
48
  };
64
-
65
49
  return ComponentProps;
66
50
  }();
67
-
68
51
  exports.default = ComponentProps;
69
52
  ;
70
-
71
53
  (function () {
72
54
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
73
-
74
55
  if (!reactHotLoader) {
75
56
  return;
76
57
  }
77
-
78
58
  reactHotLoader.register(ComponentProps, "ComponentProps", "/home/vsts/work/1/s/src/components/MaterialUI/componentProps.js");
79
59
  })();
80
-
81
60
  ;
82
-
83
61
  (function () {
84
62
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
85
63
  leaveModule && leaveModule(module);
86
64
  })();
87
-
88
65
  ;
89
-
90
66
  (function () {
91
67
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
92
-
93
68
  if (!reactHotLoader) {
94
69
  return;
95
70
  }
96
-
97
71
  reactHotLoader.register(ComponentProps, "ComponentProps", "/home/vsts/work/1/s/src/components/MaterialUI/componentProps.js");
98
72
  })();
99
-
100
73
  ;
101
-
102
74
  (function () {
103
75
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
104
76
  leaveModule && leaveModule(module);