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.
- package/dist/actions/applications.js +14 -52
- package/dist/actions/authentication.js +10 -45
- package/dist/actions/countries.js +6 -36
- package/dist/actions/locale.js +14 -54
- package/dist/actions/makeApiAction.js +31 -79
- package/dist/actions/makeOrcApiAction.js +3 -26
- package/dist/actions/metadata.js +65 -174
- package/dist/actions/modules.js +0 -26
- package/dist/actions/navigation.js +3 -33
- package/dist/actions/requestState.js +0 -18
- package/dist/actions/requestsApi.js +1 -17
- package/dist/actions/scopes.js +14 -56
- package/dist/actions/timezones.js +6 -36
- package/dist/actions/toasts.js +3 -23
- package/dist/actions/versionInfo.js +6 -39
- package/dist/actions/view.js +0 -38
- package/dist/buildStore.js +3 -53
- package/dist/components/AppFrame/About.js +8 -70
- package/dist/components/AppFrame/Anchor.js +1 -25
- package/dist/components/AppFrame/AppFrame.js +23 -92
- 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 +17 -79
- 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 +7 -46
- package/dist/components/Authenticate.js +5 -48
- package/dist/components/Button.js +0 -24
- package/dist/components/CategoryList.js +33 -82
- 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 +12 -50
- 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 +28 -92
- 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 +17 -66
- 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 +21 -78
- 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 +37 -107
- package/dist/components/List/Row.js +7 -38
- package/dist/components/List/enhanceColumnDefs.js +3 -29
- package/dist/components/List/index.js +0 -20
- package/dist/components/Loader.js +5 -48
- 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 +7 -51
- 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 +4 -37
- package/dist/components/MaterialUI/DataDisplay/Notification.js +17 -69
- package/dist/components/MaterialUI/DataDisplay/NotificationProps.js +3 -34
- 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 +3 -32
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/InformationItem.js +14 -54
- 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 +14 -60
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/TableInfoBar.js +0 -29
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/Translations.js +15 -59
- package/dist/components/MaterialUI/DataDisplay/SelectionList.js +23 -70
- package/dist/components/MaterialUI/DataDisplay/Table.js +34 -123
- package/dist/components/MaterialUI/DataDisplay/TableHeaderCell.js +0 -35
- package/dist/components/MaterialUI/DataDisplay/TableProps.js +3 -49
- 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 +7 -46
- 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 +32 -97
- package/dist/components/MaterialUI/DataDisplay/chipProps.js +3 -38
- package/dist/components/MaterialUI/DataDisplay/collapsableListProps.js +3 -37
- package/dist/components/MaterialUI/DataDisplay/dividerProps.js +3 -41
- package/dist/components/MaterialUI/DataDisplay/index.js +0 -33
- package/dist/components/MaterialUI/DataDisplay/modalProps.js +3 -36
- package/dist/components/MaterialUI/DataDisplay/tableHelpers.js +5 -68
- package/dist/components/MaterialUI/DataDisplay/useTableSelection.js +11 -48
- package/dist/components/MaterialUI/Feedback/NotificationContext.js +5 -40
- package/dist/components/MaterialUI/Feedback/loadingScreen.js +5 -44
- package/dist/components/MaterialUI/Feedback/useNotification.js +0 -21
- package/dist/components/MaterialUI/Inputs/Autocomplete.js +5 -44
- package/dist/components/MaterialUI/Inputs/AutocompleteProps.js +3 -37
- package/dist/components/MaterialUI/Inputs/Checkbox.js +3 -40
- package/dist/components/MaterialUI/Inputs/CheckboxGroup.js +3 -43
- package/dist/components/MaterialUI/Inputs/CheckboxGroupProps.js +3 -38
- package/dist/components/MaterialUI/Inputs/CheckboxProps.js +3 -39
- package/dist/components/MaterialUI/Inputs/DatePicker.js +16 -52
- package/dist/components/MaterialUI/Inputs/InputBase.js +7 -56
- package/dist/components/MaterialUI/Inputs/InputBaseProps.js +3 -49
- package/dist/components/MaterialUI/Inputs/PredefinedElements/SearchControl.js +12 -65
- 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 +3 -41
- package/dist/components/MaterialUI/Inputs/Select.js +10 -72
- package/dist/components/MaterialUI/Inputs/SelectProps.js +3 -46
- package/dist/components/MaterialUI/Inputs/StandaloneRadio.js +3 -35
- package/dist/components/MaterialUI/Inputs/Switch.js +4 -38
- package/dist/components/MaterialUI/Inputs/SwitchProps.js +3 -40
- package/dist/components/MaterialUI/Inputs/TimePicker.js +14 -91
- package/dist/components/MaterialUI/Inputs/createInput.js +5 -30
- package/dist/components/MaterialUI/Inputs/index.js +0 -35
- package/dist/components/MaterialUI/Inputs/standaloneRadioProps.js +3 -41
- package/dist/components/MaterialUI/Navigation/DropDownMenu.js +12 -56
- package/dist/components/MaterialUI/Navigation/DropDownMenuProps.js +3 -33
- 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 +22 -103
- package/dist/components/MaterialUI/Navigation/TabLabel.js +7 -41
- package/dist/components/MaterialUI/ScopeSelector/ScopeSelector.js +7 -42
- package/dist/components/MaterialUI/ScopeSelector/ScopeTreeView.js +22 -62
- package/dist/components/MaterialUI/ScopeSelector/TreeItem.js +16 -68
- package/dist/components/MaterialUI/Surfaces/ExpansionPanel.js +15 -55
- 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 +19 -62
- package/dist/components/MaterialUI/Surfaces/expansionPanelProps.js +3 -55
- package/dist/components/MaterialUI/Surfaces/paperProps.js +3 -36
- package/dist/components/MaterialUI/componentProps.js +3 -29
- package/dist/components/MaterialUI/hocs/withDeferredPopper.js +10 -59
- package/dist/components/MaterialUI/hocs/withDeferredTooltip.js +7 -44
- package/dist/components/MaterialUI/muiThemes.js +5 -57
- package/dist/components/MaterialUI/textProps.js +3 -33
- 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 +8 -44
- package/dist/components/Modules.js +21 -93
- package/dist/components/MultiSelector.js +21 -74
- package/dist/components/Navigation/Bar.js +29 -90
- package/dist/components/Navigation/Tab.js +22 -74
- package/dist/components/Navigation/index.js +1 -21
- package/dist/components/Navigation/useNavigationState.js +90 -173
- 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 +14 -51
- package/dist/components/Routing/Segment.js +5 -30
- package/dist/components/Routing/SegmentPage.js +26 -106
- package/dist/components/Routing/SubPage.js +6 -54
- package/dist/components/Routing/withWaypointing.js +6 -37
- package/dist/components/Scope/ScopeModificationConfirmationDialog.js +3 -30
- package/dist/components/Scope/ScopeNode.js +8 -49
- package/dist/components/Scope/Selector.js +8 -44
- package/dist/components/Scope/index.js +29 -96
- package/dist/components/Scope/useScopeConfirmationModalState.js +33 -100
- package/dist/components/Scope/useScopeData.js +0 -25
- package/dist/components/Scope/useScopeSelect.js +0 -26
- package/dist/components/Selector.js +15 -76
- 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 +6 -50
- 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 +17 -55
- package/dist/components/Treeview/index.js +25 -66
- package/dist/components/Treeview/settings.js +0 -17
- package/dist/constants.js +2 -17
- package/dist/getTheme.js +0 -29
- package/dist/getThemeOverrides.js +3 -22
- 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 +5 -32
- package/dist/hocs/withRequestActivity.js +0 -21
- package/dist/hocs/withScopeData.js +6 -33
- package/dist/hocs/withScrollBox.js +2 -31
- package/dist/hocs/withToggle.js +9 -37
- package/dist/hocs/withUpdateHandler.js +3 -23
- package/dist/hocs/withViewState.js +5 -32
- package/dist/hooks/useDispatchWithModulesData.js +0 -26
- package/dist/hooks/useEditState.js +6 -103
- package/dist/hooks/useEntityLoader.js +18 -67
- package/dist/hooks/useFullEntityEditState.js +9 -56
- package/dist/hooks/useInfiniteScroll.js +5 -33
- package/dist/hooks/useLabelMessage.js +3 -42
- package/dist/hooks/useLoader.js +0 -27
- package/dist/hooks/useMultipleFieldEditState.js +3 -40
- package/dist/hooks/useNavigationHandler.js +3 -28
- package/dist/hooks/useNotificationRequestState.js +17 -47
- 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 +5 -35
- 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 +6 -37
- package/dist/reducers/countries.js +0 -25
- package/dist/reducers/localeFactory.js +0 -30
- package/dist/reducers/metadata.js +3 -63
- 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 +4 -45
- package/dist/selectors/modules.js +3 -22
- 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 +7 -38
- 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 +7 -38
- 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 +3 -42
- package/dist/utils/normalizeForSearch.js +2 -19
- package/dist/utils/objectHelper.js +2 -24
- 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 +1 -28
- package/dist/utils/setTranslationWithFallback.js +1 -33
- package/dist/utils/stripKey.js +1 -23
- package/dist/utils/styledPropFuncs.js +3 -29
- package/dist/utils/testUtils.js +14 -91
- package/dist/utils/timezoneHelper.js +4 -35
- package/dist/utils/unwrapImmutable.js +0 -19
- package/dist/utils/urlHelper.js +3 -28
- package/dist/whyDidYouRerender.js +1 -5
- package/package.json +3 -3
|
@@ -2,41 +2,28 @@
|
|
|
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 _Paper = _interopRequireDefault(require("@material-ui/core/Paper"));
|
|
9
|
-
|
|
10
7
|
var _paperProps = _interopRequireWildcard(require("./paperProps"));
|
|
11
|
-
|
|
12
8
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
-
|
|
14
9
|
var _styles = require("@material-ui/core/styles");
|
|
15
|
-
|
|
16
10
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
|
-
|
|
18
11
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
|
-
|
|
20
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
|
-
|
|
22
13
|
(function () {
|
|
23
14
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
24
15
|
enterModule && enterModule(module);
|
|
25
16
|
})();
|
|
26
|
-
|
|
27
17
|
(function () {
|
|
28
18
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
29
19
|
enterModule && enterModule(module);
|
|
30
20
|
})();
|
|
31
|
-
|
|
32
21
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
33
22
|
return a;
|
|
34
23
|
};
|
|
35
|
-
|
|
36
24
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
37
25
|
return a;
|
|
38
26
|
};
|
|
39
|
-
|
|
40
27
|
var useStyle = (0, _styles.makeStyles)(function (theme) {
|
|
41
28
|
return {
|
|
42
29
|
container: {
|
|
@@ -45,15 +32,12 @@ var useStyle = (0, _styles.makeStyles)(function (theme) {
|
|
|
45
32
|
}
|
|
46
33
|
};
|
|
47
34
|
});
|
|
48
|
-
|
|
49
35
|
var Paper = function Paper(_ref) {
|
|
50
36
|
var content = _ref.content,
|
|
51
|
-
|
|
52
|
-
|
|
37
|
+
paperProps = _ref.paperProps;
|
|
53
38
|
if ((0, _paperProps.isPaperProps)(paperProps) === false) {
|
|
54
39
|
throw new TypeError("paperProps property is not of type PaperProps");
|
|
55
40
|
}
|
|
56
|
-
|
|
57
41
|
var classes = useStyle();
|
|
58
42
|
var elevation = (paperProps == null ? void 0 : paperProps.get(_paperProps.default.propNames.elevation)) || 0;
|
|
59
43
|
var square = (paperProps == null ? void 0 : paperProps.get(_paperProps.default.propNames.square)) || false;
|
|
@@ -68,56 +52,42 @@ var Paper = function Paper(_ref) {
|
|
|
68
52
|
variant: variant
|
|
69
53
|
}, content);
|
|
70
54
|
};
|
|
71
|
-
|
|
72
55
|
__signature__(Paper, "useStyle{classes}", function () {
|
|
73
56
|
return [useStyle];
|
|
74
57
|
});
|
|
75
|
-
|
|
76
58
|
__signature__(Paper, "useStyle{classes}", function () {
|
|
77
59
|
return [useStyle];
|
|
78
60
|
});
|
|
79
|
-
|
|
80
61
|
var _default = Paper;
|
|
81
62
|
var _default2 = _default;
|
|
82
63
|
var _default3 = _default2;
|
|
83
64
|
exports.default = _default3;
|
|
84
65
|
;
|
|
85
|
-
|
|
86
66
|
(function () {
|
|
87
67
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
88
|
-
|
|
89
68
|
if (!reactHotLoader) {
|
|
90
69
|
return;
|
|
91
70
|
}
|
|
92
|
-
|
|
93
71
|
reactHotLoader.register(useStyle, "useStyle", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/Paper.js");
|
|
94
72
|
reactHotLoader.register(Paper, "Paper", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/Paper.js");
|
|
95
73
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/Paper.js");
|
|
96
74
|
})();
|
|
97
|
-
|
|
98
75
|
;
|
|
99
|
-
|
|
100
76
|
(function () {
|
|
101
77
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
102
78
|
leaveModule && leaveModule(module);
|
|
103
79
|
})();
|
|
104
|
-
|
|
105
80
|
;
|
|
106
|
-
|
|
107
81
|
(function () {
|
|
108
82
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
109
|
-
|
|
110
83
|
if (!reactHotLoader) {
|
|
111
84
|
return;
|
|
112
85
|
}
|
|
113
|
-
|
|
114
86
|
reactHotLoader.register(useStyle, "useStyle", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/Paper.js");
|
|
115
87
|
reactHotLoader.register(Paper, "Paper", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/Paper.js");
|
|
116
88
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/Paper.js");
|
|
117
89
|
})();
|
|
118
|
-
|
|
119
90
|
;
|
|
120
|
-
|
|
121
91
|
(function () {
|
|
122
92
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
123
93
|
leaveModule && leaveModule(module);
|
|
@@ -2,35 +2,25 @@
|
|
|
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 _Paper = _interopRequireDefault(require("../Paper"));
|
|
9
|
-
|
|
10
7
|
var _SectionTitle = _interopRequireDefault(require("../../DataDisplay/PredefinedElements/SectionTitle"));
|
|
11
|
-
|
|
12
8
|
var _styles = require("@material-ui/core/styles");
|
|
13
|
-
|
|
14
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
|
|
16
10
|
(function () {
|
|
17
11
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
18
12
|
enterModule && enterModule(module);
|
|
19
13
|
})();
|
|
20
|
-
|
|
21
14
|
(function () {
|
|
22
15
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
23
16
|
enterModule && enterModule(module);
|
|
24
17
|
})();
|
|
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 useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
35
25
|
return {
|
|
36
26
|
container: {
|
|
@@ -43,12 +33,11 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
43
33
|
}
|
|
44
34
|
};
|
|
45
35
|
});
|
|
46
|
-
|
|
47
36
|
var TitledPaper = function TitledPaper(_ref) {
|
|
48
37
|
var title = _ref.title,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
38
|
+
content = _ref.content,
|
|
39
|
+
titleProps = _ref.titleProps,
|
|
40
|
+
paperProps = _ref.paperProps;
|
|
52
41
|
var classes = useStyles();
|
|
53
42
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
54
43
|
className: classes.container
|
|
@@ -60,56 +49,42 @@ var TitledPaper = function TitledPaper(_ref) {
|
|
|
60
49
|
paperProps: paperProps
|
|
61
50
|
}));
|
|
62
51
|
};
|
|
63
|
-
|
|
64
52
|
__signature__(TitledPaper, "useStyles{classes}", function () {
|
|
65
53
|
return [useStyles];
|
|
66
54
|
});
|
|
67
|
-
|
|
68
55
|
__signature__(TitledPaper, "useStyles{classes}", function () {
|
|
69
56
|
return [useStyles];
|
|
70
57
|
});
|
|
71
|
-
|
|
72
58
|
var _default = TitledPaper;
|
|
73
59
|
var _default2 = _default;
|
|
74
60
|
var _default3 = _default2;
|
|
75
61
|
exports.default = _default3;
|
|
76
62
|
;
|
|
77
|
-
|
|
78
63
|
(function () {
|
|
79
64
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
80
|
-
|
|
81
65
|
if (!reactHotLoader) {
|
|
82
66
|
return;
|
|
83
67
|
}
|
|
84
|
-
|
|
85
68
|
reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/PredefinedElements/TitledPaper.js");
|
|
86
69
|
reactHotLoader.register(TitledPaper, "TitledPaper", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/PredefinedElements/TitledPaper.js");
|
|
87
70
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/PredefinedElements/TitledPaper.js");
|
|
88
71
|
})();
|
|
89
|
-
|
|
90
72
|
;
|
|
91
|
-
|
|
92
73
|
(function () {
|
|
93
74
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
94
75
|
leaveModule && leaveModule(module);
|
|
95
76
|
})();
|
|
96
|
-
|
|
97
77
|
;
|
|
98
|
-
|
|
99
78
|
(function () {
|
|
100
79
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
101
|
-
|
|
102
80
|
if (!reactHotLoader) {
|
|
103
81
|
return;
|
|
104
82
|
}
|
|
105
|
-
|
|
106
83
|
reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/PredefinedElements/TitledPaper.js");
|
|
107
84
|
reactHotLoader.register(TitledPaper, "TitledPaper", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/PredefinedElements/TitledPaper.js");
|
|
108
85
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/PredefinedElements/TitledPaper.js");
|
|
109
86
|
})();
|
|
110
|
-
|
|
111
87
|
;
|
|
112
|
-
|
|
113
88
|
(function () {
|
|
114
89
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
115
90
|
leaveModule && leaveModule(module);
|
|
@@ -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
|
-
function
|
|
45
|
-
|
|
46
|
-
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
|
-
|
|
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; }
|
|
28
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
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
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
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
|
-
|
|
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
|
-
|
|
131
|
-
|
|
132
|
-
|
|
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
|
-
|
|
138
|
-
|
|
139
|
-
|
|
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
|
-
};
|
|
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
|
-
};
|
|
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,54 @@
|
|
|
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
|
-
function
|
|
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 ExpansionPanelProps = /*#__PURE__*/function (_ComponentProps) {
|
|
35
27
|
_inheritsLoose(ExpansionPanelProps, _ComponentProps);
|
|
36
|
-
|
|
37
28
|
function ExpansionPanelProps() {
|
|
38
29
|
var _this;
|
|
39
|
-
|
|
40
30
|
_this = _ComponentProps.call(this) || this;
|
|
41
|
-
|
|
42
31
|
_this.componentProps.set(_this.constructor.propNames.defaultExpanded, null);
|
|
43
|
-
|
|
44
32
|
_this.componentProps.set(_this.constructor.propNames.disabled, null);
|
|
45
|
-
|
|
46
33
|
_this.componentProps.set(_this.constructor.propNames.expanded, null);
|
|
47
|
-
|
|
48
34
|
_this.componentProps.set(_this.constructor.propNames.onChange, null);
|
|
49
|
-
|
|
50
35
|
_this.componentProps.set(_this.constructor.propNames.constrained, false);
|
|
51
|
-
|
|
52
36
|
_this.componentClasses.set(_this.constructor.ruleNames.root, null);
|
|
53
|
-
|
|
54
37
|
_this.componentClasses.set(_this.constructor.ruleNames.summaryRoot, null);
|
|
55
|
-
|
|
56
38
|
_this.componentClasses.set(_this.constructor.ruleNames.summaryExpanded, null);
|
|
57
|
-
|
|
58
39
|
_this.componentClasses.set(_this.constructor.ruleNames.details, null);
|
|
59
|
-
|
|
60
40
|
_this.componentClasses.set(_this.constructor.ruleNames.actions, null);
|
|
61
|
-
|
|
62
41
|
_this._isExpansionPanelProps = true;
|
|
63
42
|
return _this;
|
|
64
43
|
}
|
|
65
|
-
|
|
66
44
|
var _proto = ExpansionPanelProps.prototype;
|
|
67
|
-
|
|
68
45
|
// @ts-ignore
|
|
69
46
|
_proto.__reactstandin__regenerateByEval = function __reactstandin__regenerateByEval(key, code) {
|
|
70
47
|
// @ts-ignore
|
|
71
48
|
this[key] = eval(code);
|
|
72
49
|
};
|
|
73
|
-
|
|
74
50
|
return ExpansionPanelProps;
|
|
75
51
|
}(_componentProps.default);
|
|
76
|
-
|
|
77
52
|
exports.ExpansionPanelProps = ExpansionPanelProps;
|
|
78
|
-
|
|
79
53
|
_defineProperty(ExpansionPanelProps, "propNames", {
|
|
80
54
|
defaultExpanded: "defaultExpanded",
|
|
81
55
|
disabled: "disabled",
|
|
@@ -83,7 +57,6 @@ _defineProperty(ExpansionPanelProps, "propNames", {
|
|
|
83
57
|
onChange: "onChange",
|
|
84
58
|
constrained: "constrained"
|
|
85
59
|
});
|
|
86
|
-
|
|
87
60
|
_defineProperty(ExpansionPanelProps, "ruleNames", {
|
|
88
61
|
root: "root",
|
|
89
62
|
summaryRoot: "summaryRoot",
|
|
@@ -91,90 +64,65 @@ _defineProperty(ExpansionPanelProps, "ruleNames", {
|
|
|
91
64
|
details: "details",
|
|
92
65
|
actions: "actions"
|
|
93
66
|
});
|
|
94
|
-
|
|
95
67
|
var isExpansionPanelProps = function isExpansionPanelProps(value) {
|
|
96
68
|
if (value == null) return true;
|
|
97
69
|
return typeof value === "object" && (value instanceof ExpansionPanelProps || value._isExpansionPanelProps === true);
|
|
98
70
|
};
|
|
99
|
-
|
|
100
71
|
exports.isExpansionPanelProps = isExpansionPanelProps;
|
|
101
|
-
|
|
102
72
|
var ExpansionPanelActionsProps = /*#__PURE__*/function (_ComponentProps2) {
|
|
103
73
|
_inheritsLoose(ExpansionPanelActionsProps, _ComponentProps2);
|
|
104
|
-
|
|
105
74
|
function ExpansionPanelActionsProps() {
|
|
106
75
|
var _this2;
|
|
107
|
-
|
|
108
76
|
_this2 = _ComponentProps2.call(this) || this;
|
|
109
|
-
|
|
110
77
|
_this2.componentProps.set(_this2.constructor.propNames.disableSpacing, null);
|
|
111
|
-
|
|
112
78
|
_this2._isExpansionPanelActionsProps = true;
|
|
113
79
|
return _this2;
|
|
114
80
|
}
|
|
115
|
-
|
|
116
81
|
var _proto2 = ExpansionPanelActionsProps.prototype;
|
|
117
|
-
|
|
118
82
|
// @ts-ignore
|
|
119
83
|
_proto2.__reactstandin__regenerateByEval = function __reactstandin__regenerateByEval(key, code) {
|
|
120
84
|
// @ts-ignore
|
|
121
85
|
this[key] = eval(code);
|
|
122
86
|
};
|
|
123
|
-
|
|
124
87
|
return ExpansionPanelActionsProps;
|
|
125
88
|
}(_componentProps.default);
|
|
126
|
-
|
|
127
89
|
exports.ExpansionPanelActionsProps = ExpansionPanelActionsProps;
|
|
128
|
-
|
|
129
90
|
_defineProperty(ExpansionPanelActionsProps, "propNames", {
|
|
130
91
|
disableSpacing: "disableSpacing"
|
|
131
92
|
});
|
|
132
|
-
|
|
133
93
|
var isExpansionPanelActionsProps = function isExpansionPanelActionsProps(value) {
|
|
134
94
|
if (value == null) return true;
|
|
135
95
|
return typeof value === "object" && (value instanceof ExpansionPanelProps || value._isExpansionPanelActionsProps === true);
|
|
136
96
|
};
|
|
137
|
-
|
|
138
97
|
exports.isExpansionPanelActionsProps = isExpansionPanelActionsProps;
|
|
139
98
|
;
|
|
140
|
-
|
|
141
99
|
(function () {
|
|
142
100
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
143
|
-
|
|
144
101
|
if (!reactHotLoader) {
|
|
145
102
|
return;
|
|
146
103
|
}
|
|
147
|
-
|
|
148
104
|
reactHotLoader.register(ExpansionPanelProps, "ExpansionPanelProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/expansionPanelProps.js");
|
|
149
105
|
reactHotLoader.register(isExpansionPanelProps, "isExpansionPanelProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/expansionPanelProps.js");
|
|
150
106
|
reactHotLoader.register(ExpansionPanelActionsProps, "ExpansionPanelActionsProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/expansionPanelProps.js");
|
|
151
107
|
reactHotLoader.register(isExpansionPanelActionsProps, "isExpansionPanelActionsProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/expansionPanelProps.js");
|
|
152
108
|
})();
|
|
153
|
-
|
|
154
109
|
;
|
|
155
|
-
|
|
156
110
|
(function () {
|
|
157
111
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
158
112
|
leaveModule && leaveModule(module);
|
|
159
113
|
})();
|
|
160
|
-
|
|
161
114
|
;
|
|
162
|
-
|
|
163
115
|
(function () {
|
|
164
116
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
165
|
-
|
|
166
117
|
if (!reactHotLoader) {
|
|
167
118
|
return;
|
|
168
119
|
}
|
|
169
|
-
|
|
170
120
|
reactHotLoader.register(ExpansionPanelProps, "ExpansionPanelProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/expansionPanelProps.js");
|
|
171
121
|
reactHotLoader.register(isExpansionPanelProps, "isExpansionPanelProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/expansionPanelProps.js");
|
|
172
122
|
reactHotLoader.register(ExpansionPanelActionsProps, "ExpansionPanelActionsProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/expansionPanelProps.js");
|
|
173
123
|
reactHotLoader.register(isExpansionPanelActionsProps, "isExpansionPanelActionsProps", "/home/vsts/work/1/s/src/components/MaterialUI/Surfaces/expansionPanelProps.js");
|
|
174
124
|
})();
|
|
175
|
-
|
|
176
125
|
;
|
|
177
|
-
|
|
178
126
|
(function () {
|
|
179
127
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
180
128
|
leaveModule && leaveModule(module);
|