@adaptabletools/adaptable 14.0.0-canary.3 → 14.0.1-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.
Files changed (76) hide show
  1. package/bundle.cjs.js +196 -191
  2. package/package.json +1 -1
  3. package/publishTimestamp.d.ts +1 -1
  4. package/publishTimestamp.js +1 -1
  5. package/src/AdaptableInterfaces/IAdaptable.d.ts +1 -1
  6. package/src/AdaptableOptions/ActionOptions.d.ts +5 -3
  7. package/src/AdaptableOptions/AdaptableOptions.d.ts +16 -2
  8. package/src/AdaptableOptions/AdaptableQLOptions.d.ts +4 -5
  9. package/src/AdaptableOptions/AlertOptions.d.ts +1 -0
  10. package/src/AdaptableOptions/ChartingOptions.d.ts +1 -0
  11. package/src/AdaptableOptions/ColumnOptions.d.ts +3 -0
  12. package/src/AdaptableOptions/DashboardOptions.d.ts +3 -0
  13. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +1 -0
  14. package/src/AdaptableOptions/ExpressionOptions.d.ts +15 -15
  15. package/src/AdaptableOptions/FilterOptions.d.ts +9 -8
  16. package/src/AdaptableOptions/FinancePluginOptions.d.ts +0 -11
  17. package/src/AdaptableOptions/GeneralOptions.d.ts +3 -9
  18. package/src/AdaptableOptions/LayoutOptions.d.ts +2 -7
  19. package/src/AdaptableOptions/MenuOptions.d.ts +1 -1
  20. package/src/AdaptableOptions/NotificationsOptions.d.ts +1 -0
  21. package/src/AdaptableOptions/SearchOptions.d.ts +1 -0
  22. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +2 -0
  23. package/src/AdaptableOptions/StateOptions.d.ts +0 -4
  24. package/src/AdaptableOptions/ToolPanelOptions.d.ts +1 -0
  25. package/src/Api/AlertApi.d.ts +3 -3
  26. package/src/Api/EventApi.d.ts +8 -8
  27. package/src/Api/GridApi.d.ts +5 -5
  28. package/src/Api/Implementation/AlertApiImpl.d.ts +1 -1
  29. package/src/Api/Implementation/AlertApiImpl.js +1 -1
  30. package/src/Api/Implementation/GridApiImpl.js +1 -1
  31. package/src/Api/Implementation/StyledColumnApiImpl.d.ts +1 -0
  32. package/src/Api/Implementation/StyledColumnApiImpl.js +6 -0
  33. package/src/Api/Implementation/TeamSharingApiImpl.d.ts +2 -0
  34. package/src/Api/Implementation/TeamSharingApiImpl.js +7 -0
  35. package/src/Api/Internal/AdaptableInternalApi.js +2 -2
  36. package/src/Api/Internal/LayoutInternalApi.js +1 -2
  37. package/src/Api/Internal/PredicateInternalApi.js +0 -7
  38. package/src/Api/Internal/TeamSharingInternalApi.d.ts +0 -5
  39. package/src/Api/Internal/TeamSharingInternalApi.js +0 -9
  40. package/src/Api/StyledColumnApi.d.ts +7 -2
  41. package/src/Api/TeamSharingApi.d.ts +8 -0
  42. package/src/PredefinedConfig/AlertState.d.ts +1 -1
  43. package/src/PredefinedConfig/CalculatedColumnState.d.ts +2 -6
  44. package/src/PredefinedConfig/Common/Menu.d.ts +5 -5
  45. package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +6 -2
  46. package/src/PredefinedConfig/FormatColumnState.d.ts +2 -3
  47. package/src/PredefinedConfig/FreeTextColumnState.d.ts +1 -6
  48. package/src/Strategy/FreeTextColumnModule.js +24 -5
  49. package/src/Strategy/StyledColumnModule.js +60 -28
  50. package/src/Strategy/TeamSharingModule.js +2 -2
  51. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +0 -3
  52. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.d.ts +1 -1
  53. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +11 -10
  54. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +11 -7
  55. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.d.ts +1 -1
  56. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +26 -52
  57. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +13 -13
  58. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
  59. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +101 -44
  60. package/src/Utilities/ObjectFactory.js +1 -1
  61. package/src/View/Components/Popups/AdaptablePopupConfirmation.js +1 -1
  62. package/src/View/Dashboard/CustomToolbarWrapper.js +7 -1
  63. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +18 -10
  64. package/src/agGrid/Adaptable.d.ts +0 -1
  65. package/src/agGrid/Adaptable.js +10 -21
  66. package/src/agGrid/agGridHelper.js +3 -0
  67. package/src/components/ExpressionEditor/BaseEditorInput.js +42 -7
  68. package/src/components/ExpressionEditor/editorButtonsCumulativeAggregatedScalar.js +5 -5
  69. package/src/components/ExpressionEditor/editorButtonsSearch.js +8 -12
  70. package/src/metamodel/adaptable.metamodel.d.ts +106 -58
  71. package/src/metamodel/adaptable.metamodel.js +1 -1
  72. package/src/parser/src/types.d.ts +5 -9
  73. package/src/parser/src/utils.js +6 -3
  74. package/src/types.d.ts +3 -3
  75. package/version.d.ts +1 -1
  76. package/version.js +1 -1
