@adaptabletools/adaptable 12.2.2 → 14.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 (449) hide show
  1. package/base.css +2 -2
  2. package/bundle.cjs.js +419 -143
  3. package/index.css +2 -2
  4. package/package.json +3 -3
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +3 -2
  8. package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -2
  9. package/src/AdaptableOptions/ActionOptions.d.ts +1 -1
  10. package/src/AdaptableOptions/AdaptableOptions.d.ts +1 -5
  11. package/src/AdaptableOptions/AdaptablePlugin.d.ts +1 -1
  12. package/src/AdaptableOptions/AdaptableQLOptions.d.ts +1 -1
  13. package/src/AdaptableOptions/ColumnOptions.d.ts +1 -1
  14. package/src/AdaptableOptions/EntitlementOptions.d.ts +15 -0
  15. package/src/AdaptableOptions/GeneralOptions.d.ts +1 -1
  16. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +1 -1
  17. package/src/Api/ChartingApi.d.ts +1 -1
  18. package/src/Api/ColumnApi.d.ts +1 -1
  19. package/src/Api/Events/ActionRowSubmitted.d.ts +1 -1
  20. package/src/Api/Events/AdaptableReady.d.ts +1 -1
  21. package/src/Api/Events/GridDataChanged.d.ts +1 -1
  22. package/src/Api/ExportApi.d.ts +5 -1
  23. package/src/Api/FilterApi.d.ts +1 -1
  24. package/src/Api/FinanceApi.d.ts +1 -1
  25. package/src/Api/FormatColumnApi.d.ts +1 -1
  26. package/src/Api/FreeTextColumnApi.d.ts +1 -1
  27. package/src/Api/GridApi.d.ts +4 -3
  28. package/src/Api/Implementation/ActionApiImpl.js +5 -5
  29. package/src/Api/Implementation/AlertApiImpl.js +9 -9
  30. package/src/Api/Implementation/ApiBase.js +3 -3
  31. package/src/Api/Implementation/CellSummaryApiImpl.d.ts +1 -1
  32. package/src/Api/Implementation/CellSummaryApiImpl.js +5 -2
  33. package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -1
  34. package/src/Api/Implementation/ChartingApiImpl.js +1 -1
  35. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
  36. package/src/Api/Implementation/ColumnApiImpl.js +1 -1
  37. package/src/Api/Implementation/ConfigApiImpl.js +2 -2
  38. package/src/Api/Implementation/DashboardApiImpl.js +2 -2
  39. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +5 -5
  40. package/src/Api/Implementation/ExportApiImpl.js +2 -2
  41. package/src/Api/Implementation/FilterApiImpl.d.ts +1 -1
  42. package/src/Api/Implementation/FilterApiImpl.js +6 -6
  43. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -1
  44. package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +1 -1
  45. package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -1
  46. package/src/Api/Implementation/GridApiImpl.d.ts +3 -3
  47. package/src/Api/Implementation/GridApiImpl.js +12 -12
  48. package/src/Api/Implementation/InternalApiImpl.d.ts +1 -1
  49. package/src/Api/Implementation/InternalApiImpl.js +5 -5
  50. package/src/Api/Implementation/LayoutApiImpl.js +12 -12
  51. package/src/Api/Implementation/PredicateApiImpl.js +3 -3
  52. package/src/Api/Implementation/QueryApiImpl.js +6 -6
  53. package/src/Api/Implementation/QueryLanguageApiImpl.js +5 -5
  54. package/src/Api/Implementation/ScopeApiImpl.js +3 -3
  55. package/src/Api/Implementation/SettingsPanelApiImpl.js +1 -1
  56. package/src/Api/Implementation/StatusBarApiImpl.d.ts +1 -1
  57. package/src/Api/Implementation/StatusBarApiImpl.js +2 -2
  58. package/src/Api/Implementation/SystemStatusApiImpl.js +9 -9
  59. package/src/Api/Implementation/TeamSharingApiImpl.js +10 -10
  60. package/src/Api/InternalApi.d.ts +1 -1
  61. package/src/Api/StatusBarApi.d.ts +1 -1
  62. package/src/PredefinedConfig/ChartingState.d.ts +1 -1
  63. package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +1 -1
  64. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +1 -1
  65. package/src/PredefinedConfig/Common/AdaptablePredicate.js +17 -17
  66. package/src/PredefinedConfig/Common/CellDataChangedInfo.d.ts +1 -1
  67. package/src/PredefinedConfig/Common/Menu.d.ts +1 -1
  68. package/src/PredefinedConfig/Selection/GridCell.d.ts +1 -1
  69. package/src/PredefinedConfig/Selection/GridRow.d.ts +1 -1
  70. package/src/PredefinedConfig/Uuid.js +1 -1
  71. package/src/Redux/ActionsReducers/AlertRedux.js +2 -2
  72. package/src/Redux/ActionsReducers/ChartingRedux.d.ts +1 -1
  73. package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +2 -2
  74. package/src/Redux/ActionsReducers/CustomSortRedux.js +2 -2
  75. package/src/Redux/ActionsReducers/FlashingCellRedux.js +2 -2
  76. package/src/Redux/ActionsReducers/FormatColumnRedux.js +2 -2
  77. package/src/Redux/ActionsReducers/GridRedux.d.ts +1 -1
  78. package/src/Redux/ActionsReducers/PlusMinusRedux.js +2 -2
  79. package/src/Redux/ActionsReducers/ScheduleRedux.js +10 -10
  80. package/src/Redux/ActionsReducers/ShortcutRedux.js +2 -2
  81. package/src/Redux/ActionsReducers/SystemRedux.js +2 -2
  82. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +8 -8
  83. package/src/Redux/Store/AdaptableReduxMerger.js +9 -9
  84. package/src/Redux/Store/AdaptableStore.js +23 -23
  85. package/src/Strategy/AlertModule.js +6 -6
  86. package/src/Strategy/CalculatedColumnModule.js +4 -4
  87. package/src/Strategy/ConditionalStyleModule.js +8 -8
  88. package/src/Strategy/CustomSortModule.js +3 -3
  89. package/src/Strategy/DashboardModule.js +1 -1
  90. package/src/Strategy/DataChangeHistoryModule.js +1 -1
  91. package/src/Strategy/DataSetModule.js +2 -2
  92. package/src/Strategy/ExportModule.js +4 -4
  93. package/src/Strategy/FilterModule.js +1 -1
  94. package/src/Strategy/FlashingCellModule.js +7 -7
  95. package/src/Strategy/FormatColumnModule.js +8 -8
  96. package/src/Strategy/FreeTextColumnModule.js +1 -1
  97. package/src/Strategy/LayoutModule.js +2 -2
  98. package/src/Strategy/PlusMinusModule.js +3 -3
  99. package/src/Strategy/QueryModule.js +1 -1
  100. package/src/Strategy/ScheduleModule.js +2 -2
  101. package/src/Strategy/ShortcutModule.js +3 -3
  102. package/src/Strategy/StatusBarModule.d.ts +1 -1
  103. package/src/Strategy/TeamSharingModule.js +6 -6
  104. package/src/Strategy/ToolPanelModule.js +4 -4
  105. package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.js +2 -2
  106. package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.js +1 -1
  107. package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -0
  108. package/src/Utilities/Constants/DocumentationLinkConstants.js +2 -1
  109. package/src/Utilities/Constants/GeneralConstants.js +2 -2
  110. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +3 -3
  111. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +3 -3
  112. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +1 -1
  113. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +35 -35
  114. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +18 -18
  115. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +10 -10
  116. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +48 -48
  117. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +19 -19
  118. package/src/Utilities/Extensions/StringExtensions.js +1 -1
  119. package/src/Utilities/Helpers/AdaptableHelper.js +5 -5
  120. package/src/Utilities/Helpers/DateHelper.js +9 -9
  121. package/src/Utilities/Helpers/FormatHelper.js +2 -2
  122. package/src/Utilities/Helpers/Helper.js +3 -9
  123. package/src/Utilities/Helpers/LoggingHelper.js +1 -1
  124. package/src/Utilities/Helpers/StyleHelper.js +1 -1
  125. package/src/Utilities/Interface/Preview.d.ts +1 -1
  126. package/src/Utilities/ObjectFactory.d.ts +1 -1
  127. package/src/Utilities/ObjectFactory.js +30 -30
  128. package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +1 -1
  129. package/src/Utilities/Services/AggregatedScalarLiveValue.js +1 -1
  130. package/src/Utilities/Services/AlertService.js +3 -3
  131. package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +1 -1
  132. package/src/Utilities/Services/CalculatedColumnExpressionService.js +3 -3
  133. package/src/Utilities/Services/DataService.js +1 -1
  134. package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +1 -1
  135. package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +1 -1
  136. package/src/Utilities/Services/Interface/IReportService.d.ts +1 -1
  137. package/src/Utilities/Services/Interface/IRowEditService.d.ts +1 -1
  138. package/src/Utilities/Services/LicenseService.js +1 -1
  139. package/src/Utilities/Services/MetamodelService.js +3 -3
  140. package/src/Utilities/Services/QueryLanguageService.d.ts +1 -1
  141. package/src/Utilities/Services/QueryLanguageService.js +2 -2
  142. package/src/Utilities/Services/ReportService.d.ts +1 -1
  143. package/src/Utilities/Services/ReportService.js +7 -7
  144. package/src/Utilities/Services/RowEditService.d.ts +1 -1
  145. package/src/Utilities/Services/TeamSharingService.js +1 -1
  146. package/src/Utilities/license/decode.js +1 -1
  147. package/src/View/AdaptableView.js +2 -2
  148. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +1 -1
  149. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +10 -10
  150. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +1 -1
  151. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +3 -3
  152. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +1 -1
  153. package/src/View/AdaptableWizardView/Wizard.js +6 -6
  154. package/src/View/AdaptableWizardView/helper.d.ts +1 -1
  155. package/src/View/AdaptableWizardView/helper.js +1 -1
  156. package/src/View/Alert/ActiveAlertsPanel.js +2 -2
  157. package/src/View/Alert/AlertEmptyView.js +1 -1
  158. package/src/View/Alert/AlertEntityRow.js +1 -1
  159. package/src/View/Alert/AlertStatusSubPanel.js +3 -3
  160. package/src/View/Alert/AlertViewPanel.js +2 -2
  161. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +5 -5
  162. package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -2
  163. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +2 -2
  164. package/src/View/Alert/Wizard/AlertWizard.js +4 -4
  165. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +1 -1
  166. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +2 -2
  167. package/src/View/BulkUpdate/BulkUpdatePopup.js +1 -1
  168. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +2 -2
  169. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
  170. package/src/View/CalculatedColumn/CalculatedColumnSummary.js +1 -1
  171. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +3 -3
  172. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +3 -3
  173. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +4 -4
  174. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +5 -5
  175. package/src/View/CellSummary/CellSummaryPopup.js +1 -1
  176. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +1 -1
  177. package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -2
  178. package/src/View/CellSummary/CellSummaryViewPanel.js +1 -1
  179. package/src/View/ColorPicker.d.ts +1 -1
  180. package/src/View/ColorPicker.js +2 -2
  181. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  182. package/src/View/Components/AdaptableDateInput/index.js +4 -4
  183. package/src/View/Components/AdaptableInput/index.js +1 -1
  184. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -4
  185. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -4
  186. package/src/View/Components/AdaptableObjectRow/index.js +1 -1
  187. package/src/View/Components/Buttons/ButtonBase/index.js +1 -1
  188. package/src/View/Components/Buttons/ButtonDelete.js +1 -1
  189. package/src/View/Components/ColumnSelector/index.js +1 -1
  190. package/src/View/Components/EntityRulesEditor/index.js +3 -3
  191. package/src/View/Components/ExpressionWizard.js +1 -1
  192. package/src/View/Components/ExternalRenderer.js +1 -1
  193. package/src/View/Components/FilterForm/FilterForm.js +7 -7
  194. package/src/View/Components/FilterForm/ListBoxFilterForm.js +4 -4
  195. package/src/View/Components/FilterForm/QuickFilterForm.js +13 -13
  196. package/src/View/Components/ListBox/DualListBoxEditor.js +10 -10
  197. package/src/View/Components/ModuleValueSelector/index.js +6 -6
  198. package/src/View/Components/NewScopeComponent.js +3 -3
  199. package/src/View/Components/Panels/PanelToolPanel/index.js +1 -1
  200. package/src/View/Components/Panels/PanelWithImage.js +1 -1
  201. package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +1 -1
  202. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +3 -3
  203. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +8 -8
  204. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +4 -4
  205. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +3 -3
  206. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +1 -1
  207. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +1 -1
  208. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -2
  209. package/src/View/Components/Popups/AdaptablePopupAlert.js +2 -2
  210. package/src/View/Components/Popups/AdaptablePopupPrompt.js +1 -1
  211. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +1 -1
  212. package/src/View/Components/Popups/FormPopups/FormPopups.js +5 -5
  213. package/src/View/Components/Popups/Utilities.js +5 -5
  214. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +6 -6
  215. package/src/View/Components/RangesComponent.js +2 -2
  216. package/src/View/Components/Selectors/ColumnValueSelector.js +2 -2
  217. package/src/View/Components/TagValueSelector/index.js +2 -2
  218. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +2 -2
  219. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +6 -6
  220. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +6 -6
  221. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
  222. package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
  223. package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +6 -4
  224. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +1 -1
  225. package/src/View/Components/ValueSelector/index.js +7 -7
  226. package/src/View/Components/WizardSummaryRow.js +1 -1
  227. package/src/View/ConditionalStyle/ConditionalStyleSummary.js +1 -1
  228. package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.js +1 -1
  229. package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +2 -2
  230. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +1 -1
  231. package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +2 -2
  232. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +3 -3
  233. package/src/View/CustomSort/CustomSortSummary.js +1 -1
  234. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +2 -2
  235. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +9 -9
  236. package/src/View/CustomSort/Wizard/CustomSortWizard.js +4 -4
  237. package/src/View/Dashboard/CustomDashboardButton.js +2 -2
  238. package/src/View/Dashboard/CustomToolbarWrapper.js +7 -7
  239. package/src/View/Dashboard/Dashboard.js +4 -4
  240. package/src/View/Dashboard/DashboardPopup.js +1 -1
  241. package/src/View/Dashboard/DashboardViewPanel.js +1 -1
  242. package/src/View/Dashboard/ModuleToolbarWrapper.js +1 -1
  243. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +7 -9
  244. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +7 -7
  245. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +9 -9
  246. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +1 -1
  247. package/src/View/DataSet/DataSetSelector.js +1 -1
  248. package/src/View/DataSet/DataSetStatusPanelPopover.js +1 -1
  249. package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
  250. package/src/View/DataSet/DataSetViewPanel.js +1 -1
  251. package/src/View/Export/ExportSelector.js +1 -1
  252. package/src/View/Export/ExportViewPanel.d.ts +2 -1
  253. package/src/View/Export/ExportViewPanel.js +14 -5
  254. package/src/View/Export/ReportExportDropdown.js +3 -3
  255. package/src/View/Export/Wizard/NewReportWizard.js +4 -4
  256. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +2 -2
  257. package/src/View/Export/Wizard/ReportNameWizardSection.js +2 -2
  258. package/src/View/Export/Wizard/ReportRowsWizardSection.js +3 -3
  259. package/src/View/Filter/ActiveFiltersPanel.js +1 -1
  260. package/src/View/Filter/FilterSummary.d.ts +1 -1
  261. package/src/View/Filter/FilterSummary.js +2 -2
  262. package/src/View/Filter/FilterViewPanel.d.ts +1 -1
  263. package/src/View/Filter/FilterViewPanel.js +3 -3
  264. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +2 -2
  265. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +1 -1
  266. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +3 -3
  267. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +1 -1
  268. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +7 -7
  269. package/src/View/FormatColumn/FormatColumnSummary.js +1 -1
  270. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +5 -5
  271. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +2 -2
  272. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -4
  273. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +5 -5
  274. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +6 -6
  275. package/src/View/FreeTextColumn/FreeTextColumnSummary.js +1 -1
  276. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +5 -5
  277. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +4 -4
  278. package/src/View/GridInfo/AdaptableObjectsSummary.js +2 -2
  279. package/src/View/GridInfo/AdaptableOptionsComponent.js +4 -4
  280. package/src/View/Layout/EditCurrentLayoutButton.js +1 -1
  281. package/src/View/Layout/LayoutCloneButton.js +1 -1
  282. package/src/View/Layout/LayoutRadioSelector.js +1 -1
  283. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +1 -1
  284. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  285. package/src/View/Layout/LayoutViewPanel.js +2 -2
  286. package/src/View/Layout/SaveLayoutButton.js +3 -3
  287. package/src/View/Layout/Wizard/Components/ColumnLabels.js +1 -1
  288. package/src/View/Layout/Wizard/LayoutWizard.js +5 -5
  289. package/src/View/Layout/Wizard/sections/AggregationsSection.js +7 -7
  290. package/src/View/Layout/Wizard/sections/ColumnsSection.js +8 -8
  291. package/src/View/Layout/Wizard/sections/FilterSection.js +5 -5
  292. package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +5 -5
  293. package/src/View/Layout/Wizard/sections/RowGroupingSection.js +5 -5
  294. package/src/View/Layout/Wizard/sections/SettingsSection.js +2 -2
  295. package/src/View/Layout/Wizard/sections/SortSection.js +6 -6
  296. package/src/View/PlusMinus/PlusMinusSummary.js +1 -1
  297. package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +2 -2
  298. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +1 -1
  299. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +3 -3
  300. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +3 -3
  301. package/src/View/Query/EditCurrentQueryButton.js +1 -1
  302. package/src/View/Query/ExpandedQueryPopup.js +3 -3
  303. package/src/View/Query/QueryViewPanel.d.ts +1 -1
  304. package/src/View/Query/QueryViewPanel.js +1 -1
  305. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +3 -3
  306. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +2 -2
  307. package/src/View/Query/Wizard/NamedQueryWizard.js +3 -3
  308. package/src/View/QuickSearch/QuickSearchPopup.js +3 -3
  309. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +3 -3
  310. package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
  311. package/src/View/QuickSearch/QuickSearchViewPanel.js +2 -2
  312. package/src/View/QuickSearch/useQuickSearchDebounced.js +3 -3
  313. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +1 -1
  314. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +1 -1
  315. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +2 -2
  316. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
  317. package/src/View/Schedule/Wizard/ScheduleWizard.js +2 -2
  318. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +1 -1
  319. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +2 -2
  320. package/src/View/Shortcut/Wizard/ShortcutWizard.js +4 -4
  321. package/src/View/SmartEdit/SmartEditPopup.js +1 -1
  322. package/src/View/SmartEdit/SmartEditViewPanel.js +1 -1
  323. package/src/View/SpecialColumnSettingsWizardStep.js +2 -2
  324. package/src/View/StateManagement/StateManagementViewPanel.js +1 -1
  325. package/src/View/StateManagement/components/ExportDropdown.js +2 -2
  326. package/src/View/StateManagement/components/LoadButton.js +1 -1
  327. package/src/View/StateManagement/handleExportState.js +1 -1
  328. package/src/View/StatusBar/AdaptableStatusBar.js +5 -5
  329. package/src/View/StatusBar/StatusBarPopup.js +2 -2
  330. package/src/View/SystemStatus/SystemStatusEntityRow.js +1 -1
  331. package/src/View/SystemStatus/SystemStatusPopup.js +1 -1
  332. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +2 -2
  333. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
  334. package/src/View/SystemStatus/SystemStatusViewPanel.js +2 -2
  335. package/src/View/TeamSharing/SharedEntityDependencies.js +1 -1
  336. package/src/View/TeamSharing/SharedEntityObjectView.js +2 -2
  337. package/src/View/TeamSharing/TeamSharingApplyButton.js +1 -1
  338. package/src/View/Theme/ThemePopup.js +1 -1
  339. package/src/View/Theme/ThemeStatusPanelPopover.js +1 -1
  340. package/src/View/Theme/ThemeViewPanel.js +2 -2
  341. package/src/View/Wizard/AdaptableWizard.js +1 -1
  342. package/src/View/Wizard/ObjectTagsWizardSection.js +1 -1
  343. package/src/View/Wizard/OnePageAdaptableWizard.js +5 -5
  344. package/src/View/Wizard/OnePageWizards.js +14 -12
  345. package/src/View/Wizard/useKeyboardNavigation.js +1 -1
  346. package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
  347. package/src/agGrid/ActionColumnRenderer.js +3 -3
  348. package/src/agGrid/Adaptable.d.ts +19 -11
  349. package/src/agGrid/Adaptable.js +157 -160
  350. package/src/agGrid/CheckboxRenderer.d.ts +1 -1
  351. package/src/agGrid/ColumnSetupInfo.d.ts +1 -1
  352. package/src/agGrid/FilterWrapper.js +1 -1
  353. package/src/agGrid/FloatingFilterWrapper.js +1 -1
  354. package/src/agGrid/GroupCellRenderer.d.ts +1 -1
  355. package/src/agGrid/GroupCellRenderer.js +2 -2
  356. package/src/agGrid/PercentBarRenderer.js +1 -1
  357. package/src/agGrid/agGridHelper.d.ts +1 -1
  358. package/src/agGrid/agGridHelper.js +12 -13
  359. package/src/agGrid/agGridMenuHelper.d.ts +1 -1
  360. package/src/agGrid/agGridMenuHelper.js +5 -5
  361. package/src/agGrid/createAgStatusPanelComponent.d.ts +1 -1
  362. package/src/agGrid/createAgStatusPanelComponent.js +1 -1
  363. package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +3 -3
  364. package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +1 -1
  365. package/src/agGrid/editors/AdaptableDateEditor/index.js +5 -5
  366. package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +1 -1
  367. package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +1 -1
  368. package/src/agGrid/editors/AdaptableNumberEditor/index.js +4 -4
  369. package/src/agGrid/weightedAverage.d.ts +1 -1
  370. package/src/agGrid/weightedAverage.js +3 -3
  371. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +1 -1
  372. package/src/components/AdaptableIconComponent/index.js +14 -17
  373. package/src/components/CheckBox/index.js +3 -3
  374. package/src/components/CodeBlock/index.js +1 -1
  375. package/src/components/Dashboard/Dashboard.js +8 -8
  376. package/src/components/Dashboard/DashboardToolbar.js +1 -1
  377. package/src/components/Datepicker/Caption.js +7 -7
  378. package/src/components/Datepicker/CaptionLabel.js +4 -4
  379. package/src/components/Datepicker/index.d.ts +1 -1
  380. package/src/components/Datepicker/index.js +10 -10
  381. package/src/components/Dialog/index.js +9 -9
  382. package/src/components/Dialog/useIsOpen.js +1 -1
  383. package/src/components/Dropdown/index.js +6 -6
  384. package/src/components/DropdownButton/index.js +7 -7
  385. package/src/components/DropdownButton/renderItem.js +1 -1
  386. package/src/components/DropdownButton/useExpanded.js +4 -4
  387. package/src/components/EllipsisContainer/index.js +8 -8
  388. package/src/components/EmptyContent/index.js +1 -1
  389. package/src/components/ErrorBox/index.js +1 -1
  390. package/src/components/ExpressionEditor/BaseEditorInput.js +20 -7
  391. package/src/components/ExpressionEditor/EditorButton.js +1 -1
  392. package/src/components/ExpressionEditor/EditorContext.js +2 -2
  393. package/src/components/ExpressionEditor/EditorInput.js +2 -2
  394. package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +9 -9
  395. package/src/components/ExpressionEditor/NamedQueryContext.js +2 -2
  396. package/src/components/ExpressionEditor/index.js +8 -8
  397. package/src/components/FieldWrap/index.js +1 -1
  398. package/src/components/FileDroppable/index.js +4 -4
  399. package/src/components/FormLayout/index.js +4 -4
  400. package/src/components/HelpBlock/index.js +1 -1
  401. package/src/components/Input/index.d.ts +1 -1
  402. package/src/components/Input/index.js +1 -1
  403. package/src/components/List/GridList/index.js +1 -1
  404. package/src/components/List/ListGroup/index.js +1 -1
  405. package/src/components/List/ListGroupItem/index.d.ts +1 -1
  406. package/src/components/List/ListGroupItem/index.js +2 -2
  407. package/src/components/Modal/Backdrop.js +5 -5
  408. package/src/components/Modal/index.js +5 -5
  409. package/src/components/NotifyResize/index.js +1 -1
  410. package/src/components/OverlayTrigger/Overlay.js +15 -15
  411. package/src/components/OverlayTrigger/getOverlayStyle.js +1 -1
  412. package/src/components/OverlayTrigger/index.js +24 -24
  413. package/src/components/OverlayTrigger/useAgGridClassName.js +2 -2
  414. package/src/components/Panel/index.js +3 -3
  415. package/src/components/PopupWithFooter.d.ts +1 -1
  416. package/src/components/ProgressIndicator/ProgressIndicator.js +5 -5
  417. package/src/components/Radio/index.js +3 -3
  418. package/src/components/ResizeObserver/index.js +10 -10
  419. package/src/components/SelectableList/index.js +4 -4
  420. package/src/components/SimpleButton/index.js +3 -3
  421. package/src/components/StylePreview.js +1 -1
  422. package/src/components/Table/index.js +1 -1
  423. package/src/components/Tabs/index.js +6 -7
  424. package/src/components/Tag/Tag.js +1 -1
  425. package/src/components/Textarea/index.d.ts +1 -1
  426. package/src/components/Textarea/index.js +1 -1
  427. package/src/components/ToggleButton/index.js +1 -1
  428. package/src/components/WindowModal/WindowModal.js +4 -4
  429. package/src/components/WindowModal/useStacking.js +1 -1
  430. package/src/components/WizardPanel/index.js +1 -1
  431. package/src/components/icons/DefaultIcon.js +2 -2
  432. package/src/components/icons/index.js +1 -1
  433. package/src/components/utils/batchUpdate.js +1 -1
  434. package/src/components/utils/useAutoFocus.js +2 -2
  435. package/src/components/utils/useContainerScrollObserver/index.js +7 -7
  436. package/src/components/utils/useDraggable.js +5 -5
  437. package/src/components/utils/useLatest.js +2 -2
  438. package/src/components/utils/usePrevious.js +2 -2
  439. package/src/components/utils/usePropState.js +1 -1
  440. package/src/components/utils/useProperty.js +2 -2
  441. package/src/components/utils/useRerender.js +2 -2
  442. package/src/components/utils/useSelectionRange.js +3 -3
  443. package/src/components/utils/uuid.js +1 -1
  444. package/src/metamodel/adaptable.metamodel.d.ts +18 -0
  445. package/src/metamodel/adaptable.metamodel.js +1 -1
  446. package/src/parser/src/index.js +1 -1
  447. package/src/types.d.ts +1 -0
  448. package/version.d.ts +1 -1
  449. package/version.js +1 -1
