orc-shared 1.5.0-dev.1 → 1.5.0-dev.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.
- package/dist/actions/applications.js +12 -50
- package/dist/actions/authentication.js +8 -43
- package/dist/actions/countries.js +4 -34
- package/dist/actions/locale.js +12 -52
- package/dist/actions/makeApiAction.js +3 -51
- package/dist/actions/makeOrcApiAction.js +0 -25
- package/dist/actions/metadata.js +60 -171
- package/dist/actions/modules.js +0 -26
- package/dist/actions/navigation.js +0 -32
- package/dist/actions/requestState.js +0 -18
- package/dist/actions/requestsApi.js +0 -17
- package/dist/actions/scopes.js +12 -54
- package/dist/actions/timezones.js +4 -34
- package/dist/actions/toasts.js +3 -23
- package/dist/actions/versionInfo.js +4 -37
- package/dist/actions/view.js +0 -38
- package/dist/buildStore.js +0 -52
- package/dist/components/AppFrame/About.js +3 -67
- package/dist/components/AppFrame/Anchor.js +1 -25
- package/dist/components/AppFrame/AppFrame.js +21 -90
- package/dist/components/AppFrame/ApplicationSelector/ApplicationDialog.js +4 -35
- package/dist/components/AppFrame/ApplicationSelector/Header.js +1 -31
- package/dist/components/AppFrame/ApplicationSelector/index.js +1 -30
- package/dist/components/AppFrame/ConnectedToastList.js +0 -31
- package/dist/components/AppFrame/Help.js +0 -25
- package/dist/components/AppFrame/MenuItem.js +17 -70
- package/dist/components/AppFrame/Preferences.js +12 -76
- package/dist/components/AppFrame/Sidebar.js +8 -53
- package/dist/components/AppFrame/Topbar.js +9 -65
- package/dist/components/AppFrame/index.js +0 -20
- package/dist/components/AppFrame/useApplicationHelpUrl.js +0 -22
- package/dist/components/ApplicationModuleLoader.js +5 -44
- package/dist/components/Authenticate.js +5 -48
- package/dist/components/Button.js +0 -24
- package/dist/components/CategoryList.js +25 -80
- package/dist/components/Checkbox.js +3 -41
- package/dist/components/ColumnWrapper.js +0 -19
- package/dist/components/Culture.js +0 -29
- package/dist/components/DevPages.js +0 -21
- package/dist/components/DropMenu/Menu.js +4 -36
- package/dist/components/DropMenu/index.js +10 -48
- package/dist/components/ErrorPlaceholder.js +3 -31
- package/dist/components/Form/Combination.js +3 -28
- package/dist/components/Form/Field.js +6 -37
- package/dist/components/Form/FieldElements.js +9 -41
- package/dist/components/Form/FieldList.js +23 -89
- package/dist/components/Form/Fieldset.js +1 -27
- package/dist/components/Form/Form.js +6 -37
- package/dist/components/Form/FormElement.js +1 -20
- package/dist/components/Form/InputField.js +15 -64
- package/dist/components/Form/Inputs/Button.js +5 -35
- package/dist/components/Form/Inputs/Date.js +2 -28
- package/dist/components/Form/Inputs/FieldButtons.js +0 -25
- package/dist/components/Form/Inputs/Number.js +7 -46
- package/dist/components/Form/Inputs/ReadOnly.js +0 -29
- package/dist/components/Form/Inputs/SmallButton.js +6 -38
- package/dist/components/Form/Inputs/Text.js +8 -41
- package/dist/components/Form/Inputs/Time.js +4 -33
- package/dist/components/Form/Inputs/Toggles.js +5 -39
- package/dist/components/Form/Inputs/Translation.js +16 -75
- package/dist/components/Form/Inputs/index.js +0 -28
- package/dist/components/Form/index.js +0 -20
- package/dist/components/Head.js +0 -22
- package/dist/components/I18n.js +0 -28
- package/dist/components/Icon.js +1 -27
- package/dist/components/IconButton.js +2 -32
- package/dist/components/Input.js +2 -42
- package/dist/components/InternetExplorerWarningMessage.js +0 -31
- package/dist/components/List/DataCell.js +3 -42
- package/dist/components/List/HeadCell.js +3 -43
- package/dist/components/List/HeadRow.js +2 -25
- package/dist/components/List/List.js +35 -105
- package/dist/components/List/Row.js +7 -38
- package/dist/components/List/enhanceColumnDefs.js +0 -28
- package/dist/components/List/index.js +0 -20
- package/dist/components/Loader.js +3 -46
- package/dist/components/LoadingIcon.js +0 -24
- package/dist/components/MaterialUI/DataDisplay/Badge.js +2 -31
- package/dist/components/MaterialUI/DataDisplay/Chip.js +1 -33
- package/dist/components/MaterialUI/DataDisplay/CollapsableList.js +5 -49
- package/dist/components/MaterialUI/DataDisplay/Divider.js +0 -30
- package/dist/components/MaterialUI/DataDisplay/Icon.js +2 -28
- package/dist/components/MaterialUI/DataDisplay/List.js +16 -55
- package/dist/components/MaterialUI/DataDisplay/Modal.js +1 -36
- package/dist/components/MaterialUI/DataDisplay/Notification.js +12 -66
- package/dist/components/MaterialUI/DataDisplay/NotificationProps.js +0 -33
- package/dist/components/MaterialUI/DataDisplay/PopperedElements/PopperedIcon.js +0 -22
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/ActionModal.js +5 -37
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/Address.js +1 -33
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/ConfirmationModal.js +7 -28
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/DiscountedPrice.js +2 -32
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/InformationItem.js +17 -57
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/Placeholder.js +4 -33
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/SectionTitle.js +0 -25
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/StepperModal.js +12 -58
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/TableInfoBar.js +0 -29
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/Translations.js +11 -57
- package/dist/components/MaterialUI/DataDisplay/SelectionList.js +21 -68
- package/dist/components/MaterialUI/DataDisplay/Table.js +32 -121
- package/dist/components/MaterialUI/DataDisplay/TableHeaderCell.js +0 -35
- package/dist/components/MaterialUI/DataDisplay/TableProps.js +0 -48
- package/dist/components/MaterialUI/DataDisplay/Timeline.js +1 -21
- package/dist/components/MaterialUI/DataDisplay/TimelineItem.js +4 -32
- package/dist/components/MaterialUI/DataDisplay/TooltippedElements/MultipleLinesText.js +5 -44
- package/dist/components/MaterialUI/DataDisplay/TooltippedElements/TooltippedIcon.js +3 -29
- package/dist/components/MaterialUI/DataDisplay/TooltippedElements/TooltippedTypography.js +0 -21
- package/dist/components/MaterialUI/DataDisplay/TransferList.js +27 -94
- package/dist/components/MaterialUI/DataDisplay/chipProps.js +0 -37
- package/dist/components/MaterialUI/DataDisplay/collapsableListProps.js +0 -36
- package/dist/components/MaterialUI/DataDisplay/dividerProps.js +0 -40
- package/dist/components/MaterialUI/DataDisplay/index.js +0 -33
- package/dist/components/MaterialUI/DataDisplay/modalProps.js +0 -35
- package/dist/components/MaterialUI/DataDisplay/tableHelpers.js +3 -66
- package/dist/components/MaterialUI/DataDisplay/useTableSelection.js +6 -45
- package/dist/components/MaterialUI/Feedback/NotificationContext.js +3 -38
- package/dist/components/MaterialUI/Feedback/loadingScreen.js +3 -42
- package/dist/components/MaterialUI/Feedback/useNotification.js +0 -21
- package/dist/components/MaterialUI/Inputs/Autocomplete.js +2 -43
- package/dist/components/MaterialUI/Inputs/AutocompleteProps.js +0 -36
- package/dist/components/MaterialUI/Inputs/Checkbox.js +0 -39
- package/dist/components/MaterialUI/Inputs/CheckboxGroup.js +0 -42
- package/dist/components/MaterialUI/Inputs/CheckboxGroupProps.js +0 -37
- package/dist/components/MaterialUI/Inputs/CheckboxProps.js +0 -38
- package/dist/components/MaterialUI/Inputs/DatePicker.js +15 -56
- package/dist/components/MaterialUI/Inputs/InputBase.js +5 -54
- package/dist/components/MaterialUI/Inputs/InputBaseProps.js +0 -50
- package/dist/components/MaterialUI/Inputs/PredefinedElements/SearchControl.js +10 -63
- package/dist/components/MaterialUI/Inputs/PredefinedElements/TitledSelect.js +3 -31
- package/dist/components/MaterialUI/Inputs/Radio.js +8 -54
- package/dist/components/MaterialUI/Inputs/RadioProps.js +0 -40
- package/dist/components/MaterialUI/Inputs/Select.js +5 -69
- package/dist/components/MaterialUI/Inputs/SelectProps.js +0 -45
- package/dist/components/MaterialUI/Inputs/StandaloneRadio.js +0 -34
- package/dist/components/MaterialUI/Inputs/Switch.js +1 -37
- package/dist/components/MaterialUI/Inputs/SwitchProps.js +0 -39
- package/dist/components/MaterialUI/Inputs/TimePicker.js +12 -89
- package/dist/components/MaterialUI/Inputs/createInput.js +2 -29
- package/dist/components/MaterialUI/Inputs/index.js +0 -35
- package/dist/components/MaterialUI/Inputs/standaloneRadioProps.js +0 -40
- package/dist/components/MaterialUI/Navigation/DropDownMenu.js +10 -54
- package/dist/components/MaterialUI/Navigation/DropDownMenuProps.js +0 -32
- package/dist/components/MaterialUI/Navigation/ExternalLink.js +2 -27
- package/dist/components/MaterialUI/Navigation/PredefinedElements/ActionMenu.js +4 -31
- package/dist/components/MaterialUI/Navigation/TabBar.js +20 -101
- package/dist/components/MaterialUI/Navigation/TabLabel.js +5 -39
- package/dist/components/MaterialUI/ScopeSelector/ScopeSelector.js +7 -42
- package/dist/components/MaterialUI/ScopeSelector/ScopeTreeView.js +20 -60
- package/dist/components/MaterialUI/ScopeSelector/TreeItem.js +13 -67
- package/dist/components/MaterialUI/Surfaces/ExpansionPanel.js +13 -53
- package/dist/components/MaterialUI/Surfaces/Paper.js +1 -31
- package/dist/components/MaterialUI/Surfaces/PredefinedElements/TitledPaper.js +3 -28
- package/dist/components/MaterialUI/Surfaces/SectionExpansionPanel.js +17 -60
- package/dist/components/MaterialUI/Surfaces/expansionPanelProps.js +0 -54
- package/dist/components/MaterialUI/Surfaces/paperProps.js +0 -35
- package/dist/components/MaterialUI/componentProps.js +0 -28
- package/dist/components/MaterialUI/hocs/withDeferredPopper.js +8 -57
- package/dist/components/MaterialUI/hocs/withDeferredTooltip.js +6 -42
- package/dist/components/MaterialUI/muiThemes.js +2 -56
- package/dist/components/MaterialUI/textProps.js +0 -32
- package/dist/components/Modal/Background.js +0 -19
- package/dist/components/Modal/Dialog.js +2 -26
- package/dist/components/Modal/Wrapper.js +0 -26
- package/dist/components/Modal/index.js +6 -42
- package/dist/components/Modules.js +17 -89
- package/dist/components/MultiSelector.js +19 -72
- package/dist/components/Navigation/Bar.js +24 -87
- package/dist/components/Navigation/Tab.js +20 -72
- package/dist/components/Navigation/index.js +2 -21
- package/dist/components/Navigation/useNavigationState.js +85 -170
- package/dist/components/Placeholder.js +5 -43
- package/dist/components/Provision.js +4 -36
- package/dist/components/Routing/FullPage.js +14 -37
- package/dist/components/Routing/Page.js +12 -49
- package/dist/components/Routing/Segment.js +5 -30
- package/dist/components/Routing/SegmentPage.js +24 -104
- package/dist/components/Routing/SubPage.js +6 -57
- package/dist/components/Routing/withWaypointing.js +2 -35
- package/dist/components/Scope/ScopeModificationConfirmationDialog.js +3 -30
- package/dist/components/Scope/ScopeNode.js +6 -47
- package/dist/components/Scope/Selector.js +8 -44
- package/dist/components/Scope/index.js +24 -93
- package/dist/components/Scope/useScopeConfirmationModalState.js +8 -73
- package/dist/components/Scope/useScopeData.js +0 -25
- package/dist/components/Scope/useScopeSelect.js +0 -26
- package/dist/components/Selector.js +13 -74
- package/dist/components/Sidepanel.js +0 -28
- package/dist/components/Spritesheet.js +0 -26
- package/dist/components/Switch.js +11 -51
- package/dist/components/Text.js +4 -48
- package/dist/components/ToastList.js +5 -45
- package/dist/components/Toolbar.js +16 -74
- package/dist/components/Tooltip.js +0 -24
- package/dist/components/Treeview/Branch.js +0 -25
- package/dist/components/Treeview/Label.js +0 -29
- package/dist/components/Treeview/Leaf.js +0 -21
- package/dist/components/Treeview/Node.js +14 -54
- package/dist/components/Treeview/index.js +20 -63
- package/dist/components/Treeview/settings.js +0 -17
- package/dist/constants.js +2 -17
- package/dist/getTheme.js +0 -29
- package/dist/getThemeOverrides.js +0 -21
- package/dist/hocs/routingConnector.js +0 -21
- package/dist/hocs/withAuthentication.js +4 -26
- package/dist/hocs/withClickOutside.js +2 -28
- package/dist/hocs/withErrorBoundary.js +2 -37
- package/dist/hocs/withId.js +1 -30
- package/dist/hocs/withInfiniteScroll.js +15 -32
- package/dist/hocs/withInitialLoad.js +0 -20
- package/dist/hocs/withLocaleSwitch.js +0 -19
- package/dist/hocs/withNavigationLink.js +3 -30
- package/dist/hocs/withRequestActivity.js +0 -21
- package/dist/hocs/withScopeData.js +4 -31
- package/dist/hocs/withScrollBox.js +2 -31
- package/dist/hocs/withToggle.js +4 -34
- package/dist/hocs/withUpdateHandler.js +0 -22
- package/dist/hocs/withViewState.js +3 -30
- package/dist/hooks/useDispatchWithModulesData.js +0 -26
- package/dist/hooks/useEditState.js +7 -104
- package/dist/hooks/useEntityLoader.js +13 -64
- package/dist/hooks/useFullEntityEditState.js +4 -53
- package/dist/hooks/useInfiniteScroll.js +3 -31
- package/dist/hooks/useLabelMessage.js +0 -41
- package/dist/hooks/useLoader.js +0 -27
- package/dist/hooks/useMultipleFieldEditState.js +0 -39
- package/dist/hooks/useNavigationHandler.js +3 -28
- package/dist/hooks/useNotificationRequestState.js +14 -46
- package/dist/hooks/usePreviousModified.js +0 -24
- package/dist/hooks/useRequestState.js +8 -38
- package/dist/hooks/useSelectorAndUnwrap.js +0 -23
- package/dist/hooks/useToggle.js +3 -33
- package/dist/hooks/useViewState.js +0 -23
- package/dist/index.js +1 -2
- package/dist/reducers/applications.js +0 -23
- package/dist/reducers/authentication.js +4 -35
- package/dist/reducers/countries.js +0 -25
- package/dist/reducers/localeFactory.js +0 -30
- package/dist/reducers/metadata.js +2 -62
- package/dist/reducers/modules.js +0 -36
- package/dist/reducers/navigation.js +8 -47
- package/dist/reducers/request.js +0 -28
- package/dist/reducers/requestStates.js +0 -42
- package/dist/reducers/scopes.js +0 -28
- package/dist/reducers/settings.js +4 -39
- package/dist/reducers/timezones.js +0 -25
- package/dist/reducers/toasts.js +0 -27
- package/dist/reducers/versionInfo.js +0 -24
- package/dist/reducers/view.js +36 -84
- package/dist/schemas/countries.js +0 -17
- package/dist/schemas/definitions.js +0 -17
- package/dist/schemas/metadata.js +0 -17
- package/dist/schemas/productDefinitions.js +0 -17
- package/dist/schemas/scopes.js +0 -17
- package/dist/schemas/timezones.js +0 -17
- package/dist/selectors/applications.js +0 -20
- package/dist/selectors/authentication.js +0 -40
- package/dist/selectors/countries.js +0 -22
- package/dist/selectors/locale.js +1 -29
- package/dist/selectors/metadata.js +1 -44
- package/dist/selectors/modules.js +0 -21
- package/dist/selectors/navigation.js +9 -39
- package/dist/selectors/requestStates.js +0 -22
- package/dist/selectors/requests.js +2 -22
- package/dist/selectors/route.js +0 -21
- package/dist/selectors/scope.js +0 -32
- package/dist/selectors/settings.js +0 -18
- package/dist/selectors/timezones.js +0 -19
- package/dist/selectors/versionInfo.js +0 -18
- package/dist/selectors/view.js +3 -74
- package/dist/sharedMessages.js +0 -17
- package/dist/spawnerMiddleware.js +0 -24
- package/dist/utils/buildUrl.js +5 -36
- package/dist/utils/countryHelper.js +0 -18
- package/dist/utils/curry.js +0 -19
- package/dist/utils/debounce.js +1 -20
- package/dist/utils/displayModeHelper.js +0 -24
- package/dist/utils/domHelper.js +0 -17
- package/dist/utils/flatten.js +2 -35
- package/dist/utils/index.js +0 -31
- package/dist/utils/insertIcons.js +0 -21
- package/dist/utils/localizationHelper.js +0 -26
- package/dist/utils/logPass.js +1 -22
- package/dist/utils/mapHelper.js +1 -25
- package/dist/utils/memoize.js +0 -23
- package/dist/utils/modelValidationHelper.js +0 -41
- package/dist/utils/normalizeForSearch.js +2 -19
- package/dist/utils/objectHelper.js +0 -22
- package/dist/utils/parseHelper.js +0 -32
- package/dist/utils/profilerHelper.js +0 -18
- package/dist/utils/propertyHelper.js +1 -38
- package/dist/utils/propertyValidator.js +0 -25
- package/dist/utils/requestProcessingHelper.js +0 -24
- package/dist/utils/safeGet.js +0 -18
- package/dist/utils/setTranslation.js +0 -27
- package/dist/utils/setTranslationWithFallback.js +0 -32
- package/dist/utils/stripKey.js +1 -23
- package/dist/utils/styledPropFuncs.js +3 -29
- package/dist/utils/testUtils.js +12 -89
- package/dist/utils/timezoneHelper.js +4 -42
- package/dist/utils/unwrapImmutable.js +0 -19
- package/dist/utils/urlHelper.js +2 -27
- package/dist/whyDidYouRerender.js +0 -5
- package/package.json +3 -3
- package/src/hooks/useEditState.js +12 -2
- package/src/hooks/useEditState.test.js +1 -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: {
|
|
@@ -104,47 +82,39 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
104
82
|
}
|
|
105
83
|
};
|
|
106
84
|
});
|
|
107
|
-
|
|
108
85
|
var SectionExpansionPanel = function SectionExpansionPanel(_ref) {
|
|
109
86
|
var _panelState$isExpande;
|
|
110
|
-
|
|
111
87
|
var header = _ref.header,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
88
|
+
content = _ref.content,
|
|
89
|
+
actions = _ref.actions,
|
|
90
|
+
expansionPanelId = _ref.expansionPanelId,
|
|
91
|
+
expansionPanelProps = _ref.expansionPanelProps,
|
|
92
|
+
expansionPanelActionsProps = _ref.expansionPanelActionsProps;
|
|
118
93
|
if ((0, _expansionPanelProps.isExpansionPanelProps)(expansionPanelProps) === false) {
|
|
119
94
|
throw new TypeError("expansionPanelProps property is not of type ExpansionPanelProps");
|
|
120
95
|
}
|
|
121
|
-
|
|
122
96
|
if ((0, _expansionPanelProps.isExpansionPanelActionsProps)(expansionPanelActionsProps) === false) {
|
|
123
97
|
throw new TypeError("expansionPanelActionsProps property is not of type ExpansionPanelActionsProps");
|
|
124
98
|
}
|
|
99
|
+
var classes = useStyles();
|
|
125
100
|
|
|
126
|
-
|
|
127
|
-
|
|
101
|
+
// Expansion panel props
|
|
128
102
|
var disabled = expansionPanelProps == null ? void 0 : expansionPanelProps.get(_expansionPanelProps.ExpansionPanelProps.propNames.disabled);
|
|
129
|
-
|
|
130
103
|
var _useViewState = (0, _useViewState3.default)(expansionPanelId),
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
104
|
+
_useViewState2 = _slicedToArray(_useViewState, 2),
|
|
105
|
+
panelState = _useViewState2[0],
|
|
106
|
+
updateViewState = _useViewState2[1];
|
|
135
107
|
var defaultExpanded = (_panelState$isExpande = panelState["isExpanded"]) != null ? _panelState$isExpande : true;
|
|
136
|
-
|
|
137
108
|
var _React$useState = _react.default.useState(defaultExpanded),
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
109
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
110
|
+
expanded = _React$useState2[0],
|
|
111
|
+
setExpanded = _React$useState2[1];
|
|
142
112
|
var internalOnChange = function internalOnChange(evt, isExpanded) {
|
|
143
113
|
setExpanded(isExpanded);
|
|
144
114
|
updateViewState("isExpanded", isExpanded);
|
|
145
|
-
};
|
|
146
|
-
|
|
115
|
+
};
|
|
147
116
|
|
|
117
|
+
// Expansion panel summary props
|
|
148
118
|
var defaultSummaryStyles = {
|
|
149
119
|
edge: false,
|
|
150
120
|
size: "small",
|
|
@@ -152,8 +122,9 @@ var SectionExpansionPanel = function SectionExpansionPanel(_ref) {
|
|
|
152
122
|
root: classes.summaryExpandIconRoot,
|
|
153
123
|
sizeSmall: classes.resetPadding
|
|
154
124
|
}
|
|
155
|
-
};
|
|
125
|
+
};
|
|
156
126
|
|
|
127
|
+
// Expansion panel actions props
|
|
157
128
|
var disableSpacing = expansionPanelActionsProps == null ? void 0 : expansionPanelActionsProps.get(_expansionPanelProps.ExpansionPanelActionsProps.propNames.disableSpacing);
|
|
158
129
|
var constrained = (expansionPanelProps == null ? void 0 : expansionPanelProps.get(_expansionPanelProps.ExpansionPanelProps.propNames.constrained)) || false;
|
|
159
130
|
return /*#__PURE__*/_react.default.createElement(_Accordion.default, {
|
|
@@ -184,56 +155,42 @@ var SectionExpansionPanel = function SectionExpansionPanel(_ref) {
|
|
|
184
155
|
disableSpacing: disableSpacing == null ? false : disableSpacing
|
|
185
156
|
}, actions) : null);
|
|
186
157
|
};
|
|
187
|
-
|
|
188
158
|
__signature__(SectionExpansionPanel, "useStyles{classes}\nuseViewState{[panelState, updateViewState]}\nuseState{[expanded, setExpanded](defaultExpanded)}", function () {
|
|
189
159
|
return [useStyles, _useViewState3.default];
|
|
190
160
|
});
|
|
191
|
-
|
|
192
161
|
__signature__(SectionExpansionPanel, "useStyles{classes}\nuseViewState{[panelState, updateViewState]}\nuseState{[expanded, setExpanded](defaultExpanded)}", function () {
|
|
193
162
|
return [useStyles, _useViewState3.default];
|
|
194
163
|
});
|
|
195
|
-
|
|
196
164
|
var _default = SectionExpansionPanel;
|
|
197
165
|
var _default2 = _default;
|
|
198
166
|
var _default3 = _default2;
|
|
199
167
|
exports.default = _default3;
|
|
200
168
|
;
|
|
201
|
-
|
|
202
169
|
(function () {
|
|
203
170
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
204
|
-
|
|
205
171
|
if (!reactHotLoader) {
|
|
206
172
|
return;
|
|
207
173
|
}
|
|
208
|
-
|
|
209
174
|
reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/SectionExpansionPanel.js");
|
|
210
175
|
reactHotLoader.register(SectionExpansionPanel, "SectionExpansionPanel", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/SectionExpansionPanel.js");
|
|
211
176
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/SectionExpansionPanel.js");
|
|
212
177
|
})();
|
|
213
|
-
|
|
214
178
|
;
|
|
215
|
-
|
|
216
179
|
(function () {
|
|
217
180
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
218
181
|
leaveModule && leaveModule(module);
|
|
219
182
|
})();
|
|
220
|
-
|
|
221
183
|
;
|
|
222
|
-
|
|
223
184
|
(function () {
|
|
224
185
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
225
|
-
|
|
226
186
|
if (!reactHotLoader) {
|
|
227
187
|
return;
|
|
228
188
|
}
|
|
229
|
-
|
|
230
189
|
reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/SectionExpansionPanel.js");
|
|
231
190
|
reactHotLoader.register(SectionExpansionPanel, "SectionExpansionPanel", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/SectionExpansionPanel.js");
|
|
232
191
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/SectionExpansionPanel.js");
|
|
233
192
|
})();
|
|
234
|
-
|
|
235
193
|
;
|
|
236
|
-
|
|
237
194
|
(function () {
|
|
238
195
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
239
196
|
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
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
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
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
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);
|