@adaptabletools/adaptable 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.
Files changed (142) hide show
  1. package/index.css +8 -9
  2. package/package.json +1 -1
  3. package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -2
  4. package/src/AdaptableOptions/AdaptableOptions.d.ts +2 -21
  5. package/src/AdaptableOptions/AlertOptions.d.ts +0 -5
  6. package/src/AdaptableOptions/CellSummaryOptions.d.ts +2 -0
  7. package/src/AdaptableOptions/ChartingOptions.d.ts +2 -0
  8. package/src/AdaptableOptions/ColumnOptions.d.ts +0 -2
  9. package/src/AdaptableOptions/CommentOptions.d.ts +6 -0
  10. package/src/AdaptableOptions/ContainerOptions.d.ts +0 -6
  11. package/src/AdaptableOptions/DashboardOptions.d.ts +0 -2
  12. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +0 -2
  13. package/src/AdaptableOptions/DataSetOptions.d.ts +2 -0
  14. package/src/AdaptableOptions/DefaultAdaptableOptions.js +35 -3
  15. package/src/AdaptableOptions/EditOptions.d.ts +0 -1
  16. package/src/AdaptableOptions/EntitlementOptions.d.ts +0 -2
  17. package/src/AdaptableOptions/ExportOptions.d.ts +1 -7
  18. package/src/AdaptableOptions/ExpressionOptions.d.ts +0 -18
  19. package/src/AdaptableOptions/Fdc3Options.d.ts +5 -1
  20. package/src/AdaptableOptions/FilterOptions.d.ts +3 -18
  21. package/src/AdaptableOptions/NoteOptions.d.ts +6 -0
  22. package/src/AdaptableOptions/NotificationsOptions.d.ts +0 -10
  23. package/src/AdaptableOptions/PredicateOptions.d.ts +12 -1
  24. package/src/AdaptableOptions/QuickSearchOptions.d.ts +0 -4
  25. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +15 -5
  26. package/src/AdaptableOptions/TeamSharingOptions.d.ts +0 -4
  27. package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -1
  28. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +6 -7
  29. package/src/AdaptableState/Common/AdaptableFormat.d.ts +9 -0
  30. package/src/AdaptableState/Common/AdaptableFormatPresets.d.ts +31 -0
  31. package/src/AdaptableState/Common/AdaptableFormatPresets.js +181 -0
  32. package/src/AdaptableState/Common/Menu.d.ts +1 -1
  33. package/src/AdaptableState/Common/Menu.js +2 -0
  34. package/src/AdaptableState/FormatColumnState.d.ts +6 -3
  35. package/src/Api/EventApi.d.ts +6 -6
  36. package/src/Api/Implementation/EntitlementApiImpl.js +5 -4
  37. package/src/Api/Implementation/FormatColumnApiImpl.js +8 -3
  38. package/src/Api/Implementation/GridApiImpl.js +1 -12
  39. package/src/Api/Internal/FormatColumnInternalApi.js +4 -2
  40. package/src/Api/Internal/LayoutInternalApi.js +5 -2
  41. package/src/Redux/Store/AdaptableStore.js +4 -4
  42. package/src/Strategy/AdaptableModuleBase.js +8 -7
  43. package/src/Strategy/AlertModule.d.ts +1 -1
  44. package/src/Strategy/BulkUpdateModule.d.ts +1 -1
  45. package/src/Strategy/BulkUpdateModule.js +2 -1
  46. package/src/Strategy/CalculatedColumnModule.d.ts +1 -1
  47. package/src/Strategy/CellSummaryModule.d.ts +1 -1
  48. package/src/Strategy/CellSummaryModule.js +2 -1
  49. package/src/Strategy/ColumnFilterModule.js +2 -1
  50. package/src/Strategy/ColumnInfoModule.d.ts +1 -1
  51. package/src/Strategy/ColumnInfoModule.js +2 -1
  52. package/src/Strategy/CommentModule.d.ts +1 -1
  53. package/src/Strategy/CommentModule.js +12 -2
  54. package/src/Strategy/ExportModule.d.ts +1 -1
  55. package/src/Strategy/Fdc3Module.d.ts +1 -1
  56. package/src/Strategy/FlashingCellModule.d.ts +1 -1
  57. package/src/Strategy/GridFilterModule.js +2 -1
  58. package/src/Strategy/GridInfoModule.d.ts +1 -1
  59. package/src/Strategy/GridInfoModule.js +2 -1
  60. package/src/Strategy/LayoutModule.d.ts +1 -1
  61. package/src/Strategy/NamedQueryModule.js +0 -16
  62. package/src/Strategy/NoteModule.d.ts +1 -1
  63. package/src/Strategy/NoteModule.js +16 -3
  64. package/src/Strategy/PlusMinusModule.js +8 -2
  65. package/src/Strategy/ScheduleModule.js +5 -4
  66. package/src/Strategy/SettingsPanelModule.d.ts +1 -1
  67. package/src/Strategy/ShortcutModule.js +5 -4
  68. package/src/Strategy/SmartEditModule.d.ts +1 -1
  69. package/src/Strategy/SmartEditModule.js +4 -4
  70. package/src/Strategy/SystemStatusModule.d.ts +1 -1
  71. package/src/Utilities/Constants/GeneralConstants.d.ts +4 -0
  72. package/src/Utilities/Constants/GeneralConstants.js +4 -0
  73. package/src/Utilities/Extensions/NumberExtensions.d.ts +2 -0
  74. package/src/Utilities/Extensions/NumberExtensions.js +8 -0
  75. package/src/Utilities/Helpers/AdaptableHelper.js +3 -2
  76. package/src/Utilities/Helpers/FormatHelper.js +26 -15
  77. package/src/Utilities/Services/AnnotationsService.js +10 -1
  78. package/src/Utilities/Services/Interface/IMetamodelService.d.ts +0 -1
  79. package/src/Utilities/Services/MetamodelService.d.ts +0 -2
  80. package/src/Utilities/Services/MetamodelService.js +6 -12
  81. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +7 -6
  82. package/src/View/Alert/AlertEmptyView.js +2 -1
  83. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +1 -1
  84. package/src/View/CellSummary/CellSummaryViewPanel.js +2 -1
  85. package/src/View/Comments/CommentsEditor.js +2 -1
  86. package/src/View/Comments/CommentsPopup.js +3 -1
  87. package/src/View/Components/Buttons/ButtonBase/index.js +3 -2
  88. package/src/View/Components/Buttons/EntityListActionButtons.js +7 -6
  89. package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +2 -1
  90. package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +3 -2
  91. package/src/View/Components/ColumnFilter/components/ColumnFilterInputList.js +3 -1
  92. package/src/View/Components/Panels/PanelDashboard/index.js +2 -1
  93. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +4 -2
  94. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +2 -1
  95. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +3 -2
  96. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +2 -1
  97. package/src/View/Dashboard/CustomDashboardButton.js +3 -2
  98. package/src/View/Dashboard/Dashboard.js +3 -2
  99. package/src/View/Dashboard/DashboardPopup.js +3 -2
  100. package/src/View/Dashboard/PinnedToolbarsSelector.js +2 -1
  101. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +2 -1
  102. package/src/View/Export/ExportViewPanel.js +3 -1
  103. package/src/View/Filter/FilterViewPanel.js +2 -1
  104. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +137 -181
  105. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +20 -8
  106. package/src/View/GridFilter/GridFilterPopupUI/index.d.ts +3 -2
  107. package/src/View/GridFilter/GridFilterPopupUI/index.js +2 -1
  108. package/src/View/GridFilter/GridFilterViewPanel.js +3 -2
  109. package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +179 -6
  110. package/src/View/Layout/LayoutCloneButton.js +2 -1
  111. package/src/View/Layout/LayoutViewPanel.js +3 -1
  112. package/src/View/Layout/TransposedPopup.js +2 -1
  113. package/src/View/Note/NotePopup.js +3 -1
  114. package/src/View/SmartEdit/SmartEditViewPanel.js +2 -1
  115. package/src/View/StateManagement/StateManagementViewPanel.js +3 -1
  116. package/src/View/StatusBar/StatusBarPopup.js +2 -1
  117. package/src/View/Theme/ThemeEditor.js +2 -1
  118. package/src/View/Theme/ThemePopup.js +2 -1
  119. package/src/View/Theme/ThemeSelector.js +3 -1
  120. package/src/View/Theme/ThemeViewPanel.js +3 -1
  121. package/src/View/Wizard/OnePageWizards.js +3 -2
  122. package/src/agGrid/AdaptableAgGrid.d.ts +2 -2
  123. package/src/agGrid/AdaptableAgGrid.js +7 -29
  124. package/src/agGrid/AgGridAdapter.js +2 -2
  125. package/src/agGrid/AgGridColumnAdapter.js +11 -4
  126. package/src/agGrid/AgGridExportAdapter.js +4 -2
  127. package/src/agGrid/cellRenderers/ActionColumnRenderer.js +2 -1
  128. package/src/components/Dashboard/Dashboard.js +2 -1
  129. package/src/components/Dashboard/DashboardToolbar.js +2 -1
  130. package/src/components/Datepicker/index.js +2 -1
  131. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +1 -1
  132. package/src/components/Select/Select.js +5 -4
  133. package/src/components/SimpleButton/index.js +3 -2
  134. package/src/env.js +2 -2
  135. package/src/metamodel/adaptable-metamodel-model.d.ts +0 -2
  136. package/src/metamodel/adaptable.metamodel.d.ts +10 -197
  137. package/src/metamodel/adaptable.metamodel.js +1 -1
  138. package/src/types.d.ts +2 -0
  139. package/src/types.js +1 -0
  140. package/themes/dark.css +3 -1
  141. package/tsconfig.esm.tsbuildinfo +1 -1
  142. package/index.css.map +0 -1
