@adaptabletools/adaptable-cjs 17.0.0-canary.3 → 18.0.0-canary.0
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/base.css +1264 -1202
- package/base.css.map +1 -1
- package/index.css +2099 -22
- package/index.css.map +1 -1
- package/package.json +5 -4
- package/src/AdaptableInterfaces/IAdaptable.d.ts +3 -0
- package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -0
- package/src/AdaptableOptions/AlertOptions.d.ts +7 -7
- package/src/AdaptableOptions/ColumnFilterOptions.d.ts +9 -9
- package/src/AdaptableOptions/CommentsOptions.d.ts +28 -0
- package/src/AdaptableOptions/EditOptions.d.ts +6 -6
- package/src/AdaptableOptions/GridFilterOptions.d.ts +13 -8
- package/src/AdaptableOptions/GroupingOptions.d.ts +9 -9
- package/src/AdaptableOptions/InteropioPluginOptions.d.ts +10 -0
- package/src/AdaptableOptions/MenuOptions.d.ts +18 -4
- package/src/AdaptableOptions/MenuOptions.js +14 -6
- package/src/AdaptableOptions/NotesOptions.d.ts +2 -9
- package/src/Api/AdaptableApi.d.ts +6 -1
- package/src/Api/CommentApi.d.ts +58 -0
- package/src/Api/EventApi.d.ts +48 -12
- package/src/Api/Events/CalculatedColumnChanged.d.ts +19 -0
- package/src/Api/Events/CellSelectionChanged.d.ts +11 -0
- package/src/Api/Events/CommentsChangedInfo.d.ts +5 -0
- package/src/Api/Events/LiveDataChanged.d.ts +3 -3
- package/src/Api/Events/RowSelectionChanged.d.ts +11 -0
- package/src/Api/GridApi.d.ts +0 -6
- package/src/Api/GridFilterApi.d.ts +2 -2
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +6 -6
- package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
- package/src/Api/Implementation/CommentsApiImpl.d.ts +15 -0
- package/src/Api/Implementation/CommentsApiImpl.js +46 -0
- package/src/Api/Implementation/ExpressionApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ExpressionApiImpl.js +3 -4
- package/src/Api/Implementation/GridApiImpl.d.ts +0 -1
- package/src/Api/Implementation/GridApiImpl.js +0 -4
- package/src/Api/Implementation/GridFilterApiImpl.d.ts +1 -1
- package/src/Api/Implementation/GridFilterApiImpl.js +1 -1
- package/src/Api/Implementation/NotesApiImpl.d.ts +2 -6
- package/src/Api/Implementation/NotesApiImpl.js +1 -15
- package/src/Api/Implementation/OptionsApiImpl.d.ts +2 -0
- package/src/Api/Implementation/OptionsApiImpl.js +3 -0
- package/src/Api/Implementation/PluginsApiImpl.d.ts +2 -6
- package/src/Api/Implementation/PluginsApiImpl.js +3 -15
- package/src/Api/Implementation/ScheduleApiImpl.d.ts +1 -12
- package/src/Api/Implementation/ScheduleApiImpl.js +0 -36
- package/src/Api/Implementation/ThemeApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ThemeApiImpl.js +3 -0
- package/src/Api/Internal/ActionRowInternalApi.js +1 -1
- package/src/Api/Internal/AdaptableInternalApi.d.ts +2 -0
- package/src/Api/Internal/AdaptableInternalApi.js +3 -0
- package/src/Api/Internal/CalculatedColumnInternalApi.d.ts +2 -0
- package/src/Api/Internal/CalculatedColumnInternalApi.js +16 -0
- package/src/Api/Internal/DashboardInternalApi.d.ts +1 -0
- package/src/Api/Internal/DashboardInternalApi.js +5 -0
- package/src/Api/Internal/DataImportInternalApi.js +2 -0
- package/src/Api/Internal/DataSetInternalApi.js +2 -1
- package/src/Api/Internal/GridInternalApi.d.ts +3 -1
- package/src/Api/Internal/GridInternalApi.js +32 -9
- package/src/Api/Internal/LayoutInternalApi.d.ts +2 -2
- package/src/Api/Internal/LayoutInternalApi.js +11 -11
- package/src/Api/InteropioPluginApi.d.ts +10 -0
- package/src/Api/{NotesAPi.d.ts → NotesApi.d.ts} +19 -21
- package/src/Api/OptionsApi.d.ts +5 -0
- package/src/Api/PluginsApi.d.ts +3 -13
- package/src/Api/ScheduleApi.d.ts +1 -48
- package/src/Api/ThemeApi.d.ts +5 -0
- package/src/PredefinedConfig/AdaptableState.d.ts +4 -2
- package/src/PredefinedConfig/CellAddress.d.ts +13 -0
- package/src/PredefinedConfig/CellAddress.js +5 -0
- package/src/PredefinedConfig/CommentState.d.ts +48 -0
- package/src/PredefinedConfig/CommentState.js +2 -0
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +2 -1
- package/src/PredefinedConfig/Common/Enums.d.ts +0 -1
- package/src/PredefinedConfig/Common/Enums.js +0 -1
- package/src/PredefinedConfig/Common/Schedule.d.ts +1 -1
- package/src/PredefinedConfig/Common/Types.d.ts +5 -5
- package/src/PredefinedConfig/Common/Types.js +0 -2
- package/src/PredefinedConfig/NotesState.d.ts +0 -13
- package/src/PredefinedConfig/PredefinedConfig.d.ts +3 -0
- package/src/PredefinedConfig/ScheduleState.d.ts +0 -5
- package/src/PredefinedConfig/SystemState.d.ts +5 -6
- package/src/PredefinedConfig/ThemeState.d.ts +1 -1
- package/src/Redux/ActionsReducers/CommentsRedux.d.ts +79 -0
- package/src/Redux/ActionsReducers/CommentsRedux.js +189 -0
- package/src/Redux/ActionsReducers/NotesRedux.js +1 -2
- package/src/Redux/ActionsReducers/PluginsRedux.d.ts +0 -48
- package/src/Redux/ActionsReducers/PluginsRedux.js +1 -49
- package/src/Redux/ActionsReducers/PlusMinusRedux.d.ts +16 -0
- package/src/Redux/ActionsReducers/PlusMinusRedux.js +47 -1
- package/src/Redux/ActionsReducers/ScheduleRedux.d.ts +0 -53
- package/src/Redux/ActionsReducers/ScheduleRedux.js +2 -90
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +23 -12
- package/src/Redux/ActionsReducers/SystemRedux.js +55 -23
- package/src/Redux/Store/AdaptableStore.d.ts +2 -2
- package/src/Redux/Store/AdaptableStore.js +107 -46
- package/src/Strategy/CommentsModule.d.ts +16 -0
- package/src/Strategy/CommentsModule.js +82 -0
- package/src/Strategy/LayoutModule.d.ts +12 -4
- package/src/Strategy/LayoutModule.js +19 -14
- package/src/Strategy/NotesModule.d.ts +0 -13
- package/src/Strategy/NotesModule.js +9 -88
- package/src/Strategy/PlusMinusModule.js +2 -0
- package/src/Strategy/ScheduleModule.js +0 -23
- package/src/Strategy/Utilities/Export/getExportRowsViewItems.d.ts +2 -1
- package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +14 -5
- package/src/Strategy/Utilities/getExpressionViewItems.js +8 -2
- package/src/Utilities/Constants/ConfigConstants.d.ts +1 -0
- package/src/Utilities/Constants/ConfigConstants.js +2 -1
- package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
- package/src/Utilities/Constants/GeneralConstants.js +8 -3
- package/src/Utilities/Constants/ModuleConstants.d.ts +3 -3
- package/src/Utilities/Constants/ModuleConstants.js +4 -4
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +3 -3
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +1 -0
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +7 -1
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +6 -0
- package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +1 -0
- package/src/Utilities/ExpressionFunctions/dateUtils.js +18 -1
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +12 -12
- package/src/Utilities/Extensions/ArrayExtensions.d.ts +2 -0
- package/src/Utilities/Extensions/ArrayExtensions.js +8 -1
- package/src/Utilities/Helpers/PreviewHelper.js +5 -2
- package/src/Utilities/ObjectFactory.d.ts +19 -22
- package/src/Utilities/ObjectFactory.js +51 -60
- package/src/Utilities/Services/CellPopupService.d.ts +23 -0
- package/src/Utilities/Services/CellPopupService.js +138 -0
- package/src/Utilities/Services/Interface/IReportService.d.ts +1 -1
- package/src/Utilities/Services/Interface/IThemeService.d.ts +8 -0
- package/src/Utilities/Services/ModuleService.js +1 -3
- package/src/Utilities/Services/ReportService.d.ts +1 -1
- package/src/Utilities/Services/ThemeService.d.ts +3 -0
- package/src/Utilities/Services/ThemeService.js +33 -1
- package/src/Utilities/Services/ValidationService.js +11 -11
- package/src/View/AdaptableView.js +3 -3
- package/src/View/AdaptableViewFactory.js +4 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +2 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +1 -1
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -2
- package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +1 -1
- package/src/View/Charting/useChartingElements.js +8 -3
- package/src/View/Comments/CommentsEditor.d.ts +7 -0
- package/src/View/Comments/CommentsEditor.js +100 -0
- package/src/View/Comments/CommentsPopup.d.ts +2 -0
- package/src/View/Comments/CommentsPopup.js +87 -0
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +2 -1
- package/src/View/Components/CellPopup/index.js +1 -1
- package/src/View/Components/FilterForm/FilterForm.js +8 -2
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +1 -3
- package/src/View/Components/FilterForm/QuickFilterForm.js +5 -4
- package/src/View/Components/FilterForm/QuickFilterValues.d.ts +2 -2
- package/src/View/Components/FilterForm/QuickFilterValues.js +4 -3
- package/src/View/Components/Popups/GridCellPopup/GridCellPopup.d.ts +5 -0
- package/src/View/Components/Popups/GridCellPopup/GridCellPopup.js +67 -0
- package/src/View/Components/Popups/GridCellPopup/index.d.ts +1 -0
- package/src/View/Components/Popups/GridCellPopup/index.js +5 -0
- package/src/View/Components/Selectors/ColumnSelector.d.ts +1 -0
- package/src/View/Components/Selectors/ColumnSelector.js +2 -1
- package/src/View/Components/Selectors/PermittedValuesSelector.d.ts +5 -4
- package/src/View/Components/Selectors/PermittedValuesSelector.js +25 -3
- package/src/View/Components/ToolPanel/ToolPanelWrapper.js +1 -4
- package/src/View/Dashboard/ModuleToolbarWrapper.js +1 -1
- package/src/View/Dashboard/PinnedDashboard.js +2 -1
- package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +2 -2
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +3 -1
- package/src/View/GridFilter/GridFilterExpressionEditor.js +1 -1
- package/src/View/GridFilter/GridFilterPopup.js +10 -8
- package/src/View/GridFilter/GridFilterViewPanel.js +14 -11
- package/src/View/GridFilter/NamedQuerySelector.js +1 -1
- package/src/View/GridFilter/useGridFilterExpressionEditor.d.ts +3 -0
- package/src/View/GridFilter/useGridFilterExpressionEditor.js +17 -6
- package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.js +5 -23
- package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +3 -2
- package/src/View/Layout/Wizard/getGridFilterPreview.d.ts +6 -0
- package/src/View/Layout/Wizard/getGridFilterPreview.js +16 -0
- package/src/View/Layout/Wizard/sections/FilterSection.js +1 -1
- package/src/View/Layout/Wizard/sections/GridFilterSection.js +4 -4
- package/src/View/NamedQuery/EditCurrentQueryButton.js +1 -1
- package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +1 -1
- package/src/View/Notes/NoteEditor.d.ts +8 -0
- package/src/View/Notes/NoteEditor.js +33 -0
- package/src/View/Notes/NotesPopup.d.ts +2 -2
- package/src/View/Notes/NotesPopup.js +78 -55
- package/src/View/PlusMinus/MovePlusMinus.d.ts +7 -0
- package/src/View/PlusMinus/MovePlusMinus.js +27 -0
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +0 -9
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +0 -4
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +2 -8
- package/src/View/Schedule/Wizard/ScheduleWizard.js +0 -8
- package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +3 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +1 -2
- package/src/agGrid/Adaptable.d.ts +7 -0
- package/src/agGrid/Adaptable.js +49 -35
- package/src/agGrid/BadgeRenderer.js +9 -5
- package/src/agGrid/agGridHelper.d.ts +2 -1
- package/src/agGrid/agGridHelper.js +15 -3
- package/src/agGrid/agGridMenuHelper.d.ts +2 -0
- package/src/agGrid/agGridMenuHelper.js +73 -25
- package/src/components/Datepicker/index.js +4 -4
- package/src/components/ExpressionEditor/ExpressionPreview.d.ts +7 -0
- package/src/components/ExpressionEditor/ExpressionPreview.js +25 -0
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +2 -2
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.d.ts +6 -0
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +40 -11
- package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +14 -2
- package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.js +1 -0
- package/src/components/ExpressionEditor/QueryBuilder/utils.js +1 -1
- package/src/components/ExpressionEditor/index.js +4 -7
- package/src/components/InputGroup/InputGroup.d.ts +7 -0
- package/src/components/InputGroup/InputGroup.js +12 -0
- package/src/components/InputGroup/index.d.ts +1 -0
- package/src/components/InputGroup/index.js +4 -0
- package/src/components/OverlayTrigger/index.js +7 -2
- package/src/components/Select/Select.d.ts +1 -2
- package/src/components/Select/Select.js +63 -23
- package/src/components/Toastify/index.d.ts +2 -2
- package/src/components/Toastify/index.js +1 -1
- package/src/components/icons/comments.d.ts +3 -0
- package/src/components/icons/comments.js +7 -0
- package/src/components/icons/index.js +3 -1
- package/src/env.d.ts +3 -1
- package/src/env.js +3 -1
- package/src/metamodel/adaptable.metamodel.d.ts +72 -158
- package/src/metamodel/adaptable.metamodel.js +128 -260
- package/src/parser/src/parser.d.ts +2 -0
- package/src/parser/src/parser.js +1880 -705
- package/src/parser/src/predicate/mapQlPredicateToExpression.js +5 -2
- package/src/parser/src/predicate/types.d.ts +1 -1
- package/src/parser/src/types.d.ts +1 -1
- package/src/renderReactRoot.js +15 -0
- package/src/themes/index.js +4 -0
- package/src/types.d.ts +10 -13
- package/themes/dark.css +4 -4
- package/themes/dark.css.map +1 -1
- package/themes/light.css +1 -1
- package/themes/light.css.map +1 -1
- package/tsconfig.cjs.tsbuildinfo +1 -1
- package/src/AdaptableOptions/FinsemblePluginOptions.d.ts +0 -35
- package/src/AdaptableOptions/Glue42PluginOptions.d.ts +0 -25
- package/src/AdaptableOptions/Glue42WebPluginOptions.d.ts +0 -10
- package/src/Api/Events/SelectionChanged.d.ts +0 -16
- package/src/Api/FinsembleApi.d.ts +0 -10
- package/src/Api/Glue42Api.d.ts +0 -75
- package/src/Api/Glue42WebApi.d.ts +0 -10
- package/src/PredefinedConfig/Glue42State.d.ts +0 -46
- package/src/View/Notes/NotesListing.d.ts +0 -2
- package/src/View/Notes/NotesListing.js +0 -88
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.d.ts +0 -9
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +0 -25
- package/src/bundle-dependencies/bundles/react-toastify/components/CloseButton.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-toastify/components/Icons.d.ts +0 -24
- package/src/bundle-dependencies/bundles/react-toastify/components/ProgressBar.d.ts +0 -59
- package/src/bundle-dependencies/bundles/react-toastify/components/Toast.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-toastify/components/ToastContainer.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-toastify/components/Transitions.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-toastify/components/index.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-toastify/core/eventManager.d.ts +0 -39
- package/src/bundle-dependencies/bundles/react-toastify/core/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-toastify/core/toast.d.ts +0 -41
- package/src/bundle-dependencies/bundles/react-toastify/hooks/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-toastify/hooks/useToast.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-toastify/hooks/useToastContainer.d.ts +0 -23
- package/src/bundle-dependencies/bundles/react-toastify/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/index.js +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/inject-style.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-toastify/types/index.d.ts +0 -269
- package/src/bundle-dependencies/bundles/react-toastify/utils/collapseToast.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/utils/constant.d.ts +0 -23
- package/src/bundle-dependencies/bundles/react-toastify/utils/cssTransition.d.ts +0 -43
- package/src/bundle-dependencies/bundles/react-toastify/utils/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/utils/mapper.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-toastify/utils/propValidator.d.ts +0 -9
- /package/src/AdaptableOptions/{FinsemblePluginOptions.js → CommentsOptions.js} +0 -0
- /package/src/AdaptableOptions/{Glue42PluginOptions.js → InteropioPluginOptions.js} +0 -0
- /package/src/{AdaptableOptions/Glue42WebPluginOptions.js → Api/CommentApi.js} +0 -0
- /package/src/Api/Events/{SelectionChanged.js → CalculatedColumnChanged.js} +0 -0
- /package/src/Api/{FinsembleApi.js → Events/CellSelectionChanged.js} +0 -0
- /package/src/Api/{Glue42Api.js → Events/CommentsChangedInfo.js} +0 -0
- /package/src/Api/{Glue42WebApi.js → Events/RowSelectionChanged.js} +0 -0
- /package/src/Api/Internal/{ExpressionnternalApi.d.ts → ExpressionInternalApi.d.ts} +0 -0
- /package/src/Api/Internal/{ExpressionnternalApi.js → ExpressionInternalApi.js} +0 -0
- /package/src/Api/{NotesAPi.js → InteropioPluginApi.js} +0 -0
- /package/src/{PredefinedConfig/Glue42State.js → Api/NotesApi.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PlusMinusReducer = exports.PlusMinusReady = exports.PlusMinusNudgeUnSuspendAll = exports.PlusMinusNudgeSuspendAll = exports.PlusMinusNudgeUnSuspend = exports.PlusMinusNudgeSuspend = exports.PlusMinusNudgeDelete = exports.PlusMinusNudgeEdit = exports.PlusMinusNudgeAdd = exports.PlusMinusApply = exports.PLUS_MINUS_READY = exports.PLUS_MINUS_RULE_UNSUSPEND_ALL = exports.PLUS_MINUS_RULE_SUSPEND_ALL = exports.PLUS_MINUS_RULE_UNSUSPEND = exports.PLUS_MINUS_RULE_SUSPEND = exports.PLUS_MINUS_RULE_DELETE = exports.PLUS_MINUS_RULE_EDIT = exports.PLUS_MINUS_RULE_ADD = exports.PLUS_MINUS_APPLY = void 0;
|
|
3
|
+
exports.PlusMinusReducer = exports.PlusMinusReady = exports.PlusMinusMoveDown = exports.PlusMinusMoveUp = exports.PlusMinusNudgeUnSuspendAll = exports.PlusMinusNudgeSuspendAll = exports.PlusMinusNudgeUnSuspend = exports.PlusMinusNudgeSuspend = exports.PlusMinusNudgeDelete = exports.PlusMinusNudgeEdit = exports.PlusMinusNudgeAdd = exports.PlusMinusApply = exports.PLUS_MINUS_READY = exports.PLUS_MINUS_RULE_MOVE_DOWN = exports.PLUS_MINUS_RULE_MOVE_UP = exports.PLUS_MINUS_RULE_UNSUSPEND_ALL = exports.PLUS_MINUS_RULE_SUSPEND_ALL = exports.PLUS_MINUS_RULE_UNSUSPEND = exports.PLUS_MINUS_RULE_SUSPEND = exports.PLUS_MINUS_RULE_DELETE = exports.PLUS_MINUS_RULE_EDIT = exports.PLUS_MINUS_RULE_ADD = exports.PLUS_MINUS_APPLY = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
6
6
|
const AdaptableHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/AdaptableHelper"));
|
|
@@ -37,6 +37,14 @@ exports.PLUS_MINUS_RULE_SUSPEND_ALL = 'PLUS_MINUS_RULE_SUSPEND_ALL';
|
|
|
37
37
|
* @ReduxAction All Plus Minus Rules have been unsuspended
|
|
38
38
|
*/
|
|
39
39
|
exports.PLUS_MINUS_RULE_UNSUSPEND_ALL = 'PLUS_MINUS_RULE_UNSUSPEND_ALL';
|
|
40
|
+
/**
|
|
41
|
+
* @ReduxAction A Plus Minus Rule has been moved up
|
|
42
|
+
*/
|
|
43
|
+
exports.PLUS_MINUS_RULE_MOVE_UP = 'PLUS_MINUS_RULE_MOVE_UP';
|
|
44
|
+
/**
|
|
45
|
+
* @ReduxAction A Plus Minus Rule has been moved down
|
|
46
|
+
*/
|
|
47
|
+
exports.PLUS_MINUS_RULE_MOVE_DOWN = 'PLUS_MINUS_RULE_MOVE_DOWN';
|
|
40
48
|
/**
|
|
41
49
|
* @ReduxAction PlusMinus Module is ready
|
|
42
50
|
*/
|
|
@@ -79,6 +87,16 @@ const PlusMinusNudgeUnSuspendAll = () => ({
|
|
|
79
87
|
type: exports.PLUS_MINUS_RULE_UNSUSPEND_ALL,
|
|
80
88
|
});
|
|
81
89
|
exports.PlusMinusNudgeUnSuspendAll = PlusMinusNudgeUnSuspendAll;
|
|
90
|
+
const PlusMinusMoveUp = (plusMinusNudge) => ({
|
|
91
|
+
type: exports.PLUS_MINUS_RULE_MOVE_UP,
|
|
92
|
+
plusMinusNudge,
|
|
93
|
+
});
|
|
94
|
+
exports.PlusMinusMoveUp = PlusMinusMoveUp;
|
|
95
|
+
const PlusMinusMoveDown = (plusMinusNudge) => ({
|
|
96
|
+
type: exports.PLUS_MINUS_RULE_MOVE_DOWN,
|
|
97
|
+
plusMinusNudge,
|
|
98
|
+
});
|
|
99
|
+
exports.PlusMinusMoveDown = PlusMinusMoveDown;
|
|
82
100
|
const PlusMinusReady = (plusMinusState) => ({
|
|
83
101
|
type: exports.PLUS_MINUS_READY,
|
|
84
102
|
plusMinusState,
|
|
@@ -88,6 +106,7 @@ const initialState = {
|
|
|
88
106
|
PlusMinusNudges: GeneralConstants_1.EMPTY_ARRAY,
|
|
89
107
|
};
|
|
90
108
|
const PlusMinusReducer = (state = initialState, action) => {
|
|
109
|
+
var _a, _b;
|
|
91
110
|
let plusMinusNudges;
|
|
92
111
|
switch (action.type) {
|
|
93
112
|
case exports.PLUS_MINUS_APPLY:
|
|
@@ -120,6 +139,33 @@ const PlusMinusReducer = (state = initialState, action) => {
|
|
|
120
139
|
case exports.PLUS_MINUS_RULE_UNSUSPEND: {
|
|
121
140
|
return Object.assign(Object.assign({}, state), { PlusMinusNudges: (0, utils_1.changeIsSuspendInList)(action.plusMinusNudge, state.PlusMinusNudges, false) });
|
|
122
141
|
}
|
|
142
|
+
case exports.PLUS_MINUS_RULE_MOVE_UP: {
|
|
143
|
+
const actionPlusMinusNudge = action.plusMinusNudge;
|
|
144
|
+
const plusMinusNudges = [...((_a = state.PlusMinusNudges) !== null && _a !== void 0 ? _a : [])];
|
|
145
|
+
const index = plusMinusNudges.findIndex((plusMinus) => plusMinus.Uuid === actionPlusMinusNudge.Uuid);
|
|
146
|
+
let swapIndex = index - 1;
|
|
147
|
+
if (swapIndex < 0) {
|
|
148
|
+
swapIndex = plusMinusNudges.length - 1;
|
|
149
|
+
}
|
|
150
|
+
const temp = plusMinusNudges[index];
|
|
151
|
+
plusMinusNudges[index] = plusMinusNudges[swapIndex];
|
|
152
|
+
plusMinusNudges[swapIndex] = temp;
|
|
153
|
+
return Object.assign(Object.assign({}, state), { PlusMinusNudges: plusMinusNudges });
|
|
154
|
+
}
|
|
155
|
+
case exports.PLUS_MINUS_RULE_MOVE_DOWN: {
|
|
156
|
+
const actionPlusMinusNudge = action
|
|
157
|
+
.plusMinusNudge;
|
|
158
|
+
const plusMinusNudges = [...((_b = state.PlusMinusNudges) !== null && _b !== void 0 ? _b : [])];
|
|
159
|
+
const index = plusMinusNudges.findIndex((plusMinus) => plusMinus.Uuid === actionPlusMinusNudge.Uuid);
|
|
160
|
+
let swapIndex = index + 1;
|
|
161
|
+
if (swapIndex >= plusMinusNudges.length) {
|
|
162
|
+
swapIndex = 0;
|
|
163
|
+
}
|
|
164
|
+
const temp = plusMinusNudges[index];
|
|
165
|
+
plusMinusNudges[index] = plusMinusNudges[swapIndex];
|
|
166
|
+
plusMinusNudges[swapIndex] = temp;
|
|
167
|
+
return Object.assign(Object.assign({}, state), { PlusMinusNudges: plusMinusNudges });
|
|
168
|
+
}
|
|
123
169
|
default:
|
|
124
170
|
return state;
|
|
125
171
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as Redux from 'redux';
|
|
2
2
|
import { ScheduleState } from '../../PredefinedConfig/ScheduleState';
|
|
3
3
|
import { ReminderSchedule, ReportSchedule } from '../../types';
|
|
4
|
-
import { Glue42Schedule } from '../../PredefinedConfig/Glue42State';
|
|
5
4
|
import { IPushPullSchedule } from '../../PredefinedConfig/IPushPullState';
|
|
6
5
|
import { OpenFinSchedule } from '../../PredefinedConfig/OpenFinState';
|
|
7
6
|
import { BaseSchedule } from '../../PredefinedConfig/Common/Schedule';
|
|
@@ -94,34 +93,6 @@ export declare const IPUSHPULL_SCHEDULE_SUSPEND_ALL = "IPUSHPULL_SCHEDULE_SUSPEN
|
|
|
94
93
|
* @ReduxAction All ipushpull Schedules have been unsuspended or activated
|
|
95
94
|
*/
|
|
96
95
|
export declare const IPUSHPULL_SCHEDULE_UNSUSPEND_ALL = "IPUSHPULL_SCHEDULE_UNSUSPEND_ALL";
|
|
97
|
-
/**
|
|
98
|
-
* @ReduxAction A Glue42 Schedule has been added
|
|
99
|
-
*/
|
|
100
|
-
export declare const GLUE42_SCHEDULE_ADD = "GLUE42_SCHEDULE_ADD";
|
|
101
|
-
/**
|
|
102
|
-
* @ReduxAction A Glue42 Schedule has been edited
|
|
103
|
-
*/
|
|
104
|
-
export declare const GLUE42_SCHEDULE_EDIT = "GLUE42_SCHEDULE_EDIT";
|
|
105
|
-
/**
|
|
106
|
-
* @ReduxAction A Glue42 Schedule has been deleted
|
|
107
|
-
*/
|
|
108
|
-
export declare const GLUE42_SCHEDULE_DELETE = "GLUE42_SCHEDULE_DELETE";
|
|
109
|
-
/**
|
|
110
|
-
* @ReduxAction A Glue42 Schedule has been suspended
|
|
111
|
-
*/
|
|
112
|
-
export declare const GLUE42_SCHEDULE_SUSPEND = "GLUE42_SCHEDULE_SUSPEND";
|
|
113
|
-
/**
|
|
114
|
-
* @ReduxAction A Glue42 Schedule has been unsuspended or activated
|
|
115
|
-
*/
|
|
116
|
-
export declare const GLUE42_SCHEDULE_UNSUSPEND = "GLUE42_SCHEDULE_UNSUSPEND";
|
|
117
|
-
/**
|
|
118
|
-
* @ReduxAction All Glue42 Schedules have been suspended
|
|
119
|
-
*/
|
|
120
|
-
export declare const GLUE42_SCHEDULE_SUSPEND_ALL = "GLUE42_SCHEDULE_SUSPEND_ALL";
|
|
121
|
-
/**
|
|
122
|
-
* @ReduxAction All Glue42 Schedules have been unsuspended or activated
|
|
123
|
-
*/
|
|
124
|
-
export declare const GLUE42_SCHEDULE_UNSUSPEND_ALL = "GLUE42_SCHEDULE_UNSUSPEND_ALL";
|
|
125
96
|
/**
|
|
126
97
|
* @ReduxAction An OpenFin Schedule has been added
|
|
127
98
|
*/
|
|
@@ -163,30 +134,6 @@ export interface ScheduleReadyAction extends Redux.Action {
|
|
|
163
134
|
}
|
|
164
135
|
export declare const ScheduleJobRun: (schedule: BaseSchedule, scheduleType: ScheduleType) => ScheduleJobRunAction;
|
|
165
136
|
export declare const ScheduleReady: (scheduleState: ScheduleState) => ScheduleReadyAction;
|
|
166
|
-
export interface Glue42ScheduleAction extends Redux.Action {
|
|
167
|
-
glue42Schedule: Glue42Schedule;
|
|
168
|
-
}
|
|
169
|
-
export interface Glue42ScheduleAddAction extends Glue42ScheduleAction {
|
|
170
|
-
}
|
|
171
|
-
export interface Glue42ScheduleEditAction extends Glue42ScheduleAction {
|
|
172
|
-
}
|
|
173
|
-
export interface Glue42ScheduleDeleteAction extends Glue42ScheduleAction {
|
|
174
|
-
}
|
|
175
|
-
export interface Glue42ScheduleSuspendAction extends Glue42ScheduleAction {
|
|
176
|
-
}
|
|
177
|
-
export interface Glue42ScheduleUnSuspendAction extends Glue42ScheduleAction {
|
|
178
|
-
}
|
|
179
|
-
export interface Glue42ScheduleSuspendAllAction extends Redux.Action {
|
|
180
|
-
}
|
|
181
|
-
export interface Glue42ScheduleUnSuspendAllAction extends Redux.Action {
|
|
182
|
-
}
|
|
183
|
-
export declare const Glue42ScheduleAdd: (glue42Schedule: Glue42Schedule) => Glue42ScheduleAddAction;
|
|
184
|
-
export declare const Glue42ScheduleEdit: (glue42Schedule: Glue42Schedule) => Glue42ScheduleEditAction;
|
|
185
|
-
export declare const Glue42ScheduleDelete: (glue42Schedule: Glue42Schedule) => Glue42ScheduleDeleteAction;
|
|
186
|
-
export declare const Glue42ScheduleSuspend: (glue42Schedule: Glue42Schedule) => Glue42ScheduleSuspendAction;
|
|
187
|
-
export declare const Glue42ScheduleUnSuspend: (glue42Schedule: Glue42Schedule) => Glue42ScheduleUnSuspendAction;
|
|
188
|
-
export declare const Glue42ScheduleSuspendAll: () => Glue42ScheduleSuspendAllAction;
|
|
189
|
-
export declare const Glue42ScheduleUnSuspendAll: () => Glue42ScheduleUnSuspendAllAction;
|
|
190
137
|
export interface OpenFinScheduleAction extends Redux.Action {
|
|
191
138
|
openFinSchedule: OpenFinSchedule;
|
|
192
139
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.ScheduleReducer = exports.IPushPullScheduleUnSuspendAll = exports.IPushPullScheduleSuspendAll = exports.IPushPullScheduleUnSuspend = exports.IPushPullScheduleSuspend = exports.IPushPullScheduleDelete = exports.IPushPullScheduleEdit = exports.IPushPullScheduleAdd = exports.ReminderScheduleUnSuspendAll = exports.ReminderScheduleSuspendAll = exports.ReminderScheduleUnSuspend =
|
|
3
|
+
exports.ReminderScheduleSuspend = exports.ReminderScheduleDelete = exports.ReminderScheduleEdit = exports.ReminderScheduleAdd = exports.ReportScheduleUnSuspendAll = exports.ReportScheduleSuspendAll = exports.ReportScheduleUnSuspend = exports.ReportScheduleSuspend = exports.ReportScheduleDelete = exports.ReportScheduleEdit = exports.ReportScheduleAdd = exports.OpenFinScheduleUnSuspendAll = exports.OpenFinScheduleSuspendAll = exports.OpenFinScheduleUnSuspend = exports.OpenFinScheduleSuspend = exports.OpenFinScheduleDelete = exports.OpenFinScheduleEdit = exports.OpenFinScheduleAdd = exports.ScheduleReady = exports.ScheduleJobRun = exports.SCHEDULE_READY = exports.OPENFIN_SCHEDULE_UNSUSPEND_ALL = exports.OPENFIN_SCHEDULE_SUSPEND_ALL = exports.OPENFIN_SCHEDULE_UNSUSPEND = exports.OPENFIN_SCHEDULE_SUSPEND = exports.OPENFIN_SCHEDULE_DELETE = exports.OPENFIN_SCHEDULE_EDIT = exports.OPENFIN_SCHEDULE_ADD = exports.IPUSHPULL_SCHEDULE_UNSUSPEND_ALL = exports.IPUSHPULL_SCHEDULE_SUSPEND_ALL = exports.IPUSHPULL_SCHEDULE_UNSUSPEND = exports.IPUSHPULL_SCHEDULE_SUSPEND = exports.IPUSHPULL_SCHEDULE_DELETE = exports.IPUSHPULL_SCHEDULE_EDIT = exports.IPUSHPULL_SCHEDULE_ADD = exports.REMINDER_SCHEDULE_UNSUSPEND_ALL = exports.REMINDER_SCHEDULE_SUSPEND_ALL = exports.REMINDER_SCHEDULE_UNSUSPEND = exports.REMINDER_SCHEDULE_SUSPEND = exports.REMINDER_SCHEDULE_DELETE = exports.REMINDER_SCHEDULE_EDIT = exports.REMINDER_SCHEDULE_ADD = exports.REPORT_SCHEDULE_UNSUSPEND_ALL = exports.REPORT_SCHEDULE_SUSPEND_ALL = exports.REPORT_SCHEDULE_UNSUSPEND = exports.REPORT_SCHEDULE_SUSPEND = exports.REPORT_SCHEDULE_DELETE = exports.REPORT_SCHEDULE_EDIT = exports.REPORT_SCHEDULE_ADD = exports.SCHEDULE_JOB_RUN = void 0;
|
|
4
|
+
exports.ScheduleReducer = exports.IPushPullScheduleUnSuspendAll = exports.IPushPullScheduleSuspendAll = exports.IPushPullScheduleUnSuspend = exports.IPushPullScheduleSuspend = exports.IPushPullScheduleDelete = exports.IPushPullScheduleEdit = exports.IPushPullScheduleAdd = exports.ReminderScheduleUnSuspendAll = exports.ReminderScheduleSuspendAll = exports.ReminderScheduleUnSuspend = void 0;
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
6
|
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
7
7
|
const AdaptableHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/AdaptableHelper"));
|
|
@@ -94,34 +94,6 @@ exports.IPUSHPULL_SCHEDULE_SUSPEND_ALL = 'IPUSHPULL_SCHEDULE_SUSPEND_ALL';
|
|
|
94
94
|
* @ReduxAction All ipushpull Schedules have been unsuspended or activated
|
|
95
95
|
*/
|
|
96
96
|
exports.IPUSHPULL_SCHEDULE_UNSUSPEND_ALL = 'IPUSHPULL_SCHEDULE_UNSUSPEND_ALL';
|
|
97
|
-
/**
|
|
98
|
-
* @ReduxAction A Glue42 Schedule has been added
|
|
99
|
-
*/
|
|
100
|
-
exports.GLUE42_SCHEDULE_ADD = 'GLUE42_SCHEDULE_ADD';
|
|
101
|
-
/**
|
|
102
|
-
* @ReduxAction A Glue42 Schedule has been edited
|
|
103
|
-
*/
|
|
104
|
-
exports.GLUE42_SCHEDULE_EDIT = 'GLUE42_SCHEDULE_EDIT';
|
|
105
|
-
/**
|
|
106
|
-
* @ReduxAction A Glue42 Schedule has been deleted
|
|
107
|
-
*/
|
|
108
|
-
exports.GLUE42_SCHEDULE_DELETE = 'GLUE42_SCHEDULE_DELETE';
|
|
109
|
-
/**
|
|
110
|
-
* @ReduxAction A Glue42 Schedule has been suspended
|
|
111
|
-
*/
|
|
112
|
-
exports.GLUE42_SCHEDULE_SUSPEND = 'GLUE42_SCHEDULE_SUSPEND';
|
|
113
|
-
/**
|
|
114
|
-
* @ReduxAction A Glue42 Schedule has been unsuspended or activated
|
|
115
|
-
*/
|
|
116
|
-
exports.GLUE42_SCHEDULE_UNSUSPEND = 'GLUE42_SCHEDULE_UNSUSPEND';
|
|
117
|
-
/**
|
|
118
|
-
* @ReduxAction All Glue42 Schedules have been suspended
|
|
119
|
-
*/
|
|
120
|
-
exports.GLUE42_SCHEDULE_SUSPEND_ALL = 'GLUE42_SCHEDULE_SUSPEND_ALL';
|
|
121
|
-
/**
|
|
122
|
-
* @ReduxAction All Glue42 Schedules have been unsuspended or activated
|
|
123
|
-
*/
|
|
124
|
-
exports.GLUE42_SCHEDULE_UNSUSPEND_ALL = 'GLUE42_SCHEDULE_UNSUSPEND_ALL';
|
|
125
97
|
/**
|
|
126
98
|
* @ReduxAction An OpenFin Schedule has been added
|
|
127
99
|
*/
|
|
@@ -165,39 +137,6 @@ const ScheduleReady = (scheduleState) => ({
|
|
|
165
137
|
scheduleState,
|
|
166
138
|
});
|
|
167
139
|
exports.ScheduleReady = ScheduleReady;
|
|
168
|
-
const Glue42ScheduleAdd = (glue42Schedule) => ({
|
|
169
|
-
type: exports.GLUE42_SCHEDULE_ADD,
|
|
170
|
-
glue42Schedule,
|
|
171
|
-
});
|
|
172
|
-
exports.Glue42ScheduleAdd = Glue42ScheduleAdd;
|
|
173
|
-
const Glue42ScheduleEdit = (glue42Schedule) => ({
|
|
174
|
-
type: exports.GLUE42_SCHEDULE_EDIT,
|
|
175
|
-
glue42Schedule,
|
|
176
|
-
});
|
|
177
|
-
exports.Glue42ScheduleEdit = Glue42ScheduleEdit;
|
|
178
|
-
const Glue42ScheduleDelete = (glue42Schedule) => ({
|
|
179
|
-
type: exports.GLUE42_SCHEDULE_DELETE,
|
|
180
|
-
glue42Schedule,
|
|
181
|
-
});
|
|
182
|
-
exports.Glue42ScheduleDelete = Glue42ScheduleDelete;
|
|
183
|
-
const Glue42ScheduleSuspend = (glue42Schedule) => ({
|
|
184
|
-
type: exports.GLUE42_SCHEDULE_SUSPEND,
|
|
185
|
-
glue42Schedule,
|
|
186
|
-
});
|
|
187
|
-
exports.Glue42ScheduleSuspend = Glue42ScheduleSuspend;
|
|
188
|
-
const Glue42ScheduleUnSuspend = (glue42Schedule) => ({
|
|
189
|
-
type: exports.GLUE42_SCHEDULE_UNSUSPEND,
|
|
190
|
-
glue42Schedule,
|
|
191
|
-
});
|
|
192
|
-
exports.Glue42ScheduleUnSuspend = Glue42ScheduleUnSuspend;
|
|
193
|
-
const Glue42ScheduleSuspendAll = () => ({
|
|
194
|
-
type: exports.GLUE42_SCHEDULE_SUSPEND,
|
|
195
|
-
});
|
|
196
|
-
exports.Glue42ScheduleSuspendAll = Glue42ScheduleSuspendAll;
|
|
197
|
-
const Glue42ScheduleUnSuspendAll = () => ({
|
|
198
|
-
type: exports.GLUE42_SCHEDULE_UNSUSPEND,
|
|
199
|
-
});
|
|
200
|
-
exports.Glue42ScheduleUnSuspendAll = Glue42ScheduleUnSuspendAll;
|
|
201
140
|
const OpenFinScheduleAdd = (openFinSchedule) => ({
|
|
202
141
|
type: exports.OPENFIN_SCHEDULE_ADD,
|
|
203
142
|
openFinSchedule,
|
|
@@ -339,33 +278,6 @@ const initialState = {
|
|
|
339
278
|
};
|
|
340
279
|
const ScheduleReducer = (state = initialState, action) => {
|
|
341
280
|
switch (action.type) {
|
|
342
|
-
case exports.GLUE42_SCHEDULE_ADD: {
|
|
343
|
-
const actionSchedule = action.glue42Schedule;
|
|
344
|
-
AdaptableHelper_1.default.addUuidAndSource(actionSchedule);
|
|
345
|
-
const Glue42Schedules = [].concat(state.Glue42Schedules);
|
|
346
|
-
Glue42Schedules.push(actionSchedule);
|
|
347
|
-
return Object.assign(Object.assign({}, state), { Glue42Schedules: Glue42Schedules });
|
|
348
|
-
}
|
|
349
|
-
case exports.GLUE42_SCHEDULE_EDIT: {
|
|
350
|
-
const actionSchedule = action.glue42Schedule;
|
|
351
|
-
return Object.assign(Object.assign({}, state), { Glue42Schedules: state.Glue42Schedules.map((abObject) => abObject.Uuid === actionSchedule.Uuid ? actionSchedule : abObject) });
|
|
352
|
-
}
|
|
353
|
-
case exports.GLUE42_SCHEDULE_DELETE: {
|
|
354
|
-
const actionSchedule = action.glue42Schedule;
|
|
355
|
-
return Object.assign(Object.assign({}, state), { Glue42Schedules: state.Glue42Schedules.filter((abObject) => abObject.Uuid !== actionSchedule.Uuid) });
|
|
356
|
-
}
|
|
357
|
-
case exports.GLUE42_SCHEDULE_SUSPEND: {
|
|
358
|
-
return Object.assign(Object.assign({}, state), { Glue42Schedules: (0, utils_1.changeIsSuspendInList)(action.glue42Schedule, state.Glue42Schedules, true) });
|
|
359
|
-
}
|
|
360
|
-
case exports.GLUE42_SCHEDULE_UNSUSPEND: {
|
|
361
|
-
return Object.assign(Object.assign({}, state), { Glue42Schedules: (0, utils_1.changeIsSuspendInList)(action.glue42Schedule, state.Glue42Schedules, false) });
|
|
362
|
-
}
|
|
363
|
-
case exports.GLUE42_SCHEDULE_SUSPEND_ALL: {
|
|
364
|
-
return Object.assign(Object.assign({}, state), { Glue42Schedules: (0, utils_1.suspendAllInList)(state.Glue42Schedules) });
|
|
365
|
-
}
|
|
366
|
-
case exports.GLUE42_SCHEDULE_UNSUSPEND_ALL: {
|
|
367
|
-
return Object.assign(Object.assign({}, state), { Glue42Schedules: (0, utils_1.unsuspendAllInList)(state.Glue42Schedules) });
|
|
368
|
-
}
|
|
369
281
|
case exports.OPENFIN_SCHEDULE_ADD: {
|
|
370
282
|
const actionSchedule = action.openFinSchedule;
|
|
371
283
|
AdaptableHelper_1.default.addUuidAndSource(actionSchedule);
|
|
@@ -13,7 +13,7 @@ import { SummaryOperation } from '../../PredefinedConfig/Common/Enums';
|
|
|
13
13
|
import { CellDataChangedInfo } from '../../PredefinedConfig/Common/CellDataChangedInfo';
|
|
14
14
|
import { RowsHighlightInfo } from '../../PredefinedConfig/Common/RowsHighlightInfo';
|
|
15
15
|
import { SmartEditOperation } from '../../AdaptableOptions/EditOptions';
|
|
16
|
-
import { DataSet,
|
|
16
|
+
import { DataImportedInfo, DataSet, CellAddress } from '../../types';
|
|
17
17
|
import { ChartModel } from '@ag-grid-community/core';
|
|
18
18
|
import { CachedQuery } from '../../PredefinedConfig/NamedQueryState';
|
|
19
19
|
export declare const FLASHING_CELL_ROW_KEY = "__ROW";
|
|
@@ -74,8 +74,13 @@ export declare const SYSTEM_SET_PREVIOUS_GROUPED_COLUMN_INDEX = "SYSTEM_SET_PREV
|
|
|
74
74
|
export declare const SYSTEM_SET_QUICK_SEARCH_FLOATING_VISIBILITY = "SYSTEM_SET_QUICK_SEARCH_FLOATING_VISIBILITY";
|
|
75
75
|
export declare const SYSTEM_VISUAL_EXPORT_BEGIN = "SYSTEM_VISUAL_EXPORT_BEGIN";
|
|
76
76
|
export declare const SYSTEM_VISUAL_EXPORT_END = "SYSTEM_VISUAL_EXPORT_END";
|
|
77
|
-
export declare const
|
|
78
|
-
export declare const
|
|
77
|
+
export declare const SYSTEM_CELL_POPUP_SHOW = "SYSTEM_CELL_POPUP_SHOW";
|
|
78
|
+
export declare const SYSTEM_CELL_POPUP_HIDE = "SYSTEM_CELL_POPUP_HIDE";
|
|
79
|
+
export declare const SYSTEM_CELL_POPUP_EDIT_FOCUSED_ENTITY = "SYSTEM_CELL_POPUP_EDIT_FOCUSED_ENTITY";
|
|
80
|
+
export declare const DATA_IMPORT_COMPLETED = "DATA_IMPORT_COMPLETED";
|
|
81
|
+
export interface DataImportCompletedAction extends Redux.Action {
|
|
82
|
+
dataImportedInfo: DataImportedInfo;
|
|
83
|
+
}
|
|
79
84
|
export interface SystemHighlightCellAddAction extends Redux.Action {
|
|
80
85
|
cellHighlightInfo: CellHighlightInfo;
|
|
81
86
|
}
|
|
@@ -138,12 +143,12 @@ export interface SystemSetAvailableFilterValuesAction extends Redux.Action {
|
|
|
138
143
|
}
|
|
139
144
|
export interface ReportStartLiveAction extends Redux.Action {
|
|
140
145
|
report: Report;
|
|
141
|
-
reportDestination: 'OpenfinExcel'
|
|
146
|
+
reportDestination: 'OpenfinExcel';
|
|
142
147
|
pageName: string;
|
|
143
148
|
}
|
|
144
149
|
export interface ReportStopLiveAction extends Redux.Action {
|
|
145
150
|
report: Report;
|
|
146
|
-
reportDestination: 'OpenfinExcel'
|
|
151
|
+
reportDestination: 'OpenfinExcel';
|
|
147
152
|
}
|
|
148
153
|
export interface SmartEditChangeValueAction extends Redux.Action {
|
|
149
154
|
value: number;
|
|
@@ -255,11 +260,14 @@ export interface SystemVisualExportEndAction extends Redux.Action {
|
|
|
255
260
|
export interface SystemQuickSearchFloatingVisibilityAction extends Redux.Action {
|
|
256
261
|
visible: boolean;
|
|
257
262
|
}
|
|
258
|
-
export interface
|
|
259
|
-
cellPosition:
|
|
263
|
+
export interface SystemCellPopupShowAction extends Redux.Action {
|
|
264
|
+
cellPosition: CellAddress;
|
|
260
265
|
editMode?: boolean;
|
|
261
266
|
}
|
|
262
|
-
export interface
|
|
267
|
+
export interface SystemCellPopupEditFocusedEntityAction extends Redux.Action {
|
|
268
|
+
focusedEntity: 'Note' | 'Comment';
|
|
269
|
+
}
|
|
270
|
+
export interface SystemCellPopupHideAction extends Redux.Action {
|
|
263
271
|
}
|
|
264
272
|
export declare const SystemHighlightCellAdd: (cellHighlightInfo: CellHighlightInfo) => SystemHighlightCellAddAction;
|
|
265
273
|
export declare const SystemHighlightCellDelete: (primaryKeyValue: CellHighlightInfo['primaryKeyValue'], columnId: CellHighlightInfo['columnId']) => SystemHighlightCellDeleteAction;
|
|
@@ -318,11 +326,14 @@ export declare const SystemDisableDeleteConfirmation: () => SystemDisableDeleteC
|
|
|
318
326
|
export declare const SystemVisualExportBegin: () => SystemVisualExportBeginAction;
|
|
319
327
|
export declare const SystemVisualExportEnd: () => SystemVisualExportEndAction;
|
|
320
328
|
export declare const SystemQuickSearchFloatingVisibility: (visible: boolean) => SystemQuickSearchFloatingVisibilityAction;
|
|
321
|
-
export declare const
|
|
322
|
-
export declare const
|
|
329
|
+
export declare const SystemCellPopupShow: (cellPosition: CellAddress, editMode?: boolean) => SystemCellPopupShowAction;
|
|
330
|
+
export declare const SystemCellPopupEditFocusedEntity: (focusedEntity: 'Note' | 'Comment') => SystemCellPopupEditFocusedEntityAction;
|
|
331
|
+
export declare const SystemCellPopupHide: () => SystemCellPopupHideAction;
|
|
323
332
|
export declare const SystemDisableDeleteConfirmationSelector: (state: SystemState) => boolean;
|
|
324
333
|
export declare const SystemPreviousGroupedColumnsSelector: (state: SystemState) => Record<string, Record<string, number>>;
|
|
325
334
|
export declare const SystemQuickSearchFloatingVisibilitySelector: (state: SystemState) => boolean;
|
|
326
|
-
export declare const
|
|
327
|
-
export declare const
|
|
335
|
+
export declare const SystemCommentsAndNotesSelector: (state: SystemState) => CellAddress;
|
|
336
|
+
export declare const SystemCommentsAndNotesEditModeSelector: (state: SystemState) => boolean;
|
|
337
|
+
export declare const SystemCommentsAndNotesFocusedEntitySelector: (state: SystemState) => "Note" | "Comment";
|
|
338
|
+
export declare const DataImportCompleted: (dataImportedInfo: DataImportedInfo) => DataImportCompletedAction;
|
|
328
339
|
export declare const SystemReducer: Redux.Reducer<SystemState>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SYSTEM_DISABLE_DELETE_CONFIRMATION = exports.SYSTEM_FILTER_FORM_HIDE = exports.SYSTEM_QUICK_FILTER_BAR_HIDE = exports.SYSTEM_QUICK_FILTER_BAR_SHOW = exports.SYSTEM_SETTINGS_PANEL_SET = exports.SYSTEM_DATA_CHANGE_HISTORY_RESUME = exports.SYSTEM_DATA_CHANGE_HISTORY_SUSPEND = exports.SYSTEM_DATA_CHANGE_HISTORY_DISABLE = exports.SYSTEM_DATA_CHANGE_HISTORY_ENABLE = exports.SYSTEM_DATA_CHANGE_HISTORY_CLEAR_ROW = exports.SYSTEM_DATA_CHANGE_HISTORY_UNDO = exports.SYSTEM_DATA_CHANGE_HISTORY_ADD = exports.SYSTEM_LICENSE_DISABLE_PERSISTENCE = exports.SYSTEM_LICENSE_SHOW_WATERMARK = exports.SYSTEM_PROGRESS_INDICATOR_HIDE = exports.SYSTEM_PROGRESS_INDICATOR_SHOW = exports.SYSTEM_CELL_SUMMARY_CHANGE_OPERATION = exports.SYSTEM_CACHED_QUERY_ADD = exports.SYSTEM_SET_LAST_APPLIED_SHORTCUT = exports.SYSTEM_SET_NEW_COLUMN_LIST_ORDER = exports.SYSTEM_HIGHLIGHT_ROW_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_ROWS_DELETE = exports.SYSTEM_HIGHLIGHT_ROW_DELETE = exports.SYSTEM_HIGHLIGHT_ROWS_ADD = exports.SYSTEM_HIGHLIGHT_ROW_ADD = exports.SYSTEM_HIGHLIGHT_CELL_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_CELL_DELETE = exports.SYSTEM_HIGHLIGHT_CELL_ADD = exports.SYSTEM_BULK_UPDATE_CHANGE_VALUE = exports.SYSTEM_BULK_UPDATE_SET_PREVIEW = exports.SYSTEM_BULK_UPDATE_SET_VALID_SELECTION = exports.SYSTEM_BULK_UPDATE_CHECK_CELL_SELECTION = exports.SYSTEM_SMART_EDIT_CHANGE_OPERATION = exports.SYSTEM_SMART_EDIT_CHANGE_VALUE = exports.SYSTEM_SMARTEDIT_SET_PREVIEW = exports.SYSTEM_SMARTEDIT_SET_VALID_SELECTION = exports.SYSTEM_SMARTEDIT_FETCH_PREVIEW = exports.SYSTEM_SMARTEDIT_CHECK_CELL_SELECTION = exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE_ALL = exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE = exports.SYSTEM_STATUS_MESSAGE_INFO_ADD = exports.SYSTEM_FLASHING_CELL_DELETE_ALL = exports.SYSTEM_FLASHING_CELL_DELETE = exports.SYSTEM_FLASHING_CELL_ADD = exports.SYSTEM_ALERT_REMOVE_ROW_HIGHLIGHT = exports.SYSTEM_ALERT_REMOVE_CELL_HIGHLIGHT = exports.SYSTEM_ALERT_DELETE_ALL = exports.SYSTEM_ALERT_DELETE = exports.SYSTEM_ALERT_ADD = exports.FLASHING_CELL_ROW_KEY = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.SystemReducer = exports.
|
|
4
|
+
exports.SystemDataChangeHistoryUndo = exports.SystemDataChangeHistoryAdd = exports.SystemLicenseDisablePersistence = exports.SystemLicenseShowWatermark = exports.SystemProgressIndicatorHide = exports.SystemProgressIndicatorShow = exports.SystemCellSummaryChangeOperation = exports.SystemCachedQueryAdd = exports.SetLastAppliedShortcut = exports.SetNewColumnListOrder = exports.BulkUpdateChangeValue = exports.BulkUpdateSetPreview = exports.BulkUpdateSetValidSelection = exports.BulkUpdateCheckCellSelection = exports.SmartEditSetPreview = exports.SmartEditSetValidSelection = exports.SmartEditCheckCellSelection = exports.SmartEditChangeOperation = exports.SmartEditChangeValue = exports.SystemStatusMessageInfoDeleteAll = exports.SystemStatusMessageInfoDelete = exports.SystemStatusMessageInfoAdd = exports.SystemFlashingCellDeleteAll = exports.SystemFlashingCellDelete = exports.SystemFlashingCellAdd = exports.SystemAlertRemoveRowHighlight = exports.SystemAlertRemoveCellHighlight = exports.SystemAlertDeleteAll = exports.SystemAlertDelete = exports.SystemAlertAdd = exports.SystemHighlightRowDeleteAll = exports.SystemHighlightRowsDelete = exports.SystemHighlightRowDelete = exports.SystemHighlightRowsAdd = exports.SystemHighlightRowAdd = exports.SystemHighlightCellDeleteAll = exports.SystemHighlightCellDelete = exports.SystemHighlightCellAdd = exports.DATA_IMPORT_COMPLETED = exports.SYSTEM_CELL_POPUP_EDIT_FOCUSED_ENTITY = exports.SYSTEM_CELL_POPUP_HIDE = exports.SYSTEM_CELL_POPUP_SHOW = exports.SYSTEM_VISUAL_EXPORT_END = exports.SYSTEM_VISUAL_EXPORT_BEGIN = exports.SYSTEM_SET_QUICK_SEARCH_FLOATING_VISIBILITY = exports.SYSTEM_SET_PREVIOUS_GROUPED_COLUMN_INDEX = exports.SYSTEM_CHARTING_SET_CURRENT_CHART_MODELS = exports.SYSTEM_DATA_SET_SELECT = exports.DASHBOARD_REFRESH = exports.SYSTEM_LAYOUT_SHOW_NOT_ASSOCIATED_OBJECTS = void 0;
|
|
5
|
+
exports.SystemReducer = exports.DataImportCompleted = exports.SystemCommentsAndNotesFocusedEntitySelector = exports.SystemCommentsAndNotesEditModeSelector = exports.SystemCommentsAndNotesSelector = exports.SystemQuickSearchFloatingVisibilitySelector = exports.SystemPreviousGroupedColumnsSelector = exports.SystemDisableDeleteConfirmationSelector = exports.SystemCellPopupHide = exports.SystemCellPopupEditFocusedEntity = exports.SystemCellPopupShow = exports.SystemQuickSearchFloatingVisibility = exports.SystemVisualExportEnd = exports.SystemVisualExportBegin = exports.SystemDisableDeleteConfirmation = exports.SystemSetPreviousGroupedColumnsIndex = exports.SystemChartingCurrentChartModelsSelector = exports.SystemChartingSetCurrentChartModels = exports.SystemDataSetSelect = exports.SystemDashboardRefresh = exports.SystemLayoutShowNotAssociatedObjects = exports.SystemFilterFormHide = exports.SystemQuickFilterBarHide = exports.SystemQuickFilterBarShow = exports.SystemSettingsPanelSet = exports.SystemDataChangeHistoryResume = exports.SystemDataChangeHistorySuspend = exports.SystemDataChangeHistoryDisable = exports.SystemDataChangeHistoryEnable = exports.SystemDataChangeHistoryClearRow = void 0;
|
|
6
6
|
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
7
7
|
const Enums_1 = require("../../PredefinedConfig/Common/Enums");
|
|
8
8
|
const Helper_1 = require("../../Utilities/Helpers/Helper");
|
|
9
|
+
const CellPopupService_1 = require("../../Utilities/Services/CellPopupService");
|
|
9
10
|
/*
|
|
10
11
|
Bit of a mixed bag of actions but essentially its those that are related to Strategies but where we DONT want to persist state
|
|
11
12
|
This allows us to keep the other reducers pure in terms of everything persists
|
|
@@ -92,8 +93,11 @@ exports.SYSTEM_SET_QUICK_SEARCH_FLOATING_VISIBILITY = 'SYSTEM_SET_QUICK_SEARCH_F
|
|
|
92
93
|
exports.SYSTEM_VISUAL_EXPORT_BEGIN = 'SYSTEM_VISUAL_EXPORT_BEGIN';
|
|
93
94
|
exports.SYSTEM_VISUAL_EXPORT_END = 'SYSTEM_VISUAL_EXPORT_END';
|
|
94
95
|
// Notes
|
|
95
|
-
exports.
|
|
96
|
-
exports.
|
|
96
|
+
exports.SYSTEM_CELL_POPUP_SHOW = 'SYSTEM_CELL_POPUP_SHOW';
|
|
97
|
+
exports.SYSTEM_CELL_POPUP_HIDE = 'SYSTEM_CELL_POPUP_HIDE';
|
|
98
|
+
exports.SYSTEM_CELL_POPUP_EDIT_FOCUSED_ENTITY = 'SYSTEM_CELL_POPUP_EDIT_FOCUSED_ENTITY';
|
|
99
|
+
// Data Import
|
|
100
|
+
exports.DATA_IMPORT_COMPLETED = 'DATA_IMPORT_COMPLETED';
|
|
97
101
|
const SystemHighlightCellAdd = (cellHighlightInfo) => ({
|
|
98
102
|
type: exports.SYSTEM_HIGHLIGHT_CELL_ADD,
|
|
99
103
|
cellHighlightInfo: cellHighlightInfo,
|
|
@@ -365,16 +369,21 @@ const SystemQuickSearchFloatingVisibility = (visible) => ({
|
|
|
365
369
|
visible,
|
|
366
370
|
});
|
|
367
371
|
exports.SystemQuickSearchFloatingVisibility = SystemQuickSearchFloatingVisibility;
|
|
368
|
-
const
|
|
369
|
-
type: exports.
|
|
372
|
+
const SystemCellPopupShow = (cellPosition, editMode) => ({
|
|
373
|
+
type: exports.SYSTEM_CELL_POPUP_SHOW,
|
|
370
374
|
editMode,
|
|
371
375
|
cellPosition,
|
|
372
376
|
});
|
|
373
|
-
exports.
|
|
374
|
-
const
|
|
375
|
-
type: exports.
|
|
377
|
+
exports.SystemCellPopupShow = SystemCellPopupShow;
|
|
378
|
+
const SystemCellPopupEditFocusedEntity = (focusedEntity) => ({
|
|
379
|
+
type: exports.SYSTEM_CELL_POPUP_EDIT_FOCUSED_ENTITY,
|
|
380
|
+
focusedEntity,
|
|
376
381
|
});
|
|
377
|
-
exports.
|
|
382
|
+
exports.SystemCellPopupEditFocusedEntity = SystemCellPopupEditFocusedEntity;
|
|
383
|
+
const SystemCellPopupHide = () => ({
|
|
384
|
+
type: exports.SYSTEM_CELL_POPUP_HIDE,
|
|
385
|
+
});
|
|
386
|
+
exports.SystemCellPopupHide = SystemCellPopupHide;
|
|
378
387
|
const SystemDisableDeleteConfirmationSelector = (state) => {
|
|
379
388
|
return state.DisableDeleteConfirmation;
|
|
380
389
|
};
|
|
@@ -388,16 +397,26 @@ const SystemQuickSearchFloatingVisibilitySelector = (state) => {
|
|
|
388
397
|
return (_a = state === null || state === void 0 ? void 0 : state.QuickSearch) === null || _a === void 0 ? void 0 : _a.floatingVisible;
|
|
389
398
|
};
|
|
390
399
|
exports.SystemQuickSearchFloatingVisibilitySelector = SystemQuickSearchFloatingVisibilitySelector;
|
|
391
|
-
const
|
|
400
|
+
const SystemCommentsAndNotesSelector = (state) => {
|
|
401
|
+
var _a;
|
|
402
|
+
return (_a = state === null || state === void 0 ? void 0 : state.NotesAndComments) === null || _a === void 0 ? void 0 : _a.popupPosition;
|
|
403
|
+
};
|
|
404
|
+
exports.SystemCommentsAndNotesSelector = SystemCommentsAndNotesSelector;
|
|
405
|
+
const SystemCommentsAndNotesEditModeSelector = (state) => {
|
|
392
406
|
var _a;
|
|
393
|
-
return (_a = state === null || state === void 0 ? void 0 : state.
|
|
407
|
+
return (_a = state === null || state === void 0 ? void 0 : state.NotesAndComments) === null || _a === void 0 ? void 0 : _a.editMode;
|
|
394
408
|
};
|
|
395
|
-
exports.
|
|
396
|
-
const
|
|
409
|
+
exports.SystemCommentsAndNotesEditModeSelector = SystemCommentsAndNotesEditModeSelector;
|
|
410
|
+
const SystemCommentsAndNotesFocusedEntitySelector = (state) => {
|
|
397
411
|
var _a;
|
|
398
|
-
return (_a = state === null || state === void 0 ? void 0 : state.
|
|
412
|
+
return (_a = state === null || state === void 0 ? void 0 : state.NotesAndComments) === null || _a === void 0 ? void 0 : _a.focusedEntity;
|
|
399
413
|
};
|
|
400
|
-
exports.
|
|
414
|
+
exports.SystemCommentsAndNotesFocusedEntitySelector = SystemCommentsAndNotesFocusedEntitySelector;
|
|
415
|
+
const DataImportCompleted = (dataImportedInfo) => ({
|
|
416
|
+
type: exports.DATA_IMPORT_COMPLETED,
|
|
417
|
+
dataImportedInfo: dataImportedInfo,
|
|
418
|
+
});
|
|
419
|
+
exports.DataImportCompleted = DataImportCompleted;
|
|
401
420
|
const initialState = {
|
|
402
421
|
AdaptableAlerts: GeneralConstants_1.EMPTY_ARRAY,
|
|
403
422
|
AdaptableFlashingCells: {},
|
|
@@ -446,6 +465,7 @@ const initialState = {
|
|
|
446
465
|
},
|
|
447
466
|
};
|
|
448
467
|
const SystemReducer = (state = initialState, action) => {
|
|
468
|
+
var _a;
|
|
449
469
|
let alerts;
|
|
450
470
|
let systemStatusMessages;
|
|
451
471
|
switch (action.type) {
|
|
@@ -786,15 +806,27 @@ const SystemReducer = (state = initialState, action) => {
|
|
|
786
806
|
const typedAction = action;
|
|
787
807
|
return Object.assign(Object.assign({}, state), { QuickSearch: Object.assign(Object.assign({}, state.QuickSearch), { floatingVisible: typedAction.visible }) });
|
|
788
808
|
}
|
|
789
|
-
case exports.
|
|
809
|
+
case exports.SYSTEM_CELL_POPUP_SHOW: {
|
|
790
810
|
const typedAction = action;
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
811
|
+
// reuse address refrence if we are editing the same cell
|
|
812
|
+
let newAddress = typedAction === null || typedAction === void 0 ? void 0 : typedAction.cellPosition;
|
|
813
|
+
const oldAddress = (_a = state === null || state === void 0 ? void 0 : state.NotesAndComments) === null || _a === void 0 ? void 0 : _a.popupPosition;
|
|
814
|
+
if (CellPopupService_1.CellPopupService.isSameAddress(oldAddress, typedAction.cellPosition)) {
|
|
815
|
+
newAddress = oldAddress;
|
|
816
|
+
// if edit mode is the same, just exist
|
|
817
|
+
if (typedAction.editMode === state.NotesAndComments.editMode) {
|
|
818
|
+
return state;
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
return Object.assign(Object.assign({}, state), { NotesAndComments: Object.assign(Object.assign({}, state.NotesAndComments), { editMode: typedAction.editMode, popupPosition: newAddress }) });
|
|
822
|
+
}
|
|
823
|
+
case exports.SYSTEM_CELL_POPUP_EDIT_FOCUSED_ENTITY: {
|
|
824
|
+
const typedAction = action;
|
|
825
|
+
return Object.assign(Object.assign({}, state), { NotesAndComments: Object.assign(Object.assign({}, state.NotesAndComments), { focusedEntity: typedAction.focusedEntity }) });
|
|
795
826
|
}
|
|
796
|
-
case exports.
|
|
797
|
-
return Object.assign(Object.assign({}, state), {
|
|
827
|
+
case exports.SYSTEM_CELL_POPUP_HIDE: {
|
|
828
|
+
return Object.assign(Object.assign({}, state), { NotesAndComments: {
|
|
829
|
+
editMode: false,
|
|
798
830
|
popupPosition: null,
|
|
799
831
|
} });
|
|
800
832
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as Redux from 'redux';
|
|
2
2
|
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
3
|
-
import { IAdaptableStore } from './Interface/IAdaptableStore';
|
|
4
|
-
import { ConfigState } from '../../PredefinedConfig/ConfigState';
|
|
5
3
|
import { AdaptableState } from '../../PredefinedConfig/AdaptableState';
|
|
4
|
+
import { ConfigState } from '../../PredefinedConfig/ConfigState';
|
|
6
5
|
import { PredefinedConfig } from '../../PredefinedConfig/PredefinedConfig';
|
|
6
|
+
import { IAdaptableStore } from './Interface/IAdaptableStore';
|
|
7
7
|
type EmitterCallback = (data?: any) => any;
|
|
8
8
|
type EmitterAnyCallback = (eventName: string, data?: any) => any;
|
|
9
9
|
export declare const INIT_STATE = "INIT_STATE";
|