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,35 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _react = _interopRequireDefault(require("react"));
|
|
7
|
-
|
|
8
6
|
var _withDeferredTooltip = _interopRequireDefault(require("../../hocs/withDeferredTooltip"));
|
|
9
|
-
|
|
10
7
|
var _Typography = _interopRequireDefault(require("@material-ui/core/Typography"));
|
|
11
|
-
|
|
12
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
9
|
(function () {
|
|
15
10
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
16
11
|
enterModule && enterModule(module);
|
|
17
12
|
})();
|
|
18
|
-
|
|
19
13
|
(function () {
|
|
20
14
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
21
15
|
enterModule && enterModule(module);
|
|
22
16
|
})();
|
|
23
|
-
|
|
24
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
25
|
-
|
|
17
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
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 TooltippedTypography = (0, _withDeferredTooltip.default)(_react.default.forwardRef(function (wrapperProps, ref) {
|
|
35
25
|
return /*#__PURE__*/_react.default.createElement(_Typography.default, _extends({}, wrapperProps, {
|
|
36
26
|
ref: ref
|
|
@@ -41,40 +31,29 @@ var _default2 = _default;
|
|
|
41
31
|
var _default3 = _default2;
|
|
42
32
|
exports.default = _default3;
|
|
43
33
|
;
|
|
44
|
-
|
|
45
34
|
(function () {
|
|
46
35
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
47
|
-
|
|
48
36
|
if (!reactHotLoader) {
|
|
49
37
|
return;
|
|
50
38
|
}
|
|
51
|
-
|
|
52
39
|
reactHotLoader.register(TooltippedTypography, "TooltippedTypography", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/TooltippedElements/TooltippedTypography.js");
|
|
53
40
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/TooltippedElements/TooltippedTypography.js");
|
|
54
41
|
})();
|
|
55
|
-
|
|
56
42
|
;
|
|
57
|
-
|
|
58
43
|
(function () {
|
|
59
44
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
60
45
|
leaveModule && leaveModule(module);
|
|
61
46
|
})();
|
|
62
|
-
|
|
63
47
|
;
|
|
64
|
-
|
|
65
48
|
(function () {
|
|
66
49
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
67
|
-
|
|
68
50
|
if (!reactHotLoader) {
|
|
69
51
|
return;
|
|
70
52
|
}
|
|
71
|
-
|
|
72
53
|
reactHotLoader.register(TooltippedTypography, "TooltippedTypography", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/TooltippedElements/TooltippedTypography.js");
|
|
73
54
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/TooltippedElements/TooltippedTypography.js");
|
|
74
55
|
})();
|
|
75
|
-
|
|
76
56
|
;
|
|
77
|
-
|
|
78
57
|
(function () {
|
|
79
58
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
80
59
|
leaveModule && leaveModule(module);
|
|
@@ -2,73 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = exports.ScrollableCustomList = exports.CustomList = void 0;
|
|
5
|
-
|
|
6
5
|
var _react = _interopRequireWildcard(require("react"));
|
|
7
|
-
|
|
8
6
|
var _reactIntl = require("react-intl");
|
|
9
|
-
|
|
10
7
|
var _styles = require("@material-ui/core/styles");
|
|
11
|
-
|
|
12
8
|
var _Grid = _interopRequireDefault(require("@material-ui/core/Grid"));
|
|
13
|
-
|
|
14
9
|
var _List = _interopRequireDefault(require("@material-ui/core/List"));
|
|
15
|
-
|
|
16
10
|
var _ListItem = _interopRequireDefault(require("@material-ui/core/ListItem"));
|
|
17
|
-
|
|
18
11
|
var _ListItemText = _interopRequireDefault(require("@material-ui/core/ListItemText"));
|
|
19
|
-
|
|
20
12
|
var _Button = _interopRequireDefault(require("@material-ui/core/Button"));
|
|
21
|
-
|
|
22
13
|
var _Paper = _interopRequireDefault(require("@material-ui/core/Paper"));
|
|
23
|
-
|
|
24
14
|
var _Typography = _interopRequireDefault(require("@material-ui/core/Typography"));
|
|
25
|
-
|
|
26
15
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
27
|
-
|
|
28
16
|
var _propertyValidator = require("../../../utils/propertyValidator");
|
|
29
|
-
|
|
30
17
|
var _sharedMessages = _interopRequireDefault(require("../../../sharedMessages"));
|
|
31
|
-
|
|
32
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
33
|
-
|
|
34
19
|
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); }
|
|
35
|
-
|
|
36
20
|
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; }
|
|
37
|
-
|
|
38
21
|
(function () {
|
|
39
22
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
40
23
|
enterModule && enterModule(module);
|
|
41
24
|
})();
|
|
42
|
-
|
|
43
25
|
(function () {
|
|
44
26
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
45
27
|
enterModule && enterModule(module);
|
|
46
28
|
})();
|
|
47
|
-
|
|
48
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
49
|
-
|
|
29
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
50
30
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
51
|
-
|
|
52
31
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
53
|
-
|
|
54
32
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
55
|
-
|
|
56
33
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
57
|
-
|
|
58
34
|
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
59
|
-
|
|
60
35
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
61
|
-
|
|
62
36
|
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; }
|
|
63
|
-
|
|
64
37
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
65
38
|
return a;
|
|
66
39
|
};
|
|
67
|
-
|
|
68
40
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
69
41
|
return a;
|
|
70
42
|
};
|
|
71
|
-
|
|
72
43
|
var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
73
44
|
return {
|
|
74
45
|
title: {
|
|
@@ -130,10 +101,8 @@ var useListStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
130
101
|
}
|
|
131
102
|
};
|
|
132
103
|
});
|
|
133
|
-
|
|
134
104
|
var formatState = function formatState(state, checked, from, to) {
|
|
135
105
|
var _ref3;
|
|
136
|
-
|
|
137
106
|
var fromSelectedItems = state[from].filter(function (_ref) {
|
|
138
107
|
var id = _ref.id;
|
|
139
108
|
return checked.includes(id);
|
|
@@ -143,16 +112,13 @@ var formatState = function formatState(state, checked, from, to) {
|
|
|
143
112
|
return !checked.includes(id);
|
|
144
113
|
})), _ref3;
|
|
145
114
|
};
|
|
146
|
-
|
|
147
115
|
var ScrollableCustomList = _react.default.forwardRef(function (props, ref) {
|
|
148
116
|
var scrollEvent = function scrollEvent(evt) {
|
|
149
117
|
if (!props.onScroll) return;
|
|
150
|
-
|
|
151
118
|
if (evt.target.scrollHeight - (evt.target.scrollTop + evt.target.offsetHeight) < 50 && props.currentTotal === props.currentPage * props.pageSize) {
|
|
152
119
|
props.onScroll(props.currentPage + 1);
|
|
153
120
|
}
|
|
154
121
|
};
|
|
155
|
-
|
|
156
122
|
return /*#__PURE__*/_react.default.createElement(_Paper.default, {
|
|
157
123
|
ref: ref,
|
|
158
124
|
onScroll: scrollEvent,
|
|
@@ -166,19 +132,16 @@ var ScrollableCustomList = _react.default.forwardRef(function (props, ref) {
|
|
|
166
132
|
onChange: props.onChange
|
|
167
133
|
}));
|
|
168
134
|
});
|
|
169
|
-
|
|
170
135
|
exports.ScrollableCustomList = ScrollableCustomList;
|
|
171
|
-
|
|
172
136
|
var compareListItem = function compareListItem(prev, next) {
|
|
173
137
|
return prev.item.id === next.item.id && prev.isChecked === next.isChecked && prev.item.subtitle === next.item.subtitle && prev.item.title === next.item.title;
|
|
174
138
|
};
|
|
175
|
-
|
|
176
139
|
var ListItemWrapper = function ListItemWrapper(_ref4) {
|
|
177
140
|
var isChecked = _ref4.isChecked,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
141
|
+
item = _ref4.item,
|
|
142
|
+
handleToggle = _ref4.handleToggle,
|
|
143
|
+
listItemFormatter = _ref4.listItemFormatter,
|
|
144
|
+
classes = _ref4.classes;
|
|
182
145
|
return /*#__PURE__*/_react.default.createElement(_ListItem.default, {
|
|
183
146
|
className: (0, _classnames.default)(classes.item, isChecked && classes.selectedItem),
|
|
184
147
|
role: "listitem",
|
|
@@ -197,23 +160,20 @@ var ListItemWrapper = function ListItemWrapper(_ref4) {
|
|
|
197
160
|
}, item.subtitle)
|
|
198
161
|
}));
|
|
199
162
|
};
|
|
200
|
-
|
|
201
163
|
var MemoListItem = _react.default.memo(ListItemWrapper, compareListItem);
|
|
202
|
-
|
|
203
164
|
var CustomList = function CustomList(_ref5) {
|
|
204
165
|
var items = _ref5.items,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
166
|
+
checked = _ref5.checked,
|
|
167
|
+
setChecked = _ref5.setChecked,
|
|
168
|
+
listItemFormatter = _ref5.listItemFormatter,
|
|
169
|
+
_ref5$multiSelect = _ref5.multiSelect,
|
|
170
|
+
multiSelect = _ref5$multiSelect === void 0 ? true : _ref5$multiSelect,
|
|
171
|
+
onChange = _ref5.onChange;
|
|
211
172
|
var classes = useListStyles();
|
|
212
173
|
var handleToggle = (0, _react.useCallback)(function (value) {
|
|
213
174
|
return setChecked(function (state) {
|
|
214
175
|
var currentIndex = state.indexOf(value);
|
|
215
176
|
var newChecked = [].concat(state);
|
|
216
|
-
|
|
217
177
|
if (!multiSelect) {
|
|
218
178
|
newChecked = [value];
|
|
219
179
|
} else {
|
|
@@ -223,7 +183,6 @@ var CustomList = function CustomList(_ref5) {
|
|
|
223
183
|
newChecked.splice(currentIndex, 1);
|
|
224
184
|
}
|
|
225
185
|
}
|
|
226
|
-
|
|
227
186
|
return newChecked;
|
|
228
187
|
});
|
|
229
188
|
}, [setChecked, multiSelect]);
|
|
@@ -244,46 +203,38 @@ var CustomList = function CustomList(_ref5) {
|
|
|
244
203
|
});
|
|
245
204
|
}));
|
|
246
205
|
};
|
|
247
|
-
|
|
248
206
|
exports.CustomList = CustomList;
|
|
249
|
-
|
|
250
207
|
__signature__(CustomList, "useListStyles{classes}\nuseCallback{handleToggle}\nuseEffect{}", function () {
|
|
251
208
|
return [useListStyles];
|
|
252
209
|
});
|
|
253
|
-
|
|
254
210
|
__signature__(CustomList, "useListStyles{classes}\nuseCallback{handleToggle}\nuseEffect{}", function () {
|
|
255
211
|
return [useListStyles];
|
|
256
212
|
});
|
|
257
|
-
|
|
258
213
|
var TransferList = function TransferList(_ref6) {
|
|
259
214
|
var _rightListData$data2, _leftListData$data2;
|
|
260
|
-
|
|
261
215
|
var rightListData = _ref6.rightListData,
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
216
|
+
leftListData = _ref6.leftListData,
|
|
217
|
+
onChange = _ref6.onChange,
|
|
218
|
+
addButtonTitle = _ref6.addButtonTitle,
|
|
219
|
+
removeButtonTitle = _ref6.removeButtonTitle,
|
|
220
|
+
customLeftComponent = _ref6.customLeftComponent,
|
|
221
|
+
listItemFormatter = _ref6.listItemFormatter,
|
|
222
|
+
onScroll = _ref6.onScroll,
|
|
223
|
+
currentTotal = _ref6.currentTotal,
|
|
224
|
+
_ref6$currentPage = _ref6.currentPage,
|
|
225
|
+
currentPage = _ref6$currentPage === void 0 ? 1 : _ref6$currentPage,
|
|
226
|
+
_ref6$pageSize = _ref6.pageSize,
|
|
227
|
+
pageSize = _ref6$pageSize === void 0 ? 20 : _ref6$pageSize,
|
|
228
|
+
_ref6$height = _ref6.height,
|
|
229
|
+
height = _ref6$height === void 0 ? 48 : _ref6$height;
|
|
276
230
|
var classes = useStyles({
|
|
277
231
|
height: height
|
|
278
232
|
});
|
|
279
|
-
|
|
280
233
|
var _useState = (0, _react.useState)([]),
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
234
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
235
|
+
checked = _useState2[0],
|
|
236
|
+
setChecked = _useState2[1];
|
|
285
237
|
var refScrollableList = _react.default.useRef();
|
|
286
|
-
|
|
287
238
|
var onAddButtonClick = function onAddButtonClick() {
|
|
288
239
|
onChange(formatState({
|
|
289
240
|
right: rightListData.data,
|
|
@@ -291,14 +242,12 @@ var TransferList = function TransferList(_ref6) {
|
|
|
291
242
|
}, checked, "left", "right"));
|
|
292
243
|
setChecked(checked.filter(function (check) {
|
|
293
244
|
var _leftListData$data;
|
|
294
|
-
|
|
295
245
|
return !((_leftListData$data = leftListData.data) != null && _leftListData$data.some(function (_ref7) {
|
|
296
246
|
var id = _ref7.id;
|
|
297
247
|
return id === check;
|
|
298
248
|
}));
|
|
299
249
|
}));
|
|
300
250
|
};
|
|
301
|
-
|
|
302
251
|
var onRemoveButtonClick = function onRemoveButtonClick() {
|
|
303
252
|
onChange(formatState({
|
|
304
253
|
right: rightListData.data,
|
|
@@ -306,14 +255,12 @@ var TransferList = function TransferList(_ref6) {
|
|
|
306
255
|
}, checked, "right", "left"));
|
|
307
256
|
setChecked(checked.filter(function (check) {
|
|
308
257
|
var _rightListData$data;
|
|
309
|
-
|
|
310
258
|
return !((_rightListData$data = rightListData.data) != null && _rightListData$data.some(function (_ref8) {
|
|
311
259
|
var id = _ref8.id;
|
|
312
260
|
return id === check;
|
|
313
261
|
}));
|
|
314
262
|
}));
|
|
315
263
|
};
|
|
316
|
-
|
|
317
264
|
var rightSelected = (_rightListData$data2 = rightListData.data) == null ? void 0 : _rightListData$data2.some(function (_ref9) {
|
|
318
265
|
var id = _ref9.id;
|
|
319
266
|
return checked.includes(id);
|
|
@@ -385,28 +332,22 @@ var TransferList = function TransferList(_ref6) {
|
|
|
385
332
|
listItemFormatter: listItemFormatter
|
|
386
333
|
}))));
|
|
387
334
|
};
|
|
388
|
-
|
|
389
335
|
__signature__(TransferList, "useStyles{classes}\nuseState{[checked, setChecked]([])}\nuseRef{refScrollableList}", function () {
|
|
390
336
|
return [useStyles];
|
|
391
337
|
});
|
|
392
|
-
|
|
393
338
|
__signature__(TransferList, "useStyles{classes}\nuseState{[checked, setChecked]([])}\nuseRef{refScrollableList}", function () {
|
|
394
339
|
return [useStyles];
|
|
395
340
|
});
|
|
396
|
-
|
|
397
341
|
var _default = TransferList;
|
|
398
342
|
var _default2 = _default;
|
|
399
343
|
var _default3 = _default2;
|
|
400
344
|
exports.default = _default3;
|
|
401
345
|
;
|
|
402
|
-
|
|
403
346
|
(function () {
|
|
404
347
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
405
|
-
|
|
406
348
|
if (!reactHotLoader) {
|
|
407
349
|
return;
|
|
408
350
|
}
|
|
409
|
-
|
|
410
351
|
reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/TransferList.js");
|
|
411
352
|
reactHotLoader.register(useListStyles, "useListStyles", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/TransferList.js");
|
|
412
353
|
reactHotLoader.register(formatState, "formatState", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/TransferList.js");
|
|
@@ -418,23 +359,17 @@ exports.default = _default3;
|
|
|
418
359
|
reactHotLoader.register(TransferList, "TransferList", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/TransferList.js");
|
|
419
360
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/TransferList.js");
|
|
420
361
|
})();
|
|
421
|
-
|
|
422
362
|
;
|
|
423
|
-
|
|
424
363
|
(function () {
|
|
425
364
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
426
365
|
leaveModule && leaveModule(module);
|
|
427
366
|
})();
|
|
428
|
-
|
|
429
367
|
;
|
|
430
|
-
|
|
431
368
|
(function () {
|
|
432
369
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
433
|
-
|
|
434
370
|
if (!reactHotLoader) {
|
|
435
371
|
return;
|
|
436
372
|
}
|
|
437
|
-
|
|
438
373
|
reactHotLoader.register(useStyles, "useStyles", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/TransferList.js");
|
|
439
374
|
reactHotLoader.register(useListStyles, "useListStyles", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/TransferList.js");
|
|
440
375
|
reactHotLoader.register(formatState, "formatState", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/TransferList.js");
|
|
@@ -446,9 +381,7 @@ exports.default = _default3;
|
|
|
446
381
|
reactHotLoader.register(TransferList, "TransferList", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/TransferList.js");
|
|
447
382
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/TransferList.js");
|
|
448
383
|
})();
|
|
449
|
-
|
|
450
384
|
;
|
|
451
|
-
|
|
452
385
|
(function () {
|
|
453
386
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
454
387
|
leaveModule && leaveModule(module);
|
|
@@ -2,70 +2,47 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.isChipProps = 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 ChipProps = /*#__PURE__*/function (_ComponentProps) {
|
|
35
25
|
_inheritsLoose(ChipProps, _ComponentProps);
|
|
36
|
-
|
|
37
26
|
function ChipProps() {
|
|
38
27
|
var _this;
|
|
39
|
-
|
|
40
28
|
_this = _ComponentProps.call(this) || this;
|
|
41
|
-
|
|
42
29
|
_this.componentProps.set(_this.constructor.propNames.avatar, null);
|
|
43
|
-
|
|
44
30
|
_this.componentProps.set(_this.constructor.propNames.clickable, null);
|
|
45
|
-
|
|
46
31
|
_this.componentProps.set(_this.constructor.propNames.disabled, null);
|
|
47
|
-
|
|
48
32
|
_this.componentProps.set(_this.constructor.propNames.onDelete, null);
|
|
49
|
-
|
|
50
33
|
_this.componentProps.set(_this.constructor.propNames.variant, null);
|
|
51
|
-
|
|
52
34
|
_this.componentClasses.set(_this.constructor.ruleNames.root, null);
|
|
53
|
-
|
|
54
35
|
_this._isChipProps = true;
|
|
55
36
|
return _this;
|
|
56
37
|
}
|
|
57
|
-
|
|
58
38
|
var _proto = ChipProps.prototype;
|
|
59
|
-
|
|
60
39
|
// @ts-ignore
|
|
61
40
|
_proto.__reactstandin__regenerateByEval = function __reactstandin__regenerateByEval(key, code) {
|
|
62
41
|
// @ts-ignore
|
|
63
42
|
this[key] = eval(code);
|
|
64
43
|
};
|
|
65
|
-
|
|
66
44
|
return ChipProps;
|
|
67
45
|
}(_componentProps.default);
|
|
68
|
-
|
|
69
46
|
_defineProperty(ChipProps, "propNames", {
|
|
70
47
|
avatar: "avatar",
|
|
71
48
|
clickable: "clickable",
|
|
@@ -73,58 +50,44 @@ _defineProperty(ChipProps, "propNames", {
|
|
|
73
50
|
onDelete: "onDelete",
|
|
74
51
|
variant: "variant"
|
|
75
52
|
});
|
|
76
|
-
|
|
77
53
|
_defineProperty(ChipProps, "ruleNames", {
|
|
78
54
|
root: "root"
|
|
79
55
|
});
|
|
80
|
-
|
|
81
56
|
var isChipProps = function isChipProps(value) {
|
|
82
57
|
if (value == null) return true;
|
|
83
58
|
return typeof value === "object" && (value instanceof ChipProps || value._isChipProps === true);
|
|
84
59
|
};
|
|
85
|
-
|
|
86
60
|
exports.isChipProps = isChipProps;
|
|
87
61
|
var _default = ChipProps;
|
|
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(ChipProps, "ChipProps", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/chipProps.js");
|
|
101
72
|
reactHotLoader.register(isChipProps, "isChipProps", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/chipProps.js");
|
|
102
73
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/chipProps.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(ChipProps, "ChipProps", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/chipProps.js");
|
|
122
87
|
reactHotLoader.register(isChipProps, "isChipProps", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/chipProps.js");
|
|
123
88
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/chipProps.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);
|
|
@@ -2,70 +2,47 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.isCollapsableListProps = 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 CollapsableListProps = /*#__PURE__*/function (_ComponentProps) {
|
|
35
25
|
_inheritsLoose(CollapsableListProps, _ComponentProps);
|
|
36
|
-
|
|
37
26
|
function CollapsableListProps() {
|
|
38
27
|
var _this;
|
|
39
|
-
|
|
40
28
|
_this = _ComponentProps.call(this) || this;
|
|
41
|
-
|
|
42
29
|
_this.componentProps.set(_this.constructor.propNames.isExpanded, null);
|
|
43
|
-
|
|
44
30
|
_this.componentProps.set(_this.constructor.propNames.hasMessage, null);
|
|
45
|
-
|
|
46
31
|
_this.componentProps.set(_this.constructor.propNames.openMessage, null);
|
|
47
|
-
|
|
48
32
|
_this.componentProps.set(_this.constructor.propNames.closeMessage, null);
|
|
49
|
-
|
|
50
33
|
_this.componentProps.set(_this.constructor.propNames.expandPosition, null);
|
|
51
|
-
|
|
52
34
|
_this.componentProps.set(_this.constructor.propNames.containerWidth, null);
|
|
53
|
-
|
|
54
35
|
_this._isCollapsableListProps = true;
|
|
55
36
|
return _this;
|
|
56
37
|
}
|
|
57
|
-
|
|
58
38
|
var _proto = CollapsableListProps.prototype;
|
|
59
|
-
|
|
60
39
|
// @ts-ignore
|
|
61
40
|
_proto.__reactstandin__regenerateByEval = function __reactstandin__regenerateByEval(key, code) {
|
|
62
41
|
// @ts-ignore
|
|
63
42
|
this[key] = eval(code);
|
|
64
43
|
};
|
|
65
|
-
|
|
66
44
|
return CollapsableListProps;
|
|
67
45
|
}(_componentProps.default);
|
|
68
|
-
|
|
69
46
|
_defineProperty(CollapsableListProps, "propNames", {
|
|
70
47
|
isExpanded: "isExpanded",
|
|
71
48
|
hasMessage: "hasMessage",
|
|
@@ -74,54 +51,41 @@ _defineProperty(CollapsableListProps, "propNames", {
|
|
|
74
51
|
expandPosition: "expandPosition",
|
|
75
52
|
containerWidth: "containerWidth"
|
|
76
53
|
});
|
|
77
|
-
|
|
78
54
|
var isCollapsableListProps = function isCollapsableListProps(value) {
|
|
79
55
|
if (value == null) return true;
|
|
80
56
|
return typeof value === "object" && (value instanceof CollapsableListProps || value._isCollapsableListProps === true);
|
|
81
57
|
};
|
|
82
|
-
|
|
83
58
|
exports.isCollapsableListProps = isCollapsableListProps;
|
|
84
59
|
var _default = CollapsableListProps;
|
|
85
60
|
var _default2 = _default;
|
|
86
61
|
var _default3 = _default2;
|
|
87
62
|
exports.default = _default3;
|
|
88
63
|
;
|
|
89
|
-
|
|
90
64
|
(function () {
|
|
91
65
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
92
|
-
|
|
93
66
|
if (!reactHotLoader) {
|
|
94
67
|
return;
|
|
95
68
|
}
|
|
96
|
-
|
|
97
69
|
reactHotLoader.register(CollapsableListProps, "CollapsableListProps", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/collapsableListProps.js");
|
|
98
70
|
reactHotLoader.register(isCollapsableListProps, "isCollapsableListProps", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/collapsableListProps.js");
|
|
99
71
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/collapsableListProps.js");
|
|
100
72
|
})();
|
|
101
|
-
|
|
102
73
|
;
|
|
103
|
-
|
|
104
74
|
(function () {
|
|
105
75
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
106
76
|
leaveModule && leaveModule(module);
|
|
107
77
|
})();
|
|
108
|
-
|
|
109
78
|
;
|
|
110
|
-
|
|
111
79
|
(function () {
|
|
112
80
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
113
|
-
|
|
114
81
|
if (!reactHotLoader) {
|
|
115
82
|
return;
|
|
116
83
|
}
|
|
117
|
-
|
|
118
84
|
reactHotLoader.register(CollapsableListProps, "CollapsableListProps", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/collapsableListProps.js");
|
|
119
85
|
reactHotLoader.register(isCollapsableListProps, "isCollapsableListProps", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/collapsableListProps.js");
|
|
120
86
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/DataDisplay/collapsableListProps.js");
|
|
121
87
|
})();
|
|
122
|
-
|
|
123
88
|
;
|
|
124
|
-
|
|
125
89
|
(function () {
|
|
126
90
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
127
91
|
leaveModule && leaveModule(module);
|