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,91 +2,62 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.sortTypeEnum = exports.isSelectProps = exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _componentProps = _interopRequireDefault(require("../componentProps"));
|
|
7
|
-
|
|
8
6
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
-
|
|
10
7
|
(function () {
|
|
11
8
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
12
9
|
enterModule && enterModule(module);
|
|
13
10
|
})();
|
|
14
|
-
|
|
15
11
|
(function () {
|
|
16
12
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
17
13
|
enterModule && enterModule(module);
|
|
18
14
|
})();
|
|
19
|
-
|
|
20
15
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
|
|
21
|
-
|
|
22
16
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
23
|
-
|
|
24
|
-
function
|
|
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 sortTypeEnum = {
|
|
35
27
|
none: 0,
|
|
36
28
|
default: 1,
|
|
37
29
|
numeric: 2
|
|
38
30
|
};
|
|
39
31
|
exports.sortTypeEnum = sortTypeEnum;
|
|
40
|
-
|
|
41
32
|
var SelectProps = /*#__PURE__*/function (_ComponentProps) {
|
|
42
33
|
_inheritsLoose(SelectProps, _ComponentProps);
|
|
43
|
-
|
|
44
34
|
function SelectProps() {
|
|
45
35
|
var _this;
|
|
46
|
-
|
|
47
36
|
_this = _ComponentProps.call(this) || this;
|
|
48
|
-
|
|
49
37
|
_this.componentProps.set(_this.constructor.propNames.update, null);
|
|
50
|
-
|
|
51
38
|
_this.componentProps.set(_this.constructor.propNames.value, null);
|
|
52
|
-
|
|
53
39
|
_this.componentProps.set(_this.constructor.propNames.sortType, null);
|
|
54
|
-
|
|
55
40
|
_this.componentProps.set(_this.constructor.propNames.showAllValue, null);
|
|
56
|
-
|
|
57
41
|
_this.componentProps.set(_this.constructor.propNames.showAllLabel, null);
|
|
58
|
-
|
|
59
42
|
_this.componentProps.set(_this.constructor.propNames.positionOverride, null);
|
|
60
|
-
|
|
61
43
|
_this.componentProps.set(_this.constructor.propNames.iconSelect, null);
|
|
62
|
-
|
|
63
44
|
_this.componentProps.set(_this.constructor.propNames.disabled, null);
|
|
64
|
-
|
|
65
45
|
_this.componentProps.set(_this.constructor.propNames.error, null);
|
|
66
|
-
|
|
67
46
|
_this.componentProps.set(_this.constructor.propNames.native, null);
|
|
68
|
-
|
|
69
47
|
_this.componentProps.set(_this.constructor.propNames.inputProps, null);
|
|
70
|
-
|
|
71
48
|
_this.componentClasses.set(_this.constructor.ruleNames.root, null);
|
|
72
|
-
|
|
73
49
|
_this.componentClasses.set(_this.constructor.ruleNames.paper, null);
|
|
74
|
-
|
|
75
50
|
_this._isSelectProps = true;
|
|
76
51
|
return _this;
|
|
77
52
|
}
|
|
78
|
-
|
|
79
53
|
var _proto = SelectProps.prototype;
|
|
80
|
-
|
|
81
54
|
// @ts-ignore
|
|
82
55
|
_proto.__reactstandin__regenerateByEval = function __reactstandin__regenerateByEval(key, code) {
|
|
83
56
|
// @ts-ignore
|
|
84
57
|
this[key] = eval(code);
|
|
85
58
|
};
|
|
86
|
-
|
|
87
59
|
return SelectProps;
|
|
88
60
|
}(_componentProps.default);
|
|
89
|
-
|
|
90
61
|
_defineProperty(SelectProps, "propNames", {
|
|
91
62
|
update: "update",
|
|
92
63
|
value: "value",
|
|
@@ -100,61 +71,47 @@ _defineProperty(SelectProps, "propNames", {
|
|
|
100
71
|
native: "native",
|
|
101
72
|
inputProps: "inputProps"
|
|
102
73
|
});
|
|
103
|
-
|
|
104
74
|
_defineProperty(SelectProps, "ruleNames", {
|
|
105
75
|
root: "root",
|
|
106
76
|
paper: "paper"
|
|
107
77
|
});
|
|
108
|
-
|
|
109
78
|
var isSelectProps = function isSelectProps(value) {
|
|
110
79
|
if (value == null) return true;
|
|
111
80
|
return typeof value === "object" && (value instanceof SelectProps || value._isSelectProps === true);
|
|
112
81
|
};
|
|
113
|
-
|
|
114
82
|
exports.isSelectProps = isSelectProps;
|
|
115
83
|
var _default = SelectProps;
|
|
116
84
|
var _default2 = _default;
|
|
117
85
|
var _default3 = _default2;
|
|
118
86
|
exports.default = _default3;
|
|
119
87
|
;
|
|
120
|
-
|
|
121
88
|
(function () {
|
|
122
89
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
123
|
-
|
|
124
90
|
if (!reactHotLoader) {
|
|
125
91
|
return;
|
|
126
92
|
}
|
|
127
|
-
|
|
128
93
|
reactHotLoader.register(sortTypeEnum, "sortTypeEnum", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SelectProps.js");
|
|
129
94
|
reactHotLoader.register(SelectProps, "SelectProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SelectProps.js");
|
|
130
95
|
reactHotLoader.register(isSelectProps, "isSelectProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SelectProps.js");
|
|
131
96
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SelectProps.js");
|
|
132
97
|
})();
|
|
133
|
-
|
|
134
98
|
;
|
|
135
|
-
|
|
136
99
|
(function () {
|
|
137
100
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
138
101
|
leaveModule && leaveModule(module);
|
|
139
102
|
})();
|
|
140
|
-
|
|
141
103
|
;
|
|
142
|
-
|
|
143
104
|
(function () {
|
|
144
105
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
145
|
-
|
|
146
106
|
if (!reactHotLoader) {
|
|
147
107
|
return;
|
|
148
108
|
}
|
|
149
|
-
|
|
150
109
|
reactHotLoader.register(sortTypeEnum, "sortTypeEnum", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SelectProps.js");
|
|
151
110
|
reactHotLoader.register(SelectProps, "SelectProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SelectProps.js");
|
|
152
111
|
reactHotLoader.register(isSelectProps, "isSelectProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SelectProps.js");
|
|
153
112
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SelectProps.js");
|
|
154
113
|
})();
|
|
155
|
-
|
|
156
114
|
;
|
|
157
|
-
|
|
158
115
|
(function () {
|
|
159
116
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
160
117
|
leaveModule && leaveModule(module);
|
|
@@ -2,43 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _react = _interopRequireDefault(require("react"));
|
|
7
|
-
|
|
8
6
|
var _Radio = _interopRequireDefault(require("@material-ui/core/Radio"));
|
|
9
|
-
|
|
10
7
|
var _standaloneRadioProps = _interopRequireWildcard(require("./standaloneRadioProps"));
|
|
11
|
-
|
|
12
8
|
var _styles = require("@material-ui/core/styles");
|
|
13
|
-
|
|
14
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
15
|
-
|
|
16
10
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
|
-
|
|
18
11
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
|
-
|
|
20
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
|
-
|
|
22
13
|
(function () {
|
|
23
14
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
24
15
|
enterModule && enterModule(module);
|
|
25
16
|
})();
|
|
26
|
-
|
|
27
17
|
(function () {
|
|
28
18
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
29
19
|
enterModule && enterModule(module);
|
|
30
20
|
})();
|
|
31
|
-
|
|
32
|
-
function
|
|
33
|
-
|
|
21
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
23
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
34
24
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
35
25
|
return a;
|
|
36
26
|
};
|
|
37
|
-
|
|
38
27
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
39
28
|
return a;
|
|
40
29
|
};
|
|
41
|
-
|
|
42
30
|
var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
43
31
|
return {
|
|
44
32
|
radioIcon: {
|
|
@@ -101,17 +89,13 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
101
89
|
}
|
|
102
90
|
};
|
|
103
91
|
});
|
|
104
|
-
|
|
105
92
|
var StandaloneRadio = function StandaloneRadio(_ref) {
|
|
106
93
|
var _classNames, _classNames2;
|
|
107
|
-
|
|
108
94
|
var radioProps = _ref.radioProps;
|
|
109
95
|
var classes = useStyles();
|
|
110
|
-
|
|
111
96
|
if ((0, _standaloneRadioProps.isStandaloneRadioProps)(radioProps) === false) {
|
|
112
97
|
throw new TypeError("radioProps property is not of type RadioProps");
|
|
113
98
|
}
|
|
114
|
-
|
|
115
99
|
var checked = (radioProps == null ? void 0 : radioProps.get(_standaloneRadioProps.default.propNames.checked)) || false;
|
|
116
100
|
var disabled = (radioProps == null ? void 0 : radioProps.get(_standaloneRadioProps.default.propNames.disabled)) || false;
|
|
117
101
|
var onChange = (radioProps == null ? void 0 : radioProps.get(_standaloneRadioProps.default.propNames.onChange)) || null;
|
|
@@ -123,7 +107,6 @@ var StandaloneRadio = function StandaloneRadio(_ref) {
|
|
|
123
107
|
var clickHandler = onChange != null ? function (event) {
|
|
124
108
|
return onChange(event.target.value, name);
|
|
125
109
|
} : null;
|
|
126
|
-
|
|
127
110
|
var radio = /*#__PURE__*/_react.default.createElement(_Radio.default, {
|
|
128
111
|
checked: checked,
|
|
129
112
|
disabled: disabled,
|
|
@@ -142,59 +125,44 @@ var StandaloneRadio = function StandaloneRadio(_ref) {
|
|
|
142
125
|
root: (0, _classnames.default)(classes.root, radioProps == null ? void 0 : radioProps.getStyle(_standaloneRadioProps.default.ruleNames.root), readOnly && checked ? classes.cursorDefault : null)
|
|
143
126
|
}
|
|
144
127
|
});
|
|
145
|
-
|
|
146
128
|
return radio;
|
|
147
129
|
};
|
|
148
|
-
|
|
149
130
|
__signature__(StandaloneRadio, "useStyles{classes}", function () {
|
|
150
131
|
return [useStyles];
|
|
151
132
|
});
|
|
152
|
-
|
|
153
133
|
__signature__(StandaloneRadio, "useStyles{classes}", function () {
|
|
154
134
|
return [useStyles];
|
|
155
135
|
});
|
|
156
|
-
|
|
157
136
|
var _default = StandaloneRadio;
|
|
158
137
|
var _default2 = _default;
|
|
159
138
|
var _default3 = _default2;
|
|
160
139
|
exports.default = _default3;
|
|
161
140
|
;
|
|
162
|
-
|
|
163
141
|
(function () {
|
|
164
142
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
165
|
-
|
|
166
143
|
if (!reactHotLoader) {
|
|
167
144
|
return;
|
|
168
145
|
}
|
|
169
|
-
|
|
170
146
|
reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/StandaloneRadio.js");
|
|
171
147
|
reactHotLoader.register(StandaloneRadio, "StandaloneRadio", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/StandaloneRadio.js");
|
|
172
148
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/StandaloneRadio.js");
|
|
173
149
|
})();
|
|
174
|
-
|
|
175
150
|
;
|
|
176
|
-
|
|
177
151
|
(function () {
|
|
178
152
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
179
153
|
leaveModule && leaveModule(module);
|
|
180
154
|
})();
|
|
181
|
-
|
|
182
155
|
;
|
|
183
|
-
|
|
184
156
|
(function () {
|
|
185
157
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
186
|
-
|
|
187
158
|
if (!reactHotLoader) {
|
|
188
159
|
return;
|
|
189
160
|
}
|
|
190
|
-
|
|
191
161
|
reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/StandaloneRadio.js");
|
|
192
162
|
reactHotLoader.register(StandaloneRadio, "StandaloneRadio", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/StandaloneRadio.js");
|
|
193
163
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/StandaloneRadio.js");
|
|
194
164
|
})();
|
|
195
|
-
|
|
196
165
|
;
|
|
197
|
-
|
|
198
166
|
(function () {
|
|
199
167
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
200
168
|
leaveModule && leaveModule(module);
|
|
@@ -2,47 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.useStyles = exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _react = _interopRequireDefault(require("react"));
|
|
7
|
-
|
|
8
6
|
var _Switch = _interopRequireDefault(require("@material-ui/core/Switch"));
|
|
9
|
-
|
|
10
7
|
var _styles = require("@material-ui/core/styles");
|
|
11
|
-
|
|
12
8
|
var _SwitchProps = _interopRequireWildcard(require("./SwitchProps"));
|
|
13
|
-
|
|
14
9
|
var _reactIntl = require("react-intl");
|
|
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
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
33
|
-
|
|
34
22
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
35
|
-
|
|
36
|
-
function
|
|
37
|
-
|
|
23
|
+
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; }
|
|
24
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
25
|
+
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); }
|
|
38
26
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
39
27
|
return a;
|
|
40
28
|
};
|
|
41
|
-
|
|
42
29
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
43
30
|
return a;
|
|
44
31
|
};
|
|
45
|
-
|
|
46
32
|
var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
47
33
|
return {
|
|
48
34
|
root: {
|
|
@@ -129,17 +115,13 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
129
115
|
};
|
|
130
116
|
});
|
|
131
117
|
exports.useStyles = useStyles;
|
|
132
|
-
|
|
133
118
|
var Switch = function Switch(_ref) {
|
|
134
119
|
var switchProps = _ref.switchProps;
|
|
135
|
-
|
|
136
120
|
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
137
|
-
|
|
138
|
-
|
|
121
|
+
formatMessage = _useIntl.formatMessage;
|
|
139
122
|
if ((0, _SwitchProps.isSwitchProps)(switchProps) === false) {
|
|
140
123
|
throw new TypeError("switchProps property is not of type SwitchProps");
|
|
141
124
|
}
|
|
142
|
-
|
|
143
125
|
var update = switchProps == null ? void 0 : switchProps.get(_SwitchProps.default.propNames.update);
|
|
144
126
|
var value = (switchProps == null ? void 0 : switchProps.get(_SwitchProps.default.propNames.value)) || false;
|
|
145
127
|
var onCaption = switchProps == null ? void 0 : switchProps.get(_SwitchProps.default.propNames.onCaption);
|
|
@@ -155,9 +137,7 @@ var Switch = function Switch(_ref) {
|
|
|
155
137
|
formattedOffCaption: formattedOffCaption,
|
|
156
138
|
readOnly: readOnly
|
|
157
139
|
});
|
|
158
|
-
|
|
159
140
|
var switchClasses = _objectSpread(_objectSpread({}, classes), className);
|
|
160
|
-
|
|
161
141
|
return /*#__PURE__*/_react.default.createElement(_Switch.default, {
|
|
162
142
|
disabled: disabled,
|
|
163
143
|
classes: switchClasses,
|
|
@@ -168,56 +148,42 @@ var Switch = function Switch(_ref) {
|
|
|
168
148
|
color: "primary"
|
|
169
149
|
});
|
|
170
150
|
};
|
|
171
|
-
|
|
172
151
|
__signature__(Switch, "useIntl{{ formatMessage }}\nuseStyles{classes}", function () {
|
|
173
152
|
return [_reactIntl.useIntl, useStyles];
|
|
174
153
|
});
|
|
175
|
-
|
|
176
154
|
__signature__(Switch, "useIntl{{ formatMessage }}\nuseStyles{classes}", function () {
|
|
177
155
|
return [_reactIntl.useIntl, useStyles];
|
|
178
156
|
});
|
|
179
|
-
|
|
180
157
|
var _default = Switch;
|
|
181
158
|
var _default2 = _default;
|
|
182
159
|
var _default3 = _default2;
|
|
183
160
|
exports.default = _default3;
|
|
184
161
|
;
|
|
185
|
-
|
|
186
162
|
(function () {
|
|
187
163
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
188
|
-
|
|
189
164
|
if (!reactHotLoader) {
|
|
190
165
|
return;
|
|
191
166
|
}
|
|
192
|
-
|
|
193
167
|
reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/Switch.js");
|
|
194
168
|
reactHotLoader.register(Switch, "Switch", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/Switch.js");
|
|
195
169
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/Switch.js");
|
|
196
170
|
})();
|
|
197
|
-
|
|
198
171
|
;
|
|
199
|
-
|
|
200
172
|
(function () {
|
|
201
173
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
202
174
|
leaveModule && leaveModule(module);
|
|
203
175
|
})();
|
|
204
|
-
|
|
205
176
|
;
|
|
206
|
-
|
|
207
177
|
(function () {
|
|
208
178
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
209
|
-
|
|
210
179
|
if (!reactHotLoader) {
|
|
211
180
|
return;
|
|
212
181
|
}
|
|
213
|
-
|
|
214
182
|
reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/Switch.js");
|
|
215
183
|
reactHotLoader.register(Switch, "Switch", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/Switch.js");
|
|
216
184
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/Switch.js");
|
|
217
185
|
})();
|
|
218
|
-
|
|
219
186
|
;
|
|
220
|
-
|
|
221
187
|
(function () {
|
|
222
188
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
223
189
|
leaveModule && leaveModule(module);
|
|
@@ -2,76 +2,52 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.isSwitchProps = exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _componentProps = _interopRequireDefault(require("../componentProps"));
|
|
7
|
-
|
|
8
6
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
-
|
|
10
7
|
(function () {
|
|
11
8
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
12
9
|
enterModule && enterModule(module);
|
|
13
10
|
})();
|
|
14
|
-
|
|
15
11
|
(function () {
|
|
16
12
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
17
13
|
enterModule && enterModule(module);
|
|
18
14
|
})();
|
|
19
|
-
|
|
20
15
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
|
|
21
|
-
|
|
22
16
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
23
|
-
|
|
24
|
-
function
|
|
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 SwitchProps = /*#__PURE__*/function (_ComponentProps) {
|
|
35
27
|
_inheritsLoose(SwitchProps, _ComponentProps);
|
|
36
|
-
|
|
37
28
|
function SwitchProps() {
|
|
38
29
|
var _this;
|
|
39
|
-
|
|
40
30
|
_this = _ComponentProps.call(this) || this;
|
|
41
|
-
|
|
42
31
|
_this.componentProps.set(_this.constructor.propNames.update, null);
|
|
43
|
-
|
|
44
32
|
_this.componentProps.set(_this.constructor.propNames.value, null);
|
|
45
|
-
|
|
46
33
|
_this.componentProps.set(_this.constructor.propNames.onCaption, null);
|
|
47
|
-
|
|
48
34
|
_this.componentProps.set(_this.constructor.propNames.offCaption, null);
|
|
49
|
-
|
|
50
35
|
_this.componentProps.set(_this.constructor.propNames.disabled, null);
|
|
51
|
-
|
|
52
36
|
_this.componentProps.set(_this.constructor.propNames.readOnly, null);
|
|
53
|
-
|
|
54
37
|
_this.componentProps.set(_this.constructor.propNames.className, null);
|
|
55
|
-
|
|
56
38
|
_this.componentProps.set(_this.constructor.propNames.id, null);
|
|
57
|
-
|
|
58
39
|
_this.componentProps.set(_this.constructor.propNames.metadata, null);
|
|
59
|
-
|
|
60
40
|
_this._isSwitchProps = true;
|
|
61
41
|
return _this;
|
|
62
42
|
}
|
|
63
|
-
|
|
64
43
|
var _proto = SwitchProps.prototype;
|
|
65
|
-
|
|
66
44
|
// @ts-ignore
|
|
67
45
|
_proto.__reactstandin__regenerateByEval = function __reactstandin__regenerateByEval(key, code) {
|
|
68
46
|
// @ts-ignore
|
|
69
47
|
this[key] = eval(code);
|
|
70
48
|
};
|
|
71
|
-
|
|
72
49
|
return SwitchProps;
|
|
73
50
|
}(_componentProps.default);
|
|
74
|
-
|
|
75
51
|
_defineProperty(SwitchProps, "propNames", {
|
|
76
52
|
update: "update",
|
|
77
53
|
value: "value",
|
|
@@ -83,54 +59,41 @@ _defineProperty(SwitchProps, "propNames", {
|
|
|
83
59
|
id: "id",
|
|
84
60
|
metadata: "metadata"
|
|
85
61
|
});
|
|
86
|
-
|
|
87
62
|
var isSwitchProps = function isSwitchProps(value) {
|
|
88
63
|
if (value == null) return true;
|
|
89
64
|
return typeof value === "object" && (value instanceof SwitchProps || value._isSwitchProps === true);
|
|
90
65
|
};
|
|
91
|
-
|
|
92
66
|
exports.isSwitchProps = isSwitchProps;
|
|
93
67
|
var _default = SwitchProps;
|
|
94
68
|
var _default2 = _default;
|
|
95
69
|
var _default3 = _default2;
|
|
96
70
|
exports.default = _default3;
|
|
97
71
|
;
|
|
98
|
-
|
|
99
72
|
(function () {
|
|
100
73
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
101
|
-
|
|
102
74
|
if (!reactHotLoader) {
|
|
103
75
|
return;
|
|
104
76
|
}
|
|
105
|
-
|
|
106
77
|
reactHotLoader.register(SwitchProps, "SwitchProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SwitchProps.js");
|
|
107
78
|
reactHotLoader.register(isSwitchProps, "isSwitchProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SwitchProps.js");
|
|
108
79
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SwitchProps.js");
|
|
109
80
|
})();
|
|
110
|
-
|
|
111
81
|
;
|
|
112
|
-
|
|
113
82
|
(function () {
|
|
114
83
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
115
84
|
leaveModule && leaveModule(module);
|
|
116
85
|
})();
|
|
117
|
-
|
|
118
86
|
;
|
|
119
|
-
|
|
120
87
|
(function () {
|
|
121
88
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
122
|
-
|
|
123
89
|
if (!reactHotLoader) {
|
|
124
90
|
return;
|
|
125
91
|
}
|
|
126
|
-
|
|
127
92
|
reactHotLoader.register(SwitchProps, "SwitchProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SwitchProps.js");
|
|
128
93
|
reactHotLoader.register(isSwitchProps, "isSwitchProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SwitchProps.js");
|
|
129
94
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SwitchProps.js");
|
|
130
95
|
})();
|
|
131
|
-
|
|
132
96
|
;
|
|
133
|
-
|
|
134
97
|
(function () {
|
|
135
98
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
136
99
|
leaveModule && leaveModule(module);
|