@adaptabletools/adaptable 19.1.1 → 19.1.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/package.json +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -5
- package/src/AdaptableOptions/AlertOptions.d.ts +3 -0
- package/src/AdaptableOptions/ColumnMenuOptions.d.ts +1 -1
- package/src/AdaptableOptions/CommentOptions.d.ts +2 -2
- package/src/AdaptableOptions/NoteOptions.d.ts +2 -2
- package/src/Api/AdaptableApi.d.ts +21 -11
- package/src/Api/Events/GridDataChanged.d.ts +3 -0
- package/src/Api/GridApi.d.ts +6 -2
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +3 -6
- package/src/Api/Implementation/AdaptableApiImpl.js +1 -1
- package/src/Api/Implementation/GridApiImpl.js +3 -1
- package/src/Api/Internal/CommentsInternalApi.d.ts +1 -0
- package/src/Api/Internal/CommentsInternalApi.js +4 -0
- package/src/Api/Internal/NoteInternalApi.d.ts +1 -0
- package/src/Api/Internal/NoteInternalApi.js +4 -0
- package/src/PredefinedConfig/Common/ExtendedLayoutInfo.d.ts +15 -0
- package/src/PredefinedConfig/Common/FilterActionOnDataChange.d.ts +3 -0
- package/src/View/Comments/CommentsEditor.js +2 -2
- package/src/View/Comments/CommentsPopup.js +1 -4
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +1 -1
- package/src/View/Layout/TransposedPopup.js +2 -2
- package/src/View/Note/NotePopup.js +1 -4
- package/src/agGrid/AdaptableAgGrid.d.ts +2 -5
- package/src/agGrid/AdaptableAgGrid.js +47 -26
- package/src/agGrid/AgGridAdapter.js +3 -3
- package/src/agGrid/defaultAdaptableOptions.js +100 -96
- package/src/env.js +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +32 -0
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/types.d.ts +1 -1
- package/tsconfig.esm.tsbuildinfo +1 -1
|
@@ -17,6 +17,26 @@ const DefaultAdaptableOptions = {
|
|
|
17
17
|
autogeneratePrimaryKey: false,
|
|
18
18
|
userName: GeneralConstants.USER_NAME,
|
|
19
19
|
predefinedConfig: undefined,
|
|
20
|
+
actionColumnOptions: {
|
|
21
|
+
actionColumns: undefined,
|
|
22
|
+
},
|
|
23
|
+
actionRowOptions: {
|
|
24
|
+
actionRowButtons: undefined,
|
|
25
|
+
autoHandle: true,
|
|
26
|
+
disableInlineEditing: false,
|
|
27
|
+
setPrimaryKeyValue: undefined,
|
|
28
|
+
actionRowButtonOptions: {
|
|
29
|
+
customConfiguration: undefined,
|
|
30
|
+
position: 'pinnedLeft',
|
|
31
|
+
},
|
|
32
|
+
actionRowFormOptions: {
|
|
33
|
+
formTitle: undefined,
|
|
34
|
+
formDescription: undefined,
|
|
35
|
+
formFieldLabel: undefined,
|
|
36
|
+
formButtons: undefined,
|
|
37
|
+
onFormSubmit: undefined,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
20
40
|
alertOptions: {
|
|
21
41
|
alertForms: undefined,
|
|
22
42
|
maxAlertsInStore: 20,
|
|
@@ -28,6 +48,83 @@ const DefaultAdaptableOptions = {
|
|
|
28
48
|
alertMessageText: undefined,
|
|
29
49
|
showMissingPrimaryKeyAlert: false,
|
|
30
50
|
},
|
|
51
|
+
calendarOptions: { holidays: undefined },
|
|
52
|
+
cellSummaryOptions: { cellSummaryOperations: undefined },
|
|
53
|
+
chartingOptions: {
|
|
54
|
+
saveChartBehaviour: GeneralConstants.SAVE_CHART_BEHAVIOUR_NONE,
|
|
55
|
+
agGridContainerName: GeneralConstants.AG_GRID_CHART_WINDOW,
|
|
56
|
+
externalChartingOptions: {},
|
|
57
|
+
},
|
|
58
|
+
containerOptions: {
|
|
59
|
+
adaptableContainer: GeneralConstants.ADAPTABLE_CONTAINER_ID,
|
|
60
|
+
agGridContainer: GeneralConstants.AG_GRID_CONTAINER_ID,
|
|
61
|
+
agGridContainerWaitTimeout: 60000,
|
|
62
|
+
modalContainer: undefined,
|
|
63
|
+
systemStatusContainer: undefined,
|
|
64
|
+
alertContainer: undefined,
|
|
65
|
+
},
|
|
66
|
+
columnOptions: {
|
|
67
|
+
columnFriendlyName: undefined,
|
|
68
|
+
columnTypes: EMPTY_ARRAY,
|
|
69
|
+
showMissingColumnsWarning: true,
|
|
70
|
+
addColumnGroupToColumnFriendlyName: false,
|
|
71
|
+
},
|
|
72
|
+
columnMenuOptions: {
|
|
73
|
+
customColumnMenu: undefined,
|
|
74
|
+
},
|
|
75
|
+
contextMenuOptions: {
|
|
76
|
+
customContextMenu: undefined,
|
|
77
|
+
},
|
|
78
|
+
columnFilterOptions: {
|
|
79
|
+
quickFilterOptions: {
|
|
80
|
+
hideQuickFilterDropdown: undefined,
|
|
81
|
+
hideQuickFilterInput: undefined,
|
|
82
|
+
quickFilterTrigger: FilterConstants.FILTER_TRIGGER_MOUSE_ENTER,
|
|
83
|
+
quickFilterDebounce: 250,
|
|
84
|
+
quickFilterHeight: null,
|
|
85
|
+
showQuickFilter: true,
|
|
86
|
+
quickFilterWildcards: {},
|
|
87
|
+
quickFilterValuesWidth: 180,
|
|
88
|
+
},
|
|
89
|
+
filterFormOptions: {
|
|
90
|
+
useAgGridFilterFormStyle: true,
|
|
91
|
+
defaultFilterFormTab: 'Values',
|
|
92
|
+
},
|
|
93
|
+
valuesFilterOptions: {
|
|
94
|
+
valuesFilterTrigger: FilterConstants.FILTER_TRIGGER_MOUSE_ENTER,
|
|
95
|
+
sortValuesFilter: false,
|
|
96
|
+
filterValuesUsingTime: false,
|
|
97
|
+
showCurrentlyFilteredValuesOnly: false,
|
|
98
|
+
showCurrentlyFilteredValuesCount: false,
|
|
99
|
+
maxFilterValuesToDisplay: undefined,
|
|
100
|
+
showValuesCount: undefined,
|
|
101
|
+
valuesFilterPredicateOptions: undefined,
|
|
102
|
+
},
|
|
103
|
+
indicateFilteredColumns: true,
|
|
104
|
+
useAdaptableColumnFiltering: true,
|
|
105
|
+
clearColumnFiltersOnStartUp: false,
|
|
106
|
+
filterActionOnUserDataChange: {
|
|
107
|
+
applyFilter: FilterConstants.FILTER_ACTION_ALWAYS,
|
|
108
|
+
throttleDelay: 0,
|
|
109
|
+
},
|
|
110
|
+
filterActionOnExternalDataChange: {
|
|
111
|
+
applyFilter: FilterConstants.FILTER_ACTION_NEVER,
|
|
112
|
+
throttleDelay: 0,
|
|
113
|
+
},
|
|
114
|
+
autoApplyFilter: true,
|
|
115
|
+
defaultNumericColumnFilter: FilterConstants.PREDICATE_EQUALS,
|
|
116
|
+
defaultStringColumnFilter: FilterConstants.PREDICATE_CONTAINS,
|
|
117
|
+
defaultDateColumnFilter: FilterConstants.PREDICATE_ON,
|
|
118
|
+
enableFilterOnSpecialColumns: true,
|
|
119
|
+
showClearFilterButton: false,
|
|
120
|
+
showSuspendFilterButton: false,
|
|
121
|
+
showDatePicker: true,
|
|
122
|
+
},
|
|
123
|
+
commentOptions: {
|
|
124
|
+
showPopupCloseButton: true,
|
|
125
|
+
dateFormat: 'dd-MM-yyyy HH:mm:ss',
|
|
126
|
+
},
|
|
127
|
+
customSortOptions: { customSortComparers: undefined },
|
|
31
128
|
notificationsOptions: {
|
|
32
129
|
maxNotifications: 3,
|
|
33
130
|
position: GeneralConstants.TOAST_POSITIONS_BOTTOM_RIGHT,
|
|
@@ -70,22 +167,6 @@ const DefaultAdaptableOptions = {
|
|
|
70
167
|
maxTimeframeSize: 28800000,
|
|
71
168
|
caseSensitiveExpressions: false,
|
|
72
169
|
},
|
|
73
|
-
calendarOptions: { holidays: undefined },
|
|
74
|
-
cellSummaryOptions: { cellSummaryOperations: undefined },
|
|
75
|
-
containerOptions: {
|
|
76
|
-
adaptableContainer: GeneralConstants.ADAPTABLE_CONTAINER_ID,
|
|
77
|
-
agGridContainer: GeneralConstants.AG_GRID_CONTAINER_ID,
|
|
78
|
-
agGridContainerWaitTimeout: 60000,
|
|
79
|
-
modalContainer: undefined,
|
|
80
|
-
systemStatusContainer: undefined,
|
|
81
|
-
alertContainer: undefined,
|
|
82
|
-
},
|
|
83
|
-
columnOptions: {
|
|
84
|
-
columnFriendlyName: undefined,
|
|
85
|
-
columnTypes: EMPTY_ARRAY,
|
|
86
|
-
showMissingColumnsWarning: true,
|
|
87
|
-
addColumnGroupToColumnFriendlyName: false,
|
|
88
|
-
},
|
|
89
170
|
dashboardOptions: {
|
|
90
171
|
canFloat: true,
|
|
91
172
|
showQuickSearchInHeader: true,
|
|
@@ -93,26 +174,6 @@ const DefaultAdaptableOptions = {
|
|
|
93
174
|
customToolbars: undefined,
|
|
94
175
|
buttonsLocation: GeneralConstants.DASHBOARD_BUTTONS_LOCATION_RIGHT,
|
|
95
176
|
},
|
|
96
|
-
actionColumnOptions: {
|
|
97
|
-
actionColumns: undefined,
|
|
98
|
-
},
|
|
99
|
-
actionRowOptions: {
|
|
100
|
-
actionRowButtons: undefined,
|
|
101
|
-
autoHandle: true,
|
|
102
|
-
disableInlineEditing: false,
|
|
103
|
-
setPrimaryKeyValue: undefined,
|
|
104
|
-
actionRowButtonOptions: {
|
|
105
|
-
customConfiguration: undefined,
|
|
106
|
-
position: 'pinnedLeft',
|
|
107
|
-
},
|
|
108
|
-
actionRowFormOptions: {
|
|
109
|
-
formTitle: undefined,
|
|
110
|
-
formDescription: undefined,
|
|
111
|
-
formFieldLabel: undefined,
|
|
112
|
-
formButtons: undefined,
|
|
113
|
-
onFormSubmit: undefined,
|
|
114
|
-
},
|
|
115
|
-
},
|
|
116
177
|
editOptions: {
|
|
117
178
|
validateOnServer: undefined,
|
|
118
179
|
displayServerValidationMessages: true,
|
|
@@ -145,7 +206,6 @@ const DefaultAdaptableOptions = {
|
|
|
145
206
|
],
|
|
146
207
|
reportFilename: undefined,
|
|
147
208
|
},
|
|
148
|
-
customSortOptions: { customSortComparers: undefined },
|
|
149
209
|
dataSetOptions: { dataSets: EMPTY_ARRAY },
|
|
150
210
|
groupingOptions: {
|
|
151
211
|
restoreUngroupedColumns: false,
|
|
@@ -169,57 +229,6 @@ const DefaultAdaptableOptions = {
|
|
|
169
229
|
autoCheckTagsForLayouts: false,
|
|
170
230
|
},
|
|
171
231
|
},
|
|
172
|
-
columnMenuOptions: {
|
|
173
|
-
customColumnMenu: undefined,
|
|
174
|
-
},
|
|
175
|
-
contextMenuOptions: {
|
|
176
|
-
customContextMenu: undefined,
|
|
177
|
-
},
|
|
178
|
-
columnFilterOptions: {
|
|
179
|
-
quickFilterOptions: {
|
|
180
|
-
hideQuickFilterDropdown: undefined,
|
|
181
|
-
hideQuickFilterInput: undefined,
|
|
182
|
-
quickFilterTrigger: FilterConstants.FILTER_TRIGGER_MOUSE_ENTER,
|
|
183
|
-
quickFilterDebounce: 250,
|
|
184
|
-
quickFilterHeight: null,
|
|
185
|
-
showQuickFilter: true,
|
|
186
|
-
quickFilterWildcards: {},
|
|
187
|
-
quickFilterValuesWidth: 180,
|
|
188
|
-
},
|
|
189
|
-
filterFormOptions: {
|
|
190
|
-
useAgGridFilterFormStyle: true,
|
|
191
|
-
defaultFilterFormTab: 'Values',
|
|
192
|
-
},
|
|
193
|
-
valuesFilterOptions: {
|
|
194
|
-
valuesFilterTrigger: FilterConstants.FILTER_TRIGGER_MOUSE_ENTER,
|
|
195
|
-
sortValuesFilter: false,
|
|
196
|
-
filterValuesUsingTime: false,
|
|
197
|
-
showCurrentlyFilteredValuesOnly: false,
|
|
198
|
-
showCurrentlyFilteredValuesCount: false,
|
|
199
|
-
maxFilterValuesToDisplay: undefined,
|
|
200
|
-
showValuesCount: undefined,
|
|
201
|
-
valuesFilterPredicateOptions: undefined,
|
|
202
|
-
},
|
|
203
|
-
indicateFilteredColumns: true,
|
|
204
|
-
useAdaptableColumnFiltering: true,
|
|
205
|
-
clearColumnFiltersOnStartUp: false,
|
|
206
|
-
filterActionOnUserDataChange: {
|
|
207
|
-
applyFilter: FilterConstants.FILTER_ACTION_ALWAYS,
|
|
208
|
-
throttleDelay: 0,
|
|
209
|
-
},
|
|
210
|
-
filterActionOnExternalDataChange: {
|
|
211
|
-
applyFilter: FilterConstants.FILTER_ACTION_NEVER,
|
|
212
|
-
throttleDelay: 0,
|
|
213
|
-
},
|
|
214
|
-
autoApplyFilter: true,
|
|
215
|
-
defaultNumericColumnFilter: FilterConstants.PREDICATE_EQUALS,
|
|
216
|
-
defaultStringColumnFilter: FilterConstants.PREDICATE_CONTAINS,
|
|
217
|
-
defaultDateColumnFilter: FilterConstants.PREDICATE_ON,
|
|
218
|
-
enableFilterOnSpecialColumns: true,
|
|
219
|
-
showClearFilterButton: false,
|
|
220
|
-
showSuspendFilterButton: false,
|
|
221
|
-
showDatePicker: true,
|
|
222
|
-
},
|
|
223
232
|
gridFilterOptions: {
|
|
224
233
|
availableFilterEditors: ['ExpressionEditor', 'QueryBuilder'],
|
|
225
234
|
clearGridFilterOnStartUp: false,
|
|
@@ -310,11 +319,6 @@ const DefaultAdaptableOptions = {
|
|
|
310
319
|
alwaysShowInDashboard: false,
|
|
311
320
|
alwaysShowInToolPanel: false,
|
|
312
321
|
},
|
|
313
|
-
chartingOptions: {
|
|
314
|
-
saveChartBehaviour: GeneralConstants.SAVE_CHART_BEHAVIOUR_NONE,
|
|
315
|
-
agGridContainerName: GeneralConstants.AG_GRID_CHART_WINDOW,
|
|
316
|
-
externalChartingOptions: {},
|
|
317
|
-
},
|
|
318
322
|
fdc3Options: {
|
|
319
323
|
enableLogging: false,
|
|
320
324
|
actionColumnDefaultConfiguration: {
|
|
@@ -330,11 +334,9 @@ const DefaultAdaptableOptions = {
|
|
|
330
334
|
intents: {},
|
|
331
335
|
},
|
|
332
336
|
},
|
|
333
|
-
commentOptions: {
|
|
334
|
-
showPopupCloseButton: true,
|
|
335
|
-
},
|
|
336
337
|
noteOptions: {
|
|
337
338
|
showPopupCloseButton: true,
|
|
339
|
+
dateFormat: 'dd-MM-yyyy HH:mm:ss',
|
|
338
340
|
},
|
|
339
341
|
};
|
|
340
342
|
export function applyDefaultAdaptableOptions(adaptableOptions) {
|
|
@@ -346,12 +348,14 @@ export function applyDefaultAdaptableOptions(adaptableOptions) {
|
|
|
346
348
|
adaptableOptsWithDefaults.expressionOptions = Object.assign({}, DefaultAdaptableOptions.expressionOptions, adaptableOptions.expressionOptions);
|
|
347
349
|
adaptableOptsWithDefaults.calendarOptions = Object.assign({}, DefaultAdaptableOptions.calendarOptions, adaptableOptions.calendarOptions);
|
|
348
350
|
adaptableOptsWithDefaults.columnOptions = Object.assign({}, DefaultAdaptableOptions.columnOptions, adaptableOptions.columnOptions);
|
|
351
|
+
adaptableOptsWithDefaults.commentOptions = Object.assign({}, DefaultAdaptableOptions.commentOptions, adaptableOptions.commentOptions);
|
|
349
352
|
adaptableOptsWithDefaults.customSortOptions = Object.assign({}, DefaultAdaptableOptions.customSortOptions, adaptableOptions.customSortOptions);
|
|
350
353
|
adaptableOptsWithDefaults.dataSetOptions = Object.assign({}, DefaultAdaptableOptions.dataSetOptions, adaptableOptions.dataSetOptions);
|
|
351
354
|
adaptableOptsWithDefaults.cellSummaryOptions = Object.assign({}, DefaultAdaptableOptions.cellSummaryOptions, adaptableOptions.cellSummaryOptions);
|
|
352
355
|
adaptableOptsWithDefaults.predicateOptions = Object.assign({}, DefaultAdaptableOptions.predicateOptions, adaptableOptsWithDefaults.predicateOptions);
|
|
353
356
|
adaptableOptsWithDefaults.layoutOptions = Object.assign({}, DefaultAdaptableOptions.layoutOptions, adaptableOptions.layoutOptions);
|
|
354
357
|
adaptableOptsWithDefaults.notificationsOptions = Object.assign({}, DefaultAdaptableOptions.notificationsOptions, adaptableOptions.notificationsOptions);
|
|
358
|
+
adaptableOptsWithDefaults.noteOptions = Object.assign({}, DefaultAdaptableOptions.noteOptions, adaptableOptions.noteOptions);
|
|
355
359
|
adaptableOptsWithDefaults.alertOptions = Object.assign({}, DefaultAdaptableOptions.alertOptions, adaptableOptions.alertOptions);
|
|
356
360
|
adaptableOptsWithDefaults.flashingCellOptions = Object.assign({}, DefaultAdaptableOptions.flashingCellOptions, adaptableOptions.flashingCellOptions);
|
|
357
361
|
adaptableOptsWithDefaults.entitlementOptions = Object.assign({}, DefaultAdaptableOptions.entitlementOptions, adaptableOptions.entitlementOptions);
|
package/src/env.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
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" || '',
|
|
3
|
-
PUBLISH_TIMESTAMP:
|
|
4
|
-
VERSION: "19.1.
|
|
3
|
+
PUBLISH_TIMESTAMP: 1732026942630 || Date.now(),
|
|
4
|
+
VERSION: "19.1.2-canary.0" || '--current-version--',
|
|
5
5
|
};
|
|
@@ -1492,6 +1492,11 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1492
1492
|
isOpt: boolean;
|
|
1493
1493
|
}[];
|
|
1494
1494
|
};
|
|
1495
|
+
ApplyFilterAction: {
|
|
1496
|
+
name: string;
|
|
1497
|
+
kind: string;
|
|
1498
|
+
desc: string;
|
|
1499
|
+
};
|
|
1495
1500
|
AST_Expression: {
|
|
1496
1501
|
name: string;
|
|
1497
1502
|
kind: string;
|
|
@@ -2709,6 +2714,11 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2709
2714
|
desc: string;
|
|
2710
2715
|
}[];
|
|
2711
2716
|
};
|
|
2717
|
+
DataChangeDetectionPolicy: {
|
|
2718
|
+
name: string;
|
|
2719
|
+
kind: string;
|
|
2720
|
+
desc: string;
|
|
2721
|
+
};
|
|
2712
2722
|
DataChangedScope: {
|
|
2713
2723
|
name: string;
|
|
2714
2724
|
kind: string;
|
|
@@ -3255,6 +3265,17 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
3255
3265
|
name: string;
|
|
3256
3266
|
kind: string;
|
|
3257
3267
|
desc: string;
|
|
3268
|
+
props: ({
|
|
3269
|
+
name: string;
|
|
3270
|
+
kind: string;
|
|
3271
|
+
desc: string;
|
|
3272
|
+
ref?: undefined;
|
|
3273
|
+
} | {
|
|
3274
|
+
name: string;
|
|
3275
|
+
kind: string;
|
|
3276
|
+
desc: string;
|
|
3277
|
+
ref: string;
|
|
3278
|
+
})[];
|
|
3258
3279
|
};
|
|
3259
3280
|
ExternalChartingContext: {
|
|
3260
3281
|
name: string;
|
|
@@ -4028,6 +4049,17 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
4028
4049
|
ref: string;
|
|
4029
4050
|
}[];
|
|
4030
4051
|
};
|
|
4052
|
+
LayoutExtension: {
|
|
4053
|
+
name: string;
|
|
4054
|
+
kind: string;
|
|
4055
|
+
desc: string;
|
|
4056
|
+
props: {
|
|
4057
|
+
name: string;
|
|
4058
|
+
kind: string;
|
|
4059
|
+
desc: string;
|
|
4060
|
+
ref: string;
|
|
4061
|
+
}[];
|
|
4062
|
+
};
|
|
4031
4063
|
LayoutOptions: {
|
|
4032
4064
|
name: string;
|
|
4033
4065
|
kind: string;
|