orc-shared 1.2.0-dev.1 → 1.2.0-dev.13
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/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/actions/applications.js +1 -1
- package/dist/actions/authentication.js +1 -1
- package/dist/actions/countries.js +1 -1
- package/dist/actions/locale.js +1 -1
- package/dist/actions/makeApiAction.js +3 -3
- package/dist/actions/makeOrcApiAction.js +2 -2
- package/dist/actions/metadata.js +3 -3
- package/dist/actions/modules.js +63 -1
- package/dist/actions/navigation.js +3 -3
- package/dist/actions/requestsApi.js +8 -8
- package/dist/actions/scopes.js +59 -22
- package/dist/actions/timezones.js +1 -1
- package/dist/actions/toasts.js +1 -1
- package/dist/actions/versionInfo.js +1 -1
- package/dist/actions/view.js +1 -1
- package/dist/buildStore.js +3 -3
- package/dist/components/AppFrame/About.js +11 -6
- package/dist/components/AppFrame/MenuItem.js +6 -15
- package/dist/components/AppFrame/Preferences.js +3 -3
- package/dist/components/AppFrame/Sidebar.js +20 -9
- package/dist/components/AppFrame/Topbar.js +1 -1
- package/dist/components/ApplicationModuleLoader.js +143 -0
- package/dist/components/Authenticate.js +13 -13
- package/dist/components/CategoryList.js +1 -1
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/DropMenu/Menu.js +1 -1
- package/dist/components/DropMenu/index.js +1 -1
- package/dist/components/Form/FieldList.js +3 -3
- package/dist/components/Form/Form.js +1 -1
- package/dist/components/Form/Inputs/Button.js +1 -1
- package/dist/components/Form/Inputs/FieldButtons.js +1 -1
- package/dist/components/Form/Inputs/Number.js +1 -1
- package/dist/components/Form/Inputs/ReadOnly.js +1 -1
- package/dist/components/Form/Inputs/SmallButton.js +1 -1
- package/dist/components/Form/Inputs/Text.js +1 -1
- package/dist/components/Form/Inputs/Time.js +1 -1
- package/dist/components/Form/Inputs/Toggles.js +1 -1
- package/dist/components/Form/Inputs/Translation.js +3 -3
- package/dist/components/List/HeadCell.js +1 -1
- package/dist/components/List/List.js +1 -1
- package/dist/components/List/Row.js +1 -1
- package/dist/components/List/enhanceColumnDefs.js +2 -2
- package/dist/components/MaterialUI/DataDisplay/List.js +1 -1
- package/dist/components/MaterialUI/DataDisplay/Notification.js +2 -2
- package/dist/components/MaterialUI/DataDisplay/NotificationProps.js +1 -1
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/Translations.js +3 -3
- package/dist/components/MaterialUI/DataDisplay/Table.js +1 -1
- package/dist/components/MaterialUI/DataDisplay/TableProps.js +1 -1
- package/dist/components/MaterialUI/DataDisplay/TransferList.js +1 -1
- package/dist/components/MaterialUI/DataDisplay/chipProps.js +1 -1
- package/dist/components/MaterialUI/DataDisplay/collapsableListProps.js +1 -1
- package/dist/components/MaterialUI/DataDisplay/dividerProps.js +1 -1
- package/dist/components/MaterialUI/DataDisplay/index.js +1 -1
- package/dist/components/MaterialUI/DataDisplay/modalProps.js +1 -1
- package/dist/components/MaterialUI/DataDisplay/useTableSelection.js +3 -3
- package/dist/components/MaterialUI/Feedback/useNotification.js +1 -1
- package/dist/components/MaterialUI/Inputs/Autocomplete.js +2 -2
- package/dist/components/MaterialUI/Inputs/AutocompleteProps.js +1 -1
- package/dist/components/MaterialUI/Inputs/CheckboxGroupProps.js +1 -1
- package/dist/components/MaterialUI/Inputs/CheckboxProps.js +1 -1
- package/dist/components/MaterialUI/Inputs/InputBase.js +42 -5
- package/dist/components/MaterialUI/Inputs/InputBaseProps.js +1 -1
- package/dist/components/MaterialUI/Inputs/PredefinedElements/SearchControl.js +1 -1
- package/dist/components/MaterialUI/Inputs/RadioProps.js +1 -1
- package/dist/components/MaterialUI/Inputs/Select.js +2 -2
- package/dist/components/MaterialUI/Inputs/SelectProps.js +1 -1
- package/dist/components/MaterialUI/Inputs/Switch.js +3 -3
- package/dist/components/MaterialUI/Inputs/SwitchProps.js +1 -1
- package/dist/components/MaterialUI/Inputs/TimePicker.js +1 -1
- package/dist/components/MaterialUI/Inputs/createInput.js +3 -3
- package/dist/components/MaterialUI/Inputs/index.js +1 -1
- package/dist/components/MaterialUI/Inputs/standaloneRadioProps.js +1 -1
- package/dist/components/MaterialUI/Navigation/DropDownMenuProps.js +1 -1
- package/dist/components/MaterialUI/Navigation/ExternalLink.js +113 -0
- package/dist/components/MaterialUI/ScopeSelector/ScopeSelector.js +8 -2
- package/dist/components/MaterialUI/Surfaces/expansionPanelProps.js +1 -1
- package/dist/components/MaterialUI/Surfaces/paperProps.js +1 -1
- package/dist/components/MaterialUI/muiThemes.js +7 -2
- package/dist/components/MaterialUI/textProps.js +1 -1
- package/dist/components/Modules.js +126 -41
- package/dist/components/MultiSelector.js +1 -1
- package/dist/components/Navigation/Bar.js +3 -3
- package/dist/components/Navigation/Tab.js +1 -1
- package/dist/components/Navigation/useNavigationState.js +3 -3
- package/dist/components/Placeholder.js +1 -1
- package/dist/components/Routing/FullPage.js +3 -1
- package/dist/components/Routing/Page.js +5 -3
- package/dist/components/Routing/Segment.js +1 -1
- package/dist/components/Routing/SegmentPage.js +1 -1
- package/dist/components/Routing/withWaypointing.js +8 -4
- package/dist/components/Scope/ScopeNode.js +1 -1
- package/dist/components/Scope/Selector.js +1 -1
- package/dist/components/Scope/index.js +3 -3
- package/dist/components/Scope/useScopeConfirmationModalState.js +7 -16
- package/dist/components/Scope/useScopeData.js +4 -13
- package/dist/components/Scope/useScopeSelect.js +1 -1
- package/dist/components/Selector.js +1 -1
- package/dist/components/Spritesheet.js +1 -1
- package/dist/components/Switch.js +1 -1
- package/dist/components/Text.js +1 -1
- package/dist/components/ToastList.js +1 -1
- package/dist/components/Toolbar.js +1 -1
- package/dist/components/Treeview/Label.js +1 -1
- package/dist/components/Treeview/Leaf.js +1 -1
- package/dist/components/Treeview/Node.js +3 -3
- package/dist/components/Treeview/index.js +2 -2
- package/dist/components/Treeview/settings.js +1 -1
- package/dist/constants.js +19 -2
- package/dist/content/icons/lock.svg +3 -0
- package/dist/content/icons/orckestra-icon.svg +5 -0
- package/dist/content/icons/unlock.svg +3 -0
- package/dist/content/iconsSheet.svg +11 -0
- package/dist/content/orckestra-logo-white.png +0 -0
- package/dist/getThemeOverrides.js +2 -2
- package/dist/hocs/withInfiniteScroll.js +1 -1
- package/dist/hocs/withUpdateHandler.js +2 -2
- package/dist/hooks/useDispatchWithModulesData.js +1 -1
- package/dist/hooks/useEditState.js +3 -3
- package/dist/hooks/useEntityLoader.js +2 -2
- package/dist/hooks/useFullEntityEditState.js +3 -3
- package/dist/hooks/useLabelMessage.js +3 -3
- package/dist/hooks/useMultipleFieldEditState.js +2 -2
- package/dist/hooks/useNavigationHandler.js +1 -1
- package/dist/hooks/useNotificationRequestState.js +2 -2
- package/dist/hooks/useSelectorAndUnwrap.js +1 -1
- package/dist/reducers/metadata.js +1 -1
- package/dist/reducers/modules.js +39 -1
- package/dist/reducers/scopes.js +27 -0
- package/dist/reducers/settings.js +31 -2
- package/dist/schemas/countries.js +1 -1
- package/dist/schemas/definitions.js +1 -1
- package/dist/schemas/metadata.js +1 -1
- package/dist/schemas/productDefinitions.js +1 -1
- package/dist/schemas/timezones.js +1 -1
- package/dist/selectors/applications.js +1 -1
- package/dist/selectors/authentication.js +57 -18
- package/dist/selectors/countries.js +1 -1
- package/dist/selectors/locale.js +1 -1
- package/dist/selectors/metadata.js +16 -6
- package/dist/selectors/modules.js +15 -1
- package/dist/selectors/navigation.js +1 -1
- package/dist/selectors/requests.js +1 -1
- package/dist/selectors/scope.js +8 -1
- package/dist/selectors/settings.js +13 -1
- package/dist/selectors/versionInfo.js +1 -1
- package/dist/selectors/view.js +1 -1
- package/dist/spawnerMiddleware.js +1 -1
- package/dist/utils/displayModeHelper.js +1 -1
- package/dist/utils/flatten.js +2 -2
- package/dist/utils/localizationHelper.js +1 -1
- package/dist/utils/mapHelper.js +1 -1
- package/dist/utils/modelValidationHelper.js +1 -1
- package/dist/utils/parseHelper.js +1 -1
- package/dist/utils/propertyHelper.js +2 -2
- package/dist/utils/propertyValidator.js +1 -1
- package/dist/utils/setTranslation.js +27 -1
- package/dist/utils/setTranslationWithFallback.js +31 -2
- package/dist/utils/testUtils.js +2 -1
- package/dist/utils/unwrapImmutable.js +1 -1
- package/dist/utils/urlHelper.js +1 -1
- package/package.json +6 -5
- package/src/actions/modules.js +30 -0
- package/src/actions/modules.test.js +50 -1
- package/src/actions/scopes.js +33 -7
- package/src/actions/scopes.test.js +84 -14
- package/src/components/AppFrame/About.js +10 -3
- package/src/components/AppFrame/AppFrame.test.js +9 -0
- package/src/components/AppFrame/MenuItem.js +3 -5
- package/src/components/AppFrame/MenuItem.test.js +2 -24
- package/src/components/AppFrame/Sidebar.js +11 -12
- package/src/components/AppFrame/Sidebar.test.js +18 -0
- package/src/components/ApplicationModuleLoader.js +52 -0
- package/src/components/ApplicationModuleLoader.test.js +149 -0
- package/src/components/Authenticate.js +5 -4
- package/src/components/Authenticate.test.js +23 -4
- package/src/components/MaterialUI/DataDisplay/PredefinedElements/Translations.test.js +7 -1
- package/src/components/MaterialUI/Inputs/InputBase.js +19 -2
- package/src/components/MaterialUI/Inputs/InputBase.test.js +68 -0
- package/src/components/MaterialUI/Navigation/ExternalLink.js +25 -0
- package/src/components/MaterialUI/Navigation/ExternalLink.test.js +26 -0
- package/src/components/MaterialUI/ScopeSelector/ScopeSelector.js +5 -1
- package/src/components/MaterialUI/muiThemes.js +5 -0
- package/src/components/Modules.js +103 -20
- package/src/components/Modules.test.js +315 -28
- package/src/components/Provision.test.js +34 -0
- package/src/components/Routing/FullPage.js +2 -1
- package/src/components/Routing/FullPage.test.js +23 -0
- package/src/components/Routing/Page.js +2 -2
- package/src/components/Routing/Page.test.js +20 -0
- package/src/components/Routing/Segment.js +1 -1
- package/src/components/Routing/withWaypointing.js +2 -2
- package/src/components/Routing/withWaypointing.test.js +33 -5
- package/src/components/Scope/Scope.test.js +4 -0
- package/src/components/Scope/useScopeConfirmationModalState.js +5 -16
- package/src/components/Scope/useScopeConfirmationModalState.test.js +39 -13
- package/src/components/Scope/useScopeData.js +0 -3
- package/src/components/Scope/useScopeData.test.js +0 -27
- package/src/constants.js +15 -0
- package/src/content/icons/lock.svg +3 -0
- package/src/content/icons/orckestra-icon.svg +5 -0
- package/src/content/icons/unlock.svg +3 -0
- package/src/content/iconsSheet.svg +11 -0
- package/src/content/orckestra-logo-white.png +0 -0
- package/src/hocs/withScopeData.test.js +0 -31
- package/src/reducers/modules.js +48 -2
- package/src/reducers/modules.test.js +117 -2
- package/src/reducers/scopes.js +30 -0
- package/src/reducers/scopes.test.js +45 -1
- package/src/reducers/settings.js +26 -2
- package/src/reducers/settings.test.js +74 -6
- package/src/selectors/authentication.js +53 -27
- package/src/selectors/authentication.test.js +600 -12
- package/src/selectors/metadata.js +18 -7
- package/src/selectors/metadata.test.js +221 -283
- package/src/selectors/modules.js +7 -0
- package/src/selectors/modules.test.js +16 -1
- package/src/selectors/scope.js +3 -1
- package/src/selectors/scope.test.js +5 -0
- package/src/selectors/settings.js +6 -0
- package/src/translations/en-US.json +1 -1
- package/src/translations/fr-CA.json +1 -1
- package/src/utils/setTranslation.js +16 -1
- package/src/utils/setTranslation.test.js +24 -0
- package/src/utils/setTranslationWithFallback.js +18 -1
- package/src/utils/setTranslationWithFallback.test.js +108 -0
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ This library provides the [infrastructure](docs/infrastructure.md) to construct
|
|
|
10
10
|
|
|
11
11
|
## License
|
|
12
12
|
|
|
13
|
-
Copyright ©
|
|
13
|
+
Copyright © 2022 Orckestra Technologies Inc.
|
|
14
14
|
|
|
15
15
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
16
16
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
-
exports.setMyApplication = exports.
|
|
4
|
+
exports.setMyApplication = exports.getMyApplication = exports.getApplications = exports.SET_MY_APPLICATION_SUCCESS = exports.SET_MY_APPLICATION_REQUEST = exports.SET_MY_APPLICATION_FAILURE = exports.SET_MY_APPLICATION = exports.GET_MY_APPLICATION_SUCCESS = exports.GET_MY_APPLICATION_REQUEST = exports.GET_MY_APPLICATION_FAILURE = exports.GET_MY_APPLICATION = exports.GET_APPLICATIONS_SUCCESS = exports.GET_APPLICATIONS_REQUEST = exports.GET_APPLICATIONS_FAILURE = exports.GET_APPLICATIONS = void 0;
|
|
5
5
|
|
|
6
6
|
var _makeApiAction = require("./makeApiAction");
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
-
exports.signOut = exports.
|
|
4
|
+
exports.signOut = exports.getAuthProfile = exports.SIGN_OUT_SUCCESS = exports.SIGN_OUT_REQUEST = exports.SIGN_OUT_FAILURE = exports.SIGN_OUT = exports.GET_AUTHENTICATION_PROFILE_SUCCESS = exports.GET_AUTHENTICATION_PROFILE_REQUEST = exports.GET_AUTHENTICATION_PROFILE_FAILURE = exports.GET_AUTHENTICATION_PROFILE = void 0;
|
|
5
5
|
|
|
6
6
|
var _makeApiAction = require("./makeApiAction");
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
-
exports.getCountries = exports.
|
|
4
|
+
exports.getCountries = exports.GET_COUNTRIES_SUCCESS = exports.GET_COUNTRIES_REQUEST = exports.GET_COUNTRIES_FAILURE = void 0;
|
|
5
5
|
|
|
6
6
|
var _makeApiAction = require("./makeApiAction");
|
|
7
7
|
|
package/dist/actions/locale.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
-
exports.
|
|
4
|
+
exports.setDefaultLanguage = exports.getMyCulture = exports.getCultures = exports.changeLocale = exports.SET_DEFAULT_LANGUAGE_SUCCESS = exports.SET_DEFAULT_LANGUAGE_REQUEST = exports.SET_DEFAULT_LANGUAGE_FAILURE = exports.SET_DEFAULT_LANGUAGE = exports.GET_MY_CULTURE_SUCCESS = exports.GET_MY_CULTURE_REQUEST = exports.GET_MY_CULTURE_FAILURE = exports.GET_MY_CULTURE = exports.GET_CULTURES_SUCCESS = exports.GET_CULTURES_REQUEST = exports.GET_CULTURES_FAILURE = exports.GET_CULTURES = exports.CHANGE_LOCALE = void 0;
|
|
5
5
|
|
|
6
6
|
var _makeApiAction = require("./makeApiAction");
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
-
exports.
|
|
4
|
+
exports.makeFailureActionType = exports.makeApiAction = exports.makeActionTypes = exports.getJSONWithValidBody = void 0;
|
|
5
5
|
|
|
6
6
|
var _reduxApiMiddleware = require("redux-api-middleware");
|
|
7
7
|
|
|
@@ -17,9 +17,9 @@ var _excluded = ["meta", "body"];
|
|
|
17
17
|
enterModule && enterModule(module);
|
|
18
18
|
})();
|
|
19
19
|
|
|
20
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
20
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
21
21
|
|
|
22
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
22
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
23
23
|
|
|
24
24
|
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
25
|
|
|
@@ -15,9 +15,9 @@ var _makeApiAction = require("./makeApiAction");
|
|
|
15
15
|
enterModule && enterModule(module);
|
|
16
16
|
})();
|
|
17
17
|
|
|
18
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
18
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
19
19
|
|
|
20
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
20
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21
21
|
|
|
22
22
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23
23
|
|
package/dist/actions/metadata.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
-
exports.updateProfileDefinition = exports.
|
|
4
|
+
exports.updateProfileDefinition = exports.setPagedOrderLookupsCurrentInfo = exports.setPagedCustomerLookupsCurrentInfo = exports.saveOrderLookup = exports.saveCustomerLookup = exports.refreshPagedOrderLookups = exports.refreshPagedCustomerLookups = exports.lookupsPageLength = exports.incrementOrderLookupsPage = exports.incrementCustomerLookupsPage = exports.getProfileAttributeGroups = exports.getProductLookups = exports.getProductDefinitions = exports.getOrderLookups = exports.getOrderLookup = exports.getOrderDefinitions = exports.getCustomerLookups = exports.getCustomerLookup = exports.getCustomerDefinitions = exports.createProfileDefinition = exports.addOrderLookup = exports.addCustomerLookup = exports.UPDATE_PROFILE_DEFINITION_SUCCESS = exports.UPDATE_PROFILE_DEFINITION_REQUEST = exports.UPDATE_PROFILE_DEFINITION_FAILURE = exports.SET_PAGED_ORDER_LOOKUPS_CURRENT_INFO = exports.SET_PAGED_CUSTOMER_LOOKUPS_CURRENT_INFO = exports.SAVE_ORDER_LOOKUP_SUCCESS = exports.SAVE_ORDER_LOOKUP_REQUEST = exports.SAVE_ORDER_LOOKUP_FAILURE = exports.SAVE_CUSTOMER_LOOKUP_SUCCESS = exports.SAVE_CUSTOMER_LOOKUP_REQUEST = exports.SAVE_CUSTOMER_LOOKUP_FAILURE = exports.REFRESH_PAGED_ORDER_LOOKUPS = exports.REFRESH_PAGED_CUSTOMER_LOOKUPS = exports.INCREMENT_ORDER_LOOKUPS_PAGE = exports.INCREMENT_CUSTOMER_LOOKUPS_PAGE = exports.GET_PROFILE_ATTRIBUTE_GROUPS_SUCCESS = exports.GET_PROFILE_ATTRIBUTE_GROUPS_REQUEST = exports.GET_PROFILE_ATTRIBUTE_GROUPS_FAILURE = exports.GET_PRODUCT_LOOKUPS_SUCCESS = exports.GET_PRODUCT_LOOKUPS_REQUEST = exports.GET_PRODUCT_LOOKUPS_FAILURE = exports.GET_PRODUCT_DEFINITIONS_SUCCESS = exports.GET_PRODUCT_DEFINITIONS_REQUEST = exports.GET_PRODUCT_DEFINITIONS_FAILURE = exports.GET_ORDER_LOOKUP_SUCCESS = exports.GET_ORDER_LOOKUP_REQUEST = exports.GET_ORDER_LOOKUP_FAILURE = exports.GET_ORDER_LOOKUPS_SUCCESS = exports.GET_ORDER_LOOKUPS_REQUEST = exports.GET_ORDER_LOOKUPS_FAILURE = exports.GET_ORDER_DEFINITIONS_SUCCESS = exports.GET_ORDER_DEFINITIONS_REQUEST = exports.GET_ORDER_DEFINITIONS_FAILURE = exports.GET_CUSTOMER_LOOKUP_SUCCESS = exports.GET_CUSTOMER_LOOKUP_REQUEST = exports.GET_CUSTOMER_LOOKUP_FAILURE = exports.GET_CUSTOMER_LOOKUPS_SUCCESS = exports.GET_CUSTOMER_LOOKUPS_REQUEST = exports.GET_CUSTOMER_LOOKUPS_FAILURE = exports.GET_CUSTOMER_DEFINITIONS_SUCCESS = exports.GET_CUSTOMER_DEFINITIONS_REQUEST = exports.GET_CUSTOMER_DEFINITIONS_FAILURE = exports.CREATE_PROFILE_DEFINITION_SUCCESS = exports.CREATE_PROFILE_DEFINITION_REQUEST = exports.CREATE_PROFILE_DEFINITION_FAILURE = exports.ADD_ORDER_LOOKUP_SUCCESS = exports.ADD_ORDER_LOOKUP_REQUEST = exports.ADD_ORDER_LOOKUP_FAILURE = exports.ADD_CUSTOMER_LOOKUP_SUCCESS = exports.ADD_CUSTOMER_LOOKUP_REQUEST = exports.ADD_CUSTOMER_LOOKUP_FAILURE = void 0;
|
|
5
5
|
|
|
6
6
|
var _makeApiAction = require("./makeApiAction");
|
|
7
7
|
|
|
@@ -21,9 +21,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
21
21
|
enterModule && enterModule(module);
|
|
22
22
|
})();
|
|
23
23
|
|
|
24
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
24
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
25
25
|
|
|
26
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
26
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
27
27
|
|
|
28
28
|
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; }
|
|
29
29
|
|
package/dist/actions/modules.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
-
exports.setModulesStructure = exports.SET_MODULES_STRUCTURE = void 0;
|
|
4
|
+
exports.setRoutingPerformed = exports.setNewScopeAndModuleName = exports.setModulesStructure = exports.setModuleAsVisible = exports.initializeFirstModuleScope = exports.SET_ROUTING_PERFORMED = exports.SET_NEW_SCOPE_AND_MODULE_NAME = exports.SET_MODULE_AS_VISIBLE = exports.SET_MODULES_STRUCTURE = exports.INITIALIZE_FIRST_MODULE_SCOPE = void 0;
|
|
5
5
|
|
|
6
6
|
(function () {
|
|
7
7
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
@@ -32,6 +32,52 @@ var setModulesStructure = function setModulesStructure(modules) {
|
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
exports.setModulesStructure = setModulesStructure;
|
|
35
|
+
var SET_MODULE_AS_VISIBLE = "SET_MODULE_AS_VISIBLE";
|
|
36
|
+
exports.SET_MODULE_AS_VISIBLE = SET_MODULE_AS_VISIBLE;
|
|
37
|
+
|
|
38
|
+
var setModuleAsVisible = function setModuleAsVisible(module) {
|
|
39
|
+
return {
|
|
40
|
+
type: SET_MODULE_AS_VISIBLE,
|
|
41
|
+
payload: module
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
exports.setModuleAsVisible = setModuleAsVisible;
|
|
46
|
+
var INITIALIZE_FIRST_MODULE_SCOPE = "INITIALIZE_FIRST_MODULE_SCOPE";
|
|
47
|
+
exports.INITIALIZE_FIRST_MODULE_SCOPE = INITIALIZE_FIRST_MODULE_SCOPE;
|
|
48
|
+
|
|
49
|
+
var initializeFirstModuleScope = function initializeFirstModuleScope(scope) {
|
|
50
|
+
return {
|
|
51
|
+
type: INITIALIZE_FIRST_MODULE_SCOPE,
|
|
52
|
+
payload: scope
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
exports.initializeFirstModuleScope = initializeFirstModuleScope;
|
|
57
|
+
var SET_NEW_SCOPE_AND_MODULE_NAME = "SET_NEW_SCOPE_AND_MODULE_NAME";
|
|
58
|
+
exports.SET_NEW_SCOPE_AND_MODULE_NAME = SET_NEW_SCOPE_AND_MODULE_NAME;
|
|
59
|
+
|
|
60
|
+
var setNewScopeAndModuleName = function setNewScopeAndModuleName(scope, moduleName) {
|
|
61
|
+
return {
|
|
62
|
+
type: SET_NEW_SCOPE_AND_MODULE_NAME,
|
|
63
|
+
payload: {
|
|
64
|
+
scope: scope,
|
|
65
|
+
moduleName: moduleName
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
exports.setNewScopeAndModuleName = setNewScopeAndModuleName;
|
|
71
|
+
var SET_ROUTING_PERFORMED = "SET_ROUTING_PERFORMED";
|
|
72
|
+
exports.SET_ROUTING_PERFORMED = SET_ROUTING_PERFORMED;
|
|
73
|
+
|
|
74
|
+
var setRoutingPerformed = function setRoutingPerformed() {
|
|
75
|
+
return {
|
|
76
|
+
type: SET_ROUTING_PERFORMED
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
exports.setRoutingPerformed = setRoutingPerformed;
|
|
35
81
|
;
|
|
36
82
|
|
|
37
83
|
(function () {
|
|
@@ -43,6 +89,14 @@ exports.setModulesStructure = setModulesStructure;
|
|
|
43
89
|
|
|
44
90
|
reactHotLoader.register(SET_MODULES_STRUCTURE, "SET_MODULES_STRUCTURE", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
45
91
|
reactHotLoader.register(setModulesStructure, "setModulesStructure", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
92
|
+
reactHotLoader.register(SET_MODULE_AS_VISIBLE, "SET_MODULE_AS_VISIBLE", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
93
|
+
reactHotLoader.register(setModuleAsVisible, "setModuleAsVisible", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
94
|
+
reactHotLoader.register(INITIALIZE_FIRST_MODULE_SCOPE, "INITIALIZE_FIRST_MODULE_SCOPE", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
95
|
+
reactHotLoader.register(initializeFirstModuleScope, "initializeFirstModuleScope", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
96
|
+
reactHotLoader.register(SET_NEW_SCOPE_AND_MODULE_NAME, "SET_NEW_SCOPE_AND_MODULE_NAME", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
97
|
+
reactHotLoader.register(setNewScopeAndModuleName, "setNewScopeAndModuleName", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
98
|
+
reactHotLoader.register(SET_ROUTING_PERFORMED, "SET_ROUTING_PERFORMED", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
99
|
+
reactHotLoader.register(setRoutingPerformed, "setRoutingPerformed", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
46
100
|
})();
|
|
47
101
|
|
|
48
102
|
;
|
|
@@ -63,6 +117,14 @@ exports.setModulesStructure = setModulesStructure;
|
|
|
63
117
|
|
|
64
118
|
reactHotLoader.register(SET_MODULES_STRUCTURE, "SET_MODULES_STRUCTURE", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
65
119
|
reactHotLoader.register(setModulesStructure, "setModulesStructure", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
120
|
+
reactHotLoader.register(SET_MODULE_AS_VISIBLE, "SET_MODULE_AS_VISIBLE", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
121
|
+
reactHotLoader.register(setModuleAsVisible, "setModuleAsVisible", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
122
|
+
reactHotLoader.register(INITIALIZE_FIRST_MODULE_SCOPE, "INITIALIZE_FIRST_MODULE_SCOPE", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
123
|
+
reactHotLoader.register(initializeFirstModuleScope, "initializeFirstModuleScope", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
124
|
+
reactHotLoader.register(SET_NEW_SCOPE_AND_MODULE_NAME, "SET_NEW_SCOPE_AND_MODULE_NAME", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
125
|
+
reactHotLoader.register(setNewScopeAndModuleName, "setNewScopeAndModuleName", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
126
|
+
reactHotLoader.register(SET_ROUTING_PERFORMED, "SET_ROUTING_PERFORMED", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
127
|
+
reactHotLoader.register(setRoutingPerformed, "setRoutingPerformed", "/home/vsts/work/1/s/src/actions/modules.js");
|
|
66
128
|
})();
|
|
67
129
|
|
|
68
130
|
;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
-
exports.
|
|
4
|
+
exports.setRoute = exports.setHrefConfig = exports.setCurrentPrependPath = exports.setClosingTabHandlerActions = exports.removeTab = exports.mapHref = exports.SET_ROUTE = exports.SET_HREF_CONFIG = exports.SET_CURRENT_PREPEND_PATH = exports.SET_CLOSING_TAB_HANDLER_ACTIONS = exports.REMOVE_TAB = exports.MAP_HREF = void 0;
|
|
5
5
|
|
|
6
6
|
(function () {
|
|
7
7
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
@@ -13,9 +13,9 @@ exports.setClosingTabHandlerActions = exports.SET_CLOSING_TAB_HANDLER_ACTIONS =
|
|
|
13
13
|
enterModule && enterModule(module);
|
|
14
14
|
})();
|
|
15
15
|
|
|
16
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
16
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
17
17
|
|
|
18
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
18
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
19
19
|
|
|
20
20
|
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; }
|
|
21
21
|
|