@adaptabletools/adaptable 14.0.0-canary.1 → 14.0.0-canary.3

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 (93) hide show
  1. package/bundle.cjs.js +149 -149
  2. package/package.json +1 -1
  3. package/publishTimestamp.d.ts +1 -1
  4. package/publishTimestamp.js +1 -1
  5. package/src/Api/AdaptableApi.d.ts +17 -9
  6. package/src/Api/ColumnApi.d.ts +2 -10
  7. package/src/Api/ConfigApi.d.ts +1 -5
  8. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -1
  9. package/src/Api/Implementation/AdaptableApiImpl.js +3 -0
  10. package/src/Api/Implementation/ApiBase.d.ts +6 -1
  11. package/src/Api/Implementation/ApiBase.js +15 -0
  12. package/src/Api/Implementation/ColumnApiImpl.d.ts +0 -2
  13. package/src/Api/Implementation/ColumnApiImpl.js +0 -8
  14. package/src/Api/Implementation/ConfigApiImpl.d.ts +2 -1
  15. package/src/Api/Implementation/ConfigApiImpl.js +3 -0
  16. package/src/Api/Implementation/OptionsApiImpl.d.ts +36 -0
  17. package/src/Api/Implementation/OptionsApiImpl.js +100 -0
  18. package/src/Api/Internal/AdaptableInternalApi.d.ts +7 -1
  19. package/src/Api/Internal/AdaptableInternalApi.js +8 -1
  20. package/src/Api/Internal/ExportInternalApi.d.ts +8 -0
  21. package/src/Api/Internal/ExportInternalApi.js +51 -0
  22. package/src/Api/Internal/FormatColumnInternalApi.d.ts +11 -0
  23. package/src/Api/Internal/FormatColumnInternalApi.js +10 -0
  24. package/src/Api/OptionsApi.d.ts +131 -0
  25. package/src/Api/OptionsApi.js +2 -0
  26. package/src/PredefinedConfig/Common/FDC3Context.d.ts +4 -0
  27. package/src/PredefinedConfig/SystemState.d.ts +3 -0
  28. package/src/Redux/ActionsReducers/SystemRedux.d.ts +8 -0
  29. package/src/Redux/ActionsReducers/SystemRedux.js +26 -2
  30. package/src/Redux/Store/AdaptableStore.js +6 -0
  31. package/src/Strategy/AdaptableModuleBase.js +1 -1
  32. package/src/Strategy/AlertModule.js +1 -2
  33. package/src/Strategy/DashboardModule.js +1 -1
  34. package/src/Strategy/DataChangeHistoryModule.js +2 -4
  35. package/src/Strategy/DataSetModule.js +1 -1
  36. package/src/Strategy/ExportModule.js +8 -1
  37. package/src/Strategy/FilterModule.js +1 -1
  38. package/src/Strategy/FlashingCellModule.js +1 -2
  39. package/src/Strategy/FreeTextColumnModule.js +1 -2
  40. package/src/Strategy/LayoutModule.js +6 -6
  41. package/src/Strategy/SettingsPanelModule.js +1 -1
  42. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +1 -2
  43. package/src/Utilities/Services/CalculatedColumnExpressionService.js +2 -4
  44. package/src/Utilities/Services/ChartingService.js +1 -1
  45. package/src/Utilities/Services/EntitlementService.js +4 -4
  46. package/src/Utilities/Services/Interface/IReportService.d.ts +7 -1
  47. package/src/Utilities/Services/QueryLanguageService.js +3 -3
  48. package/src/Utilities/Services/ReportService.d.ts +10 -2
  49. package/src/Utilities/Services/ReportService.js +40 -31
  50. package/src/Utilities/Services/TeamSharingService.js +3 -3
  51. package/src/Utilities/Services/ValidationService.js +6 -6
  52. package/src/View/AdaptableView.js +1 -1
  53. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +11 -2
  54. package/src/View/Alert/Wizard/isValidAlertRules.js +6 -27
  55. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +1 -1
  56. package/src/View/Components/EntityRulesEditor/Utilities.d.ts +2 -2
  57. package/src/View/Components/EntityRulesEditor/Utilities.js +19 -12
  58. package/src/View/Components/FilterForm/FilterForm.js +6 -7
  59. package/src/View/Components/FilterForm/QuickFilterForm.js +7 -9
  60. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +1 -1
  61. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +1 -1
  62. package/src/View/Components/Popups/AdaptableToaster.js +1 -1
  63. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -1
  64. package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -2
  65. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +1 -2
  66. package/src/View/Dashboard/Dashboard.js +5 -5
  67. package/src/View/Dashboard/DashboardPopup.js +2 -3
  68. package/src/View/Dashboard/DashboardViewPanel.js +1 -1
  69. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +1 -1
  70. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +1 -2
  71. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +1 -1
  72. package/src/View/Filter/FilterViewPanel.js +3 -3
  73. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +5 -14
  74. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +4 -2
  75. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +4 -1
  76. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +1 -1
  77. package/src/View/GridInfo/GridInfoPopup.js +1 -1
  78. package/src/View/Layout/PivotDetailsPopoup.js +3 -3
  79. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.d.ts +2 -2
  80. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +9 -3
  81. package/src/View/QuickSearch/QuickSearchPopup.js +3 -3
  82. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +1 -1
  83. package/src/View/QuickSearch/QuickSearchViewPanel.js +1 -1
  84. package/src/View/SpecialColumnSettingsWizardStep.js +2 -3
  85. package/src/agGrid/Adaptable.d.ts +1 -1
  86. package/src/agGrid/Adaptable.js +119 -38
  87. package/src/agGrid/PercentBarRenderer.js +1 -1
  88. package/src/components/ExpressionEditor/BaseEditorInput.js +1 -1
  89. package/src/metamodel/adaptable.metamodel.d.ts +18 -0
  90. package/src/metamodel/adaptable.metamodel.js +1 -1
  91. package/src/types.d.ts +1 -0
  92. package/version.d.ts +1 -1
  93. package/version.js +1 -1
