@adaptabletools/adaptable 14.0.2 → 14.0.4

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 (216) hide show
  1. package/base.css +7 -1
  2. package/base.css.map +1 -1
  3. package/bundle.cjs.js +170 -169
  4. package/index.css +76 -62
  5. package/index.css.map +1 -1
  6. package/package.json +2 -2
  7. package/publishTimestamp.d.ts +1 -1
  8. package/publishTimestamp.js +1 -1
  9. package/src/AdaptableOptions/ActionOptions.d.ts +3 -0
  10. package/src/AdaptableOptions/AdaptablePlugin.d.ts +3 -0
  11. package/src/AdaptableOptions/AdaptablePlugin.js +3 -0
  12. package/src/AdaptableOptions/AdaptableQLOptions.d.ts +6 -5
  13. package/src/AdaptableOptions/ChartingOptions.d.ts +1 -1
  14. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +26 -26
  15. package/src/AdaptableOptions/ExportOptions.d.ts +17 -3
  16. package/src/AdaptableOptions/ExpressionOptions.d.ts +18 -18
  17. package/src/AdaptableOptions/PredicateOptions.d.ts +4 -4
  18. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +5 -3
  19. package/src/Api/ActionApi.d.ts +2 -2
  20. package/src/Api/CalculatedColumnApi.d.ts +9 -0
  21. package/src/Api/ChartingApi.d.ts +41 -14
  22. package/src/Api/ColumnApi.d.ts +4 -0
  23. package/src/Api/DataSetApi.d.ts +2 -2
  24. package/src/Api/EventApi.d.ts +15 -1
  25. package/src/Api/Events/ChartStateChangeInfo.d.ts +5 -0
  26. package/src/Api/Events/ChartStateChangeInfo.js +2 -0
  27. package/src/Api/ExportApi.d.ts +5 -0
  28. package/src/Api/FilterApi.d.ts +10 -8
  29. package/src/Api/Implementation/ActionApiImpl.d.ts +1 -1
  30. package/src/Api/Implementation/ActionApiImpl.js +3 -3
  31. package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +2 -0
  32. package/src/Api/Implementation/CalculatedColumnApiImpl.js +24 -0
  33. package/src/Api/Implementation/ChartingApiImpl.d.ts +16 -2
  34. package/src/Api/Implementation/ChartingApiImpl.js +54 -2
  35. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -0
  36. package/src/Api/Implementation/ColumnApiImpl.js +3 -0
  37. package/src/Api/Implementation/ExportApiImpl.d.ts +2 -0
  38. package/src/Api/Implementation/ExportApiImpl.js +10 -0
  39. package/src/Api/Implementation/FilterApiImpl.js +0 -2
  40. package/src/Api/Implementation/PredicateApiImpl.d.ts +6 -4
  41. package/src/Api/Implementation/PredicateApiImpl.js +20 -1
  42. package/src/Api/Implementation/QueryApiImpl.js +8 -2
  43. package/src/Api/Internal/AdaptableInternalApi.d.ts +7 -1
  44. package/src/Api/Internal/AdaptableInternalApi.js +2 -1
  45. package/src/Api/Internal/AlertInternalApi.js +1 -1
  46. package/src/Api/Internal/CalculatedColumnInternalApi.d.ts +2 -0
  47. package/src/Api/Internal/CalculatedColumnInternalApi.js +9 -0
  48. package/src/Api/Internal/ChartingInternalApi.d.ts +6 -0
  49. package/src/Api/Internal/ChartingInternalApi.js +24 -0
  50. package/src/Api/Internal/FormatColumnInternalApi.d.ts +5 -0
  51. package/src/Api/Internal/FormatColumnInternalApi.js +25 -1
  52. package/src/Api/PredicateApi.d.ts +17 -1
  53. package/src/PredefinedConfig/AlertState.d.ts +5 -2
  54. package/src/PredefinedConfig/Common/AdaptableAlert.d.ts +6 -0
  55. package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +15 -11
  56. package/src/PredefinedConfig/Common/AdaptableForm.d.ts +6 -0
  57. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
  58. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +6 -0
  59. package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +15 -0
  60. package/src/PredefinedConfig/Common/Enums.d.ts +2 -1
  61. package/src/PredefinedConfig/Common/Enums.js +1 -0
  62. package/src/PredefinedConfig/Common/FDC3Context.d.ts +3 -0
  63. package/src/PredefinedConfig/Common/Types.d.ts +21 -6
  64. package/src/PredefinedConfig/Common/Types.js +1 -3
  65. package/src/PredefinedConfig/ExportState.d.ts +2 -2
  66. package/src/PredefinedConfig/FlashingCellState.d.ts +2 -2
  67. package/src/PredefinedConfig/FormatColumnState.d.ts +3 -2
  68. package/src/PredefinedConfig/FreeTextColumnState.d.ts +1 -1
  69. package/src/PredefinedConfig/PredefinedConfig.d.ts +4 -4
  70. package/src/PredefinedConfig/StyledColumnState.d.ts +1 -1
  71. package/src/PredefinedConfig/ThemeState.d.ts +0 -4
  72. package/src/Redux/ActionsReducers/PopupRedux.d.ts +2 -0
  73. package/src/Redux/ActionsReducers/PopupRedux.js +2 -0
  74. package/src/Redux/ActionsReducers/StatusBarRedux.d.ts +2 -2
  75. package/src/Redux/ActionsReducers/StatusBarRedux.js +4 -4
  76. package/src/Redux/Store/AdaptableStore.js +1 -11
  77. package/src/Strategy/AlertModule.js +7 -3
  78. package/src/Strategy/ChartingModule.js +5 -3
  79. package/src/Strategy/ExportModule.d.ts +1 -0
  80. package/src/Strategy/ExportModule.js +43 -0
  81. package/src/Strategy/FlashingCellModule.js +1 -1
  82. package/src/Strategy/FormatColumnModule.js +7 -2
  83. package/src/Strategy/Interface/IModule.d.ts +1 -1
  84. package/src/Strategy/LayoutModule.js +8 -1
  85. package/src/Strategy/StyledColumnModule.js +5 -0
  86. package/src/Strategy/ThemeModule.js +8 -2
  87. package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.js +2 -2
  88. package/src/Strategy/Utilities/Alert/getAlertTypeViewItems.d.ts +5 -0
  89. package/src/Strategy/Utilities/Alert/getAlertTypeViewItems.js +13 -0
  90. package/src/Strategy/Utilities/getObjectTagsViewItems.js +3 -3
  91. package/src/Utilities/Constants/ModuleConstants.d.ts +0 -3
  92. package/src/Utilities/Constants/ModuleConstants.js +2 -5
  93. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +2 -1
  94. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.d.ts +1 -1
  95. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +3 -1
  96. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +1 -1
  97. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +64 -3
  98. package/src/Utilities/Interface/MessagePopups.d.ts +1 -0
  99. package/src/Utilities/Services/AggregatedScalarLiveValue.js +13 -0
  100. package/src/Utilities/Services/ChartingService.d.ts +8 -0
  101. package/src/Utilities/Services/ChartingService.js +15 -0
  102. package/src/Utilities/Services/ReportService.js +1 -1
  103. package/src/View/AdaptableViewFactory.js +1 -1
  104. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +5 -4
  105. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +1 -1
  106. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +6 -5
  107. package/src/View/Alert/Utilities/getAlertType.d.ts +15 -0
  108. package/src/View/Alert/Utilities/getAlertType.js +58 -0
  109. package/src/View/Alert/Utilities/getAvailablePredicates.d.ts +3 -0
  110. package/src/View/Alert/Utilities/getAvailablePredicates.js +19 -0
  111. package/src/View/Alert/Utilities/getDefaultAlertDefinition.d.ts +37 -0
  112. package/src/View/Alert/Utilities/getDefaultAlertDefinition.js +32 -0
  113. package/src/View/Alert/Utilities/mapAlertDefinition.d.ts +2 -0
  114. package/src/View/Alert/Utilities/mapAlertDefinition.js +38 -0
  115. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +4 -2
  116. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +18 -11
  117. package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +2 -0
  118. package/src/View/Alert/Wizard/AlertButtonsEditor.js +15 -6
  119. package/src/View/Alert/Wizard/AlertMessageWizardSection.d.ts +10 -0
  120. package/src/View/Alert/Wizard/AlertMessageWizardSection.js +57 -0
  121. package/src/View/Alert/Wizard/{AlertDisplayWizardSection.d.ts → AlertNotificationWizardSection.d.ts} +7 -5
  122. package/src/View/Alert/Wizard/{AlertDisplayWizardSection.js → AlertNotificationWizardSection.js} +12 -50
  123. package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +7 -4
  124. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +66 -6
  125. package/src/View/Alert/Wizard/AlertScopeWizardSection.d.ts +2 -0
  126. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +41 -2
  127. package/src/View/Alert/Wizard/AlertTypeWizardSection.d.ts +9 -0
  128. package/src/View/Alert/Wizard/AlertTypeWizardSection.js +27 -0
  129. package/src/View/Alert/Wizard/AlertWizard.js +53 -98
  130. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.d.ts +1 -6
  131. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +4 -39
  132. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +1 -1
  133. package/src/View/{Components/Charting → Charting}/ChartingStatusBarPopover.d.ts +0 -0
  134. package/src/View/{Components/Charting → Charting}/ChartingStatusBarPopover.js +2 -2
  135. package/src/View/{Components/Charting → Charting}/ChartingViewPanel.d.ts +1 -1
  136. package/src/View/{Components/Charting → Charting}/ChartingViewPanel.js +0 -0
  137. package/src/View/{Components/Charting → Charting}/ChartingWizard/ChartingWizard.d.ts +2 -2
  138. package/src/View/{Components/Charting → Charting}/ChartingWizard/ChartingWizard.js +12 -2
  139. package/src/View/{Components/Charting → Charting}/ChartingWizard/PreviewChartSection.d.ts +1 -1
  140. package/src/View/{Components/Charting → Charting}/ChartingWizard/PreviewChartSection.js +2 -2
  141. package/src/View/{Components/Charting → Charting}/ChartingWizard/SettingsSection.d.ts +1 -1
  142. package/src/View/{Components/Charting → Charting}/ChartingWizard/SettingsSection.js +4 -4
  143. package/src/View/{Components/Charting → Charting}/DeleteChartButton.d.ts +1 -1
  144. package/src/View/{Components/Charting → Charting}/DeleteChartButton.js +3 -3
  145. package/src/View/{Components/Charting → Charting}/EditChartButton.d.ts +1 -1
  146. package/src/View/{Components/Charting → Charting}/EditChartButton.js +3 -3
  147. package/src/View/{Components/Charting → Charting}/ShowChartButton.d.ts +1 -1
  148. package/src/View/{Components/Charting → Charting}/ShowChartButton.js +5 -5
  149. package/src/View/{Components/Charting → Charting}/useChartState.d.ts +1 -1
  150. package/src/View/{Components/Charting → Charting}/useChartState.js +5 -5
  151. package/src/View/{Components/Charting → Charting}/useChartingElements.d.ts +1 -1
  152. package/src/View/{Components/Charting → Charting}/useChartingElements.js +6 -6
  153. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.d.ts +12 -0
  154. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.js +85 -0
  155. package/src/View/Components/EntityRulesEditor/{PredicatesEditor.d.ts → EntityRulePredicatesEditor/EntityRulePredicatesEditor.d.ts} +6 -4
  156. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.js +87 -0
  157. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.d.ts +1 -0
  158. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.js +5 -0
  159. package/src/View/Components/EntityRulesEditor/Utilities.js +7 -1
  160. package/src/View/Components/EntityRulesEditor/index.d.ts +4 -2
  161. package/src/View/Components/EntityRulesEditor/index.js +27 -10
  162. package/src/View/Components/FilterForm/FilterForm.js +6 -7
  163. package/src/View/Components/FilterForm/QuickFilterForm.js +13 -9
  164. package/src/View/Components/NewScopeComponent.d.ts +9 -5
  165. package/src/View/Components/NewScopeComponent.js +19 -10
  166. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +2 -2
  167. package/src/View/Components/Popups/WindowPopups/windowFactory.d.ts +1 -0
  168. package/src/View/Components/Popups/WindowPopups/windowFactory.js +4 -1
  169. package/src/View/Components/PredicateEditor/PredicateEditor.js +16 -5
  170. package/src/View/Components/PreviewResultsPanel.js +30 -3
  171. package/src/View/CustomSort/Wizard/CustomSortWizard.js +1 -1
  172. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +3 -0
  173. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +1 -1
  174. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +1 -1
  175. package/src/View/Export/ExportTablePopup.d.ts +3 -0
  176. package/src/View/Export/ExportTablePopup.js +59 -0
  177. package/src/View/Export/Wizard/NewReportWizard.js +1 -1
  178. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +1 -1
  179. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +1 -1
  180. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +2 -2
  181. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +1 -1
  182. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +1 -1
  183. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +1 -1
  184. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +1 -1
  185. package/src/View/GridInfo/GridInfoPopup.js +4 -4
  186. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +1 -1
  187. package/src/View/Query/Wizard/NamedQueryWizard.js +1 -1
  188. package/src/View/Schedule/Wizard/ScheduleWizard.js +1 -1
  189. package/src/View/Shortcut/Wizard/ShortcutWizard.js +1 -1
  190. package/src/View/StatusBar/StatusBarPanel.d.ts +3 -4
  191. package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +7 -4
  192. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +5 -5
  193. package/src/View/TeamSharing/TeamSharingApplyButton.js +1 -1
  194. package/src/View/Theme/ThemeStatusPanelPopover.js +10 -2
  195. package/src/View/Wizard/TypeRadio.d.ts +7 -0
  196. package/src/View/Wizard/TypeRadio.js +12 -0
  197. package/src/agGrid/Adaptable.d.ts +3 -1
  198. package/src/agGrid/Adaptable.js +28 -4
  199. package/src/agGrid/agGridHelper.d.ts +1 -0
  200. package/src/agGrid/agGridHelper.js +15 -0
  201. package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +4 -0
  202. package/src/components/ExpressionEditor/editorButtonsAggregatedBoolean.js +5 -0
  203. package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +5 -0
  204. package/src/components/icons/index.js +4 -0
  205. package/src/components/icons/visibility-off.d.ts +3 -0
  206. package/src/components/icons/visibility-off.js +7 -0
  207. package/src/components/icons/visibility.d.ts +3 -0
  208. package/src/components/icons/visibility.js +8 -0
  209. package/src/metamodel/adaptable.metamodel.d.ts +139 -0
  210. package/src/metamodel/adaptable.metamodel.js +1 -1
  211. package/src/types.d.ts +4 -4
  212. package/version.d.ts +1 -1
  213. package/version.js +1 -1
  214. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.d.ts +0 -9
  215. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +0 -30
  216. package/src/View/Components/EntityRulesEditor/PredicatesEditor.js +0 -86
