orc-shared 1.5.0-dev.1 → 1.5.0-dev.11
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 +0 -17
- package/dist/actions/scopes.js +14 -56
- package/dist/actions/tasks.js +190 -0
- 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 +6 -54
- 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 +12 -61
- 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 +27 -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 +2 -32
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/InformationItem.js +17 -57
- 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 +18 -57
- package/dist/components/MaterialUI/Inputs/InputBase.js +7 -56
- package/dist/components/MaterialUI/Inputs/InputBaseProps.js +3 -51
- 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 +8 -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 +2 -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 +22 -59
- package/dist/components/Routing/withWaypointing.js +5 -36
- 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/TaskDetailsModal.js +193 -0
- 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 +21 -19
- package/dist/content/iconsSheet.svg +22 -0
- package/dist/content/orckestra-logo-white.png +0 -0
- 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 +10 -105
- 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 +4 -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/tasks.js +99 -0
- 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 +17 -41
- 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/tasks.js +66 -0
- 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 +17 -18
- 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 +36 -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 +8 -46
- package/dist/utils/unwrapImmutable.js +0 -19
- package/dist/utils/urlHelper.js +3 -28
- package/dist/whyDidYouRerender.js +0 -5
- package/package.json +3 -3
- package/src/actions/tasks.js +77 -0
- package/src/actions/tasks.test.js +169 -0
- package/src/buildStore.js +2 -0
- package/src/components/AppFrame/About.test.js +3 -3
- package/src/components/AppFrame/Sidebar.js +4 -3
- package/src/components/Routing/SubPage.js +17 -2
- package/src/components/Routing/SubPage.test.js +168 -1
- package/src/components/TaskDetailsModal.js +132 -0
- package/src/components/TaskDetailsModal.test.js +317 -0
- package/src/components/Text.test.js +44 -59
- package/src/constants.js +15 -0
- package/src/content/iconsSheet.svg +22 -0
- package/src/content/orckestra-logo-white.png +0 -0
- package/src/hooks/useEditState.js +12 -2
- package/src/hooks/useEditState.test.js +1 -1
- package/src/hooks/useLabelMessage.test.js +16 -10
- package/src/reducers/request.js +4 -0
- package/src/reducers/request.test.js +11 -0
- package/src/reducers/tasks.js +56 -0
- package/src/reducers/tasks.test.js +404 -0
- package/src/selectors/authentication.js +13 -0
- package/src/selectors/authentication.test.js +322 -0
- package/src/selectors/tasks.js +16 -0
- package/src/selectors/tasks.test.js +60 -0
- package/src/sharedMessages.js +17 -1
- package/src/translations/en-US.json +16 -12
- package/src/translations/fr-CA.json +16 -12
- package/src/utils/propertyHelper.js +38 -0
- package/src/utils/propertyHelper.test.js +160 -0
- package/src/utils/timezoneHelper.test.js +4 -2
package/dist/constants.js
CHANGED
|
@@ -1,26 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
-
exports.validationErrorTypes = exports.scopeTypes = exports.scopeConfirmationDialogTypes = exports.roleGroups = exports.requestStates = exports.requestStateOperations = exports.requestStateOperationMap = exports.platformRoles = exports.overtureModule = exports.infoBar = exports.displayMode = exports.definitionType = exports.attributeDataType = void 0;
|
|
5
|
-
|
|
4
|
+
exports.validationErrorTypes = exports.taskStatuses = exports.scopeTypes = exports.scopeConfirmationDialogTypes = exports.roleGroups = exports.requestStates = exports.requestStateOperations = exports.requestStateOperationMap = exports.platformRoles = exports.overtureModule = exports.infoBar = exports.displayMode = exports.definitionType = exports.attributeDataType = void 0;
|
|
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 infoBar = "infoBar";
|
|
25
20
|
exports.infoBar = infoBar;
|
|
26
21
|
var scopeTypes = {
|
|
@@ -35,12 +30,14 @@ var platformRoles = {
|
|
|
35
30
|
Integrator: "Integrator",
|
|
36
31
|
Administrator: "Administrator",
|
|
37
32
|
Editor: "Editor",
|
|
38
|
-
Reader: "Reader"
|
|
33
|
+
Reader: "Reader",
|
|
34
|
+
Recipient: "Recipient"
|
|
39
35
|
};
|
|
40
36
|
exports.platformRoles = platformRoles;
|
|
41
37
|
var roleGroups = {
|
|
42
38
|
Products: "Products",
|
|
43
39
|
Orders: "Orders",
|
|
40
|
+
OrderReturn: "OrderReturn",
|
|
44
41
|
Marketing: "Marketing",
|
|
45
42
|
Analytics: "Analytics",
|
|
46
43
|
Shopping: "Shopping",
|
|
@@ -95,8 +92,9 @@ var attributeDataType = {
|
|
|
95
92
|
lookup: "Lookup",
|
|
96
93
|
entityReference: "EntityReference",
|
|
97
94
|
customType: "CustomType"
|
|
98
|
-
};
|
|
95
|
+
};
|
|
99
96
|
|
|
97
|
+
// It is intended that some of them have a different value of its keys
|
|
100
98
|
exports.attributeDataType = attributeDataType;
|
|
101
99
|
var overtureModule = {
|
|
102
100
|
System: "System",
|
|
@@ -130,15 +128,25 @@ var requestStateOperationMap = {
|
|
|
130
128
|
update: "updates"
|
|
131
129
|
};
|
|
132
130
|
exports.requestStateOperationMap = requestStateOperationMap;
|
|
131
|
+
var taskStatuses = {
|
|
132
|
+
created: "Created",
|
|
133
|
+
waitingToRun: "WaitingToRun",
|
|
134
|
+
running: "Running",
|
|
135
|
+
ranToCompletion: "RanToCompletion",
|
|
136
|
+
canceled: "Canceled",
|
|
137
|
+
faulted: "Faulted",
|
|
138
|
+
idle: "Idle",
|
|
139
|
+
waitingToCancel: "WaitingToCancel",
|
|
140
|
+
ignored: "Ignored",
|
|
141
|
+
queuedForSequence: "QueuedForSequence"
|
|
142
|
+
};
|
|
143
|
+
exports.taskStatuses = taskStatuses;
|
|
133
144
|
;
|
|
134
|
-
|
|
135
145
|
(function () {
|
|
136
146
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
137
|
-
|
|
138
147
|
if (!reactHotLoader) {
|
|
139
148
|
return;
|
|
140
149
|
}
|
|
141
|
-
|
|
142
150
|
reactHotLoader.register(infoBar, "infoBar", "/home/vsts/work/1/s/src/constants.js");
|
|
143
151
|
reactHotLoader.register(scopeTypes, "scopeTypes", "/home/vsts/work/1/s/src/constants.js");
|
|
144
152
|
reactHotLoader.register(platformRoles, "platformRoles", "/home/vsts/work/1/s/src/constants.js");
|
|
@@ -152,24 +160,19 @@ exports.requestStateOperationMap = requestStateOperationMap;
|
|
|
152
160
|
reactHotLoader.register(definitionType, "definitionType", "/home/vsts/work/1/s/src/constants.js");
|
|
153
161
|
reactHotLoader.register(requestStateOperations, "requestStateOperations", "/home/vsts/work/1/s/src/constants.js");
|
|
154
162
|
reactHotLoader.register(requestStateOperationMap, "requestStateOperationMap", "/home/vsts/work/1/s/src/constants.js");
|
|
163
|
+
reactHotLoader.register(taskStatuses, "taskStatuses", "/home/vsts/work/1/s/src/constants.js");
|
|
155
164
|
})();
|
|
156
|
-
|
|
157
165
|
;
|
|
158
|
-
|
|
159
166
|
(function () {
|
|
160
167
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
161
168
|
leaveModule && leaveModule(module);
|
|
162
169
|
})();
|
|
163
|
-
|
|
164
170
|
;
|
|
165
|
-
|
|
166
171
|
(function () {
|
|
167
172
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
168
|
-
|
|
169
173
|
if (!reactHotLoader) {
|
|
170
174
|
return;
|
|
171
175
|
}
|
|
172
|
-
|
|
173
176
|
reactHotLoader.register(infoBar, "infoBar", "/home/vsts/work/1/s/src/constants.js");
|
|
174
177
|
reactHotLoader.register(scopeTypes, "scopeTypes", "/home/vsts/work/1/s/src/constants.js");
|
|
175
178
|
reactHotLoader.register(platformRoles, "platformRoles", "/home/vsts/work/1/s/src/constants.js");
|
|
@@ -183,10 +186,9 @@ exports.requestStateOperationMap = requestStateOperationMap;
|
|
|
183
186
|
reactHotLoader.register(definitionType, "definitionType", "/home/vsts/work/1/s/src/constants.js");
|
|
184
187
|
reactHotLoader.register(requestStateOperations, "requestStateOperations", "/home/vsts/work/1/s/src/constants.js");
|
|
185
188
|
reactHotLoader.register(requestStateOperationMap, "requestStateOperationMap", "/home/vsts/work/1/s/src/constants.js");
|
|
189
|
+
reactHotLoader.register(taskStatuses, "taskStatuses", "/home/vsts/work/1/s/src/constants.js");
|
|
186
190
|
})();
|
|
187
|
-
|
|
188
191
|
;
|
|
189
|
-
|
|
190
192
|
(function () {
|
|
191
193
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
192
194
|
leaveModule && leaveModule(module);
|
|
@@ -708,4 +708,26 @@
|
|
|
708
708
|
<polygon fill="#FFF" points="9.6 12 16 8.4 9.6 4.8"/>
|
|
709
709
|
</g>
|
|
710
710
|
</symbol>
|
|
711
|
+
<symbol id="icon-barcode" viewBox="0 0 25 20" xmlns="http://www.w3.org/2000/svg">
|
|
712
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.00031 16.0315C1.27645 16.0315 1.50031 16.2554 1.50031 16.5315V19.0005H3.96931C4.24545 19.0005 4.46931 19.2244 4.46931 19.5005C4.46931 19.7766 4.24545 20.0005 3.96931 20.0005H1.00031C0.724163 20.0005 0.500305 19.7766 0.500305 19.5005V16.5315C0.500305 16.2554 0.724163 16.0315 1.00031 16.0315Z" fill="#333333"/>
|
|
713
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.5 0.500244C0.5 0.224102 0.723858 0.000244141 1 0.000244141H3.969C4.24514 0.000244141 4.469 0.224102 4.469 0.500244C4.469 0.776386 4.24514 1.00024 3.969 1.00024H1.5V3.46924C1.5 3.74539 1.27614 3.96924 1 3.96924C0.723858 3.96924 0.5 3.74539 0.5 3.46924V0.500244Z" fill="#333333"/>
|
|
714
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.5313 0.5C20.5313 0.223858 20.7552 0 21.0313 0H24.0003C24.2765 0 24.5003 0.223858 24.5003 0.5V3.469C24.5003 3.74514 24.2765 3.969 24.0003 3.969C23.7242 3.969 23.5003 3.74514 23.5003 3.469V1H21.0313C20.7552 1 20.5313 0.776142 20.5313 0.5Z" fill="#333333"/>
|
|
715
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M24.0005 16.0312C24.2766 16.0312 24.5005 16.2551 24.5005 16.5312V19.5002C24.5005 19.7764 24.2766 20.0002 24.0005 20.0002H21.0315C20.7554 20.0002 20.5315 19.7764 20.5315 19.5002C20.5315 19.2241 20.7554 19.0002 21.0315 19.0002H23.5005V16.5312C23.5005 16.2551 23.7244 16.0312 24.0005 16.0312Z" fill="#333333"/>
|
|
716
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.50031 15.0002V5.00024H4.50031V15.0002H3.50031Z" fill="#333333"/>
|
|
717
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.50031 12.0002V5.00024H6.50031V12.0002H5.50031Z" fill="#333333"/>
|
|
718
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.50031 12.0002V5.00024H8.50031V12.0002H7.50031Z" fill="#333333"/>
|
|
719
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.5003 12.0002V5.00024H11.5003V12.0002H10.5003Z" fill="#333333"/>
|
|
720
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.5003 12.0002V5.00024H13.5003V12.0002H12.5003Z" fill="#333333"/>
|
|
721
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.5003 12.0002V5.00024H15.5003V12.0002H14.5003Z" fill="#333333"/>
|
|
722
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.5003 12.0002V5.00024H17.5003V12.0002H16.5003Z" fill="#333333"/>
|
|
723
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M18.5003 12.0002V5.00024H19.5003V12.0002H18.5003Z" fill="#333333"/>
|
|
724
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.5003 15.0002V5.00024H21.5003V15.0002H20.5003Z" fill="#333333"/>
|
|
725
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.50031 13.0002H5.50031V14.0002H6.50031V13.0002Z" fill="#333333"/>
|
|
726
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.50031 13.0002H7.50031V14.0002H8.50031V13.0002Z" fill="#333333"/>
|
|
727
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.5003 13.0002H10.5003V14.0002H11.5003V13.0002Z" fill="#333333"/>
|
|
728
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.5003 13.0002H12.5003V14.0002H13.5003V13.0002Z" fill="#333333"/>
|
|
729
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.5003 13.0002H14.5003V14.0002H15.5003V13.0002Z" fill="#333333"/>
|
|
730
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.5003 13.0002H16.5003V14.0002H17.5003V13.0002Z" fill="#333333"/>
|
|
731
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.5003 13.0002H18.5003V14.0002H19.5003V13.0002Z" fill="#333333"/>
|
|
732
|
+
</symbol>
|
|
711
733
|
</svg>
|
|
Binary file
|
package/dist/getTheme.js
CHANGED
|
@@ -2,33 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
require("typeface-open-sans");
|
|
7
|
-
|
|
8
6
|
require("typeface-roboto-condensed");
|
|
9
|
-
|
|
10
7
|
var _lodash = require("lodash");
|
|
11
|
-
|
|
12
8
|
var _polished = require("polished");
|
|
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
|
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 baseTheme = {
|
|
33
24
|
treeSettings: {
|
|
34
25
|
// in px
|
|
@@ -104,84 +95,64 @@ var baseTheme = {
|
|
|
104
95
|
header: "Roboto Condensed, sans-serif"
|
|
105
96
|
}
|
|
106
97
|
};
|
|
107
|
-
|
|
108
98
|
var setApplicationColors = function setApplicationColors(theme) {
|
|
109
99
|
if (!theme.colors.application.primary) {
|
|
110
100
|
theme.colors.application.primary = theme.colors.application.base;
|
|
111
101
|
}
|
|
112
|
-
|
|
113
102
|
if (!theme.colors.application.highlight) {
|
|
114
103
|
theme.colors.application.highlight = (0, _polished.tint)(0.86, theme.colors.application.base);
|
|
115
104
|
}
|
|
116
|
-
|
|
117
105
|
if (!theme.colors.application.select) {
|
|
118
106
|
theme.colors.application.select = (0, _polished.tint)(0.7, theme.colors.application.base);
|
|
119
107
|
}
|
|
120
|
-
|
|
121
108
|
if (!theme.colors.application.dark) {
|
|
122
109
|
theme.colors.application.dark = (0, _polished.shade)(0.2, theme.colors.application.base);
|
|
123
110
|
}
|
|
124
|
-
|
|
125
111
|
return theme;
|
|
126
112
|
};
|
|
127
|
-
|
|
128
113
|
var appHighlightColor_IS_DEPRECATED = {
|
|
129
114
|
appHighlightColor: "#ff00ff"
|
|
130
115
|
};
|
|
131
|
-
|
|
132
116
|
var getTheme = function getTheme(overrides) {
|
|
133
117
|
if (overrides === void 0) {
|
|
134
118
|
overrides = {};
|
|
135
119
|
}
|
|
136
|
-
|
|
137
120
|
return setApplicationColors((0, _lodash.merge)({}, baseTheme, overrides, appHighlightColor_IS_DEPRECATED));
|
|
138
121
|
};
|
|
139
|
-
|
|
140
122
|
var _default = getTheme;
|
|
141
123
|
var _default2 = _default;
|
|
142
124
|
var _default3 = _default2;
|
|
143
125
|
exports.default = _default3;
|
|
144
126
|
;
|
|
145
|
-
|
|
146
127
|
(function () {
|
|
147
128
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
148
|
-
|
|
149
129
|
if (!reactHotLoader) {
|
|
150
130
|
return;
|
|
151
131
|
}
|
|
152
|
-
|
|
153
132
|
reactHotLoader.register(baseTheme, "baseTheme", "/home/vsts/work/1/s/src/getTheme.js");
|
|
154
133
|
reactHotLoader.register(setApplicationColors, "setApplicationColors", "/home/vsts/work/1/s/src/getTheme.js");
|
|
155
134
|
reactHotLoader.register(appHighlightColor_IS_DEPRECATED, "appHighlightColor_IS_DEPRECATED", "/home/vsts/work/1/s/src/getTheme.js");
|
|
156
135
|
reactHotLoader.register(getTheme, "getTheme", "/home/vsts/work/1/s/src/getTheme.js");
|
|
157
136
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/getTheme.js");
|
|
158
137
|
})();
|
|
159
|
-
|
|
160
138
|
;
|
|
161
|
-
|
|
162
139
|
(function () {
|
|
163
140
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
164
141
|
leaveModule && leaveModule(module);
|
|
165
142
|
})();
|
|
166
|
-
|
|
167
143
|
;
|
|
168
|
-
|
|
169
144
|
(function () {
|
|
170
145
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
171
|
-
|
|
172
146
|
if (!reactHotLoader) {
|
|
173
147
|
return;
|
|
174
148
|
}
|
|
175
|
-
|
|
176
149
|
reactHotLoader.register(baseTheme, "baseTheme", "/home/vsts/work/1/s/src/getTheme.js");
|
|
177
150
|
reactHotLoader.register(setApplicationColors, "setApplicationColors", "/home/vsts/work/1/s/src/getTheme.js");
|
|
178
151
|
reactHotLoader.register(appHighlightColor_IS_DEPRECATED, "appHighlightColor_IS_DEPRECATED", "/home/vsts/work/1/s/src/getTheme.js");
|
|
179
152
|
reactHotLoader.register(getTheme, "getTheme", "/home/vsts/work/1/s/src/getTheme.js");
|
|
180
153
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/getTheme.js");
|
|
181
154
|
})();
|
|
182
|
-
|
|
183
155
|
;
|
|
184
|
-
|
|
185
156
|
(function () {
|
|
186
157
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
187
158
|
leaveModule && leaveModule(module);
|
|
@@ -2,31 +2,25 @@
|
|
|
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 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
|
-
|
|
18
14
|
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
|
-
|
|
20
|
-
function
|
|
21
|
-
|
|
15
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
17
|
+
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); }
|
|
22
18
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
23
19
|
return a;
|
|
24
20
|
};
|
|
25
|
-
|
|
26
21
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
27
22
|
return a;
|
|
28
23
|
};
|
|
29
|
-
|
|
30
24
|
/* istanbul ignore file */
|
|
31
25
|
// Override values to use Orckestra icon sheet and colors
|
|
32
26
|
// See also orc-shared/src/getTheme.js#setApplicationColors()
|
|
@@ -52,7 +46,6 @@ var colors = {
|
|
|
52
46
|
highlight: "#f1eae0"
|
|
53
47
|
}
|
|
54
48
|
};
|
|
55
|
-
|
|
56
49
|
var getThemeOverrides = function getThemeOverrides(appName) {
|
|
57
50
|
var application = colors[appName] || {
|
|
58
51
|
base: "#ff00ff",
|
|
@@ -65,48 +58,36 @@ var getThemeOverrides = function getThemeOverrides(appName) {
|
|
|
65
58
|
})
|
|
66
59
|
};
|
|
67
60
|
};
|
|
68
|
-
|
|
69
61
|
var _default = getThemeOverrides;
|
|
70
62
|
var _default2 = _default;
|
|
71
63
|
var _default3 = _default2;
|
|
72
64
|
exports.default = _default3;
|
|
73
65
|
;
|
|
74
|
-
|
|
75
66
|
(function () {
|
|
76
67
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
77
|
-
|
|
78
68
|
if (!reactHotLoader) {
|
|
79
69
|
return;
|
|
80
70
|
}
|
|
81
|
-
|
|
82
71
|
reactHotLoader.register(colors, "colors", "/home/vsts/work/1/s/src/getThemeOverrides.js");
|
|
83
72
|
reactHotLoader.register(getThemeOverrides, "getThemeOverrides", "/home/vsts/work/1/s/src/getThemeOverrides.js");
|
|
84
73
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/getThemeOverrides.js");
|
|
85
74
|
})();
|
|
86
|
-
|
|
87
75
|
;
|
|
88
|
-
|
|
89
76
|
(function () {
|
|
90
77
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
91
78
|
leaveModule && leaveModule(module);
|
|
92
79
|
})();
|
|
93
|
-
|
|
94
80
|
;
|
|
95
|
-
|
|
96
81
|
(function () {
|
|
97
82
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
98
|
-
|
|
99
83
|
if (!reactHotLoader) {
|
|
100
84
|
return;
|
|
101
85
|
}
|
|
102
|
-
|
|
103
86
|
reactHotLoader.register(colors, "colors", "/home/vsts/work/1/s/src/getThemeOverrides.js");
|
|
104
87
|
reactHotLoader.register(getThemeOverrides, "getThemeOverrides", "/home/vsts/work/1/s/src/getThemeOverrides.js");
|
|
105
88
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/getThemeOverrides.js");
|
|
106
89
|
})();
|
|
107
|
-
|
|
108
90
|
;
|
|
109
|
-
|
|
110
91
|
(function () {
|
|
111
92
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
112
93
|
leaveModule && leaveModule(module);
|
|
@@ -2,81 +2,60 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _recompose = require("recompose");
|
|
7
|
-
|
|
8
6
|
var _reactRedux = require("react-redux");
|
|
9
|
-
|
|
10
7
|
var _reactRouterDom = require("react-router-dom");
|
|
11
|
-
|
|
12
8
|
(function () {
|
|
13
9
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
14
10
|
enterModule && enterModule(module);
|
|
15
11
|
})();
|
|
16
|
-
|
|
17
12
|
(function () {
|
|
18
13
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
19
14
|
enterModule && enterModule(module);
|
|
20
15
|
})();
|
|
21
|
-
|
|
22
16
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
23
17
|
return a;
|
|
24
18
|
};
|
|
25
|
-
|
|
26
19
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
27
20
|
return a;
|
|
28
21
|
};
|
|
29
|
-
|
|
30
22
|
var deprecate = function deprecate(Comp) {
|
|
31
23
|
console.warn("Higher order component routingConnector has been deprecated in favor of React-Redux and React-Router hooks");
|
|
32
24
|
return Comp;
|
|
33
25
|
};
|
|
34
|
-
|
|
35
26
|
var routingConnector = function routingConnector() {
|
|
36
27
|
return (0, _recompose.compose)(deprecate, _reactRouterDom.withRouter, _reactRedux.connect.apply(void 0, arguments));
|
|
37
28
|
};
|
|
38
|
-
|
|
39
29
|
var _default = routingConnector;
|
|
40
30
|
var _default2 = _default;
|
|
41
31
|
var _default3 = _default2;
|
|
42
32
|
exports.default = _default3;
|
|
43
33
|
;
|
|
44
|
-
|
|
45
34
|
(function () {
|
|
46
35
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
47
|
-
|
|
48
36
|
if (!reactHotLoader) {
|
|
49
37
|
return;
|
|
50
38
|
}
|
|
51
|
-
|
|
52
39
|
reactHotLoader.register(deprecate, "deprecate", "/home/vsts/work/1/s/src/hocs/routingConnector.js");
|
|
53
40
|
reactHotLoader.register(routingConnector, "routingConnector", "/home/vsts/work/1/s/src/hocs/routingConnector.js");
|
|
54
41
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/hocs/routingConnector.js");
|
|
55
42
|
})();
|
|
56
|
-
|
|
57
43
|
;
|
|
58
|
-
|
|
59
44
|
(function () {
|
|
60
45
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
61
46
|
leaveModule && leaveModule(module);
|
|
62
47
|
})();
|
|
63
|
-
|
|
64
48
|
;
|
|
65
|
-
|
|
66
49
|
(function () {
|
|
67
50
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
68
|
-
|
|
69
51
|
if (!reactHotLoader) {
|
|
70
52
|
return;
|
|
71
53
|
}
|
|
72
|
-
|
|
73
54
|
reactHotLoader.register(deprecate, "deprecate", "/home/vsts/work/1/s/src/hocs/routingConnector.js");
|
|
74
55
|
reactHotLoader.register(routingConnector, "routingConnector", "/home/vsts/work/1/s/src/hocs/routingConnector.js");
|
|
75
56
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/hocs/routingConnector.js");
|
|
76
57
|
})();
|
|
77
|
-
|
|
78
58
|
;
|
|
79
|
-
|
|
80
59
|
(function () {
|
|
81
60
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
82
61
|
leaveModule && leaveModule(module);
|
|
@@ -2,35 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _recompose = require("recompose");
|
|
7
|
-
|
|
8
6
|
var _Authenticate = require("../components/Authenticate");
|
|
9
|
-
|
|
10
7
|
var _excluded = ["authedUser", "loading", "requestError", "needLogin"];
|
|
11
|
-
|
|
12
8
|
(function () {
|
|
13
9
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
14
10
|
enterModule && enterModule(module);
|
|
15
11
|
})();
|
|
16
|
-
|
|
17
12
|
(function () {
|
|
18
13
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
19
14
|
enterModule && enterModule(module);
|
|
20
15
|
})();
|
|
21
|
-
|
|
22
16
|
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; }
|
|
23
|
-
|
|
24
17
|
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; }
|
|
25
|
-
|
|
26
18
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
27
19
|
return a;
|
|
28
20
|
};
|
|
29
|
-
|
|
30
21
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31
22
|
return a;
|
|
32
23
|
};
|
|
33
|
-
|
|
34
24
|
console.warn("Higher order component withAuthentication has been deprecated in favor of component Authenticate");
|
|
35
25
|
var isAuthenticated = (0, _recompose.withProps)(_Authenticate.useAuthenticationData);
|
|
36
26
|
var withAuthentication = (0, _recompose.compose)(isAuthenticated, (0, _recompose.branch)(function (_ref) {
|
|
@@ -41,11 +31,10 @@ var withAuthentication = (0, _recompose.compose)(isAuthenticated, (0, _recompose
|
|
|
41
31
|
return !authedUser;
|
|
42
32
|
}, (0, _recompose.renderComponent)(_Authenticate.Error), (0, _recompose.mapProps)(function (_ref3) {
|
|
43
33
|
var authedUser = _ref3.authedUser,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
34
|
+
loading = _ref3.loading,
|
|
35
|
+
requestError = _ref3.requestError,
|
|
36
|
+
needLogin = _ref3.needLogin,
|
|
37
|
+
props = _objectWithoutProperties(_ref3, _excluded);
|
|
49
38
|
return props;
|
|
50
39
|
})));
|
|
51
40
|
var _default = withAuthentication;
|
|
@@ -53,42 +42,31 @@ var _default2 = _default;
|
|
|
53
42
|
var _default3 = _default2;
|
|
54
43
|
exports.default = _default3;
|
|
55
44
|
;
|
|
56
|
-
|
|
57
45
|
(function () {
|
|
58
46
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
59
|
-
|
|
60
47
|
if (!reactHotLoader) {
|
|
61
48
|
return;
|
|
62
49
|
}
|
|
63
|
-
|
|
64
50
|
reactHotLoader.register(isAuthenticated, "isAuthenticated", "/home/vsts/work/1/s/src/hocs/withAuthentication.js");
|
|
65
51
|
reactHotLoader.register(withAuthentication, "withAuthentication", "/home/vsts/work/1/s/src/hocs/withAuthentication.js");
|
|
66
52
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/hocs/withAuthentication.js");
|
|
67
53
|
})();
|
|
68
|
-
|
|
69
54
|
;
|
|
70
|
-
|
|
71
55
|
(function () {
|
|
72
56
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
73
57
|
leaveModule && leaveModule(module);
|
|
74
58
|
})();
|
|
75
|
-
|
|
76
59
|
;
|
|
77
|
-
|
|
78
60
|
(function () {
|
|
79
61
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
80
|
-
|
|
81
62
|
if (!reactHotLoader) {
|
|
82
63
|
return;
|
|
83
64
|
}
|
|
84
|
-
|
|
85
65
|
reactHotLoader.register(isAuthenticated, "isAuthenticated", "/home/vsts/work/1/s/src/hocs/withAuthentication.js");
|
|
86
66
|
reactHotLoader.register(withAuthentication, "withAuthentication", "/home/vsts/work/1/s/src/hocs/withAuthentication.js");
|
|
87
67
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/hocs/withAuthentication.js");
|
|
88
68
|
})();
|
|
89
|
-
|
|
90
69
|
;
|
|
91
|
-
|
|
92
70
|
(function () {
|
|
93
71
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
94
72
|
leaveModule && leaveModule(module);
|
|
@@ -2,39 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
|
-
|
|
6
5
|
var _react = _interopRequireWildcard(require("react"));
|
|
7
|
-
|
|
8
6
|
var _excluded = ["onClickOutside"];
|
|
9
|
-
|
|
10
7
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
|
-
|
|
12
8
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
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 _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
25
|
-
|
|
26
18
|
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; }
|
|
27
|
-
|
|
28
19
|
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; }
|
|
29
|
-
|
|
30
20
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
31
21
|
return a;
|
|
32
22
|
};
|
|
33
|
-
|
|
34
23
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
35
24
|
return a;
|
|
36
25
|
};
|
|
37
|
-
|
|
38
26
|
var descendsFrom = function descendsFrom(descendant, ancestor) {
|
|
39
27
|
if (descendant === ancestor) {
|
|
40
28
|
return true;
|
|
@@ -44,13 +32,11 @@ var descendsFrom = function descendsFrom(descendant, ancestor) {
|
|
|
44
32
|
return descendsFrom(descendant.parentNode, ancestor);
|
|
45
33
|
}
|
|
46
34
|
};
|
|
47
|
-
|
|
48
35
|
var withClickOutside = function withClickOutside(Comp) {
|
|
49
36
|
return __signature__(__signature__(function (_ref) {
|
|
50
37
|
var _ref$onClickOutside = _ref.onClickOutside,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
38
|
+
onClickOutside = _ref$onClickOutside === void 0 ? function () {} : _ref$onClickOutside,
|
|
39
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
54
40
|
var elmRef = (0, _react.useRef)(null);
|
|
55
41
|
var handler = (0, _react.useCallback)(function (event) {
|
|
56
42
|
if (!descendsFrom(event.target, elmRef.current)) {
|
|
@@ -68,48 +54,36 @@ var withClickOutside = function withClickOutside(Comp) {
|
|
|
68
54
|
}, props));
|
|
69
55
|
}, "useRef{elmRef}\nuseCallback{handler}\nuseEffect{}"), "useRef{elmRef}\nuseCallback{handler}\nuseEffect{}");
|
|
70
56
|
};
|
|
71
|
-
|
|
72
57
|
var _default = withClickOutside;
|
|
73
58
|
var _default2 = _default;
|
|
74
59
|
var _default3 = _default2;
|
|
75
60
|
exports.default = _default3;
|
|
76
61
|
;
|
|
77
|
-
|
|
78
62
|
(function () {
|
|
79
63
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
80
|
-
|
|
81
64
|
if (!reactHotLoader) {
|
|
82
65
|
return;
|
|
83
66
|
}
|
|
84
|
-
|
|
85
67
|
reactHotLoader.register(descendsFrom, "descendsFrom", "/home/vsts/work/1/s/src/hocs/withClickOutside.js");
|
|
86
68
|
reactHotLoader.register(withClickOutside, "withClickOutside", "/home/vsts/work/1/s/src/hocs/withClickOutside.js");
|
|
87
69
|
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/hocs/withClickOutside.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(descendsFrom, "descendsFrom", "/home/vsts/work/1/s/src/hocs/withClickOutside.js");
|
|
107
83
|
reactHotLoader.register(withClickOutside, "withClickOutside", "/home/vsts/work/1/s/src/hocs/withClickOutside.js");
|
|
108
84
|
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/hocs/withClickOutside.js");
|
|
109
85
|
})();
|
|
110
|
-
|
|
111
86
|
;
|
|
112
|
-
|
|
113
87
|
(function () {
|
|
114
88
|
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
115
89
|
leaveModule && leaveModule(module);
|