@adaptabletools/adaptable 23.0.0-canary.8 → 23.0.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 (303) hide show
  1. package/index.css +42 -53
  2. package/package.json +1 -1
  3. package/src/{Utilities → AdaptableState/Aggregations}/weightedAverage.js +1 -1
  4. package/src/AdaptableState/Common/Enums.d.ts +0 -12
  5. package/src/AdaptableState/Common/Enums.js +0 -15
  6. package/src/{Utilities → AdaptableState/Common}/MenuItem.d.ts +4 -4
  7. package/src/{Utilities → AdaptableState/Common}/MenuItem.js +1 -1
  8. package/src/AdaptableState/StyledColumns/BulletChartStyle.d.ts +5 -5
  9. package/src/AdaptableState/StyledColumns/Common/{BarChartCellText.d.ts → BarStyleProperties.d.ts} +34 -10
  10. package/src/AdaptableState/StyledColumns/GradientStyle.d.ts +2 -2
  11. package/src/AdaptableState/StyledColumns/PercentBarStyle.d.ts +2 -2
  12. package/src/AdaptableState/StyledColumns/RangeBarStyle.d.ts +5 -5
  13. package/src/Api/Implementation/AlertApiImpl.js +1 -1
  14. package/src/Api/Implementation/ChartingApiImpl.js +1 -1
  15. package/src/Api/Implementation/ExportApiImpl.js +1 -1
  16. package/src/Api/Implementation/LayoutHelpers.js +1 -1
  17. package/src/Api/Implementation/QuickSearchApiImpl.js +1 -1
  18. package/src/Api/Implementation/ThemeApiImpl.js +1 -1
  19. package/src/Api/Internal/ActionColumnInternalApi.js +1 -1
  20. package/src/Api/Internal/AlertInternalApi.js +1 -1
  21. package/src/Api/Internal/ChartingInternalApi.js +1 -1
  22. package/src/Api/Internal/ColumnInternalApi.js +1 -1
  23. package/src/Api/Internal/EventInternalApi.js +1 -1
  24. package/src/Api/Internal/ExportInternalApi.js +1 -1
  25. package/src/Api/Internal/FormatColumnInternalApi.js +1 -1
  26. package/src/Api/Internal/GridInternalApi.js +1 -1
  27. package/src/Api/Internal/StyledColumnInternalApi.js +1 -1
  28. package/src/Redux/ActionsReducers/ExportRedux.js +1 -1
  29. package/src/Redux/ActionsReducers/InternalRedux.js +1 -1
  30. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +1 -1
  31. package/src/Redux/Store/AdaptableReduxMerger.js +2 -4
  32. package/src/Redux/Store/AdaptableStore.js +3 -3
  33. package/src/Strategy/AdaptableModuleBase.d.ts +1 -1
  34. package/src/Strategy/AdaptableModuleBase.js +1 -1
  35. package/src/Strategy/AlertModule.d.ts +1 -1
  36. package/src/Strategy/AlertModule.js +2 -2
  37. package/src/Strategy/BulkUpdateModule.d.ts +1 -1
  38. package/src/Strategy/CalculatedColumnModule.d.ts +2 -2
  39. package/src/Strategy/CellSummaryModule.d.ts +2 -2
  40. package/src/Strategy/ChartingModule.d.ts +1 -1
  41. package/src/Strategy/ChartingModule.js +1 -1
  42. package/src/Strategy/ColumnInfoModule.d.ts +2 -2
  43. package/src/Strategy/CommentModule.d.ts +1 -1
  44. package/src/Strategy/CustomSortModule.d.ts +1 -1
  45. package/src/Strategy/ExportModule.js +2 -2
  46. package/src/Strategy/FlashingCellModule.d.ts +1 -1
  47. package/src/Strategy/FreeTextColumnModule.d.ts +1 -1
  48. package/src/Strategy/GridInfoModule.d.ts +2 -2
  49. package/src/Strategy/LayoutModule.js +1 -1
  50. package/src/Strategy/NoteModule.d.ts +1 -1
  51. package/src/Strategy/PlusMinusModule.d.ts +1 -1
  52. package/src/Strategy/PlusMinusModule.js +1 -1
  53. package/src/Strategy/SettingsPanelModule.d.ts +2 -2
  54. package/src/Strategy/SmartEditModule.d.ts +1 -1
  55. package/src/Strategy/SystemStatusModule.d.ts +2 -2
  56. package/src/Strategy/TeamSharingModule.js +2 -2
  57. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +1 -1
  58. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +1 -1
  59. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +1 -1
  60. package/src/Utilities/Extensions/ArrayExtensions.d.ts +32 -0
  61. package/src/Utilities/Extensions/ArrayExtensions.js +49 -0
  62. package/src/Utilities/Extensions/NumberExtensions.d.ts +21 -0
  63. package/src/Utilities/Extensions/NumberExtensions.js +74 -0
  64. package/src/Utilities/Extensions/ObjectExtensions.d.ts +44 -0
  65. package/src/Utilities/Extensions/ObjectExtensions.js +271 -0
  66. package/src/Utilities/Extensions/StringExtensions.d.ts +26 -0
  67. package/src/Utilities/Extensions/StringExtensions.js +44 -1
  68. package/src/Utilities/Helpers/AdaptableHelper.js +2 -2
  69. package/src/Utilities/Helpers/{alertFormHelper.js → AlertHelper.js} +1 -1
  70. package/src/Utilities/Helpers/DateHelper.js +1 -1
  71. package/src/Utilities/Helpers/{FormatHelper.js → DisplayFormatHelper.js} +1 -1
  72. package/src/Utilities/Helpers/Helper.d.ts +0 -6
  73. package/src/Utilities/Helpers/Helper.js +0 -35
  74. package/src/Utilities/Helpers/{QuickSearchStyleHelper.js → QuickSearchHelper.js} +1 -1
  75. package/src/Utilities/Helpers/{ScheduleHelper.d.ts → Scheduling/ScheduleHelper.d.ts} +1 -1
  76. package/src/Utilities/Helpers/{ScheduleHelper.js → Scheduling/ScheduleHelper.js} +1 -1
  77. package/src/Utilities/Helpers/{ScheduleJobManager.d.ts → Scheduling/ScheduleJobManager.d.ts} +1 -1
  78. package/src/Utilities/Helpers/{ScheduleJobRunner.d.ts → Scheduling/ScheduleJobRunner.d.ts} +1 -1
  79. package/src/Utilities/Helpers/{ScheduledAlertHelper.d.ts → Scheduling/ScheduledAlertHelper.d.ts} +1 -1
  80. package/src/Utilities/Helpers/{ScheduledAlertHelper.js → Scheduling/ScheduledAlertHelper.js} +4 -4
  81. package/src/Utilities/Helpers/{ScheduledJobsMiddlewareHelper.d.ts → Scheduling/ScheduledJobsMiddlewareHelper.d.ts} +1 -1
  82. package/src/Utilities/Helpers/{ScheduledJobsMiddlewareHelper.js → Scheduling/ScheduledJobsMiddlewareHelper.js} +1 -1
  83. package/src/Utilities/Helpers/{ScheduledReportHelper.d.ts → Scheduling/ScheduledReportHelper.d.ts} +1 -1
  84. package/src/Utilities/Helpers/{ScheduledReportHelper.js → Scheduling/ScheduledReportHelper.js} +1 -1
  85. package/src/Utilities/Helpers/SettingsPanelHelper.d.ts +5 -0
  86. package/src/Utilities/{Defaults/DefaultSettingsPanel.js → Helpers/SettingsPanelHelper.js} +14 -0
  87. package/src/Utilities/Helpers/StyledColumns/BarStylesHelper.d.ts +63 -0
  88. package/src/Utilities/Helpers/{barChartCellText.js → StyledColumns/BarStylesHelper.js} +33 -32
  89. package/src/Utilities/Helpers/{StyledColumnGradientHelper.d.ts → StyledColumns/GradientStyleHelper.d.ts} +4 -4
  90. package/src/Utilities/Helpers/{StyledColumnGradientHelper.js → StyledColumns/GradientStyleHelper.js} +3 -3
  91. package/src/Utilities/Helpers/{IconStylePresets.d.ts → StyledColumns/IconStyleHelper.d.ts} +6 -1
  92. package/src/Utilities/Helpers/{IconStylePresets.js → StyledColumns/IconStyleHelper.js} +15 -0
  93. package/src/Utilities/Helpers/{percentBarPreviewHelper.d.ts → StyledColumns/PercentBarStyleHelper.d.ts} +2 -2
  94. package/src/Utilities/Helpers/{percentBarPreviewHelper.js → StyledColumns/PercentBarStyleHelper.js} +7 -7
  95. package/src/Utilities/Helpers/{SparklineOptionsHelper.js → StyledColumns/SparklineStyleHelper.js} +1 -1
  96. package/src/Utilities/Helpers/StyledColumns/StyledColumnHelper.d.ts +52 -0
  97. package/src/{agGrid/cellRenderers/shouldRenderStyledColumnOnRow.js → Utilities/Helpers/StyledColumns/StyledColumnHelper.js} +64 -2
  98. package/src/Utilities/Helpers/TimingHelper.d.ts +34 -0
  99. package/src/Utilities/{utils/debounce.js → Helpers/TimingHelper.js} +23 -9
  100. package/src/Utilities/ObjectFactory.js +1 -1
  101. package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +2 -0
  102. package/src/Utilities/Services/CalculatedColumnExpressionService.js +114 -1
  103. package/src/Utilities/Services/LicenseService/index.js +1 -1
  104. package/src/Utilities/Services/RowSummaryService.d.ts +1 -1
  105. package/src/Utilities/Services/RowSummaryService.js +4 -4
  106. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +1 -1
  107. package/src/View/Alert/Utilities/getAlertType.js +1 -1
  108. package/src/View/Alert/Utilities/getDefaultAlertDefinition.js +1 -1
  109. package/src/View/Alert/Utilities/mapAlertDefinition.js +1 -1
  110. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +1 -1
  111. package/src/View/Alert/Wizard/AlertButtonsEditor.js +1 -1
  112. package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +2 -2
  113. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +1 -1
  114. package/src/View/Alert/Wizard/AlertScheduledWizardSection.js +1 -1
  115. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +1 -1
  116. package/src/View/Alert/Wizard/AlertWizard.js +1 -1
  117. package/src/View/Alert/Wizard/isValidAlertRules.js +1 -1
  118. package/src/View/Charting/ChartingWizard/AgChargingWizard/PreviewChartSection.js +1 -1
  119. package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +1 -1
  120. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +1 -1
  121. package/src/View/Comments/CommentsEditor.js +1 -1
  122. package/src/View/Comments/CommentsPopup.js +1 -1
  123. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -6
  124. package/src/View/Components/AdaptableObjectList/objectListActionButtonStyles.d.ts +1 -1
  125. package/src/View/Components/AdaptableObjectList/objectListActionButtonStyles.js +1 -1
  126. package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +2 -2
  127. package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +1 -1
  128. package/src/View/Components/ColumnFilter/components/ColumnFilterInputList.js +1 -1
  129. package/src/View/Components/ColumnFilter/components/FloatingFilterInputList.js +1 -1
  130. package/src/View/Components/Forms/AdaptableFormControlTextClear.js +2 -1
  131. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +1 -1
  132. package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -1
  133. package/src/View/Components/Popups/Utilities.js +1 -1
  134. package/src/View/Components/RangesComponent.d.ts +3 -3
  135. package/src/View/Components/RangesComponent.js +3 -7
  136. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -1
  137. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
  138. package/src/View/Components/ToolPanel/ToolPanelPopupSections.js +5 -2
  139. package/src/View/Dashboard/CustomDashboardButton.js +1 -1
  140. package/src/View/Dashboard/Dashboard.js +1 -1
  141. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +1 -1
  142. package/src/View/DataChangeHistory/DataChangeHistoryTable.js +1 -1
  143. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +1 -1
  144. package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +1 -1
  145. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +3 -3
  146. package/src/View/FormatColumn/Wizard/FormatColumnPreview.js +1 -1
  147. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +1 -1
  148. package/src/View/Layout/LayoutCloneButton.js +2 -1
  149. package/src/View/Layout/LayoutViewPanel.js +1 -1
  150. package/src/View/Layout/Wizard/sections/RowSummarySection.js +5 -5
  151. package/src/View/Note/NoteEditor.js +1 -1
  152. package/src/View/Note/NotePopup.js +1 -1
  153. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +1 -1
  154. package/src/View/QuickSearch/QuickSearchPopup.js +1 -1
  155. package/src/View/QuickSearch/useQuickSearchDebounced.js +1 -1
  156. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +1 -1
  157. package/src/View/SpecialColumnSettingsWizardStep.js +1 -1
  158. package/src/View/StatusBar/StatusBarPopup.js +4 -0
  159. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +2 -3
  160. package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +1 -2
  161. package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +40 -11
  162. package/src/View/StyledColumn/Wizard/StyledColumnWizardBulletSection.js +17 -22
  163. package/src/View/StyledColumn/Wizard/StyledColumnWizardGradientSection.js +2 -3
  164. package/src/View/StyledColumn/Wizard/StyledColumnWizardIconSection.js +2 -3
  165. package/src/View/StyledColumn/Wizard/StyledColumnWizardRangeBarSection.js +14 -17
  166. package/src/View/StyledColumn/Wizard/StyledColumnWizardRatingSection.js +2 -2
  167. package/src/View/StyledColumn/Wizard/StyledColumnWizardScopeSection.js +2 -2
  168. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/{BarChartCellTextLayoutEditor.d.ts → BarStyleCellTextLayoutEditor.d.ts} +4 -4
  169. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarStyleCellTextLayoutEditor.js +33 -0
  170. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/{BarChartCellTextPreview.d.ts → BarStyleCellTextPreview.d.ts} +6 -6
  171. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/{BarChartCellTextPreview.js → BarStyleCellTextPreview.js} +6 -6
  172. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/GradientSummaryPreview.d.ts +2 -2
  173. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/GradientSummaryPreview.js +2 -4
  174. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.d.ts +0 -3
  175. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +5 -5
  176. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBulletPreview.d.ts +0 -3
  177. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBulletPreview.js +7 -9
  178. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnGradientPreview.d.ts +0 -3
  179. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnGradientPreview.js +2 -4
  180. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnIconPreview.d.ts +0 -3
  181. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnIconPreview.js +1 -3
  182. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnPercentBarPreview.d.ts +0 -3
  183. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnPercentBarPreview.js +11 -11
  184. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnRangeBarPreview.d.ts +0 -3
  185. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnRangeBarPreview.js +7 -9
  186. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnRatingPreview.d.ts +0 -3
  187. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnRatingPreview.js +3 -3
  188. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnSparklinePreview.d.ts +0 -3
  189. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnSparklinePreview.js +2 -4
  190. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +12 -17
  191. package/src/View/UIHelper.js +1 -1
  192. package/src/View/Wizard/CollapsibleWizardCard.js +1 -1
  193. package/src/View/Wizard/OnePageAdaptableWizard.d.ts +7 -0
  194. package/src/View/Wizard/OnePageAdaptableWizard.js +1 -1
  195. package/src/View/Wizard/OnePageWizards.d.ts +8 -0
  196. package/src/View/Wizard/OnePageWizards.js +6 -4
  197. package/src/agGrid/AdaptableAgGrid.js +6 -6
  198. package/src/agGrid/AgGridColumnAdapter.js +16 -15
  199. package/src/agGrid/AgGridExportAdapter.js +1 -1
  200. package/src/agGrid/AgGridMenuAdapter.js +127 -2
  201. package/src/agGrid/cellRenderers/BadgeRenderer.js +1 -1
  202. package/src/agGrid/cellRenderers/BulletChartRenderer.js +6 -6
  203. package/src/agGrid/cellRenderers/IconRenderer.js +2 -3
  204. package/src/agGrid/cellRenderers/PercentBarRenderer.js +6 -6
  205. package/src/agGrid/cellRenderers/RangeBarRenderer.js +7 -8
  206. package/src/agGrid/cellRenderers/RatingRenderer.js +2 -2
  207. package/src/agGrid/editors/AdaptableDateEditor/index.js +1 -1
  208. package/src/components/ColorPicker/ColorPicker.js +1 -1
  209. package/src/components/Datepicker/index.js +1 -1
  210. package/src/components/DragAndDropContext/ModuleManager.js +5 -2
  211. package/src/components/DragAndDropContext/types.d.ts +7 -0
  212. package/src/components/FormLayout/index.js +1 -1
  213. package/src/components/OverlayTrigger/index.js +1 -1
  214. package/src/env.js +2 -2
  215. package/src/layout-manager/src/isLayoutEqual.js +1 -1
  216. package/src/metamodel/adaptable.metamodel.d.ts +41 -8
  217. package/src/metamodel/adaptable.metamodel.js +1 -1
  218. package/src/migration/VersionUpgrade23.js +2 -2
  219. package/src/types.d.ts +3 -3
  220. package/tsconfig.esm.tsbuildinfo +1 -1
  221. package/src/AdaptableState/StyledColumns/Common/BarChartCellText.js +0 -6
  222. package/src/AdaptableState/StyledColumns/Common/BarChartMarker.d.ts +0 -24
  223. package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +0 -3
  224. package/src/Utilities/Helpers/barChartCellText.d.ts +0 -63
  225. package/src/Utilities/Helpers/iconStyledColumnColumnSupport.d.ts +0 -5
  226. package/src/Utilities/Helpers/iconStyledColumnColumnSupport.js +0 -15
  227. package/src/Utilities/Helpers/resolveSettingsPanelNavigation.d.ts +0 -3
  228. package/src/Utilities/Helpers/resolveSettingsPanelNavigation.js +0 -15
  229. package/src/Utilities/Helpers/styledColumnRowKindSupport.d.ts +0 -25
  230. package/src/Utilities/Helpers/styledColumnRowKindSupport.js +0 -63
  231. package/src/Utilities/Services/CalculatedColumnSyntheticChange.d.ts +0 -4
  232. package/src/Utilities/Services/CalculatedColumnSyntheticChange.js +0 -115
  233. package/src/Utilities/utils/chunk.d.ts +0 -6
  234. package/src/Utilities/utils/chunk.js +0 -17
  235. package/src/Utilities/utils/clamp.d.ts +0 -5
  236. package/src/Utilities/utils/clamp.js +0 -7
  237. package/src/Utilities/utils/cloneDeepWith.d.ts +0 -9
  238. package/src/Utilities/utils/cloneDeepWith.js +0 -67
  239. package/src/Utilities/utils/debounce.d.ts +0 -20
  240. package/src/Utilities/utils/flatten.d.ts +0 -5
  241. package/src/Utilities/utils/flatten.js +0 -7
  242. package/src/Utilities/utils/flattenDeep.d.ts +0 -5
  243. package/src/Utilities/utils/flattenDeep.js +0 -7
  244. package/src/Utilities/utils/get.d.ts +0 -6
  245. package/src/Utilities/utils/get.js +0 -35
  246. package/src/Utilities/utils/index.d.ts +0 -22
  247. package/src/Utilities/utils/index.js +0 -22
  248. package/src/Utilities/utils/isArray.d.ts +0 -6
  249. package/src/Utilities/utils/isArray.js +0 -6
  250. package/src/Utilities/utils/isEqual.d.ts +0 -5
  251. package/src/Utilities/utils/isEqual.js +0 -124
  252. package/src/Utilities/utils/isObject.d.ts +0 -6
  253. package/src/Utilities/utils/isObject.js +0 -9
  254. package/src/Utilities/utils/isPlainObject.d.ts +0 -6
  255. package/src/Utilities/utils/isPlainObject.js +0 -17
  256. package/src/Utilities/utils/kebabCase.d.ts +0 -5
  257. package/src/Utilities/utils/kebabCase.js +0 -8
  258. package/src/Utilities/utils/merge.d.ts +0 -11
  259. package/src/Utilities/utils/merge.js +0 -40
  260. package/src/Utilities/utils/mergeWith.d.ts +0 -7
  261. package/src/Utilities/utils/mergeWith.js +0 -46
  262. package/src/Utilities/utils/orderBy.d.ts +0 -8
  263. package/src/Utilities/utils/orderBy.js +0 -30
  264. package/src/Utilities/utils/parseInt.d.ts +0 -6
  265. package/src/Utilities/utils/parseInt.js +0 -9
  266. package/src/Utilities/utils/sentenceCase.d.ts +0 -6
  267. package/src/Utilities/utils/sentenceCase.js +0 -15
  268. package/src/Utilities/utils/startCase.d.ts +0 -5
  269. package/src/Utilities/utils/startCase.js +0 -11
  270. package/src/Utilities/utils/throttle.d.ts +0 -17
  271. package/src/Utilities/utils/throttle.js +0 -19
  272. package/src/Utilities/utils/toNumber.d.ts +0 -5
  273. package/src/Utilities/utils/toNumber.js +0 -39
  274. package/src/Utilities/utils/uniq.d.ts +0 -7
  275. package/src/Utilities/utils/uniq.js +0 -9
  276. package/src/Utilities/utils/uniqBy.d.ts +0 -8
  277. package/src/Utilities/utils/uniqBy.js +0 -22
  278. package/src/Utilities/utils/words.d.ts +0 -7
  279. package/src/Utilities/utils/words.js +0 -10
  280. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarChartCellTextLayoutEditor.js +0 -35
  281. package/src/agGrid/buildValueAggregationMenuItem.d.ts +0 -19
  282. package/src/agGrid/buildValueAggregationMenuItem.js +0 -111
  283. package/src/agGrid/cellRenderers/shouldRenderStyledColumnOnRow.d.ts +0 -30
  284. package/src/agGrid/createAgGridIcon.d.ts +0 -10
  285. package/src/agGrid/createAgGridIcon.js +0 -16
  286. /package/src/{Utilities → AdaptableState/Aggregations}/only.d.ts +0 -0
  287. /package/src/{Utilities → AdaptableState/Aggregations}/only.js +0 -0
  288. /package/src/{Utilities → AdaptableState/Aggregations}/weightedAverage.d.ts +0 -0
  289. /package/src/AdaptableState/StyledColumns/Common/{BarChartMarker.js → BarStyleProperties.js} +0 -0
  290. /package/src/Utilities/Helpers/{ActionColumnWidthHelper.d.ts → ActionColumnHelper.d.ts} +0 -0
  291. /package/src/Utilities/Helpers/{ActionColumnWidthHelper.js → ActionColumnHelper.js} +0 -0
  292. /package/src/Utilities/Helpers/{alertFormHelper.d.ts → AlertHelper.d.ts} +0 -0
  293. /package/src/Utilities/Helpers/{chartingHelper.d.ts → ChartHelper.d.ts} +0 -0
  294. /package/src/Utilities/Helpers/{chartingHelper.js → ChartHelper.js} +0 -0
  295. /package/src/Utilities/Helpers/{FormatHelper.d.ts → DisplayFormatHelper.d.ts} +0 -0
  296. /package/src/Utilities/Helpers/{plusMinusTriggerKeys.d.ts → PlusMinusHelper.d.ts} +0 -0
  297. /package/src/Utilities/Helpers/{plusMinusTriggerKeys.js → PlusMinusHelper.js} +0 -0
  298. /package/src/Utilities/Helpers/{QuickSearchStyleHelper.d.ts → QuickSearchHelper.d.ts} +0 -0
  299. /package/src/Utilities/Helpers/{ScheduleJobManager.js → Scheduling/ScheduleJobManager.js} +0 -0
  300. /package/src/Utilities/Helpers/{ScheduleJobRunner.js → Scheduling/ScheduleJobRunner.js} +0 -0
  301. /package/src/Utilities/Helpers/{SparklineOptionsHelper.d.ts → StyledColumns/SparklineStyleHelper.d.ts} +0 -0
  302. /package/src/Utilities/Helpers/{ThemeHelpers.d.ts → ThemeHelper.d.ts} +0 -0
  303. /package/src/Utilities/Helpers/{ThemeHelpers.js → ThemeHelper.js} +0 -0