@@ -16,49 +16,42 @@ export interface ExpressionOptions<TData = any> {
16
16
  * System Boolean Expression Functions available in AdapTableQL
17
17
  *
18
18
  * @defaultValue null (sets all)
19
- * @gridInfoItem
20
19
  */
21
20
  systemBooleanFunctions?: BooleanFunctionName[] | ((context: GlobalExpressionFunctionsContext<BooleanFunctionName>) => BooleanFunctionName[]);
22
21
  /**
23
22
  * Custom Boolean Expression Functions available in AdapTableQL
24
23
  *
25
24
  * @defaultValue null (none)
26
- * @gridInfoItem
27
25
  */
28
26
  customBooleanFunctions?: Record<string, ExpressionFunction> | ((context: GlobalExpressionFunctionsContext<BooleanFunctionName>) => Record<string, ExpressionFunction>);
29
27
  /**
30
28
  * System Scalar Expression Functions available in AdapTableQL
31
29
  *
32
30
  * @defaultValue null (sets all)
33
- * @gridInfoItem
34
31
  */
35
32
  systemScalarFunctions?: ScalarFunctionName[] | ((context: GlobalExpressionFunctionsContext<ScalarFunctionName>) => ScalarFunctionName[]);
36
33
  /**
37
34
  * Custom Scalar Expression Functions available in AdapTableQL
38
35
  *
39
36
  * @defaultValue null (none)
40
- * @gridInfoItem
41
37
  */
42
38
  customScalarFunctions?: Record<string, ExpressionFunction> | ((context: GlobalExpressionFunctionsContext<ScalarFunctionName>) => Record<string, ExpressionFunction>);
43
39
  /**
44
40
  * System Observable Expression Functions available in AdapTableQL
45
41
  *
46
42
  * @defaultValue null (sets all)
47
- * @gridInfoItem
48
43
  */
49
44
  systemObservableFunctions?: ObservableFunctionName[] | ((context: GlobalExpressionFunctionsContext<ObservableFunctionName>) => ObservableFunctionName[]);
50
45
  /**
51
46
  * System AggregatedBoolean Expression Functions available in AdapTableQL
52
47
  *
53
48
  * @defaultValue null (sets all)
54
- * @gridInfoItem
55
49
  */
56
50
  systemAggregatedBooleanFunctions?: AggregatedBooleanFunctionName[] | ((context: GlobalExpressionFunctionsContext<AggregatedBooleanFunctionName>) => AggregatedBooleanFunctionName[]);
57
51
  /**
58
52
  * System AggregatedScalar Expression Functions available in AdapTableQL
59
53
  *
60
54
  * @defaultValue undefined (sets all)
61
- * @gridInfoItem
62
55
  */
63
56
  systemAggregatedScalarFunctions?: AggregatedScalarFunctionName[] | ((context: GlobalExpressionFunctionsContext<AggregatedScalarFunctionName>) => AggregatedScalarFunctionName[]);
64
57
  /**
@@ -69,7 +62,6 @@ export interface ExpressionOptions<TData = any> {
69
62
  * Module-specific Expression Functions available
70
63
  *
71
64
  * @defaultValue undefined (defaults to available System & Custom values)
72
- * @gridInfoItem
73
65
  */
74
66
  moduleExpressionFunctions?: ModuleExpressionFunctionsMap | ((context: ModuleExpressionFunctionsContext) => ModuleExpressionFunctions | undefined);
75
67
  /**
@@ -80,14 +72,12 @@ export interface ExpressionOptions<TData = any> {
80
72
  * Validate Expressions before they can be run or saved
81
73
  *
82
74
  * @defaultValue true
83
- * @gridInfoItem
84
75
  */
85
76
  performExpressionValidation?: boolean;
86
77
  /**
87
78
  * Maximum time (in milliseconds) to hold a Data Change event in a trailing timeframe
88
79
  *
89
80
  * @defaultValue 28800000 (~8 hours)
90
- * @gridInfoItem
91
81
  */
92
82
  maxTimeframeSize?: number;
93
83
  /**
@@ -105,7 +95,6 @@ export interface ExpressionOptions<TData = any> {
105
95
  * Perform case-sensitive text comparisons when evaluating Expressions
106
96
  *
107
97
  * @defaultValue false
108
- * @gridInfoItem
109
98
  * @noCodeItem
110
99
  */
111
100
  caseSensitiveExpressions?: boolean;
@@ -151,49 +140,42 @@ export interface ModuleExpressionFunctions {
151
140
  * System Boolean Expression Functions available in AdapTableQL
152
141
  *
153
142
  * @defaultValue null (sets all)
154
- * @gridInfoItem
155
143
  */
156
144
  systemBooleanFunctions?: BooleanFunctionName[] | ((context: GlobalExpressionFunctionsContext<BooleanFunctionName>) => BooleanFunctionName[]);
157
145
  /**
158
146
  * Custom Boolean Expression Functions available in AdapTableQL
159
147
  *
160
148
  * @defaultValue null (none)
161
- * @gridInfoItem
162
149
  */
163
150
  customBooleanFunctions?: Record<string, ExpressionFunction> | ((context: GlobalExpressionFunctionsContext<BooleanFunctionName>) => Record<string, ExpressionFunction>);
164
151
  /**
165
152
  * System Scalar Expression Functions available in AdapTableQL
166
153
  *
167
154
  * @defaultValue null (sets all)
168
- * @gridInfoItem
169
155
  */
170
156
  systemScalarFunctions?: ScalarFunctionName[] | ((context: GlobalExpressionFunctionsContext<ScalarFunctionName>) => ScalarFunctionName[]);
171
157
  /**
172
158
  * Custom Scalar Expression Functions available in AdapTableQL
173
159
  *
174
160
  * @defaultValue null (none)
175
- * @gridInfoItem
176
161
  */
177
162
  customScalarFunctions?: Record<string, ExpressionFunction> | ((context: GlobalExpressionFunctionsContext<ScalarFunctionName>) => Record<string, ExpressionFunction>);
178
163
  /**
179
164
  * System Observable Expression Functions available in AdapTableQL
180
165
  *
181
166
  * @defaultValue null (sets all)
182
- * @gridInfoItem
183
167
  */
184
168
  systemObservableFunctions?: ObservableFunctionName[] | ((context: GlobalExpressionFunctionsContext<ObservableFunctionName>) => ObservableFunctionName[]);
185
169
  /**
186
170
  * System AggregatedBoolean Expression Functions available in AdapTableQL
187
171
  *
188
172
  * @defaultValue null (sets all)
189
- * @gridInfoItem
190
173
  */
191
174
  systemAggregatedBooleanFunctions?: AggregatedBooleanFunctionName[] | ((context: GlobalExpressionFunctionsContext<AggregatedBooleanFunctionName>) => AggregatedBooleanFunctionName[]);
192
175
  /**
193
176
  * System AggregatedScalar Expression Functions available in AdapTableQL
194
177
  *
195
178
  * @defaultValue null (sets all)
196
- * @gridInfoItem
197
179
  */
198
180
  systemAggregatedScalarFunctions?: AggregatedScalarFunctionName[] | ((context: GlobalExpressionFunctionsContext<AggregatedScalarFunctionName>) => AggregatedScalarFunctionName[]);
199
181
  }
@@ -32,10 +32,14 @@ export interface Fdc3Options {
32
32
  contexts?: Fdc3ContextOptions;
33
33
  /**
34
34
  * Configures the default FDC3 Actions column
35
+ *
36
+ * @defaultValue { columnId: 'fdc3ActionColumn', headerName: 'FDC3 Actions', width: 200, resizable: true, movable: false, rowScope: { ExcludeDataRows: false, ExcludeGroupRows: true, ExcludeSummaryRows: true, ExcludeTotalRows: true } }
35
37
  */
36
38
  actionColumnDefaultConfiguration?: ActionColumnDefaultConfiguration;
37
39
  /**
38
40
  * Customises FDC3 UI Controls
41
+ *
42
+ * @defaultValue { contexts: {}, intents: {} }
39
43
  */
40
44
  uiControlsDefaultConfiguration?: {
41
45
  contexts?: {
@@ -119,7 +123,7 @@ export interface ActionColumnDefaultConfiguration {
119
123
  resizable?: boolean;
120
124
  /**
121
125
  * If Column is movable
122
- * @defaultValue true
126
+ * @defaultValue false
123
127
  */
124
128
  movable?: boolean;
125
129
  /**
@@ -20,8 +20,7 @@ export interface FilterOptions<TData = any> {
20
20
  /**
21
21
  * Clear Grid and Column Filters when AdapTable loads
22
22
  *
23
- * @defaultValue true
24
- * @gridInfoItem
23
+ * @defaultValue false
25
24
  * @noCodeItem
26
25
  */
27
26
  clearFiltersOnStartUp?: boolean;
@@ -41,7 +40,6 @@ export interface FilterOptions<TData = any> {
41
40
  * Allow filtering on Calculated & FreeText columns
42
41
  *
43
42
  * @defaultValue true
44
- * @gridInfoItem
45
43
  */
46
44
  enableFilterOnSpecialColumns?: boolean;
47
45
  /**
@@ -53,7 +51,6 @@ export interface FilterOptions<TData = any> {
53
51
  isRowFilterable?: (context: IsRowFilterableContext) => boolean;
54
52
  /**
55
53
  * Show Date Picker (or Date Input) in Filter controls
56
- * @gridInfoItem
57
54
  * @noCodeItem
58
55
  * @defaultValue true
59
56
  */
@@ -74,7 +71,6 @@ export interface ColumnFilterOptions<TData = any> {
74
71
  * Make Column Header distinctive for filtered columns, helps users see currently filtered columns
75
72
  *
76
73
  * @defaultValue true
77
- * @gridInfoItem
78
74
  * @noCodeItem
79
75
  */
80
76
  indicateFilteredColumns?: boolean;
@@ -82,7 +78,6 @@ export interface ColumnFilterOptions<TData = any> {
82
78
  * Manually apply Column Filters; an Apply Filter button is displayed and Quick Filter is disabled
83
79
  *
84
80
  * @defaultValue false
85
- * @gridInfoItem
86
81
  * @noCodeItem
87
82
  */
88
83
  manuallyApplyColumnFilter?: boolean | ((context: AdaptableColumnContext) => boolean);
@@ -90,28 +85,24 @@ export interface ColumnFilterOptions<TData = any> {
90
85
  * Default filter type for numeric Columns
91
86
  *
92
87
  * @defaultValue Equals
93
- * @gridInfoItem
94
88
  */
95
89
  defaultNumericColumnFilter?: StrictExtract<SystemFilterPredicateId, 'GreaterThan' | 'LessThan' | 'Equals' | 'NotEquals' | 'In'> | ((adaptableColumnContext: DefaultPredicateFilterContext) => StrictExtract<SystemFilterPredicateId, 'GreaterThan' | 'LessThan' | 'Equals' | 'NotEquals' | 'In'>);
96
90
  /**
97
91
  * Default filter type for text Columns
98
92
  *
99
93
  * @defaultValue Contains
100
- * @gridInfoItem
101
94
  */
102
95
  defaultTextColumnFilter?: StrictExtract<SystemFilterPredicateId, 'Is' | 'IsNot' | 'Contains' | 'NotContains' | 'StartsWith' | 'EndsWith' | 'Regex' | 'In'> | ((adaptableColumnContext: DefaultPredicateFilterContext) => StrictExtract<SystemFilterPredicateId, 'Is' | 'IsNot' | 'Contains' | 'NotContains' | 'StartsWith' | 'EndsWith' | 'Regex' | 'In'>);
103
96
  /**
104
97
  * Default filter type for date Columns
105
98
  *
106
99
  * @defaultValue On
107
- * @gridInfoItem
108
100
  */
109
101
  defaultDateColumnFilter?: StrictExtract<SystemFilterPredicateId, 'After' | 'Before' | 'On' | 'NotOn' | 'In'> | ((adaptableColumnContext: DefaultPredicateFilterContext) => StrictExtract<SystemFilterPredicateId, 'After' | 'Before' | 'On' | 'NotOn' | 'In'>);
110
102
  /**
111
103
  * Default filter type for array Columns ('textArray', 'numberArray', etc.)
112
104
  *
113
105
  * @defaultValue In
114
- * @gridInfoItem
115
106
  */
116
107
  defaultArrayColumnFilter?: StrictExtract<SystemFilterPredicateId, 'In' | 'NotIn' | 'Blanks' | 'NonBlanks'> | ((adaptableColumnContext: DefaultPredicateFilterContext) => StrictExtract<SystemFilterPredicateId, 'In' | 'NotIn' | 'Blanks' | 'NonBlanks'>);
117
108
  /**
@@ -120,17 +111,10 @@ export interface ColumnFilterOptions<TData = any> {
120
111
  * @defaultValue undefined
121
112
  */
122
113
  hideQuickFilterDropdown?: (adaptableColumnContext: AdaptableColumnContext<TData>) => boolean;
123
- /**
124
- * Hides Input in Quick Filter Bar for a given Column
125
- *
126
- * @defaultValue undefined
127
- */
128
- hideQuickFilterInput?: (adaptableColumnContext: AdaptableColumnContext<TData>) => boolean;
129
114
  /**
130
115
  * Height of Quick Filter Bar (if not provided, AG Grid default is used)
131
116
  *
132
117
  * @defaultValue null
133
- * @gridInfoItem
134
118
  */
135
119
  quickFilterHeight?: number;
136
120
  /**
@@ -141,12 +125,13 @@ export interface ColumnFilterOptions<TData = any> {
141
125
  showQuickFilter?: boolean;
142
126
  /**
143
127
  * Shortcut Keys to activate a Quick Filter Predicate
128
+ *
129
+ * @defaultValue {}
144
130
  */
145
131
  quickFilterWildcards?: Partial<Record<SystemAlertPredicateId, string[]>>;
146
132
  /**
147
133
  * Time to wait (in ms) before Filter Bar reacts to new value
148
134
  * @defaultValue 250
149
- * @gridInfoItem
150
135
  */
151
136
  quickFilterDebounce?: number;
152
137
  }
@@ -19,6 +19,12 @@ export interface NoteOptions<TData = any> {
19
19
  * @defaultValue true
20
20
  */
21
21
  showPopupCloseButton?: boolean;
22
+ /**
23
+ * Whether to show Notes by hovering (default) or via context menu
24
+ *
25
+ * @defaultValue 'hover'
26
+ */
27
+ showNoteAction?: 'hover' | 'menu';
22
28
  }
23
29
  /**
24
30
  * Context used when determining if a Note can be added to a Cell
@@ -6,7 +6,6 @@ export interface NotificationsOptions {
6
6
  * How many Notifications can be displayed at one time
7
7
  *
8
8
  * @defaultValue 3
9
- * @gridInfoItem
10
9
  * noCodeItem
11
10
  */
12
11
  maxNotifications?: number;
@@ -14,63 +13,54 @@ export interface NotificationsOptions {
14
13
  * Where Notification will appear (if anywhere)
15
14
  *
16
15
  * @defaultValue 'BottomRight'
17
- * @gridInfoItem
18
16
  */
19
17
  position?: ToastPositions;
20
18
  /**
21
19
  * How long (in ms) Notifications display for
22
20
  *
23
21
  * @defaultValue 3000
24
- * @gridInfoItem
25
22
  */
26
23
  duration?: number | 'always';
27
24
  /**
28
25
  * Shows a Progress Bar in the Notification
29
26
  *
30
27
  * @defaultValue false
31
- * @gridInfoItem
32
28
  */
33
29
  showProgressBar?: boolean;
34
30
  /**
35
31
  * Closes Notification automatically when its clicked
36
32
  *
37
33
  * @defaultValue false
38
- * @gridInfoItem
39
34
  */
40
35
  closeWhenClicked?: boolean;
41
36
  /**
42
37
  * Pauses the Notification when mouse hovers over it
43
38
  *
44
39
  * @defaultValue false
45
- * @gridInfoItem
46
40
  */
47
41
  pauseWhenHovering?: boolean;
48
42
  /**
49
43
  * Can Notification be dragged
50
44
  *
51
45
  * @defaultValue false
52
- * @gridInfoItem
53
46
  */
54
47
  isDraggable?: boolean;
55
48
  /**
56
49
  * How Notification will appear: Bounce, Slide, Zoom or Flip
57
50
  *
58
51
  * @defaultValue 'Slide'
59
- * @gridInfoItem
60
52
  */
61
53
  transition?: 'Bounce' | 'Slide' | 'Zoom' | 'Flip';
62
54
  /**
63
55
  * Display System Status Messages as Notifications
64
56
  *
65
57
  * @defaultValue false
66
- * @gridInfoItem
67
58
  */
68
59
  showSystemStatusMessageNotifications?: boolean;
69
60
  /**
70
61
  * How many System Status Messages to hold in State; when limit is reached, oldest Message is removed
71
62
  *
72
63
  * @defaultValue 100
73
- * @gridInfoItem
74
64
  * @transition
75
65
  */
76
66
  maxSystemMessagesInStore?: number;
@@ -6,33 +6,44 @@ import { AdaptablePredicateDef, ColumnScope, BaseContext, PredicateModuleScope,
6
6
  export interface PredicateOptions {
7
7
  /**
8
8
  * Definitions for Custom provided Predicates
9
+ *
10
+ * @defaultValue []
9
11
  */
10
12
  customPredicateDefs?: (AdaptablePredicateDef | AdaptablePredicateDefPartialWithExtends)[];
11
13
  /**
12
14
  * Which System Predicates are available when Filtering
15
+ *
16
+ * @defaultValue all `SystemFilterPredicateIds`
13
17
  */
14
18
  systemFilterPredicates?: SystemFilterPredicateIds | ((context: SystemPredicatesContext<SystemFilterPredicateId>) => SystemFilterPredicateIds);
15
19
  /**
16
20
  * Which System Predicates are available for Badge Styles
21
+ *
22
+ * @defaultValue all `SystemBadgeStylePredicateIds`
17
23
  */
18
24
  systemBadgeStylePredicates?: SystemBadgeStylePredicateIds | ((context: SystemPredicatesContext<SystemBadgeStylePredicateId>) => SystemBadgeStylePredicateIds);
19
25
  /**
20
26
  * Which System Predicates are available in Alert Module
27
+ *
28
+ * @defaultValue all `SystemAlertPredicateIds`
21
29
  */
22
30
  systemAlertPredicates?: SystemAlertPredicateIds | ((context: SystemPredicatesContext<SystemAlertPredicateId>) => SystemAlertPredicateIds);
23
31
  /**
24
32
  * Which System Predicates are available in Format Column Module
33
+ *
34
+ * @defaultValue all `SystemFormatColumnPredicateIds`
25
35
  */
26
36
  systemFormatColumnPredicates?: SystemFormatColumnPredicateIds | ((context: SystemPredicatesContext<SystemFormatColumnPredicateId>) => SystemFormatColumnPredicateIds);
27
37
  /**
28
38
  * Which System Predicates are available in Flashing Cell Module
39
+ *
40
+ * @defaultValue all `SystemFlashingCellPredicateIds`
29
41
  */
30
42
  systemFlashingCellPredicates?: SystemFlashingCellPredicateIds | ((context: SystemPredicatesContext<SystemFlashingCellPredicateId>) => SystemFlashingCellPredicateIds);
31
43
  /**
32
44
  * Perform case-sensitive text comparisons when evaluating Predicates
33
45
  *
34
46
  * @defaultValue false
35
- * @gridInfoItem
36
47
  * @noCodeItem
37
48
  */
38
49
  caseSensitivePredicates?: boolean | ((context: AdaptableColumnContext) => boolean);
@@ -17,21 +17,18 @@ export interface QuickSearchOptions<TData = any> {
17
17
  * Value to use as placeholder in QuickSearch controls (e.g. in Dashboard)
18
18
  *
19
19
  * @defaultValue 'Search'
20
- * @gridInfoItem
21
20
  */
22
21
  quickSearchPlaceholder?: string;
23
22
  /**
24
23
  * Clears saved searches when AdapTable loads
25
24
  *
26
25
  * @defaultValue false
27
- * @gridInfoItem
28
26
  */
29
27
  clearQuickSearchOnStartUp?: boolean;
30
28
  /**
31
29
  * Filters Grid after quick search so only matching rows are displayed
32
30
  *
33
31
  * @defaultValue false
34
- * @gridInfoItem
35
32
  * @noCodeItem
36
33
  */
37
34
  filterGridAfterQuickSearch?: boolean;
@@ -39,7 +36,6 @@ export interface QuickSearchOptions<TData = any> {
39
36
  * Run Quick Search using Case Sensitivity
40
37
  *
41
38
  * @defaultValue false
42
- * @gridInfoItem
43
39
  * @noCodeItem
44
40
  */
45
41
  isQuickSearchCaseSensitive?: boolean;
@@ -9,7 +9,6 @@ export interface SettingsPanelOptions {
9
9
  * Title for the Settings Panel
10
10
  *
11
11
  * @defaultValue 'Settings Panel'
12
- * @gridInfoItem
13
12
  */
14
13
  title?: string;
15
14
  /**
@@ -20,20 +19,17 @@ export interface SettingsPanelOptions {
20
19
  /**
21
20
  * Whether to show Icons for each Module in the Setting Panel
22
21
  * @defaultValue true
23
- * @gridInfoItem
24
22
  */
25
23
  showModuleIcons?: boolean;
26
24
  /**
27
25
  * Whether a Settings Panel button should always be displayed in `ModuleButtons` area of Dashboard
28
26
  * @defaultValue false
29
- * @gridInfoItem
30
27
  * @noCodeItem
31
28
  */
32
29
  alwaysShowInDashboard?: boolean;
33
30
  /**
34
31
  * Whether a Settings Panel button should always be displayed in `ModuleButtons` area of ToolPanel
35
32
  * @defaultValue false
36
- * @gridInfoItem
37
33
  * @noCodeItem
38
34
  */
39
35
  alwaysShowInToolPanel?: boolean;
@@ -66,13 +62,19 @@ export interface SettingsPanelOptions {
66
62
  /**
67
63
  * Whether Settings Panel is 'window' (i.e. movable, resizable, no backdrop) or 'modal' (centre of screen with backdrop)
68
64
  *
69
- * @defaultValue 'window'
65
+ * @defaultValue 'modal'
70
66
  */
71
67
  popupType?: PopupType;
72
68
  /**
73
69
  * Custom Settings Panels provided by developers at design-time
74
70
  */
75
71
  customSettingsPanels?: CustomSettingsPanel[];
72
+ /**
73
+ * Which Tabs can be used to display Grid Info: 'Grid Options', 'Grid Summary' or 'Grid State'
74
+ *
75
+ * @defaultValue ['Grid Options', 'Grid Summary', 'Grid State']
76
+ */
77
+ gridInfoTabs?: GridInfoTabs;
76
78
  }
77
79
  /**
78
80
  * Definition of a Custom Panel to add to the Adaptable Settings Panel
@@ -99,3 +101,11 @@ export interface CustomSettingsPanel {
99
101
  * Type of Popup
100
102
  */
101
103
  export type PopupType = 'modal' | 'window';
104
+ /**
105
+ * List of Editors that can be used when creating the Grid Filter
106
+ */
107
+ export type GridInfoTabs = GridInfoTab[];
108
+ /**
109
+ * Tab to use for Grid Info: 'Grid Options', 'Grid Summary' or 'Grid State'
110
+ */
111
+ export type GridInfoTab = 'Grid Options' | 'Grid Summary' | 'Grid State';
@@ -8,7 +8,6 @@ export interface TeamSharingOptions {
8
8
  * Whether Team Sharing is enabled
9
9
  *
10
10
  * @defaultValue false
11
- * @gridInfoItem
12
11
  */
13
12
  enableTeamSharing: boolean;
14
13
  /**
@@ -39,14 +38,12 @@ export interface TeamSharingOptions {
39
38
  * Frequency (in minutes) to check if Active Shared Entities have a newer revision
40
39
  *
41
40
  * @defaultValue 0 (never)
42
- * @gridInfoItem
43
41
  */
44
42
  updateInterval?: number;
45
43
  /**
46
44
  * How user is informed when Active Shared Entities have newer revisions
47
45
  *
48
46
  * @defaultValue null (none)
49
- * @gridInfoItem
50
47
  */
51
48
  updateNotification?: 'Alert' | 'AlertWithNotification' | 'SystemStatus';
52
49
  /**
@@ -58,7 +55,6 @@ export interface TeamSharingOptions {
58
55
  * Suppress warning when an Import overrides existing Adaptable State item
59
56
  *
60
57
  * @defaultValue false
61
- * @gridInfoItem
62
58
  */
63
59
  suppressOverrideConfigWarning?: boolean;
64
60
  }
@@ -10,7 +10,6 @@ export interface ToolPanelOptions {
10
10
  * Display the Tool Panels dropdown
11
11
  *
12
12
  * @defaultValue true
13
- * @gridInfoItem
14
13
  * @noCodeItem
15
14
  */
16
15
  showToolPanelsDropdown?: boolean;
@@ -11,7 +11,6 @@ export interface UserInterfaceOptions<TData = any> {
11
11
  * Show Mac-like scrollbars; size is configurable via CSS variable `--ab-custom-scrollbar-size` (default: `10px`)
12
12
  *
13
13
  * @defaultValue false
14
- * @gridInfoItem
15
14
  */
16
15
  useCustomMacLikeScrollbars?: boolean;
17
16
  /**
@@ -26,10 +25,13 @@ export interface UserInterfaceOptions<TData = any> {
26
25
  customIcons?: CustomIcon[] | (() => CustomIcon[]);
27
26
  /**
28
27
  * Options for managing and customizing date inputs in AdapTable
28
+ *
29
29
  */
30
30
  dateInputOptions?: DateInputOptions;
31
31
  /**
32
32
  * Colours to display in Colour Picker (in place of AdapTable's default set); can be hardcoded list or function
33
+ *
34
+ * @defaultValue default colors provided by AdapTable
33
35
  */
34
36
  colorPalette?: string[] | ((currentTheme: string) => string[]);
35
37
  /**
@@ -47,7 +49,7 @@ export interface UserInterfaceOptions<TData = any> {
47
49
  /**
48
50
  * Optional list of CSS styles that can be used when creating Adaptable Styles in Adaptable (e.g. in Format Column and other Modules)
49
51
  *
50
- * @gridInfoItem
52
+ * @defaultValue []
51
53
  */
52
54
  styleClassNames?: string[];
53
55
  /**
@@ -58,28 +60,24 @@ export interface UserInterfaceOptions<TData = any> {
58
60
  * Provide links to AdapTable documentation (in Module popups and Expression Editor)
59
61
  *
60
62
  * @defaultValue true
61
- * @gridInfoItem
62
63
  */
63
64
  showDocumentationLinks?: boolean;
64
65
  /**
65
66
  * Displays the AdapTable version in Grid Info section of Settings Panel
66
67
  *
67
68
  * @defaultValue true
68
- * @gridInfoItem
69
69
  */
70
70
  showAdapTableVersion?: boolean;
71
71
  /**
72
72
  * Displays the AG Grid version in Grid Info section of Settings Panel
73
73
  *
74
74
  * @defaultValue true
75
- * @gridInfoItem
76
75
  */
77
76
  showAgGridVersion?: boolean;
78
77
  /**
79
78
  * English variant to use in AdapTable UI
80
79
  *
81
80
  * @defaultValue 'GB'
82
- * @gridInfoItem
83
81
  */
84
82
  englishVariant?: 'GB' | 'US';
85
83
  /**
@@ -96,6 +94,7 @@ export interface UserInterfaceOptions<TData = any> {
96
94
  alternativeModuleNames?: AlternativeModuleName[];
97
95
  /**
98
96
  * Options for showing Loading Screen (during initialisation)
97
+ *
99
98
  */
100
99
  loadingScreenOptions?: LoadingScreenOptions;
101
100
  }
@@ -123,7 +122,7 @@ export interface LoadingScreenOptions<TData = any> {
123
122
  /**
124
123
  * Text to display in Loading Screen.
125
124
  *
126
- * @defaultValue 'Retrieving your settings and setting up Grid...'
125
+ * @defaultValue 'Retrieving your settings and setting up the grid...'
127
126
  */
128
127
  loadingScreenText?: string;
129
128
  }
@@ -78,6 +78,15 @@ export interface NumberFormatterOptions extends BaseFormatterOptions {
78
78
  * Show nothing in cell (but underlying value remains)
79
79
  */
80
80
  Empty?: boolean;
81
+ /**
82
+ * Numeric notation to use when rendering the value.
83
+ *
84
+ * - `'standard'` (default) — renders the number normally.
85
+ * - `'scientific'` — renders the number in scientific notation
86
+ * (e.g. `1.23e+5`). When set, `IntegerSeparator` is ignored
87
+ * and `FractionDigits` controls the number of mantissa digits.
88
+ */
89
+ Notation?: 'standard' | 'scientific';
81
90
  }
82
91
  /**
83
92
  * Formatter Options for Date Columns - contains a single `Pattern` property
@@ -0,0 +1,31 @@
1
+ import { AdaptableFormat, NumberFormatterOptions } from './AdaptableFormat';
2
+ /**
3
+ * Named preset for a numeric Display Format.
4
+ *
5
+ * When a Format Column's `DisplayFormat` is set to one of these values,
6
+ * AdapTable resolves it at render time to the corresponding concrete
7
+ * `AdaptableFormat` (a `NumberFormatter` with the appropriate options).
8
+ */
9
+ export type AdaptableNumericFormatPreset = 'Percentage' | 'Thousand' | 'Million' | 'Billion' | 'BasisPoints' | 'Dollar' | 'Sterling' | 'Euro' | 'Yen' | 'Bitcoin' | 'Integer' | 'Decimal' | 'Accounting' | 'FXRate' | 'Scientific';
10
+ /**
11
+ * The full set of values a Format Column's `DisplayFormat` may hold:
12
+ * either a concrete `AdaptableFormat` object or the name of a numeric
13
+ * preset (e.g. `'Dollar'`).
14
+ */
15
+ export type DisplayFormat = AdaptableFormat | AdaptableNumericFormatPreset;
16
+ /**
17
+ * Concrete options associated with each numeric preset. The wizard and
18
+ * runtime resolver both pull from this single source of truth.
19
+ */
20
+ export declare const NUMERIC_FORMAT_PRESETS: Record<AdaptableNumericFormatPreset, NumberFormatterOptions>;
21
+ /**
22
+ * Type guard: `true` if the value is a known numeric preset name.
23
+ */
24
+ export declare const isAdaptableNumericFormatPreset: (value: unknown) => value is AdaptableNumericFormatPreset;
25
+ /**
26
+ * Resolve a `DisplayFormat` (preset name or concrete object) into a
27
+ * concrete `AdaptableFormat`. Returns `undefined` if the input is
28
+ * `undefined`. A bare preset name is expanded into a `NumberFormatter`
29
+ * with the corresponding options.
30
+ */
31
+ export declare const resolveDisplayFormat: (displayFormat: DisplayFormat | undefined) => AdaptableFormat | undefined;