@adaptabletools/adaptable 11.2.4-canary.0 → 12.0.0-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 (266) hide show
  1. package/base.css +22 -4
  2. package/bundle.cjs.js +111 -111
  3. package/index.css +26 -4
  4. package/package.json +1 -1
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableInterfaces/IAdaptable.d.ts +6 -1
  8. package/src/AdaptableOptions/ActionOptions.d.ts +1 -0
  9. package/src/AdaptableOptions/{MasterDetailAgGridPluginOptions.js → ActionOptions.js} +0 -0
  10. package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +5 -0
  11. package/src/AdaptableOptions/AdaptableOptions.d.ts +3 -3
  12. package/src/AdaptableOptions/AdaptableQLOptions.d.ts +5 -0
  13. package/src/AdaptableOptions/AlertOptions.d.ts +14 -1
  14. package/src/AdaptableOptions/ColumnOptions.d.ts +49 -0
  15. package/src/AdaptableOptions/{SmartEdit.js → ColumnOptions.js} +0 -0
  16. package/src/AdaptableOptions/DashboardOptions.d.ts +2 -7
  17. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +19 -0
  18. package/src/AdaptableOptions/EditOptions.d.ts +92 -4
  19. package/src/AdaptableOptions/EntitlementOptions.d.ts +7 -1
  20. package/src/AdaptableOptions/ExportOptions.d.ts +5 -1
  21. package/src/AdaptableOptions/FilterOptions.d.ts +6 -1
  22. package/src/AdaptableOptions/FinancePluginOptions.d.ts +33 -3
  23. package/src/AdaptableOptions/GeneralOptions.d.ts +22 -23
  24. package/src/AdaptableOptions/{MasterDetailAgGridPluginOptions.d.ts → MasterDetailPluginOptions.d.ts} +2 -4
  25. package/src/{Api/DataSourceApi.js → AdaptableOptions/MasterDetailPluginOptions.js} +0 -0
  26. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +3 -6
  27. package/src/AdaptableOptions/ToolPanelOptions.d.ts +2 -49
  28. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +81 -54
  29. package/src/Api/AdaptableApi.d.ts +6 -3
  30. package/src/Api/ColumnApi.d.ts +6 -3
  31. package/src/Api/ConditionalStyleApi.d.ts +10 -0
  32. package/src/Api/ConfigApi.d.ts +0 -12
  33. package/src/Api/DashboardApi.d.ts +6 -19
  34. package/src/Api/DataSetApi.d.ts +40 -0
  35. package/src/{PredefinedConfig/DataSourceState.js → Api/DataSetApi.js} +0 -0
  36. package/src/Api/EventApi.d.ts +18 -1
  37. package/src/Api/Events/DataSetChanged.d.ts +5 -0
  38. package/src/{PredefinedConfig/FilterState.js → Api/Events/DataSetChanged.js} +0 -0
  39. package/src/Api/Events/RowFormSubmitted.d.ts +19 -0
  40. package/src/Api/Events/RowFormSubmitted.js +2 -0
  41. package/src/Api/Events/SearchChanged.d.ts +3 -4
  42. package/src/Api/FilterApi.d.ts +1 -77
  43. package/src/Api/FinanceApi.d.ts +3 -2
  44. package/src/Api/FormatColumnApi.d.ts +28 -1
  45. package/src/Api/GridApi.d.ts +15 -1
  46. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -2
  47. package/src/Api/Implementation/AdaptableApiImpl.js +3 -3
  48. package/src/Api/Implementation/AlertApiImpl.js +5 -1
  49. package/src/Api/Implementation/ApiBase.d.ts +3 -0
  50. package/src/Api/Implementation/ApiBase.js +6 -0
  51. package/src/Api/Implementation/ColumnApiImpl.d.ts +2 -2
  52. package/src/Api/Implementation/ColumnApiImpl.js +6 -3
  53. package/src/Api/Implementation/ConditionalStyleApiImpl.d.ts +2 -0
  54. package/src/Api/Implementation/ConditionalStyleApiImpl.js +8 -0
  55. package/src/Api/Implementation/ConfigApiImpl.d.ts +0 -4
  56. package/src/Api/Implementation/ConfigApiImpl.js +2 -24
  57. package/src/Api/Implementation/DashboardApiImpl.d.ts +3 -6
  58. package/src/Api/Implementation/DashboardApiImpl.js +5 -29
  59. package/src/Api/Implementation/DataSetApiImpl.d.ts +12 -0
  60. package/src/Api/Implementation/DataSetApiImpl.js +42 -0
  61. package/src/Api/Implementation/EventApiImpl.js +1 -0
  62. package/src/Api/Implementation/FilterApiImpl.d.ts +1 -16
  63. package/src/Api/Implementation/FilterApiImpl.js +5 -164
  64. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +6 -0
  65. package/src/Api/Implementation/FormatColumnApiImpl.js +34 -0
  66. package/src/Api/Implementation/GridApiImpl.d.ts +4 -1
  67. package/src/Api/Implementation/GridApiImpl.js +41 -1
  68. package/src/Api/Implementation/InternalApiImpl.d.ts +7 -2
  69. package/src/Api/Implementation/InternalApiImpl.js +51 -10
  70. package/src/Api/Implementation/LayoutApiImpl.d.ts +18 -1
  71. package/src/Api/Implementation/LayoutApiImpl.js +172 -0
  72. package/src/Api/Implementation/PredicateApiImpl.js +1 -1
  73. package/src/Api/Implementation/SmartEditApiImpl.d.ts +5 -2
  74. package/src/Api/Implementation/SmartEditApiImpl.js +9 -0
  75. package/src/Api/Implementation/TeamSharingApiImpl.d.ts +5 -3
  76. package/src/Api/Implementation/TeamSharingApiImpl.js +28 -10
  77. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -1
  78. package/src/Api/Implementation/UserInterfaceApiImpl.js +7 -25
  79. package/src/Api/InternalApi.d.ts +6 -2
  80. package/src/Api/LayoutApi.d.ts +88 -1
  81. package/src/Api/SmartEditApi.d.ts +14 -3
  82. package/src/Api/TeamSharingApi.d.ts +18 -5
  83. package/src/Api/UserInterfaceApi.d.ts +4 -4
  84. package/src/PredefinedConfig/AdaptableState.d.ts +0 -4
  85. package/src/PredefinedConfig/CalculatedColumnState.d.ts +5 -0
  86. package/src/PredefinedConfig/Common/AdaptableButton.d.ts +3 -3
  87. package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +5 -1
  88. package/src/PredefinedConfig/Common/AdaptableForm.d.ts +3 -2
  89. package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +6 -3
  90. package/src/PredefinedConfig/Common/AdaptableObject.d.ts +2 -11
  91. package/src/PredefinedConfig/Common/AdaptablePredicate.js +35 -2
  92. package/src/PredefinedConfig/Common/BaseContext.d.ts +1 -1
  93. package/src/PredefinedConfig/{FilterState.d.ts → Common/ColumnFilter.d.ts} +2 -33
  94. package/src/PredefinedConfig/Common/ColumnFilter.js +2 -0
  95. package/src/PredefinedConfig/Common/Enums.d.ts +2 -2
  96. package/src/PredefinedConfig/Common/Enums.js +1 -1
  97. package/src/PredefinedConfig/Common/FDC3Context.d.ts +5 -1
  98. package/src/PredefinedConfig/Common/Types.d.ts +6 -5
  99. package/src/PredefinedConfig/Common/Types.js +2 -3
  100. package/src/PredefinedConfig/LayoutState.d.ts +5 -0
  101. package/src/PredefinedConfig/PredefinedConfig.d.ts +0 -10
  102. package/src/PredefinedConfig/StatusBarState.d.ts +1 -2
  103. package/src/PredefinedConfig/SystemState.d.ts +4 -2
  104. package/src/Redux/ActionsReducers/LayoutRedux.d.ts +47 -0
  105. package/src/Redux/ActionsReducers/LayoutRedux.js +135 -1
  106. package/src/Redux/ActionsReducers/SystemRedux.d.ts +23 -1
  107. package/src/Redux/ActionsReducers/SystemRedux.js +39 -1
  108. package/src/Redux/Store/AdaptableStore.js +37 -39
  109. package/src/Strategy/AlertModule.d.ts +11 -0
  110. package/src/Strategy/AlertModule.js +14 -0
  111. package/src/Strategy/CellSummaryModule.d.ts +3 -0
  112. package/src/Strategy/CellSummaryModule.js +28 -14
  113. package/src/Strategy/DataSetModule.d.ts +25 -0
  114. package/src/Strategy/DataSetModule.js +65 -0
  115. package/src/Strategy/ExportModule.js +6 -1
  116. package/src/Strategy/FilterModule.d.ts +7 -11
  117. package/src/Strategy/FilterModule.js +24 -15
  118. package/src/Strategy/FlashingCellModule.d.ts +1 -1
  119. package/src/Strategy/FlashingCellModule.js +2 -2
  120. package/src/Strategy/FormatColumnModule.js +1 -1
  121. package/src/Strategy/Interface/IModule.d.ts +3 -1
  122. package/src/Strategy/LayoutModule.js +24 -2
  123. package/src/Strategy/SmartEditModule.d.ts +1 -1
  124. package/src/Strategy/SmartEditModule.js +5 -6
  125. package/src/Strategy/StatusBarModule.js +1 -3
  126. package/src/Strategy/TeamSharingModule.js +1 -1
  127. package/src/Strategy/ToolPanelModule.js +1 -4
  128. package/src/Utilities/Constants/GeneralConstants.d.ts +6 -2
  129. package/src/Utilities/Constants/GeneralConstants.js +6 -2
  130. package/src/Utilities/Constants/ModuleConstants.d.ts +1 -1
  131. package/src/Utilities/Constants/ModuleConstants.js +2 -2
  132. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +22 -13
  133. package/src/Utilities/Defaults/DefaultSettingsPanel.js +1 -1
  134. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +2 -4
  135. package/src/Utilities/Helpers/AdaptableHelper.js +4 -1
  136. package/src/Utilities/ObjectFactory.d.ts +3 -6
  137. package/src/Utilities/ObjectFactory.js +3 -7
  138. package/src/Utilities/Services/EntitlementService.js +7 -1
  139. package/src/Utilities/Services/Interface/IRowEditService.d.ts +8 -0
  140. package/src/Utilities/Services/Interface/IRowEditService.js +2 -0
  141. package/src/Utilities/Services/ModuleService.js +1 -1
  142. package/src/Utilities/Services/ReportService.js +2 -3
  143. package/src/Utilities/Services/RowEditService.d.ts +25 -0
  144. package/src/Utilities/Services/RowEditService.js +165 -0
  145. package/src/Utilities/Services/TeamSharingService.js +4 -4
  146. package/src/View/AdaptablePopover/index.d.ts +1 -0
  147. package/src/View/AdaptablePopover/index.js +5 -6
  148. package/src/View/AdaptableView.js +1 -1
  149. package/src/View/AdaptableViewFactory.js +2 -2
  150. package/src/View/Alert/ActiveAlertsPanel.d.ts +2 -0
  151. package/src/View/Alert/ActiveAlertsPanel.js +15 -0
  152. package/src/View/Alert/AlertStatusSubPanel.js +3 -8
  153. package/src/View/Alert/AlertViewPanel.js +2 -2
  154. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +1 -1
  155. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +1 -1
  156. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +1 -1
  157. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +9 -2
  158. package/src/View/CellSummary/CellSummaryDetails.js +2 -2
  159. package/src/View/CellSummary/CellSummaryPopover.d.ts +2 -4
  160. package/src/View/CellSummary/CellSummaryPopover.js +3 -6
  161. package/src/View/CellSummary/CellSummaryPopup.js +8 -0
  162. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +1 -1
  163. package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -2
  164. package/src/View/CellSummary/CellSummaryViewPanel.js +1 -1
  165. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +18 -8
  166. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +1 -2
  167. package/src/View/Components/ExternalRenderer.d.ts +3 -6
  168. package/src/View/Components/ExternalRenderer.js +5 -5
  169. package/src/View/Components/FilterForm/FilterForm.d.ts +5 -2
  170. package/src/View/Components/FilterForm/FilterForm.js +9 -7
  171. package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +4 -1
  172. package/src/View/Components/FilterForm/ListBoxFilterForm.js +7 -7
  173. package/src/View/Components/FilterForm/QuickFilterForm.d.ts +1 -1
  174. package/src/View/Components/FilterForm/QuickFilterForm.js +21 -7
  175. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  176. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +2 -0
  177. package/src/View/Components/Popups/AdaptablePopupAlert.d.ts +0 -2
  178. package/src/View/Components/Popups/AdaptablePopupAlert.js +13 -11
  179. package/src/View/Components/Popups/AdaptableToaster.js +29 -9
  180. package/src/View/Components/Popups/FormPopups/FormPopups.js +2 -2
  181. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +3 -2
  182. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +11 -9
  183. package/src/View/Dashboard/CustomDashboardButton.d.ts +11 -0
  184. package/src/View/Dashboard/CustomDashboardButton.js +47 -0
  185. package/src/View/Dashboard/CustomToolbarWrapper.d.ts +1 -0
  186. package/src/View/Dashboard/CustomToolbarWrapper.js +30 -11
  187. package/src/View/Dashboard/Dashboard.d.ts +1 -0
  188. package/src/View/Dashboard/Dashboard.js +8 -34
  189. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +19 -36
  190. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +3 -0
  191. package/src/View/DataChangeHistory/buildActionColumnButton.js +70 -0
  192. package/src/View/DataSet/DataSetSelector.d.ts +7 -0
  193. package/src/View/DataSet/DataSetSelector.js +18 -0
  194. package/src/View/DataSet/DataSetStatusPanelPopover.d.ts +2 -0
  195. package/src/View/DataSet/DataSetStatusPanelPopover.js +19 -0
  196. package/src/View/DataSet/DataSetViewPanel.d.ts +19 -0
  197. package/src/View/DataSet/DataSetViewPanel.js +58 -0
  198. package/src/View/Filter/ActiveFiltersPanel.js +1 -1
  199. package/src/View/Filter/FilterSummary.d.ts +5 -5
  200. package/src/View/Filter/FilterSummary.js +6 -5
  201. package/src/View/Filter/FilterViewPanel.d.ts +4 -4
  202. package/src/View/Filter/FilterViewPanel.js +11 -14
  203. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +3 -2
  204. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +51 -22
  205. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +1 -1
  206. package/src/View/GridInfo/GridInfoPopup.js +1 -1
  207. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +6 -24
  208. package/src/View/Layout/Wizard/LayoutEditor/index.js +1 -1
  209. package/src/View/Layout/Wizard/LayoutEditorWizard.d.ts +2 -1
  210. package/src/View/SmartEdit/SmartEditPopup.d.ts +1 -1
  211. package/src/View/SmartEdit/SmartEditPopup.js +3 -4
  212. package/src/View/SmartEdit/SmartEditViewPanel.d.ts +1 -1
  213. package/src/View/SmartEdit/SmartEditViewPanel.js +3 -4
  214. package/src/View/SpecialColumnSettingsWizardStep.js +1 -1
  215. package/src/View/StatusBar/AdaptableStatusBar.js +1 -1
  216. package/src/View/StatusBar/StatusBarPanel.d.ts +1 -0
  217. package/src/View/StatusBar/StatusBarPanel.js +5 -4
  218. package/src/View/Theme/ThemeStatusPanelPopover.js +5 -25
  219. package/src/View/UIHelper.d.ts +4 -4
  220. package/src/View/UIHelper.js +4 -4
  221. package/src/agGrid/ActionColumnRenderer.d.ts +6 -1
  222. package/src/agGrid/ActionColumnRenderer.js +9 -6
  223. package/src/agGrid/Adaptable.d.ts +7 -2
  224. package/src/agGrid/Adaptable.js +217 -87
  225. package/src/agGrid/FilterWrapper.js +1 -1
  226. package/src/agGrid/agGridHelper.d.ts +6 -6
  227. package/src/agGrid/agGridHelper.js +34 -56
  228. package/src/agGrid/agGridMenuHelper.js +4 -1
  229. package/src/agGrid/rowEditIcons.d.ts +4 -0
  230. package/src/agGrid/rowEditIcons.js +9 -0
  231. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +9 -18
  232. package/src/components/Dashboard/DashboardToolbar.js +2 -2
  233. package/src/components/Datepicker/index.js +19 -18
  234. package/src/components/SelectList.d.ts +10 -0
  235. package/src/components/SelectList.js +9 -0
  236. package/src/components/WindowModal/WindowModal.d.ts +2 -0
  237. package/src/components/WindowModal/WindowModal.js +1 -1
  238. package/src/components/icons/{data-source.d.ts → data-set.d.ts} +0 -0
  239. package/src/components/icons/{data-source.js → data-set.js} +0 -0
  240. package/src/components/icons/index.js +2 -2
  241. package/src/metamodel/adaptable.metamodel.d.ts +242 -70
  242. package/src/metamodel/adaptable.metamodel.js +620 -376
  243. package/src/types.d.ts +19 -15
  244. package/version.d.ts +1 -1
  245. package/version.js +1 -1
  246. package/src/AdaptableOptions/SmartEdit.d.ts +0 -34
  247. package/src/Api/DataSourceApi.d.ts +0 -58
  248. package/src/Api/Implementation/DataSourceApiImpl.d.ts +0 -15
  249. package/src/Api/Implementation/DataSourceApiImpl.js +0 -51
  250. package/src/PredefinedConfig/DataSourceState.d.ts +0 -34
  251. package/src/Redux/ActionsReducers/DataSourceRedux.d.ts +0 -42
  252. package/src/Redux/ActionsReducers/DataSourceRedux.js +0 -76
  253. package/src/Redux/ActionsReducers/FilterRedux.d.ts +0 -70
  254. package/src/Redux/ActionsReducers/FilterRedux.js +0 -126
  255. package/src/Strategy/DataSourceModule.d.ts +0 -20
  256. package/src/Strategy/DataSourceModule.js +0 -56
  257. package/src/View/Components/Forms/AdaptableForm.d.ts +0 -6
  258. package/src/View/Components/Forms/AdaptableForm.js +0 -21
  259. package/src/View/DataSource/DataSourceViewPanel.d.ts +0 -19
  260. package/src/View/DataSource/DataSourceViewPanel.js +0 -69
  261. package/src/View/DataSource/Wizard/DataSourceSettingsSummary.d.ts +0 -2
  262. package/src/View/DataSource/Wizard/DataSourceSettingsSummary.js +0 -17
  263. package/src/View/DataSource/Wizard/DataSourceSettingsWizard.d.ts +0 -8
  264. package/src/View/DataSource/Wizard/DataSourceSettingsWizard.js +0 -42
  265. package/src/View/DataSource/Wizard/DataSourceWizard.d.ts +0 -8
  266. package/src/View/DataSource/Wizard/DataSourceWizard.js +0 -53
