@adaptabletools/adaptable-cjs 22.1.0 → 22.1.1-canary.1
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/index.css +8 -9
- package/package.json +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -2
- package/src/AdaptableOptions/AdaptableOptions.d.ts +2 -21
- package/src/AdaptableOptions/AlertOptions.d.ts +0 -5
- package/src/AdaptableOptions/CellSummaryOptions.d.ts +2 -0
- package/src/AdaptableOptions/ChartingOptions.d.ts +2 -0
- package/src/AdaptableOptions/ColumnOptions.d.ts +0 -2
- package/src/AdaptableOptions/CommentOptions.d.ts +6 -0
- package/src/AdaptableOptions/ContainerOptions.d.ts +0 -6
- package/src/AdaptableOptions/DashboardOptions.d.ts +0 -2
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +0 -2
- package/src/AdaptableOptions/DataSetOptions.d.ts +2 -0
- package/src/AdaptableOptions/DefaultAdaptableOptions.js +34 -2
- package/src/AdaptableOptions/EditOptions.d.ts +0 -1
- package/src/AdaptableOptions/EntitlementOptions.d.ts +0 -2
- package/src/AdaptableOptions/ExportOptions.d.ts +1 -7
- package/src/AdaptableOptions/ExpressionOptions.d.ts +0 -18
- package/src/AdaptableOptions/Fdc3Options.d.ts +5 -1
- package/src/AdaptableOptions/FilterOptions.d.ts +3 -18
- package/src/AdaptableOptions/NoteOptions.d.ts +6 -0
- package/src/AdaptableOptions/NotificationsOptions.d.ts +0 -10
- package/src/AdaptableOptions/PredicateOptions.d.ts +12 -1
- package/src/AdaptableOptions/QuickSearchOptions.d.ts +0 -4
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +15 -5
- package/src/AdaptableOptions/TeamSharingOptions.d.ts +0 -4
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -1
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +6 -7
- package/src/AdaptableState/Common/AdaptableFormat.d.ts +9 -0
- package/src/AdaptableState/Common/AdaptableFormatPresets.d.ts +31 -0
- package/src/AdaptableState/Common/AdaptableFormatPresets.js +186 -0
- package/src/AdaptableState/Common/Menu.d.ts +1 -1
- package/src/AdaptableState/Common/Menu.js +2 -0
- package/src/AdaptableState/FormatColumnState.d.ts +6 -3
- package/src/Api/EventApi.d.ts +6 -6
- package/src/Api/Implementation/EntitlementApiImpl.js +5 -4
- package/src/Api/Implementation/FormatColumnApiImpl.js +8 -3
- package/src/Api/Implementation/GridApiImpl.js +1 -12
- package/src/Api/Internal/FormatColumnInternalApi.js +4 -2
- package/src/Api/Internal/LayoutInternalApi.js +5 -2
- package/src/Redux/Store/AdaptableStore.js +4 -4
- package/src/Strategy/AdaptableModuleBase.js +8 -7
- package/src/Strategy/AlertModule.d.ts +1 -1
- package/src/Strategy/BulkUpdateModule.d.ts +1 -1
- package/src/Strategy/BulkUpdateModule.js +2 -1
- package/src/Strategy/CalculatedColumnModule.d.ts +1 -1
- package/src/Strategy/CellSummaryModule.d.ts +1 -1
- package/src/Strategy/CellSummaryModule.js +2 -1
- package/src/Strategy/ColumnFilterModule.js +2 -1
- package/src/Strategy/ColumnInfoModule.d.ts +1 -1
- package/src/Strategy/ColumnInfoModule.js +2 -1
- package/src/Strategy/CommentModule.d.ts +1 -1
- package/src/Strategy/CommentModule.js +12 -2
- package/src/Strategy/ExportModule.d.ts +1 -1
- package/src/Strategy/Fdc3Module.d.ts +1 -1
- package/src/Strategy/FlashingCellModule.d.ts +1 -1
- package/src/Strategy/GridFilterModule.js +2 -1
- package/src/Strategy/GridInfoModule.d.ts +1 -1
- package/src/Strategy/GridInfoModule.js +2 -1
- package/src/Strategy/LayoutModule.d.ts +1 -1
- package/src/Strategy/NamedQueryModule.js +0 -16
- package/src/Strategy/NoteModule.d.ts +1 -1
- package/src/Strategy/NoteModule.js +16 -3
- package/src/Strategy/PlusMinusModule.js +8 -2
- package/src/Strategy/ScheduleModule.js +5 -4
- package/src/Strategy/SettingsPanelModule.d.ts +1 -1
- package/src/Strategy/ShortcutModule.js +5 -4
- package/src/Strategy/SmartEditModule.d.ts +1 -1
- package/src/Strategy/SmartEditModule.js +4 -4
- package/src/Strategy/SystemStatusModule.d.ts +1 -1
- package/src/Utilities/Constants/GeneralConstants.d.ts +4 -0
- package/src/Utilities/Constants/GeneralConstants.js +5 -1
- package/src/Utilities/Extensions/NumberExtensions.d.ts +2 -0
- package/src/Utilities/Extensions/NumberExtensions.js +9 -0
- package/src/Utilities/Helpers/AdaptableHelper.js +3 -2
- package/src/Utilities/Helpers/FormatHelper.js +26 -15
- package/src/Utilities/Services/AnnotationsService.js +10 -1
- package/src/Utilities/Services/Interface/IMetamodelService.d.ts +0 -1
- package/src/Utilities/Services/MetamodelService.d.ts +0 -2
- package/src/Utilities/Services/MetamodelService.js +6 -12
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +7 -6
- package/src/View/Alert/AlertEmptyView.js +2 -1
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +1 -1
- package/src/View/CellSummary/CellSummaryViewPanel.js +2 -1
- package/src/View/Comments/CommentsEditor.js +2 -1
- package/src/View/Comments/CommentsPopup.js +3 -1
- package/src/View/Components/Buttons/ButtonBase/index.js +3 -2
- package/src/View/Components/Buttons/EntityListActionButtons.js +7 -6
- package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +2 -1
- package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +3 -2
- package/src/View/Components/ColumnFilter/components/ColumnFilterInputList.js +3 -1
- package/src/View/Components/Panels/PanelDashboard/index.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +4 -2
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +2 -1
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +3 -2
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +2 -1
- package/src/View/Dashboard/CustomDashboardButton.js +3 -2
- package/src/View/Dashboard/Dashboard.js +3 -2
- package/src/View/Dashboard/DashboardPopup.js +3 -2
- package/src/View/Dashboard/PinnedToolbarsSelector.js +2 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +2 -1
- package/src/View/Export/ExportViewPanel.js +3 -1
- package/src/View/Filter/FilterViewPanel.js +2 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +137 -181
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +20 -8
- package/src/View/GridFilter/GridFilterPopupUI/index.d.ts +3 -2
- package/src/View/GridFilter/GridFilterPopupUI/index.js +2 -1
- package/src/View/GridFilter/GridFilterViewPanel.js +3 -2
- package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +179 -6
- package/src/View/Layout/LayoutCloneButton.js +2 -1
- package/src/View/Layout/LayoutViewPanel.js +3 -1
- package/src/View/Layout/TransposedPopup.js +2 -1
- package/src/View/Note/NotePopup.js +3 -1
- package/src/View/SmartEdit/SmartEditViewPanel.js +2 -1
- package/src/View/StateManagement/StateManagementViewPanel.js +3 -1
- package/src/View/StatusBar/StatusBarPopup.js +2 -1
- package/src/View/Theme/ThemeEditor.js +2 -1
- package/src/View/Theme/ThemePopup.js +2 -1
- package/src/View/Theme/ThemeSelector.js +3 -1
- package/src/View/Theme/ThemeViewPanel.js +3 -1
- package/src/View/Wizard/OnePageWizards.js +3 -2
- package/src/agGrid/AdaptableAgGrid.d.ts +2 -2
- package/src/agGrid/AdaptableAgGrid.js +7 -29
- package/src/agGrid/AgGridAdapter.js +1 -1
- package/src/agGrid/AgGridColumnAdapter.js +11 -4
- package/src/agGrid/AgGridExportAdapter.js +4 -2
- package/src/agGrid/cellRenderers/ActionColumnRenderer.js +2 -1
- package/src/components/Dashboard/Dashboard.js +2 -1
- package/src/components/Dashboard/DashboardToolbar.js +2 -1
- package/src/components/Datepicker/index.js +2 -1
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +1 -1
- package/src/components/Select/Select.js +5 -4
- package/src/components/SimpleButton/index.js +3 -2
- package/src/env.js +2 -2
- package/src/metamodel/adaptable-metamodel-model.d.ts +0 -2
- package/src/metamodel/adaptable.metamodel.d.ts +10 -197
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/types.d.ts +2 -0
- package/src/types.js +5 -1
- package/themes/dark.css +3 -1
- package/tsconfig.cjs.tsbuildinfo +1 -1
- package/index.css.map +0 -1
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.
|
|
1
|
+
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
@layer adaptable.reset, adaptable.theming, adaptable.components, adaptable.utilities, adaptable.theme;
|
|
4
4
|
@layer adaptable.reset {
|
|
@@ -316,6 +316,9 @@
|
|
|
316
316
|
.twa\:mr-4 {
|
|
317
317
|
margin-right: calc(var(--ab-base-space) * 4);
|
|
318
318
|
}
|
|
319
|
+
.twa\:mr-6 {
|
|
320
|
+
margin-right: calc(var(--ab-base-space) * 6);
|
|
321
|
+
}
|
|
319
322
|
.twa\:mr-\[2px\] {
|
|
320
323
|
margin-right: 2px;
|
|
321
324
|
}
|
|
@@ -3675,7 +3678,6 @@
|
|
|
3675
3678
|
--ab-color-inputborder: var(--ab-color-primarydark);
|
|
3676
3679
|
--ab-color-inputcolor: var(--ab-color-text-on-primary);
|
|
3677
3680
|
--ab-color-error: #dc3545;
|
|
3678
|
-
--ab-color-errorlight: #ffd3d2;
|
|
3679
3681
|
--ab-color-warn: #eb9316;
|
|
3680
3682
|
--ab-color-info: #17a2b8;
|
|
3681
3683
|
--ab-color-success: #419641;
|
|
@@ -3686,12 +3688,10 @@
|
|
|
3686
3688
|
--ab-color-text-on-error: white;
|
|
3687
3689
|
--ab-color-text-on-info: white;
|
|
3688
3690
|
--ab-color-text-on-warn: white;
|
|
3689
|
-
--ab-color-action-add: #2966a8;
|
|
3690
3691
|
--ab-color-action-edit: #17a2b8;
|
|
3691
3692
|
--ab-color-action-share: #eb9316;
|
|
3692
3693
|
--ab-color-action-delete: #dc3545;
|
|
3693
3694
|
--ab-color-action-clone: #419641;
|
|
3694
|
-
--ab-color-text-on-add: white;
|
|
3695
3695
|
--ab-color-text-on-edit: white;
|
|
3696
3696
|
--ab-color-text-on-share: white;
|
|
3697
3697
|
--ab-color-text-on-delete: white;
|
|
@@ -3704,9 +3704,9 @@
|
|
|
3704
3704
|
--ab-color-text-on-primary: #656565;
|
|
3705
3705
|
--ab-color-primary-foreground: var(--ab-color-text-on-primary);
|
|
3706
3706
|
--ab-color-text-on-primarydark: var(--ab-color-text-on-primary);
|
|
3707
|
-
--ab-color-blue: blue;
|
|
3708
3707
|
--ab-color-focus: var(--ab-color-accent);
|
|
3709
|
-
--ab-
|
|
3708
|
+
--ab-color-filtered-columns: var(--ab-color-text-on-primary);
|
|
3709
|
+
--ab-color-filtered-columns-background: var(--ab-color-primary);
|
|
3710
3710
|
--ab-color-shadow: rgb(0 0 0 / 0.2);
|
|
3711
3711
|
--ab-shadow-sm: 0 0px 3px 0 var(--ab-color-shadow), 0 1px 2px -1px var(--ab-color-shadow);
|
|
3712
3712
|
--ab-shadow-md: 0 -2px 6px -1px var(--ab-color-shadow), 0 2px 4px -2px var(--ab-color-shadow);
|
|
@@ -3746,7 +3746,8 @@
|
|
|
3746
3746
|
}
|
|
3747
3747
|
.ab-Grid.ab-Grid--indicate-filtered-columns .ag-header-cell-filtered {
|
|
3748
3748
|
font-weight: bolder !important;
|
|
3749
|
-
|
|
3749
|
+
color: var(--ab-color-filtered-columns) !important;
|
|
3750
|
+
background: var(--ab-color-filtered-columns-background) !important;
|
|
3750
3751
|
}
|
|
3751
3752
|
.ab-Grid .ag-pivot-mode-panel {
|
|
3752
3753
|
display: none !important;
|
|
@@ -6766,5 +6767,3 @@
|
|
|
6766
6767
|
}
|
|
6767
6768
|
}
|
|
6768
6769
|
}
|
|
6769
|
-
|
|
6770
|
-
/*# sourceMappingURL=index.css.map */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-cjs",
|
|
3
|
-
"version": "22.1.
|
|
3
|
+
"version": "22.1.1-canary.1",
|
|
4
4
|
"description": "Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
|
@@ -4,7 +4,7 @@ import { AdaptableColumn } from '../AdaptableState/Common/AdaptableColumn';
|
|
|
4
4
|
import { ColumnSort } from '../AdaptableState/Common/ColumnSort';
|
|
5
5
|
import { DataRowConfig, DataUpdateConfig } from '../AdaptableState/Common/DataUpdateConfig';
|
|
6
6
|
import { Layout } from '../AdaptableState/LayoutState';
|
|
7
|
-
import { GridCell, GridCellWithChildren } from '../AdaptableState/Selection/GridCell';
|
|
7
|
+
import { GridCell, GridCellWithChildren, CellUpdateRequest } from '../AdaptableState/Selection/GridCell';
|
|
8
8
|
import { SelectedCellInfo } from '../AdaptableState/Selection/SelectedCellInfo';
|
|
9
9
|
import { AdaptableTheme } from '../AdaptableState/ThemeState';
|
|
10
10
|
import { IAdaptableStore } from '../Redux/Store/Interface/IAdaptableStore';
|
|
@@ -206,7 +206,7 @@ export interface IAdaptable {
|
|
|
206
206
|
forPlugins(callback: (plugin: AdaptablePlugin) => any): void;
|
|
207
207
|
getPluginProperty(pluginId: string, propertyName: string, ...args: any): any;
|
|
208
208
|
getPlugin(pluginId: string): AdaptablePlugin;
|
|
209
|
-
|
|
209
|
+
updateCell(cellUpdateRequest: CellUpdateRequest): void;
|
|
210
210
|
getFirstRowNode(): IRowNode | undefined;
|
|
211
211
|
getFirstDisplayedRowNode(): IRowNode | undefined;
|
|
212
212
|
forAllRowNodesDo(func: (rowNode: IRowNode) => void, config?: {
|
|
@@ -42,7 +42,6 @@ export interface AdaptableOptions<TData = any, TContext = Record<string, any>> {
|
|
|
42
42
|
* Identifier for this instance of AdapTable
|
|
43
43
|
*
|
|
44
44
|
* @defaultValue 'adaptable_id_${random_number}'
|
|
45
|
-
* @gridInfoItem
|
|
46
45
|
* @noCodeItem
|
|
47
46
|
*/
|
|
48
47
|
adaptableId?: string;
|
|
@@ -50,14 +49,12 @@ export interface AdaptableOptions<TData = any, TContext = Record<string, any>> {
|
|
|
50
49
|
* Identifier used as localStorage persistence key for AdaptableState
|
|
51
50
|
*
|
|
52
51
|
* @defaultValue `adaptableId` value
|
|
53
|
-
* @gridInfoItem
|
|
54
52
|
*/
|
|
55
53
|
adaptableStateKey?: string;
|
|
56
54
|
/**
|
|
57
55
|
* Will autogenerate a Primary Key; only use as a last resort if no unique column is available, as limits some Adaptable functionalities
|
|
58
56
|
*
|
|
59
57
|
* @defaultValue false
|
|
60
|
-
* @gridInfoItem
|
|
61
58
|
*/
|
|
62
59
|
autogeneratePrimaryKey?: boolean;
|
|
63
60
|
/**
|
|
@@ -66,6 +63,8 @@ export interface AdaptableOptions<TData = any, TContext = Record<string, any>> {
|
|
|
66
63
|
licenseKey?: string;
|
|
67
64
|
/**
|
|
68
65
|
* Application-specific context object - is included by AdapTable in all callbacks and Events
|
|
66
|
+
*
|
|
67
|
+
* @defaultValue {}
|
|
69
68
|
*/
|
|
70
69
|
adaptableContext?: TContext;
|
|
71
70
|
/**
|
|
@@ -78,14 +77,12 @@ export interface AdaptableOptions<TData = any, TContext = Record<string, any>> {
|
|
|
78
77
|
* Name of Column in AdapTable guaranteed to contain unique values
|
|
79
78
|
*
|
|
80
79
|
* @defaultValue n/a (Mandatory)
|
|
81
|
-
* @gridInfoItem
|
|
82
80
|
*/
|
|
83
81
|
primaryKey: string;
|
|
84
82
|
/**
|
|
85
83
|
* Name of current AdapTable user
|
|
86
84
|
*
|
|
87
85
|
* @defaultValue 'anonymous'
|
|
88
|
-
* @gridInfoItem
|
|
89
86
|
*/
|
|
90
87
|
userName?: string;
|
|
91
88
|
/**
|
|
@@ -95,7 +92,6 @@ export interface AdaptableOptions<TData = any, TContext = Record<string, any>> {
|
|
|
95
92
|
/**
|
|
96
93
|
* Options for managing Alerts in AdapTable
|
|
97
94
|
*
|
|
98
|
-
* @gridInfoContainer
|
|
99
95
|
* @noCodeContainer
|
|
100
96
|
*/
|
|
101
97
|
alertOptions?: AlertOptions<TData>;
|
|
@@ -120,7 +116,6 @@ export interface AdaptableOptions<TData = any, TContext = Record<string, any>> {
|
|
|
120
116
|
/**
|
|
121
117
|
* Options for managing AdapTable Column Menu
|
|
122
118
|
*
|
|
123
|
-
* @gridInfoContainer
|
|
124
119
|
*/
|
|
125
120
|
columnMenuOptions?: ColumnMenuOptions<TData>;
|
|
126
121
|
/**
|
|
@@ -134,7 +129,6 @@ export interface AdaptableOptions<TData = any, TContext = Record<string, any>> {
|
|
|
134
129
|
/**
|
|
135
130
|
* Options for managing AdapTable Context Menu
|
|
136
131
|
*
|
|
137
|
-
* @gridInfoContainer
|
|
138
132
|
*/
|
|
139
133
|
contextMenuOptions?: ContextMenuOptions<TData>;
|
|
140
134
|
/**
|
|
@@ -144,14 +138,12 @@ export interface AdaptableOptions<TData = any, TContext = Record<string, any>> {
|
|
|
144
138
|
/**
|
|
145
139
|
* Options for managing the Dashboard in AdapTable
|
|
146
140
|
*
|
|
147
|
-
* @gridInfoContainer
|
|
148
141
|
* @noCodeContainer
|
|
149
142
|
*/
|
|
150
143
|
dashboardOptions?: DashboardOptions;
|
|
151
144
|
/**
|
|
152
145
|
* Options to manage Data Change History Module which provides an overview of all data changes
|
|
153
146
|
*
|
|
154
|
-
* @gridInfoContainer
|
|
155
147
|
* @noCodeContainer
|
|
156
148
|
*/
|
|
157
149
|
dataChangeHistoryOptions?: DataChangeHistoryOptions<TData>;
|
|
@@ -166,19 +158,16 @@ export interface AdaptableOptions<TData = any, TContext = Record<string, any>> {
|
|
|
166
158
|
/**
|
|
167
159
|
* Options related to Editing in AdapTable including Server Validation
|
|
168
160
|
*
|
|
169
|
-
* @gridInfoContainer
|
|
170
161
|
*/
|
|
171
162
|
editOptions?: EditOptions<TData>;
|
|
172
163
|
/**
|
|
173
164
|
* Options for managing Entitlements
|
|
174
165
|
*
|
|
175
|
-
* @gridInfoContainer
|
|
176
166
|
*/
|
|
177
167
|
entitlementOptions?: EntitlementOptions;
|
|
178
168
|
/**
|
|
179
169
|
* Options for managing Exporting and Reports in AdapTable
|
|
180
170
|
*
|
|
181
|
-
* @gridInfoContainer
|
|
182
171
|
*/
|
|
183
172
|
exportOptions?: ExportOptions<TData>;
|
|
184
173
|
/**
|
|
@@ -193,7 +182,6 @@ export interface AdaptableOptions<TData = any, TContext = Record<string, any>> {
|
|
|
193
182
|
/**
|
|
194
183
|
* Options for managing Flashing Cells - primarily default values
|
|
195
184
|
*
|
|
196
|
-
* @gridInfoContainer
|
|
197
185
|
*/
|
|
198
186
|
flashingCellOptions?: FlashingCellOptions;
|
|
199
187
|
/**
|
|
@@ -207,7 +195,6 @@ export interface AdaptableOptions<TData = any, TContext = Record<string, any>> {
|
|
|
207
195
|
/**
|
|
208
196
|
* Options related to Layouts
|
|
209
197
|
*
|
|
210
|
-
* @gridInfoContainer
|
|
211
198
|
* @noCodeContainer
|
|
212
199
|
*/
|
|
213
200
|
layoutOptions?: LayoutOptions;
|
|
@@ -218,7 +205,6 @@ export interface AdaptableOptions<TData = any, TContext = Record<string, any>> {
|
|
|
218
205
|
/**
|
|
219
206
|
* Options for managing Notifications in AdapTable
|
|
220
207
|
*
|
|
221
|
-
* @gridInfoContainer
|
|
222
208
|
* @noCodeContainer
|
|
223
209
|
*/
|
|
224
210
|
notificationsOptions?: NotificationsOptions;
|
|
@@ -229,7 +215,6 @@ export interface AdaptableOptions<TData = any, TContext = Record<string, any>> {
|
|
|
229
215
|
/**
|
|
230
216
|
* Options for managing Search related functions in AdapTable
|
|
231
217
|
*
|
|
232
|
-
* @gridInfoContainer
|
|
233
218
|
* @noCodeContainer
|
|
234
219
|
*/
|
|
235
220
|
quickSearchOptions?: QuickSearchOptions<TData>;
|
|
@@ -240,7 +225,6 @@ export interface AdaptableOptions<TData = any, TContext = Record<string, any>> {
|
|
|
240
225
|
/**
|
|
241
226
|
* Setting panel options
|
|
242
227
|
*
|
|
243
|
-
* @gridInfoContainer
|
|
244
228
|
* @noCodeContainer
|
|
245
229
|
*/
|
|
246
230
|
settingsPanelOptions?: SettingsPanelOptions;
|
|
@@ -251,20 +235,17 @@ export interface AdaptableOptions<TData = any, TContext = Record<string, any>> {
|
|
|
251
235
|
/**
|
|
252
236
|
* Options for managing 'Team Sharing' which allows users to create Adaptable Objects and share with colleagues
|
|
253
237
|
*
|
|
254
|
-
* @gridInfoContainer
|
|
255
238
|
*/
|
|
256
239
|
teamSharingOptions?: TeamSharingOptions;
|
|
257
240
|
/**
|
|
258
241
|
* Options related to managing the Tool Panel elements in AdapTable
|
|
259
242
|
*
|
|
260
|
-
* @gridInfoContainer
|
|
261
243
|
* @noCodeContainer
|
|
262
244
|
*/
|
|
263
245
|
toolPanelOptions?: ToolPanelOptions;
|
|
264
246
|
/**
|
|
265
247
|
* Options for managing the User Interface elements of AdapTable, i.e. Action Columns, Color Palette etc.
|
|
266
248
|
*
|
|
267
|
-
* @gridInfoContainer
|
|
268
249
|
*/
|
|
269
250
|
userInterfaceOptions?: UserInterfaceOptions<TData>;
|
|
270
251
|
/**
|
|
@@ -11,7 +11,6 @@ export interface AlertOptions<TData = any> {
|
|
|
11
11
|
* How many alerts held in State at any one time; when limit is breached, oldest alert will be removed
|
|
12
12
|
*
|
|
13
13
|
* @defaultValue 20
|
|
14
|
-
* @gridInfoItem
|
|
15
14
|
* @noCodeItem
|
|
16
15
|
*/
|
|
17
16
|
maxAlertsInStore?: number;
|
|
@@ -19,14 +18,12 @@ export interface AlertOptions<TData = any> {
|
|
|
19
18
|
* How long (in ms) a Cell will be highlighted when an Alert fires
|
|
20
19
|
*
|
|
21
20
|
* @defaultValue 2000
|
|
22
|
-
* @gridInfoItem
|
|
23
21
|
*/
|
|
24
22
|
cellHighlightDuration?: number;
|
|
25
23
|
/**
|
|
26
24
|
* How long (in ms) a Row will be highlighted when an Alert Fires
|
|
27
25
|
*
|
|
28
26
|
* @defaultValue 4000
|
|
29
|
-
* @gridInfoItem
|
|
30
27
|
*/
|
|
31
28
|
rowHighlightDuration?: number;
|
|
32
29
|
/**
|
|
@@ -47,7 +44,6 @@ export interface AlertOptions<TData = any> {
|
|
|
47
44
|
* Whether Alert rule is evaluated against the `rawValue` or `formattedValue` of the changed cell data
|
|
48
45
|
*
|
|
49
46
|
* @defaultValue 'rawValue'
|
|
50
|
-
* @gridInfoItem
|
|
51
47
|
*/
|
|
52
48
|
dataChangeDetectionPolicy?: DataChangeDetectionPolicy;
|
|
53
49
|
/**
|
|
@@ -62,7 +58,6 @@ export interface AlertOptions<TData = any> {
|
|
|
62
58
|
* Shows Alert if Primary Key column in Adaptable Options is not present or incorrect
|
|
63
59
|
*
|
|
64
60
|
* @defaultValue false
|
|
65
|
-
* @gridInfoItem
|
|
66
61
|
* @noCodeItem
|
|
67
62
|
* @uiLabel Show Missing Primary Key Warning
|
|
68
63
|
*/
|
|
@@ -10,6 +10,8 @@ export interface CellSummaryOptions<TData = any> {
|
|
|
10
10
|
customCellSummaryOperations?: CustomCellSummaryOperation<TData>[];
|
|
11
11
|
/**
|
|
12
12
|
* Numeric format to use for summary value; a Format Column DisplayFormat will take precedence
|
|
13
|
+
*
|
|
14
|
+
* @defaultValue { FractionDigits: 2 }
|
|
13
15
|
*/
|
|
14
16
|
numericDisplayFormat?: NumberFormatterOptions | ((columnContext: AdaptableColumnContext) => NumberFormatterOptions);
|
|
15
17
|
}
|
|
@@ -23,7 +23,6 @@ export interface ColumnOptions {
|
|
|
23
23
|
* Log warning to console if AdapTable cannot find a column
|
|
24
24
|
*
|
|
25
25
|
* @defaultValue true
|
|
26
|
-
* @gridInfoItem
|
|
27
26
|
* @noCodeItem
|
|
28
27
|
*/
|
|
29
28
|
showMissingColumnsWarning?: boolean;
|
|
@@ -31,7 +30,6 @@ export interface ColumnOptions {
|
|
|
31
30
|
* Appends the name of the Column Group to a Column's Friendly Name
|
|
32
31
|
*
|
|
33
32
|
* @defaultValue false
|
|
34
|
-
* @gridInfoItem
|
|
35
33
|
* @noCodeItem
|
|
36
34
|
*/
|
|
37
35
|
addColumnGroupToColumnFriendlyName?: boolean;
|
|
@@ -27,6 +27,12 @@ export interface CommentOptions<TData = any> {
|
|
|
27
27
|
* @defaultValue true
|
|
28
28
|
*/
|
|
29
29
|
showPopupCloseButton?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Whether to show Comments by hovering (default) or via context menu
|
|
32
|
+
*
|
|
33
|
+
* @defaultValue 'hover'
|
|
34
|
+
*/
|
|
35
|
+
showCommentAction?: 'hover' | 'menu';
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Context used when determining if a cell can show Comments
|
|
@@ -44,37 +44,31 @@ export interface ContainerOptions {
|
|
|
44
44
|
/**
|
|
45
45
|
* Div containing AdapTable; element Id, CSS Selector, HTMLElement, or function returning one of these
|
|
46
46
|
* @defaultValue "adaptable"
|
|
47
|
-
* @gridInfoItem
|
|
48
47
|
*/
|
|
49
48
|
adaptableContainer?: AdaptableContainerValue | ((context: InitContainerContext) => AdaptableContainerValue);
|
|
50
49
|
/**
|
|
51
50
|
* Div containing AG Grid instance; element Id, CSS Selector, HTMLElement, or function returning one of these.
|
|
52
51
|
* @defaultValue "grid"
|
|
53
|
-
* @gridInfoItem
|
|
54
52
|
*/
|
|
55
53
|
agGridContainer?: AdaptableContainerValue | ((context: InitContainerContext) => AdaptableContainerValue);
|
|
56
54
|
/**
|
|
57
55
|
* Name of div where popups appear;element Id, CSS Selector, HTMLElement, or function returning one of these
|
|
58
56
|
* @defaultValue undefined (centre of screen)
|
|
59
|
-
* @gridInfoItem
|
|
60
57
|
*/
|
|
61
58
|
modalContainer?: AdaptableContainerValue | ((context: ContainerContext) => AdaptableContainerValue);
|
|
62
59
|
/**
|
|
63
60
|
* Div to show System Status Messages; elementId, CSS Selector, HTMLElement, or function returning one of these
|
|
64
61
|
* @defaultValue undefined
|
|
65
|
-
* @gridInfoItem
|
|
66
62
|
*/
|
|
67
63
|
systemStatusContainer?: AdaptableContainerValue | ((context: ContainerContext) => AdaptableContainerValue);
|
|
68
64
|
/**
|
|
69
65
|
* Div to display Alerts; elementId, CSS Selector, HTMLElement, or function returning one of these
|
|
70
66
|
* @defaultValue undefined
|
|
71
|
-
* @gridInfoItem
|
|
72
67
|
*/
|
|
73
68
|
alertContainer?: AdaptableContainerValue | ((context: ContainerContext) => AdaptableContainerValue);
|
|
74
69
|
/**
|
|
75
70
|
* Div to render a Transposed View; elementId, CSS Selector, HTMLElement, or function returning one of these
|
|
76
71
|
* @defaultValue undefined (rendered in a draggable popup window)
|
|
77
|
-
* @gridInfoItem
|
|
78
72
|
*/
|
|
79
73
|
transposedViewContainer?: AdaptableContainerValue | ((context: ContainerContext) => AdaptableContainerValue);
|
|
80
74
|
}
|
|
@@ -10,7 +10,6 @@ export interface DashboardOptions {
|
|
|
10
10
|
* Whether the Dashboard can be floated; if true (the default), double-clicking Dashboard puts it in float mode
|
|
11
11
|
*
|
|
12
12
|
* @defaultValue true
|
|
13
|
-
* @gridInfoItem
|
|
14
13
|
* @noCodeItem
|
|
15
14
|
*/
|
|
16
15
|
canFloat?: boolean;
|
|
@@ -18,7 +17,6 @@ export interface DashboardOptions {
|
|
|
18
17
|
* Shows Quick Search input in Dashboard Header
|
|
19
18
|
*
|
|
20
19
|
* @defaultValue true
|
|
21
|
-
* @gridInfoItem
|
|
22
20
|
* @noCodeItem
|
|
23
21
|
*/
|
|
24
22
|
showQuickSearchInHeader?: boolean;
|
|
@@ -8,7 +8,6 @@ export interface DataChangeHistoryOptions<TData = any> {
|
|
|
8
8
|
* Make Data Change History active by default
|
|
9
9
|
*
|
|
10
10
|
* @defaultValue false
|
|
11
|
-
* @gridInfoItem
|
|
12
11
|
* @noCodeItem
|
|
13
12
|
*/
|
|
14
13
|
activeByDefault?: boolean;
|
|
@@ -16,7 +15,6 @@ export interface DataChangeHistoryOptions<TData = any> {
|
|
|
16
15
|
* Function specifying which data changes to include in Data Change History
|
|
17
16
|
*
|
|
18
17
|
* @defaultValue undefined (all data changes are logged)
|
|
19
|
-
* @gridInfoItem
|
|
20
18
|
*/
|
|
21
19
|
showDataChange?: (cellDataChangedInfo: CellDataChangedInfo<TData>) => boolean;
|
|
22
20
|
/**
|
|
@@ -30,6 +30,7 @@ const DefaultAdaptableOptions = {
|
|
|
30
30
|
commandHandlers: undefined,
|
|
31
31
|
alertMessageText: undefined,
|
|
32
32
|
showMissingPrimaryKeyAlert: false,
|
|
33
|
+
alertMessageHeader: undefined,
|
|
33
34
|
},
|
|
34
35
|
calendarOptions: { holidays: undefined },
|
|
35
36
|
cellSummaryOptions: {
|
|
@@ -42,12 +43,14 @@ const DefaultAdaptableOptions = {
|
|
|
42
43
|
saveChartBehaviour: 'none',
|
|
43
44
|
agGridContainerName: GeneralConstants.AG_GRID_CHART_WINDOW,
|
|
44
45
|
externalChartingOptions: {},
|
|
46
|
+
chartContainers: undefined,
|
|
45
47
|
},
|
|
46
48
|
columnOptions: {
|
|
47
49
|
columnFriendlyName: undefined,
|
|
48
50
|
columnTypes: GeneralConstants_1.EMPTY_ARRAY,
|
|
49
51
|
showMissingColumnsWarning: true,
|
|
50
52
|
addColumnGroupToColumnFriendlyName: false,
|
|
53
|
+
columnHeader: undefined,
|
|
51
54
|
},
|
|
52
55
|
columnMenuOptions: {
|
|
53
56
|
customColumnMenu: undefined,
|
|
@@ -55,6 +58,10 @@ const DefaultAdaptableOptions = {
|
|
|
55
58
|
commentOptions: {
|
|
56
59
|
showPopupCloseButton: true,
|
|
57
60
|
dateFormat: GeneralConstants_1.DEFAULT_DATE_FORMAT_PATTERN_WITH_TIME,
|
|
61
|
+
isCellCommentable: undefined,
|
|
62
|
+
loadCommentThreads: undefined,
|
|
63
|
+
persistCommentThreads: undefined,
|
|
64
|
+
showCommentAction: 'hover',
|
|
58
65
|
},
|
|
59
66
|
containerOptions: {
|
|
60
67
|
adaptableContainer: 'adaptable',
|
|
@@ -62,6 +69,7 @@ const DefaultAdaptableOptions = {
|
|
|
62
69
|
modalContainer: undefined,
|
|
63
70
|
systemStatusContainer: undefined,
|
|
64
71
|
alertContainer: undefined,
|
|
72
|
+
transposedViewContainer: undefined,
|
|
65
73
|
},
|
|
66
74
|
contextMenuOptions: {
|
|
67
75
|
customContextMenu: undefined,
|
|
@@ -82,6 +90,9 @@ const DefaultAdaptableOptions = {
|
|
|
82
90
|
},
|
|
83
91
|
dataImportOptions: {
|
|
84
92
|
fileHandlers: undefined,
|
|
93
|
+
textHandler: undefined,
|
|
94
|
+
validate: undefined,
|
|
95
|
+
handleImportedData: undefined,
|
|
85
96
|
},
|
|
86
97
|
dataSetOptions: { dataSets: GeneralConstants_1.EMPTY_ARRAY },
|
|
87
98
|
editOptions: {
|
|
@@ -90,9 +101,10 @@ const DefaultAdaptableOptions = {
|
|
|
90
101
|
isCellEditable: undefined,
|
|
91
102
|
smartEditCustomOperations: undefined,
|
|
92
103
|
customEditColumnValues: undefined,
|
|
104
|
+
showSelectCellEditor: undefined,
|
|
93
105
|
},
|
|
94
106
|
entitlementOptions: {
|
|
95
|
-
defaultAccessLevel:
|
|
107
|
+
defaultAccessLevel: GeneralConstants_1.ACCESS_LEVEL_FULL,
|
|
96
108
|
moduleEntitlements: undefined,
|
|
97
109
|
},
|
|
98
110
|
exportOptions: {
|
|
@@ -108,6 +120,8 @@ const DefaultAdaptableOptions = {
|
|
|
108
120
|
csvSeparator: ',',
|
|
109
121
|
skipColumnHeaders: false,
|
|
110
122
|
excelSheetName: 'Sheet 1',
|
|
123
|
+
isColumnExportable: undefined,
|
|
124
|
+
getDetailRows: undefined,
|
|
111
125
|
},
|
|
112
126
|
expressionOptions: {
|
|
113
127
|
evaluateAdaptableQLExternally: undefined,
|
|
@@ -121,6 +135,12 @@ const DefaultAdaptableOptions = {
|
|
|
121
135
|
performExpressionValidation: true,
|
|
122
136
|
maxTimeframeSize: 28800000, // 8 hours
|
|
123
137
|
caseSensitiveExpressions: false,
|
|
138
|
+
customAggregatedFunctions: undefined,
|
|
139
|
+
customBooleanFunctions: undefined,
|
|
140
|
+
customQueryVariables: undefined,
|
|
141
|
+
customScalarFunctions: undefined,
|
|
142
|
+
fields: undefined,
|
|
143
|
+
isColumnQueryable: undefined,
|
|
124
144
|
},
|
|
125
145
|
fdc3Options: {
|
|
126
146
|
enableLogging: false,
|
|
@@ -152,6 +172,8 @@ const DefaultAdaptableOptions = {
|
|
|
152
172
|
enableFilterOnSpecialColumns: true,
|
|
153
173
|
useAdaptableFiltering: true,
|
|
154
174
|
showDatePicker: true,
|
|
175
|
+
isRowFilterable: undefined,
|
|
176
|
+
customInFilterValues: undefined,
|
|
155
177
|
columnFilterOptions: {
|
|
156
178
|
indicateFilteredColumns: true,
|
|
157
179
|
manuallyApplyColumnFilter: false,
|
|
@@ -160,7 +182,6 @@ const DefaultAdaptableOptions = {
|
|
|
160
182
|
defaultDateColumnFilter: 'On',
|
|
161
183
|
defaultArrayColumnFilter: 'In',
|
|
162
184
|
hideQuickFilterDropdown: undefined,
|
|
163
|
-
hideQuickFilterInput: undefined,
|
|
164
185
|
quickFilterDebounce: 250,
|
|
165
186
|
quickFilterHeight: null,
|
|
166
187
|
showQuickFilter: true,
|
|
@@ -187,6 +208,8 @@ const DefaultAdaptableOptions = {
|
|
|
187
208
|
customDisplayFormatters: undefined,
|
|
188
209
|
},
|
|
189
210
|
layoutOptions: {
|
|
211
|
+
layoutCreationDefaultProperties: undefined,
|
|
212
|
+
pivotPreviewColumns: undefined,
|
|
190
213
|
layoutViewOptions: {
|
|
191
214
|
maxColumnsToDisplay: 10,
|
|
192
215
|
},
|
|
@@ -199,6 +222,8 @@ const DefaultAdaptableOptions = {
|
|
|
199
222
|
noteOptions: {
|
|
200
223
|
showPopupCloseButton: true,
|
|
201
224
|
dateFormat: GeneralConstants_1.DEFAULT_DATE_FORMAT_PATTERN_WITH_TIME,
|
|
225
|
+
isCellNotable: undefined,
|
|
226
|
+
showNoteAction: 'hover',
|
|
202
227
|
},
|
|
203
228
|
notificationsOptions: {
|
|
204
229
|
maxNotifications: 3,
|
|
@@ -229,6 +254,7 @@ const DefaultAdaptableOptions = {
|
|
|
229
254
|
filterGridAfterQuickSearch: false,
|
|
230
255
|
isQuickSearchCaseSensitive: false,
|
|
231
256
|
getCellSearchText: undefined,
|
|
257
|
+
isCellSearchable: undefined,
|
|
232
258
|
},
|
|
233
259
|
rowFormOptions: {
|
|
234
260
|
autoHandle: true,
|
|
@@ -249,6 +275,10 @@ const DefaultAdaptableOptions = {
|
|
|
249
275
|
alwaysShowInDashboard: false,
|
|
250
276
|
alwaysShowInToolPanel: false,
|
|
251
277
|
showModuleIcons: true,
|
|
278
|
+
position: undefined,
|
|
279
|
+
size: undefined,
|
|
280
|
+
customSettingsPanels: undefined,
|
|
281
|
+
gridInfoTabs: ['Grid Options', 'Grid Summary', 'Grid State'],
|
|
252
282
|
},
|
|
253
283
|
stateOptions: {
|
|
254
284
|
debounceStateDelay: 400,
|
|
@@ -279,6 +309,8 @@ const DefaultAdaptableOptions = {
|
|
|
279
309
|
alternativeModuleNames: undefined,
|
|
280
310
|
applicationIcon: undefined,
|
|
281
311
|
useCustomMacLikeScrollbars: false,
|
|
312
|
+
customIcons: undefined,
|
|
313
|
+
objectTags: undefined,
|
|
282
314
|
loadingScreenOptions: {
|
|
283
315
|
showLoadingScreen: true,
|
|
284
316
|
loadingScreenDelay: 200,
|
|
@@ -8,14 +8,12 @@ export interface EntitlementOptions {
|
|
|
8
8
|
/**
|
|
9
9
|
* Returns either collection of `Entitlements`, or a function to invoke when an Entitlement is required
|
|
10
10
|
*
|
|
11
|
-
* @gridInfoItem
|
|
12
11
|
*/
|
|
13
12
|
moduleEntitlements?: Entitlement[] | ((entitlementContext: EntitlementContext) => AccessLevel | undefined);
|
|
14
13
|
/**
|
|
15
14
|
* AccessLevel to use when an Entitlement is not explicitly set; can be hardcoded value or a function to invoke
|
|
16
15
|
*
|
|
17
16
|
* @defaultValue 'Full'
|
|
18
|
-
* @gridInfoItem
|
|
19
17
|
*/
|
|
20
18
|
defaultAccessLevel?: AccessLevel | ((defaultAccessLevelContext: DefaultAccessLevelContext) => AccessLevel);
|
|
21
19
|
}
|
|
@@ -18,7 +18,6 @@ export interface ExportOptions<TData = any> {
|
|
|
18
18
|
* Optional custom format for Date columns when exporting
|
|
19
19
|
*
|
|
20
20
|
* @defaultValue undefined
|
|
21
|
-
* @gridInfoItem
|
|
22
21
|
*/
|
|
23
22
|
exportDateFormat?: string | ((context: ExportDateFormatContext<TData>) => string);
|
|
24
23
|
/**
|
|
@@ -29,28 +28,24 @@ export interface ExportOptions<TData = any> {
|
|
|
29
28
|
* System Reports to use; leave unset for all, empty array for none
|
|
30
29
|
*
|
|
31
30
|
* @defaultValue 'All Data', 'Current Layout', 'Selected Data',
|
|
32
|
-
* @gridInfoItem
|
|
33
31
|
*/
|
|
34
32
|
systemReportNames?: SystemReportName[] | ((context: SystemReportNamesContext) => SystemReportName[]);
|
|
35
33
|
/**
|
|
36
34
|
* System Report Formats to use; leave unset for all, empty array for none
|
|
37
35
|
*
|
|
38
36
|
* @defaultValue 'Excel', 'VisualExcel', 'CSV', 'JSON'
|
|
39
|
-
* @gridInfoItem
|
|
40
37
|
*/
|
|
41
38
|
systemReportFormats?: SystemReportFormat[] | ((context: SystemReportFormatsContext) => SystemReportFormat[]);
|
|
42
39
|
/**
|
|
43
40
|
* Export destinations to use; leave unset for all, empty array for none
|
|
44
41
|
*
|
|
45
42
|
* @defaultValue 'Download', 'Clipboard'
|
|
46
|
-
* @gridInfoItem
|
|
47
43
|
*/
|
|
48
44
|
systemExportDestinations?: SystemExportDestination[] | ((context: SystemExportDestinationsContext) => SystemExportDestination[]);
|
|
49
45
|
/**
|
|
50
46
|
* Whether to add a timestamp as a suffix to exported file name
|
|
51
47
|
*
|
|
52
48
|
* @defaultValue false
|
|
53
|
-
* @gridInfoItem
|
|
54
49
|
*/
|
|
55
50
|
appendFileTimestamp?: boolean;
|
|
56
51
|
/**
|
|
@@ -67,7 +62,6 @@ export interface ExportOptions<TData = any> {
|
|
|
67
62
|
* Separator for CSV exports
|
|
68
63
|
*
|
|
69
64
|
* @defaultValue ','
|
|
70
|
-
* @gridInfoItem
|
|
71
65
|
*/
|
|
72
66
|
csvSeparator?: string | ((csvSeparatorContext: BaseExportContext) => string);
|
|
73
67
|
/**
|
|
@@ -91,7 +85,7 @@ export interface ExportOptions<TData = any> {
|
|
|
91
85
|
/**
|
|
92
86
|
* Provides a custom name for the Excel sheet when exporting to Excel
|
|
93
87
|
*
|
|
94
|
-
* @defaultValue '
|
|
88
|
+
* @defaultValue 'Sheet 1'
|
|
95
89
|
*/
|
|
96
90
|
excelSheetName?: string | ((excelSheetNameContext: BaseExportContext) => string);
|
|
97
91
|
}
|