@@ -363,7 +363,10 @@ class Adaptable {
363
363
  // but we might need to do this again in the future for some other components that are not native React
364
364
  // captureReactWarnings();
365
365
  if (typeof unmount === 'function') {
366
- unmount();
366
+ // rAF is required, otherwise the unmount would be performed during the rendering phase and React doesn't like that
367
+ requestAnimationFrame(() => {
368
+ unmount();
369
+ });
367
370
  }
368
371
  // releaseReactWarnings();
369
372
  };
@@ -600,7 +603,6 @@ class Adaptable {
600
603
  }
601
604
  }
602
605
  initializeAgGrid() {
603
- var _a;
604
606
  (0, LoggingHelper_1.LogAdaptableInfo)(`Initializing AG Grid...`);
605
607
  // set up whether we use the getRowNode method or loop when finding a rowNode (former is preferable)
606
608
  // can only do that here as the gridOptions not yet set up
@@ -608,9 +610,6 @@ class Adaptable {
608
610
  if (Array.isArray(this.gridOptions.columnDefs)) {
609
611
  this.gridOptions.columnDefs.forEach(assignColId);
610
612
  }
611
- if ((_a = this.adaptableOptions.generalOptions) === null || _a === void 0 ? void 0 : _a.hideEmptyGroupRows) {
612
- (0, LoggingHelper_1.ConsoleLogWarning)(`DEPRECATED: 'GeneralOptions.hideEmptyGroupRows' is deprecated and will no longer be evaluated!`);
613
- }
614
613
  const adaptableSideBarDef = this.createAdaptableSideBarDef();
615
614
  if (!!adaptableSideBarDef) {
616
615
  this.gridOptions.components = this.gridOptions.components || {};
@@ -2188,14 +2187,14 @@ class Adaptable {
2188
2187
  return this.api.freeTextColumnApi.getFreeTextColumns().map((freeTextColumn) => {
2189
2188
  var _a;
2190
2189
  const freeTextColumnSettings = Object.assign(Object.assign({}, defaultFreeTextColumnSettings), freeTextColumn.FreeTextColumnSettings);
2191
- const dataTypeEditor = freeTextColumn.DataType === 'Number'
2190
+ const dataTypeEditor = freeTextColumnSettings.DataType === 'Number'
2192
2191
  ? AdaptableNumberEditor_1.AdaptableNumberEditor
2193
- : freeTextColumn.DataType === 'Date'
2192
+ : freeTextColumnSettings.DataType === 'Date'
2194
2193
  ? AdaptableDateEditor_1.AdaptableDateEditor
2195
2194
  : null;
2196
2195
  const columnTypes = [
2197
2196
  GeneralConstants_1.AB_SPECIAL_COLUMN,
2198
- this.agGridHelper.getAgGridDataType(freeTextColumn.DataType),
2197
+ this.agGridHelper.getAgGridDataType(freeTextColumnSettings.DataType),
2199
2198
  ];
2200
2199
  if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty((_a = freeTextColumn === null || freeTextColumn === void 0 ? void 0 : freeTextColumn.FreeTextColumnSettings) === null || _a === void 0 ? void 0 : _a.ColumnTypes)) {
2201
2200
  columnTypes.push(...freeTextColumn.FreeTextColumnSettings.ColumnTypes);
@@ -2222,7 +2221,7 @@ class Adaptable {
2222
2221
  valueSetter: (params) => {
2223
2222
  return (params.data[freeTextColumn.ColumnId] = params.newValue);
2224
2223
  },
2225
- cellRenderer: freeTextColumn.DataType && freeTextColumn.DataType == 'Boolean'
2224
+ cellRenderer: freeTextColumnSettings.DataType && freeTextColumnSettings.DataType == 'Boolean'
2226
2225
  ? this.agGridHelper.createCheckboxRendererComp(freeTextColumn.ColumnId, false)
2227
2226
  : undefined,
2228
2227
  valueGetter: (params) => this.api.freeTextColumnApi.getFreeTextColumnValueForRowNode(freeTextColumn, params.node),
@@ -2240,16 +2239,6 @@ class Adaptable {
2240
2239
  return userValue;
2241
2240
  });
2242
2241
  }
2243
- setupColumnAggFunc({ col }) {
2244
- // need this here if we want plugins to intercept
2245
- const financeApi = this.api.pluginsApi.getFinancePluginApi();
2246
- // the 'aggFunc' slows significantly the init process, so we evaluate it only if it is really necessary: iff we have a weighted average defined
2247
- if (financeApi && !!financeApi.getPluginOptions().weightedAverageColumns) {
2248
- this.setColDefProperty(col, 'aggFunc', (userValue) => {
2249
- return userValue;
2250
- });
2251
- }
2252
- }
2253
2242
  getColDefsForRowEditColumns() {
2254
2243
  const actionRowButtons = this.api.actionApi.getActionRowButtons();
2255
2244
  if (!(actionRowButtons === null || actionRowButtons === void 0 ? void 0 : actionRowButtons.length)) {
@@ -3095,7 +3084,6 @@ class Adaptable {
3095
3084
  this.setupColumnCellClass(colSetupInfo);
3096
3085
  this.setupColumnTooltipValueGetter(colSetupInfo);
3097
3086
  this.setupColumnValueGetter(colSetupInfo);
3098
- this.setupColumnAggFunc(colSetupInfo);
3099
3087
  this.setupColumnFilter(colSetupInfo);
3100
3088
  this.setupColumnFloatingFilter(colSetupInfo);
3101
3089
  this.setupColumnValueFormatter(colSetupInfo);
@@ -4746,7 +4734,8 @@ import "@adaptabletools/adaptable/themes/${themeName}.css"`);
4746
4734
  let rawValue = rowNode.key;
4747
4735
  if (this.api.columnApi.getColumnDataTypeForColumnId(columnId) === 'Date' &&
4748
4736
  typeof rawValue === 'string' &&
4749
- !Number.isNaN(rawValue)) {
4737
+ // rawValue is composed only of digits
4738
+ /^\d+$/.test(rawValue)) {
4750
4739
  // AG-Grid converts the value to string, we have to reconvert it back
4751
4740
  const dateRawValue = parseInt(rawValue);
4752
4741
  if (dateRawValue != undefined) {
@@ -154,6 +154,9 @@ class agGridHelper {
154
154
  return (0, PercentBarRenderer_1.getPercentBarRendererForColumn)(styledColumn, abColumn, this.adaptable.api);
155
155
  }
156
156
  getCleanValue(value) {
157
+ if (typeof value === 'string') {
158
+ return value;
159
+ }
157
160
  if (value == null || value == 'null' || value == undefined || value == 'undefined') {
158
161
  return undefined;
159
162
  }
@@ -24,6 +24,28 @@ const ExpressionFunctionDocumentation_1 = require("./ExpressionFunctionDocumenta
24
24
  const Tag_1 = require("../Tag");
25
25
  const StringExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/StringExtensions"));
26
26
  const Radio_1 = tslib_1.__importDefault(require("../Radio"));
27
+ const filterableCategories = [
28
+ 'dates',
29
+ 'logical',
30
+ 'maths',
31
+ 'strings',
32
+ 'comparison',
33
+ 'observable',
34
+ 'aggregation',
35
+ 'cumulative',
36
+ ];
37
+ const getCategoryOrder = (category) => {
38
+ const predefinedOrder = {
39
+ special: 1,
40
+ conditional: 2,
41
+ logical: 3,
42
+ comparison: 4,
43
+ strings: 5,
44
+ maths: 6,
45
+ dates: 7,
46
+ };
47
+ return predefinedOrder[category] || 0;
48
+ };
27
49
  const VarEditorButton = () => {
28
50
  var _a, _b;
29
51
  const adaptable = (0, AdaptableContext_1.useAdaptable)();
@@ -59,18 +81,23 @@ const FunctionsDropdown = ({ expressionFunctions, baseClassName }) => {
59
81
  return acc;
60
82
  }, { noCategory: {} });
61
83
  }, [currentFunctionCategory]);
84
+ const orderedGroupNames = React.useMemo(() => {
85
+ return Object.keys(groupedFunctions).sort((first, second) => getCategoryOrder(first) - getCategoryOrder(second));
86
+ }, [groupedFunctions]);
62
87
  const handleFunctionCategoryChange = React.useCallback((type) => (event) => {
63
88
  setCurrentFunctionCategory(type);
64
89
  }, [currentFunctionCategory]);
65
90
  const categoryOptions = React.useMemo(() => {
66
91
  const categoryOptions = Object.keys(expressionFunctions)
67
92
  .reduce((acc, functionName) => {
68
- const funcitonExpression = expressionFunctions[functionName];
69
- if (!acc.includes(funcitonExpression.category)) {
70
- acc.push(funcitonExpression.category);
93
+ const functionExpression = expressionFunctions[functionName];
94
+ if (!acc.includes(functionExpression.category)) {
95
+ acc.push(functionExpression.category);
71
96
  }
72
97
  return acc;
73
98
  }, [])
99
+ .filter((category) => filterableCategories.includes(category))
100
+ .sort((first, second) => getCategoryOrder(first) - getCategoryOrder(second))
74
101
  .map((category) => ({
75
102
  label: StringExtensions_1.default.Humanize(category),
76
103
  value: category,
@@ -87,23 +114,31 @@ const FunctionsDropdown = ({ expressionFunctions, baseClassName }) => {
87
114
  * - a function is inserted
88
115
  */
89
116
  return (React.createElement(OverlayTrigger_1.default, { ref: dropdownRef, showEvent: "mouseenter", hideEvent: "mouseleave", targetOffset: 5, render: () => (React.createElement(rebass_1.Flex, { className: `${baseClassName}__dropdown-functions-list-wrapper`, flexDirection: "column", onMouseLeave: () => hidePopup() },
90
- React.createElement(rebass_1.Flex, { pl: 2, style: { gap: 10 } }, categoryOptions.map((option) => {
91
- return (React.createElement(Radio_1.default, { onFocus: (event) => {
117
+ React.createElement(rebass_1.Flex, { pl: 2, style: { gap: 10 } }, categoryOptions.map((option, index) => {
118
+ return (React.createElement(Radio_1.default, { key: option.value, onFocus: (event) => {
92
119
  event.preventDefault();
93
120
  event.stopPropagation();
94
121
  }, onClick: handleFunctionCategoryChange(option.value), checked: currentFunctionCategory === option.value }, option.label));
95
122
  })),
96
123
  React.createElement(rebass_1.Flex, null,
97
- React.createElement(rebass_1.Flex, { className: `${baseClassName}__dropdown-functions-list`, "data-name": "expression-dropdown-fuctions-list", flexDirection: "column", p: 2, maxHeight: '50vh' }, Object.keys(groupedFunctions).map((groupName) => {
124
+ React.createElement(rebass_1.Flex, { className: `${baseClassName}__dropdown-functions-list`, "data-name": "expression-dropdown-fuctions-list", flexDirection: "column", p: 2, maxHeight: '50vh' }, orderedGroupNames
125
+ .filter((groupName) => !!groupedFunctions[groupName])
126
+ .map((groupName) => {
98
127
  const functionsInGroup = Object.keys(groupedFunctions[groupName]);
99
128
  if (functionsInGroup.length === 0) {
100
- return React.createElement(React.Fragment, null);
129
+ return React.createElement(React.Fragment, { key: groupName });
101
130
  }
102
131
  const getEditorButtonData = (functionName) => {
103
132
  // handle special cases
104
133
  if (functionName === 'CASE') {
105
134
  return `CASE <caseValue> WHEN <whenValue> THEN <thenValue> ELSE <defaultValue> END`;
106
135
  }
136
+ if (functionName === 'TRUE' || functionName === 'FALSE') {
137
+ return functionName;
138
+ }
139
+ if (functionName === 'IF') {
140
+ return `<condition_expr> ? <consequent_expr> : <alternative_expr>`;
141
+ }
107
142
  return `${functionName}()`;
108
143
  };
109
144
  return (React.createElement(rebass_1.Box, { mb: 2, key: groupName },
@@ -7,6 +7,11 @@ exports.editorButtonsCumulativeAggregatedScalar = [
7
7
  data: 'CUMUL()',
8
8
  text: 'Cumulate',
9
9
  },
10
+ {
11
+ functionName: 'OVER',
12
+ data: 'OVER()',
13
+ text: 'Over',
14
+ },
10
15
  {
11
16
  functionName: 'SUM',
12
17
  data: 'SUM()',
@@ -32,11 +37,6 @@ exports.editorButtonsCumulativeAggregatedScalar = [
32
37
  data: 'MAX()',
33
38
  text: 'Max',
34
39
  },
35
- {
36
- functionName: 'OVER',
37
- data: 'OVER()',
38
- text: 'Over',
39
- },
40
40
  {
41
41
  functionName: 'WEIGHT',
42
42
  data: 'WEIGHT()',
@@ -2,6 +2,14 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.editorButtonsSearch = void 0;
4
4
  exports.editorButtonsSearch = [
5
+ {
6
+ functionName: 'AND',
7
+ data: 'AND',
8
+ },
9
+ {
10
+ functionName: 'OR',
11
+ data: 'OR',
12
+ },
5
13
  {
6
14
  functionName: 'ADD',
7
15
  data: '+',
@@ -62,16 +70,4 @@ exports.editorButtonsSearch = [
62
70
  data: '>=',
63
71
  icon: 'greater-than-or-equal',
64
72
  },
65
- {
66
- functionName: 'AND',
67
- data: 'AND',
68
- },
69
- {
70
- functionName: 'OR',
71
- data: 'OR',
72
- },
73
- {
74
- functionName: 'IN',
75
- data: 'IN',
76
- },
77
73
  ];
@@ -119,6 +119,11 @@ export declare const ADAPTABLE_METAMODEL: {
119
119
  reference: string;
120
120
  }[];
121
121
  };
122
+ ActionRowButtonsContext: {
123
+ name: string;
124
+ kind: string;
125
+ description: string;
126
+ };
122
127
  ActionRowButtonType: {
123
128
  name: string;
124
129
  kind: string;
@@ -606,6 +611,16 @@ export declare const ADAPTABLE_METAMODEL: {
606
611
  noCode: string;
607
612
  defaultValue: string;
608
613
  reference?: undefined;
614
+ } | {
615
+ name: string;
616
+ kind: string;
617
+ description: string;
618
+ uiLabel: string;
619
+ isOptional: boolean;
620
+ noCode: string;
621
+ reference: string;
622
+ gridInfo?: undefined;
623
+ defaultValue?: undefined;
609
624
  } | {
610
625
  name: string;
611
626
  kind: string;
@@ -616,6 +631,16 @@ export declare const ADAPTABLE_METAMODEL: {
616
631
  defaultValue: string;
617
632
  reference?: undefined;
618
633
  noCode?: undefined;
634
+ } | {
635
+ name: string;
636
+ kind: string;
637
+ description: string;
638
+ uiLabel: string;
639
+ isOptional: boolean;
640
+ gridInfo: string;
641
+ noCode: string;
642
+ reference: string;
643
+ defaultValue?: undefined;
619
644
  } | {
620
645
  name: string;
621
646
  kind: string;
@@ -743,9 +768,9 @@ export declare const ADAPTABLE_METAMODEL: {
743
768
  description: string;
744
769
  uiLabel: string;
745
770
  isOptional: boolean;
771
+ noCode: string;
746
772
  defaultValue: string;
747
773
  gridInfo?: undefined;
748
- noCode?: undefined;
749
774
  reference?: undefined;
750
775
  } | {
751
776
  name: string;
@@ -847,19 +872,12 @@ export declare const ADAPTABLE_METAMODEL: {
847
872
  name: string;
848
873
  kind: string;
849
874
  description: string;
850
- properties: ({
851
- name: string;
852
- kind: string;
853
- description: string;
854
- uiLabel: string;
855
- isOptional?: undefined;
856
- } | {
875
+ properties: {
857
876
  name: string;
858
877
  kind: string;
859
878
  description: string;
860
879
  uiLabel: string;
861
- isOptional: boolean;
862
- })[];
880
+ }[];
863
881
  };
864
882
  AdaptableStateReloadedInfo: {
865
883
  name: string;
@@ -1083,6 +1101,7 @@ export declare const ADAPTABLE_METAMODEL: {
1083
1101
  isOptional: boolean;
1084
1102
  gridInfo?: undefined;
1085
1103
  defaultValue?: undefined;
1104
+ noCode?: undefined;
1086
1105
  } | {
1087
1106
  name: string;
1088
1107
  kind: string;
@@ -1091,6 +1110,16 @@ export declare const ADAPTABLE_METAMODEL: {
1091
1110
  isOptional: boolean;
1092
1111
  gridInfo: string;
1093
1112
  defaultValue: string;
1113
+ noCode?: undefined;
1114
+ } | {
1115
+ name: string;
1116
+ kind: string;
1117
+ description: string;
1118
+ uiLabel: string;
1119
+ isOptional: boolean;
1120
+ gridInfo: string;
1121
+ noCode: string;
1122
+ defaultValue: string;
1094
1123
  } | {
1095
1124
  name: string;
1096
1125
  kind: string;
@@ -1099,6 +1128,7 @@ export declare const ADAPTABLE_METAMODEL: {
1099
1128
  isOptional: boolean;
1100
1129
  defaultValue: string;
1101
1130
  gridInfo?: undefined;
1131
+ noCode?: undefined;
1102
1132
  })[];
1103
1133
  };
1104
1134
  AlertProperties: {
@@ -1285,15 +1315,15 @@ export declare const ADAPTABLE_METAMODEL: {
1285
1315
  kind: string;
1286
1316
  description: string;
1287
1317
  uiLabel: string;
1288
- isOptional: boolean;
1289
1318
  reference: string;
1319
+ isOptional?: undefined;
1290
1320
  } | {
1291
1321
  name: string;
1292
1322
  kind: string;
1293
1323
  description: string;
1294
1324
  uiLabel: string;
1295
- isOptional?: undefined;
1296
1325
  reference?: undefined;
1326
+ isOptional?: undefined;
1297
1327
  } | {
1298
1328
  name: string;
1299
1329
  kind: string;
@@ -1301,13 +1331,6 @@ export declare const ADAPTABLE_METAMODEL: {
1301
1331
  uiLabel: string;
1302
1332
  isOptional: boolean;
1303
1333
  reference?: undefined;
1304
- } | {
1305
- name: string;
1306
- kind: string;
1307
- description: string;
1308
- uiLabel: string;
1309
- reference: string;
1310
- isOptional?: undefined;
1311
1334
  })[];
1312
1335
  };
1313
1336
  CalculatedColumnApi: {
@@ -1325,21 +1348,14 @@ export declare const ADAPTABLE_METAMODEL: {
1325
1348
  name: string;
1326
1349
  kind: string;
1327
1350
  description: string;
1328
- properties: ({
1329
- name: string;
1330
- kind: string;
1331
- description: string;
1332
- uiLabel: string;
1333
- isOptional?: undefined;
1334
- defaultValue?: undefined;
1335
- } | {
1351
+ properties: {
1336
1352
  name: string;
1337
1353
  kind: string;
1338
1354
  description: string;
1339
1355
  uiLabel: string;
1340
1356
  isOptional: boolean;
1341
1357
  defaultValue: string;
1342
- })[];
1358
+ }[];
1343
1359
  };
1344
1360
  CalculatedColumnState: {
1345
1361
  name: string;
@@ -1565,6 +1581,7 @@ export declare const ADAPTABLE_METAMODEL: {
1565
1581
  description: string;
1566
1582
  uiLabel: string;
1567
1583
  isOptional: boolean;
1584
+ noCode?: undefined;
1568
1585
  defaultValue?: undefined;
1569
1586
  } | {
1570
1587
  name: string;
@@ -1572,6 +1589,7 @@ export declare const ADAPTABLE_METAMODEL: {
1572
1589
  description: string;
1573
1590
  uiLabel: string;
1574
1591
  isOptional: boolean;
1592
+ noCode: string;
1575
1593
  defaultValue: string;
1576
1594
  })[];
1577
1595
  };
@@ -1702,6 +1720,7 @@ export declare const ADAPTABLE_METAMODEL: {
1702
1720
  uiLabel: string;
1703
1721
  isOptional: boolean;
1704
1722
  gridInfo: string;
1723
+ noCode: string;
1705
1724
  defaultValue: string;
1706
1725
  } | {
1707
1726
  name: string;
@@ -1711,6 +1730,7 @@ export declare const ADAPTABLE_METAMODEL: {
1711
1730
  isOptional: boolean;
1712
1731
  defaultValue: string;
1713
1732
  gridInfo?: undefined;
1733
+ noCode?: undefined;
1714
1734
  })[];
1715
1735
  };
1716
1736
  ColumnSort: {
@@ -2261,6 +2281,7 @@ export declare const ADAPTABLE_METAMODEL: {
2261
2281
  description: string;
2262
2282
  uiLabel: string;
2263
2283
  isOptional: boolean;
2284
+ noCode: string;
2264
2285
  defaultValue: string;
2265
2286
  gridInfo?: undefined;
2266
2287
  } | {
@@ -2270,6 +2291,7 @@ export declare const ADAPTABLE_METAMODEL: {
2270
2291
  uiLabel: string;
2271
2292
  isOptional: boolean;
2272
2293
  gridInfo: string;
2294
+ noCode: string;
2273
2295
  defaultValue: string;
2274
2296
  } | {
2275
2297
  name: string;
@@ -2277,6 +2299,7 @@ export declare const ADAPTABLE_METAMODEL: {
2277
2299
  description: string;
2278
2300
  uiLabel: string;
2279
2301
  isOptional: boolean;
2302
+ noCode?: undefined;
2280
2303
  defaultValue?: undefined;
2281
2304
  gridInfo?: undefined;
2282
2305
  })[];
@@ -2375,6 +2398,7 @@ export declare const ADAPTABLE_METAMODEL: {
2375
2398
  uiLabel: string;
2376
2399
  isOptional: boolean;
2377
2400
  gridInfo: string;
2401
+ noCode: string;
2378
2402
  defaultValue: string;
2379
2403
  } | {
2380
2404
  name: string;
@@ -2384,6 +2408,16 @@ export declare const ADAPTABLE_METAMODEL: {
2384
2408
  isOptional: boolean;
2385
2409
  defaultValue: string;
2386
2410
  gridInfo?: undefined;
2411
+ noCode?: undefined;
2412
+ } | {
2413
+ name: string;
2414
+ kind: string;
2415
+ description: string;
2416
+ uiLabel: string;
2417
+ isOptional: boolean;
2418
+ gridInfo: string;
2419
+ defaultValue: string;
2420
+ noCode?: undefined;
2387
2421
  })[];
2388
2422
  };
2389
2423
  DataSet: {
@@ -2770,6 +2804,13 @@ export declare const ADAPTABLE_METAMODEL: {
2770
2804
  kind: string;
2771
2805
  description: string;
2772
2806
  properties: ({
2807
+ name: string;
2808
+ kind: string;
2809
+ description: string;
2810
+ uiLabel: string;
2811
+ isOptional: boolean;
2812
+ reference: string;
2813
+ } | {
2773
2814
  name: string;
2774
2815
  kind: string;
2775
2816
  description: string;
@@ -2961,16 +3002,6 @@ export declare const ADAPTABLE_METAMODEL: {
2961
3002
  gridInfo?: undefined;
2962
3003
  noCode?: undefined;
2963
3004
  reference?: undefined;
2964
- } | {
2965
- name: string;
2966
- kind: string;
2967
- description: string;
2968
- uiLabel: string;
2969
- isOptional: boolean;
2970
- reference: string;
2971
- gridInfo?: undefined;
2972
- noCode?: undefined;
2973
- defaultValue?: undefined;
2974
3005
  } | {
2975
3006
  name: string;
2976
3007
  kind: string;
@@ -3260,32 +3291,24 @@ export declare const ADAPTABLE_METAMODEL: {
3260
3291
  kind: string;
3261
3292
  description: string;
3262
3293
  uiLabel: string;
3263
- defaultValue?: undefined;
3264
- isOptional?: undefined;
3265
- reference?: undefined;
3266
- } | {
3267
- name: string;
3268
- kind: string;
3269
- description: string;
3270
- uiLabel: string;
3271
- defaultValue: string;
3272
3294
  isOptional?: undefined;
3273
3295
  reference?: undefined;
3296
+ defaultValue?: undefined;
3274
3297
  } | {
3275
3298
  name: string;
3276
3299
  kind: string;
3277
3300
  description: string;
3278
3301
  uiLabel: string;
3279
3302
  isOptional: boolean;
3280
- defaultValue?: undefined;
3281
3303
  reference?: undefined;
3304
+ defaultValue?: undefined;
3282
3305
  } | {
3283
3306
  name: string;
3284
3307
  kind: string;
3285
3308
  description: string;
3286
3309
  uiLabel: string;
3287
- isOptional: boolean;
3288
3310
  reference: string;
3311
+ isOptional?: undefined;
3289
3312
  defaultValue?: undefined;
3290
3313
  } | {
3291
3314
  name: string;
@@ -3347,9 +3370,9 @@ export declare const ADAPTABLE_METAMODEL: {
3347
3370
  uiLabel: string;
3348
3371
  isOptional: boolean;
3349
3372
  defaultValue: string;
3373
+ noCode?: undefined;
3350
3374
  gridInfo?: undefined;
3351
3375
  reference?: undefined;
3352
- noCode?: undefined;
3353
3376
  } | {
3354
3377
  name: string;
3355
3378
  kind: string;
@@ -3357,19 +3380,29 @@ export declare const ADAPTABLE_METAMODEL: {
3357
3380
  uiLabel: string;
3358
3381
  isOptional: boolean;
3359
3382
  defaultValue?: undefined;
3383
+ noCode?: undefined;
3360
3384
  gridInfo?: undefined;
3361
3385
  reference?: undefined;
3362
- noCode?: undefined;
3363
3386
  } | {
3364
3387
  name: string;
3365
3388
  kind: string;
3366
3389
  description: string;
3367
3390
  uiLabel: string;
3368
3391
  isOptional: boolean;
3369
- gridInfo: string;
3392
+ noCode: string;
3370
3393
  defaultValue: string;
3394
+ gridInfo?: undefined;
3371
3395
  reference?: undefined;
3396
+ } | {
3397
+ name: string;
3398
+ kind: string;
3399
+ description: string;
3400
+ uiLabel: string;
3401
+ isOptional: boolean;
3402
+ gridInfo: string;
3403
+ defaultValue: string;
3372
3404
  noCode?: undefined;
3405
+ reference?: undefined;
3373
3406
  } | {
3374
3407
  name: string;
3375
3408
  kind: string;
@@ -3378,8 +3411,8 @@ export declare const ADAPTABLE_METAMODEL: {
3378
3411
  isOptional: boolean;
3379
3412
  defaultValue: string;
3380
3413
  reference: string;
3381
- gridInfo?: undefined;
3382
3414
  noCode?: undefined;
3415
+ gridInfo?: undefined;
3383
3416
  } | {
3384
3417
  name: string;
3385
3418
  kind: string;
@@ -4738,6 +4771,7 @@ export declare const ADAPTABLE_METAMODEL: {
4738
4771
  isOptional: boolean;
4739
4772
  gridInfo: string;
4740
4773
  defaultValue: string;
4774
+ noCode?: undefined;
4741
4775
  } | {
4742
4776
  name: string;
4743
4777
  kind: string;
@@ -4746,6 +4780,16 @@ export declare const ADAPTABLE_METAMODEL: {
4746
4780
  isOptional: boolean;
4747
4781
  defaultValue: string;
4748
4782
  gridInfo?: undefined;
4783
+ noCode?: undefined;
4784
+ } | {
4785
+ name: string;
4786
+ kind: string;
4787
+ description: string;
4788
+ uiLabel: string;
4789
+ isOptional: boolean;
4790
+ gridInfo: string;
4791
+ noCode: string;
4792
+ defaultValue: string;
4749
4793
  })[];
4750
4794
  };
4751
4795
  SelectedCellInfo: {
@@ -4928,6 +4972,13 @@ export declare const ADAPTABLE_METAMODEL: {
4928
4972
  uiLabel: string;
4929
4973
  isOptional: boolean;
4930
4974
  defaultValue?: undefined;
4975
+ } | {
4976
+ name: string;
4977
+ kind: string;
4978
+ description: string;
4979
+ uiLabel: string;
4980
+ isOptional?: undefined;
4981
+ defaultValue?: undefined;
4931
4982
  })[];
4932
4983
  };
4933
4984
  StateOptions: {
@@ -5329,6 +5380,7 @@ export declare const ADAPTABLE_METAMODEL: {
5329
5380
  uiLabel: string;
5330
5381
  isOptional: boolean;
5331
5382
  gridInfo?: undefined;
5383
+ noCode?: undefined;
5332
5384
  defaultValue?: undefined;
5333
5385
  } | {
5334
5386
  name: string;
@@ -5337,6 +5389,7 @@ export declare const ADAPTABLE_METAMODEL: {
5337
5389
  uiLabel: string;
5338
5390
  isOptional: boolean;
5339
5391
  gridInfo: string;
5392
+ noCode: string;
5340
5393
  defaultValue: string;
5341
5394
  })[];
5342
5395
  };
@@ -5480,9 +5533,4 @@ export declare const ADAPTABLE_METAMODEL: {
5480
5533
  isOptional: boolean;
5481
5534
  }[];
5482
5535
  };
5483
- WeightedAverageColumn: {
5484
- name: string;
5485
- kind: string;
5486
- description: string;
5487
- };
5488
5536
  };