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
package/dist/utils/safeGet.js
CHANGED
|
@@ -2,25 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
(function () {
|
|
7
6
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
8
7
|
enterModule && enterModule(module);
|
|
9
8
|
})();
|
|
10
|
-
|
|
11
9
|
(function () {
|
|
12
10
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
13
11
|
enterModule && enterModule(module);
|
|
14
12
|
})();
|
|
15
|
-
|
|
16
13
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
17
14
|
return a;
|
|
18
15
|
};
|
|
19
|
-
|
|
20
16
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
21
17
|
return a;
|
|
22
18
|
};
|
|
23
|
-
|
|
24
19
|
/* Gets values in the object without throwing errors.
|
|
25
20
|
Returns undefined if not found.
|
|
26
21
|
Returns null if given null */
|
|
@@ -28,49 +23,36 @@ var safeGet = function safeGet(obj, step) {
|
|
|
28
23
|
for (var _len = arguments.length, path = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
29
24
|
path[_key - 2] = arguments[_key];
|
|
30
25
|
}
|
|
31
|
-
|
|
32
26
|
return obj === null ? null : typeof obj === "object" && typeof step === "string" ? safeGet.apply(void 0, [obj[step]].concat(path)) : obj;
|
|
33
27
|
};
|
|
34
|
-
|
|
35
28
|
var _default = safeGet;
|
|
36
29
|
var _default2 = _default;
|
|
37
30
|
var _default3 = _default2;
|
|
38
31
|
exports.default = _default3;
|
|
39
32
|
;
|
|
40
|
-
|
|
41
33
|
(function () {
|
|
42
34
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
43
|
-
|
|
44
35
|
if (!reactHotLoader) {
|
|
45
36
|
return;
|
|
46
37
|
}
|
|
47
|
-
|
|
48
38
|
reactHotLoader.register(safeGet, "safeGet", "/home/vsts/work/1/s/src/utils/safeGet.js");
|
|
49
39
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/utils/safeGet.js");
|
|
50
40
|
})();
|
|
51
|
-
|
|
52
41
|
;
|
|
53
|
-
|
|
54
42
|
(function () {
|
|
55
43
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
56
44
|
leaveModule && leaveModule(module);
|
|
57
45
|
})();
|
|
58
|
-
|
|
59
46
|
;
|
|
60
|
-
|
|
61
47
|
(function () {
|
|
62
48
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
63
|
-
|
|
64
49
|
if (!reactHotLoader) {
|
|
65
50
|
return;
|
|
66
51
|
}
|
|
67
|
-
|
|
68
52
|
reactHotLoader.register(safeGet, "safeGet", "/home/vsts/work/1/s/src/utils/safeGet.js");
|
|
69
53
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/utils/safeGet.js");
|
|
70
54
|
})();
|
|
71
|
-
|
|
72
55
|
;
|
|
73
|
-
|
|
74
56
|
(function () {
|
|
75
57
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
76
58
|
leaveModule && leaveModule(module);
|
|
@@ -2,105 +2,78 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _flatten = require("./flatten");
|
|
7
|
-
|
|
8
6
|
(function () {
|
|
9
7
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
10
8
|
enterModule && enterModule(module);
|
|
11
9
|
})();
|
|
12
|
-
|
|
13
10
|
(function () {
|
|
14
11
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
15
12
|
enterModule && enterModule(module);
|
|
16
13
|
})();
|
|
17
|
-
|
|
18
14
|
function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (it) return (it = it.call(o)).next.bind(it); if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
19
|
-
|
|
20
15
|
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); }
|
|
21
|
-
|
|
22
16
|
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; }
|
|
23
|
-
|
|
24
17
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
25
18
|
return a;
|
|
26
19
|
};
|
|
27
|
-
|
|
28
20
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
29
21
|
return a;
|
|
30
22
|
};
|
|
31
|
-
|
|
32
23
|
/* Replaces a locale string structure with the string for the given locale. */
|
|
33
24
|
var setTranslation = function setTranslation(locale, obj) {
|
|
34
25
|
for (var _len = arguments.length, field = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
35
26
|
field[_key - 2] = arguments[_key];
|
|
36
27
|
}
|
|
37
|
-
|
|
38
28
|
if (!obj || !obj.getIn((0, _flatten.flatten)([field]))) return obj;
|
|
39
29
|
var localeValue = obj.getIn((0, _flatten.flatten)([field, locale]));
|
|
40
|
-
|
|
41
30
|
if (!localeValue && locale.includes("-")) {
|
|
42
31
|
var fieldValue = obj.getIn((0, _flatten.flatten)([field]));
|
|
43
32
|
var fieldKeys = fieldValue.keys();
|
|
44
33
|
var language = locale.substring(0, locale.indexOf("-"));
|
|
45
|
-
|
|
46
34
|
for (var _iterator = _createForOfIteratorHelperLoose(fieldKeys), _step; !(_step = _iterator()).done;) {
|
|
47
35
|
var key = _step.value;
|
|
48
|
-
|
|
49
36
|
if (key !== locale && key.startsWith(language)) {
|
|
50
37
|
localeValue = obj.getIn((0, _flatten.flatten)([field, key]));
|
|
51
|
-
|
|
52
38
|
if (localeValue) {
|
|
53
39
|
break;
|
|
54
40
|
}
|
|
55
41
|
}
|
|
56
42
|
}
|
|
57
43
|
}
|
|
58
|
-
|
|
59
44
|
var value = localeValue || obj.getIn((0, _flatten.flatten)([field])).filter(function (i) {
|
|
60
45
|
return i;
|
|
61
46
|
}).first() || "";
|
|
62
47
|
return obj.setIn((0, _flatten.flatten)([field]), value);
|
|
63
48
|
};
|
|
64
|
-
|
|
65
49
|
var _default = setTranslation;
|
|
66
50
|
var _default2 = _default;
|
|
67
51
|
var _default3 = _default2;
|
|
68
52
|
exports.default = _default3;
|
|
69
53
|
;
|
|
70
|
-
|
|
71
54
|
(function () {
|
|
72
55
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
73
|
-
|
|
74
56
|
if (!reactHotLoader) {
|
|
75
57
|
return;
|
|
76
58
|
}
|
|
77
|
-
|
|
78
59
|
reactHotLoader.register(setTranslation, "setTranslation", "/home/vsts/work/1/s/src/utils/setTranslation.js");
|
|
79
60
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/utils/setTranslation.js");
|
|
80
61
|
})();
|
|
81
|
-
|
|
82
62
|
;
|
|
83
|
-
|
|
84
63
|
(function () {
|
|
85
64
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
86
65
|
leaveModule && leaveModule(module);
|
|
87
66
|
})();
|
|
88
|
-
|
|
89
67
|
;
|
|
90
|
-
|
|
91
68
|
(function () {
|
|
92
69
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
93
|
-
|
|
94
70
|
if (!reactHotLoader) {
|
|
95
71
|
return;
|
|
96
72
|
}
|
|
97
|
-
|
|
98
73
|
reactHotLoader.register(setTranslation, "setTranslation", "/home/vsts/work/1/s/src/utils/setTranslation.js");
|
|
99
74
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/utils/setTranslation.js");
|
|
100
75
|
})();
|
|
101
|
-
|
|
102
76
|
;
|
|
103
|
-
|
|
104
77
|
(function () {
|
|
105
78
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
106
79
|
leaveModule && leaveModule(module);
|
|
@@ -2,55 +2,39 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.setTranslationWithFallbackValue = exports.setTranslationWithFallbackField = void 0;
|
|
5
|
-
|
|
6
5
|
var _flatten = require("./flatten");
|
|
7
|
-
|
|
8
6
|
(function () {
|
|
9
7
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
10
8
|
enterModule && enterModule(module);
|
|
11
9
|
})();
|
|
12
|
-
|
|
13
10
|
(function () {
|
|
14
11
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
15
12
|
enterModule && enterModule(module);
|
|
16
13
|
})();
|
|
17
|
-
|
|
18
14
|
function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (it) return (it = it.call(o)).next.bind(it); if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
19
|
-
|
|
20
15
|
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); }
|
|
21
|
-
|
|
22
16
|
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; }
|
|
23
|
-
|
|
24
17
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
25
18
|
return a;
|
|
26
19
|
};
|
|
27
|
-
|
|
28
20
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
29
21
|
return a;
|
|
30
22
|
};
|
|
31
|
-
|
|
32
23
|
var setTranslationWithFallbackValue = function setTranslationWithFallbackValue(locale, obj, fallbackValue) {
|
|
33
24
|
if (!obj) return obj;
|
|
34
|
-
|
|
35
25
|
for (var _len = arguments.length, field = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
|
|
36
26
|
field[_key - 3] = arguments[_key];
|
|
37
27
|
}
|
|
38
|
-
|
|
39
28
|
var localeValue = obj.getIn((0, _flatten.flatten)([field, locale]));
|
|
40
|
-
|
|
41
29
|
if (!localeValue && locale.includes("-")) {
|
|
42
30
|
var fieldValue = obj.getIn((0, _flatten.flatten)([field]));
|
|
43
|
-
|
|
44
31
|
if (fieldValue) {
|
|
45
32
|
var fieldKeys = fieldValue.keys();
|
|
46
33
|
var language = locale.substring(0, locale.indexOf("-"));
|
|
47
|
-
|
|
48
34
|
for (var _iterator = _createForOfIteratorHelperLoose(fieldKeys), _step; !(_step = _iterator()).done;) {
|
|
49
35
|
var key = _step.value;
|
|
50
|
-
|
|
51
36
|
if (key !== locale && key.startsWith(language)) {
|
|
52
37
|
localeValue = obj.getIn((0, _flatten.flatten)([field, key]));
|
|
53
|
-
|
|
54
38
|
if (localeValue) {
|
|
55
39
|
break;
|
|
56
40
|
}
|
|
@@ -58,57 +42,41 @@ var setTranslationWithFallbackValue = function setTranslationWithFallbackValue(l
|
|
|
58
42
|
}
|
|
59
43
|
}
|
|
60
44
|
}
|
|
61
|
-
|
|
62
45
|
var value = localeValue || fallbackValue || "";
|
|
63
46
|
return obj.setIn((0, _flatten.flatten)([field]), value);
|
|
64
47
|
};
|
|
65
|
-
|
|
66
48
|
exports.setTranslationWithFallbackValue = setTranslationWithFallbackValue;
|
|
67
|
-
|
|
68
49
|
var setTranslationWithFallbackField = function setTranslationWithFallbackField(locale, obj, fallbackField) {
|
|
69
50
|
for (var _len2 = arguments.length, field = new Array(_len2 > 3 ? _len2 - 3 : 0), _key2 = 3; _key2 < _len2; _key2++) {
|
|
70
51
|
field[_key2 - 3] = arguments[_key2];
|
|
71
52
|
}
|
|
72
|
-
|
|
73
53
|
return setTranslationWithFallbackValue.apply(void 0, [locale, obj, obj == null ? void 0 : obj.get(fallbackField)].concat(field));
|
|
74
54
|
};
|
|
75
|
-
|
|
76
55
|
exports.setTranslationWithFallbackField = setTranslationWithFallbackField;
|
|
77
56
|
;
|
|
78
|
-
|
|
79
57
|
(function () {
|
|
80
58
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
81
|
-
|
|
82
59
|
if (!reactHotLoader) {
|
|
83
60
|
return;
|
|
84
61
|
}
|
|
85
|
-
|
|
86
62
|
reactHotLoader.register(setTranslationWithFallbackValue, "setTranslationWithFallbackValue", "/home/vsts/work/1/s/src/utils/setTranslationWithFallback.js");
|
|
87
63
|
reactHotLoader.register(setTranslationWithFallbackField, "setTranslationWithFallbackField", "/home/vsts/work/1/s/src/utils/setTranslationWithFallback.js");
|
|
88
64
|
})();
|
|
89
|
-
|
|
90
65
|
;
|
|
91
|
-
|
|
92
66
|
(function () {
|
|
93
67
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
94
68
|
leaveModule && leaveModule(module);
|
|
95
69
|
})();
|
|
96
|
-
|
|
97
70
|
;
|
|
98
|
-
|
|
99
71
|
(function () {
|
|
100
72
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
101
|
-
|
|
102
73
|
if (!reactHotLoader) {
|
|
103
74
|
return;
|
|
104
75
|
}
|
|
105
|
-
|
|
106
76
|
reactHotLoader.register(setTranslationWithFallbackValue, "setTranslationWithFallbackValue", "/home/vsts/work/1/s/src/utils/setTranslationWithFallback.js");
|
|
107
77
|
reactHotLoader.register(setTranslationWithFallbackField, "setTranslationWithFallbackField", "/home/vsts/work/1/s/src/utils/setTranslationWithFallback.js");
|
|
108
78
|
})();
|
|
109
|
-
|
|
110
79
|
;
|
|
111
|
-
|
|
112
80
|
(function () {
|
|
113
81
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
114
82
|
leaveModule && leaveModule(module);
|
package/dist/utils/stripKey.js
CHANGED
|
@@ -2,80 +2,58 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
(function () {
|
|
7
6
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
8
7
|
enterModule && enterModule(module);
|
|
9
8
|
})();
|
|
10
|
-
|
|
11
9
|
(function () {
|
|
12
10
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
13
11
|
enterModule && enterModule(module);
|
|
14
12
|
})();
|
|
15
|
-
|
|
16
13
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
17
|
-
|
|
18
14
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
19
|
-
|
|
20
15
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
21
|
-
|
|
22
16
|
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
23
|
-
|
|
24
17
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
25
18
|
return a;
|
|
26
19
|
};
|
|
27
|
-
|
|
28
20
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
29
21
|
return a;
|
|
30
22
|
};
|
|
31
|
-
|
|
32
23
|
/* Returns a copy of an object with a single named key stripped out */
|
|
33
24
|
var stripKey = function stripKey(key, _ref) {
|
|
34
25
|
var _ = _ref[key],
|
|
35
|
-
|
|
36
|
-
|
|
26
|
+
newObj = _objectWithoutProperties(_ref, [key].map(_toPropertyKey));
|
|
37
27
|
return newObj;
|
|
38
28
|
};
|
|
39
|
-
|
|
40
29
|
var _default = stripKey;
|
|
41
30
|
var _default2 = _default;
|
|
42
31
|
var _default3 = _default2;
|
|
43
32
|
exports.default = _default3;
|
|
44
33
|
;
|
|
45
|
-
|
|
46
34
|
(function () {
|
|
47
35
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
48
|
-
|
|
49
36
|
if (!reactHotLoader) {
|
|
50
37
|
return;
|
|
51
38
|
}
|
|
52
|
-
|
|
53
39
|
reactHotLoader.register(stripKey, "stripKey", "/home/vsts/work/1/s/src/utils/stripKey.js");
|
|
54
40
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/utils/stripKey.js");
|
|
55
41
|
})();
|
|
56
|
-
|
|
57
42
|
;
|
|
58
|
-
|
|
59
43
|
(function () {
|
|
60
44
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
61
45
|
leaveModule && leaveModule(module);
|
|
62
46
|
})();
|
|
63
|
-
|
|
64
47
|
;
|
|
65
|
-
|
|
66
48
|
(function () {
|
|
67
49
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
68
|
-
|
|
69
50
|
if (!reactHotLoader) {
|
|
70
51
|
return;
|
|
71
52
|
}
|
|
72
|
-
|
|
73
53
|
reactHotLoader.register(stripKey, "stripKey", "/home/vsts/work/1/s/src/utils/stripKey.js");
|
|
74
54
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/utils/stripKey.js");
|
|
75
55
|
})();
|
|
76
|
-
|
|
77
56
|
;
|
|
78
|
-
|
|
79
57
|
(function () {
|
|
80
58
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
81
59
|
leaveModule && leaveModule(module);
|
|
@@ -2,115 +2,89 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.switchEnum = exports.ifFlag = exports.getThemeProp = void 0;
|
|
5
|
-
|
|
6
5
|
var _safeGet = _interopRequireDefault(require("./safeGet"));
|
|
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
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
21
16
|
return a;
|
|
22
17
|
};
|
|
23
|
-
|
|
24
18
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
25
19
|
return a;
|
|
26
20
|
};
|
|
27
|
-
|
|
28
21
|
var feedPropFunc = function feedPropFunc(props) {
|
|
29
22
|
return function (value) {
|
|
30
23
|
return typeof value === "function" ? value(props) : value;
|
|
31
24
|
};
|
|
32
25
|
};
|
|
33
|
-
/* Safely gets a (potentially nested) theme property, can run a function on the resulting value */
|
|
34
|
-
|
|
35
26
|
|
|
27
|
+
/* Safely gets a (potentially nested) theme property, can run a function on the resulting value */
|
|
36
28
|
var getThemeProp = function getThemeProp(path, defaultValue, func) {
|
|
37
29
|
if (func === void 0) {
|
|
38
30
|
func = function func(x) {
|
|
39
31
|
return x;
|
|
40
32
|
};
|
|
41
33
|
}
|
|
42
|
-
|
|
43
34
|
return function (props) {
|
|
44
35
|
return func(_safeGet.default.apply(void 0, [props, "theme"].concat(path.map(feedPropFunc(props)))) || feedPropFunc(props)(defaultValue));
|
|
45
36
|
};
|
|
46
37
|
};
|
|
38
|
+
|
|
47
39
|
/* Use in styled components to check if a prop has a truthy value and
|
|
48
40
|
return values based on that. */
|
|
49
|
-
|
|
50
|
-
|
|
51
41
|
exports.getThemeProp = getThemeProp;
|
|
52
|
-
|
|
53
42
|
var ifFlag = function ifFlag(name, thenVal, elseVal) {
|
|
54
43
|
if (elseVal === void 0) {
|
|
55
44
|
elseVal = "";
|
|
56
45
|
}
|
|
57
|
-
|
|
58
46
|
return function (props) {
|
|
59
47
|
return props[name] ? feedPropFunc(props)(thenVal) : feedPropFunc(props)(elseVal);
|
|
60
48
|
};
|
|
61
49
|
};
|
|
50
|
+
|
|
62
51
|
/* Creates a prop function that checks a field against a list of cases,
|
|
63
52
|
and gives back a found case, or a default */
|
|
64
|
-
|
|
65
|
-
|
|
66
53
|
exports.ifFlag = ifFlag;
|
|
67
|
-
|
|
68
54
|
var switchEnum = function switchEnum(enumField, cases) {
|
|
69
55
|
return function (props) {
|
|
70
56
|
return cases[props[enumField]] || cases["default"];
|
|
71
57
|
};
|
|
72
58
|
};
|
|
73
|
-
|
|
74
59
|
exports.switchEnum = switchEnum;
|
|
75
60
|
;
|
|
76
|
-
|
|
77
61
|
(function () {
|
|
78
62
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
79
|
-
|
|
80
63
|
if (!reactHotLoader) {
|
|
81
64
|
return;
|
|
82
65
|
}
|
|
83
|
-
|
|
84
66
|
reactHotLoader.register(feedPropFunc, "feedPropFunc", "/home/vsts/work/1/s/src/utils/styledPropFuncs.js");
|
|
85
67
|
reactHotLoader.register(getThemeProp, "getThemeProp", "/home/vsts/work/1/s/src/utils/styledPropFuncs.js");
|
|
86
68
|
reactHotLoader.register(ifFlag, "ifFlag", "/home/vsts/work/1/s/src/utils/styledPropFuncs.js");
|
|
87
69
|
reactHotLoader.register(switchEnum, "switchEnum", "/home/vsts/work/1/s/src/utils/styledPropFuncs.js");
|
|
88
70
|
})();
|
|
89
|
-
|
|
90
71
|
;
|
|
91
|
-
|
|
92
72
|
(function () {
|
|
93
73
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
94
74
|
leaveModule && leaveModule(module);
|
|
95
75
|
})();
|
|
96
|
-
|
|
97
76
|
;
|
|
98
|
-
|
|
99
77
|
(function () {
|
|
100
78
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
101
|
-
|
|
102
79
|
if (!reactHotLoader) {
|
|
103
80
|
return;
|
|
104
81
|
}
|
|
105
|
-
|
|
106
82
|
reactHotLoader.register(feedPropFunc, "feedPropFunc", "/home/vsts/work/1/s/src/utils/styledPropFuncs.js");
|
|
107
83
|
reactHotLoader.register(getThemeProp, "getThemeProp", "/home/vsts/work/1/s/src/utils/styledPropFuncs.js");
|
|
108
84
|
reactHotLoader.register(ifFlag, "ifFlag", "/home/vsts/work/1/s/src/utils/styledPropFuncs.js");
|
|
109
85
|
reactHotLoader.register(switchEnum, "switchEnum", "/home/vsts/work/1/s/src/utils/styledPropFuncs.js");
|
|
110
86
|
})();
|
|
111
|
-
|
|
112
87
|
;
|
|
113
|
-
|
|
114
88
|
(function () {
|
|
115
89
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
116
90
|
leaveModule && leaveModule(module);
|