@@ -1,7 +1,7 @@
1
1
  import { AdaptableForm } from '../PredefinedConfig/Common/AdaptableForm';
2
2
  import { FormContext } from '../PredefinedConfig/Common/FormContext';
3
3
  import { ReportData, Report, SystemReportNames } from '../PredefinedConfig/ExportState';
4
- import { BaseContext } from '../types';
4
+ import { AdaptableColumnBase, BaseContext } from '../types';
5
5
  /**
6
6
  * Options regarding Exporting data from AdapTable
7
7
  */
@@ -41,7 +41,7 @@ export interface ExportOptions {
41
41
  /**
42
42
  * Export destinations to use; leave blank for all, empty array for none
43
43
  *
44
- * @defaultValue 'Excel', 'CSV', 'Clipboard', 'JSON'
44
+ * @defaultValue 'Excel', 'CSV', 'Clipboard', 'JSON, 'Table'
45
45
  * @gridInfoItem
46
46
  */
47
47
  systemExportDestinations?: SystemExportDestinations;
@@ -52,6 +52,11 @@ export interface ExportOptions {
52
52
  * @gridInfoItem
53
53
  */
54
54
  appendFileTimestamp?: boolean;
55
+ /**
56
+ * Whether a Column is included in System Reports and available in UI for selection
57
+ * @defaultValue true
58
+ */
59
+ isColumnExportable?: (exportableColumnContext: ExportableColumnContext) => boolean;
55
60
  }
56
61
  export declare type DataFormatType = 'rawValue' | 'formattedValue';
57
62
  /**
@@ -108,7 +113,7 @@ export declare type SystemExportDestinations = SystemExportDestination[];
108
113
  /**
109
114
  * Export Destinations provided by AdapTable
110
115
  */
111
- export declare type SystemExportDestination = 'Excel' | 'CSV' | 'Clipboard' | 'JSON';
116
+ export declare type SystemExportDestination = 'Excel' | 'CSV' | 'Clipboard' | 'JSON' | 'Table';
112
117
  /**
113
118
  * Report Context sent when using Custom Export Destinations
114
119
  */
@@ -122,3 +127,12 @@ export interface ReportContext extends BaseContext {
122
127
  */
123
128
  reportData: ReportData;
124
129
  }
130
+ /**
131
+ * Context used for setting whether a Column is exportable
132
+ */
133
+ export interface ExportableColumnContext extends BaseContext {
134
+ /**
135
+ * Column to be exported
136
+ */
137
+ adaptableColumn: AdaptableColumnBase;
138
+ }
@@ -10,63 +10,63 @@ import { AdaptableModule, BaseContext, AdaptableColumnBase } from '../types';
10
10
  */
11
11
  export interface ExpressionOptions {
12
12
  /**
13
- * System (built-in) Boolean Expression Functions available in AdapTableQL
13
+ * System Boolean Expression Functions available in AdapTableQL
14
14
  *
15
15
  * @defaultValue null (sets all)
16
16
  * @gridInfoItem
17
17
  */
18
18
  systemBooleanFunctions?: BooleanFunctionName[] | ((context: GlobalExpressionFunctionsContext<BooleanFunctionName>) => BooleanFunctionName[]);
19
19
  /**
20
- * Custom (user defined) Boolean Expression Functions available in AdapTableQL
20
+ * Custom Boolean Expression Functions available in AdapTableQL
21
21
  *
22
22
  * @defaultValue null (none)
23
23
  * @gridInfoItem
24
24
  */
25
25
  customBooleanFunctions?: Record<string, ExpressionFunction> | ((context: GlobalExpressionFunctionsContext<BooleanFunctionName>) => Record<string, ExpressionFunction>);
26
26
  /**
27
- * System (built-in) Scalar Expression Functions available in AdapTableQL
27
+ * System Scalar Expression Functions available in AdapTableQL
28
28
  *
29
29
  * @defaultValue null (sets all)
30
30
  * @gridInfoItem
31
31
  */
32
32
  systemScalarFunctions?: ScalarFunctionName[] | ((context: GlobalExpressionFunctionsContext<ScalarFunctionName>) => ScalarFunctionName[]);
33
33
  /**
34
- * Custom (user defined) Scalar Expression Functions available in AdapTableQL
34
+ * Custom Scalar Expression Functions available in AdapTableQL
35
35
  *
36
36
  * @defaultValue null (none)
37
37
  * @gridInfoItem
38
38
  */
39
39
  customScalarFunctions?: Record<string, ExpressionFunction> | ((context: GlobalExpressionFunctionsContext<ScalarFunctionName>) => Record<string, ExpressionFunction>);
40
40
  /**
41
- * System (built-in) Observable Expression Functions available in AdapTableQL
41
+ * System Observable Expression Functions available in AdapTableQL
42
42
  *
43
43
  * @defaultValue null (sets all)
44
44
  * @gridInfoItem
45
45
  */
46
46
  systemObservableFunctions?: ObservableFunctionName[] | ((context: GlobalExpressionFunctionsContext<ObservableFunctionName>) => ObservableFunctionName[]);
47
47
  /**
48
- * System (built-in) AggregatedBoolean Expression Functions available in AdapTableQL
48
+ * System AggregatedBoolean Expression Functions available in AdapTableQL
49
49
  *
50
50
  * @defaultValue null (sets all)
51
51
  * @gridInfoItem
52
52
  */
53
53
  systemAggregatedBooleanFunctions?: AggregatedBooleanFunctionName[] | ((context: GlobalExpressionFunctionsContext<AggregatedBooleanFunctionName>) => AggregatedBooleanFunctionName[]);
54
54
  /**
55
- * System (built-in) AggregatedScalar Expression Functions available in AdapTableQL
55
+ * System AggregatedScalar Expression Functions available in AdapTableQL
56
56
  *
57
57
  * @defaultValue undefined (sets all)
58
58
  * @gridInfoItem
59
59
  */
60
60
  systemAggregatedScalarFunctions?: AggregatedScalarFunctionName[] | ((context: GlobalExpressionFunctionsContext<AggregatedScalarFunctionName>) => AggregatedScalarFunctionName[]);
61
61
  /**
62
- * Module specific ExpressionFunctions; if not defined, it falls back to the generally defined system and custom values
62
+ * Module-specific Expression Functions available
63
63
  *
64
- * @defaultValue undefined (defaults to available system & custom values)
64
+ * @defaultValue undefined (defaults to available System & Custom values)
65
65
  * @gridInfoItem
66
66
  */
67
67
  moduleExpressionFunctions?: ModuleExpressionFunctionsMap | ((context: ModuleExpressionFunctionsContext) => ModuleExpressionFunctions | undefined);
68
68
  /**
69
- * Specifies if a given column can be included in Queries
69
+ * Can a given column be included in Expressions
70
70
  */
71
71
  isColumnQueryable?: (queryableColumnContext: QueryableColumnContext) => boolean;
72
72
  /**
@@ -77,7 +77,7 @@ export interface ExpressionOptions {
77
77
  */
78
78
  performExpressionValidation?: boolean;
79
79
  /**
80
- * Maximum time (in milliseconds) to hold a Data Change event in a trailing timeframe (see observableExpressionFunctions); value is capped at 86400000 (~24 hours) for performance reasons
80
+ * Maximum time (in milliseconds) to hold a Data Change event in a trailing timeframe
81
81
  *
82
82
  * @defaultValue 28800000 (~8 hours)
83
83
  * @gridInfoItem
@@ -97,49 +97,49 @@ export declare type ModuleExpressionFunctionsMap = Partial<Record<AdaptableModul
97
97
  */
98
98
  export interface ModuleExpressionFunctions {
99
99
  /**
100
- * System (built-in) Boolean Expression Functions available in AdapTableQL
100
+ * System Boolean Expression Functions available in AdapTableQL
101
101
  *
102
102
  * @defaultValue null (sets all)
103
103
  * @gridInfoItem
104
104
  */
105
105
  systemBooleanFunctions?: BooleanFunctionName[] | ((context: GlobalExpressionFunctionsContext<BooleanFunctionName>) => BooleanFunctionName[]);
106
106
  /**
107
- * Custom (user defined) Boolean Expression Functions available in AdapTableQL
107
+ * Custom Boolean Expression Functions available in AdapTableQL
108
108
  *
109
109
  * @defaultValue null (none)
110
110
  * @gridInfoItem
111
111
  */
112
112
  customBooleanFunctions?: Record<string, ExpressionFunction> | ((context: GlobalExpressionFunctionsContext<BooleanFunctionName>) => Record<string, ExpressionFunction>);
113
113
  /**
114
- * System (built-in) Scalar Expression Functions available in AdapTableQL
114
+ * System Scalar Expression Functions available in AdapTableQL
115
115
  *
116
116
  * @defaultValue null (sets all)
117
117
  * @gridInfoItem
118
118
  */
119
119
  systemScalarFunctions?: ScalarFunctionName[] | ((context: GlobalExpressionFunctionsContext<ScalarFunctionName>) => ScalarFunctionName[]);
120
120
  /**
121
- * Custom (user defined) Scalar Expression Functions available in AdapTableQL
121
+ * Custom Scalar Expression Functions available in AdapTableQL
122
122
  *
123
123
  * @defaultValue null (none)
124
124
  * @gridInfoItem
125
125
  */
126
126
  customScalarFunctions?: Record<string, ExpressionFunction> | ((context: GlobalExpressionFunctionsContext<ScalarFunctionName>) => Record<string, ExpressionFunction>);
127
127
  /**
128
- * System (built-in) Observable Expression Functions available in AdapTableQL
128
+ * System Observable Expression Functions available in AdapTableQL
129
129
  *
130
130
  * @defaultValue null (sets all)
131
131
  * @gridInfoItem
132
132
  */
133
133
  systemObservableFunctions?: ObservableFunctionName[] | ((context: GlobalExpressionFunctionsContext<ObservableFunctionName>) => ObservableFunctionName[]);
134
134
  /**
135
- * System (built-in) AggregatedBoolean Expression Functions available in AdapTableQL
135
+ * System AggregatedBoolean Expression Functions available in AdapTableQL
136
136
  *
137
137
  * @defaultValue null (sets all)
138
138
  * @gridInfoItem
139
139
  */
140
140
  systemAggregatedBooleanFunctions?: AggregatedBooleanFunctionName[] | ((context: GlobalExpressionFunctionsContext<AggregatedBooleanFunctionName>) => AggregatedBooleanFunctionName[]);
141
141
  /**
142
- * System (built-in) AggregatedScalar Expression Functions available in AdapTableQL
142
+ * System AggregatedScalar Expression Functions available in AdapTableQL
143
143
  *
144
144
  * @defaultValue null (sets all)
145
145
  * @gridInfoItem
@@ -4,19 +4,19 @@ import { AdaptablePredicateDef, BaseContext, SystemAlertPredicateIds, SystemFilt
4
4
  */
5
5
  export interface PredicateOptions {
6
6
  /**
7
- * Set which System Filter Predicates are available - by List or Function
7
+ * Which System Filter Predicates are available - List or Function
8
8
  */
9
9
  systemFilterPredicates?: SystemFilterPredicateIds | ((context: SystemPredicatesContext) => SystemFilterPredicateIds);
10
10
  /**
11
- * Set which System Alert Predicates are available - by List or Function
11
+ * Which System Alert Predicates are available - List or Function
12
12
  */
13
13
  systemAlertPredicates?: SystemAlertPredicateIds | ((context: SystemPredicatesContext) => SystemAlertPredicateIds);
14
14
  /**
15
- * Set which System Format Column Predicates are available - by List or Function
15
+ * Which System Format Column Predicates are available - List or Function
16
16
  */
17
17
  systemFormatColumnPredicates?: SystemFormatColumnPredicateIds | ((context: SystemPredicatesContext) => SystemFormatColumnPredicateIds);
18
18
  /**
19
- * Set which System Flashing Cell Predicates are available - by List or Function
19
+ * Which System Flashing Cell Predicates are available - List or Function
20
20
  */
21
21
  systemFlashingCellPredicates?: SystemFlashingCellPredicateIds | ((context: SystemPredicatesContext) => SystemFlashingCellPredicateIds);
22
22
  }
@@ -78,8 +78,7 @@ export interface UserInterfaceOptions {
78
78
  showDocumentationLinks?: boolean;
79
79
  /**
80
80
  * Which sections to show in the Grid Info Screen
81
- *
82
- * @defaultValue ['GridSummary', 'AdaptableOptions', 'ColumnInfo', 'AdaptableObjectsSummary']
81
+ * @defaultValue ['GridSummary', 'AdaptableOptions', 'ColumnInfo', 'AdaptableObjects']
83
82
  */
84
83
  gridInfoSections?: GridInfoSections;
85
84
  /**
@@ -187,7 +186,10 @@ export interface BulkUpdatePermittedValuesContext extends PermittedValuesContext
187
186
  gridCells: GridCell[];
188
187
  }
189
188
  export declare type GridInfoSections = GridInfoSection[];
190
- export declare type GridInfoSection = 'GridSummary' | 'AdaptableOptions' | 'ColumnInfo' | 'AdaptableObjectsSummary';
189
+ /**
190
+ * Tabs available in the Grid Info Settings Panel
191
+ */
192
+ export declare type GridInfoSection = 'GridSummary' | 'AdaptableOptions' | 'ColumnInfo' | 'AdaptableObjects';
191
193
  export interface ObjectTagsContext extends BaseContext {
192
194
  }
193
195
  /**
@@ -22,9 +22,9 @@ export interface ActionApi {
22
22
  displayCreateActionRow(): void;
23
23
  /**
24
24
  * Open create dialog for cloning an existing row
25
- * @param clonedRowNodePrimaryKey - the primary key of the duplicated row
25
+ * @param primaryKey - Primary Key of the duplicated row
26
26
  */
27
- displayCloneActionRow(clonedRowNodePrimaryKey?: any): void;
27
+ displayCloneActionRow(primaryKey?: any): void;
28
28
  /**
29
29
  * TO BE REMOVED
30
30
  */
@@ -45,6 +45,15 @@ export interface CalculatedColumnApi {
45
45
  * Opens Settings Panel with Calculated Column section selected and visible
46
46
  */
47
47
  openCalculatedColumnSettingsPanel(): void;
48
+ /**
49
+ * Re-calculates all aggregated CalculatedColumns (defined with a `AggregatedScalarExpression`)
50
+ */
51
+ refreshAggregatedCalculatedColumns(): void;
52
+ /**
53
+ * Re-calculates the aggregated CalculatedColumn (defined with a `AggregatedScalarExpression`) with the given `columnId`
54
+ * @param columnId column ID of the aggregated CalculatedColumn
55
+ */
56
+ refreshAggregatedCalculatedColumn(columnId: string): void;
48
57
  /**
49
58
  * TO BE REMOVED
50
59
  */
@@ -1,11 +1,18 @@
1
1
  import { ChartModel, ChartRef } from '@ag-grid-community/core';
2
- import { ChartDefinition } from '../types';
2
+ import { ChartContainer, ChartDefinition } from '../types';
3
+ export interface ChartingOpenState {
4
+ charts: {
5
+ chartDefinition: ChartDefinition;
6
+ isOpen: boolean;
7
+ containerName: string | null;
8
+ }[];
9
+ }
3
10
  /**
4
11
  * Provides run-time access to Charting Module and related State
5
12
  */
6
13
  export interface ChartingApi {
7
14
  /**
8
- * Whether AdapTable's charting functionality is available
15
+ * Whether AdapTable's Charting functionality is available
9
16
  */
10
17
  isChartingEnabled(): boolean;
11
18
  /**
@@ -17,16 +24,21 @@ export interface ChartingApi {
17
24
  */
18
25
  getPersistedCharts(): ChartModel[];
19
26
  /**
20
- * Retrieves all adaptable chart definitions
27
+ * Retrieves all adaptable Chart definitions
21
28
  */
22
29
  getChartDefinitions(): ChartDefinition[];
23
30
  /**
24
- * Retrieves chart definition by uuid
25
- * @param uuid chart uuid
31
+ * Retrieves Chart definition by uuid
32
+ * @param uuid Chart uuid
26
33
  */
27
34
  getChartDefinitionByUuid(uuid: string): ChartDefinition | undefined;
28
35
  /**
29
- * Retrieves AG Grid ChartRef for given chartId
36
+ * Retrieves Chart definition by name
37
+ * @param name Chart name
38
+ */
39
+ getChartDefinitionByName(name: string): ChartDefinition | undefined;
40
+ /**
41
+ * Retrieves AG Grid ChartRef for given ChartId
30
42
  */
31
43
  getChartRef(chartId: string): ChartRef | undefined;
32
44
  /**
@@ -41,23 +53,28 @@ export interface ChartingApi {
41
53
  * Opens a Chart Definition
42
54
  *
43
55
  * @param chartDefinition chart definition
56
+ * @param container container element or container name
44
57
  */
45
- showChartDefinition(chartDefinition: ChartDefinition, container?: HTMLElement): ChartRef;
58
+ showChartDefinition(chartDefinition: ChartDefinition, container?: HTMLElement | string): ChartRef;
46
59
  /**
47
- * Open a Chart definition.
48
- * If the chart is already opened a second chart is not opened.
60
+ * Close chart definition
61
+ * @param chartDefinition Chart Definition
62
+ */
63
+ closeChartDefinition(chartDefinition: ChartDefinition): void;
64
+ /**
65
+ * Displays a Chart; if Chart is already open, 2nd Chart is not opened
49
66
  *
50
- * @param chartDefinition chart definition
67
+ * @param chartDefinition Chart Definition to show
51
68
  */
52
69
  showChartDefinitionOnce(chartDefinition: ChartDefinition, container?: HTMLElement): ChartRef;
53
70
  /**
54
- * Edit existing chart
55
- * @param chartDefinition
71
+ * Edit existing Chart
72
+ * @param chartDefinition Chart Definition to edit
56
73
  */
57
74
  editChartDefinition(chartDefinition: ChartDefinition): void;
58
75
  /**
59
- * Add new chart
60
- * @param chartDefinition
76
+ * Add new Chart Definition
77
+ * @param chartDefinition Chart Definition to add
61
78
  */
62
79
  addChartDefinition(chartDefinition: ChartDefinition): void;
63
80
  /**
@@ -67,4 +84,14 @@ export interface ChartingApi {
67
84
  * @deprecated use `getChartDefinitions()` instead
68
85
  */
69
86
  getAllChartDefinitions(): ChartDefinition[];
87
+ /**
88
+ * Returns information about all saved charts, including their open state.
89
+ */
90
+ getChartingOpenState(): ChartingOpenState;
91
+ /**
92
+ * Retrieves the name of the container in which the chart is open.
93
+ * Return null if the chart is not open.
94
+ * @param chartDefinition
95
+ */
96
+ getOpenChartContainer(chartDefinition: ChartDefinition): ChartContainer | null;
70
97
  }
@@ -70,6 +70,10 @@ export interface ColumnApi {
70
70
  * Returns all Queryable Columns
71
71
  */
72
72
  getQueryableColumns(): AdaptableColumn[];
73
+ /**
74
+ * Returns all Exportable Columns
75
+ */
76
+ getExportableColumns(): AdaptableColumn[];
73
77
  /**
74
78
  * Returns all Columns that have given DataType
75
79
  * @param dataType the DataType of the Columns to retrieve
@@ -20,8 +20,8 @@ export interface DataSetApi {
20
20
  */
21
21
  getDataSetByName(dataSetName: string): DataSet;
22
22
  /**
23
- * Makes given Data Set current
24
- * @param dataSetName Name of Data Set to apply
23
+ * Loads the given Data Set (makes it the Current one)
24
+ * @param dataSetName Name of Data Set to load
25
25
  */
26
26
  setDataSet(dataSetName: string): void;
27
27
  /**
@@ -1,4 +1,5 @@
1
1
  import { AdaptableFDC3EventInfo, SelectionChangedInfo, LiveDataChangedInfo, DashboardChangedInfo, ThemeChangedInfo, AlertFiredInfo, LayoutChangedInfo, SearchChangedInfo, AdaptableReadyInfo, CustomToolbarConfiguredInfo, CellChangedInfo, SystemStatusMessageDisplayedInfo, CheckboxColumnClickedInfo, AdaptableStateChangedInfo, FlashingCellDisplayedInfo, GridDataChangedInfo, TeamSharingEntityChangedInfo, ActionRowSubmittedInfo, DataSetSelectedInfo, AdaptableStateReloadedInfo, GridSortedInfo, QueryRunInfo, FilterAppliedInfo } from '../types';
2
+ import { ChartsStateInfo } from './Events/ChartStateChangeInfo';
2
3
  /**
3
4
  * Responsible for publishing the many Events that AdapTable fires
4
5
  */
@@ -241,6 +242,19 @@ export interface EventApi {
241
242
  * @param callback
242
243
  */
243
244
  off(eventName: 'DataSetSelected', callback: (dataSetSelectedInfo: DataSetSelectedInfo) => void): void;
245
+ /**
246
+ * Event fired when a DataSet is Selected
247
+ *
248
+ * @param eventName DataSetSelected
249
+ * @param callback DataSetSelectedInfo
250
+ */
251
+ on(eventName: 'ChartsChanged', callback: (chartsChangedInfo: ChartsStateInfo) => void): () => void;
252
+ /**
253
+ * Unsubscribe from DataSetSelected
254
+ * @param eventName DataSetSelected
255
+ * @param callback
256
+ */
257
+ off(eventName: 'ChartsChanged', callback: (chartsChangedInfo: ChartsStateInfo) => void): void;
244
258
  /**
245
259
  * Fired when Adaptable is up and running - has no arguments.
246
260
  * @param eventName - AdaptableReady
@@ -292,6 +306,6 @@ export interface EventApi {
292
306
  emitSync(eventName: 'DashboardChanged', data?: any): any[];
293
307
  emitSync(eventName: 'FlashingCellDisplayed', data?: any): any[];
294
308
  emitSync(eventName: 'AdaptableDestroy'): any[];
295
- emit(eventName: 'ActionRowSubmitted' | 'AdaptableReady' | 'AlertFired' | 'AdaptableStateChanged' | 'AdaptableStateReloaded' | 'CellChanged' | 'CheckboxColumnClicked' | 'CustomToolbarConfigured' | 'DashboardChanged' | 'DataSetSelected' | 'FDC3MessageSent' | 'FilterApplied' | 'GridDataChanged' | 'GridSorted' | 'LayoutChanged' | 'LiveDataChanged' | 'QueryRun' | 'SearchChanged' | 'SelectionChanged' | 'SystemStatusMessageDisplayed' | 'TeamSharingEntityChanged' | 'ThemeChanged', data?: any): Promise<any>;
309
+ emit(eventName: 'ActionRowSubmitted' | 'AdaptableReady' | 'AlertFired' | 'AdaptableStateChanged' | 'AdaptableStateReloaded' | 'CellChanged' | 'CheckboxColumnClicked' | 'CustomToolbarConfigured' | 'DashboardChanged' | 'DataSetSelected' | 'FDC3MessageSent' | 'FilterApplied' | 'GridDataChanged' | 'GridSorted' | 'LayoutChanged' | 'LiveDataChanged' | 'QueryRun' | 'SearchChanged' | 'SelectionChanged' | 'SystemStatusMessageDisplayed' | 'TeamSharingEntityChanged' | 'ThemeChanged' | 'ChartsChanged', data?: any): Promise<any>;
296
310
  destroy(): void;
297
311
  }
@@ -0,0 +1,5 @@
1
+ import { ChartingOpenState } from '../../types';
2
+ import { BaseEventInfo } from './BaseEventInfo';
3
+ export interface ChartsStateInfo extends BaseEventInfo {
4
+ chartingOpenState: ChartingOpenState;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,6 +3,7 @@ import { ExportState, Report, ReportData, ReportSchedule, SystemReportNames } fr
3
3
  import { CellDataChangedInfo } from '../PredefinedConfig/Common/CellDataChangedInfo';
4
4
  import { CustomDestination, ServerReport, ExportFormContext } from '../AdaptableOptions/ExportOptions';
5
5
  import { ExportDestination } from '../PredefinedConfig/Common/Enums';
6
+ import { AdaptableColumnBase } from '../types';
6
7
  /**
7
8
  * Provides run-time access to the Export Module and Report state
8
9
  */
@@ -169,4 +170,8 @@ export interface ExportApi {
169
170
  * @deprecated internal method, will be removed in next major release
170
171
  */
171
172
  isDataChangeInReport(cellDataChangedInfo: CellDataChangedInfo, report: Report): boolean;
173
+ /**
174
+ * Returns whether the given column is exportable
175
+ */
176
+ isColumnExportable(adaptablColumn: AdaptableColumnBase): boolean;
172
177
  }
@@ -112,6 +112,16 @@ export interface FilterApi {
112
112
  * Unsuspend all Column Filters
113
113
  */
114
114
  unSuspendAllColumnFilters(): void;
115
+ /**
116
+ * Retrieves description of given Column Filter
117
+ * @param columnFilter Column Filter to use
118
+ */
119
+ columnFilterToString(columnFilter: ColumnFilter): string;
120
+ /**
121
+ * Retrieves descriptions of given Column Filters
122
+ * @param columnFilters Column Filters to use
123
+ */
124
+ columnFiltersToString(columnFilters: ColumnFilter[]): string;
115
125
  /**
116
126
  * TO BE REMOVED
117
127
  */
@@ -151,14 +161,6 @@ export interface FilterApi {
151
161
  * @deprecated internal method, will be removed in next major release
152
162
  */
153
163
  createEqualityColumnFilterForCell(gridCell: GridCell): ColumnFilter | null;
154
- /**
155
- * @deprecated internal method, will be removed in next major release
156
- */
157
- columnFilterToString(columnFilter: ColumnFilter): string;
158
- /**
159
- * @deprecated internal method, will be removed in next major release
160
- */
161
- columnFiltersToString(columnFilters: ColumnFilter[]): string;
162
164
  /**
163
165
  * @deprecated internal method, will be removed in next major release
164
166
  */
@@ -9,6 +9,6 @@ export declare class ActionApiImpl extends ApiBase implements ActionApi {
9
9
  getActionRowButtons(): ActionRowButtonType[];
10
10
  displayEditActionRow(primaryKey: any): void;
11
11
  displayCreateActionRow(): void;
12
- displayCloneActionRow(clonedRowNodePrimaryKey?: any): void;
12
+ displayCloneActionRow(primaryKey?: any): void;
13
13
  getAllActionColumn(): ActionColumn[];
14
14
  }
@@ -45,10 +45,10 @@ class ActionApiImpl extends ApiBase_1.ApiBase {
45
45
  Form: createForm,
46
46
  }));
47
47
  }
48
- displayCloneActionRow(clonedRowNodePrimaryKey) {
49
- const rowNode = this.adaptable.api.gridApi.getRowNodeForPrimaryKey(clonedRowNodePrimaryKey);
48
+ displayCloneActionRow(primaryKey) {
49
+ const rowNode = this.adaptable.api.gridApi.getRowNodeForPrimaryKey(primaryKey);
50
50
  if (!rowNode) {
51
- (0, LoggingHelper_1.LogAdaptableWarning)(`Can NOT clone row: rowNode not found for primaryKey ${clonedRowNodePrimaryKey}`);
51
+ (0, LoggingHelper_1.LogAdaptableWarning)(`Can NOT clone row: rowNode not found for primaryKey ${primaryKey}`);
52
52
  }
53
53
  const createForm = this.internalApi.buildRowCreateForm(rowNode);
54
54
  this.dispatchAction((0, PopupRedux_1.PopupShowForm)({
@@ -16,6 +16,8 @@ export declare class CalculatedColumnApiImpl extends ApiBase implements Calculat
16
16
  editCalculatedColumns(calculatedColumns: CalculatedColumn[]): CalculatedColumn[];
17
17
  deleteCalculatedColumn(column: string): void;
18
18
  openCalculatedColumnSettingsPanel(): void;
19
+ refreshAggregatedCalculatedColumns(): void;
20
+ refreshAggregatedCalculatedColumn(columnId: string): void;
19
21
  showCalculatedColumnPopup(): void;
20
22
  getCalculatedColumnModuleReferences(calculatedColumn: CalculatedColumn): string[];
21
23
  getCalculatedColumnsReferencingColumnId(columnId: string): CalculatedColumn[];
@@ -7,6 +7,7 @@ const ApiBase_1 = require("./ApiBase");
7
7
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
8
8
  const logDeprecation_1 = require("../../Utilities/logDeprecation");
9
9
  const CalculatedColumnInternalApi_1 = require("../Internal/CalculatedColumnInternalApi");
10
+ const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
10
11
  class CalculatedColumnApiImpl extends ApiBase_1.ApiBase {
11
12
  constructor(adaptable) {
12
13
  super(adaptable);
@@ -52,6 +53,29 @@ class CalculatedColumnApiImpl extends ApiBase_1.ApiBase {
52
53
  openCalculatedColumnSettingsPanel() {
53
54
  this.showModulePopup(ModuleConstants.CalculatedColumnModuleId);
54
55
  }
56
+ refreshAggregatedCalculatedColumns() {
57
+ const aggregatedCalculatedColumns = this.getCalculatedColumns().filter((calculatedColumn) => { var _a; return (_a = calculatedColumn.Query) === null || _a === void 0 ? void 0 : _a.AggregatedScalarExpression; });
58
+ aggregatedCalculatedColumns.forEach((calculatedColumn) => {
59
+ this.getAdaptableApi()
60
+ .internalApi.getCalculatedColumnExpressionService()
61
+ .createAggregatedScalarLiveValue(calculatedColumn);
62
+ });
63
+ // refresh calculated columns
64
+ const aggCalculatedColumnIds = aggregatedCalculatedColumns.map((calculatedColumn) => calculatedColumn.ColumnId);
65
+ this.getGridApi().refreshCells(null, aggCalculatedColumnIds);
66
+ }
67
+ refreshAggregatedCalculatedColumn(columnId) {
68
+ var _a;
69
+ const aggregatedCalculatedColumn = this.getCalculatedColumnForColumnId(columnId);
70
+ if (!((_a = aggregatedCalculatedColumn === null || aggregatedCalculatedColumn === void 0 ? void 0 : aggregatedCalculatedColumn.Query) === null || _a === void 0 ? void 0 : _a.AggregatedScalarExpression)) {
71
+ (0, LoggingHelper_1.LogAdaptableWarning)(`Aggregated calculated column with ID=${columnId} was NOT found (and refreshed)!`);
72
+ return;
73
+ }
74
+ this.getAdaptableApi()
75
+ .internalApi.getCalculatedColumnExpressionService()
76
+ .createAggregatedScalarLiveValue(aggregatedCalculatedColumn);
77
+ this.getGridApi().refreshCells(null, [columnId]);
78
+ }
55
79
  showCalculatedColumnPopup() {
56
80
  (0, logDeprecation_1.logDeprecation)('CalculatedColumnApi', 'showCalculatedColumnPopup', 'openCalculatedColumnSettingsPanel');
57
81
  this.showModulePopup(ModuleConstants.CalculatedColumnModuleId);
@@ -1,8 +1,12 @@
1
1
  import { ChartModel, ChartRef } from '@ag-grid-community/core';
2
2
  import { ChartingApi } from '../ChartingApi';
3
3
  import { ApiBase } from './ApiBase';
4
- import { ChartDefinition } from '../../types';
4
+ import { ChartContainer, ChartDefinition } from '../../types';
5
+ import { ChartingInternalApi } from '../Internal/ChartingInternalApi';
6
+ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
5
7
  export declare class ChartingApiImpl extends ApiBase implements ChartingApi {
8
+ internalApi: ChartingInternalApi;
9
+ constructor(adaptable: IAdaptable);
6
10
  isChartingEnabled(): boolean;
7
11
  getCurrentChartModels(): ChartModel[];
8
12
  getChartRef(chartId: string): ChartRef;
@@ -11,9 +15,19 @@ export declare class ChartingApiImpl extends ApiBase implements ChartingApi {
11
15
  getChartDefinitions(): ChartDefinition[];
12
16
  getAllChartDefinitions(): ChartDefinition[];
13
17
  getChartDefinitionByUuid(uuid: string): ChartDefinition;
18
+ getChartDefinitionByName(name: string): ChartDefinition | undefined;
14
19
  showPersistedCharts(): ChartRef[];
15
- showChartDefinition(chartDefiniton: ChartDefinition, container?: HTMLElement): ChartRef;
20
+ showChartDefinition(chartDefiniton: ChartDefinition, container?: HTMLElement | string): ChartRef;
16
21
  showChartDefinitionOnce(chartDefinition: ChartDefinition, container?: HTMLElement): ChartRef;
22
+ closeChartDefinition(chartDefinition: ChartDefinition): void;
17
23
  editChartDefinition(editedChartDefinition: ChartDefinition): void;
18
24
  addChartDefinition(chart: ChartDefinition): void;
25
+ getChartingOpenState(): {
26
+ charts: {
27
+ chartDefinition: ChartDefinition;
28
+ isOpen: boolean;
29
+ containerName: string;
30
+ }[];
31
+ };
32
+ getOpenChartContainer(chartDefinition: ChartDefinition): ChartContainer | null;
19
33
  }