@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
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Used to facilitate the stacking between multiple opened windows.
|
|
3
|
+
* When calling 'bringToFront' brings caller to top.
|
|
4
|
+
* This is done by changing the zIndex of all registered window-modals.
|
|
5
|
+
*/
|
|
6
|
+
export declare const useStacking: () => {
|
|
7
|
+
zIndex: number;
|
|
8
|
+
bringInFront: () => void;
|
|
9
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useStacking = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const React = tslib_1.__importStar(require("react"));
|
|
6
|
+
const uuid_1 = tslib_1.__importDefault(require("uuid"));
|
|
7
|
+
const setZIndexMap = {};
|
|
8
|
+
const zIndexMap = [];
|
|
9
|
+
const BASE_Z_INDEX = 1000;
|
|
10
|
+
/**
|
|
11
|
+
* Used to facilitate the stacking between multiple opened windows.
|
|
12
|
+
* When calling 'bringToFront' brings caller to top.
|
|
13
|
+
* This is done by changing the zIndex of all registered window-modals.
|
|
14
|
+
*/
|
|
15
|
+
exports.useStacking = () => {
|
|
16
|
+
const modalZIndexId = React.useMemo(() => uuid_1.default(), []);
|
|
17
|
+
const [zIndex, setZIndex] = React.useState(BASE_Z_INDEX);
|
|
18
|
+
React.useEffect(() => {
|
|
19
|
+
setZIndexMap[modalZIndexId] = setZIndex;
|
|
20
|
+
return () => {
|
|
21
|
+
// clean-up
|
|
22
|
+
delete setZIndexMap[modalZIndexId];
|
|
23
|
+
const indexInMap = zIndexMap.indexOf(modalZIndexId);
|
|
24
|
+
zIndexMap.splice(indexInMap, 1);
|
|
25
|
+
};
|
|
26
|
+
}, [modalZIndexId]);
|
|
27
|
+
const bringInFront = React.useCallback(() => {
|
|
28
|
+
if (zIndexMap.includes(modalZIndexId)) {
|
|
29
|
+
const indexInMap = zIndexMap.indexOf(modalZIndexId);
|
|
30
|
+
zIndexMap.splice(indexInMap, 1);
|
|
31
|
+
zIndexMap.push(modalZIndexId);
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
zIndexMap.push(modalZIndexId);
|
|
35
|
+
}
|
|
36
|
+
zIndexMap.forEach((id, index) => {
|
|
37
|
+
var _a;
|
|
38
|
+
(_a = setZIndexMap === null || setZIndexMap === void 0 ? void 0 : setZIndexMap[id]) === null || _a === void 0 ? void 0 : _a.call(setZIndexMap, BASE_Z_INDEX + index * 10);
|
|
39
|
+
});
|
|
40
|
+
}, []);
|
|
41
|
+
return {
|
|
42
|
+
zIndex,
|
|
43
|
+
bringInFront,
|
|
44
|
+
};
|
|
45
|
+
};
|
package/src/env.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = {
|
|
4
|
-
IPUSHPULL_API_KEY:
|
|
5
|
-
IPUSHPULL_API_SECRET:
|
|
6
|
-
INFINITE_TABLE_LICENSE_KEY:
|
|
4
|
+
IPUSHPULL_API_KEY: 'CbBaMaoqHVifScrYwKssGnGyNkv5xHOhQVGm3cYP',
|
|
5
|
+
IPUSHPULL_API_SECRET: 'xYzE51kuHyyt9kQCvMe0tz0H2sDSjyEQcF5SOBlPQmcL9em0NqcCzyqLYj5fhpuZxQ8BiVcYl6zoOHeI6GYZj1TkUiiLVFoW3HUxiCdEUjlPS8Vl2YHUMEPD5qkLYnGj',
|
|
6
|
+
INFINITE_TABLE_LICENSE_KEY: 'StartDate=2021-06-29|EndDate=2030-01-01|Owner=Adaptable|Type=distribution|TS=1624971462479|C=137829811,1004007071,2756196225,1839832928,3994409405,636616862',
|
|
7
7
|
};
|
|
@@ -78,27 +78,23 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
78
78
|
name: string;
|
|
79
79
|
kind: string;
|
|
80
80
|
description: string;
|
|
81
|
+
};
|
|
82
|
+
AdaptableAlertBase: {
|
|
83
|
+
name: string;
|
|
84
|
+
kind: string;
|
|
85
|
+
description: string;
|
|
81
86
|
properties: ({
|
|
82
87
|
name: string;
|
|
83
88
|
kind: string;
|
|
84
89
|
description: string;
|
|
85
90
|
uiLabel: string;
|
|
86
91
|
reference: string;
|
|
87
|
-
isOptional?: undefined;
|
|
88
|
-
} | {
|
|
89
|
-
name: string;
|
|
90
|
-
kind: string;
|
|
91
|
-
description: string;
|
|
92
|
-
uiLabel: string;
|
|
93
|
-
isOptional: boolean;
|
|
94
|
-
reference: string;
|
|
95
92
|
} | {
|
|
96
93
|
name: string;
|
|
97
94
|
kind: string;
|
|
98
95
|
description: string;
|
|
99
96
|
uiLabel: string;
|
|
100
97
|
reference?: undefined;
|
|
101
|
-
isOptional?: undefined;
|
|
102
98
|
})[];
|
|
103
99
|
};
|
|
104
100
|
AdaptableAlertQuery: {
|
|
@@ -149,6 +145,18 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
149
145
|
kind: string;
|
|
150
146
|
description: string;
|
|
151
147
|
};
|
|
148
|
+
AdaptableCellChangedAlert: {
|
|
149
|
+
name: string;
|
|
150
|
+
kind: string;
|
|
151
|
+
description: string;
|
|
152
|
+
properties: {
|
|
153
|
+
name: string;
|
|
154
|
+
kind: string;
|
|
155
|
+
description: string;
|
|
156
|
+
uiLabel: string;
|
|
157
|
+
reference: string;
|
|
158
|
+
}[];
|
|
159
|
+
};
|
|
152
160
|
AdaptableColumn: {
|
|
153
161
|
name: string;
|
|
154
162
|
kind: string;
|
|
@@ -514,6 +522,18 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
514
522
|
reference: string;
|
|
515
523
|
}[];
|
|
516
524
|
};
|
|
525
|
+
AdaptableRowChangedAlert: {
|
|
526
|
+
name: string;
|
|
527
|
+
kind: string;
|
|
528
|
+
description: string;
|
|
529
|
+
properties: {
|
|
530
|
+
name: string;
|
|
531
|
+
kind: string;
|
|
532
|
+
description: string;
|
|
533
|
+
uiLabel: string;
|
|
534
|
+
reference: string;
|
|
535
|
+
}[];
|
|
536
|
+
};
|
|
517
537
|
AdaptableScope: {
|
|
518
538
|
name: string;
|
|
519
539
|
kind: string;
|
|
@@ -832,6 +852,18 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
832
852
|
isOptional: boolean;
|
|
833
853
|
}[];
|
|
834
854
|
};
|
|
855
|
+
BaseMenuContext: {
|
|
856
|
+
name: string;
|
|
857
|
+
kind: string;
|
|
858
|
+
description: string;
|
|
859
|
+
properties: {
|
|
860
|
+
name: string;
|
|
861
|
+
kind: string;
|
|
862
|
+
description: string;
|
|
863
|
+
uiLabel: string;
|
|
864
|
+
reference: string;
|
|
865
|
+
}[];
|
|
866
|
+
};
|
|
835
867
|
BulkUpdateApi: {
|
|
836
868
|
name: string;
|
|
837
869
|
kind: string;
|
|
@@ -2643,7 +2675,7 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2643
2675
|
name: string;
|
|
2644
2676
|
kind: string;
|
|
2645
2677
|
description: string;
|
|
2646
|
-
properties: {
|
|
2678
|
+
properties: ({
|
|
2647
2679
|
name: string;
|
|
2648
2680
|
kind: string;
|
|
2649
2681
|
description: string;
|
|
@@ -2651,7 +2683,15 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2651
2683
|
isOptional: boolean;
|
|
2652
2684
|
gridInfo: string;
|
|
2653
2685
|
defaultValue: string;
|
|
2654
|
-
}
|
|
2686
|
+
} | {
|
|
2687
|
+
name: string;
|
|
2688
|
+
kind: string;
|
|
2689
|
+
description: string;
|
|
2690
|
+
uiLabel: string;
|
|
2691
|
+
isOptional: boolean;
|
|
2692
|
+
gridInfo?: undefined;
|
|
2693
|
+
defaultValue?: undefined;
|
|
2694
|
+
})[];
|
|
2655
2695
|
};
|
|
2656
2696
|
LayoutState: {
|
|
2657
2697
|
name: string;
|
|
@@ -5,7 +5,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
5
5
|
"AccessLevel": {
|
|
6
6
|
"name": "AccessLevel",
|
|
7
7
|
"kind": "TypeAlias",
|
|
8
|
-
"description": "Defines Access Level for an Entitlement - can be
|
|
8
|
+
"description": "Defines Access Level for an Entitlement - can be `ReadOnly`, `Hidden` or `Full`"
|
|
9
9
|
},
|
|
10
10
|
"ActionColumn": {
|
|
11
11
|
"name": "ActionColumn",
|
|
@@ -120,8 +120,13 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
120
120
|
},
|
|
121
121
|
"AdaptableAlert": {
|
|
122
122
|
"name": "AdaptableAlert",
|
|
123
|
+
"kind": "TypeAlias",
|
|
124
|
+
"description": "Defines an Alert fired by AdapTable"
|
|
125
|
+
},
|
|
126
|
+
"AdaptableAlertBase": {
|
|
127
|
+
"name": "AdaptableAlertBase",
|
|
123
128
|
"kind": "Interface",
|
|
124
|
-
"description": "Defines an Alert fired by AdapTable",
|
|
129
|
+
"description": "Defines the base(common) properties of an Alert fired by AdapTable, regardless of the type of change",
|
|
125
130
|
"properties": [
|
|
126
131
|
{
|
|
127
132
|
"name": "alertDefinition",
|
|
@@ -131,12 +136,10 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
131
136
|
"reference": "AlertDefinition"
|
|
132
137
|
},
|
|
133
138
|
{
|
|
134
|
-
"name": "
|
|
135
|
-
"kind": "
|
|
136
|
-
"description": "
|
|
137
|
-
"uiLabel": "
|
|
138
|
-
"isOptional": true,
|
|
139
|
-
"reference": "DataChangedInfo"
|
|
139
|
+
"name": "alertType",
|
|
140
|
+
"kind": "unknown",
|
|
141
|
+
"description": "The type of Alert",
|
|
142
|
+
"uiLabel": "Alert Type"
|
|
140
143
|
},
|
|
141
144
|
{
|
|
142
145
|
"name": "header",
|
|
@@ -484,6 +487,20 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
484
487
|
"kind": "TypeAlias",
|
|
485
488
|
"description": "Calculated Column Query which may be a Scalar or an AggregatedScalar Expression"
|
|
486
489
|
},
|
|
490
|
+
"AdaptableCellChangedAlert": {
|
|
491
|
+
"name": "AdaptableCellChangedAlert",
|
|
492
|
+
"kind": "Interface",
|
|
493
|
+
"description": "Defines an Alert fired by AdapTable when a cell is changed",
|
|
494
|
+
"properties": [
|
|
495
|
+
{
|
|
496
|
+
"name": "dataChangedInfo",
|
|
497
|
+
"kind": "REFERENCE",
|
|
498
|
+
"description": "Cell DataChange which triggered Alert",
|
|
499
|
+
"uiLabel": "Data Changed Info",
|
|
500
|
+
"reference": "DataChangedInfo"
|
|
501
|
+
}
|
|
502
|
+
]
|
|
503
|
+
},
|
|
487
504
|
"AdaptableColumn": {
|
|
488
505
|
"name": "AdaptableColumn",
|
|
489
506
|
"kind": "Interface",
|
|
@@ -1347,6 +1364,20 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
1347
1364
|
}
|
|
1348
1365
|
]
|
|
1349
1366
|
},
|
|
1367
|
+
"AdaptableRowChangedAlert": {
|
|
1368
|
+
"name": "AdaptableRowChangedAlert",
|
|
1369
|
+
"kind": "Interface",
|
|
1370
|
+
"description": "Defines an Alert fired by AdapTable when a row is changed",
|
|
1371
|
+
"properties": [
|
|
1372
|
+
{
|
|
1373
|
+
"name": "gridDataChangedInfo",
|
|
1374
|
+
"kind": "REFERENCE",
|
|
1375
|
+
"description": "Row DataChange which triggered Alert",
|
|
1376
|
+
"uiLabel": "Grid Data Changed Info",
|
|
1377
|
+
"reference": "GridDataChangedInfo"
|
|
1378
|
+
}
|
|
1379
|
+
]
|
|
1380
|
+
},
|
|
1350
1381
|
"AdaptableScope": {
|
|
1351
1382
|
"name": "AdaptableScope",
|
|
1352
1383
|
"kind": "TypeAlias",
|
|
@@ -1965,10 +1996,17 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
1965
1996
|
{
|
|
1966
1997
|
"name": "JumpToCell",
|
|
1967
1998
|
"kind": "boolean",
|
|
1968
|
-
"description": "Grid will 'jump' to the cell which triggered the Alert",
|
|
1999
|
+
"description": "Grid will 'jump' to the changed cell which triggered the Alert",
|
|
1969
2000
|
"uiLabel": "Jump To Cell",
|
|
1970
2001
|
"isOptional": true
|
|
1971
2002
|
},
|
|
2003
|
+
{
|
|
2004
|
+
"name": "JumpToRow",
|
|
2005
|
+
"kind": "boolean",
|
|
2006
|
+
"description": "Grid will 'jump' to the newly added row which triggered the Alert",
|
|
2007
|
+
"uiLabel": "Jump To Row",
|
|
2008
|
+
"isOptional": true
|
|
2009
|
+
},
|
|
1972
2010
|
{
|
|
1973
2011
|
"name": "LogToConsole",
|
|
1974
2012
|
"kind": "boolean",
|
|
@@ -2125,6 +2163,20 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
2125
2163
|
}
|
|
2126
2164
|
]
|
|
2127
2165
|
},
|
|
2166
|
+
"BaseMenuContext": {
|
|
2167
|
+
"name": "BaseMenuContext",
|
|
2168
|
+
"kind": "Interface",
|
|
2169
|
+
"description": "Base Context object used for both Column and Context Menu Context",
|
|
2170
|
+
"properties": [
|
|
2171
|
+
{
|
|
2172
|
+
"name": "adaptableApi",
|
|
2173
|
+
"kind": "REFERENCE",
|
|
2174
|
+
"description": "The Adaptable Api - included as a convenience",
|
|
2175
|
+
"uiLabel": "Adaptable Api",
|
|
2176
|
+
"reference": "AdaptableApi"
|
|
2177
|
+
}
|
|
2178
|
+
]
|
|
2179
|
+
},
|
|
2128
2180
|
"BulkUpdateApi": {
|
|
2129
2181
|
"name": "BulkUpdateApi",
|
|
2130
2182
|
"kind": "Interface",
|
|
@@ -2142,6 +2194,12 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
2142
2194
|
"description": "Returns current Bulk Update value",
|
|
2143
2195
|
"uiLabel": "Get Bulk Update Value"
|
|
2144
2196
|
},
|
|
2197
|
+
{
|
|
2198
|
+
"name": "setBulkUpdateValue",
|
|
2199
|
+
"kind": "function",
|
|
2200
|
+
"description": "Sets Bulk Update value",
|
|
2201
|
+
"uiLabel": "Set Bulk Update Value"
|
|
2202
|
+
},
|
|
2145
2203
|
{
|
|
2146
2204
|
"name": "showBulkUpdatePopup",
|
|
2147
2205
|
"kind": "function",
|
|
@@ -2415,7 +2473,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
2415
2473
|
{
|
|
2416
2474
|
"name": "timeout",
|
|
2417
2475
|
"kind": "number",
|
|
2418
|
-
"description": "Time after which Cell should be
|
|
2476
|
+
"description": "Time after which Cell should be unhighlighted",
|
|
2419
2477
|
"uiLabel": "Timeout",
|
|
2420
2478
|
"isOptional": true
|
|
2421
2479
|
}
|
|
@@ -3391,10 +3449,10 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
3391
3449
|
"uiLabel": "Get User State By State Key"
|
|
3392
3450
|
},
|
|
3393
3451
|
{
|
|
3394
|
-
"name": "
|
|
3452
|
+
"name": "incrementUserStateRevision",
|
|
3395
3453
|
"kind": "function",
|
|
3396
3454
|
"description": "Adds '1' to current revision number of State element",
|
|
3397
|
-
"uiLabel": "Increment
|
|
3455
|
+
"uiLabel": "Increment User State Revision"
|
|
3398
3456
|
},
|
|
3399
3457
|
{
|
|
3400
3458
|
"name": "loadUserState",
|
|
@@ -3423,7 +3481,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
3423
3481
|
"properties": [
|
|
3424
3482
|
{
|
|
3425
3483
|
"name": "Revision",
|
|
3426
|
-
"kind": "
|
|
3484
|
+
"kind": "unknown",
|
|
3427
3485
|
"description": "Version number of the Item - allows developers to update one section in Predefined Config while keeping others unchanged",
|
|
3428
3486
|
"uiLabel": "Revision",
|
|
3429
3487
|
"isOptional": true
|
|
@@ -4314,7 +4372,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
4314
4372
|
{
|
|
4315
4373
|
"name": "changedAt",
|
|
4316
4374
|
"kind": "number",
|
|
4317
|
-
"description": "Timestamp of change
|
|
4375
|
+
"description": "Timestamp of change occurrence (in milliseconds)",
|
|
4318
4376
|
"uiLabel": "Changed At"
|
|
4319
4377
|
},
|
|
4320
4378
|
{
|
|
@@ -4874,7 +4932,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
4874
4932
|
{
|
|
4875
4933
|
"name": "on",
|
|
4876
4934
|
"kind": "function",
|
|
4877
|
-
"description": "Event fired when
|
|
4935
|
+
"description": "Event fired when a row is added, deleted or updated in the Grid",
|
|
4878
4936
|
"uiLabel": "On"
|
|
4879
4937
|
},
|
|
4880
4938
|
{
|
|
@@ -7106,6 +7164,12 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
7106
7164
|
"description": "Returns the Primary Kev Value for a given Row Node",
|
|
7107
7165
|
"uiLabel": "Get Primary Key Value For Row Node"
|
|
7108
7166
|
},
|
|
7167
|
+
{
|
|
7168
|
+
"name": "getPrimaryKeyValuesForRowNodes",
|
|
7169
|
+
"kind": "function",
|
|
7170
|
+
"description": "Returns the Primary Kev Values for a given Row Node collection",
|
|
7171
|
+
"uiLabel": "Get Primary Key Values For Row Nodes"
|
|
7172
|
+
},
|
|
7109
7173
|
{
|
|
7110
7174
|
"name": "getRawValueFromRowNode",
|
|
7111
7175
|
"kind": "function",
|
|
@@ -7178,6 +7242,12 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
7178
7242
|
"description": "Highlight a row using an adaptable style",
|
|
7179
7243
|
"uiLabel": "Highlight Row"
|
|
7180
7244
|
},
|
|
7245
|
+
{
|
|
7246
|
+
"name": "highlightRows",
|
|
7247
|
+
"kind": "function",
|
|
7248
|
+
"description": "Highlight rows using an adaptable style",
|
|
7249
|
+
"uiLabel": "Highlight Rows"
|
|
7250
|
+
},
|
|
7181
7251
|
{
|
|
7182
7252
|
"name": "isGridGroupable",
|
|
7183
7253
|
"kind": "function",
|
|
@@ -7253,15 +7323,21 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
7253
7323
|
{
|
|
7254
7324
|
"name": "refreshRowByPrimaryKey",
|
|
7255
7325
|
"kind": "function",
|
|
7256
|
-
"description": "Forces a render of
|
|
7326
|
+
"description": "Forces a re-render of the row with the given primary key value",
|
|
7257
7327
|
"uiLabel": "Refresh Row By Primary Key"
|
|
7258
7328
|
},
|
|
7259
7329
|
{
|
|
7260
7330
|
"name": "refreshRowNode",
|
|
7261
7331
|
"kind": "function",
|
|
7262
|
-
"description": "",
|
|
7332
|
+
"description": "Forces a re-render of the given row",
|
|
7263
7333
|
"uiLabel": "Refresh Row Node"
|
|
7264
7334
|
},
|
|
7335
|
+
{
|
|
7336
|
+
"name": "refreshRowNodes",
|
|
7337
|
+
"kind": "function",
|
|
7338
|
+
"description": "Forces a re-render of the given rows",
|
|
7339
|
+
"uiLabel": "Refresh Row Nodes"
|
|
7340
|
+
},
|
|
7265
7341
|
{
|
|
7266
7342
|
"name": "selectAll",
|
|
7267
7343
|
"kind": "function",
|
|
@@ -7382,6 +7458,12 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
7382
7458
|
"description": "Remove highlight from row",
|
|
7383
7459
|
"uiLabel": "Un Highlight Row"
|
|
7384
7460
|
},
|
|
7461
|
+
{
|
|
7462
|
+
"name": "unHighlightRows",
|
|
7463
|
+
"kind": "function",
|
|
7464
|
+
"description": "Remove highlight from row",
|
|
7465
|
+
"uiLabel": "Un Highlight Rows"
|
|
7466
|
+
},
|
|
7385
7467
|
{
|
|
7386
7468
|
"name": "updateGridData",
|
|
7387
7469
|
"kind": "function",
|
|
@@ -7441,6 +7523,12 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
7441
7523
|
"kind": "Interface",
|
|
7442
7524
|
"description": "EventInfo returned by GridDataChanged event",
|
|
7443
7525
|
"properties": [
|
|
7526
|
+
{
|
|
7527
|
+
"name": "changedAt",
|
|
7528
|
+
"kind": "number",
|
|
7529
|
+
"description": "Timestamp of change occurrence (in milliseconds)",
|
|
7530
|
+
"uiLabel": "Changed At"
|
|
7531
|
+
},
|
|
7444
7532
|
{
|
|
7445
7533
|
"name": "dataRows",
|
|
7446
7534
|
"kind": "unknown",
|
|
@@ -7450,7 +7538,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
7450
7538
|
{
|
|
7451
7539
|
"name": "rowNodes",
|
|
7452
7540
|
"kind": "unknown",
|
|
7453
|
-
"description": "
|
|
7541
|
+
"description": "Row Nodes that were affected by this change",
|
|
7454
7542
|
"uiLabel": "Row Nodes"
|
|
7455
7543
|
},
|
|
7456
7544
|
{
|
|
@@ -7955,7 +8043,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
7955
8043
|
{
|
|
7956
8044
|
"name": "ExpandedRowGroupValues",
|
|
7957
8045
|
"kind": "unknown",
|
|
7958
|
-
"description": "
|
|
8046
|
+
"description": "Opened Row Groups - set if `displayRowGroups` in LayoutOptions is 'dynamic'",
|
|
7959
8047
|
"uiLabel": "Expanded Row Group Values",
|
|
7960
8048
|
"isOptional": true
|
|
7961
8049
|
},
|
|
@@ -8000,6 +8088,12 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
8000
8088
|
"kind": "Interface",
|
|
8001
8089
|
"description": "Provides run-time access to the Layout Module and associated state",
|
|
8002
8090
|
"properties": [
|
|
8091
|
+
{
|
|
8092
|
+
"name": "areExpandedRowGroupsSavedInLayouts",
|
|
8093
|
+
"kind": "function",
|
|
8094
|
+
"description": "Returns true if Layouts will contain Expanded Row Groups information",
|
|
8095
|
+
"uiLabel": "Are Expanded Row Groups Saved In Layouts"
|
|
8096
|
+
},
|
|
8003
8097
|
{
|
|
8004
8098
|
"name": "areLayoutsEqual",
|
|
8005
8099
|
"kind": "function",
|
|
@@ -8177,13 +8271,13 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
8177
8271
|
{
|
|
8178
8272
|
"name": "showLayoutEditor",
|
|
8179
8273
|
"kind": "function",
|
|
8180
|
-
"description": "Opens
|
|
8274
|
+
"description": "Opens Layout Editor - for Current or a named Layout",
|
|
8181
8275
|
"uiLabel": "Show Layout Editor"
|
|
8182
8276
|
},
|
|
8183
8277
|
{
|
|
8184
8278
|
"name": "showLayoutPopup",
|
|
8185
8279
|
"kind": "function",
|
|
8186
|
-
"description": "Opens Settings Panel with Layout section selected
|
|
8280
|
+
"description": "Opens Settings Panel with Layout section selected",
|
|
8187
8281
|
"uiLabel": "Show Layout Popup"
|
|
8188
8282
|
}
|
|
8189
8283
|
]
|
|
@@ -8256,6 +8350,13 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
8256
8350
|
"gridInfo": "item",
|
|
8257
8351
|
"defaultValue": "false"
|
|
8258
8352
|
},
|
|
8353
|
+
{
|
|
8354
|
+
"name": "displayRowGroups",
|
|
8355
|
+
"kind": "unknown",
|
|
8356
|
+
"description": "Whether RowGroups display all as expanded, all as closed or dynamically (i.e. saved in Layout)",
|
|
8357
|
+
"uiLabel": "Display Row Groups",
|
|
8358
|
+
"isOptional": true
|
|
8359
|
+
},
|
|
8259
8360
|
{
|
|
8260
8361
|
"name": "includeExpandedRowGroups",
|
|
8261
8362
|
"kind": "boolean",
|
package/src/types.d.ts
CHANGED
|
@@ -94,7 +94,7 @@ export type { SpecialColumnSettings } from './PredefinedConfig/Common/SpecialCol
|
|
|
94
94
|
export type { CalculatedColumn, CalculatedColumnSettings, CalculatedColumnState, AdaptableCalculatedColumnQuery, } from './PredefinedConfig/CalculatedColumnState';
|
|
95
95
|
export type { CellSummmary, CellSummaryOperation, CellSummaryOperationParams, } from './PredefinedConfig/Common/CellSummary';
|
|
96
96
|
export type { FlashingCellDefinition, FlashingCellState, } from './PredefinedConfig/FlashingCellState';
|
|
97
|
-
export type { AdaptableAlert } from './PredefinedConfig/Common/AdaptableAlert';
|
|
97
|
+
export type { AdaptableAlert, AdaptableAlertType, AdaptableGenericAlert, AdaptableCellChangedAlert, AdaptableRowChangedAlert, AdaptableAlertBase, } from './PredefinedConfig/Common/AdaptableAlert';
|
|
98
98
|
export type { AdaptableFlashingCell } from './PredefinedConfig/Common/AdaptableFlashingCell';
|
|
99
99
|
export type { AdaptableColumn, AdaptableColumnBase, } from './PredefinedConfig/Common/AdaptableColumn';
|
|
100
100
|
export type { AdaptableComparerFunction } from './PredefinedConfig/Common/AdaptableComparerFunction';
|
|
@@ -112,12 +112,13 @@ export type { AdaptableStyle } from './PredefinedConfig/Common/AdaptableStyle';
|
|
|
112
112
|
export type { AdaptableIcon } from './PredefinedConfig/Common/AdaptableIcon';
|
|
113
113
|
export type { CellHighlightInfo } from './PredefinedConfig/Common/CellHighlightInfo';
|
|
114
114
|
export type { RowHighlightInfo } from './PredefinedConfig/Common/RowHighlightInfo';
|
|
115
|
+
export type { RowsHighlightInfo } from './PredefinedConfig/Common/RowsHighlightInfo';
|
|
115
116
|
export type { ColumnSort } from './PredefinedConfig/Common/ColumnSort';
|
|
116
117
|
export type { DataChangedInfo } from './PredefinedConfig/Common/DataChangedInfo';
|
|
117
118
|
export type { DataUpdateConfig } from './PredefinedConfig/Common/DataUpdateConfig';
|
|
118
119
|
export type { AdaptableFormData, AdaptableForm, AdaptableFormField, } from './PredefinedConfig/Common/AdaptableForm';
|
|
119
120
|
export type { AdaptableButton, ButtonContext } from './PredefinedConfig/Common/AdaptableButton';
|
|
120
|
-
export type { AdaptableMenuItem, UserMenuItem, ColumnMenuContext, ContextMenuContext, } from './PredefinedConfig/Common/Menu';
|
|
121
|
+
export type { AdaptableMenuItem, UserMenuItem, BaseMenuContext, ColumnMenuContext, ContextMenuContext, } from './PredefinedConfig/Common/Menu';
|
|
121
122
|
export type { Schedule } from './PredefinedConfig/Common/Schedule';
|
|
122
123
|
export type { ButtonStyle } from './PredefinedConfig/Common/ButtonStyle';
|
|
123
124
|
export type { AdaptableModule, AdaptableToolPanel, AdaptableQLModule, } from './PredefinedConfig/Common/Types';
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "11.0
|
|
1
|
+
declare const _default: "11.1.0";
|
|
2
2
|
export default _default;
|
package/version.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = '11.0
|
|
3
|
+
exports.default = '11.1.0'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
|