@@ -1,4 +1,4 @@
1
- import { ICellRendererFunc } from '@ag-grid-community/all-modules';
1
+ import { ICellRendererFunc } from '@ag-grid-community/core';
2
2
  import { AdaptableApi } from '../Api/AdaptableApi';
3
3
  import { ICellEditorComp, ICellEditorParams } from '@ag-grid-community/core/dist/cjs/es5/interfaces/iCellEditor';
4
4
  export declare const getCheckboxRendererForColumn: (columnId: string, isColumnReadOnly: boolean, api: AdaptableApi) => ICellRendererFunc;
@@ -1,4 +1,4 @@
1
- import { ColDef, Column } from '@ag-grid-community/all-modules';
1
+ import { ColDef, Column } from '@ag-grid-community/core';
2
2
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
3
3
  export declare type ColumnSetupInfo = {
4
4
  col: Column;
@@ -43,7 +43,7 @@ let FilterWrapperFactory = (adaptable) => {
43
43
  ShowCloseButton: params != null && params.hidePopup != null,
44
44
  };
45
45
  adaptable.hideFilterFormPopup = params ? params.hidePopup : null;
46
- ReactDOM.render(FilterForm_1.FilterFormReact(filterContext), this.filterContainer);
46
+ ReactDOM.render((0, FilterForm_1.FilterFormReact)(filterContext), this.filterContainer);
47
47
  }
