orc-shared 1.2.2-dev.1 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/applications.js +14 -52
- package/dist/actions/authentication.js +10 -45
- package/dist/actions/countries.js +6 -36
- package/dist/actions/locale.js +14 -54
- package/dist/actions/makeApiAction.js +31 -79
- package/dist/actions/makeOrcApiAction.js +3 -26
- package/dist/actions/metadata.js +65 -174
- package/dist/actions/modules.js +0 -26
- package/dist/actions/navigation.js +3 -33
- package/dist/actions/requestState.js +0 -18
- package/dist/actions/requestsApi.js +1 -17
- package/dist/actions/scopes.js +14 -56
- package/dist/actions/timezones.js +6 -36
- package/dist/actions/toasts.js +3 -23
- package/dist/actions/versionInfo.js +6 -39
- package/dist/actions/view.js +0 -38
- package/dist/buildStore.js +3 -53
- package/dist/components/AppFrame/About.js +8 -70
- package/dist/components/AppFrame/Anchor.js +1 -25
- package/dist/components/AppFrame/AppFrame.js +23 -92
- package/dist/components/AppFrame/ApplicationSelector/ApplicationDialog.js +4 -35
- package/dist/components/AppFrame/ApplicationSelector/Header.js +1 -31
- package/dist/components/AppFrame/ApplicationSelector/index.js +1 -30
- package/dist/components/AppFrame/ConnectedToastList.js +0 -31
- package/dist/components/AppFrame/Help.js +0 -25
- package/dist/components/AppFrame/MenuItem.js +17 -70
- package/dist/components/AppFrame/Preferences.js +17 -79
- package/dist/components/AppFrame/Sidebar.js +8 -53
- package/dist/components/AppFrame/Topbar.js +9 -65
- package/dist/components/AppFrame/index.js +0 -20
- package/dist/components/AppFrame/useApplicationHelpUrl.js +0 -22
- package/dist/components/ApplicationModuleLoader.js +7 -46
- package/dist/components/Authenticate.js +5 -48
- package/dist/components/Button.js +0 -24
- package/dist/components/CategoryList.js +33 -82
- package/dist/components/Checkbox.js +3 -41
- package/dist/components/ColumnWrapper.js +0 -19
- package/dist/components/Culture.js +0 -29
- package/dist/components/DevPages.js +0 -21
- package/dist/components/DropMenu/Menu.js +4 -36
- package/dist/components/DropMenu/index.js +12 -50
- package/dist/components/ErrorPlaceholder.js +3 -31
- package/dist/components/Form/Combination.js +3 -28
- package/dist/components/Form/Field.js +6 -37
- package/dist/components/Form/FieldElements.js +9 -41
- package/dist/components/Form/FieldList.js +28 -92
- package/dist/components/Form/Fieldset.js +1 -27
- package/dist/components/Form/Form.js +6 -37
- package/dist/components/Form/FormElement.js +1 -20
- package/dist/components/Form/InputField.js +17 -66
- package/dist/components/Form/Inputs/Button.js +5 -35
- package/dist/components/Form/Inputs/Date.js +2 -28
- package/dist/components/Form/Inputs/FieldButtons.js +0 -25
- package/dist/components/Form/Inputs/Number.js +7 -46
- package/dist/components/Form/Inputs/ReadOnly.js +0 -29
- package/dist/components/Form/Inputs/SmallButton.js +6 -38
- package/dist/components/Form/Inputs/Text.js +8 -41
- package/dist/components/Form/Inputs/Time.js +4 -33
- package/dist/components/Form/Inputs/Toggles.js +5 -39
- package/dist/components/Form/Inputs/Translation.js +21 -78
- package/dist/components/Form/Inputs/index.js +0 -28
- package/dist/components/Form/index.js +0 -20
- package/dist/components/Head.js +0 -22
- package/dist/components/I18n.js +0 -28
- package/dist/components/Icon.js +1 -27
- package/dist/components/IconButton.js +2 -32
- package/dist/components/Input.js +2 -42
- package/dist/components/InternetExplorerWarningMessage.js +0 -31
- package/dist/components/List/DataCell.js +3 -42
- package/dist/components/List/HeadCell.js +3 -43
- package/dist/components/List/HeadRow.js +2 -25
- package/dist/components/List/List.js +37 -107
- package/dist/components/List/Row.js +7 -38
- package/dist/components/List/enhanceColumnDefs.js +3 -29
- package/dist/components/List/index.js +0 -20
- package/dist/components/Loader.js +5 -48
- package/dist/components/LoadingIcon.js +0 -24
- package/dist/components/MaterialUI/DataDisplay/Badge.js +2 -31
- package/dist/components/MaterialUI/DataDisplay/Chip.js +1 -33
- package/dist/components/MaterialUI/DataDisplay/CollapsableList.js +7 -51
- package/dist/components/MaterialUI/DataDisplay/Divider.js +0 -30
- package/dist/components/MaterialUI/DataDisplay/Icon.js +2 -28
- package/dist/components/MaterialUI/DataDisplay/List.js +16 -55
- package/dist/components/MaterialUI/DataDisplay/Modal.js +4 -37
- package/dist/components/MaterialUI/DataDisplay/Notification.js +17 -69
- package/dist/components/MaterialUI/DataDisplay/NotificationProps.js +3 -34
- package/dist/components/MaterialUI/DataDisplay/PopperedElements/PopperedIcon.js +0 -22
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/ActionModal.js +5 -37
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/Address.js +1 -33
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/ConfirmationModal.js +7 -28
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/DiscountedPrice.js +3 -32
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/InformationItem.js +14 -54
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/Placeholder.js +4 -33
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/SectionTitle.js +0 -25
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/StepperModal.js +14 -60
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/TableInfoBar.js +0 -29
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/Translations.js +15 -59
- package/dist/components/MaterialUI/DataDisplay/SelectionList.js +23 -70
- package/dist/components/MaterialUI/DataDisplay/Table.js +34 -123
- package/dist/components/MaterialUI/DataDisplay/TableHeaderCell.js +0 -35
- package/dist/components/MaterialUI/DataDisplay/TableProps.js +3 -49
- package/dist/components/MaterialUI/DataDisplay/Timeline.js +1 -21
- package/dist/components/MaterialUI/DataDisplay/TimelineItem.js +4 -32
- package/dist/components/MaterialUI/DataDisplay/TooltippedElements/MultipleLinesText.js +7 -46
- package/dist/components/MaterialUI/DataDisplay/TooltippedElements/TooltippedIcon.js +3 -29
- package/dist/components/MaterialUI/DataDisplay/TooltippedElements/TooltippedTypography.js +0 -21
- package/dist/components/MaterialUI/DataDisplay/TransferList.js +32 -97
- package/dist/components/MaterialUI/DataDisplay/chipProps.js +3 -38
- package/dist/components/MaterialUI/DataDisplay/collapsableListProps.js +3 -37
- package/dist/components/MaterialUI/DataDisplay/dividerProps.js +3 -41
- package/dist/components/MaterialUI/DataDisplay/index.js +0 -33
- package/dist/components/MaterialUI/DataDisplay/modalProps.js +3 -36
- package/dist/components/MaterialUI/DataDisplay/tableHelpers.js +5 -68
- package/dist/components/MaterialUI/DataDisplay/useTableSelection.js +11 -48
- package/dist/components/MaterialUI/Feedback/NotificationContext.js +5 -40
- package/dist/components/MaterialUI/Feedback/loadingScreen.js +5 -44
- package/dist/components/MaterialUI/Feedback/useNotification.js +0 -21
- package/dist/components/MaterialUI/Inputs/Autocomplete.js +5 -44
- package/dist/components/MaterialUI/Inputs/AutocompleteProps.js +3 -37
- package/dist/components/MaterialUI/Inputs/Checkbox.js +3 -40
- package/dist/components/MaterialUI/Inputs/CheckboxGroup.js +3 -43
- package/dist/components/MaterialUI/Inputs/CheckboxGroupProps.js +3 -38
- package/dist/components/MaterialUI/Inputs/CheckboxProps.js +3 -39
- package/dist/components/MaterialUI/Inputs/DatePicker.js +16 -52
- package/dist/components/MaterialUI/Inputs/InputBase.js +7 -56
- package/dist/components/MaterialUI/Inputs/InputBaseProps.js +3 -49
- package/dist/components/MaterialUI/Inputs/PredefinedElements/SearchControl.js +12 -65
- package/dist/components/MaterialUI/Inputs/PredefinedElements/TitledSelect.js +3 -31
- package/dist/components/MaterialUI/Inputs/Radio.js +8 -54
- package/dist/components/MaterialUI/Inputs/RadioProps.js +3 -41
- package/dist/components/MaterialUI/Inputs/Select.js +10 -72
- package/dist/components/MaterialUI/Inputs/SelectProps.js +3 -46
- package/dist/components/MaterialUI/Inputs/StandaloneRadio.js +3 -35
- package/dist/components/MaterialUI/Inputs/Switch.js +4 -38
- package/dist/components/MaterialUI/Inputs/SwitchProps.js +3 -40
- package/dist/components/MaterialUI/Inputs/TimePicker.js +14 -91
- package/dist/components/MaterialUI/Inputs/createInput.js +5 -30
- package/dist/components/MaterialUI/Inputs/index.js +0 -35
- package/dist/components/MaterialUI/Inputs/standaloneRadioProps.js +3 -41
- package/dist/components/MaterialUI/Navigation/DropDownMenu.js +12 -56
- package/dist/components/MaterialUI/Navigation/DropDownMenuProps.js +3 -33
- package/dist/components/MaterialUI/Navigation/ExternalLink.js +2 -27
- package/dist/components/MaterialUI/Navigation/PredefinedElements/ActionMenu.js +4 -31
- package/dist/components/MaterialUI/Navigation/TabBar.js +22 -103
- package/dist/components/MaterialUI/Navigation/TabLabel.js +7 -41
- package/dist/components/MaterialUI/ScopeSelector/ScopeSelector.js +7 -42
- package/dist/components/MaterialUI/ScopeSelector/ScopeTreeView.js +22 -62
- package/dist/components/MaterialUI/ScopeSelector/TreeItem.js +16 -68
- package/dist/components/MaterialUI/Surfaces/ExpansionPanel.js +15 -55
- package/dist/components/MaterialUI/Surfaces/Paper.js +1 -31
- package/dist/components/MaterialUI/Surfaces/PredefinedElements/TitledPaper.js +3 -28
- package/dist/components/MaterialUI/Surfaces/SectionExpansionPanel.js +19 -62
- package/dist/components/MaterialUI/Surfaces/expansionPanelProps.js +3 -55
- package/dist/components/MaterialUI/Surfaces/paperProps.js +3 -36
- package/dist/components/MaterialUI/componentProps.js +3 -29
- package/dist/components/MaterialUI/hocs/withDeferredPopper.js +10 -59
- package/dist/components/MaterialUI/hocs/withDeferredTooltip.js +7 -44
- package/dist/components/MaterialUI/muiThemes.js +5 -57
- package/dist/components/MaterialUI/textProps.js +3 -33
- package/dist/components/Modal/Background.js +0 -19
- package/dist/components/Modal/Dialog.js +2 -26
- package/dist/components/Modal/Wrapper.js +0 -26
- package/dist/components/Modal/index.js +8 -44
- package/dist/components/Modules.js +21 -93
- package/dist/components/MultiSelector.js +21 -74
- package/dist/components/Navigation/Bar.js +29 -90
- package/dist/components/Navigation/Tab.js +22 -74
- package/dist/components/Navigation/index.js +1 -21
- package/dist/components/Navigation/useNavigationState.js +90 -173
- package/dist/components/Placeholder.js +5 -43
- package/dist/components/Provision.js +4 -36
- package/dist/components/Routing/FullPage.js +14 -37
- package/dist/components/Routing/Page.js +14 -51
- package/dist/components/Routing/Segment.js +5 -30
- package/dist/components/Routing/SegmentPage.js +26 -106
- package/dist/components/Routing/SubPage.js +6 -54
- package/dist/components/Routing/withWaypointing.js +6 -37
- package/dist/components/Scope/ScopeModificationConfirmationDialog.js +3 -30
- package/dist/components/Scope/ScopeNode.js +8 -49
- package/dist/components/Scope/Selector.js +8 -44
- package/dist/components/Scope/index.js +29 -96
- package/dist/components/Scope/useScopeConfirmationModalState.js +33 -100
- package/dist/components/Scope/useScopeData.js +0 -25
- package/dist/components/Scope/useScopeSelect.js +0 -26
- package/dist/components/Selector.js +15 -76
- package/dist/components/Sidepanel.js +0 -28
- package/dist/components/Spritesheet.js +0 -26
- package/dist/components/Switch.js +11 -51
- package/dist/components/Text.js +6 -50
- package/dist/components/ToastList.js +5 -45
- package/dist/components/Toolbar.js +16 -74
- package/dist/components/Tooltip.js +0 -24
- package/dist/components/Treeview/Branch.js +0 -25
- package/dist/components/Treeview/Label.js +0 -29
- package/dist/components/Treeview/Leaf.js +0 -21
- package/dist/components/Treeview/Node.js +17 -55
- package/dist/components/Treeview/index.js +25 -66
- package/dist/components/Treeview/settings.js +0 -17
- package/dist/constants.js +2 -17
- package/dist/getTheme.js +0 -29
- package/dist/getThemeOverrides.js +3 -22
- package/dist/hocs/routingConnector.js +0 -21
- package/dist/hocs/withAuthentication.js +4 -26
- package/dist/hocs/withClickOutside.js +2 -28
- package/dist/hocs/withErrorBoundary.js +2 -37
- package/dist/hocs/withId.js +1 -30
- package/dist/hocs/withInfiniteScroll.js +15 -32
- package/dist/hocs/withInitialLoad.js +0 -20
- package/dist/hocs/withLocaleSwitch.js +0 -19
- package/dist/hocs/withNavigationLink.js +5 -32
- package/dist/hocs/withRequestActivity.js +0 -21
- package/dist/hocs/withScopeData.js +6 -33
- package/dist/hocs/withScrollBox.js +2 -31
- package/dist/hocs/withToggle.js +9 -37
- package/dist/hocs/withUpdateHandler.js +3 -23
- package/dist/hocs/withViewState.js +5 -32
- package/dist/hooks/useDispatchWithModulesData.js +0 -26
- package/dist/hooks/useEditState.js +6 -103
- package/dist/hooks/useEntityLoader.js +18 -67
- package/dist/hooks/useFullEntityEditState.js +9 -56
- package/dist/hooks/useInfiniteScroll.js +5 -33
- package/dist/hooks/useLabelMessage.js +3 -42
- package/dist/hooks/useLoader.js +0 -27
- package/dist/hooks/useMultipleFieldEditState.js +3 -40
- package/dist/hooks/useNavigationHandler.js +3 -28
- package/dist/hooks/useNotificationRequestState.js +17 -47
- package/dist/hooks/usePreviousModified.js +0 -24
- package/dist/hooks/useRequestState.js +8 -38
- package/dist/hooks/useSelectorAndUnwrap.js +0 -23
- package/dist/hooks/useToggle.js +5 -35
- package/dist/hooks/useViewState.js +0 -23
- package/dist/index.js +1 -2
- package/dist/reducers/applications.js +0 -23
- package/dist/reducers/authentication.js +6 -37
- package/dist/reducers/countries.js +0 -25
- package/dist/reducers/localeFactory.js +0 -30
- package/dist/reducers/metadata.js +3 -63
- package/dist/reducers/modules.js +0 -36
- package/dist/reducers/navigation.js +8 -47
- package/dist/reducers/request.js +0 -28
- package/dist/reducers/requestStates.js +0 -42
- package/dist/reducers/scopes.js +0 -28
- package/dist/reducers/settings.js +4 -39
- package/dist/reducers/timezones.js +0 -25
- package/dist/reducers/toasts.js +0 -27
- package/dist/reducers/versionInfo.js +0 -24
- package/dist/reducers/view.js +36 -84
- package/dist/schemas/countries.js +0 -17
- package/dist/schemas/definitions.js +0 -17
- package/dist/schemas/metadata.js +0 -17
- package/dist/schemas/productDefinitions.js +0 -17
- package/dist/schemas/scopes.js +0 -17
- package/dist/schemas/timezones.js +0 -17
- package/dist/selectors/applications.js +0 -20
- package/dist/selectors/authentication.js +0 -40
- package/dist/selectors/countries.js +0 -22
- package/dist/selectors/locale.js +1 -29
- package/dist/selectors/metadata.js +4 -45
- package/dist/selectors/modules.js +3 -22
- package/dist/selectors/navigation.js +9 -39
- package/dist/selectors/requestStates.js +0 -22
- package/dist/selectors/requests.js +2 -22
- package/dist/selectors/route.js +0 -21
- package/dist/selectors/scope.js +0 -32
- package/dist/selectors/settings.js +0 -18
- package/dist/selectors/timezones.js +0 -19
- package/dist/selectors/versionInfo.js +0 -18
- package/dist/selectors/view.js +3 -74
- package/dist/sharedMessages.js +0 -17
- package/dist/spawnerMiddleware.js +0 -24
- package/dist/utils/buildUrl.js +7 -38
- package/dist/utils/countryHelper.js +0 -18
- package/dist/utils/curry.js +0 -19
- package/dist/utils/debounce.js +1 -20
- package/dist/utils/displayModeHelper.js +0 -24
- package/dist/utils/domHelper.js +0 -17
- package/dist/utils/flatten.js +7 -38
- package/dist/utils/index.js +0 -31
- package/dist/utils/insertIcons.js +0 -21
- package/dist/utils/localizationHelper.js +0 -26
- package/dist/utils/logPass.js +1 -22
- package/dist/utils/mapHelper.js +1 -25
- package/dist/utils/memoize.js +0 -23
- package/dist/utils/modelValidationHelper.js +3 -42
- package/dist/utils/normalizeForSearch.js +2 -19
- package/dist/utils/objectHelper.js +2 -24
- package/dist/utils/parseHelper.js +0 -32
- package/dist/utils/profilerHelper.js +0 -18
- package/dist/utils/propertyHelper.js +1 -38
- package/dist/utils/propertyValidator.js +0 -25
- package/dist/utils/requestProcessingHelper.js +0 -24
- package/dist/utils/safeGet.js +0 -18
- package/dist/utils/setTranslation.js +1 -28
- package/dist/utils/setTranslationWithFallback.js +1 -33
- package/dist/utils/stripKey.js +1 -23
- package/dist/utils/styledPropFuncs.js +3 -29
- package/dist/utils/testUtils.js +14 -91
- package/dist/utils/timezoneHelper.js +4 -35
- package/dist/utils/unwrapImmutable.js +0 -19
- package/dist/utils/urlHelper.js +3 -28
- package/dist/whyDidYouRerender.js +1 -5
- package/package.json +3 -3
|
@@ -2,103 +2,73 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.getTimezones = exports.GET_TIMEZONES_SUCCESS = exports.GET_TIMEZONES_REQUEST = exports.GET_TIMEZONES_FAILURE = void 0;
|
|
5
|
-
|
|
6
5
|
var _makeApiAction = require("./makeApiAction");
|
|
7
|
-
|
|
8
6
|
var _makeOrcApiAction = _interopRequireDefault(require("./makeOrcApiAction"));
|
|
9
|
-
|
|
10
7
|
var _requestsApi = require("./requestsApi");
|
|
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
17
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
25
|
-
|
|
26
18
|
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."); }
|
|
27
|
-
|
|
28
19
|
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); }
|
|
29
|
-
|
|
30
|
-
function
|
|
31
|
-
|
|
32
|
-
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; }
|
|
33
|
-
|
|
20
|
+
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; }
|
|
21
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
34
22
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
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 GET_TIMEZONES = "GET_TIMEZONES";
|
|
45
|
-
|
|
46
30
|
var _makeActionTypes = (0, _makeApiAction.makeActionTypes)(GET_TIMEZONES),
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
31
|
+
_makeActionTypes2 = _slicedToArray(_makeActionTypes, 3),
|
|
32
|
+
GET_TIMEZONES_REQUEST = _makeActionTypes2[0],
|
|
33
|
+
GET_TIMEZONES_SUCCESS = _makeActionTypes2[1],
|
|
34
|
+
GET_TIMEZONES_FAILURE = _makeActionTypes2[2];
|
|
52
35
|
exports.GET_TIMEZONES_FAILURE = GET_TIMEZONES_FAILURE;
|
|
53
36
|
exports.GET_TIMEZONES_SUCCESS = GET_TIMEZONES_SUCCESS;
|
|
54
37
|
exports.GET_TIMEZONES_REQUEST = GET_TIMEZONES_REQUEST;
|
|
55
|
-
|
|
56
38
|
var getTimezones = function getTimezones() {
|
|
57
39
|
return (0, _makeOrcApiAction.default)(GET_TIMEZONES, _requestsApi.getTimeZonesRequest.buildUrl());
|
|
58
40
|
};
|
|
59
|
-
|
|
60
41
|
exports.getTimezones = getTimezones;
|
|
61
42
|
;
|
|
62
|
-
|
|
63
43
|
(function () {
|
|
64
44
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
65
|
-
|
|
66
45
|
if (!reactHotLoader) {
|
|
67
46
|
return;
|
|
68
47
|
}
|
|
69
|
-
|
|
70
48
|
reactHotLoader.register(GET_TIMEZONES, "GET_TIMEZONES", "/home/vsts/work/1/s/src/actions/timezones.js");
|
|
71
49
|
reactHotLoader.register(GET_TIMEZONES_REQUEST, "GET_TIMEZONES_REQUEST", "/home/vsts/work/1/s/src/actions/timezones.js");
|
|
72
50
|
reactHotLoader.register(GET_TIMEZONES_SUCCESS, "GET_TIMEZONES_SUCCESS", "/home/vsts/work/1/s/src/actions/timezones.js");
|
|
73
51
|
reactHotLoader.register(GET_TIMEZONES_FAILURE, "GET_TIMEZONES_FAILURE", "/home/vsts/work/1/s/src/actions/timezones.js");
|
|
74
52
|
reactHotLoader.register(getTimezones, "getTimezones", "/home/vsts/work/1/s/src/actions/timezones.js");
|
|
75
53
|
})();
|
|
76
|
-
|
|
77
54
|
;
|
|
78
|
-
|
|
79
55
|
(function () {
|
|
80
56
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
81
57
|
leaveModule && leaveModule(module);
|
|
82
58
|
})();
|
|
83
|
-
|
|
84
59
|
;
|
|
85
|
-
|
|
86
60
|
(function () {
|
|
87
61
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
88
|
-
|
|
89
62
|
if (!reactHotLoader) {
|
|
90
63
|
return;
|
|
91
64
|
}
|
|
92
|
-
|
|
93
65
|
reactHotLoader.register(GET_TIMEZONES, "GET_TIMEZONES", "/home/vsts/work/1/s/src/actions/timezones.js");
|
|
94
66
|
reactHotLoader.register(GET_TIMEZONES_REQUEST, "GET_TIMEZONES_REQUEST", "/home/vsts/work/1/s/src/actions/timezones.js");
|
|
95
67
|
reactHotLoader.register(GET_TIMEZONES_SUCCESS, "GET_TIMEZONES_SUCCESS", "/home/vsts/work/1/s/src/actions/timezones.js");
|
|
96
68
|
reactHotLoader.register(GET_TIMEZONES_FAILURE, "GET_TIMEZONES_FAILURE", "/home/vsts/work/1/s/src/actions/timezones.js");
|
|
97
69
|
reactHotLoader.register(getTimezones, "getTimezones", "/home/vsts/work/1/s/src/actions/timezones.js");
|
|
98
70
|
})();
|
|
99
|
-
|
|
100
71
|
;
|
|
101
|
-
|
|
102
72
|
(function () {
|
|
103
73
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
104
74
|
leaveModule && leaveModule(module);
|
package/dist/actions/toasts.js
CHANGED
|
@@ -2,33 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.shiftToast = exports.pushToast = exports.SHIFT_TOAST = exports.PUSH_TOAST = 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
|
var PUSH_TOAST = "PUSH_TOAST";
|
|
25
20
|
exports.PUSH_TOAST = PUSH_TOAST;
|
|
26
|
-
|
|
27
21
|
var pushToast = function pushToast(message, type) {
|
|
28
22
|
if (type === void 0) {
|
|
29
23
|
type = "confirm";
|
|
30
24
|
}
|
|
31
|
-
|
|
32
25
|
return {
|
|
33
26
|
type: PUSH_TOAST,
|
|
34
27
|
payload: {
|
|
@@ -37,60 +30,47 @@ var pushToast = function pushToast(message, type) {
|
|
|
37
30
|
}
|
|
38
31
|
};
|
|
39
32
|
};
|
|
40
|
-
|
|
41
33
|
exports.pushToast = pushToast;
|
|
42
34
|
var SHIFT_TOAST = "SHIFT_TOAST";
|
|
43
35
|
exports.SHIFT_TOAST = SHIFT_TOAST;
|
|
44
|
-
|
|
45
36
|
var shiftToast = function shiftToast() {
|
|
46
37
|
return {
|
|
47
38
|
type: SHIFT_TOAST
|
|
48
39
|
};
|
|
49
|
-
};
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
// Specific dismissable toast: (Later)
|
|
50
43
|
// Add static toast
|
|
51
44
|
// Remove static toast
|
|
52
|
-
|
|
53
|
-
|
|
54
45
|
exports.shiftToast = shiftToast;
|
|
55
46
|
;
|
|
56
|
-
|
|
57
47
|
(function () {
|
|
58
48
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
59
|
-
|
|
60
49
|
if (!reactHotLoader) {
|
|
61
50
|
return;
|
|
62
51
|
}
|
|
63
|
-
|
|
64
52
|
reactHotLoader.register(PUSH_TOAST, "PUSH_TOAST", "/home/vsts/work/1/s/src/actions/toasts.js");
|
|
65
53
|
reactHotLoader.register(pushToast, "pushToast", "/home/vsts/work/1/s/src/actions/toasts.js");
|
|
66
54
|
reactHotLoader.register(SHIFT_TOAST, "SHIFT_TOAST", "/home/vsts/work/1/s/src/actions/toasts.js");
|
|
67
55
|
reactHotLoader.register(shiftToast, "shiftToast", "/home/vsts/work/1/s/src/actions/toasts.js");
|
|
68
56
|
})();
|
|
69
|
-
|
|
70
57
|
;
|
|
71
|
-
|
|
72
58
|
(function () {
|
|
73
59
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
74
60
|
leaveModule && leaveModule(module);
|
|
75
61
|
})();
|
|
76
|
-
|
|
77
62
|
;
|
|
78
|
-
|
|
79
63
|
(function () {
|
|
80
64
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
81
|
-
|
|
82
65
|
if (!reactHotLoader) {
|
|
83
66
|
return;
|
|
84
67
|
}
|
|
85
|
-
|
|
86
68
|
reactHotLoader.register(PUSH_TOAST, "PUSH_TOAST", "/home/vsts/work/1/s/src/actions/toasts.js");
|
|
87
69
|
reactHotLoader.register(pushToast, "pushToast", "/home/vsts/work/1/s/src/actions/toasts.js");
|
|
88
70
|
reactHotLoader.register(SHIFT_TOAST, "SHIFT_TOAST", "/home/vsts/work/1/s/src/actions/toasts.js");
|
|
89
71
|
reactHotLoader.register(shiftToast, "shiftToast", "/home/vsts/work/1/s/src/actions/toasts.js");
|
|
90
72
|
})();
|
|
91
|
-
|
|
92
73
|
;
|
|
93
|
-
|
|
94
74
|
(function () {
|
|
95
75
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
96
76
|
leaveModule && leaveModule(module);
|
|
@@ -2,86 +2,61 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.resetVersionInfo = exports.getVersionInfo = exports.RESET_VERSION_INFO = exports.GET_VERSION_INFO_SUCCESS = exports.GET_VERSION_INFO_REQUEST = exports.GET_VERSION_INFO_FAILURE = exports.GET_VERSION_INFO = void 0;
|
|
5
|
-
|
|
6
5
|
var _makeApiAction = require("./makeApiAction");
|
|
7
|
-
|
|
8
6
|
var _makeOrcApiAction = _interopRequireDefault(require("./makeOrcApiAction"));
|
|
9
|
-
|
|
10
7
|
var _localeFactory = require("../reducers/localeFactory");
|
|
11
|
-
|
|
12
8
|
var _requestsApi = require("./requestsApi");
|
|
13
|
-
|
|
14
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
|
|
16
10
|
(function () {
|
|
17
11
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
18
12
|
enterModule && enterModule(module);
|
|
19
13
|
})();
|
|
20
|
-
|
|
21
14
|
(function () {
|
|
22
15
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
23
16
|
enterModule && enterModule(module);
|
|
24
17
|
})();
|
|
25
|
-
|
|
26
18
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
27
|
-
|
|
28
19
|
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."); }
|
|
29
|
-
|
|
30
20
|
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); }
|
|
31
|
-
|
|
32
|
-
function
|
|
33
|
-
|
|
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; }
|
|
35
|
-
|
|
21
|
+
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; }
|
|
22
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
36
23
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
37
|
-
|
|
38
24
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
39
25
|
return a;
|
|
40
26
|
};
|
|
41
|
-
|
|
42
27
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
43
28
|
return a;
|
|
44
29
|
};
|
|
45
|
-
|
|
46
30
|
var GET_VERSION_INFO = "GET_VERSION_INFO";
|
|
47
31
|
exports.GET_VERSION_INFO = GET_VERSION_INFO;
|
|
48
32
|
var RESET_VERSION_INFO = "RESET_VERSION_INFO";
|
|
49
33
|
exports.RESET_VERSION_INFO = RESET_VERSION_INFO;
|
|
50
|
-
|
|
51
34
|
var _makeActionTypes = (0, _makeApiAction.makeActionTypes)(GET_VERSION_INFO),
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
35
|
+
_makeActionTypes2 = _slicedToArray(_makeActionTypes, 3),
|
|
36
|
+
GET_VERSION_INFO_REQUEST = _makeActionTypes2[0],
|
|
37
|
+
GET_VERSION_INFO_SUCCESS = _makeActionTypes2[1],
|
|
38
|
+
GET_VERSION_INFO_FAILURE = _makeActionTypes2[2];
|
|
57
39
|
exports.GET_VERSION_INFO_FAILURE = GET_VERSION_INFO_FAILURE;
|
|
58
40
|
exports.GET_VERSION_INFO_SUCCESS = GET_VERSION_INFO_SUCCESS;
|
|
59
41
|
exports.GET_VERSION_INFO_REQUEST = GET_VERSION_INFO_REQUEST;
|
|
60
|
-
|
|
61
42
|
var getVersionInfo = function getVersionInfo(locale) {
|
|
62
43
|
return (0, _makeOrcApiAction.default)(GET_VERSION_INFO, _requestsApi.getVersionInfoRequest.buildUrl({
|
|
63
44
|
cultureName: (locale || _localeFactory.cultureByDefault).substr(0, 2).toLowerCase() === "fr" ? locale : _localeFactory.cultureByDefault
|
|
64
45
|
}));
|
|
65
46
|
};
|
|
66
|
-
|
|
67
47
|
exports.getVersionInfo = getVersionInfo;
|
|
68
|
-
|
|
69
48
|
var resetVersionInfo = function resetVersionInfo() {
|
|
70
49
|
return {
|
|
71
50
|
type: RESET_VERSION_INFO
|
|
72
51
|
};
|
|
73
52
|
};
|
|
74
|
-
|
|
75
53
|
exports.resetVersionInfo = resetVersionInfo;
|
|
76
54
|
;
|
|
77
|
-
|
|
78
55
|
(function () {
|
|
79
56
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
80
|
-
|
|
81
57
|
if (!reactHotLoader) {
|
|
82
58
|
return;
|
|
83
59
|
}
|
|
84
|
-
|
|
85
60
|
reactHotLoader.register(GET_VERSION_INFO, "GET_VERSION_INFO", "/home/vsts/work/1/s/src/actions/versionInfo.js");
|
|
86
61
|
reactHotLoader.register(RESET_VERSION_INFO, "RESET_VERSION_INFO", "/home/vsts/work/1/s/src/actions/versionInfo.js");
|
|
87
62
|
reactHotLoader.register(GET_VERSION_INFO_REQUEST, "GET_VERSION_INFO_REQUEST", "/home/vsts/work/1/s/src/actions/versionInfo.js");
|
|
@@ -90,23 +65,17 @@ exports.resetVersionInfo = resetVersionInfo;
|
|
|
90
65
|
reactHotLoader.register(getVersionInfo, "getVersionInfo", "/home/vsts/work/1/s/src/actions/versionInfo.js");
|
|
91
66
|
reactHotLoader.register(resetVersionInfo, "resetVersionInfo", "/home/vsts/work/1/s/src/actions/versionInfo.js");
|
|
92
67
|
})();
|
|
93
|
-
|
|
94
68
|
;
|
|
95
|
-
|
|
96
69
|
(function () {
|
|
97
70
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
98
71
|
leaveModule && leaveModule(module);
|
|
99
72
|
})();
|
|
100
|
-
|
|
101
73
|
;
|
|
102
|
-
|
|
103
74
|
(function () {
|
|
104
75
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
105
|
-
|
|
106
76
|
if (!reactHotLoader) {
|
|
107
77
|
return;
|
|
108
78
|
}
|
|
109
|
-
|
|
110
79
|
reactHotLoader.register(GET_VERSION_INFO, "GET_VERSION_INFO", "/home/vsts/work/1/s/src/actions/versionInfo.js");
|
|
111
80
|
reactHotLoader.register(RESET_VERSION_INFO, "RESET_VERSION_INFO", "/home/vsts/work/1/s/src/actions/versionInfo.js");
|
|
112
81
|
reactHotLoader.register(GET_VERSION_INFO_REQUEST, "GET_VERSION_INFO_REQUEST", "/home/vsts/work/1/s/src/actions/versionInfo.js");
|
|
@@ -115,9 +84,7 @@ exports.resetVersionInfo = resetVersionInfo;
|
|
|
115
84
|
reactHotLoader.register(getVersionInfo, "getVersionInfo", "/home/vsts/work/1/s/src/actions/versionInfo.js");
|
|
116
85
|
reactHotLoader.register(resetVersionInfo, "resetVersionInfo", "/home/vsts/work/1/s/src/actions/versionInfo.js");
|
|
117
86
|
})();
|
|
118
|
-
|
|
119
87
|
;
|
|
120
|
-
|
|
121
88
|
(function () {
|
|
122
89
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
123
90
|
leaveModule && leaveModule(module);
|
package/dist/actions/view.js
CHANGED
|
@@ -2,25 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.setValue = exports.setStateField = exports.setFullEntityEditModel = exports.setEditModelFieldError = exports.setEditModelField = exports.setEditModelErrors = exports.removeEditNode = exports.removeEditModelFieldError = exports.removeEditModelField = exports.removeEditModel = exports.removeEditAllModelFields = exports.VIEW_SET_FULL_ENTITY_EDIT_MODEL = exports.VIEW_SET_FIELD = exports.VIEW_SET_EDIT_MODEL_FIELD_ERRORS = exports.VIEW_SET_EDIT_MODEL_FIELD = exports.VIEW_SET_EDIT_MODEL_ERRORS = exports.VIEW_SET = exports.VIEW_REMOVE_EDIT_NODE = exports.VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS = exports.VIEW_REMOVE_EDIT_MODEL_FIELD = exports.VIEW_REMOVE_EDIT_MODEL = exports.VIEW_REMOVE_EDIT_ALL_MODEL_FIELDS = 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
|
var VIEW_SET = "VIEW_STATE_SET";
|
|
25
20
|
exports.VIEW_SET = VIEW_SET;
|
|
26
21
|
var VIEW_SET_FIELD = "VIEW_STATE_SET_FIELD";
|
|
@@ -43,7 +38,6 @@ var VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS = "VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS";
|
|
|
43
38
|
exports.VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS = VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS;
|
|
44
39
|
var VIEW_REMOVE_EDIT_MODEL_FIELD = "VIEW_REMOVE_EDIT_MODEL_FIELD";
|
|
45
40
|
exports.VIEW_REMOVE_EDIT_MODEL_FIELD = VIEW_REMOVE_EDIT_MODEL_FIELD;
|
|
46
|
-
|
|
47
41
|
var setValue = function setValue(name, value) {
|
|
48
42
|
return {
|
|
49
43
|
type: VIEW_SET,
|
|
@@ -53,9 +47,7 @@ var setValue = function setValue(name, value) {
|
|
|
53
47
|
}
|
|
54
48
|
};
|
|
55
49
|
};
|
|
56
|
-
|
|
57
50
|
exports.setValue = setValue;
|
|
58
|
-
|
|
59
51
|
var setStateField = function setStateField(name, field, value) {
|
|
60
52
|
return {
|
|
61
53
|
type: VIEW_SET_FIELD,
|
|
@@ -66,9 +58,7 @@ var setStateField = function setStateField(name, field, value) {
|
|
|
66
58
|
}
|
|
67
59
|
};
|
|
68
60
|
};
|
|
69
|
-
|
|
70
61
|
exports.setStateField = setStateField;
|
|
71
|
-
|
|
72
62
|
var removeEditNode = function removeEditNode(entityId, moduleName) {
|
|
73
63
|
return {
|
|
74
64
|
type: VIEW_REMOVE_EDIT_NODE,
|
|
@@ -78,9 +68,7 @@ var removeEditNode = function removeEditNode(entityId, moduleName) {
|
|
|
78
68
|
}
|
|
79
69
|
};
|
|
80
70
|
};
|
|
81
|
-
|
|
82
71
|
exports.removeEditNode = removeEditNode;
|
|
83
|
-
|
|
84
72
|
var removeEditModel = function removeEditModel(keys, entityId, sectionName, moduleName) {
|
|
85
73
|
return {
|
|
86
74
|
type: VIEW_REMOVE_EDIT_MODEL,
|
|
@@ -92,9 +80,7 @@ var removeEditModel = function removeEditModel(keys, entityId, sectionName, modu
|
|
|
92
80
|
}
|
|
93
81
|
};
|
|
94
82
|
};
|
|
95
|
-
|
|
96
83
|
exports.removeEditModel = removeEditModel;
|
|
97
|
-
|
|
98
84
|
var setEditModelField = function setEditModelField(keys, value, storeValue, entityId, sectionName, moduleName) {
|
|
99
85
|
return {
|
|
100
86
|
type: VIEW_SET_EDIT_MODEL_FIELD,
|
|
@@ -108,9 +94,7 @@ var setEditModelField = function setEditModelField(keys, value, storeValue, enti
|
|
|
108
94
|
}
|
|
109
95
|
};
|
|
110
96
|
};
|
|
111
|
-
|
|
112
97
|
exports.setEditModelField = setEditModelField;
|
|
113
|
-
|
|
114
98
|
var setFullEntityEditModel = function setFullEntityEditModel(entityFullModel, moduleName) {
|
|
115
99
|
return {
|
|
116
100
|
type: VIEW_SET_FULL_ENTITY_EDIT_MODEL,
|
|
@@ -120,9 +104,7 @@ var setFullEntityEditModel = function setFullEntityEditModel(entityFullModel, mo
|
|
|
120
104
|
}
|
|
121
105
|
};
|
|
122
106
|
};
|
|
123
|
-
|
|
124
107
|
exports.setFullEntityEditModel = setFullEntityEditModel;
|
|
125
|
-
|
|
126
108
|
var removeEditAllModelFields = function removeEditAllModelFields(keys, entityId, sectionName, moduleName) {
|
|
127
109
|
return {
|
|
128
110
|
type: VIEW_REMOVE_EDIT_ALL_MODEL_FIELDS,
|
|
@@ -134,9 +116,7 @@ var removeEditAllModelFields = function removeEditAllModelFields(keys, entityId,
|
|
|
134
116
|
}
|
|
135
117
|
};
|
|
136
118
|
};
|
|
137
|
-
|
|
138
119
|
exports.removeEditAllModelFields = removeEditAllModelFields;
|
|
139
|
-
|
|
140
120
|
var removeEditModelField = function removeEditModelField(keys, storeValue, entityId, sectionName, moduleName) {
|
|
141
121
|
return {
|
|
142
122
|
type: VIEW_REMOVE_EDIT_MODEL_FIELD,
|
|
@@ -149,9 +129,7 @@ var removeEditModelField = function removeEditModelField(keys, storeValue, entit
|
|
|
149
129
|
}
|
|
150
130
|
};
|
|
151
131
|
};
|
|
152
|
-
|
|
153
132
|
exports.removeEditModelField = removeEditModelField;
|
|
154
|
-
|
|
155
133
|
var setEditModelErrors = function setEditModelErrors(errors, entityId, sectionName, moduleName) {
|
|
156
134
|
return {
|
|
157
135
|
type: VIEW_SET_EDIT_MODEL_ERRORS,
|
|
@@ -163,9 +141,7 @@ var setEditModelErrors = function setEditModelErrors(errors, entityId, sectionNa
|
|
|
163
141
|
}
|
|
164
142
|
};
|
|
165
143
|
};
|
|
166
|
-
|
|
167
144
|
exports.setEditModelErrors = setEditModelErrors;
|
|
168
|
-
|
|
169
145
|
var setEditModelFieldError = function setEditModelFieldError(keys, error, entityId, sectionName, moduleName) {
|
|
170
146
|
return {
|
|
171
147
|
type: VIEW_SET_EDIT_MODEL_FIELD_ERRORS,
|
|
@@ -178,9 +154,7 @@ var setEditModelFieldError = function setEditModelFieldError(keys, error, entity
|
|
|
178
154
|
}
|
|
179
155
|
};
|
|
180
156
|
};
|
|
181
|
-
|
|
182
157
|
exports.setEditModelFieldError = setEditModelFieldError;
|
|
183
|
-
|
|
184
158
|
var removeEditModelFieldError = function removeEditModelFieldError(keys, entityId, sectionName, moduleName) {
|
|
185
159
|
return {
|
|
186
160
|
type: VIEW_REMOVE_EDIT_MODEL_FIELD_ERRORS,
|
|
@@ -192,17 +166,13 @@ var removeEditModelFieldError = function removeEditModelFieldError(keys, entityI
|
|
|
192
166
|
}
|
|
193
167
|
};
|
|
194
168
|
};
|
|
195
|
-
|
|
196
169
|
exports.removeEditModelFieldError = removeEditModelFieldError;
|
|
197
170
|
;
|
|
198
|
-
|
|
199
171
|
(function () {
|
|
200
172
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
201
|
-
|
|
202
173
|
if (!reactHotLoader) {
|
|
203
174
|
return;
|
|
204
175
|
}
|
|
205
|
-
|
|
206
176
|
reactHotLoader.register(VIEW_SET, "VIEW_SET", "/home/vsts/work/1/s/src/actions/view.js");
|
|
207
177
|
reactHotLoader.register(VIEW_SET_FIELD, "VIEW_SET_FIELD", "/home/vsts/work/1/s/src/actions/view.js");
|
|
208
178
|
reactHotLoader.register(VIEW_REMOVE_EDIT_NODE, "VIEW_REMOVE_EDIT_NODE", "/home/vsts/work/1/s/src/actions/view.js");
|
|
@@ -226,23 +196,17 @@ exports.removeEditModelFieldError = removeEditModelFieldError;
|
|
|
226
196
|
reactHotLoader.register(setEditModelFieldError, "setEditModelFieldError", "/home/vsts/work/1/s/src/actions/view.js");
|
|
227
197
|
reactHotLoader.register(removeEditModelFieldError, "removeEditModelFieldError", "/home/vsts/work/1/s/src/actions/view.js");
|
|
228
198
|
})();
|
|
229
|
-
|
|
230
199
|
;
|
|
231
|
-
|
|
232
200
|
(function () {
|
|
233
201
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
234
202
|
leaveModule && leaveModule(module);
|
|
235
203
|
})();
|
|
236
|
-
|
|
237
204
|
;
|
|
238
|
-
|
|
239
205
|
(function () {
|
|
240
206
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
241
|
-
|
|
242
207
|
if (!reactHotLoader) {
|
|
243
208
|
return;
|
|
244
209
|
}
|
|
245
|
-
|
|
246
210
|
reactHotLoader.register(VIEW_SET, "VIEW_SET", "/home/vsts/work/1/s/src/actions/view.js");
|
|
247
211
|
reactHotLoader.register(VIEW_SET_FIELD, "VIEW_SET_FIELD", "/home/vsts/work/1/s/src/actions/view.js");
|
|
248
212
|
reactHotLoader.register(VIEW_REMOVE_EDIT_NODE, "VIEW_REMOVE_EDIT_NODE", "/home/vsts/work/1/s/src/actions/view.js");
|
|
@@ -266,9 +230,7 @@ exports.removeEditModelFieldError = removeEditModelFieldError;
|
|
|
266
230
|
reactHotLoader.register(setEditModelFieldError, "setEditModelFieldError", "/home/vsts/work/1/s/src/actions/view.js");
|
|
267
231
|
reactHotLoader.register(removeEditModelFieldError, "removeEditModelFieldError", "/home/vsts/work/1/s/src/actions/view.js");
|
|
268
232
|
})();
|
|
269
|
-
|
|
270
233
|
;
|
|
271
|
-
|
|
272
234
|
(function () {
|
|
273
235
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
274
236
|
leaveModule && leaveModule(module);
|