@@ -3,7 +3,7 @@ import { IAdaptable } from '../AdaptableInterfaces/IAdaptable';
3
3
  import { AdaptableColumn, AdaptableColumnGroup } from '../PredefinedConfig/Common/AdaptableColumn';
4
4
  import { AdaptableNodeComparerFunction } from '../PredefinedConfig/Common/AdaptableComparerFunction';
5
5
  import { DataType } from '../PredefinedConfig/Common/Enums';
6
- import { AdaptableModule } from '../PredefinedConfig/Common/Types';
6
+ import { AdaptableColumnType, AdaptableModule } from '../PredefinedConfig/Common/Types';
7
7
  import { IModule } from '../Strategy/Interface/IModule';
8
8
  import { IPPStyle } from '../Utilities/Interface/IPPStyle';
9
9
  import { FormatColumn } from '../PredefinedConfig/FormatColumnState';
@@ -26,9 +26,9 @@ export declare class agGridHelper {
26
26
  getCleanValue(value: string): string | undefined;
27
27
  getRenderedValue(colDef: ColDef, valueToRender: any): any;
28
28
  createAdaptableColumnFromAgGridColumn(agGridColumn: Column, colsToGroups: Record<string, AdaptableColumnGroup>): AdaptableColumn;
29
- createAdaptableSideBarDefs(showFilterPanel: boolean, showColumnsPanel: boolean): SideBarDef;
30
- createAdaptableToolPanel(): ToolPanelDef;
31
- orderToolPanels(toolPanelDefs: (ToolPanelDef | string)[]): void;
29
+ buildAdaptableToolPanelDef(): ToolPanelDef;
30
+ isSideBarDefObject(sidebarDef: unknown): sidebarDef is SideBarDef;
31
+ mapToolPanelDefs(toolPanelDefs?: (ToolPanelDef | string)[]): (ToolPanelDef | string)[];
32
32
  reselectSelectedCells(): void;
33
33
  fireSelectionChangedEvent(): void;
34
34
  private isColumnReadonly;
@@ -46,8 +46,8 @@ export declare class agGridHelper {
46
46
  private isColumnGrouped;
47
47
  private isColumnSparkline;
48
48
  private getColumnDataType;
49
- private getabColDefValue;
50
- getAgGridDataType(dataType: DataType): string;
49
+ private getAbColDefValue;
50
+ getAgGridDataType(dataType: DataType): AdaptableColumnType;
51
51
  checkShouldClearExistingFiltersOrSearches(): void;
52
52
  runAdaptableGroupComparerFunction(): AdaptableNodeComparerFunction;
53
53
  getCurrentIPPStyle(): IPPStyle;
@@ -11,7 +11,7 @@ const CellSummaryModule_1 = require("../Strategy/CellSummaryModule");
11
11
  const ConditionalStyleModule_1 = require("../Strategy/ConditionalStyleModule");
12
12
  const CustomSortModule_1 = require("../Strategy/CustomSortModule");
13
13
  const DashboardModule_1 = require("../Strategy/DashboardModule");
14
- const DataSourceModule_1 = require("../Strategy/DataSourceModule");
14
+ const DataSetModule_1 = require("../Strategy/DataSetModule");
15
15
  const ExportModule_1 = require("../Strategy/ExportModule");
16
16
  const FilterModule_1 = require("../Strategy/FilterModule");
17
17
  const FormatColumnModule_1 = require("../Strategy/FormatColumnModule");
@@ -41,6 +41,8 @@ const ChartingModule_1 = require("../Strategy/ChartingModule");
41
41
  const PercentBarRenderer_1 = require("./PercentBarRenderer");
42
42
  const Helper_1 = require("../Utilities/Helpers/Helper");
43
43
  const StatusBarModule_1 = require("../Strategy/StatusBarModule");
44
+ const GeneralConstants = tslib_1.__importStar(require("../Utilities/Constants/GeneralConstants"));
45
+ const UIHelper_1 = tslib_1.__importDefault(require("../View/UIHelper"));
44
46
  const tinycolor = require('tinycolor2');
45
47
  /**
46
48
  * Adaptable AG Grid implementation is getting really big and unwieldy
@@ -79,7 +81,7 @@ class agGridHelper {
79
81
  modules.set(ModuleConstants.ConditionalStyleModuleId, new ConditionalStyleModule_1.ConditionalStyleModule(api));
80
82
  modules.set(ModuleConstants.CustomSortModuleId, new CustomSortModule_1.CustomSortModule(api));
81
83
  modules.set(ModuleConstants.DataChangeHistoryModuleId, new DataChangeHistoryModule_1.DataChangeHistoryModule(api));
82
- modules.set(ModuleConstants.DataSourceModuleId, new DataSourceModule_1.DataSourceModule(api));
84
+ modules.set(ModuleConstants.DataSetModuleId, new DataSetModule_1.DataSetModule(api));
83
85
  modules.set(ModuleConstants.ExportModuleId, new ExportModule_1.ExportModule(api));
84
86
  modules.set(ModuleConstants.FilterModuleId, new FilterModule_1.FilterModule(api));
85
87
  modules.set(ModuleConstants.FormatColumnModuleId, new FormatColumnModule_1.FormatColumnModule(api));
@@ -155,7 +157,11 @@ class agGridHelper {
155
157
  createAdaptableColumnFromAgGridColumn(agGridColumn, colsToGroups) {
156
158
  const colId = agGridColumn.getColId();
157
159
  const colDef = agGridColumn.getColDef();
158
- const FriendlyName = this.gridOptions.columnApi.getDisplayNameForColumn(agGridColumn, 'header');
160
+ const columnFriendlyName = this.adaptable.adaptableOptions.columnOptions.columnFriendlyName;
161
+ const customFriendlyName = typeof columnFriendlyName === 'function'
162
+ ? columnFriendlyName({ colId: colId, agColumn: agGridColumn })
163
+ : null;
164
+ const FriendlyName = customFriendlyName !== null && customFriendlyName !== void 0 ? customFriendlyName : this.gridOptions.columnApi.getDisplayNameForColumn(agGridColumn, 'header');
159
165
  if (!this.initialAgGridColDefs[colId]) {
160
166
  this.initialAgGridColDefs[colId] = Object.assign({}, agGridColumn.getUserProvidedColDef());
161
167
  }
@@ -203,55 +209,26 @@ class agGridHelper {
203
209
  }
204
210
  return abColumn;
205
211
  }
206
- createAdaptableSideBarDefs(showFilterPanel, showColumnsPanel) {
207
- const toolPanelDef = [];
208
- if (showFilterPanel) {
209
- const filterToolPanel = {
210
- id: 'filters',
211
- labelDefault: 'Filters',
212
- labelKey: 'filters',
213
- iconKey: 'filter',
214
- toolPanel: 'agFiltersToolPanel',
215
- };
216
- toolPanelDef.push(filterToolPanel);
217
- }
218
- if (showColumnsPanel) {
219
- const columnsToolPanel = {
220
- id: 'columns',
221
- labelDefault: 'Columns',
222
- labelKey: 'columns',
223
- iconKey: 'columns',
224
- toolPanel: 'agColumnsToolPanel',
225
- };
226
- toolPanelDef.push(columnsToolPanel);
227
- }
228
- toolPanelDef.push(this.createAdaptableToolPanel());
229
- this.orderToolPanels(toolPanelDef);
230
- const abSideBarDef = {
231
- toolPanels: toolPanelDef,
232
- defaultToolPanel: '',
233
- };
234
- return abSideBarDef;
235
- }
236
- createAdaptableToolPanel() {
212
+ buildAdaptableToolPanelDef() {
237
213
  return {
238
- id: 'adaptable',
239
- toolPanel: 'AdaptableToolPanel',
240
- labelDefault: this.adaptable.adaptableOptions.toolPanelOptions.adaptableToolPanelTitle,
214
+ id: GeneralConstants.ADAPTABLE_TOOLPANEL_ID,
215
+ toolPanel: GeneralConstants.ADAPTABLE_TOOLPANEL_COMPONENT,
216
+ labelDefault: GeneralConstants.ADAPTABLE,
241
217
  labelKey: 'adaptable',
242
- iconKey: this.adaptable.adaptableOptions.toolPanelOptions.iconKey,
243
- width: this.adaptable.adaptableOptions.toolPanelOptions.width,
244
- minWidth: this.adaptable.adaptableOptions.toolPanelOptions.minWidth,
245
- maxWidth: this.adaptable.adaptableOptions.toolPanelOptions.maxWidth,
218
+ iconKey: 'menu',
219
+ width: UIHelper_1.default.getAdaptableToolPanelWidth(),
220
+ minWidth: UIHelper_1.default.getAdaptableToolPanelWidth(),
246
221
  };
247
222
  }
248
- orderToolPanels(toolPanelDefs) {
249
- const customOrder = this.adaptable.adaptableOptions.toolPanelOptions.toolPanelOrder;
250
- toolPanelDefs.sort(function (left, right) {
251
- const leftOperand = typeof left === 'string' ? left : left.id;
252
- const rightOperand = typeof right === 'string' ? right : right.id;
253
- return customOrder.indexOf(leftOperand) - customOrder.indexOf(rightOperand);
254
- });
223
+ isSideBarDefObject(sidebarDef) {
224
+ var _a;
225
+ return Array.isArray((_a = sidebarDef) === null || _a === void 0 ? void 0 : _a.toolPanels);
226
+ }
227
+ mapToolPanelDefs(toolPanelDefs = []) {
228
+ // if it's an alias for the adaptable tool panel, map it to a ToolPanelDef, otherwise return it as it is
229
+ return toolPanelDefs.map((toolPanelDef) => toolPanelDef === GeneralConstants.ADAPTABLE_TOOLPANEL_ID
230
+ ? this.buildAdaptableToolPanelDef()
231
+ : toolPanelDef);
255
232
  }
256
233
  // This method reselects cells - only IF they are in a single column
257
234
  // Might be able to change that later
@@ -404,12 +381,12 @@ class agGridHelper {
404
381
  if (Array.isArray(colType)) {
405
382
  colType.forEach((c) => {
406
383
  if (dataType == Enums_1.DataType.Unknown) {
407
- dataType = this.getabColDefValue(c);
384
+ dataType = this.getAbColDefValue(c);
408
385
  }
409
386
  });
410
387
  }
411
388
  else {
412
- dataType = this.getabColDefValue(colType);
389
+ dataType = this.getAbColDefValue(colType);
413
390
  }
414
391
  if (dataType != Enums_1.DataType.Unknown) {
415
392
  return dataType;
@@ -463,12 +440,13 @@ class agGridHelper {
463
440
  LoggingHelper_1.LogAdaptableWarning(`No defined type for column '${column.getColId()}'. Defaulting to type of first value: ${dataType}`);
464
441
  return dataType;
465
442
  }
466
- getabColDefValue(colType) {
443
+ getAbColDefValue(colType) {
467
444
  if (colType == 'numericColumn') {
468
445
  return Enums_1.DataType.Number;
469
446
  }
470
447
  if (colType.startsWith('abColDef')) {
471
- switch (colType) {
448
+ const abColType = colType;
449
+ switch (abColType) {
472
450
  case 'abColDefNumber':
473
451
  return Enums_1.DataType.Number;
474
452
  case 'abColDefString':
@@ -508,20 +486,20 @@ class agGridHelper {
508
486
  checkShouldClearExistingFiltersOrSearches() {
509
487
  // if they have selected to clear column filters on startup then do it
510
488
  if (this.adaptable.adaptableOptions.filterOptions.clearFiltersOnStartUp) {
511
- if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(this.adaptable.api.filterApi.getAllColumnFilter())) {
489
+ if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(this.adaptable.api.layoutApi.getAllColumnFilter())) {
512
490
  LoggingHelper_1.LogAdaptableWarning('Clearing existing Column Filters as "clearFiltersOnStartUp" is true');
513
- this.adaptable.api.filterApi.clearAllColumnFilter();
491
+ this.adaptable.api.layoutApi.clearAllColumnFilter();
514
492
  }
515
493
  }
516
494
  // if they have selected to clear searches on startup then do it
517
495
  if (this.adaptable.adaptableOptions.searchOptions.clearSearchesOnStartUp) {
518
496
  if (StringExtensions_1.StringExtensions.IsNotNullOrEmpty(this.adaptable.api.quickSearchApi.getQuickSearchState().QuickSearchText) ||
519
497
  StringExtensions_1.StringExtensions.IsNotNullOrEmpty(this.adaptable.api.queryApi.getCurrentQuery()) ||
520
- ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(this.adaptable.api.dataSourceApi.getAllDataSource())) {
498
+ ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(this.adaptable.api.dataSetApi.getAllDataSets())) {
521
499
  LoggingHelper_1.LogAdaptableWarning('Clearing existing Searches as "clearSearchesOnStartUp" is true');
522
500
  this.adaptable.api.quickSearchApi.clearQuickSearch();
523
501
  this.adaptable.api.queryApi.clearCurrentQuery();
524
- this.adaptable.api.dataSourceApi.clearDataSource();
502
+ this.adaptable.api.dataSetApi.clearCurrentDataSet();
525
503
  }
526
504
  }
527
505
  }
@@ -52,6 +52,9 @@ class agGridMenuHelper {
52
52
  }));
53
53
  }
54
54
  buildContextMenu(params, originalgetContextMenuItems) {
55
+ // we do this in order to refresh the internal state of selected cells (technically query the AG Grid cellRanges)
56
+ // (right-click selected the current cell, but this was not reflected in the internal state of the selected cells)
57
+ this.adaptable.setSelectedCells();
55
58
  let agGridContextMenuItems = [];
56
59
  let adaptableContextMenuItems = [];
57
60
  let userContextMenuItems = [];
@@ -240,7 +243,7 @@ class agGridMenuHelper {
240
243
  isSingleSelectedColumn = ArrayExtensions_1.ArrayExtensions.CorrectLength(selectedCellInfo.columns, 1);
241
244
  }
242
245
  }
243
- let selectedRowInfo = this.adaptable.setSelectedRows();
246
+ let selectedRowInfo = this.adaptable.api.gridApi.getSelectedRowInfo();
244
247
  return {
245
248
  isSelectedCell: isSelectedCell,
246
249
  gridCell: clickedCell,
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const rowEditIcon: JSX.Element;
3
+ export declare const rowCloneIcon: JSX.Element;
4
+ export declare const rowDeleteIcon: JSX.Element;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.rowDeleteIcon = exports.rowCloneIcon = exports.rowEditIcon = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const icons_1 = require("../components/icons");
6
+ const React = tslib_1.__importStar(require("react"));
7
+ exports.rowEditIcon = React.createElement(icons_1.Icon, { name: "edit" });
8
+ exports.rowCloneIcon = React.createElement(icons_1.Icon, { name: "clone" });
9
+ exports.rowDeleteIcon = React.createElement(icons_1.Icon, { name: "delete" });
@@ -19,14 +19,15 @@ function AdaptableFormComponentButtons({ formDef, onClick, defaultTone, disabled
19
19
  width: 15,
20
20
  },
21
21
  };
22
- const iconProps = button.icon && Object.assign({}, defaultIconProps, button.icon);
22
+ const buttonIcon = api.internalApi.getIconForButton(button, context);
23
+ const iconProps = buttonIcon && Object.assign({}, defaultIconProps, buttonIcon);
23
24
  let buttonStyle = api.internalApi.getStyleForButton(button, context ? context : { adaptableApi: api });
24
25
  let buttonLabel = api.internalApi.getLabelForButton(button, context ? context : { adaptableApi: api });
25
26
  let buttonTooltip = api.internalApi.getTooltipForButton(button, context ? context : { adaptableApi: api });
26
27
  return (React.createElement(SimpleButton_1.default, { autoFocus: focusFirstButton && index === 0, disabled: disabledButtons[index], key: index, tooltip: buttonTooltip, tone: (_a = buttonStyle === null || buttonStyle === void 0 ? void 0 : buttonStyle.tone) !== null && _a !== void 0 ? _a : defaultTone, variant: buttonStyle === null || buttonStyle === void 0 ? void 0 : buttonStyle.variant, "data-text": buttonLabel, className: buttonStyle === null || buttonStyle === void 0 ? void 0 : buttonStyle.className, marginLeft: index ? 2 : 0, onClick: () => {
27
28
  onClick(button);
28
29
  } },
29
- button.icon ? React.createElement("img", Object.assign({}, iconProps)) : null,
30
+ buttonIcon ? React.createElement("img", Object.assign({}, iconProps)) : null,
30
31
  buttonLabel));
31
32
  })));
32
33
  }
@@ -63,17 +64,7 @@ function AdaptableFormComponent({ formDef, data, onChange, onButtonClick, displa
63
64
  label: item.label,
64
65
  onClick: () => setFieldValue(field.name, item.value),
65
66
  }));
66
- return (
67
- /*
68
- <Dropdown
69
- options={field.Options || []}
70
- value={value}
71
- onChange={(value) => {
72
- setFieldValue(field.Name, value);
73
- }}
74
- ></Dropdown>
75
- */
76
- React.createElement(DropdownButton_1.default, { style: {
67
+ return (React.createElement(DropdownButton_1.default, { style: {
77
68
  width: '100%',
78
69
  whiteSpace: 'nowrap',
79
70
  overflow: 'hidden',
@@ -85,7 +76,7 @@ function AdaptableFormComponent({ formDef, data, onChange, onButtonClick, displa
85
76
  setFieldValue(field.name, event.target.checked);
86
77
  } }));
87
78
  case 'textOutput':
88
- return React.createElement(rebass_1.Box, { style: { textAlign: 'center' } }, value);
79
+ return (React.createElement(rebass_1.Box, { paddingLeft: 2, style: { textAlign: 'left' } }, value));
89
80
  default:
90
81
  return React.createElement("div", null,
91
82
  "Unknown field type: ",
@@ -95,9 +86,9 @@ function AdaptableFormComponent({ formDef, data, onChange, onButtonClick, displa
95
86
  // by default we have 2 columns: label & input
96
87
  const columns = (_b = (_a = formDef.config) === null || _a === void 0 ? void 0 : _a.columns) !== null && _b !== void 0 ? _b : [1, 2];
97
88
  return (React.createElement(React.Fragment, null,
98
- displayTitle && formDef.title && (React.createElement(rebass_1.Box, { fontSize: 5, mb: 2, style: { fontWeight: 'bold' } }, formDef.title)),
99
- formDef.description && React.createElement(rebass_1.Box, { mb: 3 }, formDef.description),
100
- React.createElement(FormLayout_1.default, { columns: columns }, (_c = formDef.fields) === null || _c === void 0 ? void 0 : _c.map((field, index) => {
89
+ displayTitle && formDef.title && (React.createElement(rebass_1.Box, { "data-name": "form-title", fontSize: 5, mb: 2, style: { fontWeight: 'bold' } }, formDef.title)),
90
+ formDef.description && (React.createElement(rebass_1.Box, { "data-name": "form-description", mb: 3 }, formDef.description)),
91
+ React.createElement(FormLayout_1.default, { "data-name": "form-content", columns: columns, style: { overflow: 'auto' }, paddingRight: 1 }, (_c = formDef.fields) === null || _c === void 0 ? void 0 : _c.map((field, index) => {
101
92
  if (Array.isArray(field)) {
102
93
  const rowFields = {};
103
94
  field.map((fieldItem, index) => {
@@ -113,7 +104,7 @@ function AdaptableFormComponent({ formDef, data, onChange, onButtonClick, displa
113
104
  renderField(field)));
114
105
  }
115
106
  })),
116
- formDef.buttons ? (React.createElement(rebass_1.Flex, { marginTop: 3, flexDirection: "row", alignItems: "center", justifyContent: "center" },
107
+ formDef.buttons ? (React.createElement(rebass_1.Flex, { "data-name": "form-buttons", marginTop: 3, flexDirection: "row", alignItems: "center", justifyContent: "center" },
117
108
  React.createElement(AdaptableFormComponentButtons, { focusFirstButton: focusFirstButton, onClick: onButtonClick, disabledButtons: disabledButtons, defaultTone: "success", formDef: formDef, api: api, context: context }))) : null));
118
109
  }
119
110
  exports.AdaptableFormComponent = AdaptableFormComponent;
@@ -11,8 +11,8 @@ function DashboardToolbar(props) {
11
11
  React.createElement("div", { className: "ab-Dashboard__toolbar-content" }, props.children),
12
12
  React.createElement(rebass_1.Flex, { className: "ab-Dashboard__toolbar-title", flexDirection: "row", alignItems: "center" },
13
13
  React.createElement("span", null, props.title),
14
- props.showConfigure && (React.createElement(SimpleButton_1.default, { icon: "build", variant: "text", tone: "none", "data-name": "configure", iconSize: 16, marginLeft: 1, tooltip: props.tooltip || `Configure ${props.title}`, onClick: () => props.onConfigure() })),
14
+ props.showConfigure && (React.createElement(SimpleButton_1.default, { icon: "build", variant: "text", tone: "none", "data-name": "configure", iconSize: 16, marginLeft: 1, tooltip: props.tooltip || `Configure ${props.title} Toolbar`, onClick: () => props.onConfigure() })),
15
15
  ' ',
16
- props.showClose && (React.createElement(SimpleButton_1.default, { style: { alignSelf: 'flex-end' }, disabled: props.accessLevel == 'ReadOnly', "data-name": "close", icon: "clear", variant: "text", tone: "none", iconSize: 16, marginLeft: 1, tooltip: props.tooltip || `Close ${props.title}`, onClick: () => props.onClose() })))));
16
+ props.showClose && (React.createElement(SimpleButton_1.default, { style: { alignSelf: 'flex-end' }, disabled: props.accessLevel == 'ReadOnly', "data-name": "close", icon: "clear", variant: "text", tone: "none", iconSize: 16, marginLeft: 1, tooltip: props.tooltip || `Close ${props.title} Toolbar`, onClick: () => props.onClose() })))));
17
17
  }
18
18
  exports.DashboardToolbar = DashboardToolbar;
@@ -86,22 +86,23 @@ exports.Datepicker = React.forwardRef((props, ref) => {
86
86
  clearValue();
87
87
  }, accessLevel: 'Full' })) : null;
88
88
  const calendarButton = (React.createElement(SimpleButton_1.default, { disabled: disabled, variant: "text", icon: "calendar", tooltip: "Date", iconSize: 20, px: 0, py: 0, onClick: () => setVisible(true) }));
89
- return (React.createElement(OverlayTrigger_1.default, { visible: visible, alignHorizontal: 'left', render: () => (React.createElement(DatepickerOverlay, { onHide: () => setVisible(false), onKeyDown: (e) => {
90
- if (e.key === 'Escape' || e.key === 'Enter') {
91
- setVisible(false, e.key);
92
- }
93
- } },
94
- React.createElement(react_day_picker_1.DayPicker, Object.assign({ fixedWeeks: true }, dayPickerProps, { showWeekNumber: showWeekNumber, showOutsideDays: showOutsideDays, mode: "single", month: isNaN(+month) ? new Date() : month, onMonthChange: setMonth, components: { Caption: Caption_1.Caption, CaptionLabel: CaptionLabel_1.CaptionLabel }, onSelect: updateValue, footer: React.createElement(rebass_1.Flex, { justifyContent: "space-between", mt: 2, flexWrap: 'wrap' }, footerButtons) })))) },
95
- React.createElement(FieldWrap_1.default, Object.assign({}, boxProps, { style: {
96
- borderRadius: style === null || style === void 0 ? void 0 : style.borderRadius,
97
- width: style === null || style === void 0 ? void 0 : style.width,
98
- maxWidth: style === null || style === void 0 ? void 0 : style.maxWidth,
99
- }, onFocus: () => {
100
- if (!visible) {
101
- setVisible(true);
102
- }
103
- } }),
104
- React.createElement(Input_1.default, { value: inputValue, placehoder: placeholder !== null && placeholder !== void 0 ? placeholder : dateProps.format, style: style, disabled: disabled, readOnly: true, ref: ref }),
105
- !!inputValue ? clearButton : null,
106
- calendarButton)));
89
+ return (React.createElement(rebass_1.Flex, null,
90
+ React.createElement(OverlayTrigger_1.default, { visible: visible, alignHorizontal: 'left', render: () => (React.createElement(DatepickerOverlay, { onHide: () => setVisible(false), onKeyDown: (e) => {
91
+ if (e.key === 'Escape' || e.key === 'Enter') {
92
+ setVisible(false, e.key);
93
+ }
94
+ } },
95
+ React.createElement(react_day_picker_1.DayPicker, Object.assign({ fixedWeeks: true }, dayPickerProps, { showWeekNumber: showWeekNumber, showOutsideDays: showOutsideDays, mode: "single", month: isNaN(+month) ? new Date() : month, onMonthChange: setMonth, components: { Caption: Caption_1.Caption, CaptionLabel: CaptionLabel_1.CaptionLabel }, onSelect: updateValue, footer: React.createElement(rebass_1.Flex, { justifyContent: "space-between", mt: 2, flexWrap: 'wrap' }, footerButtons) })))) },
96
+ React.createElement(FieldWrap_1.default, Object.assign({}, boxProps, { style: {
97
+ borderRadius: style === null || style === void 0 ? void 0 : style.borderRadius,
98
+ width: style === null || style === void 0 ? void 0 : style.width,
99
+ maxWidth: style === null || style === void 0 ? void 0 : style.maxWidth,
100
+ }, onFocus: () => {
101
+ if (!visible) {
102
+ setVisible(true);
103
+ }
104
+ } }),
105
+ React.createElement(Input_1.default, { value: inputValue, placehoder: placeholder !== null && placeholder !== void 0 ? placeholder : dateProps.format, style: style, disabled: disabled, readOnly: true, ref: ref }),
106
+ !!inputValue ? clearButton : null,
107
+ calendarButton))));
107
108
  });
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ export interface SelectListOption {
3
+ label: string;
4
+ value: string;
5
+ }
6
+ export interface SelectListProps {
7
+ options: SelectListOption[];
8
+ onChange: (option: SelectListOption) => void;
9
+ }
10
+ export declare const SelectList: React.FunctionComponent<SelectListProps>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SelectList = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const React = tslib_1.__importStar(require("react"));
6
+ const SimpleButton_1 = tslib_1.__importDefault(require("./SimpleButton"));
7
+ exports.SelectList = (props) => {
8
+ return (React.createElement(React.Fragment, null, props.options.map((option) => (React.createElement(SimpleButton_1.default, { p: 2, width: '100%', variant: "text", onClick: () => props.onChange(option), key: option.label }, option.label)))));
9
+ };
@@ -10,6 +10,8 @@ export declare type WindowModalPosition = {
10
10
  export interface WindowModalProps {
11
11
  handleSelector: string;
12
12
  size: WindowModalSize;
13
+ minWidth?: number;
14
+ minHeight?: number;
13
15
  position?: WindowModalPosition;
14
16
  onChange: (settings: {
15
17
  size: {
@@ -100,7 +100,7 @@ exports.WindowModal = (props) => {
100
100
  return react_dom_1.createPortal(React.createElement("div", { style: style,
101
101
  //@ts-ignore
102
102
  ref: targetRef, onMouseDown: stacking.bringInFront },
103
- React.createElement(re_resizable_1.Resizable, { onResizeStop: handleResizeStop, onResize: handleResize, bounds: "window", defaultSize: {
103
+ React.createElement(re_resizable_1.Resizable, { minWidth: props.minWidth, minHeight: props.minHeight, onResizeStop: handleResizeStop, onResize: handleResize, bounds: "window", defaultSize: {
104
104
  width: props.size.width,
105
105
  height: props.size.height,
106
106
  } }, props.children)), portalElement);
@@ -56,7 +56,7 @@ const column_filter_1 = tslib_1.__importDefault(require("./column-filter"));
56
56
  const column_info_1 = tslib_1.__importDefault(require("./column-info"));
57
57
  const custom_sort_1 = tslib_1.__importDefault(require("./custom-sort"));
58
58
  const system_status_1 = tslib_1.__importDefault(require("./system-status"));
59
- const data_source_1 = tslib_1.__importDefault(require("./data-source"));
59
+ const data_set_1 = tslib_1.__importDefault(require("./data-set"));
60
60
  const flashing_cell_1 = tslib_1.__importDefault(require("./flashing-cell"));
61
61
  const edit_1 = tslib_1.__importDefault(require("./edit"));
62
62
  const equation_1 = tslib_1.__importDefault(require("./equation"));
@@ -153,7 +153,7 @@ const allIcons = {
153
153
  call: call_1.default,
154
154
  instrument: instrument_1.default,
155
155
  news: news_1.default,
156
- 'data-source': data_source_1.default,
156
+ 'data-set': data_set_1.default,
157
157
  export: export_1.default,
158
158
  campaign: campaign_1.default,
159
159
  broadcast: campaign_1.default,