48
48
  }
49
49
  destroy() {
@@ -30,7 +30,7 @@ const FloatingFilterWrapperFactory = (adaptable) => class FloatingFilterWrapper
30
30
  Adaptable: adaptable,
31
31
  ShowCloseButton: false,
32
32
  };
33
- ReactDOM.render(QuickFilterForm_1.QuickFilterFormReact(filterContext), this.filterContainer);
33
+ ReactDOM.render((0, QuickFilterForm_1.QuickFilterFormReact)(filterContext), this.filterContainer);
34
34
  }
35
35
  }
36
36
  getGui() {
@@ -1,4 +1,4 @@
1
- import { GroupCellRenderer } from '@ag-grid-community/all-modules';
1
+ import { GroupCellRenderer } from '@ag-grid-community/core';
2
2
  export declare class AdaptableGroupCellRenderer extends GroupCellRenderer {
3
3
  constructor();
4
4
  init(params: any): void;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AdaptableGroupCellRenderer = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const all_modules_1 = require("@ag-grid-community/all-modules");
5
+ const core_1 = require("@ag-grid-community/core");
6
6
  const ArrayExtensions_1 = tslib_1.__importDefault(require("../Utilities/Extensions/ArrayExtensions"));
7
7
  const GeneralConstants_1 = require("../Utilities/Constants/GeneralConstants");
8
8
  const TEMPLATE =
@@ -14,7 +14,7 @@ const TEMPLATE =
14
14
  <span class="ag-group-value" ref="eValue"></span>
15
15
  <span class="ag-group-child-count" ref="eChildCount"></span>
16
16
  </span>`;
17
- class AdaptableGroupCellRenderer extends all_modules_1.GroupCellRenderer {
17
+ class AdaptableGroupCellRenderer extends core_1.GroupCellRenderer {
18
18
  constructor() {
19
19
  super();
20
20
  this.setTemplate(TEMPLATE);
@@ -21,7 +21,7 @@ const getPercentBarRendererForColumn = (formatColumn, abColumn, api) => {
21
21
  if (Helper_1.default.objectNotExists(value)) {
22
22
  value = 0;
23
23
  }
24
- const clampedValue = clamp_1.default(value, min, max);
24
+ const clampedValue = (0, clamp_1.default)(value, min, max);
25
25
  const percentageValue = ((clampedValue - min) / (max - min)) * 100;
26
26
  let cellBackColor;
27
27
  const percentBarStyle = formatColumn.ColumnStyle.PercentBarStyle;
@@ -1,4 +1,4 @@
1
- import { ColDef, Column, GridOptions, ICellRendererFunc, SideBarDef, ToolPanelDef } from '@ag-grid-community/all-modules';
1
+ import { ColDef, Column, GridOptions, ICellRendererFunc, SideBarDef, ToolPanelDef } from '@ag-grid-community/core';
2
2
  import { IAdaptable } from '../AdaptableInterfaces/IAdaptable';
3
3
  import { AdaptableColumn, AdaptableColumnDataType, AdaptableColumnGroup } from '../PredefinedConfig/Common/AdaptableColumn';
4
4
  import { AdaptableNodeComparerFunction } from '../PredefinedConfig/Common/AdaptableComparerFunction';
@@ -125,7 +125,7 @@ class agGridHelper {
125
125
  // so just to be safe we'll check here and add a PK value is missing
126
126
  // thus adding a side-effect in a getter, but what can we do against it?! :)
127
127
  if (Helper_1.Helper.objectNotExists(params.data[primaryKey])) {
128
- params.data[primaryKey] = Uuid_1.createUuid();
128
+ params.data[primaryKey] = (0, Uuid_1.createUuid)();
129
129
  }
130
130
  return params.data[primaryKey];
131
131
  };
@@ -148,10 +148,10 @@ class agGridHelper {
148
148
  return true;
149
149
  }
150
150
  createCheckboxRendererComp(columnId, isColumnReadOnly) {
151
- return CheckboxRenderer_1.getCheckboxRendererForColumn(columnId, isColumnReadOnly, this.adaptable.api);
151
+ return (0, CheckboxRenderer_1.getCheckboxRendererForColumn)(columnId, isColumnReadOnly, this.adaptable.api);
152
152
  }
153
153
  createPercentBarRendererComp(formatColumn, abColumn) {
154
- return PercentBarRenderer_1.getPercentBarRendererForColumn(formatColumn, abColumn, this.adaptable.api);
154
+ return (0, PercentBarRenderer_1.getPercentBarRendererForColumn)(formatColumn, abColumn, this.adaptable.api);
155
155
  }
156
156
  getCleanValue(value) {
157
157
  if (value == null || value == 'null' || value == undefined || value == 'undefined') {
@@ -184,7 +184,7 @@ class agGridHelper {
184
184
  const pkColumn = this.adaptable.adaptableOptions.primaryKey;
185
185
  let ColumnGroup = colsToGroups === null || colsToGroups === void 0 ? void 0 : colsToGroups[ColumnId];
186
186
  const abColumn = {
187
- Uuid: Uuid_1.createUuid(),
187
+ Uuid: (0, Uuid_1.createUuid)(),
188
188
  columnId: ColumnId,
189
189
  field: colDef.field,
190
190
  friendlyName: FriendlyName,
@@ -237,8 +237,7 @@ class agGridHelper {
237
237
  };
238
238
  }
239
239
  isSideBarDefObject(sidebarDef) {
240
- var _a;
241
- return Array.isArray((_a = sidebarDef) === null || _a === void 0 ? void 0 : _a.toolPanels);
240
+ return Array.isArray(sidebarDef === null || sidebarDef === void 0 ? void 0 : sidebarDef.toolPanels);
242
241
  }
243
242
  mapToolPanelDefs(toolPanelDefs = []) {
244
243
  // if it's an alias for the adaptable tool panel, map it to a ToolPanelDef, otherwise return it as it is
@@ -385,7 +384,7 @@ class agGridHelper {
385
384
  getColumnDataType(column, logWarning = true) {
386
385
  // Some columns can have no ID or Title. we return string as a consequence but it needs testing
387
386
  if (!column) {
388
- LoggingHelper_1.LogAdaptableWarning('column is undefined returning String for Type');
387
+ (0, LoggingHelper_1.LogAdaptableWarning)('column is undefined returning String for Type');
389
388
  return 'String';
390
389
  }
391
390
  let dataType = 'Unknown';
@@ -413,20 +412,20 @@ class agGridHelper {
413
412
  }
414
413
  const model = this.gridOptions.api.getModel();
415
414
  if (model == null) {
416
- LoggingHelper_1.LogAdaptableWarning(`No model so returning type "Unknown" for Column: "${column.getColId()}"`);
415
+ (0, LoggingHelper_1.LogAdaptableWarning)(`No model so returning type "Unknown" for Column: "${column.getColId()}"`);
417
416
  return 'Unknown';
418
417
  }
419
418
  let row = model.getRow(0);
420
419
  if (row == null) {
421
420
  // possible that there will be no data.
422
- LoggingHelper_1.LogAdaptableWarning(`No data in grid so returning type "Unknown" for Column: "${column.getColId()}"`);
421
+ (0, LoggingHelper_1.LogAdaptableWarning)(`No data in grid so returning type "Unknown" for Column: "${column.getColId()}"`);
423
422
  return 'Unknown';
424
423
  }
425
424
  // if it's a group we need the content of the group
426
425
  if (row.group) {
427
426
  const childNodes = row.childrenAfterGroup;
428
427
  if (ArrayExtensions_1.ArrayExtensions.IsNullOrEmpty(childNodes)) {
429
- LoggingHelper_1.LogAdaptableWarning(`No data in grid so returning type "Unknown" for Column: "${column.getColId()}"`);
428
+ (0, LoggingHelper_1.LogAdaptableWarning)(`No data in grid so returning type "Unknown" for Column: "${column.getColId()}"`);
430
429
  return 'Unknown';
431
430
  }
432
431
  row = childNodes[0];
@@ -456,7 +455,7 @@ class agGridHelper {
456
455
  break;
457
456
  }
458
457
  }
459
- LoggingHelper_1.LogAdaptableWarning(`No defined type for column '${column.getColId()}'. Defaulting to type of first value: ${dataType}`);
458
+ (0, LoggingHelper_1.LogAdaptableWarning)(`No defined type for column '${column.getColId()}'. Defaulting to type of first value: ${dataType}`);
460
459
  return dataType;
461
460
  }
462
461
  getAbColDefValue(colType) {
@@ -505,7 +504,7 @@ class agGridHelper {
505
504
  // if they have selected to clear column filters on startup then do it
506
505
  if (this.adaptable.adaptableOptions.filterOptions.clearFiltersOnStartUp) {
507
506
  if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(this.adaptable.api.filterApi.getColumnFilters())) {
508
- LoggingHelper_1.LogAdaptableWarning('Clearing existing Column Filters as "clearFiltersOnStartUp" is true');
507
+ (0, LoggingHelper_1.LogAdaptableWarning)('Clearing existing Column Filters as "clearFiltersOnStartUp" is true');
509
508
  this.adaptable.api.filterApi.clearColumnFilters();
510
509
  }
511
510
  }
@@ -514,7 +513,7 @@ class agGridHelper {
514
513
  if (StringExtensions_1.StringExtensions.IsNotNullOrEmpty(this.adaptable.api.quickSearchApi.getQuickSearchState().QuickSearchText) ||
515
514
  StringExtensions_1.StringExtensions.IsNotNullOrEmpty(this.adaptable.api.queryApi.getCurrentQuery()) ||
516
515
  ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(this.adaptable.api.dataSetApi.getAllDataSets())) {
517
- LoggingHelper_1.LogAdaptableWarning('Clearing existing Searches as "clearSearchesOnStartUp" is true');
516
+ (0, LoggingHelper_1.LogAdaptableWarning)('Clearing existing Searches as "clearSearchesOnStartUp" is true');
518
517
  this.adaptable.api.quickSearchApi.clearQuickSearch();
519
518
  this.adaptable.api.queryApi.clearCurrentQuery();
520
519
  this.adaptable.api.dataSetApi.clearCurrentDataSet();
@@ -1,4 +1,4 @@
1
- import { GridOptions, MenuItemDef, GetContextMenuItemsParams, GetMainMenuItems, GetMainMenuItemsParams, GetContextMenuItems, Column } from '@ag-grid-community/all-modules';
1
+ import { GridOptions, MenuItemDef, GetContextMenuItemsParams, GetMainMenuItems, GetMainMenuItemsParams, GetContextMenuItems, Column } from '@ag-grid-community/core';
2
2
  import { AdaptableMenuItem, ColumnMenuContext, ContextMenuContext, UserMenuItem } from '../PredefinedConfig/Common/Menu';
3
3
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
4
4
  import { IAdaptable } from '../AdaptableInterfaces/IAdaptable';
@@ -50,7 +50,7 @@ class agGridMenuHelper {
50
50
  adaptable: adaptableColumnMenuItems,
51
51
  user: userColumnMenuItems,
52
52
  };
53
- return flatten_1.default(this.adaptable.adaptableOptions.menuOptions.columnMenuOrder.map((c) => {
53
+ return (0, flatten_1.default)(this.adaptable.adaptableOptions.menuOptions.columnMenuOrder.map((c) => {
54
54
  return map[c];
55
55
  }));
56
56
  }
@@ -66,7 +66,7 @@ class agGridMenuHelper {
66
66
  let userDefinedContextMenuItems = this.adaptable.adaptableOptions.menuOptions.contextMenuItems;
67
67
  let hasUserDefinedContextMenuItems = ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(userDefinedContextMenuItems);
68
68
  const agGridMenuItems = this.createAgGridContextMenuItems(originalgetContextMenuItems, params);
69
- if (agGridMenuItems) {
69
+ if (agGridMenuItems === null || agGridMenuItems === void 0 ? void 0 : agGridMenuItems.length) {
70
70
  agGridContextMenuItems.push(...agGridMenuItems);
71
71
  if (hasAdaptableContextMenuItems || hasUserDefinedContextMenuItems) {
72
72
  agGridContextMenuItems.push('separator');
@@ -99,7 +99,7 @@ class agGridMenuHelper {
99
99
  adaptable: adaptableContextMenuItems,
100
100
  user: userContextMenuItems,
101
101
  };
102
- return flatten_1.default(this.adaptable.adaptableOptions.menuOptions.contextMenuOrder.map((c) => {
102
+ return (0, flatten_1.default)(this.adaptable.adaptableOptions.menuOptions.contextMenuOrder.map((c) => {
103
103
  return map[c];
104
104
  }));
105
105
  }
@@ -168,11 +168,11 @@ class agGridMenuHelper {
168
168
  };
169
169
  }
170
170
  mapAdaptableIconToAgGridIcon(adaptableIcon, style) {
171
- if (AdaptableIconComponent_1.isAdaptableElementIcon(adaptableIcon)) {
171
+ if ((0, AdaptableIconComponent_1.isAdaptableElementIcon)(adaptableIcon)) {
172
172
  return adaptableIcon.element;
173
173
  }
174
174
  else {
175
- return icons_1.iconToString(adaptableIcon, {
175
+ return (0, icons_1.iconToString)(adaptableIcon, {
176
176
  fill: 'var(--ab-color-text-on-primary)',
177
177
  });
178
178
  }
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { IStatusPanelParams } from '@ag-grid-community/all-modules';
2
+ import { IStatusPanelParams } from '@ag-grid-community/core';
3
3
  import { AdaptableApi } from '../../types';
4
4
  import { IAdaptable } from '../AdaptableInterfaces/IAdaptable';
5
5
  export interface StatusPanelProps {
@@ -19,7 +19,7 @@ const createAgStatusPanelComponent = (component, adaptable, context) => {
19
19
  adaptableApi: adaptable.api,
20
20
  context,
21
21
  };
22
- const children = renderWithAdaptableContext_1.renderWithAdaptableContext(React.createElement(component, props), adaptable);
22
+ const children = (0, renderWithAdaptableContext_1.renderWithAdaptableContext)(React.createElement(component, props), adaptable);
23
23
  ReactDOM.render(children, this.eGui);
24
24
  }
25
25
  getGui() {
@@ -32,14 +32,14 @@ exports.InternalAdaptableDateEditor = React.forwardRef((props, ref) => {
32
32
  var _a;
33
33
  (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
34
34
  };
35
- const [value, setValue] = useProperty_1.default(props, 'value', props.defaultValue, {
35
+ const [value, setValue] = (0, useProperty_1.default)(props, 'value', props.defaultValue, {
36
36
  onChange: (value) => {
37
37
  var _a, _b;
38
38
  if (value === '' || value == undefined) {
39
39
  (_a = props.onValueChange) === null || _a === void 0 ? void 0 : _a.call(props, null);
40
40
  }
41
41
  else {
42
- const date = typeof value === 'string' ? parseISO_1.default(value) : new Date(value);
42
+ const date = typeof value === 'string' ? (0, parseISO_1.default)(value) : new Date(value);
43
43
  (_b = props.onValueChange) === null || _b === void 0 ? void 0 : _b.call(props, date);
44
44
  }
45
45
  },
@@ -49,7 +49,7 @@ exports.InternalAdaptableDateEditor = React.forwardRef((props, ref) => {
49
49
  focus,
50
50
  };
51
51
  });
52
- const stringValue = DateHelper_1.parseToISO(value, props.dateFormat);
52
+ const stringValue = (0, DateHelper_1.parseToISO)(value, props.dateFormat);
53
53
  const onChange = React.useCallback((event) => {
54
54
  setValue(event.target.value);
55
55
  }, []);
@@ -1,4 +1,4 @@
1
- import { ICellEditorParams, ICellEditorComp } from '@ag-grid-community/all-modules';
1
+ import { ICellEditorParams, ICellEditorComp } from '@ag-grid-community/core';
2
2
  import { IAdaptable } from '../../../AdaptableInterfaces/IAdaptable';
3
3
  /**
4
4
  * Used by default for all `abColDefDate` columns.
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const react_dom_1 = require("react-dom");
7
7
  const renderWithAdaptableContext_1 = require("../../../View/renderWithAdaptableContext");
8
8
  const InternalAdaptableDateEditor_1 = require("./InternalAdaptableDateEditor");
9
- const all_modules_1 = require("@ag-grid-community/all-modules");
9
+ const core_1 = require("@ag-grid-community/core");
10
10
  const FormatHelper_1 = require("../../../Utilities/Helpers/FormatHelper");
11
11
  /**
12
12
  * Used by default for all `abColDefDate` columns.
@@ -86,7 +86,7 @@ class AdaptableDateEditor {
86
86
  if (!Pattern) {
87
87
  return value;
88
88
  }
89
- return FormatHelper_1.DateFormatter(value, {
89
+ return (0, FormatHelper_1.DateFormatter)(value, {
90
90
  Pattern,
91
91
  });
92
92
  } });
@@ -111,13 +111,13 @@ class AdaptableDateEditor {
111
111
  this.editor = editor;
112
112
  editor === null || editor === void 0 ? void 0 : editor.focus();
113
113
  } }));
114
- react_dom_1.render(renderWithAdaptableContext_1.renderWithAdaptableContext(editorElement, adaptable), this.el);
114
+ (0, react_dom_1.render)((0, renderWithAdaptableContext_1.renderWithAdaptableContext)(editorElement, adaptable), this.el);
115
115
  }
116
116
  destroy() {
117
- react_dom_1.unmountComponentAtNode(this.el);
117
+ (0, react_dom_1.unmountComponentAtNode)(this.el);
118
118
  }
119
119
  shouldClearExistingValue(params) {
120
- return params.eventKey === all_modules_1.KeyCode.BACKSPACE || params.eventKey === all_modules_1.KeyCode.DELETE;
120
+ return params.eventKey === core_1.KeyCode.BACKSPACE || params.eventKey === core_1.KeyCode.DELETE;
121
121
  }
122
122
  }
123
123
  exports.AdaptableDateEditor = AdaptableDateEditor;
@@ -29,7 +29,7 @@ exports.InternalAdaptableNumberEditor = React.forwardRef((props, ref) => {
29
29
  var _a;
30
30
  (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
31
31
  };
32
- const [value, setValue] = useProperty_1.default(props, 'value', props.defaultValue, {
32
+ const [value, setValue] = (0, useProperty_1.default)(props, 'value', props.defaultValue, {
33
33
  onChange: (value) => {
34
34
  var _a;
35
35
  if (value !== '' && value == Number(value)) {
@@ -1,4 +1,4 @@
1
- import { ICellEditorComp, ICellEditorParams } from '@ag-grid-community/all-modules';
1
+ import { ICellEditorComp, ICellEditorParams } from '@ag-grid-community/core';
2
2
  /**
3
3
  * Adaptable number editor parameters extending the AG Grid {@link ICellEditorParams}.
4
4
  */
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const react_dom_1 = require("react-dom");
7
7
  const renderWithAdaptableContext_1 = require("../../../View/renderWithAdaptableContext");
8
8
  const InternalAdaptableNumberEditor_1 = require("./InternalAdaptableNumberEditor");
9
- const all_modules_1 = require("@ag-grid-community/all-modules");
9
+ const core_1 = require("@ag-grid-community/core");
10
10
  /**
11
11
  * Used by default for all `abColDefNumber` columns.
12
12
  *
@@ -77,7 +77,7 @@ class AdaptableNumberEditor {
77
77
  this.editor = editor;
78
78
  editor === null || editor === void 0 ? void 0 : editor.focus();
79
79
  } }));
80
- react_dom_1.render(renderWithAdaptableContext_1.renderWithAdaptableContext(editorElement, adaptable), this.el);
80
+ (0, react_dom_1.render)((0, renderWithAdaptableContext_1.renderWithAdaptableContext)(editorElement, adaptable), this.el);
81
81
  this.getGui().addEventListener('keydown', (keyDownEvent) => {
82
82
  adaptable._emit('CellEditorKeyDown', {
83
83
  keyDownEvent,
@@ -90,7 +90,7 @@ class AdaptableNumberEditor {
90
90
  });
91
91
  }
92
92
  destroy() {
93
- react_dom_1.unmountComponentAtNode(this.el);
93
+ (0, react_dom_1.unmountComponentAtNode)(this.el);
94
94
  }
95
95
  getStartValue(params) {
96
96
  if (this.shouldClearExistingValue(params)) {
@@ -102,7 +102,7 @@ class AdaptableNumberEditor {
102
102
  return params.value;
103
103
  }
104
104
  shouldClearExistingValue(params) {
105
- return params.eventKey === all_modules_1.KeyCode.BACKSPACE || params.eventKey === all_modules_1.KeyCode.DELETE;
105
+ return params.eventKey === core_1.KeyCode.BACKSPACE || params.eventKey === core_1.KeyCode.DELETE;
106
106
  }
107
107
  isValidChar(char) {
108
108
  // allow only digits
@@ -1,4 +1,4 @@
1
- import { IAggFuncParams } from '@ag-grid-community/all-modules';
1
+ import { IAggFuncParams } from '@ag-grid-community/core';
2
2
  import { CellSummaryOperationContext } from '../types';
3
3
  export declare const getNumericValue: (input: unknown) => number | null;
4
4
  export declare const weightedAverage: (params: IAggFuncParams, columnId: string, weightColumnId: string) => {
@@ -8,7 +8,7 @@ const getNumericValue = (input) => {
8
8
  if (typeof input === 'number') {
9
9
  return input;
10
10
  }
11
- const numericValue = toNumber_1.default(input);
11
+ const numericValue = (0, toNumber_1.default)(input);
12
12
  return isNaN(numericValue) ? null : numericValue;
13
13
  };
14
14
  exports.getNumericValue = getNumericValue;
@@ -20,9 +20,9 @@ const weightedAverage = (params, columnId, weightColumnId) => {
20
20
  groupRowNode.allLeafChildren.forEach((rowNode) => {
21
21
  // when editing values might be converted to strings
22
22
  const rawColumnValue = gridApi.getValue(columnId, rowNode);
23
- const columnValue = exports.getNumericValue(rawColumnValue);
23
+ const columnValue = (0, exports.getNumericValue)(rawColumnValue);
24
24
  const rawWeightedColumnValue = gridApi.getValue(weightColumnId, rowNode);
25
- const weightedColumnValue = exports.getNumericValue(rawWeightedColumnValue);
25
+ const weightedColumnValue = (0, exports.getNumericValue)(rawWeightedColumnValue);
26
26
  if (weightedColumnValue !== null) {
27
27
  weightedColumnValueSum += weightedColumnValue;
28
28
  }
@@ -33,7 +33,7 @@ function AdaptableFormComponent({ formDef, data, onChange, onButtonClick, displa
33
33
  const newData = Object.assign(Object.assign({}, data), { [key]: value });
34
34
  onChange(newData);
35
35
  };
36
- const disabledButtons = react_1.useMemo(() => {
36
+ const disabledButtons = (0, react_1.useMemo)(() => {
37
37
  var _a, _b;
38
38
  return (_b = (_a = formDef.buttons) === null || _a === void 0 ? void 0 : _a.map((button) => {
39
39
  // defensive programming: conventionally context should ALWAYS be present for validating buttons
@@ -12,13 +12,13 @@ const AdaptableIconComponent = (props) => {
12
12
  if (!icon) {
13
13
  return null;
14
14
  }
15
- const className = !exports.isAdaptableElementIcon(icon)
16
- ? join_1.default(icon.className, iconClassName)
15
+ const className = !(0, exports.isAdaptableElementIcon)(icon)
16
+ ? (0, join_1.default)(icon.className, iconClassName)
17
17
  : iconClassName;
18
- const divRef = react_1.useRef(null);
19
- react_1.useEffect(() => {
18
+ const divRef = (0, react_1.useRef)(null);
19
+ (0, react_1.useEffect)(() => {
20
20
  let htmlElement;
21
- if (exports.isAdaptableElementIcon(icon)) {
21
+ if ((0, exports.isAdaptableElementIcon)(icon)) {
22
22
  if (typeof icon.element === 'string') {
23
23
  const domParser = new DOMParser();
24
24
  htmlElement = domParser.parseFromString(icon.element, 'text/html').body
@@ -30,44 +30,41 @@ const AdaptableIconComponent = (props) => {
30
30
  divRef.current.insertAdjacentElement('afterend', htmlElement);
31
31
  }
32
32
  return () => {
33
- if (exports.isAdaptableElementIcon(icon)) {
33
+ if ((0, exports.isAdaptableElementIcon)(icon)) {
34
34
  htmlElement === null || htmlElement === void 0 ? void 0 : htmlElement.remove();
35
35
  }
36
36
  };
37
37
  }, [icon]);
38
- if (exports.isAdaptableInternalIcon(icon)) {
38
+ if ((0, exports.isAdaptableInternalIcon)(icon)) {
39
39
  return React.createElement(icons_1.Icon, { name: icon.name, size: icon.size, style: icon.style, className: className });
40
40
  }
41
- if (exports.isAdaptableExternalIcon(icon)) {
41
+ if ((0, exports.isAdaptableExternalIcon)(icon)) {
42
42
  let width = (_b = (_a = icon.style) === null || _a === void 0 ? void 0 : _a.width) !== null && _b !== void 0 ? _b : 'var(--ab-cmp-icon__width)';
43
43
  let height = (_d = (_c = icon.style) === null || _c === void 0 ? void 0 : _c.height) !== null && _d !== void 0 ? _d : 'var(--ab-cmp-icon__height)';
44
44
  const iconStyle = (_e = icon.style) !== null && _e !== void 0 ? _e : {};
45
45
  return React.createElement("img", { src: icon.src, className: className, style: Object.assign({ height, width }, iconStyle) });
46
46
  }
47
- if (exports.isAdaptableElementIcon(icon)) {
47
+ if ((0, exports.isAdaptableElementIcon)(icon)) {
48
48
  return (React.createElement("span", { ref: divRef, style: { display: 'none' }, "data-name": "adaptable-icon-placeholder" }));
49
49
  }
50
50
  return null;
51
51
  };
52
52
  exports.AdaptableIconComponent = AdaptableIconComponent;
53
53
  const isAdaptableInternalIcon = (icon) => {
54
- var _a;
55
- return typeof ((_a = icon) === null || _a === void 0 ? void 0 : _a.name) === 'string';
54
+ return typeof (icon === null || icon === void 0 ? void 0 : icon.name) === 'string';
56
55
  };
57
56
  exports.isAdaptableInternalIcon = isAdaptableInternalIcon;
58
57
  const isAdaptableExternalIcon = (icon) => {
59
- var _a;
60
- return typeof ((_a = icon) === null || _a === void 0 ? void 0 : _a.src) === 'string';
58
+ return typeof (icon === null || icon === void 0 ? void 0 : icon.src) === 'string';
61
59
  };
62
60
  exports.isAdaptableExternalIcon = isAdaptableExternalIcon;
63
61
  const isAdaptableElementIcon = (icon) => {
64
- var _a, _b;
65
62
  return ((typeof HTMLElement === 'function' &&
66
- ((_a = icon) === null || _a === void 0 ? void 0 : _a.element) instanceof HTMLElement) ||
67
- typeof ((_b = icon) === null || _b === void 0 ? void 0 : _b.element) === 'string');
63
+ (icon === null || icon === void 0 ? void 0 : icon.element) instanceof HTMLElement) ||
64
+ typeof (icon === null || icon === void 0 ? void 0 : icon.element) === 'string');
68
65
  };
69
66
  exports.isAdaptableElementIcon = isAdaptableElementIcon;
70
67
  const isAdaptableIcon = (icon) => {
71
- return (exports.isAdaptableInternalIcon(icon) || exports.isAdaptableExternalIcon(icon) || exports.isAdaptableElementIcon(icon));
68
+ return ((0, exports.isAdaptableInternalIcon)(icon) || (0, exports.isAdaptableExternalIcon)(icon) || (0, exports.isAdaptableElementIcon)(icon));
72
69
  };
73
70
  exports.isAdaptableIcon = isAdaptableIcon;
@@ -11,7 +11,7 @@ const Square = (props) => {
11
11
  };
12
12
  const CheckBox = (_a) => {
13
13
  var { children, checked, onChange, value, name, disabled, readOnly, variant = 'default', gapDistance = 'var(--ab-space-1)', childrenPosition = 'end', as = 'label' } = _a, props = tslib_1.__rest(_a, ["children", "checked", "onChange", "value", "name", "disabled", "readOnly", "variant", "gapDistance", "childrenPosition", "as"]);
14
- const [stateChecked, setStateChecked] = react_1.useState(false);
14
+ const [stateChecked, setStateChecked] = (0, react_1.useState)(false);
15
15
  const computedChecked = checked !== undefined ? checked : stateChecked;
16
16
  const onInputChange = (event) => {
17
17
  if (readOnly) {
@@ -37,7 +37,7 @@ const CheckBox = (_a) => {
37
37
  const after = childrenPosition === 'end' ? children : null;
38
38
  const afterGap = childrenPosition === 'end' && children ? gap : null;
39
39
  let indeterminate = computedChecked === null;
40
- const checkboxRef = react_1.useRef();
40
+ const checkboxRef = (0, react_1.useRef)();
41
41
  React.useEffect(() => {
42
42
  checkboxRef.current.indeterminate = indeterminate;
43
43
  }, [indeterminate]);
@@ -46,7 +46,7 @@ const CheckBox = (_a) => {
46
46
  opacity: 0,
47
47
  cursor: 'pointer',
48
48
  }, onChange: onInputChange }));
49
- return (React.createElement(rebass_1.Box, Object.assign({ my: 2 }, props, { className: join_1.default('ab-CheckBox', `ab-CheckBox--${type}`, `ab-CheckBox--variant-${variant}`, disabled ? 'ab-CheckBox--disabled' : '', readOnly ? 'ab-CheckBox--readonly' : '', props.className), style: Object.assign({ display: 'inline-flex', flexFlow: 'row', alignItems: 'center', cursor: 'pointer', position: 'relative' }, props.style), as: as }),
49
+ return (React.createElement(rebass_1.Box, Object.assign({ my: 2 }, props, { className: (0, join_1.default)('ab-CheckBox', `ab-CheckBox--${type}`, `ab-CheckBox--variant-${variant}`, disabled ? 'ab-CheckBox--disabled' : '', readOnly ? 'ab-CheckBox--readonly' : '', props.className), style: Object.assign({ display: 'inline-flex', flexFlow: 'row', alignItems: 'center', cursor: 'pointer', position: 'relative' }, props.style), as: as }),
50
50
  before,
51
51
  beforeGap,
52
52
  input,
@@ -7,6 +7,6 @@ const rebass_1 = require("rebass");
7
7
  const join_1 = tslib_1.__importDefault(require("../utils/join"));
8
8
  exports.baseClassName = 'ab-CodeBlock';
9
9
  const CodeBlock = (props) => {
10
- return React.createElement(rebass_1.Box, Object.assign({ as: "code" }, props, { className: join_1.default(props.className, exports.baseClassName) }));
10
+ return React.createElement(rebass_1.Box, Object.assign({ as: "code" }, props, { className: (0, join_1.default)(props.className, exports.baseClassName) }));
11
11
  };
12
12
  exports.CodeBlock = CodeBlock;
@@ -10,16 +10,16 @@ const DashboardToolbar_1 = require("./DashboardToolbar");
10
10
  const DropdownButton_1 = tslib_1.__importDefault(require("../DropdownButton"));
11
11
  function Dashboard(props) {
12
12
  const { title, children, left, right, onShowDashboardPopup } = props;
13
- const [activeTabIndex, setActiveTabIndex] = useProperty_1.default(props, 'activeTabIndex', 0);
14
- const [collapsed, setCollapsed] = useProperty_1.default(props, 'collapsed', false);
15
- const [floating, setFloating] = useProperty_1.default(props, 'floating', false);
16
- const [inline, setInline] = useProperty_1.default(props, 'inline', false);
17
- const [position, setPosition] = useProperty_1.default(props, 'position', {
13
+ const [activeTabIndex, setActiveTabIndex] = (0, useProperty_1.default)(props, 'activeTabIndex', 0);
14
+ const [collapsed, setCollapsed] = (0, useProperty_1.default)(props, 'collapsed', false);
15
+ const [floating, setFloating] = (0, useProperty_1.default)(props, 'floating', false);
16
+ const [inline, setInline] = (0, useProperty_1.default)(props, 'inline', false);
17
+ const [position, setPosition] = (0, useProperty_1.default)(props, 'position', {
18
18
  x: 0,
19
19
  y: 0,
20
20
  });
21
21
  const expanded = !floating && !collapsed;
22
- const { handleRef, targetRef } = useDraggable_1.default({
22
+ const { handleRef, targetRef } = (0, useDraggable_1.default)({
23
23
  onDrop(dx, dy) {
24
24
  setPosition(({ x, y }) => {
25
25
  return { x: x + dx, y: y + dy };
@@ -32,7 +32,7 @@ function Dashboard(props) {
32
32
  top: position.y,
33
33
  };
34
34
  const renderTabs = () => (React.createElement("div", { className: "ab-Dashboard__tabs" }, children &&
35
- React.Children.map(children, (child, index) => (React.createElement("button", { type: "button", className: join_1.default('ab-Dashboard__tab', !collapsed && activeTabIndex === index ? 'ab-Dashboard__tab--active' : ''), key: index, onClick: () => {
35
+ React.Children.map(children, (child, index) => (React.createElement("button", { type: "button", className: (0, join_1.default)('ab-Dashboard__tab', !collapsed && activeTabIndex === index ? 'ab-Dashboard__tab--active' : ''), key: index, onClick: () => {
36
36
  if (activeTabIndex === index) {
37
37
  setCollapsed(!collapsed);
38
38
  }
@@ -76,7 +76,7 @@ function Dashboard(props) {
76
76
  renderTabsDropdown()));
77
77
  return (React.createElement("div", {
78
78
  // @ts-ignore
79
- ref: targetRef, className: join_1.default(`ab-Dashboard`, collapsed ? 'ab-Dashboard--collapsed' : '', floating ? 'ab-Dashboard--floating' : '', inline ? 'ab-Dashboard--inline' : ''), style: floating ? floatingStyle : undefined },
79
+ ref: targetRef, className: (0, join_1.default)(`ab-Dashboard`, collapsed ? 'ab-Dashboard--collapsed' : '', floating ? 'ab-Dashboard--floating' : '', inline ? 'ab-Dashboard--inline' : ''), style: floating ? floatingStyle : undefined },
80
80
  expanded && inline ? renderHomeToolbar() : renderBar(),
81
81
  expanded && children && children.length ? (React.createElement("div", { className: "ab-Dashboard__content" }, children[activeTabIndex] ? children[activeTabIndex].props.children : null)) : null));
82
82
  }
@@ -7,7 +7,7 @@ const SimpleButton_1 = tslib_1.__importDefault(require("../SimpleButton"));
7
7
  const join_1 = tslib_1.__importDefault(require("../utils/join"));
8
8
  const rebass_1 = require("rebass");
9
9
  function DashboardToolbar(props) {
10
- return (React.createElement("div", { className: join_1.default('ab-Dashboard__toolbar', props.className) },
10
+ return (React.createElement("div", { className: (0, join_1.default)('ab-Dashboard__toolbar', props.className) },
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),
@@ -13,26 +13,26 @@ const react_day_picker_1 = require("react-day-picker");
13
13
  */
14
14
  function Caption(props) {
15
15
  const { displayMonth } = props;
16
- const context = react_day_picker_1.useDayPicker();
16
+ const context = (0, react_day_picker_1.useDayPicker)();
17
17
  const { classNames, disableNavigation, styles, onMonthChange, dir } = context;
18
- const { goToMonth, displayMonths } = react_day_picker_1.useNavigation();
18
+ const { goToMonth, displayMonths } = (0, react_day_picker_1.useNavigation)();
19
19
  const handlePreviousClick = () => {
20
- handleMonthChange(add_1.default(displayMonth, { months: -1 }));
20
+ handleMonthChange((0, add_1.default)(displayMonth, { months: -1 }));
21
21
  };
22
22
  const handleNextClick = () => {
23
- handleMonthChange(add_1.default(displayMonth, { months: 1 }));
23
+ handleMonthChange((0, add_1.default)(displayMonth, { months: 1 }));
24
24
  };
25
25
  const handleMonthChange = (newMonth) => {
26
26
  goToMonth(newMonth);
27
27
  onMonthChange === null || onMonthChange === void 0 ? void 0 : onMonthChange(newMonth);
28
28
  };
29
29
  const handleNextYearClick = () => {
30
- handleMonthChange(add_1.default(displayMonth, { years: 1 }));
30
+ handleMonthChange((0, add_1.default)(displayMonth, { years: 1 }));
31
31
  };
32
32
  const handlePreviousYearClick = () => {
33
- handleMonthChange(add_1.default(displayMonth, { years: -1 }));
33
+ handleMonthChange((0, add_1.default)(displayMonth, { years: -1 }));
34
34
  };
35
- const displayIndex = displayMonths.findIndex((month) => isSameMonth_1.default(displayMonth, month));
35
+ const displayIndex = displayMonths.findIndex((month) => (0, isSameMonth_1.default)(displayMonth, month));
36
36
  let isFirst = displayIndex === 0;
37
37
  let isLast = displayIndex === displayMonths.length - 1;
38
38
  if (dir === 'rtl') {