@adaptabletools/adaptable 11.0.9 → 11.1.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 +19 -11
- package/bundle.cjs.js +125 -125
- package/index.css +23 -11
- package/package.json +2 -2
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -0
- package/src/AdaptableOptions/LayoutOptions.d.ts +5 -1
- package/src/Api/AlertApi.d.ts +2 -1
- package/src/Api/BulkUpdateApi.d.ts +5 -0
- package/src/Api/ConfigApi.d.ts +1 -1
- package/src/Api/EventApi.d.ts +1 -1
- package/src/Api/Events/GridDataChanged.d.ts +5 -1
- package/src/Api/GridApi.d.ts +23 -2
- package/src/Api/Implementation/AlertApiImpl.d.ts +4 -1
- package/src/Api/Implementation/AlertApiImpl.js +79 -52
- package/src/Api/Implementation/BulkUpdateApiImpl.d.ts +1 -0
- package/src/Api/Implementation/BulkUpdateApiImpl.js +4 -0
- package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ConfigApiImpl.js +7 -2
- package/src/Api/Implementation/GridApiImpl.d.ts +9 -1
- package/src/Api/Implementation/GridApiImpl.js +24 -3
- package/src/Api/Implementation/InternalApiImpl.d.ts +9 -2
- package/src/Api/Implementation/InternalApiImpl.js +37 -1
- package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -1
- package/src/Api/Implementation/LayoutApiImpl.js +19 -4
- package/src/Api/Implementation/ScheduleApiImpl.js +1 -0
- package/src/Api/Implementation/SettingsPanelApiImpl.js +7 -1
- package/src/Api/InternalApi.d.ts +9 -2
- package/src/Api/LayoutApi.d.ts +14 -3
- package/src/PredefinedConfig/AlertState.d.ts +7 -3
- package/src/PredefinedConfig/Common/AdaptableAlert.d.ts +35 -6
- package/src/PredefinedConfig/Common/AdaptableAlert.js +7 -0
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +20 -0
- package/src/PredefinedConfig/Common/CellHighlightInfo.d.ts +1 -1
- package/src/PredefinedConfig/Common/DataChangedInfo.d.ts +1 -1
- package/src/PredefinedConfig/Common/Entitlement.d.ts +2 -2
- package/src/PredefinedConfig/Common/Menu.d.ts +3 -0
- package/src/PredefinedConfig/Common/RowsHighlightInfo.d.ts +15 -0
- package/src/PredefinedConfig/Common/RowsHighlightInfo.js +2 -0
- package/src/PredefinedConfig/ConfigState.d.ts +4 -1
- package/src/PredefinedConfig/LayoutState.d.ts +1 -1
- package/src/PredefinedConfig/PopupState.d.ts +2 -1
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +4 -8
- package/src/Redux/ActionsReducers/PopupRedux.d.ts +18 -0
- package/src/Redux/ActionsReducers/PopupRedux.js +36 -1
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +11 -0
- package/src/Redux/ActionsReducers/SystemRedux.js +32 -1
- package/src/Redux/Store/AdaptableReduxMerger.d.ts +1 -0
- package/src/Redux/Store/AdaptableReduxMerger.js +40 -4
- package/src/Redux/Store/AdaptableStore.js +69 -27
- package/src/Strategy/AlertModule.d.ts +5 -3
- package/src/Strategy/AlertModule.js +60 -16
- package/src/Strategy/BulkUpdateModule.js +5 -0
- package/src/Strategy/ExportModule.js +1 -0
- package/src/Strategy/SmartEditModule.js +6 -0
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +1 -0
- package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +1 -1
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +6 -2
- package/src/Utilities/Interface/MessagePopups.d.ts +13 -0
- package/src/Utilities/ObjectFactory.d.ts +8 -6
- package/src/Utilities/ObjectFactory.js +26 -12
- package/src/Utilities/Services/LicenseService.js +1 -1
- package/src/Utilities/Services/ModuleService.js +1 -1
- package/src/Utilities/Services/ValidationService.js +1 -0
- package/src/View/AdaptableView.js +2 -0
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +16 -9
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +13 -3
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +2 -0
- package/src/View/Alert/Wizard/AlertWizard.js +83 -1
- package/src/View/CellSummary/CellSummaryViewPanel.js +1 -2
- package/src/View/Components/FilterForm/FilterForm.js +2 -2
- package/src/View/Components/Panels/PanelFooter.d.ts +10 -0
- package/src/View/Components/Panels/PanelFooter.js +14 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +12 -7
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +3 -1
- package/src/View/Components/Popups/{AdaptablePopup/Utilities.d.ts → Utilities.d.ts} +4 -0
- package/src/View/Components/Popups/{AdaptablePopup/Utilities.js → Utilities.js} +5 -2
- package/src/View/Components/Popups/WindowPopups/WindowPopups.d.ts +6 -0
- package/src/View/Components/Popups/WindowPopups/WindowPopups.js +32 -0
- package/src/View/Components/Popups/WindowPopups/windowFactory.d.ts +4 -0
- package/src/View/Components/Popups/WindowPopups/windowFactory.js +8 -0
- package/src/View/Layout/LayoutEditorStandalonePopup.d.ts +3 -0
- package/src/View/Layout/LayoutEditorStandalonePopup.js +76 -0
- package/src/View/Layout/LayoutPopup.js +3 -24
- package/src/View/Layout/LayoutViewPanel.d.ts +1 -4
- package/src/View/Layout/LayoutViewPanel.js +5 -18
- package/src/View/Layout/Wizard/LayoutEditor/ColumnLabels.d.ts +9 -0
- package/src/View/Layout/Wizard/LayoutEditor/ColumnLabels.js +55 -0
- package/src/View/Layout/Wizard/LayoutEditor/index.js +3 -68
- package/src/View/Layout/Wizard/LayoutEditorWizard.d.ts +1 -0
- package/src/View/Layout/Wizard/LayoutEditorWizard.js +35 -7
- package/src/View/SystemStatus/SystemStatusEntityRow.js +1 -2
- package/src/agGrid/Adaptable.d.ts +4 -2
- package/src/agGrid/Adaptable.js +65 -69
- package/src/agGrid/agGridHelper.d.ts +1 -1
- package/src/agGrid/agGridHelper.js +23 -8
- package/src/agGrid/editors/AdaptableDateEditor/index.js +1 -1
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +1 -1
- package/src/components/Dialog/index.js +1 -1
- package/src/components/Modal/index.js +1 -1
- package/src/components/WindowModal/WindowModal.d.ts +10 -8
- package/src/components/WindowModal/WindowModal.js +4 -2
- package/src/components/WindowModal/useStacking.d.ts +9 -0
- package/src/components/WindowModal/useStacking.js +45 -0
- package/src/env.js +3 -3
- package/src/metamodel/adaptable.metamodel.d.ts +51 -11
- package/src/metamodel/adaptable.metamodel.js +122 -21
- package/src/types.d.ts +3 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -220,6 +220,9 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
220
220
|
getPrimaryKeyValueForRowNode(rowNode) {
|
|
221
221
|
return this.adaptable.getPrimaryKeyValueFromRowNode(rowNode);
|
|
222
222
|
}
|
|
223
|
+
getPrimaryKeyValuesForRowNodes(rowNodes) {
|
|
224
|
+
return rowNodes.map((rowNode) => this.getPrimaryKeyValueForRowNode(rowNode));
|
|
225
|
+
}
|
|
223
226
|
setRowGroupColumns(columnIds) {
|
|
224
227
|
this.adaptable.setRowGroupColumns(columnIds);
|
|
225
228
|
}
|
|
@@ -282,12 +285,13 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
282
285
|
this.adaptable.api.eventApi.emit('CellChanged', cellChangedInfo);
|
|
283
286
|
}
|
|
284
287
|
}
|
|
285
|
-
fireGridDataChangedEvent(dataRows, rowNodes, rowTrigger) {
|
|
288
|
+
fireGridDataChangedEvent(dataRows, rowNodes = [], rowTrigger) {
|
|
286
289
|
if (this.adaptable.isInitialised) {
|
|
287
290
|
const gridDataChangedInfo = {
|
|
291
|
+
changedAt: Date.now(),
|
|
288
292
|
adaptableApi: this.adaptable.api,
|
|
289
|
-
rowTrigger
|
|
290
|
-
dataRows
|
|
293
|
+
rowTrigger,
|
|
294
|
+
dataRows,
|
|
291
295
|
rowNodes,
|
|
292
296
|
};
|
|
293
297
|
this.adaptable.api.eventApi.emit('GridDataChanged', gridDataChangedInfo);
|
|
@@ -326,9 +330,20 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
326
330
|
}, rowHighlightInfo.timeout);
|
|
327
331
|
}
|
|
328
332
|
}
|
|
333
|
+
highlightRows(rowHighlightInfos) {
|
|
334
|
+
this.dispatchAction(SystemRedux_1.SystemHighlightRowsAdd(rowHighlightInfos));
|
|
335
|
+
if (rowHighlightInfos.timeout) {
|
|
336
|
+
setTimeout(() => {
|
|
337
|
+
this.unHighlightRows(rowHighlightInfos.primaryKeyValues);
|
|
338
|
+
}, rowHighlightInfos.timeout);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
329
341
|
unHighlightRow(primaryKeyValue) {
|
|
330
342
|
this.dispatchAction(SystemRedux_1.SystemHighlightRowDelete(primaryKeyValue));
|
|
331
343
|
}
|
|
344
|
+
unHighlightRows(primaryKeyValues) {
|
|
345
|
+
this.dispatchAction(SystemRedux_1.SystemHighlightRowsDelete(primaryKeyValues));
|
|
346
|
+
}
|
|
332
347
|
unHighlightAllRows() {
|
|
333
348
|
this.dispatchAction(SystemRedux_1.SystemHighlightRowDeleteAll());
|
|
334
349
|
}
|
|
@@ -342,6 +357,9 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
342
357
|
refreshRowNode(rowNode) {
|
|
343
358
|
this.adaptable.redrawRow(rowNode);
|
|
344
359
|
}
|
|
360
|
+
refreshRowNodes(rowNodes) {
|
|
361
|
+
this.adaptable.redrawRows(rowNodes);
|
|
362
|
+
}
|
|
345
363
|
areCellsEditable(gridCells) {
|
|
346
364
|
for (let gridCell of gridCells) {
|
|
347
365
|
if (!gridCell.column) {
|
|
@@ -364,6 +382,9 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
364
382
|
getVisibleRowCount() {
|
|
365
383
|
return this.adaptable.getVisibleRowCount();
|
|
366
384
|
}
|
|
385
|
+
getRowsInViewport() {
|
|
386
|
+
return this.adaptable.getRowsInViewport();
|
|
387
|
+
}
|
|
367
388
|
getColumnCount() {
|
|
368
389
|
return this.adaptable.getColumnCount();
|
|
369
390
|
}
|
|
@@ -11,7 +11,7 @@ import { SelectedRowInfo } from '../../PredefinedConfig/Selection/SelectedRowInf
|
|
|
11
11
|
import { AdaptableModule, AdaptableQLModule } from '../../PredefinedConfig/Common/Types';
|
|
12
12
|
import { GridCell } from '../../PredefinedConfig/Selection/GridCell';
|
|
13
13
|
import { DataChangedInfo } from '../../PredefinedConfig/Common/DataChangedInfo';
|
|
14
|
-
import { AdaptableOptions, AdaptableState, AlertButtonContext, Layout, SystemStatusMessageInfo } from '../../types';
|
|
14
|
+
import { AdaptableCellChangedAlert, AdaptableOptions, AdaptableRowChangedAlert, AdaptableState, AlertButtonContext, Layout, SystemStatusMessageInfo } from '../../types';
|
|
15
15
|
import { IValidationService } from '../../Utilities/Services/Interface/IValidationService';
|
|
16
16
|
import { IModuleService } from '../../Utilities/Services/Interface/IModuleService';
|
|
17
17
|
import { IReportService } from '../../Utilities/Services/Interface/IReportService';
|
|
@@ -23,12 +23,13 @@ import { IEntitlementService } from '../../Utilities/Services/Interface/IEntitle
|
|
|
23
23
|
import { IQueryLanguageService } from '../../Utilities/Services/Interface/IQueryLanguageService';
|
|
24
24
|
import { IAlertService } from '../../Utilities/Services/Interface/IAlertService';
|
|
25
25
|
import { AdaptableFlashingCell } from '../../PredefinedConfig/Common/AdaptableFlashingCell';
|
|
26
|
+
import { RowNode } from '@ag-grid-community/all-modules';
|
|
26
27
|
import { ITeamSharingService } from '../../Utilities/Services/Interface/ITeamSharingService';
|
|
27
28
|
import { ColumnValuesComparer } from '../../AdaptableOptions/GeneralOptions';
|
|
28
29
|
import { ButtonStyle } from '../../PredefinedConfig/Common/ButtonStyle';
|
|
29
30
|
import { AdaptableButton, ButtonContext } from '../../PredefinedConfig/Common/AdaptableButton';
|
|
30
31
|
import { AdaptableForm } from '../../PredefinedConfig/Common/AdaptableForm';
|
|
31
|
-
import { AlertButtonForm } from '../../PredefinedConfig/AlertState';
|
|
32
|
+
import { AlertButtonForm, AlertDefinition } from '../../PredefinedConfig/AlertState';
|
|
32
33
|
import { AdaptableMessageType } from '../../PredefinedConfig/Common/AdaptableMessageType';
|
|
33
34
|
import { AdaptableFrameworkComponent } from '../../AdaptableOptions/AdaptableFrameworkComponent';
|
|
34
35
|
import { IMetamodelService } from '../../Utilities/Services/Interface/IMetamodelService';
|
|
@@ -40,6 +41,12 @@ export declare class InternalApiImpl extends ApiBase implements InternalApi {
|
|
|
40
41
|
})[];
|
|
41
42
|
}) | undefined;
|
|
42
43
|
getAdaptableAlerts(): AdaptableAlert[];
|
|
44
|
+
getAdaptableCellChangedAlerts(): AdaptableCellChangedAlert[];
|
|
45
|
+
getAdaptableRowChangedAlerts(): AdaptableRowChangedAlert[];
|
|
46
|
+
getAdaptableAlertWithHighlightCell(columnId: string, rowNode: RowNode): AdaptableAlert | undefined;
|
|
47
|
+
getAdaptableAlertWithHighlightRow(rowNode: RowNode): AdaptableAlert | undefined;
|
|
48
|
+
isAlertDefinitionForAddedRowChangeEvent(alertDefinition: AlertDefinition): boolean;
|
|
49
|
+
isAlertDefinitionForRemovedRowChangeEvent(alertDefinition: AlertDefinition): boolean;
|
|
43
50
|
getAdaptableFlashingCellFor(primaryKey: string, columnId?: string): AdaptableFlashingCell | null;
|
|
44
51
|
addSystemStatusMessageInfo(systemStatusMessageInfo: SystemStatusMessageInfo): void;
|
|
45
52
|
getSystemStatusMessageInfos(): SystemStatusMessageInfo[];
|
|
@@ -14,6 +14,7 @@ const StringExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Exte
|
|
|
14
14
|
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
15
15
|
const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
|
|
16
16
|
const ArrayExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/ArrayExtensions"));
|
|
17
|
+
const AdaptableAlert_1 = require("../../PredefinedConfig/Common/AdaptableAlert");
|
|
17
18
|
const waitForCondition_1 = require("../../Utilities/waitForCondition");
|
|
18
19
|
class InternalApiImpl extends ApiBase_1.ApiBase {
|
|
19
20
|
getSystemState() {
|
|
@@ -60,7 +61,42 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
|
|
|
60
61
|
return adaptableAlertForm;
|
|
61
62
|
}
|
|
62
63
|
getAdaptableAlerts() {
|
|
63
|
-
|
|
64
|
+
var _a;
|
|
65
|
+
return (_a = this.getSystemState().AdaptableAlerts) !== null && _a !== void 0 ? _a : [];
|
|
66
|
+
}
|
|
67
|
+
getAdaptableCellChangedAlerts() {
|
|
68
|
+
return this.getAdaptableAlerts().filter(AdaptableAlert_1.isAdaptableCellChangedAlert);
|
|
69
|
+
}
|
|
70
|
+
getAdaptableRowChangedAlerts() {
|
|
71
|
+
return this.getAdaptableAlerts().filter(AdaptableAlert_1.isAdaptableRowChangedAlert);
|
|
72
|
+
}
|
|
73
|
+
getAdaptableAlertWithHighlightCell(columnId, rowNode) {
|
|
74
|
+
// only alerts triggered by cell changes are relevant for HighlightCell actions
|
|
75
|
+
return this.getAdaptableCellChangedAlerts().find((alert) => {
|
|
76
|
+
var _a, _b, _c, _d;
|
|
77
|
+
return ((_a = alert.alertDefinition.AlertProperties) === null || _a === void 0 ? void 0 : _a.HighlightCell) &&
|
|
78
|
+
((_c = (_b = alert.dataChangedInfo) === null || _b === void 0 ? void 0 : _b.column) === null || _c === void 0 ? void 0 : _c.columnId) === columnId &&
|
|
79
|
+
((_d = alert.dataChangedInfo) === null || _d === void 0 ? void 0 : _d.rowNode) === rowNode;
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
getAdaptableAlertWithHighlightRow(rowNode) {
|
|
83
|
+
// only alerts triggered by row changes are relevant for HighlightRow actions
|
|
84
|
+
return this.getAdaptableRowChangedAlerts().find((alert) => {
|
|
85
|
+
var _a;
|
|
86
|
+
if (((_a = alert.alertDefinition.AlertProperties) === null || _a === void 0 ? void 0 : _a.HighlightRow) && alert.gridDataChangedInfo) {
|
|
87
|
+
return alert.gridDataChangedInfo.rowNodes.map((rowNode) => rowNode.id).includes(rowNode.id);
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
isAlertDefinitionForAddedRowChangeEvent(alertDefinition) {
|
|
92
|
+
var _a, _b;
|
|
93
|
+
const addedRowPredicate = 'AddedRow';
|
|
94
|
+
return ((_b = (_a = alertDefinition === null || alertDefinition === void 0 ? void 0 : alertDefinition.Rule) === null || _a === void 0 ? void 0 : _a.Predicate) === null || _b === void 0 ? void 0 : _b.PredicateId) === addedRowPredicate;
|
|
95
|
+
}
|
|
96
|
+
isAlertDefinitionForRemovedRowChangeEvent(alertDefinition) {
|
|
97
|
+
var _a, _b;
|
|
98
|
+
const removedRowPredicate = 'RemovedRow';
|
|
99
|
+
return ((_b = (_a = alertDefinition === null || alertDefinition === void 0 ? void 0 : alertDefinition.Rule) === null || _a === void 0 ? void 0 : _a.Predicate) === null || _b === void 0 ? void 0 : _b.PredicateId) === removedRowPredicate;
|
|
64
100
|
}
|
|
65
101
|
getAdaptableFlashingCellFor(primaryKey, columnId) {
|
|
66
102
|
var _a;
|
|
@@ -32,10 +32,11 @@ export declare class LayoutApiImpl extends ApiBase implements LayoutApi {
|
|
|
32
32
|
createDefaultLayoutIfNeeded(): Layout | null;
|
|
33
33
|
showChangeColumnCaption(column: AdaptableColumn): void;
|
|
34
34
|
showLayoutPopup(): void;
|
|
35
|
-
showLayoutEditor(): void;
|
|
35
|
+
showLayoutEditor(layoutName?: string, action?: string): void;
|
|
36
36
|
isCurrentLayoutReadOnly(): boolean;
|
|
37
37
|
deleteLayout(layout: Layout): void;
|
|
38
38
|
deleteLayoutByName(layoutName: string): void;
|
|
39
39
|
isDefaultLayout(layout: Layout): boolean;
|
|
40
40
|
isCurrentLayoutDefault(): boolean;
|
|
41
|
+
areExpandedRowGroupsSavedInLayouts(): boolean;
|
|
41
42
|
}
|
|
@@ -17,6 +17,7 @@ const Enums_1 = require("../../PredefinedConfig/Common/Enums");
|
|
|
17
17
|
const ArrayExtensions_1 = require("../../Utilities/Extensions/ArrayExtensions");
|
|
18
18
|
const PopupRedux_1 = require("../../Redux/ActionsReducers/PopupRedux");
|
|
19
19
|
const LayoutRedux_1 = require("../../Redux/ActionsReducers/LayoutRedux");
|
|
20
|
+
const windowFactory_1 = require("../../View/Components/Popups/WindowPopups/windowFactory");
|
|
20
21
|
class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
21
22
|
constructor() {
|
|
22
23
|
super(...arguments);
|
|
@@ -249,10 +250,20 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
249
250
|
showLayoutPopup() {
|
|
250
251
|
this.showModulePopup(ModuleConstants.LayoutModuleId);
|
|
251
252
|
}
|
|
252
|
-
showLayoutEditor() {
|
|
253
|
-
this.
|
|
254
|
-
|
|
255
|
-
|
|
253
|
+
showLayoutEditor(layoutName, action = 'Edit') {
|
|
254
|
+
const layout = layoutName ? this.getLayoutByName(layoutName) : this.getCurrentLayout();
|
|
255
|
+
let preparedAction = action;
|
|
256
|
+
if (!['Edit', 'New', 'Clone'].includes(action)) {
|
|
257
|
+
preparedAction = 'Edit';
|
|
258
|
+
LoggingHelper_1.LogAdaptableError(`When opening the layout editor the action must be one of: New, Clone, Edit; given: ${action}`);
|
|
259
|
+
}
|
|
260
|
+
this.dispatchAction(PopupRedux.PopupShowWindow({
|
|
261
|
+
Id: windowFactory_1.WINDOW_LAYOUT_EDITOR,
|
|
262
|
+
Title: `Edit Layout: ${layout.Name}`,
|
|
263
|
+
PopupProps: {
|
|
264
|
+
action: preparedAction,
|
|
265
|
+
layout,
|
|
266
|
+
},
|
|
256
267
|
}));
|
|
257
268
|
}
|
|
258
269
|
isCurrentLayoutReadOnly() {
|
|
@@ -288,5 +299,9 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
288
299
|
isCurrentLayoutDefault() {
|
|
289
300
|
return this.isDefaultLayout(this.getCurrentLayout());
|
|
290
301
|
}
|
|
302
|
+
areExpandedRowGroupsSavedInLayouts() {
|
|
303
|
+
return (this.getLayoutOptions().includeExpandedRowGroups ||
|
|
304
|
+
this.getLayoutOptions().displayRowGroups === 'dynamic');
|
|
305
|
+
}
|
|
291
306
|
}
|
|
292
307
|
exports.LayoutApiImpl = LayoutApiImpl;
|
|
@@ -167,6 +167,7 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
167
167
|
const reminderSchedule = schedule;
|
|
168
168
|
// const reminder: Reminder = reminderSchedule.Reminder;
|
|
169
169
|
const alert = {
|
|
170
|
+
alertType: 'generic',
|
|
170
171
|
header: reminderSchedule.Header,
|
|
171
172
|
message: reminderSchedule.Message,
|
|
172
173
|
alertDefinition: {
|
|
@@ -4,9 +4,15 @@ exports.SettingsPanelApiImpl = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const ApiBase_1 = require("./ApiBase");
|
|
6
6
|
const PopupRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/PopupRedux"));
|
|
7
|
+
const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
|
|
7
8
|
class SettingsPanelApiImpl extends ApiBase_1.ApiBase {
|
|
8
9
|
showSettingsPanel(moduleName) {
|
|
9
|
-
this.
|
|
10
|
+
const moduleInfo = this.adaptable.ModuleService.getModuleInfoByModule(moduleName);
|
|
11
|
+
if (!moduleInfo) {
|
|
12
|
+
LoggingHelper_1.LogAdaptableError(`${moduleName} module does not exist`);
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.dispatchAction(PopupRedux.PopupShowScreen(moduleName, moduleInfo.Popup));
|
|
10
16
|
}
|
|
11
17
|
showCustomSettingsPanel(name) {
|
|
12
18
|
this.dispatchAction(PopupRedux.PopupShowScreen(null, name));
|
package/src/Api/InternalApi.d.ts
CHANGED
|
@@ -15,9 +15,9 @@ import { IReportService } from '../Utilities/Services/Interface/IReportService';
|
|
|
15
15
|
import { ICalculatedColumnExpressionService } from '../Utilities/Services/Interface/ICalculatedColumnExpressionService';
|
|
16
16
|
import { AdaptableOptions } from '../AdaptableOptions/AdaptableOptions';
|
|
17
17
|
import { Layout } from '../PredefinedConfig/LayoutState';
|
|
18
|
-
import { AdaptableAlert } from '../PredefinedConfig/Common/AdaptableAlert';
|
|
18
|
+
import { AdaptableAlert, AdaptableCellChangedAlert, AdaptableRowChangedAlert } from '../PredefinedConfig/Common/AdaptableAlert';
|
|
19
19
|
import { IDataService } from '../Utilities/Services/Interface/IDataService';
|
|
20
|
-
import { AdaptableMessageType, DataChangedInfo, SystemStatusMessageInfo } from '../types';
|
|
20
|
+
import { AdaptableMessageType, AlertDefinition, DataChangedInfo, SystemStatusMessageInfo } from '../types';
|
|
21
21
|
import { IEntitlementService } from '../Utilities/Services/Interface/IEntitlementService';
|
|
22
22
|
import { AdaptableFlashingCell } from '../PredefinedConfig/Common/AdaptableFlashingCell';
|
|
23
23
|
import { IQueryLanguageService } from '../Utilities/Services/Interface/IQueryLanguageService';
|
|
@@ -31,6 +31,7 @@ import { AdaptableForm } from '../PredefinedConfig/Common/AdaptableForm';
|
|
|
31
31
|
import { AlertButtonForm } from '../PredefinedConfig/AlertState';
|
|
32
32
|
import { AdaptableFrameworkComponent } from '../AdaptableOptions/AdaptableFrameworkComponent';
|
|
33
33
|
import { IMetamodelService } from '../Utilities/Services/Interface/IMetamodelService';
|
|
34
|
+
import { RowNode } from '@ag-grid-community/all-modules';
|
|
34
35
|
/**
|
|
35
36
|
* This set of api methods is designed for **internal use of Adaptable** only.
|
|
36
37
|
*
|
|
@@ -44,6 +45,12 @@ export interface InternalApi {
|
|
|
44
45
|
})[];
|
|
45
46
|
};
|
|
46
47
|
getAdaptableAlerts(): AdaptableAlert[];
|
|
48
|
+
getAdaptableCellChangedAlerts(): AdaptableCellChangedAlert[];
|
|
49
|
+
getAdaptableRowChangedAlerts(): AdaptableRowChangedAlert[];
|
|
50
|
+
getAdaptableAlertWithHighlightCell(columnId: string, rowNode: RowNode): AdaptableAlert | undefined;
|
|
51
|
+
getAdaptableAlertWithHighlightRow(rowNode: RowNode): AdaptableAlert | undefined;
|
|
52
|
+
isAlertDefinitionForAddedRowChangeEvent(alertDefinition: AlertDefinition): boolean;
|
|
53
|
+
isAlertDefinitionForRemovedRowChangeEvent(alertDefinition: AlertDefinition): boolean;
|
|
47
54
|
showPopupConfirmation(confirmation: UIConfirmation): void;
|
|
48
55
|
getAdaptableFlashingCellFor(primaryKey: string, columnId?: string): AdaptableFlashingCell | null;
|
|
49
56
|
addSystemStatusMessageInfo(systemStatusMessageInfo: SystemStatusMessageInfo): void;
|
package/src/Api/LayoutApi.d.ts
CHANGED
|
@@ -124,13 +124,20 @@ export interface LayoutApi {
|
|
|
124
124
|
*/
|
|
125
125
|
createDefaultLayoutIfNeeded(): Layout | null;
|
|
126
126
|
/**
|
|
127
|
-
* Opens Settings Panel with Layout section selected
|
|
127
|
+
* Opens Settings Panel with Layout section selected
|
|
128
128
|
*/
|
|
129
129
|
showLayoutPopup(): void;
|
|
130
130
|
/**
|
|
131
|
-
* Opens
|
|
131
|
+
* Opens Layout Editor - for Current or a named Layout
|
|
132
|
+
*
|
|
133
|
+
* @param layoutName Name of Layout to be edited or cloned; if not specified, uses Current Layout
|
|
134
|
+
* @param action Whether to edit/clone, or create a new, Layout
|
|
135
|
+
*/
|
|
136
|
+
showLayoutEditor(layoutName?: string,
|
|
137
|
+
/**
|
|
138
|
+
* @defaultValue 'Edit'
|
|
132
139
|
*/
|
|
133
|
-
|
|
140
|
+
action?: 'New' | 'Clone' | 'Edit'): void;
|
|
134
141
|
/**
|
|
135
142
|
* Sets a new Caption / Header for a Column (this Layout only)
|
|
136
143
|
* @param columnId Column to Update
|
|
@@ -166,4 +173,8 @@ export interface LayoutApi {
|
|
|
166
173
|
* Checks if the Current Layout is Default Layout
|
|
167
174
|
*/
|
|
168
175
|
isCurrentLayoutDefault(): boolean;
|
|
176
|
+
/**
|
|
177
|
+
* Returns true if Layouts will contain Expanded Row Groups information
|
|
178
|
+
*/
|
|
179
|
+
areExpandedRowGroupsSavedInLayouts(): boolean;
|
|
169
180
|
}
|
|
@@ -65,7 +65,7 @@ export declare type AlertRule = XOR<{
|
|
|
65
65
|
* Alert Query which may be either a Boolean, Observable or AggregatedBoolean Expression
|
|
66
66
|
*/
|
|
67
67
|
export declare type AdaptableAlertQuery = XOR<AdaptableBooleanQuery, XOR<AdaptableObservableQuery, AdaptableAggregatedBooleanQuery>>;
|
|
68
|
-
export declare type AdaptableAlertAction = 'highlight-cell' | 'jump-to-cell' | 'jump-to-row' | 'jump-to-column' | 'suspend' | 'undo';
|
|
68
|
+
export declare type AdaptableAlertAction = 'highlight-cell' | 'highlight-row' | 'jump-to-cell' | 'jump-to-row' | 'jump-to-column' | 'suspend' | 'undo';
|
|
69
69
|
/**
|
|
70
70
|
* Defines a button that appears in an Alert Form
|
|
71
71
|
*/
|
|
@@ -105,9 +105,13 @@ export interface AlertProperties {
|
|
|
105
105
|
*/
|
|
106
106
|
HighlightRow?: boolean | AdaptableStyle;
|
|
107
107
|
/**
|
|
108
|
-
* Grid will 'jump' to the cell which triggered the Alert
|
|
108
|
+
* Grid will 'jump' to the changed cell which triggered the Alert
|
|
109
109
|
*/
|
|
110
110
|
JumpToCell?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Grid will 'jump' to the newly added row which triggered the Alert
|
|
113
|
+
*/
|
|
114
|
+
JumpToRow?: boolean;
|
|
111
115
|
/**
|
|
112
116
|
* Shows Alert text in the div specificed in `alertContainer` property of Container Options
|
|
113
117
|
*/
|
|
@@ -122,4 +126,4 @@ export interface AlertProperties {
|
|
|
122
126
|
*/
|
|
123
127
|
PreventEdit?: boolean;
|
|
124
128
|
}
|
|
125
|
-
export declare type SystemAlertPredicateId = 'Blanks' | 'NonBlanks' | 'Equals' | 'NotEquals' | 'GreaterThan' | 'LessThan' | 'Positive' | 'Negative' | 'Zero' | 'Between' | 'NotBetween' | 'Is' | 'IsNot' | 'Contains' | 'NotContains' | 'StartsWith' | 'EndsWith' | 'Regex' | 'Today' | 'Yesterday' | 'Tomorrow' | 'ThisWeek' | 'ThisMonth' | 'ThisQuarter' | 'ThisYear' | 'InPast' | 'InFuture' | 'Before' | 'After' | 'On' | 'NotOn' | 'NextWorkDay' | 'LastWorkDay' | 'True' | 'False' | 'PercentChange' | 'PrimaryKeyDuplicate' | 'ExistingValuesOnly' | 'NoDuplicateValues' | 'IsNumeric' | 'Any';
|
|
129
|
+
export declare type SystemAlertPredicateId = 'Blanks' | 'NonBlanks' | 'Equals' | 'NotEquals' | 'GreaterThan' | 'LessThan' | 'Positive' | 'Negative' | 'Zero' | 'Between' | 'NotBetween' | 'Is' | 'IsNot' | 'Contains' | 'NotContains' | 'StartsWith' | 'EndsWith' | 'Regex' | 'Today' | 'Yesterday' | 'Tomorrow' | 'ThisWeek' | 'ThisMonth' | 'ThisQuarter' | 'ThisYear' | 'InPast' | 'InFuture' | 'Before' | 'After' | 'On' | 'NotOn' | 'NextWorkDay' | 'LastWorkDay' | 'True' | 'False' | 'PercentChange' | 'PrimaryKeyDuplicate' | 'ExistingValuesOnly' | 'NoDuplicateValues' | 'IsNumeric' | 'AddedRow' | 'RemovedRow' | 'Any';
|
|
@@ -1,9 +1,40 @@
|
|
|
1
1
|
import { AdaptableObject } from './AdaptableObject';
|
|
2
|
-
import {
|
|
2
|
+
import { DataChangedInfo } from './DataChangedInfo';
|
|
3
|
+
import { GridDataChangedInfo } from '../../Api/Events/GridDataChanged';
|
|
4
|
+
import { AlertDefinition } from '../AlertState';
|
|
3
5
|
/**
|
|
4
6
|
* Defines an Alert fired by AdapTable
|
|
5
7
|
*/
|
|
6
|
-
export
|
|
8
|
+
export declare type AdaptableAlert = AdaptableCellChangedAlert | AdaptableRowChangedAlert | AdaptableGenericAlert;
|
|
9
|
+
export declare type AdaptableAlertType = 'generic' | 'cellChange' | 'rowChange';
|
|
10
|
+
export interface AdaptableGenericAlert extends AdaptableAlertBase<'generic'> {
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Defines an Alert fired by AdapTable when a cell is changed
|
|
14
|
+
*/
|
|
15
|
+
export interface AdaptableCellChangedAlert extends AdaptableAlertBase<'cellChanged'> {
|
|
16
|
+
/**
|
|
17
|
+
* Cell DataChange which triggered Alert
|
|
18
|
+
*/
|
|
19
|
+
dataChangedInfo: DataChangedInfo;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Defines an Alert fired by AdapTable when a row is changed
|
|
23
|
+
*/
|
|
24
|
+
export interface AdaptableRowChangedAlert extends AdaptableAlertBase<'rowChanged'> {
|
|
25
|
+
/**
|
|
26
|
+
* Row DataChange which triggered Alert
|
|
27
|
+
*/
|
|
28
|
+
gridDataChangedInfo: GridDataChangedInfo;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Defines the base(common) properties of an Alert fired by AdapTable, regardless of the type of change
|
|
32
|
+
*/
|
|
33
|
+
export interface AdaptableAlertBase<T> extends AdaptableObject {
|
|
34
|
+
/**
|
|
35
|
+
* The type of Alert
|
|
36
|
+
*/
|
|
37
|
+
alertType: T;
|
|
7
38
|
/**
|
|
8
39
|
* Alert Header text
|
|
9
40
|
*/
|
|
@@ -16,8 +47,6 @@ export interface AdaptableAlert extends AdaptableObject {
|
|
|
16
47
|
* Rule that caused Alert to fire
|
|
17
48
|
*/
|
|
18
49
|
alertDefinition: AlertDefinition;
|
|
19
|
-
/**
|
|
20
|
-
* DataChange which triggered Alert
|
|
21
|
-
*/
|
|
22
|
-
dataChangedInfo?: DataChangedInfo;
|
|
23
50
|
}
|
|
51
|
+
export declare const isAdaptableCellChangedAlert: (alert: AdaptableAlert) => alert is AdaptableCellChangedAlert;
|
|
52
|
+
export declare const isAdaptableRowChangedAlert: (alert: AdaptableAlert) => alert is AdaptableRowChangedAlert;
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isAdaptableRowChangedAlert = exports.isAdaptableCellChangedAlert = void 0;
|
|
4
|
+
exports.isAdaptableCellChangedAlert = (alert) => {
|
|
5
|
+
return alert.alertType === 'cellChanged';
|
|
6
|
+
};
|
|
7
|
+
exports.isAdaptableRowChangedAlert = (alert) => {
|
|
8
|
+
return alert.alertType === 'rowChanged';
|
|
9
|
+
};
|
|
@@ -495,5 +495,25 @@ exports.SystemPredicateDefs = [
|
|
|
495
495
|
return distinctValues.includes(value);
|
|
496
496
|
},
|
|
497
497
|
},
|
|
498
|
+
{
|
|
499
|
+
id: 'AddedRow',
|
|
500
|
+
label: 'Added Row(s)',
|
|
501
|
+
columnScope: { All: true },
|
|
502
|
+
moduleScope: ['alert'],
|
|
503
|
+
handler: () => {
|
|
504
|
+
// handled in AlertModule as an eventHandler
|
|
505
|
+
return false;
|
|
506
|
+
},
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
id: 'RemovedRow',
|
|
510
|
+
label: 'Removed Row(s)',
|
|
511
|
+
columnScope: { All: true },
|
|
512
|
+
moduleScope: ['alert'],
|
|
513
|
+
handler: () => {
|
|
514
|
+
// handled in AlertModule as an eventHandler
|
|
515
|
+
return false;
|
|
516
|
+
},
|
|
517
|
+
},
|
|
498
518
|
];
|
|
499
519
|
exports.SystemFilterPredicateIds = exports.SystemPredicateDefs.filter((p) => p.moduleScope.includes('filter')).map((p) => p.id);
|
|
@@ -5,11 +5,11 @@ export interface Entitlement {
|
|
|
5
5
|
*/
|
|
6
6
|
adaptableModule: AdaptableModule;
|
|
7
7
|
/**
|
|
8
|
-
* Access Level for an Entitlement; options are:
|
|
8
|
+
* Access Level for an Entitlement; options are: `Full` `ReadOnly` `Hidden`
|
|
9
9
|
*/
|
|
10
10
|
accessLevel: AccessLevel;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* Defines Access Level for an Entitlement - can be
|
|
13
|
+
* Defines Access Level for an Entitlement - can be `ReadOnly`, `Hidden` or `Full`
|
|
14
14
|
*/
|
|
15
15
|
export declare type AccessLevel = 'ReadOnly' | 'Hidden' | 'Full';
|
|
@@ -68,6 +68,9 @@ export interface UserMenuItem<CONTEXT_TYPE extends BaseMenuContext> {
|
|
|
68
68
|
*/
|
|
69
69
|
subMenuItems?: UserMenuItem<CONTEXT_TYPE>[];
|
|
70
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
* Base Context object used for both Column and Context Menu Context
|
|
73
|
+
*/
|
|
71
74
|
export interface BaseMenuContext {
|
|
72
75
|
/**
|
|
73
76
|
* The Adaptable Api - included as a convenience
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AdaptableStyle } from '../../../types';
|
|
2
|
+
export interface RowsHighlightInfo {
|
|
3
|
+
/**
|
|
4
|
+
* Primary key valuse for the rows to be highlighted
|
|
5
|
+
*/
|
|
6
|
+
primaryKeyValues: any[];
|
|
7
|
+
/**
|
|
8
|
+
* Timeout after which the highlight is removed
|
|
9
|
+
*/
|
|
10
|
+
timeout?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Highlight style
|
|
13
|
+
*/
|
|
14
|
+
highlightStyle: AdaptableStyle;
|
|
15
|
+
}
|
|
@@ -5,5 +5,8 @@ export interface ConfigState {
|
|
|
5
5
|
/**
|
|
6
6
|
* Version number of the Item - allows developers to update one section in Predefined Config while keeping others unchanged
|
|
7
7
|
*/
|
|
8
|
-
Revision?: number
|
|
8
|
+
Revision?: number | {
|
|
9
|
+
Key: number;
|
|
10
|
+
UpdateStrategy: 'Override' | 'KeepUserDefined';
|
|
11
|
+
};
|
|
9
12
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { ScreenPopup, AlertPopup, ConfirmationPopup, PromptPopup, LoadingPopup } from '../Utilities/Interface/MessagePopups';
|
|
1
|
+
import { ScreenPopup, AlertPopup, ConfirmationPopup, PromptPopup, LoadingPopup, WindowPopup } from '../Utilities/Interface/MessagePopups';
|
|
2
2
|
import { InternalState } from './InternalState';
|
|
3
3
|
/**
|
|
4
4
|
* Internal state to manage open popups - NOT persisted by Redux
|
|
5
5
|
*/
|
|
6
6
|
export interface PopupState extends InternalState {
|
|
7
7
|
ScreenPopup: ScreenPopup;
|
|
8
|
+
WindowPopup: WindowPopup;
|
|
8
9
|
AlertPopup: AlertPopup;
|
|
9
10
|
ConfirmationPopup: ConfirmationPopup;
|
|
10
11
|
PromptPopup: PromptPopup;
|
|
@@ -64,28 +64,24 @@ exports.FlashingCellReducer = (state = initialState, action) => {
|
|
|
64
64
|
let flashingCellDefinitions;
|
|
65
65
|
switch (action.type) {
|
|
66
66
|
case exports.FLASHING_CELL_DEFINITION_SET: {
|
|
67
|
-
const actionFlashingCellDefinition = action
|
|
68
|
-
.flashingCellDefinitions;
|
|
67
|
+
const actionFlashingCellDefinition = action.flashingCellDefinitions;
|
|
69
68
|
return Object.assign(Object.assign({}, state), { FlashingCellDefinitions: actionFlashingCellDefinition });
|
|
70
69
|
}
|
|
71
70
|
case exports.FLASHING_CELL_DEFINITION_ADD: {
|
|
72
|
-
const actionFlashingCellDefinition = action
|
|
73
|
-
.flashingCellDefinition;
|
|
71
|
+
const actionFlashingCellDefinition = action.flashingCellDefinition;
|
|
74
72
|
AdaptableHelper_1.default.addUuidAndSource(actionFlashingCellDefinition);
|
|
75
73
|
flashingCellDefinitions = [].concat(state.FlashingCellDefinitions);
|
|
76
74
|
flashingCellDefinitions.push(actionFlashingCellDefinition);
|
|
77
75
|
return Object.assign(Object.assign({}, state), { FlashingCellDefinitions: flashingCellDefinitions });
|
|
78
76
|
}
|
|
79
77
|
case exports.FLASHING_CELL_DEFINITION_EDIT: {
|
|
80
|
-
const actionFlashingCellDefinition = action
|
|
81
|
-
.flashingCellDefinition;
|
|
78
|
+
const actionFlashingCellDefinition = action.flashingCellDefinition;
|
|
82
79
|
return Object.assign(Object.assign({}, state), { FlashingCellDefinitions: state.FlashingCellDefinitions.map((abObject) => abObject.Uuid === actionFlashingCellDefinition.Uuid
|
|
83
80
|
? actionFlashingCellDefinition
|
|
84
81
|
: abObject) });
|
|
85
82
|
}
|
|
86
83
|
case exports.FLASHING_CELL_DEFINITION_DELETE: {
|
|
87
|
-
const actionFlashingCellDefinition = action
|
|
88
|
-
.flashingCellDefinition;
|
|
84
|
+
const actionFlashingCellDefinition = action.flashingCellDefinition;
|
|
89
85
|
return Object.assign(Object.assign({}, state), { FlashingCellDefinitions: state.FlashingCellDefinitions.filter((abObject) => abObject.Uuid !== actionFlashingCellDefinition.Uuid) });
|
|
90
86
|
}
|
|
91
87
|
case exports.FLASHING_CELL_DEFINITION_SUSPEND: {
|
|
@@ -17,6 +17,8 @@ export declare const POPUP_SHOW_CONFIRMATION = "POPUP_SHOW_CONFIRMATION";
|
|
|
17
17
|
export declare const POPUP_CONFIRM_CONFIRMATION = "POPUP_CONFIRM_CONFIRMATION";
|
|
18
18
|
export declare const POPUP_CANCEL_CONFIRMATION = "POPUP_CANCEL_CONFIRMATION";
|
|
19
19
|
export declare const POPUP_CLEAR_PARAM = "POPUP_CLEAR_PARAM";
|
|
20
|
+
export declare const POPUP_WINDOW_SHOW_SCREEN = "POPUP_WINDOW_SHOW_SCREEN";
|
|
21
|
+
export declare const POPUP_WINDOW_HIDE_SCREEN = "POPUP_WINDOW_HIDE_SCREEN";
|
|
20
22
|
export interface PopupShowScreenAction extends Redux.Action {
|
|
21
23
|
ComponentModule: AdaptableModule;
|
|
22
24
|
ComponentName: string;
|
|
@@ -27,6 +29,15 @@ export interface PopupShowScreenAction extends Redux.Action {
|
|
|
27
29
|
}
|
|
28
30
|
export interface PopupHideScreenAction extends Redux.Action {
|
|
29
31
|
}
|
|
32
|
+
export interface PopupShowWindowAction extends Redux.Action {
|
|
33
|
+
Id: string;
|
|
34
|
+
Title: string;
|
|
35
|
+
PopupProps: any;
|
|
36
|
+
Icon?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface PopupHideWindowAction extends Redux.Action {
|
|
39
|
+
Id: string;
|
|
40
|
+
}
|
|
30
41
|
export interface PopupShowLoadingAction extends Redux.Action {
|
|
31
42
|
}
|
|
32
43
|
export interface PopupHideLoadingAction extends Redux.Action {
|
|
@@ -57,6 +68,13 @@ export declare const PopupShowScreen: (componentModule?: AdaptableModule, compon
|
|
|
57
68
|
[key: string]: any;
|
|
58
69
|
}) => PopupShowScreenAction;
|
|
59
70
|
export declare const PopupHideScreen: () => PopupHideScreenAction;
|
|
71
|
+
export declare const PopupShowWindow: (config: {
|
|
72
|
+
Id: string;
|
|
73
|
+
Title: string;
|
|
74
|
+
PopupProps?: any;
|
|
75
|
+
Icon?: string;
|
|
76
|
+
}) => PopupShowWindowAction;
|
|
77
|
+
export declare const PopupWindowHide: (id: string) => PopupHideWindowAction;
|
|
60
78
|
export declare const PopupShowAlert: (alert: AdaptableAlert) => PopupShowAlertAction;
|
|
61
79
|
export declare const PopupHideAlert: () => PopupHideAlertAction;
|
|
62
80
|
export declare const PopupShowLoading: () => PopupShowLoadingAction;
|