@@ -2,8 +2,133 @@ import { isAdaptableElementIcon } from '../components/Icon';
2
2
  import { iconToString } from '../components/icons';
3
3
  import ArrayExtensions from '../Utilities/Extensions/ArrayExtensions';
4
4
  import { MENU_SEPARATOR } from '../Utilities/Constants/GeneralConstants';
5
- import { buildValueAggregationMenuItem } from './buildValueAggregationMenuItem';
6
- import { createAgGridIcon } from './createAgGridIcon';
5
+ import { getAggFuncName, getDisplayAggFuncNames, isWeightedAverageAggregation, WEIGHTED_AVERAGE_AGG_FN_NAME, } from '../AdaptableState/Common/AggregationColumns';
6
+ /**
7
+ * Creates an AG Grid icon element for the given icon name.
8
+ *
9
+ * Mimics AG Grid's internal icon creation, producing a
10
+ * `<span class="ag-icon ag-icon-{name}" role="presentation" unselectable="on">`
11
+ * so the icon picks up AG Grid's own icon font/theme styling.
12
+ *
13
+ * @see https://github.com/ag-grid/ag-grid/blob/5ca14e73188f6f52fd7d545d595c067bf1b72168/packages/ag-grid-community/src/utils/icon.ts#L139
14
+ */
15
+ function createAgGridIcon(name) {
16
+ const element = document.createElement('span');
17
+ element.className = `ag-icon ag-icon-${name}`;
18
+ element.setAttribute('role', 'presentation');
19
+ element.setAttribute('unselectable', 'on');
20
+ return element;
21
+ }
22
+ const toFuncLabel = (funcName) => {
23
+ if (funcName === 'avg') {
24
+ return 'Average';
25
+ }
26
+ if (funcName === 'weightedAvg') {
27
+ return 'Weighted Average';
28
+ }
29
+ return funcName ? funcName.charAt(0).toUpperCase() + funcName.slice(1) : funcName;
30
+ };
31
+ /**
32
+ * Builds the replacement for AG Grid's built-in `valueAggSubMenu` column menu item.
33
+ *
34
+ * AG Grid does not allow customizing the built-in submenu, so we rebuild an
35
+ * equivalent one: the column's existing aggregation functions plus a
36
+ * `Weighted Average` item whose submenu lists the numeric columns that can be
37
+ * used as the weight parameter.
38
+ *
39
+ * Both standard and weighted selections persist through the current Layout
40
+ * (`updateCurrentLayout`), so the existing `weightedAvg` aggFunc can read the
41
+ * chosen `weightedColumnId` back from the Layout.
42
+ *
43
+ * Weighted Average is never used in Pivot Layouts, so this only deals with the
44
+ * Table Layout aggregations and the caller skips it entirely in Pivot mode.
45
+ */
46
+ function buildValueAggregationMenuItem(adaptableApi, menuContext) {
47
+ const column = menuContext.adaptableColumn;
48
+ const columnId = column.columnId;
49
+ const currentLayout = adaptableApi.layoutApi.getCurrentLayout();
50
+ const aggregationColumns = currentLayout.TableAggregationColumns || [];
51
+ const currentAggFunc = aggregationColumns.find((agg) => agg.ColumnId === columnId)?.AggFunc;
52
+ let activeAggFuncName;
53
+ if (currentAggFunc != null) {
54
+ const aggFuncName = getAggFuncName(currentAggFunc);
55
+ activeAggFuncName = aggFuncName === true ? column.aggregationFunction : aggFuncName;
56
+ }
57
+ const activeWeightColumnId = isWeightedAverageAggregation(currentAggFunc)
58
+ ? currentAggFunc.weightedColumnId
59
+ : undefined;
60
+ const applyAggregation = (aggFuncValue) => {
61
+ const upsert = (cols) => {
62
+ const list = cols ? [...cols] : [];
63
+ const index = list.findIndex((col) => col.ColumnId === columnId);
64
+ if (index >= 0) {
65
+ list[index] = { ...list[index], AggFunc: aggFuncValue };
66
+ }
67
+ else {
68
+ list.push({ ColumnId: columnId, AggFunc: aggFuncValue });
69
+ }
70
+ return list;
71
+ };
72
+ adaptableApi.layoutApi.updateCurrentLayout((layout) => {
73
+ const tableLayout = layout;
74
+ return {
75
+ ...tableLayout,
76
+ TableAggregationColumns: upsert(tableLayout.TableAggregationColumns),
77
+ };
78
+ });
79
+ };
80
+ const removeAggregation = () => {
81
+ adaptableApi.layoutApi.updateCurrentLayout((layout) => {
82
+ const tableLayout = layout;
83
+ return {
84
+ ...tableLayout,
85
+ TableAggregationColumns: (tableLayout.TableAggregationColumns || []).filter((col) => col.ColumnId !== columnId),
86
+ };
87
+ });
88
+ };
89
+ // 'None' clears any aggregation for the column and is checked when none is set
90
+ const subMenu = [
91
+ {
92
+ name: 'None',
93
+ checked: activeAggFuncName == null,
94
+ action: () => removeAggregation(),
95
+ },
96
+ ];
97
+ // getDisplayAggFuncNames already positions weightedAvg right after 'avg'
98
+ // (and only includes it when the column is eligible)
99
+ const aggFuncItems = getDisplayAggFuncNames(column).map((funcName) => {
100
+ // Weighted Average needs a weight column parameter, so instead of a plain
101
+ // action it gets a submenu listing the numeric columns usable as the weight.
102
+ if (funcName === WEIGHTED_AVERAGE_AGG_FN_NAME) {
103
+ const weightColumnItems = adaptableApi.columnApi
104
+ .getNumericColumns()
105
+ .filter((numericColumn) => numericColumn.columnId !== columnId)
106
+ .map((numericColumn) => ({
107
+ name: numericColumn.friendlyName ?? numericColumn.columnId,
108
+ checked: activeWeightColumnId === numericColumn.columnId,
109
+ action: () => applyAggregation({
110
+ type: 'weightedAverage',
111
+ weightedColumnId: numericColumn.columnId,
112
+ }),
113
+ }));
114
+ return {
115
+ name: 'Weighted Average',
116
+ checked: activeAggFuncName === WEIGHTED_AVERAGE_AGG_FN_NAME,
117
+ subMenu: weightColumnItems,
118
+ };
119
+ }
120
+ return {
121
+ name: toFuncLabel(funcName),
122
+ checked: activeAggFuncName === funcName,
123
+ action: () => applyAggregation(funcName),
124
+ };
125
+ });
126
+ subMenu.push(...aggFuncItems);
127
+ return {
128
+ name: 'Value Aggregation',
129
+ subMenu,
130
+ };
131
+ }
7
132
  export class AgGridMenuAdapter {
8
133
  _adaptableInstance;
9
134
  constructor(_adaptableInstance) {
@@ -1,7 +1,7 @@
1
1
  import { Badge } from '../../View/Components/Badge';
2
2
  import { renderWithAdaptableContext } from '../../View/renderWithAdaptableContext';
3
3
  import * as React from 'react';
4
- import { shouldRenderStyledColumnOnRow } from './shouldRenderStyledColumnOnRow';
4
+ import { shouldRenderStyledColumnOnRow } from '../../Utilities/Helpers/StyledColumns/StyledColumnHelper';
5
5
  const OVERFLOW_CLASS = {
6
6
  Truncate: 'ab-Badge__wrapper--truncate',
7
7
  Wrap: 'ab-Badge__wrapper--wrap',
@@ -1,7 +1,7 @@
1
1
  import Helper from '../../Utilities/Helpers/Helper';
2
- import clamp from '../../Utilities/utils/clamp';
3
- import { buildBarChartCellTextLabels, hasBarChartCellTextConfigured, mountBarChartCellText, } from '../../Utilities/Helpers/barChartCellText';
4
- import { shouldRenderStyledColumnOnRow } from './shouldRenderStyledColumnOnRow';
2
+ import { clamp } from '../../Utilities/Extensions/NumberExtensions';
3
+ import { buildBarStyleCellTextLabels, hasBarStyleCellTextConfigured, mountBarStyleCellText, } from '../../Utilities/Helpers/StyledColumns/BarStylesHelper';
4
+ import { shouldRenderStyledColumnOnRow } from '../../Utilities/Helpers/StyledColumns/StyledColumnHelper';
5
5
  const SVG_NS = 'http://www.w3.org/2000/svg';
6
6
  const DEFAULT_BAR_HEIGHT = 8;
7
7
  const DEFAULT_BAND_HEIGHT = 14;
@@ -155,7 +155,7 @@ export const getBulletChartRendererForColumn = (styledColumn, abColumn, api) =>
155
155
  const barThickness = bulletStyle.Bar?.Height ?? DEFAULT_BAR_HEIGHT;
156
156
  const bandThickness = Math.max(barThickness + 6, DEFAULT_BAND_HEIGHT);
157
157
  const cellTextProperties = bulletStyle.CellTextProperties;
158
- const hasCellText = hasBarChartCellTextConfigured(cellTextProperties);
158
+ const hasCellText = hasBarStyleCellTextConfigured(cellTextProperties);
159
159
  // Map a 0..1 value fraction onto the long-axis viewBox (0..100).
160
160
  // In horizontal: 0 -> left, 1 -> right.
161
161
  // In vertical: 0 -> bottom, 1 -> top (SVG y origin is at the top so
@@ -281,8 +281,8 @@ export const getBulletChartRendererForColumn = (styledColumn, abColumn, api) =>
281
281
  // `valueFormatter` returns the raw value (a number here), so coerce
282
282
  // to string before it flows into the helpers.
283
283
  const formattedCellValue = String(params.formatValue?.(cellValue) ?? cellValue);
284
- const labels = buildBarChartCellTextLabels(cellTextProperties, formattedCellValue, `${(valueFraction * 100).toFixed(0)}%`);
285
- mountBarChartCellText({
284
+ const labels = buildBarStyleCellTextLabels(cellTextProperties, formattedCellValue, `${(valueFraction * 100).toFixed(0)}%`);
285
+ mountBarStyleCellText({
286
286
  wrapperEl: this.eGui,
287
287
  mergedOverlayEl: svgContainer,
288
288
  textClassName: 'ab-BulletChart__text',
@@ -2,9 +2,8 @@ import * as React from 'react';
2
2
  import { IconComponent, isAdaptableSystemIcon, isAdaptableCustomIcon, isAdaptableElementIcon, } from '../../components/Icon';
3
3
  import { renderWithAdaptableContext } from '../../View/renderWithAdaptableContext';
4
4
  import Helper from '../../Utilities/Helpers/Helper';
5
- import { getIconStylePresetMappings } from '../../Utilities/Helpers/IconStylePresets';
6
- import { shouldRenderStyledColumnOnRow } from './shouldRenderStyledColumnOnRow';
7
- import { isUnsupportedColumnDataTypeForIconStyle } from '../../Utilities/Helpers/iconStyledColumnColumnSupport';
5
+ import { getIconStylePresetMappings, isUnsupportedColumnDataTypeForIconStyle, } from '../../Utilities/Helpers/StyledColumns/IconStyleHelper';
6
+ import { shouldRenderStyledColumnOnRow } from '../../Utilities/Helpers/StyledColumns/StyledColumnHelper';
8
7
  import { errorOnce } from '../AdaptableLogger';
9
8
  const DEFAULT_SIZE = 18;
10
9
  const DEFAULT_GAP = 4;
@@ -1,7 +1,7 @@
1
1
  import Helper from '../../Utilities/Helpers/Helper';
2
- import clamp from '../../Utilities/utils/clamp';
3
- import { shouldRenderStyledColumnOnRow } from './shouldRenderStyledColumnOnRow';
4
- import { buildBarChartCellTextLabels, hasBarChartCellTextConfigured, mountBarChartCellText, } from '../../Utilities/Helpers/barChartCellText';
2
+ import { clamp } from '../../Utilities/Extensions/NumberExtensions';
3
+ import { shouldRenderStyledColumnOnRow } from '../../Utilities/Helpers/StyledColumns/StyledColumnHelper';
4
+ import { buildBarStyleCellTextLabels, hasBarStyleCellTextConfigured, mountBarStyleCellText, } from '../../Utilities/Helpers/StyledColumns/BarStylesHelper';
5
5
  /**
6
6
  * Resolve the origin value (in the same numeric space as `min`/`max`) the bar
7
7
  * should grow from.
@@ -141,7 +141,7 @@ export const getPercentBarRendererForColumn = (styledColumn, abColumn, api) => {
141
141
  }
142
142
  // ----- Build the DOM -------------------------------------------------
143
143
  const cellTextProperties = percentBarStyle.CellTextProperties;
144
- const hasCellText = hasBarChartCellTextConfigured(cellTextProperties);
144
+ const hasCellText = hasBarStyleCellTextConfigured(cellTextProperties);
145
145
  // Wrapper always fills the cell. The bar is the flex-grow child so it
146
146
  // claims whatever space the (compact) text rows leave, with a small
147
147
  // floor to stay visible even on short rows.
@@ -189,8 +189,8 @@ export const getPercentBarRendererForColumn = (styledColumn, abColumn, api) => {
189
189
  // columns), which then propagates through the helpers as a non-string
190
190
  // and breaks string-only operations (e.g. `.length` checks).
191
191
  const formattedCellValue = String(params.formatValue?.(rawCellValue) ?? rawCellValue);
192
- const labels = buildBarChartCellTextLabels(cellTextProperties, formattedCellValue, `${percentageValue.toFixed(0)}%`);
193
- mountBarChartCellText({
192
+ const labels = buildBarStyleCellTextLabels(cellTextProperties, formattedCellValue, `${percentageValue.toFixed(0)}%`);
193
+ mountBarStyleCellText({
194
194
  wrapperEl: this.eGui,
195
195
  mergedOverlayEl: barEl,
196
196
  textClassName: 'ab-PercentBar__text',
@@ -1,7 +1,7 @@
1
1
  import Helper from '../../Utilities/Helpers/Helper';
2
- import clamp from '../../Utilities/utils/clamp';
3
- import { buildBarChartCellTextLabels, hasBarChartCellTextConfigured, mountBarChartCellText, } from '../../Utilities/Helpers/barChartCellText';
4
- import { shouldRenderStyledColumnOnRow } from './shouldRenderStyledColumnOnRow';
2
+ import { clamp } from '../../Utilities/Extensions/NumberExtensions';
3
+ import { buildBarStyleCellTextLabels, hasBarStyleCellTextConfigured, mountBarStyleCellText, } from '../../Utilities/Helpers/StyledColumns/BarStylesHelper';
4
+ import { shouldRenderStyledColumnOnRow } from '../../Utilities/Helpers/StyledColumns/StyledColumnHelper';
5
5
  const SVG_NS = 'http://www.w3.org/2000/svg';
6
6
  const DEFAULT_TRACK_HEIGHT = 4;
7
7
  const DEFAULT_BAND_HEIGHT = 14;
@@ -47,8 +47,7 @@ const normaliseMarker = (override, defaults) => {
47
47
  return {
48
48
  Shape: shape,
49
49
  Color: override?.Color ?? defaults.Color,
50
- Size: override?.Size ??
51
- (shape === 'Line' ? DEFAULT_LINE_MARKER_THICKNESS : defaults.Size),
50
+ Size: override?.Size ?? (shape === 'Line' ? DEFAULT_LINE_MARKER_THICKNESS : defaults.Size),
52
51
  };
53
52
  };
54
53
  /**
@@ -124,7 +123,7 @@ export const getRangeBarRendererForColumn = (styledColumn, abColumn, api) => {
124
123
  const trackThickness = trackProperties?.Height ?? DEFAULT_TRACK_HEIGHT;
125
124
  const bandThickness = Math.max(trackThickness + 6, DEFAULT_BAND_HEIGHT);
126
125
  const cellTextProperties = rangeStyle.CellTextProperties;
127
- const hasCellText = hasBarChartCellTextConfigured(cellTextProperties);
126
+ const hasCellText = hasBarStyleCellTextConfigured(cellTextProperties);
128
127
  // Map a 0..1 fraction onto the long-axis viewBox (0..100). Vertical
129
128
  // orientation inverts so that lower values appear at the bottom of
130
129
  // the cell, matching user expectation.
@@ -262,8 +261,8 @@ export const getRangeBarRendererForColumn = (styledColumn, abColumn, api) => {
262
261
  // `valueFormatter` returns the raw value (a number here), so coerce
263
262
  // to string before it flows into the helpers.
264
263
  const formattedCellValue = String(params.formatValue?.(numericValue) ?? numericValue);
265
- const labels = buildBarChartCellTextLabels(cellTextProperties, formattedCellValue, `${pct.toFixed(0)}%`);
266
- mountBarChartCellText({
264
+ const labels = buildBarStyleCellTextLabels(cellTextProperties, formattedCellValue, `${pct.toFixed(0)}%`);
265
+ mountBarStyleCellText({
267
266
  wrapperEl: this.eGui,
268
267
  mergedOverlayEl: svgContainer,
269
268
  textClassName: 'ab-RangeBar__text',
@@ -1,6 +1,6 @@
1
1
  import Helper from '../../Utilities/Helpers/Helper';
2
- import clamp from '../../Utilities/utils/clamp';
3
- import { shouldRenderStyledColumnOnRow } from './shouldRenderStyledColumnOnRow';
2
+ import { clamp } from '../../Utilities/Extensions/NumberExtensions';
3
+ import { shouldRenderStyledColumnOnRow } from '../../Utilities/Helpers/StyledColumns/StyledColumnHelper';
4
4
  const SVG_NS = 'http://www.w3.org/2000/svg';
5
5
  const DEFAULT_MAX = 5;
6
6
  const DEFAULT_SIZE = 14;
@@ -3,7 +3,7 @@ import { renderWithAdaptableContext } from '../../../View/renderWithAdaptableCon
3
3
  import { InternalAdaptableDateEditor, } from './InternalAdaptableDateEditor';
4
4
  import { KeyCode } from 'ag-grid-enterprise';
5
5
  import { forwardRef, useImperativeHandle, useRef, useState } from 'react';
6
- import { DateFormatter } from '../../../Utilities/Helpers/FormatHelper';
6
+ import { DateFormatter } from '../../../Utilities/Helpers/DisplayFormatHelper';
7
7
  function shouldClearExistingValue(params) {
8
8
  return params.eventKey === KeyCode.BACKSPACE || params.eventKey === KeyCode.DELETE;
9
9
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import { useCallback, useEffect } from 'react';
4
- import debounce from '../../Utilities/utils/debounce';
4
+ import { debounce } from '../../Utilities/Helpers/TimingHelper';
5
5
  import { cn } from '../../lib/utils';
6
6
  import Input from '../Input';
7
7
  import { getVariableColor } from '../../Utilities/Helpers/StyleHelper';
@@ -4,7 +4,7 @@ import { useEffect, useLayoutEffect, useState } from 'react';
4
4
  import useProperty from '../utils/useProperty';
5
5
  import SimpleButton from '../SimpleButton';
6
6
  import { ACCESS_LEVEL_FULL } from '../../Utilities/Constants/GeneralConstants';
7
- import { DateFormatter } from '../../Utilities/Helpers/FormatHelper';
7
+ import { DateFormatter } from '../../Utilities/Helpers/DisplayFormatHelper';
8
8
  import { useDatepickerContext } from './DatepickerContext';
9
9
  import { AdaptableDateInlineInput } from '../../View/Components/AdaptableInput/AdaptableDateInlineInput';
10
10
  import { isValid, addYears, endOfYear, startOfYear, addDays, addBusinessDays, } from 'date-fns';
@@ -71,9 +71,12 @@ export const ModuleManager = (props) => {
71
71
  'ab-ModuleSelector__UnusedGroups--row': groupsLayout === 'row',
72
72
  }), children: unusedItemGroups.map((group, index) => {
73
73
  const listId = group.listId ?? `UNUSED-${index}`;
74
+ const isRow = groupsLayout === 'row';
75
+ const hasCustomFlex = typeof group.flex === 'number';
74
76
  return (_jsxs(Card, { className: cn('twa:m-0 ab-ModuleSelector__UnusedGroup', {
75
- 'twa:flex-1 twa:min-w-0': groupsLayout === 'row',
76
- }), children: [_jsxs(Card.Title, { border: false, className: "twa:py-2", children: [_jsx(Box, { className: "twa:text-sm twa:font-medium", children: group.title }), group.help ? (_jsx(Box, { className: "twa:text-xs twa:opacity-70 twa:font-normal", children: group.help })) : null] }), _jsx(Card.Body, { className: "twa:px-0 twa:pt-0", children: _jsx(UnusedPanel, { listId: listId, disabled: disabled, items: group.items }) })] }, listId));
77
+ 'twa:min-w-0': isRow,
78
+ 'twa:flex-1': isRow && !hasCustomFlex,
79
+ }), style: isRow && hasCustomFlex ? { flex: group.flex } : undefined, children: [_jsxs(Card.Title, { border: false, className: "twa:py-2", children: [_jsx(Box, { className: "twa:text-sm twa:font-medium", children: group.title }), group.help ? (_jsx(Box, { className: "twa:text-xs twa:opacity-70 twa:font-normal", children: group.help })) : null] }), _jsx(Card.Body, { className: "twa:px-0 twa:pt-0", children: _jsx(UnusedPanel, { listId: listId, disabled: disabled, items: group.items }) })] }, listId));
77
80
  }) })] }));
78
81
  };
79
82
  const renderAvailableItemPanels = (options) => {
@@ -12,4 +12,11 @@ export interface UnusedItemGroup {
12
12
  title: string;
13
13
  help?: string;
14
14
  items: string[];
15
+ /**
16
+ * Optional flex weight when groups are laid out in a row. If any group
17
+ * sets this, the weights are used as `flex-grow` values (so e.g. 40 / 60
18
+ * gives a 40% / 60% split). When omitted on every group the layout falls
19
+ * back to equal-width columns.
20
+ */
21
+ flex?: number;
15
22
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import { createContext, useContext } from 'react';
4
- import merge from '../../Utilities/utils/merge';
4
+ import { merge } from '../../Utilities/Extensions/ObjectExtensions';
5
5
  import join from '../utils/join';
6
6
  import { Box } from '../Flex';
7
7
  const FormLayoutContext = createContext(null);
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import { useRef, useEffect } from 'react';
4
- import debounce from '../../Utilities/utils/debounce';
4
+ import { debounce } from '../../Utilities/Helpers/TimingHelper';
5
5
  import batchUpdate from '../utils/batchUpdate';
6
6
  import selectParent from '../utils/selectParent';
7
7
  import useProperty from '../utils/useProperty';
package/src/env.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export default {
2
2
  NEXT_PUBLIC_INFINITE_TABLE_LICENSE_KEY: "StartDate=2021-06-29|EndDate=2030-01-01|Owner=Adaptable|Type=distribution|TS=1624971462479|C=137829811,1004007071,2756196225,1839832928,3994409405,636616862" || '',
3
- PUBLISH_TIMESTAMP: 1782067349296 || Date.now(),
4
- VERSION: "23.0.0-canary.8" || '--current-version--',
3
+ PUBLISH_TIMESTAMP: 1782227625016 || Date.now(),
4
+ VERSION: "23.0.0" || '--current-version--',
5
5
  };
@@ -1,4 +1,4 @@
1
- import isDeepEqual from '../../Utilities/utils/isEqual';
1
+ import { isEqual as isDeepEqual } from '../../Utilities/Extensions/ObjectExtensions';
2
2
  import { debug as debugFactory } from '@infinite-table/infinite-react';
3
3
  import { isPivotLayoutModel } from './isPivotLayoutModel';
4
4
  import { normalizePivotLayoutModel, normalizeTableLayoutModel } from './normalizeLayoutModel';
@@ -1170,7 +1170,40 @@ export declare const ADAPTABLE_METAMODEL: {
1170
1170
  BadgeStylePredicate: {
1171
1171
  k: string;
1172
1172
  };
1173
- BarChartMarker: {
1173
+ BarStyleCellTextHorizontalAlignment: {
1174
+ k: string;
1175
+ };
1176
+ BarStyleCellTextLayout: {
1177
+ k: string;
1178
+ p: {
1179
+ n: string;
1180
+ k: string;
1181
+ o: boolean;
1182
+ r: string;
1183
+ }[];
1184
+ };
1185
+ BarStyleCellTextPlacement: {
1186
+ k: string;
1187
+ p: {
1188
+ n: string;
1189
+ k: string;
1190
+ o: boolean;
1191
+ r: string;
1192
+ }[];
1193
+ };
1194
+ BarStyleCellTextProperties: {
1195
+ k: string;
1196
+ p: {
1197
+ n: string;
1198
+ k: string;
1199
+ o: boolean;
1200
+ r: string;
1201
+ }[];
1202
+ };
1203
+ BarStyleCellTextVerticalAlignment: {
1204
+ k: string;
1205
+ };
1206
+ BarStyleMarker: {
1174
1207
  k: string;
1175
1208
  p: {
1176
1209
  n: string;
@@ -3226,13 +3259,6 @@ export declare const ADAPTABLE_METAMODEL: {
3226
3259
  r: string;
3227
3260
  })[];
3228
3261
  };
3229
- GradientZeroCentredColors: {
3230
- k: string;
3231
- p: {
3232
- n: string;
3233
- k: string;
3234
- }[];
3235
- };
3236
3262
  GridApi: {
3237
3263
  k: string;
3238
3264
  p: {
@@ -5269,4 +5295,11 @@ export declare const ADAPTABLE_METAMODEL: {
5269
5295
  WindowSize: {
5270
5296
  k: string;
5271
5297
  };
5298
+ ZeroCentredColors: {
5299
+ k: string;
5300
+ p: {
5301
+ n: string;
5302
+ k: string;
5303
+ }[];
5304
+ };
5272
5305
  };