@adaptabletools/adaptable 11.0.0-canary.7 → 11.0.2-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/README.md +4 -4
- package/base.css +1 -2
- package/bundle.cjs.js +75 -75
- package/index.css +1 -2
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +3 -2
- package/src/AdaptableOptions/AdaptableQLOptions.d.ts +3 -0
- package/src/AdaptableOptions/FilterOptions.d.ts +4 -0
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +7 -6
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +2 -2
- package/src/Api/GridApi.d.ts +1 -2
- package/src/Api/Implementation/AlertApiImpl.js +1 -2
- package/src/Api/Implementation/ColumnApiImpl.js +1 -1
- package/src/Api/Implementation/GridApiImpl.js +14 -17
- package/src/Api/Implementation/SettingsPanelApiImpl.js +1 -1
- package/src/Api/Implementation/ToolPanelApiImpl.js +1 -1
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +3 -0
- package/src/PredefinedConfig/Common/Types.d.ts +4 -1
- package/src/PredefinedConfig/ConditionalStyleState.d.ts +2 -2
- package/src/PredefinedConfig/FormatColumnState.d.ts +15 -0
- package/src/PredefinedConfig/PlusMinusState.d.ts +1 -1
- package/src/PredefinedConfig/ToolPanelState.d.ts +3 -0
- package/src/Redux/ActionsReducers/AlertRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/AlertRedux.js +4 -4
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +4 -4
- package/src/Redux/ActionsReducers/CustomSortRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/CustomSortRedux.js +4 -4
- package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +12 -12
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +33 -29
- package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +4 -4
- package/src/Redux/ActionsReducers/PlusMinusRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/PlusMinusRedux.js +4 -4
- package/src/Redux/ActionsReducers/ScheduleRedux.d.ts +5 -5
- package/src/Redux/ActionsReducers/ScheduleRedux.js +16 -16
- package/src/Redux/ActionsReducers/ShortcutRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ShortcutRedux.js +4 -4
- package/src/Redux/ActionsReducers/SystemRedux.js +1 -1
- package/src/Redux/Store/AdaptableStore.js +20 -20
- package/src/Strategy/AlertModule.js +1 -1
- package/src/Strategy/FlashingCellModule.js +2 -2
- package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -1
- package/src/Utilities/Constants/DocumentationLinkConstants.js +11 -10
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +2 -1
- package/src/Utilities/Services/ModuleService.js +33 -40
- package/src/View/Alert/Wizard/isValidAlertRules.js +3 -3
- package/src/View/Components/EntityRulesEditor/index.d.ts +1 -1
- package/src/View/Components/EntityRulesEditor/index.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +4 -8
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +1 -2
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
- package/src/View/Dashboard/DashboardPopup.js +1 -1
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.d.ts +1 -1
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +2 -2
- package/src/View/Schedule/Wizard/ScheduleWizard.js +3 -3
- package/src/agGrid/Adaptable.d.ts +4 -2
- package/src/agGrid/Adaptable.js +83 -42
- package/src/agGrid/CheckboxRenderer.d.ts +8 -1
- package/src/agGrid/CheckboxRenderer.js +25 -4
- package/src/agGrid/agGridHelper.d.ts +1 -1
- package/src/agGrid/agGridHelper.js +7 -8
- package/src/components/ExpressionEditor/index.js +1 -1
- package/src/components/icons/calculated-column.js +2 -1
- package/src/metamodel/adaptable.metamodel.d.ts +194 -4
- package/src/metamodel/adaptable.metamodel.js +280 -17
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FlashingCellReducer = exports.FlashingCellReady = exports.FlashingCellDefinitionUnSuspend = exports.FlashingCellDefinitionSuspend = exports.FlashingCellDefinitionDelete = exports.FlashingCellDefinitionEdit = exports.FlashingCellDefinitionSet = exports.FlashingCellDefinitionAdd = exports.
|
|
3
|
+
exports.FlashingCellReducer = exports.FlashingCellReady = exports.FlashingCellDefinitionUnSuspend = exports.FlashingCellDefinitionSuspend = exports.FlashingCellDefinitionDelete = exports.FlashingCellDefinitionEdit = exports.FlashingCellDefinitionSet = exports.FlashingCellDefinitionAdd = exports.FLASHING_CELL_DEFINITION_SET = exports.FLASHING_CELL_READY = exports.FLASHING_CELL_DEFINITION_UNSUSPEND = exports.FLASHING_CELL_DEFINITION_SUSPEND = exports.FLASHING_CELL_DEFINITION_DELETE = exports.FLASHING_CELL_DEFINITION_EDIT = exports.FLASHING_CELL_DEFINITION_ADD = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const AdaptableHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/AdaptableHelper"));
|
|
6
6
|
const utils_1 = require("./utils");
|
|
7
7
|
/**
|
|
8
|
-
* @ReduxAction A Flashing
|
|
8
|
+
* @ReduxAction A Flashing Cell Definition has been added
|
|
9
9
|
*/
|
|
10
|
-
exports.
|
|
10
|
+
exports.FLASHING_CELL_DEFINITION_ADD = 'FLASHING_CELL_DEFINITION_ADD';
|
|
11
11
|
/**
|
|
12
|
-
* @ReduxAction A Flashing
|
|
12
|
+
* @ReduxAction A Flashing Cell Definition has been edited
|
|
13
13
|
*/
|
|
14
|
-
exports.
|
|
14
|
+
exports.FLASHING_CELL_DEFINITION_EDIT = 'FLASHING_CELL_DEFINITION_EDIT';
|
|
15
15
|
/**
|
|
16
|
-
* @ReduxAction A Flashing
|
|
16
|
+
* @ReduxAction A Flashing Cell Definition has been deleted
|
|
17
17
|
*/
|
|
18
|
-
exports.
|
|
18
|
+
exports.FLASHING_CELL_DEFINITION_DELETE = 'FLASHING_CELL_DEFINITION_DELETE';
|
|
19
19
|
/**
|
|
20
|
-
* @ReduxAction Flashing
|
|
20
|
+
* @ReduxAction Flashing Cell Definition Style is suspended
|
|
21
21
|
*/
|
|
22
|
-
exports.
|
|
22
|
+
exports.FLASHING_CELL_DEFINITION_SUSPEND = 'FLASHING_CELL_DEFINITION_SUSPEND';
|
|
23
23
|
/**
|
|
24
|
-
* @ReduxAction Flashing
|
|
24
|
+
* @ReduxAction Flashing Cell Definition is un-suspended, or activated
|
|
25
25
|
*/
|
|
26
|
-
exports.
|
|
26
|
+
exports.FLASHING_CELL_DEFINITION_UNSUSPEND = 'FLASHING_CELL_DEFINITION_UNSUSPEND';
|
|
27
27
|
/**
|
|
28
|
-
* @ReduxAction Flashing
|
|
28
|
+
* @ReduxAction Flashing Cell Module is ready
|
|
29
29
|
*/
|
|
30
30
|
exports.FLASHING_CELL_READY = 'FLASHING_CELL_READY';
|
|
31
|
-
exports.
|
|
31
|
+
exports.FLASHING_CELL_DEFINITION_SET = 'FLASHING_CELL_DEFINITION_SET';
|
|
32
32
|
exports.FlashingCellDefinitionAdd = (flashingCellDefinition) => ({
|
|
33
|
-
type: exports.
|
|
33
|
+
type: exports.FLASHING_CELL_DEFINITION_ADD,
|
|
34
34
|
flashingCellDefinition,
|
|
35
35
|
});
|
|
36
36
|
exports.FlashingCellDefinitionSet = (flashingCellDefinitions) => ({
|
|
37
|
-
type: exports.
|
|
37
|
+
type: exports.FLASHING_CELL_DEFINITION_SET,
|
|
38
38
|
flashingCellDefinitions,
|
|
39
39
|
});
|
|
40
40
|
exports.FlashingCellDefinitionEdit = (flashingCellDefinition) => ({
|
|
41
|
-
type: exports.
|
|
41
|
+
type: exports.FLASHING_CELL_DEFINITION_EDIT,
|
|
42
42
|
flashingCellDefinition,
|
|
43
43
|
});
|
|
44
44
|
exports.FlashingCellDefinitionDelete = (flashingCellDefinition) => ({
|
|
45
|
-
type: exports.
|
|
45
|
+
type: exports.FLASHING_CELL_DEFINITION_DELETE,
|
|
46
46
|
flashingCellDefinition,
|
|
47
47
|
});
|
|
48
48
|
exports.FlashingCellDefinitionSuspend = (flashingCellDefinition) => ({
|
|
49
|
-
type: exports.
|
|
49
|
+
type: exports.FLASHING_CELL_DEFINITION_SUSPEND,
|
|
50
50
|
flashingCellDefinition,
|
|
51
51
|
});
|
|
52
52
|
exports.FlashingCellDefinitionUnSuspend = (flashingCellDefinition) => ({
|
|
53
|
-
type: exports.
|
|
53
|
+
type: exports.FLASHING_CELL_DEFINITION_UNSUSPEND,
|
|
54
54
|
flashingCellDefinition,
|
|
55
55
|
});
|
|
56
56
|
exports.FlashingCellReady = (alertState) => ({
|
|
@@ -63,31 +63,35 @@ const initialState = {
|
|
|
63
63
|
exports.FlashingCellReducer = (state = initialState, action) => {
|
|
64
64
|
let flashingCellDefinitions;
|
|
65
65
|
switch (action.type) {
|
|
66
|
-
case exports.
|
|
67
|
-
const actionFlashingCellDefinition = action
|
|
66
|
+
case exports.FLASHING_CELL_DEFINITION_SET: {
|
|
67
|
+
const actionFlashingCellDefinition = action
|
|
68
|
+
.flashingCellDefinitions;
|
|
68
69
|
return Object.assign(Object.assign({}, state), { FlashingCellDefinitions: actionFlashingCellDefinition });
|
|
69
70
|
}
|
|
70
|
-
case exports.
|
|
71
|
-
const actionFlashingCellDefinition = action
|
|
71
|
+
case exports.FLASHING_CELL_DEFINITION_ADD: {
|
|
72
|
+
const actionFlashingCellDefinition = action
|
|
73
|
+
.flashingCellDefinition;
|
|
72
74
|
AdaptableHelper_1.default.addUuidAndSource(actionFlashingCellDefinition);
|
|
73
75
|
flashingCellDefinitions = [].concat(state.FlashingCellDefinitions);
|
|
74
76
|
flashingCellDefinitions.push(actionFlashingCellDefinition);
|
|
75
77
|
return Object.assign(Object.assign({}, state), { FlashingCellDefinitions: flashingCellDefinitions });
|
|
76
78
|
}
|
|
77
|
-
case exports.
|
|
78
|
-
const actionFlashingCellDefinition = action
|
|
79
|
+
case exports.FLASHING_CELL_DEFINITION_EDIT: {
|
|
80
|
+
const actionFlashingCellDefinition = action
|
|
81
|
+
.flashingCellDefinition;
|
|
79
82
|
return Object.assign(Object.assign({}, state), { FlashingCellDefinitions: state.FlashingCellDefinitions.map((abObject) => abObject.Uuid === actionFlashingCellDefinition.Uuid
|
|
80
83
|
? actionFlashingCellDefinition
|
|
81
84
|
: abObject) });
|
|
82
85
|
}
|
|
83
|
-
case exports.
|
|
84
|
-
const actionFlashingCellDefinition = action
|
|
86
|
+
case exports.FLASHING_CELL_DEFINITION_DELETE: {
|
|
87
|
+
const actionFlashingCellDefinition = action
|
|
88
|
+
.flashingCellDefinition;
|
|
85
89
|
return Object.assign(Object.assign({}, state), { FlashingCellDefinitions: state.FlashingCellDefinitions.filter((abObject) => abObject.Uuid !== actionFlashingCellDefinition.Uuid) });
|
|
86
90
|
}
|
|
87
|
-
case exports.
|
|
91
|
+
case exports.FLASHING_CELL_DEFINITION_SUSPEND: {
|
|
88
92
|
return Object.assign(Object.assign({}, state), { FlashingCellDefinitions: utils_1.changeIsSuspendInList(action.flashingCellDefinition, state.FlashingCellDefinitions, true) });
|
|
89
93
|
}
|
|
90
|
-
case exports.
|
|
94
|
+
case exports.FLASHING_CELL_DEFINITION_UNSUSPEND: {
|
|
91
95
|
return Object.assign(Object.assign({}, state), { FlashingCellDefinitions: utils_1.changeIsSuspendInList(action.flashingCellDefinition, state.FlashingCellDefinitions, false) });
|
|
92
96
|
}
|
|
93
97
|
default:
|
|
@@ -23,7 +23,7 @@ export declare const FORMAT_COLUMN_SUSPEND = "FORMAT_COLUMN_SUSPEND";
|
|
|
23
23
|
/**
|
|
24
24
|
* @ReduxAction FormatColumn Module is un-suspended, or activated
|
|
25
25
|
*/
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const FORMAT_COLUMN_UNSUSPEND = "FORMAT_COLUMN_UNSUSPEND";
|
|
27
27
|
export interface FormatColumnAction extends Redux.Action {
|
|
28
28
|
formatColumn: FormatColumn;
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FormatColumnReducer = exports.FormatColumnReady = exports.FormatColumnUnSuspend = exports.FormatColumnSuspend = exports.FormatColumnDelete = exports.FormatColumnEdit = exports.FormatColumnAdd = exports.
|
|
3
|
+
exports.FormatColumnReducer = exports.FormatColumnReady = exports.FormatColumnUnSuspend = exports.FormatColumnSuspend = exports.FormatColumnDelete = exports.FormatColumnEdit = exports.FormatColumnAdd = exports.FORMAT_COLUMN_UNSUSPEND = exports.FORMAT_COLUMN_SUSPEND = exports.FORMAT_COLUMN_READY = exports.FORMAT_COLUMN_DELETE = exports.FORMAT_COLUMN_EDIT = exports.FORMAT_COLUMN_ADD = 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"));
|
|
@@ -28,7 +28,7 @@ exports.FORMAT_COLUMN_SUSPEND = 'FORMAT_COLUMN_SUSPEND';
|
|
|
28
28
|
/**
|
|
29
29
|
* @ReduxAction FormatColumn Module is un-suspended, or activated
|
|
30
30
|
*/
|
|
31
|
-
exports.
|
|
31
|
+
exports.FORMAT_COLUMN_UNSUSPEND = 'FORMAT_COLUMN_UNSUSPEND';
|
|
32
32
|
exports.FormatColumnAdd = (formatColumn) => ({
|
|
33
33
|
type: exports.FORMAT_COLUMN_ADD,
|
|
34
34
|
formatColumn,
|
|
@@ -46,7 +46,7 @@ exports.FormatColumnSuspend = (formatColumn) => ({
|
|
|
46
46
|
formatColumn,
|
|
47
47
|
});
|
|
48
48
|
exports.FormatColumnUnSuspend = (formatColumn) => ({
|
|
49
|
-
type: exports.
|
|
49
|
+
type: exports.FORMAT_COLUMN_UNSUSPEND,
|
|
50
50
|
formatColumn,
|
|
51
51
|
});
|
|
52
52
|
exports.FormatColumnReady = (formatColumnState) => ({
|
|
@@ -76,7 +76,7 @@ exports.FormatColumnReducer = (state = initialState, action) => {
|
|
|
76
76
|
case exports.FORMAT_COLUMN_SUSPEND: {
|
|
77
77
|
return Object.assign(Object.assign({}, state), { FormatColumns: utils_1.changeIsSuspendInList(action.formatColumn, state.FormatColumns, true) });
|
|
78
78
|
}
|
|
79
|
-
case exports.
|
|
79
|
+
case exports.FORMAT_COLUMN_UNSUSPEND: {
|
|
80
80
|
return Object.assign(Object.assign({}, state), { FormatColumns: utils_1.changeIsSuspendInList(action.formatColumn, state.FormatColumns, false) });
|
|
81
81
|
}
|
|
82
82
|
default:
|
|
@@ -24,7 +24,7 @@ export declare const PLUS_MINUS_RULE_SUSPEND = "PLUS_MINUS_RULE_SUSPEND";
|
|
|
24
24
|
/**
|
|
25
25
|
* @ReduxAction A Plus Minus Rule has been un-suspended
|
|
26
26
|
*/
|
|
27
|
-
export declare const
|
|
27
|
+
export declare const PLUS_MINUS_RULE_UNSUSPEND = "PLUS_MINUS_RULE_UNSUSPEND";
|
|
28
28
|
/**
|
|
29
29
|
* @ReduxAction PlusMinus Module is ready
|
|
30
30
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PlusMinusReducer = exports.PlusMinusReady = exports.PlusMinusNudgeUnSuspend = exports.PlusMinusNudgeSuspend = exports.PlusMinusNudgeDelete = exports.PlusMinusNudgeEdit = exports.PlusMinusNudgeAdd = exports.PlusMinusApply = exports.PLUS_MINUS_READY = exports.
|
|
3
|
+
exports.PlusMinusReducer = exports.PlusMinusReady = exports.PlusMinusNudgeUnSuspend = exports.PlusMinusNudgeSuspend = exports.PlusMinusNudgeDelete = exports.PlusMinusNudgeEdit = exports.PlusMinusNudgeAdd = exports.PlusMinusApply = exports.PLUS_MINUS_READY = 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"));
|
|
@@ -28,7 +28,7 @@ exports.PLUS_MINUS_RULE_SUSPEND = 'PLUS_MINUS_RULE_SUSPEND';
|
|
|
28
28
|
/**
|
|
29
29
|
* @ReduxAction A Plus Minus Rule has been un-suspended
|
|
30
30
|
*/
|
|
31
|
-
exports.
|
|
31
|
+
exports.PLUS_MINUS_RULE_UNSUSPEND = 'PLUS_MINUS_RULE_UNSUSPEND';
|
|
32
32
|
/**
|
|
33
33
|
* @ReduxAction PlusMinus Module is ready
|
|
34
34
|
*/
|
|
@@ -54,7 +54,7 @@ exports.PlusMinusNudgeSuspend = (plusMinusNudge) => ({
|
|
|
54
54
|
plusMinusNudge: plusMinusNudge,
|
|
55
55
|
});
|
|
56
56
|
exports.PlusMinusNudgeUnSuspend = (plusMinusNudge) => ({
|
|
57
|
-
type: exports.
|
|
57
|
+
type: exports.PLUS_MINUS_RULE_UNSUSPEND,
|
|
58
58
|
plusMinusNudge: plusMinusNudge,
|
|
59
59
|
});
|
|
60
60
|
exports.PlusMinusReady = (plusMinusState) => ({
|
|
@@ -88,7 +88,7 @@ exports.PlusMinusReducer = (state = initialState, action) => {
|
|
|
88
88
|
case exports.PLUS_MINUS_RULE_SUSPEND: {
|
|
89
89
|
return Object.assign(Object.assign({}, state), { PlusMinusNudges: utils_1.changeIsSuspendInList(action.plusMinusNudge, state.PlusMinusNudges, true) });
|
|
90
90
|
}
|
|
91
|
-
case exports.
|
|
91
|
+
case exports.PLUS_MINUS_RULE_UNSUSPEND: {
|
|
92
92
|
return Object.assign(Object.assign({}, state), { PlusMinusNudges: utils_1.changeIsSuspendInList(action.plusMinusNudge, state.PlusMinusNudges, false) });
|
|
93
93
|
}
|
|
94
94
|
default:
|
|
@@ -29,7 +29,7 @@ export declare const REPORT_SCHEDULE_SUSPEND = "REPORT_SCHEDULE_SUSPEND";
|
|
|
29
29
|
/**
|
|
30
30
|
* @ReduxAction A Report Schedule has been un-suspended or activated
|
|
31
31
|
*/
|
|
32
|
-
export declare const
|
|
32
|
+
export declare const REPORT_SCHEDULE_UNSUSPEND = "REPORT_SCHEDULE_UNSUSPEND";
|
|
33
33
|
/**
|
|
34
34
|
* @ReduxAction A Reminder Schedule has been added
|
|
35
35
|
*/
|
|
@@ -49,7 +49,7 @@ export declare const REMINDER_SCHEDULE_SUSPEND = "REMINDER_SCHEDULE_SUSPEND";
|
|
|
49
49
|
/**
|
|
50
50
|
* @ReduxAction A Reminder Schedule has been un-suspended or activated
|
|
51
51
|
*/
|
|
52
|
-
export declare const
|
|
52
|
+
export declare const REMINDER_SCHEDULE_UNSUSPEND = "REMINDER_SCHEDULE_UNSUSPEND";
|
|
53
53
|
/**
|
|
54
54
|
* @ReduxAction An ipushpull Schedule has been added
|
|
55
55
|
*/
|
|
@@ -69,7 +69,7 @@ export declare const IPUSHPULL_SCHEDULE_SUSPEND = "IPUSHPULL_SCHEDULE_SUSPEND";
|
|
|
69
69
|
/**
|
|
70
70
|
* @ReduxAction An ipushpull Schedule has been un-suspended or activated
|
|
71
71
|
*/
|
|
72
|
-
export declare const
|
|
72
|
+
export declare const IPUSHPULL_SCHEDULE_UNSUSPEND = "IPUSHPULL_SCHEDULE_UNSUSPEND";
|
|
73
73
|
/**
|
|
74
74
|
* @ReduxAction A Glue42 Schedule has been added
|
|
75
75
|
*/
|
|
@@ -89,7 +89,7 @@ export declare const GLUE42_SCHEDULE_SUSPEND = "GLUE42_SCHEDULE_SUSPEND";
|
|
|
89
89
|
/**
|
|
90
90
|
* @ReduxAction A Glue42 Schedule has been un-suspended or activated
|
|
91
91
|
*/
|
|
92
|
-
export declare const
|
|
92
|
+
export declare const GLUE42_SCHEDULE_UNSUSPEND = "GLUE42_SCHEDULE_UNSUSPEND";
|
|
93
93
|
/**
|
|
94
94
|
* @ReduxAction An OpenFin Schedule has been added
|
|
95
95
|
*/
|
|
@@ -109,7 +109,7 @@ export declare const OPENFIN_SCHEDULE_SUSPEND = "OPENFIN_SCHEDULE_SUSPEND";
|
|
|
109
109
|
/**
|
|
110
110
|
* @ReduxAction An OpenFin Schedule has been un-suspended or activated
|
|
111
111
|
*/
|
|
112
|
-
export declare const
|
|
112
|
+
export declare const OPENFIN_SCHEDULE_UNSUSPEND = "OPENFIN_SCHEDULE_UNSUSPEND";
|
|
113
113
|
/**
|
|
114
114
|
* @ReduxAction Schedule Module is ready
|
|
115
115
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ScheduleReducer = exports.IPushPullScheduleUnSuspend = exports.IPushPullScheduleSuspend = exports.IPushPullScheduleDelete = exports.IPushPullScheduleEdit = exports.IPushPullScheduleAdd = exports.ReminderScheduleUnSuspend = exports.ReminderScheduleSuspend = exports.ReminderScheduleDelete = exports.ReminderScheduleEdit = exports.ReminderScheduleAdd = exports.ReportScheduleUnSuspend = exports.ReportScheduleSuspend = exports.ReportScheduleDelete = exports.ReportScheduleEdit = exports.ReportScheduleAdd = exports.OpenFinScheduleUnSuspend = exports.OpenFinScheduleSuspend = exports.OpenFinScheduleDelete = exports.OpenFinScheduleEdit = exports.OpenFinScheduleAdd = exports.Glue42ScheduleUnSuspend = exports.Glue42ScheduleSuspend = exports.Glue42ScheduleDelete = exports.Glue42ScheduleEdit = exports.Glue42ScheduleAdd = exports.ScheduleReady = exports.ScheduleJobRun = exports.SCHEDULE_READY = exports.
|
|
3
|
+
exports.ScheduleReducer = exports.IPushPullScheduleUnSuspend = exports.IPushPullScheduleSuspend = exports.IPushPullScheduleDelete = exports.IPushPullScheduleEdit = exports.IPushPullScheduleAdd = exports.ReminderScheduleUnSuspend = exports.ReminderScheduleSuspend = exports.ReminderScheduleDelete = exports.ReminderScheduleEdit = exports.ReminderScheduleAdd = exports.ReportScheduleUnSuspend = exports.ReportScheduleSuspend = exports.ReportScheduleDelete = exports.ReportScheduleEdit = exports.ReportScheduleAdd = exports.OpenFinScheduleUnSuspend = exports.OpenFinScheduleSuspend = exports.OpenFinScheduleDelete = exports.OpenFinScheduleEdit = exports.OpenFinScheduleAdd = exports.Glue42ScheduleUnSuspend = exports.Glue42ScheduleSuspend = exports.Glue42ScheduleDelete = exports.Glue42ScheduleEdit = exports.Glue42ScheduleAdd = exports.ScheduleReady = exports.ScheduleJobRun = exports.SCHEDULE_READY = exports.OPENFIN_SCHEDULE_UNSUSPEND = exports.OPENFIN_SCHEDULE_SUSPEND = exports.OPENFIN_SCHEDULE_DELETE = exports.OPENFIN_SCHEDULE_EDIT = exports.OPENFIN_SCHEDULE_ADD = exports.GLUE42_SCHEDULE_UNSUSPEND = exports.GLUE42_SCHEDULE_SUSPEND = exports.GLUE42_SCHEDULE_DELETE = exports.GLUE42_SCHEDULE_EDIT = exports.GLUE42_SCHEDULE_ADD = exports.IPUSHPULL_SCHEDULE_UNSUSPEND = exports.IPUSHPULL_SCHEDULE_SUSPEND = exports.IPUSHPULL_SCHEDULE_DELETE = exports.IPUSHPULL_SCHEDULE_EDIT = exports.IPUSHPULL_SCHEDULE_ADD = exports.REMINDER_SCHEDULE_UNSUSPEND = exports.REMINDER_SCHEDULE_SUSPEND = exports.REMINDER_SCHEDULE_DELETE = exports.REMINDER_SCHEDULE_EDIT = exports.REMINDER_SCHEDULE_ADD = 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
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"));
|
|
@@ -28,7 +28,7 @@ exports.REPORT_SCHEDULE_SUSPEND = 'REPORT_SCHEDULE_SUSPEND';
|
|
|
28
28
|
/**
|
|
29
29
|
* @ReduxAction A Report Schedule has been un-suspended or activated
|
|
30
30
|
*/
|
|
31
|
-
exports.
|
|
31
|
+
exports.REPORT_SCHEDULE_UNSUSPEND = 'REPORT_SCHEDULE_UNSUSPEND';
|
|
32
32
|
/**
|
|
33
33
|
* @ReduxAction A Reminder Schedule has been added
|
|
34
34
|
*/
|
|
@@ -48,7 +48,7 @@ exports.REMINDER_SCHEDULE_SUSPEND = 'REMINDER_SCHEDULE_SUSPEND';
|
|
|
48
48
|
/**
|
|
49
49
|
* @ReduxAction A Reminder Schedule has been un-suspended or activated
|
|
50
50
|
*/
|
|
51
|
-
exports.
|
|
51
|
+
exports.REMINDER_SCHEDULE_UNSUSPEND = 'REMINDER_SCHEDULE_UNSUSPEND';
|
|
52
52
|
/**
|
|
53
53
|
* @ReduxAction An ipushpull Schedule has been added
|
|
54
54
|
*/
|
|
@@ -68,7 +68,7 @@ exports.IPUSHPULL_SCHEDULE_SUSPEND = 'IPUSHPULL_SCHEDULE_SUSPEND';
|
|
|
68
68
|
/**
|
|
69
69
|
* @ReduxAction An ipushpull Schedule has been un-suspended or activated
|
|
70
70
|
*/
|
|
71
|
-
exports.
|
|
71
|
+
exports.IPUSHPULL_SCHEDULE_UNSUSPEND = 'IPUSHPULL_SCHEDULE_UNSUSPEND';
|
|
72
72
|
/**
|
|
73
73
|
* @ReduxAction A Glue42 Schedule has been added
|
|
74
74
|
*/
|
|
@@ -88,7 +88,7 @@ exports.GLUE42_SCHEDULE_SUSPEND = 'GLUE42_SCHEDULE_SUSPEND';
|
|
|
88
88
|
/**
|
|
89
89
|
* @ReduxAction A Glue42 Schedule has been un-suspended or activated
|
|
90
90
|
*/
|
|
91
|
-
exports.
|
|
91
|
+
exports.GLUE42_SCHEDULE_UNSUSPEND = 'GLUE42_SCHEDULE_UNSUSPEND';
|
|
92
92
|
/**
|
|
93
93
|
* @ReduxAction An OpenFin Schedule has been added
|
|
94
94
|
*/
|
|
@@ -108,7 +108,7 @@ exports.OPENFIN_SCHEDULE_SUSPEND = 'OPENFIN_SCHEDULE_SUSPEND';
|
|
|
108
108
|
/**
|
|
109
109
|
* @ReduxAction An OpenFin Schedule has been un-suspended or activated
|
|
110
110
|
*/
|
|
111
|
-
exports.
|
|
111
|
+
exports.OPENFIN_SCHEDULE_UNSUSPEND = 'OPENFIN_SCHEDULE_UNSUSPEND';
|
|
112
112
|
/**
|
|
113
113
|
* @ReduxAction Schedule Module is ready
|
|
114
114
|
*/
|
|
@@ -139,7 +139,7 @@ exports.Glue42ScheduleSuspend = (glue42Schedule) => ({
|
|
|
139
139
|
glue42Schedule,
|
|
140
140
|
});
|
|
141
141
|
exports.Glue42ScheduleUnSuspend = (glue42Schedule) => ({
|
|
142
|
-
type: exports.
|
|
142
|
+
type: exports.GLUE42_SCHEDULE_UNSUSPEND,
|
|
143
143
|
glue42Schedule,
|
|
144
144
|
});
|
|
145
145
|
exports.OpenFinScheduleAdd = (openFinSchedule) => ({
|
|
@@ -159,7 +159,7 @@ exports.OpenFinScheduleSuspend = (openFinSchedule) => ({
|
|
|
159
159
|
openFinSchedule,
|
|
160
160
|
});
|
|
161
161
|
exports.OpenFinScheduleUnSuspend = (openFinSchedule) => ({
|
|
162
|
-
type: exports.
|
|
162
|
+
type: exports.OPENFIN_SCHEDULE_UNSUSPEND,
|
|
163
163
|
openFinSchedule,
|
|
164
164
|
});
|
|
165
165
|
// Report
|
|
@@ -180,7 +180,7 @@ exports.ReportScheduleSuspend = (reportSchedule) => ({
|
|
|
180
180
|
reportSchedule,
|
|
181
181
|
});
|
|
182
182
|
exports.ReportScheduleUnSuspend = (reportSchedule) => ({
|
|
183
|
-
type: exports.
|
|
183
|
+
type: exports.REPORT_SCHEDULE_UNSUSPEND,
|
|
184
184
|
reportSchedule,
|
|
185
185
|
});
|
|
186
186
|
exports.ReminderScheduleAdd = (reminderSchedule) => ({
|
|
@@ -200,7 +200,7 @@ exports.ReminderScheduleSuspend = (reminderSchedule) => ({
|
|
|
200
200
|
reminderSchedule,
|
|
201
201
|
});
|
|
202
202
|
exports.ReminderScheduleUnSuspend = (reminderSchedule) => ({
|
|
203
|
-
type: exports.
|
|
203
|
+
type: exports.REMINDER_SCHEDULE_UNSUSPEND,
|
|
204
204
|
reminderSchedule,
|
|
205
205
|
});
|
|
206
206
|
exports.IPushPullScheduleAdd = (iPushPullSchedule) => ({
|
|
@@ -220,7 +220,7 @@ exports.IPushPullScheduleSuspend = (iPushPullSchedule) => ({
|
|
|
220
220
|
iPushPullSchedule,
|
|
221
221
|
});
|
|
222
222
|
exports.IPushPullScheduleUnSuspend = (iPushPullSchedule) => ({
|
|
223
|
-
type: exports.
|
|
223
|
+
type: exports.IPUSHPULL_SCHEDULE_UNSUSPEND,
|
|
224
224
|
iPushPullSchedule,
|
|
225
225
|
});
|
|
226
226
|
const initialState = {
|
|
@@ -249,7 +249,7 @@ exports.ScheduleReducer = (state = initialState, action) => {
|
|
|
249
249
|
case exports.GLUE42_SCHEDULE_SUSPEND: {
|
|
250
250
|
return Object.assign(Object.assign({}, state), { Glue42Schedules: utils_1.changeIsSuspendInList(action.glue42Schedule, state.Glue42Schedules, true) });
|
|
251
251
|
}
|
|
252
|
-
case exports.
|
|
252
|
+
case exports.GLUE42_SCHEDULE_UNSUSPEND: {
|
|
253
253
|
return Object.assign(Object.assign({}, state), { Glue42Schedules: utils_1.changeIsSuspendInList(action.glue42Schedule, state.Glue42Schedules, false) });
|
|
254
254
|
}
|
|
255
255
|
case exports.OPENFIN_SCHEDULE_ADD: {
|
|
@@ -270,7 +270,7 @@ exports.ScheduleReducer = (state = initialState, action) => {
|
|
|
270
270
|
case exports.OPENFIN_SCHEDULE_SUSPEND: {
|
|
271
271
|
return Object.assign(Object.assign({}, state), { OpenFinSchedules: utils_1.changeIsSuspendInList(action.openFinSchedule, state.OpenFinSchedules, true) });
|
|
272
272
|
}
|
|
273
|
-
case exports.
|
|
273
|
+
case exports.OPENFIN_SCHEDULE_UNSUSPEND: {
|
|
274
274
|
return Object.assign(Object.assign({}, state), { OpenFinSchedules: utils_1.changeIsSuspendInList(action.openFinSchedule, state.OpenFinSchedules, false) });
|
|
275
275
|
}
|
|
276
276
|
case exports.REPORT_SCHEDULE_ADD: {
|
|
@@ -291,7 +291,7 @@ exports.ScheduleReducer = (state = initialState, action) => {
|
|
|
291
291
|
case exports.REPORT_SCHEDULE_SUSPEND: {
|
|
292
292
|
return Object.assign(Object.assign({}, state), { ReportSchedules: utils_1.changeIsSuspendInList(action.reportSchedule, state.ReportSchedules, true) });
|
|
293
293
|
}
|
|
294
|
-
case exports.
|
|
294
|
+
case exports.REPORT_SCHEDULE_UNSUSPEND: {
|
|
295
295
|
return Object.assign(Object.assign({}, state), { ReportSchedules: utils_1.changeIsSuspendInList(action.reportSchedule, state.ReportSchedules, false) });
|
|
296
296
|
}
|
|
297
297
|
case exports.REMINDER_SCHEDULE_ADD: {
|
|
@@ -312,7 +312,7 @@ exports.ScheduleReducer = (state = initialState, action) => {
|
|
|
312
312
|
case exports.REMINDER_SCHEDULE_SUSPEND: {
|
|
313
313
|
return Object.assign(Object.assign({}, state), { Reminders: utils_1.changeIsSuspendInList(action.reminderSchedule, state.Reminders, true) });
|
|
314
314
|
}
|
|
315
|
-
case exports.
|
|
315
|
+
case exports.REMINDER_SCHEDULE_UNSUSPEND: {
|
|
316
316
|
return Object.assign(Object.assign({}, state), { Reminders: utils_1.changeIsSuspendInList(action.reminderSchedule, state.Reminders, false) });
|
|
317
317
|
}
|
|
318
318
|
case exports.IPUSHPULL_SCHEDULE_ADD: {
|
|
@@ -336,7 +336,7 @@ exports.ScheduleReducer = (state = initialState, action) => {
|
|
|
336
336
|
case exports.IPUSHPULL_SCHEDULE_SUSPEND: {
|
|
337
337
|
return Object.assign(Object.assign({}, state), { IPushPullSchedules: utils_1.changeIsSuspendInList(action.iPushPullSchedule, state.IPushPullSchedules, true) });
|
|
338
338
|
}
|
|
339
|
-
case exports.
|
|
339
|
+
case exports.IPUSHPULL_SCHEDULE_UNSUSPEND: {
|
|
340
340
|
return Object.assign(Object.assign({}, state), { IPushPullSchedules: utils_1.changeIsSuspendInList(action.iPushPullSchedule, state.IPushPullSchedules, false) });
|
|
341
341
|
}
|
|
342
342
|
default:
|
|
@@ -19,7 +19,7 @@ export declare const SHORTCUT_SUSPEND = "SHORTCUT_SUSPEND";
|
|
|
19
19
|
/**
|
|
20
20
|
* @ReduxAction A Shortcut has been un-suspended or activated
|
|
21
21
|
*/
|
|
22
|
-
export declare const
|
|
22
|
+
export declare const SHORTCUT_UNSUSPEND = "SHORTCUT_UNSUSPEND";
|
|
23
23
|
/**
|
|
24
24
|
* @ReduxAction Shortcut Module is ready
|
|
25
25
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ShortcutReducer = exports.ShortcutReady = exports.ShortcutUnSuspend = exports.ShortcutSuspend = exports.ShortcutDelete = exports.ShortcutEdit = exports.ShortcutAdd = exports.SHORTCUT_READY = exports.
|
|
3
|
+
exports.ShortcutReducer = exports.ShortcutReady = exports.ShortcutUnSuspend = exports.ShortcutSuspend = exports.ShortcutDelete = exports.ShortcutEdit = exports.ShortcutAdd = exports.SHORTCUT_READY = exports.SHORTCUT_UNSUSPEND = exports.SHORTCUT_SUSPEND = exports.SHORTCUT_DELETE = exports.SHORTCUT_EDIT = exports.SHORTCUT_ADD = 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"));
|
|
@@ -24,7 +24,7 @@ exports.SHORTCUT_SUSPEND = 'SHORTCUT_SUSPEND';
|
|
|
24
24
|
/**
|
|
25
25
|
* @ReduxAction A Shortcut has been un-suspended or activated
|
|
26
26
|
*/
|
|
27
|
-
exports.
|
|
27
|
+
exports.SHORTCUT_UNSUSPEND = 'SHORTCUT_UNSUSPEND';
|
|
28
28
|
/**
|
|
29
29
|
* @ReduxAction Shortcut Module is ready
|
|
30
30
|
*/
|
|
@@ -46,7 +46,7 @@ exports.ShortcutSuspend = (shortcut) => ({
|
|
|
46
46
|
shortcut,
|
|
47
47
|
});
|
|
48
48
|
exports.ShortcutUnSuspend = (shortcut) => ({
|
|
49
|
-
type: exports.
|
|
49
|
+
type: exports.SHORTCUT_UNSUSPEND,
|
|
50
50
|
shortcut,
|
|
51
51
|
});
|
|
52
52
|
exports.ShortcutReady = (shortcutState) => ({
|
|
@@ -77,7 +77,7 @@ exports.ShortcutReducer = (state = initialState, action) => {
|
|
|
77
77
|
case exports.SHORTCUT_SUSPEND: {
|
|
78
78
|
return Object.assign(Object.assign({}, state), { Shortcuts: utils_1.changeIsSuspendInList(action.shortcut, state.Shortcuts, true) });
|
|
79
79
|
}
|
|
80
|
-
case exports.
|
|
80
|
+
case exports.SHORTCUT_UNSUSPEND: {
|
|
81
81
|
return Object.assign(Object.assign({}, state), { Shortcuts: utils_1.changeIsSuspendInList(action.shortcut, state.Shortcuts, false) });
|
|
82
82
|
}
|
|
83
83
|
default:
|
|
@@ -14,7 +14,7 @@ exports.SYSTEM_ALERT_ADD = 'SYSTEM_ALERT_ADD';
|
|
|
14
14
|
exports.SYSTEM_ALERT_DELETE = 'SYSTEM_ALERT_DELETE';
|
|
15
15
|
exports.SYSTEM_ALERT_DELETE_ALL = 'SYSTEM_ALERT_DELETE_ALL';
|
|
16
16
|
exports.SYSTEM_ALERT_REMOVE_HIGHLIGHT = 'SYSTEM_ALERT_REMOVE_HIGHLIGHT';
|
|
17
|
-
// Flashing
|
|
17
|
+
// Flashing Cells
|
|
18
18
|
exports.SYSTEM_FLASHING_CELL_ADD = 'SYSTEM_FLASHING_CELL_ADD';
|
|
19
19
|
exports.SYSTEM_FLASHING_CELL_DELETE = 'SYSTEM_FLASHING_CELL_DELETE';
|
|
20
20
|
exports.SYSTEM_FLASHING_CELL_DELETE_ALL = 'SYSTEM_FLASHING_CELL_DELETE_ALL';
|
|
@@ -315,11 +315,11 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
315
315
|
return ret;
|
|
316
316
|
}
|
|
317
317
|
/*******************
|
|
318
|
-
* FLASHING
|
|
318
|
+
* FLASHING CELL ACTIONS
|
|
319
319
|
*******************/
|
|
320
320
|
case SystemRedux.SYSTEM_FLASHING_CELL_ADD:
|
|
321
321
|
case SystemRedux.SYSTEM_FLASHING_CELL_DELETE: {
|
|
322
|
-
const { flashingCell: FlashingCell } = action;
|
|
322
|
+
const { flashingCell: FlashingCell, } = action;
|
|
323
323
|
const { dataChangedInfo } = FlashingCell;
|
|
324
324
|
let ret = next(action);
|
|
325
325
|
if (dataChangedInfo) {
|
|
@@ -341,14 +341,14 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
341
341
|
case AlertRedux.ALERT_DEFINITION_ADD:
|
|
342
342
|
case AlertRedux.ALERT_DEFINITION_EDIT:
|
|
343
343
|
case AlertRedux.ALERT_DEFINITION_DELETE:
|
|
344
|
-
case AlertRedux.
|
|
344
|
+
case AlertRedux.ALERT_DEFINITION_UNSUSPEND:
|
|
345
345
|
case AlertRedux.ALERT_DEFINITION_SUSPEND: {
|
|
346
346
|
const returnAction = next(action);
|
|
347
347
|
const alertDefinition = returnAction
|
|
348
348
|
.alertDefinition;
|
|
349
349
|
if (returnAction.type === AlertRedux.ALERT_DEFINITION_ADD ||
|
|
350
350
|
returnAction.type === AlertRedux.ALERT_DEFINITION_EDIT ||
|
|
351
|
-
returnAction.type === AlertRedux.
|
|
351
|
+
returnAction.type === AlertRedux.ALERT_DEFINITION_UNSUSPEND) {
|
|
352
352
|
// in case of edit, the existing reactive alert will be deleted and recreated
|
|
353
353
|
adaptable.api.internalApi.getAlertService().createReactiveAlert(alertDefinition);
|
|
354
354
|
}
|
|
@@ -363,11 +363,11 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
363
363
|
/*******************
|
|
364
364
|
* Flashing Cell ACTIONS
|
|
365
365
|
*******************/
|
|
366
|
-
case FlashingCellRedux.
|
|
367
|
-
case FlashingCellRedux.
|
|
368
|
-
case FlashingCellRedux.
|
|
369
|
-
case FlashingCellRedux.
|
|
370
|
-
case FlashingCellRedux.
|
|
366
|
+
case FlashingCellRedux.FLASHING_CELL_DEFINITION_ADD:
|
|
367
|
+
case FlashingCellRedux.FLASHING_CELL_DEFINITION_EDIT:
|
|
368
|
+
case FlashingCellRedux.FLASHING_CELL_DEFINITION_DELETE:
|
|
369
|
+
case FlashingCellRedux.FLASHING_CELL_DEFINITION_UNSUSPEND:
|
|
370
|
+
case FlashingCellRedux.FLASHING_CELL_DEFINITION_SUSPEND: {
|
|
371
371
|
const returnAction = next(action);
|
|
372
372
|
// called also for rendered column actions, see RENDERED COLUMN ACTIONS block
|
|
373
373
|
adaptable.setupColumns();
|
|
@@ -585,16 +585,16 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
585
585
|
case FormatColumnRedux.FORMAT_COLUMN_EDIT:
|
|
586
586
|
case FormatColumnRedux.FORMAT_COLUMN_DELETE:
|
|
587
587
|
case FormatColumnRedux.FORMAT_COLUMN_SUSPEND:
|
|
588
|
-
case FormatColumnRedux.
|
|
588
|
+
case FormatColumnRedux.FORMAT_COLUMN_UNSUSPEND:
|
|
589
589
|
case CustomSortRedux.CUSTOM_SORT_ADD:
|
|
590
590
|
case CustomSortRedux.CUSTOM_SORT_EDIT:
|
|
591
591
|
case CustomSortRedux.CUSTOM_SORT_DELETE:
|
|
592
592
|
case CustomSortRedux.CUSTOM_SORT_SUSPEND:
|
|
593
|
-
case CustomSortRedux.
|
|
593
|
+
case CustomSortRedux.CUSTOM_SORT_UNSUSPEND:
|
|
594
594
|
case ConditionalStyleRedux.CONDITIONAL_STYLE_ADD:
|
|
595
595
|
case ConditionalStyleRedux.CONDITIONAL_STYLE_EDIT:
|
|
596
596
|
case ConditionalStyleRedux.CONDITIONAL_STYLE_SUSPEND:
|
|
597
|
-
case ConditionalStyleRedux.
|
|
597
|
+
case ConditionalStyleRedux.CONDITIONAL_STYLE_UNSUSPEND:
|
|
598
598
|
case ConditionalStyleRedux.CONDITIONAL_STYLE_DELETE: {
|
|
599
599
|
const returnAction = next(action);
|
|
600
600
|
// called also for alert actions, see ALERT ACTIONS block
|
|
@@ -692,28 +692,28 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
692
692
|
case ScheduleRedux.REMINDER_SCHEDULE_ADD:
|
|
693
693
|
case ScheduleRedux.REMINDER_SCHEDULE_EDIT:
|
|
694
694
|
case ScheduleRedux.REMINDER_SCHEDULE_DELETE:
|
|
695
|
-
case ScheduleRedux.
|
|
695
|
+
case ScheduleRedux.REMINDER_SCHEDULE_UNSUSPEND:
|
|
696
696
|
case ScheduleRedux.REMINDER_SCHEDULE_SUSPEND:
|
|
697
697
|
case ScheduleRedux.REPORT_SCHEDULE_ADD:
|
|
698
698
|
case ScheduleRedux.REPORT_SCHEDULE_EDIT:
|
|
699
699
|
case ScheduleRedux.REPORT_SCHEDULE_DELETE:
|
|
700
700
|
case ScheduleRedux.REPORT_SCHEDULE_SUSPEND:
|
|
701
|
-
case ScheduleRedux.
|
|
701
|
+
case ScheduleRedux.REPORT_SCHEDULE_UNSUSPEND:
|
|
702
702
|
case ScheduleRedux.IPUSHPULL_SCHEDULE_ADD:
|
|
703
703
|
case ScheduleRedux.IPUSHPULL_SCHEDULE_EDIT:
|
|
704
704
|
case ScheduleRedux.IPUSHPULL_SCHEDULE_DELETE:
|
|
705
705
|
case ScheduleRedux.IPUSHPULL_SCHEDULE_SUSPEND:
|
|
706
|
-
case ScheduleRedux.
|
|
706
|
+
case ScheduleRedux.IPUSHPULL_SCHEDULE_UNSUSPEND:
|
|
707
707
|
case ScheduleRedux.GLUE42_SCHEDULE_ADD:
|
|
708
708
|
case ScheduleRedux.GLUE42_SCHEDULE_EDIT:
|
|
709
709
|
case ScheduleRedux.GLUE42_SCHEDULE_DELETE:
|
|
710
710
|
case ScheduleRedux.GLUE42_SCHEDULE_SUSPEND:
|
|
711
|
-
case ScheduleRedux.
|
|
711
|
+
case ScheduleRedux.GLUE42_SCHEDULE_UNSUSPEND:
|
|
712
712
|
case ScheduleRedux.OPENFIN_SCHEDULE_ADD:
|
|
713
713
|
case ScheduleRedux.OPENFIN_SCHEDULE_EDIT:
|
|
714
714
|
case ScheduleRedux.OPENFIN_SCHEDULE_DELETE:
|
|
715
715
|
case ScheduleRedux.OPENFIN_SCHEDULE_SUSPEND:
|
|
716
|
-
case ScheduleRedux.
|
|
716
|
+
case ScheduleRedux.OPENFIN_SCHEDULE_UNSUSPEND: {
|
|
717
717
|
let returnAction = next(action);
|
|
718
718
|
let module = (adaptable.adaptableModules.get(ModuleConstants.ScheduleModuleId));
|
|
719
719
|
module.setUpSechduleJobs();
|
|
@@ -1112,7 +1112,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1112
1112
|
case TeamSharingRedux.TEAMSHARING_IMPORT_ITEM: {
|
|
1113
1113
|
let returnAction = next(action);
|
|
1114
1114
|
const actionTyped = action;
|
|
1115
|
-
const [importStepActions, needsOverwriteConfirmation] = adaptable.api.internalApi
|
|
1115
|
+
const [importStepActions, needsOverwriteConfirmation,] = adaptable.api.internalApi
|
|
1116
1116
|
.getTeamSharingService()
|
|
1117
1117
|
.buildSharedEntityImportActions(actionTyped.SharedEntity);
|
|
1118
1118
|
const processImportAction = TeamSharingRedux.TeamSharingProcessImport(importStepActions);
|
|
@@ -1185,14 +1185,14 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1185
1185
|
.getSharedEntities(adaptableId)
|
|
1186
1186
|
.then((sharedEntities) => {
|
|
1187
1187
|
// check if remote server has a newer revision
|
|
1188
|
-
const [localRevision, remoteRevision] = adaptable.api.internalApi
|
|
1188
|
+
const [localRevision, remoteRevision,] = adaptable.api.internalApi
|
|
1189
1189
|
.getTeamSharingService()
|
|
1190
1190
|
.getSharedEntityLocalAndRemoteRevisions(ChangedAdaptableObject.Uuid, sharedEntities);
|
|
1191
1191
|
if (remoteRevision > localRevision) {
|
|
1192
1192
|
// if remote has a newer version, we will NOT overwrite it
|
|
1193
1193
|
return;
|
|
1194
1194
|
}
|
|
1195
|
-
const [updatedSharedEntities, newActiveEntities] = adaptable.api.internalApi
|
|
1195
|
+
const [updatedSharedEntities, newActiveEntities,] = adaptable.api.internalApi
|
|
1196
1196
|
.getTeamSharingService()
|
|
1197
1197
|
.updateActiveSharedEntity(ChangedAdaptableObject, UserName, sharedEntities);
|
|
1198
1198
|
middlewareAPI.dispatch(TeamSharingRedux.TeamSharingLinkItem(...newActiveEntities));
|
|
@@ -64,7 +64,7 @@ class AlertModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
64
64
|
}
|
|
65
65
|
updateOldConfig() {
|
|
66
66
|
var _a;
|
|
67
|
-
// 1. Make all (new) Flashing
|
|
67
|
+
// 1. Make all (new) Flashing Cells have a Predicate if none exists
|
|
68
68
|
const alertState = this.api.alertApi.getAlertState();
|
|
69
69
|
const flashingAlertDefinitions = alertState.FlashingAlertDefinitions;
|
|
70
70
|
const flashingCellDefinitions = this.api.flashingCellApi.getFlashingCellDefinitions();
|
|
@@ -92,10 +92,10 @@ class FlashingCellModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
92
92
|
const flashingCellForRow = this.api.internalApi.getAdaptableFlashingCellFor(menuContext.primaryKeyValue);
|
|
93
93
|
const flashingCellForCell = this.api.internalApi.getAdaptableFlashingCellFor(menuContext.primaryKeyValue, menuContext.adaptableColumn.columnId);
|
|
94
94
|
if (flashingCellForRow && flashingCellForRow.flashTarget === 'row') {
|
|
95
|
-
items.push(this.createColumnMenuItemReduxAction('Clear Flashing
|
|
95
|
+
items.push(this.createColumnMenuItemReduxAction('Clear Flashing Cell for Row', this.moduleInfo.Glyph, SystemRedux.SystemFlashingCellDelete(flashingCellForRow)));
|
|
96
96
|
}
|
|
97
97
|
else if (flashingCellForCell && flashingCellForCell.flashTarget === 'cell') {
|
|
98
|
-
items.push(this.createColumnMenuItemReduxAction('Clear Flashing
|
|
98
|
+
items.push(this.createColumnMenuItemReduxAction('Clear Flashing Cell for Cell', this.moduleInfo.Glyph, SystemRedux.SystemFlashingCellDelete(flashingCellForCell)));
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const HOST_URL_DOCS = "https://docs.adaptabletools.com
|
|
1
|
+
export declare const HOST_URL_DOCS = "https://docs.adaptabletools.com";
|
|
2
2
|
export declare const ExpressionEditorDocsLink: string;
|
|
3
3
|
export declare const BooleanQueryDocsLink: string;
|
|
4
4
|
export declare const ScalarQueryDocsLink: string;
|