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,35 +2,27 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.default = void 0;
5
-
6
5
  var _styles = require("@material-ui/core/styles");
7
-
8
6
  var _colorManipulator = require("@material-ui/core/styles/colorManipulator");
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 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; }
21
-
22
16
  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; }
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 drawerWidth = 240;
35
27
  var commonTheme = {
36
28
  spacing: function spacing(factor) {
@@ -130,7 +122,6 @@ var commonPalette = {
130
122
  disabledBackground: "#EFEFEF"
131
123
  }
132
124
  };
133
-
134
125
  var setThemeProps = function setThemeProps(theme) {
135
126
  return _objectSpread(_objectSpread({}, theme.props), {}, {
136
127
  MuiButtonBase: {
@@ -144,10 +135,8 @@ var setThemeProps = function setThemeProps(theme) {
144
135
  }
145
136
  });
146
137
  };
147
-
148
138
  var setThemeOverrides = function setThemeOverrides(theme) {
149
139
  var _objectSpread2;
150
-
151
140
  return _objectSpread(_objectSpread({}, theme.overrides), {}, {
152
141
  MuiButtonBase: _objectSpread(_objectSpread({}, theme.MuiButtonBase), {}, {
153
142
  root: _objectSpread(_objectSpread({}, theme.root), {}, {
@@ -202,7 +191,6 @@ var setThemeOverrides = function setThemeOverrides(theme) {
202
191
  color: theme.palette.text.primary
203
192
  }
204
193
  },
205
-
206
194
  /* Styles applied to the span element that wraps the children. */
207
195
  label: _objectSpread(_objectSpread({}, theme.label), {}, {
208
196
  width: "100%",
@@ -217,12 +205,10 @@ var setThemeOverrides = function setThemeOverrides(theme) {
217
205
  fontSize: theme.spacing(2.1)
218
206
  }
219
207
  }),
220
-
221
208
  /* Styles applied to the root element if `variant="text"`. */
222
209
  text: _objectSpread(_objectSpread({}, theme.text), {}, {
223
210
  padding: theme.spacing(1)
224
211
  }),
225
-
226
212
  /* Styles applied to the root element if `variant="text"` and `color="primary"`. */
227
213
  textPrimary: {
228
214
  color: theme.palette.primary.main,
@@ -234,7 +220,6 @@ var setThemeOverrides = function setThemeOverrides(theme) {
234
220
  }
235
221
  }
236
222
  },
237
-
238
223
  /* Styles applied to the root element if `variant="text"` and `color="secondary"`. */
239
224
  textSecondary: {
240
225
  color: theme.palette.secondary.main,
@@ -246,7 +231,6 @@ var setThemeOverrides = function setThemeOverrides(theme) {
246
231
  }
247
232
  }
248
233
  },
249
-
250
234
  /* Styles applied to the root element if `variant="outlined"`. */
251
235
  outlined: {
252
236
  padding: theme.spacing(0.5, 1),
@@ -259,7 +243,6 @@ var setThemeOverrides = function setThemeOverrides(theme) {
259
243
  fill: "currentColor"
260
244
  }
261
245
  },
262
-
263
246
  /* Styles applied to the root element if `variant="outlined"` and `color="primary"`. */
264
247
  outlinedPrimary: {
265
248
  color: theme.palette.primary.main,
@@ -274,7 +257,6 @@ var setThemeOverrides = function setThemeOverrides(theme) {
274
257
  }
275
258
  }
276
259
  },
277
-
278
260
  /* Styles applied to the root element if `variant="outlined"` and `color="secondary"`. */
279
261
  outlinedSecondary: {
280
262
  color: theme.palette.secondary.main,
@@ -292,7 +274,6 @@ var setThemeOverrides = function setThemeOverrides(theme) {
292
274
  border: "1px solid ".concat(theme.palette.secondary.main)
293
275
  }
294
276
  },
295
-
296
277
  /* Styles applied to the root element if `variant="contained"`. */
297
278
  contained: {
298
279
  color: theme.palette.grey.dark,
@@ -307,7 +288,8 @@ var setThemeOverrides = function setThemeOverrides(theme) {
307
288
  boxShadow: theme.shadows[2],
308
289
  backgroundColor: theme.palette.grey.light
309
290
  },
310
- "&$disabled": {//backgroundColor: theme.palette.action.disabledBackground,
291
+ "&$disabled": {
292
+ //backgroundColor: theme.palette.action.disabledBackground,
311
293
  }
312
294
  },
313
295
  "&$focusVisible": {},
@@ -318,7 +300,6 @@ var setThemeOverrides = function setThemeOverrides(theme) {
318
300
  backgroundColor: theme.palette.action.disabledBackground
319
301
  }
320
302
  },
321
-
322
303
  /* Styles applied to the root element if `variant="contained"` and `color="primary"`. */
323
304
  containedPrimary: {
324
305
  color: theme.palette.primary.contrastText,
@@ -336,7 +317,6 @@ var setThemeOverrides = function setThemeOverrides(theme) {
336
317
  color: theme.palette.primary.contrastText
337
318
  }
338
319
  },
339
-
340
320
  /* Styles applied to the root element if `variant="contained"` and `color="secondary"`. */
341
321
  containedSecondary: {
342
322
  color: theme.palette.secondary.contrastText,
@@ -349,7 +329,6 @@ var setThemeOverrides = function setThemeOverrides(theme) {
349
329
  }
350
330
  }
351
331
  },
352
-
353
332
  /* Styles applied to the root element if `disableElevation={true}`. */
354
333
  disableElevation: {
355
334
  boxShadow: "none",
@@ -366,66 +345,53 @@ var setThemeOverrides = function setThemeOverrides(theme) {
366
345
  boxShadow: "none"
367
346
  }
368
347
  },
369
-
370
348
  /* Pseudo-class applied to the ButtonBase root element if the button is keyboard focused. */
371
349
  focusVisible: {},
372
-
373
350
  /* Pseudo-class applied to the root element if `disabled={true}`. */
374
351
  disabled: {},
375
-
376
352
  /* Styles applied to the root element if `color="inherit"`. */
377
353
  colorInherit: {
378
354
  color: "inherit",
379
355
  borderColor: "currentColor"
380
356
  },
381
-
382
357
  /* Styles applied to the root element if `size="small"` and `variant="text"`. */
383
358
  textSizeSmall: {
384
359
  padding: theme.spacing(0.4, 0.5),
385
360
  fontSize: theme.typography.pxToRem(13)
386
361
  },
387
-
388
362
  /* Styles applied to the root element if `size="large"` and `variant="text"`. */
389
363
  textSizeLarge: {
390
364
  padding: theme.spacing(0.8, 1.1),
391
365
  fontSize: theme.typography.pxToRem(15)
392
366
  },
393
-
394
367
  /* Styles applied to the root element if `size="small"` and `variant="outlined"`. */
395
368
  outlinedSizeSmall: {
396
369
  padding: theme.spacing(0.3, 0.9),
397
370
  fontSize: theme.typography.pxToRem(13)
398
371
  },
399
-
400
372
  /* Styles applied to the root element if `size="large"` and `variant="outlined"`. */
401
373
  outlinedSizeLarge: {
402
374
  padding: theme.spacing(0.7, 2.1),
403
375
  fontSize: theme.typography.pxToRem(15)
404
376
  },
405
-
406
377
  /* Styles applied to the root element if `size="small"` and `variant="contained"`. */
407
378
  containedSizeSmall: {
408
379
  padding: theme.spacing(0.4, 1),
409
380
  fontSize: theme.typography.pxToRem(13)
410
381
  },
411
-
412
382
  /* Styles applied to the root element if `size="large"` and `variant="contained"`. */
413
383
  containedSizeLarge: {
414
384
  padding: theme.spacing(0.8, 2.2),
415
385
  fontSize: theme.typography.pxToRem(15)
416
386
  },
417
-
418
387
  /* Styles applied to the root element if `size="small"`. */
419
388
  sizeSmall: {},
420
-
421
389
  /* Styles applied to the root element if `size="large"`. */
422
390
  sizeLarge: {},
423
-
424
391
  /* Styles applied to the root element if `fullWidth={true}`. */
425
392
  fullWidth: {
426
393
  width: "100%"
427
394
  },
428
-
429
395
  /* Styles applied to the startIcon element if supplied. */
430
396
  startIcon: {
431
397
  display: "inherit",
@@ -435,7 +401,6 @@ var setThemeOverrides = function setThemeOverrides(theme) {
435
401
  marginLeft: -2
436
402
  }
437
403
  },
438
-
439
404
  /* Styles applied to the endIcon element if supplied. */
440
405
  endIcon: {
441
406
  display: "inherit",
@@ -445,21 +410,18 @@ var setThemeOverrides = function setThemeOverrides(theme) {
445
410
  marginRight: -2
446
411
  }
447
412
  },
448
-
449
413
  /* Styles applied to the icon element if supplied and `size="small"`. */
450
414
  iconSizeSmall: {
451
415
  "& > *:first-child": {
452
416
  fontSize: 18
453
417
  }
454
418
  },
455
-
456
419
  /* Styles applied to the icon element if supplied and `size="medium"`. */
457
420
  iconSizeMedium: {
458
421
  "& > *:first-child": {
459
422
  fontSize: 20
460
423
  }
461
424
  },
462
-
463
425
  /* Styles applied to the icon element if supplied and `size="large"`. */
464
426
  iconSizeLarge: {
465
427
  "& > *:first-child": {
@@ -567,7 +529,6 @@ var setThemeOverrides = function setThemeOverrides(theme) {
567
529
  duration: theme.transitions.duration.enteringScreen
568
530
  })
569
531
  },
570
-
571
532
  /* To update with actual classnames if we change the side nav to use the MuiDrawer */
572
533
  "&[class*='drawerOpen'] .MuiListItemText-root": {
573
534
  opacity: 1,
@@ -1065,7 +1026,6 @@ var setThemeOverrides = function setThemeOverrides(theme) {
1065
1026
  }
1066
1027
  });
1067
1028
  };
1068
-
1069
1029
  var createThemes = function createThemes(applicationTheme, themeDefinition) {
1070
1030
  var applicationMuiTheme = (0, _styles.createTheme)(applicationTheme);
1071
1031
  var muiTheme = (0, _styles.createTheme)(_objectSpread(_objectSpread(_objectSpread({}, commonTheme), themeDefinition), {}, {
@@ -1113,20 +1073,16 @@ var createThemes = function createThemes(applicationTheme, themeDefinition) {
1113
1073
  muiTheme: muiTheme
1114
1074
  };
1115
1075
  };
1116
-
1117
1076
  var _default = createThemes;
1118
1077
  var _default2 = _default;
1119
1078
  var _default3 = _default2;
1120
1079
  exports.default = _default3;
1121
1080
  ;
1122
-
1123
1081
  (function () {
1124
1082
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
1125
-
1126
1083
  if (!reactHotLoader) {
1127
1084
  return;
1128
1085
  }
1129
-
1130
1086
  reactHotLoader.register(drawerWidth, "drawerWidth", "/home/vsts/work/1/s/src/components/MaterialUI/muiThemes.js");
1131
1087
  reactHotLoader.register(commonTheme, "commonTheme", "/home/vsts/work/1/s/src/components/MaterialUI/muiThemes.js");
1132
1088
  reactHotLoader.register(commonPalette, "commonPalette", "/home/vsts/work/1/s/src/components/MaterialUI/muiThemes.js");
@@ -1135,23 +1091,17 @@ exports.default = _default3;
1135
1091
  reactHotLoader.register(createThemes, "createThemes", "/home/vsts/work/1/s/src/components/MaterialUI/muiThemes.js");
1136
1092
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/muiThemes.js");
1137
1093
  })();
1138
-
1139
1094
  ;
1140
-
1141
1095
  (function () {
1142
1096
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
1143
1097
  leaveModule && leaveModule(module);
1144
1098
  })();
1145
-
1146
1099
  ;
1147
-
1148
1100
  (function () {
1149
1101
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
1150
-
1151
1102
  if (!reactHotLoader) {
1152
1103
  return;
1153
1104
  }
1154
-
1155
1105
  reactHotLoader.register(drawerWidth, "drawerWidth", "/home/vsts/work/1/s/src/components/MaterialUI/muiThemes.js");
1156
1106
  reactHotLoader.register(commonTheme, "commonTheme", "/home/vsts/work/1/s/src/components/MaterialUI/muiThemes.js");
1157
1107
  reactHotLoader.register(commonPalette, "commonPalette", "/home/vsts/work/1/s/src/components/MaterialUI/muiThemes.js");
@@ -1160,9 +1110,7 @@ exports.default = _default3;
1160
1110
  reactHotLoader.register(createThemes, "createThemes", "/home/vsts/work/1/s/src/components/MaterialUI/muiThemes.js");
1161
1111
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/muiThemes.js");
1162
1112
  })();
1163
-
1164
1113
  ;
1165
-
1166
1114
  (function () {
1167
1115
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
1168
1116
  leaveModule && leaveModule(module);
@@ -2,114 +2,84 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.isTextProps = 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 TextProps = /*#__PURE__*/function (_ComponentProps) {
35
27
  _inheritsLoose(TextProps, _ComponentProps);
36
-
37
28
  function TextProps() {
38
29
  var _this;
39
-
40
30
  _this = _ComponentProps.call(this) || this;
41
-
42
31
  _this.componentProps.set(_this.constructor.propNames.classes, null);
43
-
44
32
  _this.componentProps.set(_this.constructor.propNames.lineCount, null);
45
-
46
33
  _this._isTextProps = true;
47
34
  return _this;
48
35
  }
49
-
50
36
  var _proto = TextProps.prototype;
51
-
52
37
  // @ts-ignore
53
38
  _proto.__reactstandin__regenerateByEval = function __reactstandin__regenerateByEval(key, code) {
54
39
  // @ts-ignore
55
40
  this[key] = eval(code);
56
41
  };
57
-
58
42
  return TextProps;
59
43
  }(_componentProps.default);
60
-
61
44
  _defineProperty(TextProps, "propNames", {
62
45
  classes: "classes",
63
46
  lineCount: "lineCount"
64
47
  });
65
-
66
48
  var isTextProps = function isTextProps(value) {
67
49
  if (value == null) return true;
68
50
  return typeof value === "object" && (value instanceof TextProps || value._isTextProps === true);
69
51
  };
70
-
71
52
  exports.isTextProps = isTextProps;
72
53
  var _default = TextProps;
73
54
  var _default2 = _default;
74
55
  var _default3 = _default2;
75
56
  exports.default = _default3;
76
57
  ;
77
-
78
58
  (function () {
79
59
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
80
-
81
60
  if (!reactHotLoader) {
82
61
  return;
83
62
  }
84
-
85
63
  reactHotLoader.register(TextProps, "TextProps", "/home/vsts/work/1/s/src/components/MaterialUI/textProps.js");
86
64
  reactHotLoader.register(isTextProps, "isTextProps", "/home/vsts/work/1/s/src/components/MaterialUI/textProps.js");
87
65
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/textProps.js");
88
66
  })();
89
-
90
67
  ;
91
-
92
68
  (function () {
93
69
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
94
70
  leaveModule && leaveModule(module);
95
71
  })();
96
-
97
72
  ;
98
-
99
73
  (function () {
100
74
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
101
-
102
75
  if (!reactHotLoader) {
103
76
  return;
104
77
  }
105
-
106
78
  reactHotLoader.register(TextProps, "TextProps", "/home/vsts/work/1/s/src/components/MaterialUI/textProps.js");
107
79
  reactHotLoader.register(isTextProps, "isTextProps", "/home/vsts/work/1/s/src/components/MaterialUI/textProps.js");
108
80
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/textProps.js");
109
81
  })();
110
-
111
82
  ;
112
-
113
83
  (function () {
114
84
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
115
85
  leaveModule && leaveModule(module);
@@ -2,73 +2,54 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.default = void 0;
5
-
6
5
  var _styledComponents = _interopRequireDefault(require("styled-components"));
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
  var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
21
16
  return a;
22
17
  };
23
-
24
18
  var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
25
19
  return a;
26
20
  };
27
-
28
21
  var Background = _styledComponents.default.div.withConfig({
29
22
  displayName: "Background",
30
23
  componentId: "sc-vgfi8m-0"
31
24
  })(["position:absolute;background-color:rgba(127,127,127,0.5);height:100%;width:100%;"]);
32
-
33
25
  var _default = Background;
34
26
  var _default2 = _default;
35
27
  var _default3 = _default2;
36
28
  exports.default = _default3;
37
29
  ;
38
-
39
30
  (function () {
40
31
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
41
-
42
32
  if (!reactHotLoader) {
43
33
  return;
44
34
  }
45
-
46
35
  reactHotLoader.register(Background, "Background", "/home/vsts/work/1/s/src/components/Modal/Background.js");
47
36
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/Modal/Background.js");
48
37
  })();
49
-
50
38
  ;
51
-
52
39
  (function () {
53
40
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
54
41
  leaveModule && leaveModule(module);
55
42
  })();
56
-
57
43
  ;
58
-
59
44
  (function () {
60
45
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
61
-
62
46
  if (!reactHotLoader) {
63
47
  return;
64
48
  }
65
-
66
49
  reactHotLoader.register(Background, "Background", "/home/vsts/work/1/s/src/components/Modal/Background.js");
67
50
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/Modal/Background.js");
68
51
  })();
69
-
70
52
  ;
71
-
72
53
  (function () {
73
54
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
74
55
  leaveModule && leaveModule(module);
@@ -2,99 +2,75 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.default = exports.Dialog = void 0;
5
-
6
5
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
7
-
8
6
  var _utils = require("../../utils");
9
-
10
7
  var _withClickOutside = _interopRequireDefault(require("../../hocs/withClickOutside"));
11
-
12
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
-
14
9
  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); }
15
-
16
10
  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; }
17
-
18
11
  (function () {
19
12
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
20
13
  enterModule && enterModule(module);
21
14
  })();
22
-
23
15
  (function () {
24
16
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
25
17
  enterModule && enterModule(module);
26
18
  })();
27
-
28
19
  var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
29
20
  return a;
30
21
  };
31
-
32
22
  var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
33
23
  return a;
34
24
  };
35
-
36
25
  var darkDialogStyle = (0, _styledComponents.css)(["background-color:", ";border-radius:15px;"], (0, _utils.getThemeProp)(["colors", "bgDark"], "#333333"));
37
26
  var dialogLook = {
38
27
  default: (0, _styledComponents.css)(["background-color:white;"]),
39
28
  dark: darkDialogStyle
40
- }; // TODO: Add light dialog style for other dialogs, switching mechanism
29
+ };
41
30
 
31
+ // TODO: Add light dialog style for other dialogs, switching mechanism
42
32
  var Dialog = _styledComponents.default.div.withConfig({
43
33
  displayName: "Dialog",
44
34
  componentId: "sc-7ohuah-0"
45
35
  })(["flex:0 0 auto;margin:auto;align-self:center;z-index:10000;", ";"], function (props) {
46
36
  return dialogLook[props.look];
47
37
  });
48
-
49
38
  exports.Dialog = Dialog;
50
39
  Dialog.defaultProps = {
51
40
  look: "default"
52
41
  };
53
-
54
42
  var _default = (0, _withClickOutside.default)(Dialog);
55
-
56
43
  var _default2 = _default;
57
44
  var _default3 = _default2;
58
45
  exports.default = _default3;
59
46
  ;
60
-
61
47
  (function () {
62
48
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
63
-
64
49
  if (!reactHotLoader) {
65
50
  return;
66
51
  }
67
-
68
52
  reactHotLoader.register(darkDialogStyle, "darkDialogStyle", "/home/vsts/work/1/s/src/components/Modal/Dialog.js");
69
53
  reactHotLoader.register(dialogLook, "dialogLook", "/home/vsts/work/1/s/src/components/Modal/Dialog.js");
70
54
  reactHotLoader.register(Dialog, "Dialog", "/home/vsts/work/1/s/src/components/Modal/Dialog.js");
71
55
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/Modal/Dialog.js");
72
56
  })();
73
-
74
57
  ;
75
-
76
58
  (function () {
77
59
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
78
60
  leaveModule && leaveModule(module);
79
61
  })();
80
-
81
62
  ;
82
-
83
63
  (function () {
84
64
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
85
-
86
65
  if (!reactHotLoader) {
87
66
  return;
88
67
  }
89
-
90
68
  reactHotLoader.register(darkDialogStyle, "darkDialogStyle", "/home/vsts/work/1/s/src/components/Modal/Dialog.js");
91
69
  reactHotLoader.register(dialogLook, "dialogLook", "/home/vsts/work/1/s/src/components/Modal/Dialog.js");
92
70
  reactHotLoader.register(Dialog, "Dialog", "/home/vsts/work/1/s/src/components/Modal/Dialog.js");
93
71
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/Modal/Dialog.js");
94
72
  })();
95
-
96
73
  ;
97
-
98
74
  (function () {
99
75
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
100
76
  leaveModule && leaveModule(module);