@@ -57,7 +57,7 @@ const getPercentBarRendererForColumn = (styledColumn, abColumn, api) => {
57
57
  textEl.style.lineHeight = '1.2';
58
58
  if (percentBarStyle.CellText.includes('CellValue')) {
59
59
  const activeFormatColumnsWithDisplayFormat = api.formatColumnApi.internalApi.getFormatColumnsWithDisplayFormatForColumn(abColumn);
60
- const [formatColumn] = api.formatColumnApi.internalApi.getFormatColumnsRelevantForColumn(activeFormatColumnsWithDisplayFormat, abColumn, { node: params.node, value });
60
+ const formatColumn = api.formatColumnApi.internalApi.getMostRelevantFormatColumnForColumn(activeFormatColumnsWithDisplayFormat, abColumn, { node: params.node, value });
61
61
  if (formatColumn && api.scopeApi.isColumnInNumericScope(abColumn, formatColumn.Scope)) {
62
62
  const options = formatColumn.DisplayFormat.Options;
63
63
  value = api.formatColumnApi.internalApi.getNumberFormattedValue(params.value, params.node, abColumn, options);
@@ -27,7 +27,7 @@ const Radio_1 = tslib_1.__importDefault(require("../Radio"));
27
27
  const VarEditorButton = () => {
28
28
  var _a, _b;
29
29
  const adaptable = (0, AdaptableContext_1.useAdaptable)();
30
- const expressionOptions = (_b = (_a = adaptable.api.internalApi.getAdaptableOptions().adaptableQLOptions) === null || _a === void 0 ? void 0 : _a.expressionOptions) === null || _b === void 0 ? void 0 : _b.customQueryVariables;
30
+ const expressionOptions = (_b = (_a = adaptable.api.optionsApi.getAdaptableQLOptions()) === null || _a === void 0 ? void 0 : _a.expressionOptions) === null || _b === void 0 ? void 0 : _b.customQueryVariables;
31
31
  if (!expressionOptions || Object.keys(expressionOptions).length === 0) {
32
32
  return React.createElement(React.Fragment, null);
33
33
  }
@@ -2845,6 +2845,13 @@ export declare const ADAPTABLE_METAMODEL: {
2845
2845
  kind: string;
2846
2846
  description: string;
2847
2847
  properties: ({
2848
+ name: string;
2849
+ kind: string;
2850
+ description: string;
2851
+ uiLabel: string;
2852
+ isOptional?: undefined;
2853
+ reference?: undefined;
2854
+ } | {
2848
2855
  name: string;
2849
2856
  kind: string;
2850
2857
  description: string;
@@ -4139,6 +4146,17 @@ export declare const ADAPTABLE_METAMODEL: {
4139
4146
  kind: string;
4140
4147
  description: string;
4141
4148
  };
4149
+ OptionsApi: {
4150
+ name: string;
4151
+ kind: string;
4152
+ description: string;
4153
+ properties: {
4154
+ name: string;
4155
+ kind: string;
4156
+ description: string;
4157
+ uiLabel: string;
4158
+ }[];
4159
+ };
4142
4160
  OrganizationColumn: {
4143
4161
  name: string;
4144
4162
  kind: string;