orc-shared 1.2.2-dev.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/applications.js +12 -50
- package/dist/actions/authentication.js +8 -43
- package/dist/actions/countries.js +4 -34
- package/dist/actions/locale.js +12 -52
- package/dist/actions/makeApiAction.js +6 -52
- package/dist/actions/makeOrcApiAction.js +0 -25
- package/dist/actions/metadata.js +60 -171
- package/dist/actions/modules.js +0 -26
- package/dist/actions/navigation.js +0 -32
- package/dist/actions/requestState.js +0 -18
- package/dist/actions/requestsApi.js +0 -17
- package/dist/actions/scopes.js +12 -54
- package/dist/actions/timezones.js +4 -34
- package/dist/actions/toasts.js +3 -23
- package/dist/actions/versionInfo.js +4 -37
- package/dist/actions/view.js +0 -38
- package/dist/buildStore.js +0 -52
- package/dist/components/AppFrame/About.js +3 -67
- package/dist/components/AppFrame/Anchor.js +1 -25
- package/dist/components/AppFrame/AppFrame.js +21 -90
- package/dist/components/AppFrame/ApplicationSelector/ApplicationDialog.js +4 -35
- package/dist/components/AppFrame/ApplicationSelector/Header.js +2 -32
- 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 +18 -71
- package/dist/components/AppFrame/Preferences.js +12 -76
- package/dist/components/AppFrame/Sidebar.js +9 -54
- package/dist/components/AppFrame/Topbar.js +9 -65
- package/dist/components/AppFrame/index.js +0 -20
- package/dist/components/AppFrame/useApplicationHelpUrl.js +0 -22
- package/dist/components/ApplicationModuleLoader.js +5 -44
- package/dist/components/Authenticate.js +5 -48
- package/dist/components/Button.js +0 -24
- package/dist/components/CategoryList.js +25 -80
- package/dist/components/Checkbox.js +4 -42
- package/dist/components/ColumnWrapper.js +0 -19
- package/dist/components/Culture.js +0 -29
- package/dist/components/DevPages.js +0 -21
- package/dist/components/DropMenu/Menu.js +4 -36
- package/dist/components/DropMenu/index.js +10 -48
- package/dist/components/ErrorPlaceholder.js +3 -31
- package/dist/components/Form/Combination.js +3 -28
- package/dist/components/Form/Field.js +7 -38
- package/dist/components/Form/FieldElements.js +10 -42
- package/dist/components/Form/FieldList.js +23 -89
- package/dist/components/Form/Fieldset.js +1 -27
- package/dist/components/Form/Form.js +6 -37
- package/dist/components/Form/FormElement.js +1 -20
- package/dist/components/Form/InputField.js +16 -65
- package/dist/components/Form/Inputs/Button.js +6 -36
- package/dist/components/Form/Inputs/Date.js +3 -29
- package/dist/components/Form/Inputs/FieldButtons.js +0 -25
- package/dist/components/Form/Inputs/Number.js +8 -47
- package/dist/components/Form/Inputs/ReadOnly.js +0 -29
- package/dist/components/Form/Inputs/SmallButton.js +7 -39
- package/dist/components/Form/Inputs/Text.js +9 -42
- package/dist/components/Form/Inputs/Time.js +5 -34
- package/dist/components/Form/Inputs/Toggles.js +6 -40
- package/dist/components/Form/Inputs/Translation.js +17 -76
- 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 +1 -29
- package/dist/components/Icon.js +1 -27
- package/dist/components/IconButton.js +2 -32
- package/dist/components/Input.js +3 -43
- package/dist/components/InternetExplorerWarningMessage.js +0 -31
- package/dist/components/List/DataCell.js +4 -43
- package/dist/components/List/HeadCell.js +3 -43
- package/dist/components/List/HeadRow.js +2 -25
- package/dist/components/List/List.js +35 -105
- package/dist/components/List/Row.js +7 -38
- package/dist/components/List/enhanceColumnDefs.js +0 -28
- package/dist/components/List/index.js +0 -20
- package/dist/components/Loader.js +3 -46
- package/dist/components/LoadingIcon.js +0 -24
- package/dist/components/MaterialUI/DataDisplay/Badge.js +2 -31
- package/dist/components/MaterialUI/DataDisplay/Chip.js +1 -33
- package/dist/components/MaterialUI/DataDisplay/CollapsableList.js +5 -49
- package/dist/components/MaterialUI/DataDisplay/Divider.js +0 -30
- package/dist/components/MaterialUI/DataDisplay/Icon.js +3 -29
- package/dist/components/MaterialUI/DataDisplay/List.js +16 -55
- package/dist/components/MaterialUI/DataDisplay/Modal.js +1 -36
- package/dist/components/MaterialUI/DataDisplay/Notification.js +12 -66
- package/dist/components/MaterialUI/DataDisplay/NotificationProps.js +1 -34
- package/dist/components/MaterialUI/DataDisplay/PopperedElements/PopperedIcon.js +1 -23
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/ActionModal.js +5 -37
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/Address.js +1 -33
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/ConfirmationModal.js +7 -28
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/DiscountedPrice.js +2 -32
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/InformationItem.js +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 +12 -58
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/TableInfoBar.js +0 -29
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/Translations.js +11 -57
- package/dist/components/MaterialUI/DataDisplay/SelectionList.js +21 -68
- package/dist/components/MaterialUI/DataDisplay/Table.js +33 -122
- package/dist/components/MaterialUI/DataDisplay/TableHeaderCell.js +0 -35
- package/dist/components/MaterialUI/DataDisplay/TableProps.js +1 -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 +6 -45
- package/dist/components/MaterialUI/DataDisplay/TooltippedElements/TooltippedIcon.js +4 -30
- package/dist/components/MaterialUI/DataDisplay/TooltippedElements/TooltippedTypography.js +1 -22
- package/dist/components/MaterialUI/DataDisplay/TransferList.js +28 -95
- package/dist/components/MaterialUI/DataDisplay/chipProps.js +1 -38
- package/dist/components/MaterialUI/DataDisplay/collapsableListProps.js +1 -37
- package/dist/components/MaterialUI/DataDisplay/dividerProps.js +1 -41
- package/dist/components/MaterialUI/DataDisplay/index.js +0 -33
- package/dist/components/MaterialUI/DataDisplay/modalProps.js +1 -36
- package/dist/components/MaterialUI/DataDisplay/tableHelpers.js +3 -66
- package/dist/components/MaterialUI/DataDisplay/useTableSelection.js +6 -45
- package/dist/components/MaterialUI/Feedback/NotificationContext.js +3 -38
- package/dist/components/MaterialUI/Feedback/loadingScreen.js +3 -42
- package/dist/components/MaterialUI/Feedback/useNotification.js +0 -21
- package/dist/components/MaterialUI/Inputs/Autocomplete.js +3 -44
- package/dist/components/MaterialUI/Inputs/AutocompleteProps.js +1 -37
- package/dist/components/MaterialUI/Inputs/Checkbox.js +0 -39
- package/dist/components/MaterialUI/Inputs/CheckboxGroup.js +0 -42
- package/dist/components/MaterialUI/Inputs/CheckboxGroupProps.js +1 -38
- package/dist/components/MaterialUI/Inputs/CheckboxProps.js +1 -39
- package/dist/components/MaterialUI/Inputs/DatePicker.js +14 -52
- package/dist/components/MaterialUI/Inputs/InputBase.js +5 -54
- package/dist/components/MaterialUI/Inputs/InputBaseProps.js +1 -49
- package/dist/components/MaterialUI/Inputs/PredefinedElements/SearchControl.js +10 -63
- package/dist/components/MaterialUI/Inputs/PredefinedElements/TitledSelect.js +3 -31
- package/dist/components/MaterialUI/Inputs/Radio.js +8 -54
- package/dist/components/MaterialUI/Inputs/RadioProps.js +1 -41
- package/dist/components/MaterialUI/Inputs/Select.js +6 -70
- package/dist/components/MaterialUI/Inputs/SelectProps.js +1 -46
- package/dist/components/MaterialUI/Inputs/StandaloneRadio.js +0 -34
- package/dist/components/MaterialUI/Inputs/Switch.js +1 -37
- package/dist/components/MaterialUI/Inputs/SwitchProps.js +1 -40
- package/dist/components/MaterialUI/Inputs/TimePicker.js +12 -89
- package/dist/components/MaterialUI/Inputs/createInput.js +3 -30
- package/dist/components/MaterialUI/Inputs/index.js +0 -35
- package/dist/components/MaterialUI/Inputs/standaloneRadioProps.js +1 -41
- package/dist/components/MaterialUI/Navigation/DropDownMenu.js +10 -54
- package/dist/components/MaterialUI/Navigation/DropDownMenuProps.js +1 -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 +21 -102
- package/dist/components/MaterialUI/Navigation/TabLabel.js +5 -39
- package/dist/components/MaterialUI/ScopeSelector/ScopeSelector.js +7 -42
- package/dist/components/MaterialUI/ScopeSelector/ScopeTreeView.js +20 -60
- package/dist/components/MaterialUI/ScopeSelector/TreeItem.js +13 -67
- package/dist/components/MaterialUI/Surfaces/ExpansionPanel.js +13 -53
- package/dist/components/MaterialUI/Surfaces/Paper.js +1 -31
- package/dist/components/MaterialUI/Surfaces/PredefinedElements/TitledPaper.js +3 -28
- package/dist/components/MaterialUI/Surfaces/SectionExpansionPanel.js +17 -60
- package/dist/components/MaterialUI/Surfaces/expansionPanelProps.js +1 -55
- package/dist/components/MaterialUI/Surfaces/paperProps.js +1 -36
- package/dist/components/MaterialUI/componentProps.js +0 -28
- package/dist/components/MaterialUI/hocs/withDeferredPopper.js +9 -58
- package/dist/components/MaterialUI/hocs/withDeferredTooltip.js +7 -43
- package/dist/components/MaterialUI/muiThemes.js +2 -56
- package/dist/components/MaterialUI/textProps.js +1 -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 +6 -42
- package/dist/components/Modules.js +18 -90
- package/dist/components/MultiSelector.js +20 -73
- package/dist/components/Navigation/Bar.js +24 -87
- package/dist/components/Navigation/Tab.js +20 -72
- package/dist/components/Navigation/index.js +2 -21
- package/dist/components/Navigation/useNavigationState.js +85 -172
- package/dist/components/Placeholder.js +6 -44
- package/dist/components/Provision.js +4 -36
- package/dist/components/Routing/FullPage.js +14 -37
- package/dist/components/Routing/Page.js +13 -50
- package/dist/components/Routing/Segment.js +5 -30
- package/dist/components/Routing/SegmentPage.js +25 -105
- package/dist/components/Routing/SubPage.js +7 -55
- package/dist/components/Routing/withWaypointing.js +3 -36
- package/dist/components/Scope/ScopeModificationConfirmationDialog.js +3 -30
- package/dist/components/Scope/ScopeNode.js +6 -47
- package/dist/components/Scope/Selector.js +8 -44
- package/dist/components/Scope/index.js +24 -93
- package/dist/components/Scope/useScopeConfirmationModalState.js +11 -74
- package/dist/components/Scope/useScopeData.js +0 -25
- package/dist/components/Scope/useScopeSelect.js +0 -26
- package/dist/components/Selector.js +14 -75
- package/dist/components/Sidepanel.js +0 -28
- package/dist/components/Spritesheet.js +0 -26
- package/dist/components/Switch.js +12 -52
- package/dist/components/Text.js +4 -48
- package/dist/components/ToastList.js +5 -45
- package/dist/components/Toolbar.js +17 -75
- 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 +15 -55
- package/dist/components/Treeview/index.js +20 -63
- package/dist/components/Treeview/settings.js +0 -17
- package/dist/constants.js +2 -17
- package/dist/getTheme.js +0 -29
- package/dist/getThemeOverrides.js +0 -21
- package/dist/hocs/routingConnector.js +0 -21
- package/dist/hocs/withAuthentication.js +4 -26
- package/dist/hocs/withClickOutside.js +3 -29
- package/dist/hocs/withErrorBoundary.js +4 -39
- package/dist/hocs/withId.js +2 -31
- package/dist/hocs/withInfiniteScroll.js +15 -32
- package/dist/hocs/withInitialLoad.js +0 -20
- package/dist/hocs/withLocaleSwitch.js +0 -19
- package/dist/hocs/withNavigationLink.js +3 -30
- package/dist/hocs/withRequestActivity.js +0 -21
- package/dist/hocs/withScopeData.js +4 -31
- package/dist/hocs/withScrollBox.js +3 -32
- package/dist/hocs/withToggle.js +4 -34
- package/dist/hocs/withUpdateHandler.js +0 -22
- package/dist/hocs/withViewState.js +3 -30
- package/dist/hooks/useDispatchWithModulesData.js +0 -26
- package/dist/hooks/useEditState.js +3 -102
- package/dist/hooks/useEntityLoader.js +13 -64
- package/dist/hooks/useFullEntityEditState.js +4 -53
- package/dist/hooks/useInfiniteScroll.js +3 -31
- package/dist/hooks/useLabelMessage.js +0 -41
- package/dist/hooks/useLoader.js +0 -27
- package/dist/hooks/useMultipleFieldEditState.js +0 -39
- package/dist/hooks/useNavigationHandler.js +3 -28
- package/dist/hooks/useNotificationRequestState.js +14 -46
- package/dist/hooks/usePreviousModified.js +0 -24
- package/dist/hooks/useRequestState.js +8 -38
- package/dist/hooks/useSelectorAndUnwrap.js +0 -23
- package/dist/hooks/useToggle.js +3 -33
- package/dist/hooks/useViewState.js +0 -23
- package/dist/index.js +1 -2
- package/dist/reducers/applications.js +0 -23
- package/dist/reducers/authentication.js +4 -35
- package/dist/reducers/countries.js +0 -25
- package/dist/reducers/localeFactory.js +0 -30
- package/dist/reducers/metadata.js +2 -62
- package/dist/reducers/modules.js +0 -36
- package/dist/reducers/navigation.js +8 -47
- package/dist/reducers/request.js +0 -28
- package/dist/reducers/requestStates.js +0 -42
- package/dist/reducers/scopes.js +0 -28
- package/dist/reducers/settings.js +4 -39
- package/dist/reducers/timezones.js +0 -25
- package/dist/reducers/toasts.js +0 -27
- package/dist/reducers/versionInfo.js +0 -24
- package/dist/reducers/view.js +36 -84
- package/dist/schemas/countries.js +0 -17
- package/dist/schemas/definitions.js +0 -17
- package/dist/schemas/metadata.js +0 -17
- package/dist/schemas/productDefinitions.js +0 -17
- package/dist/schemas/scopes.js +0 -17
- package/dist/schemas/timezones.js +0 -17
- package/dist/selectors/applications.js +0 -20
- package/dist/selectors/authentication.js +0 -40
- package/dist/selectors/countries.js +0 -22
- package/dist/selectors/locale.js +1 -29
- package/dist/selectors/metadata.js +1 -44
- package/dist/selectors/modules.js +0 -21
- package/dist/selectors/navigation.js +9 -39
- package/dist/selectors/requestStates.js +0 -22
- package/dist/selectors/requests.js +2 -22
- package/dist/selectors/route.js +0 -21
- package/dist/selectors/scope.js +0 -32
- package/dist/selectors/settings.js +0 -18
- package/dist/selectors/timezones.js +0 -19
- package/dist/selectors/versionInfo.js +0 -18
- package/dist/selectors/view.js +3 -74
- package/dist/sharedMessages.js +0 -17
- package/dist/spawnerMiddleware.js +0 -24
- package/dist/utils/buildUrl.js +5 -36
- package/dist/utils/countryHelper.js +0 -18
- package/dist/utils/curry.js +0 -19
- package/dist/utils/debounce.js +1 -20
- package/dist/utils/displayModeHelper.js +0 -24
- package/dist/utils/domHelper.js +0 -17
- package/dist/utils/flatten.js +2 -35
- package/dist/utils/index.js +0 -31
- package/dist/utils/insertIcons.js +0 -21
- package/dist/utils/localizationHelper.js +0 -26
- package/dist/utils/logPass.js +1 -22
- package/dist/utils/mapHelper.js +1 -25
- package/dist/utils/memoize.js +0 -23
- package/dist/utils/modelValidationHelper.js +0 -41
- package/dist/utils/normalizeForSearch.js +2 -19
- package/dist/utils/objectHelper.js +0 -22
- package/dist/utils/parseHelper.js +0 -32
- package/dist/utils/profilerHelper.js +0 -18
- package/dist/utils/propertyHelper.js +1 -38
- package/dist/utils/propertyValidator.js +0 -25
- package/dist/utils/requestProcessingHelper.js +0 -24
- package/dist/utils/safeGet.js +0 -18
- package/dist/utils/setTranslation.js +0 -27
- package/dist/utils/setTranslationWithFallback.js +0 -32
- package/dist/utils/stripKey.js +1 -23
- package/dist/utils/styledPropFuncs.js +3 -29
- package/dist/utils/testUtils.js +19 -86
- package/dist/utils/timezoneHelper.js +0 -31
- package/dist/utils/unwrapImmutable.js +0 -19
- package/dist/utils/urlHelper.js +2 -27
- package/dist/whyDidYouRerender.js +0 -5
- package/package.json +1 -1
- package/src/utils/testUtils.js +10 -1
|
@@ -2,68 +2,46 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.isAutocompleteProps = exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _componentProps = _interopRequireDefault(require("../componentProps"));
|
|
7
|
-
|
|
8
6
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
-
|
|
10
7
|
(function () {
|
|
11
8
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
12
9
|
enterModule && enterModule(module);
|
|
13
10
|
})();
|
|
14
|
-
|
|
15
11
|
(function () {
|
|
16
12
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
17
13
|
enterModule && enterModule(module);
|
|
18
14
|
})();
|
|
19
|
-
|
|
20
15
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
|
|
21
|
-
|
|
22
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
23
|
-
|
|
16
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
24
17
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25
|
-
|
|
26
18
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
27
19
|
return a;
|
|
28
20
|
};
|
|
29
|
-
|
|
30
21
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31
22
|
return a;
|
|
32
23
|
};
|
|
33
|
-
|
|
34
24
|
var AutocompleteProps = /*#__PURE__*/function (_ComponentProps) {
|
|
35
25
|
_inheritsLoose(AutocompleteProps, _ComponentProps);
|
|
36
|
-
|
|
37
26
|
function AutocompleteProps() {
|
|
38
27
|
var _this;
|
|
39
|
-
|
|
40
28
|
_this = _ComponentProps.call(this) || this;
|
|
41
|
-
|
|
42
29
|
_this.componentProps.set(_this.constructor.propNames.update, null);
|
|
43
|
-
|
|
44
30
|
_this.componentProps.set(_this.constructor.propNames.value, null);
|
|
45
|
-
|
|
46
31
|
_this.componentProps.set(_this.constructor.propNames.disabled, null);
|
|
47
|
-
|
|
48
32
|
_this.componentProps.set(_this.constructor.propNames.error, null);
|
|
49
|
-
|
|
50
33
|
_this.componentProps.set(_this.constructor.propNames.placeholder, null);
|
|
51
|
-
|
|
52
34
|
_this._isAutocompleteProps = true;
|
|
53
35
|
return _this;
|
|
54
36
|
}
|
|
55
|
-
|
|
56
37
|
var _proto = AutocompleteProps.prototype;
|
|
57
|
-
|
|
58
38
|
// @ts-ignore
|
|
59
39
|
_proto.__reactstandin__regenerateByEval = function __reactstandin__regenerateByEval(key, code) {
|
|
60
40
|
// @ts-ignore
|
|
61
41
|
this[key] = eval(code);
|
|
62
42
|
};
|
|
63
|
-
|
|
64
43
|
return AutocompleteProps;
|
|
65
44
|
}(_componentProps.default);
|
|
66
|
-
|
|
67
45
|
_defineProperty(AutocompleteProps, "propNames", {
|
|
68
46
|
update: "update",
|
|
69
47
|
value: "value",
|
|
@@ -71,59 +49,45 @@ _defineProperty(AutocompleteProps, "propNames", {
|
|
|
71
49
|
error: "error",
|
|
72
50
|
placeholder: "placeholder"
|
|
73
51
|
});
|
|
74
|
-
|
|
75
52
|
_defineProperty(AutocompleteProps, "ruleNames", {
|
|
76
53
|
root: "root",
|
|
77
54
|
paper: "paper"
|
|
78
55
|
});
|
|
79
|
-
|
|
80
56
|
var isAutocompleteProps = function isAutocompleteProps(value) {
|
|
81
57
|
if (value == null) return true;
|
|
82
58
|
return typeof value === "object" && (value instanceof AutocompleteProps || value._isAutocompleteProps === true);
|
|
83
59
|
};
|
|
84
|
-
|
|
85
60
|
exports.isAutocompleteProps = isAutocompleteProps;
|
|
86
61
|
var _default = AutocompleteProps;
|
|
87
62
|
var _default2 = _default;
|
|
88
63
|
var _default3 = _default2;
|
|
89
64
|
exports.default = _default3;
|
|
90
65
|
;
|
|
91
|
-
|
|
92
66
|
(function () {
|
|
93
67
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
94
|
-
|
|
95
68
|
if (!reactHotLoader) {
|
|
96
69
|
return;
|
|
97
70
|
}
|
|
98
|
-
|
|
99
71
|
reactHotLoader.register(AutocompleteProps, "AutocompleteProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/AutocompleteProps.js");
|
|
100
72
|
reactHotLoader.register(isAutocompleteProps, "isAutocompleteProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/AutocompleteProps.js");
|
|
101
73
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/AutocompleteProps.js");
|
|
102
74
|
})();
|
|
103
|
-
|
|
104
75
|
;
|
|
105
|
-
|
|
106
76
|
(function () {
|
|
107
77
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
108
78
|
leaveModule && leaveModule(module);
|
|
109
79
|
})();
|
|
110
|
-
|
|
111
80
|
;
|
|
112
|
-
|
|
113
81
|
(function () {
|
|
114
82
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
115
|
-
|
|
116
83
|
if (!reactHotLoader) {
|
|
117
84
|
return;
|
|
118
85
|
}
|
|
119
|
-
|
|
120
86
|
reactHotLoader.register(AutocompleteProps, "AutocompleteProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/AutocompleteProps.js");
|
|
121
87
|
reactHotLoader.register(isAutocompleteProps, "isAutocompleteProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/AutocompleteProps.js");
|
|
122
88
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/AutocompleteProps.js");
|
|
123
89
|
})();
|
|
124
|
-
|
|
125
90
|
;
|
|
126
|
-
|
|
127
91
|
(function () {
|
|
128
92
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
129
93
|
leaveModule && leaveModule(module);
|
|
@@ -2,45 +2,30 @@
|
|
|
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 _Checkbox = _interopRequireDefault(require("@material-ui/core/Checkbox"));
|
|
9
|
-
|
|
10
7
|
var _FormControlLabel = _interopRequireDefault(require("@material-ui/core/FormControlLabel"));
|
|
11
|
-
|
|
12
8
|
var _CheckboxProps = _interopRequireWildcard(require("./CheckboxProps"));
|
|
13
|
-
|
|
14
9
|
var _styles = require("@material-ui/core/styles");
|
|
15
|
-
|
|
16
10
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
17
|
-
|
|
18
11
|
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); }
|
|
19
|
-
|
|
20
12
|
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; }
|
|
21
|
-
|
|
22
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
|
-
|
|
24
14
|
(function () {
|
|
25
15
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
26
16
|
enterModule && enterModule(module);
|
|
27
17
|
})();
|
|
28
|
-
|
|
29
18
|
(function () {
|
|
30
19
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
31
20
|
enterModule && enterModule(module);
|
|
32
21
|
})();
|
|
33
|
-
|
|
34
22
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
35
|
-
|
|
36
23
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
37
24
|
return a;
|
|
38
25
|
};
|
|
39
|
-
|
|
40
26
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
41
27
|
return a;
|
|
42
28
|
};
|
|
43
|
-
|
|
44
29
|
var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
45
30
|
return {
|
|
46
31
|
/* Checkboxes */
|
|
@@ -160,16 +145,12 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
160
145
|
}
|
|
161
146
|
};
|
|
162
147
|
});
|
|
163
|
-
|
|
164
148
|
var Checkbox = function Checkbox(_ref) {
|
|
165
149
|
var _classNames, _classNames2, _classNames3;
|
|
166
|
-
|
|
167
150
|
var checkboxProps = _ref.checkboxProps;
|
|
168
|
-
|
|
169
151
|
if ((0, _CheckboxProps.isCheckboxProps)(checkboxProps) === false) {
|
|
170
152
|
throw new TypeError("checkboxProps property is not of type CheckboxProps");
|
|
171
153
|
}
|
|
172
|
-
|
|
173
154
|
var onChange = checkboxProps == null ? void 0 : checkboxProps.get(_CheckboxProps.default.propNames.onChange);
|
|
174
155
|
var indeterminate = (checkboxProps == null ? void 0 : checkboxProps.get(_CheckboxProps.default.propNames.indeterminate)) || false;
|
|
175
156
|
var update = checkboxProps == null ? void 0 : checkboxProps.get(_CheckboxProps.default.propNames.update);
|
|
@@ -178,11 +159,9 @@ var Checkbox = function Checkbox(_ref) {
|
|
|
178
159
|
var readOnly = (checkboxProps == null ? void 0 : checkboxProps.get(_CheckboxProps.default.propNames.readOnly)) || false;
|
|
179
160
|
var disabled = (checkboxProps == null ? void 0 : checkboxProps.get(_CheckboxProps.default.propNames.disabled)) || false;
|
|
180
161
|
var metadata = checkboxProps == null ? void 0 : checkboxProps.get(_CheckboxProps.default.propNames.metadata);
|
|
181
|
-
|
|
182
162
|
var handleChange = function handleChange(event) {
|
|
183
163
|
update(event.target.checked, metadata);
|
|
184
164
|
};
|
|
185
|
-
|
|
186
165
|
var onUseChange = function onUseChange(event) {
|
|
187
166
|
if (onChange) {
|
|
188
167
|
onChange(event);
|
|
@@ -190,9 +169,7 @@ var Checkbox = function Checkbox(_ref) {
|
|
|
190
169
|
handleChange(event);
|
|
191
170
|
}
|
|
192
171
|
};
|
|
193
|
-
|
|
194
172
|
var classes = useStyles();
|
|
195
|
-
|
|
196
173
|
var checkBoxMui = /*#__PURE__*/_react.default.createElement(_Checkbox.default, {
|
|
197
174
|
checked: value,
|
|
198
175
|
onChange: !readOnly ? onUseChange : null,
|
|
@@ -209,63 +186,47 @@ var Checkbox = function Checkbox(_ref) {
|
|
|
209
186
|
className: (0, _classnames.default)((_classNames3 = {}, _defineProperty(_classNames3, "".concat(classes.checkBoxIcon), !readOnly), _defineProperty(_classNames3, "".concat(classes.indeterminateIconChecked), !readOnly && indeterminate), _defineProperty(_classNames3, "".concat(classes.indeterminateIconReadOnly), readOnly && indeterminate), _classNames3))
|
|
210
187
|
})
|
|
211
188
|
});
|
|
212
|
-
|
|
213
189
|
return label == null ? checkBoxMui : /*#__PURE__*/_react.default.createElement(_FormControlLabel.default, {
|
|
214
190
|
control: checkBoxMui,
|
|
215
191
|
label: label
|
|
216
192
|
});
|
|
217
193
|
};
|
|
218
|
-
|
|
219
194
|
__signature__(Checkbox, "useStyles{classes}", function () {
|
|
220
195
|
return [useStyles];
|
|
221
196
|
});
|
|
222
|
-
|
|
223
197
|
__signature__(Checkbox, "useStyles{classes}", function () {
|
|
224
198
|
return [useStyles];
|
|
225
199
|
});
|
|
226
|
-
|
|
227
200
|
var _default = _react.default.memo(Checkbox);
|
|
228
|
-
|
|
229
201
|
var _default2 = _default;
|
|
230
202
|
var _default3 = _default2;
|
|
231
203
|
exports.default = _default3;
|
|
232
204
|
;
|
|
233
|
-
|
|
234
205
|
(function () {
|
|
235
206
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
236
|
-
|
|
237
207
|
if (!reactHotLoader) {
|
|
238
208
|
return;
|
|
239
209
|
}
|
|
240
|
-
|
|
241
210
|
reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/Checkbox.js");
|
|
242
211
|
reactHotLoader.register(Checkbox, "Checkbox", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/Checkbox.js");
|
|
243
212
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/Checkbox.js");
|
|
244
213
|
})();
|
|
245
|
-
|
|
246
214
|
;
|
|
247
|
-
|
|
248
215
|
(function () {
|
|
249
216
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
250
217
|
leaveModule && leaveModule(module);
|
|
251
218
|
})();
|
|
252
|
-
|
|
253
219
|
;
|
|
254
|
-
|
|
255
220
|
(function () {
|
|
256
221
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
257
|
-
|
|
258
222
|
if (!reactHotLoader) {
|
|
259
223
|
return;
|
|
260
224
|
}
|
|
261
|
-
|
|
262
225
|
reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/Checkbox.js");
|
|
263
226
|
reactHotLoader.register(Checkbox, "Checkbox", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/Checkbox.js");
|
|
264
227
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/Checkbox.js");
|
|
265
228
|
})();
|
|
266
|
-
|
|
267
229
|
;
|
|
268
|
-
|
|
269
230
|
(function () {
|
|
270
231
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
271
232
|
leaveModule && leaveModule(module);
|
|
@@ -2,48 +2,32 @@
|
|
|
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 _FormControlLabel = _interopRequireDefault(require("@material-ui/core/FormControlLabel"));
|
|
9
|
-
|
|
10
7
|
var _CheckboxGroupProps = _interopRequireWildcard(require("./CheckboxGroupProps"));
|
|
11
|
-
|
|
12
8
|
var _Checkbox = _interopRequireDefault(require("./Checkbox"));
|
|
13
|
-
|
|
14
9
|
var _CheckboxProps = _interopRequireDefault(require("./CheckboxProps"));
|
|
15
|
-
|
|
16
10
|
var _styles = require("@material-ui/core/styles");
|
|
17
|
-
|
|
18
11
|
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); }
|
|
19
|
-
|
|
20
12
|
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; }
|
|
21
|
-
|
|
22
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
|
-
|
|
24
14
|
(function () {
|
|
25
15
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
26
16
|
enterModule && enterModule(module);
|
|
27
17
|
})();
|
|
28
|
-
|
|
29
18
|
(function () {
|
|
30
19
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
31
20
|
enterModule && enterModule(module);
|
|
32
21
|
})();
|
|
33
|
-
|
|
34
22
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
35
|
-
|
|
36
23
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
37
24
|
return a;
|
|
38
25
|
};
|
|
39
|
-
|
|
40
26
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
41
27
|
return a;
|
|
42
28
|
};
|
|
43
|
-
|
|
44
29
|
var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
45
30
|
var _MuiFormControlLab;
|
|
46
|
-
|
|
47
31
|
return {
|
|
48
32
|
container: {
|
|
49
33
|
display: "flex",
|
|
@@ -71,17 +55,13 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
71
55
|
}
|
|
72
56
|
};
|
|
73
57
|
});
|
|
74
|
-
|
|
75
58
|
var CheckboxGroup = function CheckboxGroup(_ref) {
|
|
76
59
|
var _checkboxGroupProps$g;
|
|
77
|
-
|
|
78
60
|
var checkboxGroupProps = _ref.checkboxGroupProps;
|
|
79
61
|
var classes = useStyles();
|
|
80
|
-
|
|
81
62
|
if ((0, _CheckboxGroupProps.isCheckboxGroupProps)(checkboxGroupProps) === false) {
|
|
82
63
|
throw new TypeError("checkboxGroupProps property is not of type CheckboxGroupProps");
|
|
83
64
|
}
|
|
84
|
-
|
|
85
65
|
var update = checkboxGroupProps == null ? void 0 : checkboxGroupProps.get(_CheckboxGroupProps.default.propNames.update);
|
|
86
66
|
var value = checkboxGroupProps == null ? void 0 : checkboxGroupProps.get(_CheckboxGroupProps.default.propNames.value);
|
|
87
67
|
var label = checkboxGroupProps == null ? void 0 : checkboxGroupProps.get(_CheckboxGroupProps.default.propNames.label);
|
|
@@ -89,29 +69,23 @@ var CheckboxGroup = function CheckboxGroup(_ref) {
|
|
|
89
69
|
var readOnly = (checkboxGroupProps == null ? void 0 : checkboxGroupProps.get(_CheckboxGroupProps.default.propNames.readOnly)) || false;
|
|
90
70
|
var disabled = (checkboxGroupProps == null ? void 0 : checkboxGroupProps.get(_CheckboxGroupProps.default.propNames.disabled)) || false;
|
|
91
71
|
var options = (_checkboxGroupProps$g = checkboxGroupProps == null ? void 0 : checkboxGroupProps.get(_CheckboxGroupProps.default.propNames.options)) != null ? _checkboxGroupProps$g : [];
|
|
92
|
-
|
|
93
72
|
var handleGroupUpdate = function handleGroupUpdate(checked, value, newValue) {
|
|
94
73
|
var values = value ? value.split("|") : [];
|
|
95
74
|
var position = values.indexOf(newValue);
|
|
96
|
-
|
|
97
75
|
if (checked && position === -1) {
|
|
98
76
|
values.push(newValue);
|
|
99
77
|
}
|
|
100
|
-
|
|
101
78
|
if (!checked && position !== -1) {
|
|
102
79
|
values.splice(position, 1);
|
|
103
80
|
}
|
|
104
|
-
|
|
105
81
|
update(values.join("|"));
|
|
106
82
|
};
|
|
107
|
-
|
|
108
83
|
var checkBoxGroup = /*#__PURE__*/_react.default.createElement("div", {
|
|
109
84
|
className: classes.container
|
|
110
85
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
111
86
|
className: classes.checkBoxContainer
|
|
112
87
|
}, options.map(function (option, index) {
|
|
113
88
|
var _option$label;
|
|
114
|
-
|
|
115
89
|
var checkboxProps = new _CheckboxProps.default();
|
|
116
90
|
checkboxProps.set(_CheckboxProps.default.propNames.update, function (checked) {
|
|
117
91
|
return handleGroupUpdate(checked, value, option.value);
|
|
@@ -127,63 +101,47 @@ var CheckboxGroup = function CheckboxGroup(_ref) {
|
|
|
127
101
|
})), error && /*#__PURE__*/_react.default.createElement("div", {
|
|
128
102
|
className: classes.errorText
|
|
129
103
|
}, error));
|
|
130
|
-
|
|
131
104
|
return label == null ? checkBoxGroup : /*#__PURE__*/_react.default.createElement(_FormControlLabel.default, {
|
|
132
105
|
control: checkBoxGroup,
|
|
133
106
|
label: label
|
|
134
107
|
});
|
|
135
108
|
};
|
|
136
|
-
|
|
137
109
|
__signature__(CheckboxGroup, "useStyles{classes}", function () {
|
|
138
110
|
return [useStyles];
|
|
139
111
|
});
|
|
140
|
-
|
|
141
112
|
__signature__(CheckboxGroup, "useStyles{classes}", function () {
|
|
142
113
|
return [useStyles];
|
|
143
114
|
});
|
|
144
|
-
|
|
145
115
|
var _default = _react.default.memo(CheckboxGroup);
|
|
146
|
-
|
|
147
116
|
var _default2 = _default;
|
|
148
117
|
var _default3 = _default2;
|
|
149
118
|
exports.default = _default3;
|
|
150
119
|
;
|
|
151
|
-
|
|
152
120
|
(function () {
|
|
153
121
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
154
|
-
|
|
155
122
|
if (!reactHotLoader) {
|
|
156
123
|
return;
|
|
157
124
|
}
|
|
158
|
-
|
|
159
125
|
reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/CheckboxGroup.js");
|
|
160
126
|
reactHotLoader.register(CheckboxGroup, "CheckboxGroup", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/CheckboxGroup.js");
|
|
161
127
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/CheckboxGroup.js");
|
|
162
128
|
})();
|
|
163
|
-
|
|
164
129
|
;
|
|
165
|
-
|
|
166
130
|
(function () {
|
|
167
131
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
168
132
|
leaveModule && leaveModule(module);
|
|
169
133
|
})();
|
|
170
|
-
|
|
171
134
|
;
|
|
172
|
-
|
|
173
135
|
(function () {
|
|
174
136
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
175
|
-
|
|
176
137
|
if (!reactHotLoader) {
|
|
177
138
|
return;
|
|
178
139
|
}
|
|
179
|
-
|
|
180
140
|
reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/CheckboxGroup.js");
|
|
181
141
|
reactHotLoader.register(CheckboxGroup, "CheckboxGroup", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/CheckboxGroup.js");
|
|
182
142
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/CheckboxGroup.js");
|
|
183
143
|
})();
|
|
184
|
-
|
|
185
144
|
;
|
|
186
|
-
|
|
187
145
|
(function () {
|
|
188
146
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
189
147
|
leaveModule && leaveModule(module);
|
|
@@ -2,72 +2,48 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.isCheckboxGroupProps = exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _componentProps = _interopRequireDefault(require("../componentProps"));
|
|
7
|
-
|
|
8
6
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
-
|
|
10
7
|
(function () {
|
|
11
8
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
12
9
|
enterModule && enterModule(module);
|
|
13
10
|
})();
|
|
14
|
-
|
|
15
11
|
(function () {
|
|
16
12
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
17
13
|
enterModule && enterModule(module);
|
|
18
14
|
})();
|
|
19
|
-
|
|
20
15
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
|
|
21
|
-
|
|
22
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
23
|
-
|
|
16
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
24
17
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25
|
-
|
|
26
18
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
27
19
|
return a;
|
|
28
20
|
};
|
|
29
|
-
|
|
30
21
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31
22
|
return a;
|
|
32
23
|
};
|
|
33
|
-
|
|
34
24
|
var CheckboxGroupProps = /*#__PURE__*/function (_ComponentProps) {
|
|
35
25
|
_inheritsLoose(CheckboxGroupProps, _ComponentProps);
|
|
36
|
-
|
|
37
26
|
function CheckboxGroupProps() {
|
|
38
27
|
var _this;
|
|
39
|
-
|
|
40
28
|
_this = _ComponentProps.call(this) || this;
|
|
41
|
-
|
|
42
29
|
_this.componentProps.set(_this.constructor.propNames.update, null);
|
|
43
|
-
|
|
44
30
|
_this.componentProps.set(_this.constructor.propNames.value, null);
|
|
45
|
-
|
|
46
31
|
_this.componentProps.set(_this.constructor.propNames.label, null);
|
|
47
|
-
|
|
48
32
|
_this.componentProps.set(_this.constructor.propNames.readOnly, null);
|
|
49
|
-
|
|
50
33
|
_this.componentProps.set(_this.constructor.propNames.disabled, null);
|
|
51
|
-
|
|
52
34
|
_this.componentProps.set(_this.constructor.propNames.options, null);
|
|
53
|
-
|
|
54
35
|
_this.componentProps.set(_this.constructor.propNames.error, null);
|
|
55
|
-
|
|
56
36
|
_this._isCheckboxGroupProps = true;
|
|
57
37
|
return _this;
|
|
58
38
|
}
|
|
59
|
-
|
|
60
39
|
var _proto = CheckboxGroupProps.prototype;
|
|
61
|
-
|
|
62
40
|
// @ts-ignore
|
|
63
41
|
_proto.__reactstandin__regenerateByEval = function __reactstandin__regenerateByEval(key, code) {
|
|
64
42
|
// @ts-ignore
|
|
65
43
|
this[key] = eval(code);
|
|
66
44
|
};
|
|
67
|
-
|
|
68
45
|
return CheckboxGroupProps;
|
|
69
46
|
}(_componentProps.default);
|
|
70
|
-
|
|
71
47
|
_defineProperty(CheckboxGroupProps, "propNames", {
|
|
72
48
|
update: "update",
|
|
73
49
|
value: "value",
|
|
@@ -77,54 +53,41 @@ _defineProperty(CheckboxGroupProps, "propNames", {
|
|
|
77
53
|
disabled: "disabled",
|
|
78
54
|
error: "error"
|
|
79
55
|
});
|
|
80
|
-
|
|
81
56
|
var isCheckboxGroupProps = function isCheckboxGroupProps(value) {
|
|
82
57
|
if (value == null) return true;
|
|
83
58
|
return typeof value === "object" && (value instanceof CheckboxGroupProps || value._isCheckboxGroupProps === true);
|
|
84
59
|
};
|
|
85
|
-
|
|
86
60
|
exports.isCheckboxGroupProps = isCheckboxGroupProps;
|
|
87
61
|
var _default = CheckboxGroupProps;
|
|
88
62
|
var _default2 = _default;
|
|
89
63
|
var _default3 = _default2;
|
|
90
64
|
exports.default = _default3;
|
|
91
65
|
;
|
|
92
|
-
|
|
93
66
|
(function () {
|
|
94
67
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
95
|
-
|
|
96
68
|
if (!reactHotLoader) {
|
|
97
69
|
return;
|
|
98
70
|
}
|
|
99
|
-
|
|
100
71
|
reactHotLoader.register(CheckboxGroupProps, "CheckboxGroupProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/CheckboxGroupProps.js");
|
|
101
72
|
reactHotLoader.register(isCheckboxGroupProps, "isCheckboxGroupProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/CheckboxGroupProps.js");
|
|
102
73
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/CheckboxGroupProps.js");
|
|
103
74
|
})();
|
|
104
|
-
|
|
105
75
|
;
|
|
106
|
-
|
|
107
76
|
(function () {
|
|
108
77
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
109
78
|
leaveModule && leaveModule(module);
|
|
110
79
|
})();
|
|
111
|
-
|
|
112
80
|
;
|
|
113
|
-
|
|
114
81
|
(function () {
|
|
115
82
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
116
|
-
|
|
117
83
|
if (!reactHotLoader) {
|
|
118
84
|
return;
|
|
119
85
|
}
|
|
120
|
-
|
|
121
86
|
reactHotLoader.register(CheckboxGroupProps, "CheckboxGroupProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/CheckboxGroupProps.js");
|
|
122
87
|
reactHotLoader.register(isCheckboxGroupProps, "isCheckboxGroupProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/CheckboxGroupProps.js");
|
|
123
88
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/CheckboxGroupProps.js");
|
|
124
89
|
})();
|
|
125
|
-
|
|
126
90
|
;
|
|
127
|
-
|
|
128
91
|
(function () {
|
|
129
92
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
130
93
|
leaveModule && leaveModule(module);
|