@adaptabletools/adaptable-cjs 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 (304) hide show
  1. package/index.css +42 -53
  2. package/package.json +1 -1
  3. package/src/{Utilities → AdaptableState/Aggregations}/weightedAverage.js +2 -3
  4. package/src/AdaptableState/Common/Enums.d.ts +0 -12
  5. package/src/AdaptableState/Common/Enums.js +1 -16
  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 +5 -5
  15. package/src/Api/Implementation/ExportApiImpl.js +1 -1
  16. package/src/Api/Implementation/LayoutHelpers.js +2 -3
  17. package/src/Api/Implementation/QuickSearchApiImpl.js +4 -4
  18. package/src/Api/Implementation/ThemeApiImpl.js +2 -2
  19. package/src/Api/Internal/ActionColumnInternalApi.js +2 -2
  20. package/src/Api/Internal/AlertInternalApi.js +1 -1
  21. package/src/Api/Internal/ChartingInternalApi.js +2 -2
  22. package/src/Api/Internal/ColumnInternalApi.js +2 -2
  23. package/src/Api/Internal/EventInternalApi.js +3 -4
  24. package/src/Api/Internal/ExportInternalApi.js +2 -2
  25. package/src/Api/Internal/FormatColumnInternalApi.js +4 -4
  26. package/src/Api/Internal/GridInternalApi.js +1 -1
  27. package/src/Api/Internal/StyledColumnInternalApi.js +6 -6
  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 +2 -3
  31. package/src/Redux/Store/AdaptableReduxMerger.js +7 -9
  32. package/src/Redux/Store/AdaptableStore.js +5 -5
  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 +4 -4
  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 +2 -2
  50. package/src/Strategy/NoteModule.d.ts +1 -1
  51. package/src/Strategy/PlusMinusModule.d.ts +1 -1
  52. package/src/Strategy/PlusMinusModule.js +8 -8
  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 +4 -4
  57. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +2 -3
  58. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +2 -2
  59. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +2 -3
  60. package/src/Utilities/Extensions/ArrayExtensions.d.ts +32 -0
  61. package/src/Utilities/Extensions/ArrayExtensions.js +54 -1
  62. package/src/Utilities/Extensions/NumberExtensions.d.ts +21 -0
  63. package/src/Utilities/Extensions/NumberExtensions.js +78 -0
  64. package/src/Utilities/Extensions/ObjectExtensions.d.ts +44 -0
  65. package/src/Utilities/Extensions/ObjectExtensions.js +277 -0
  66. package/src/Utilities/Extensions/StringExtensions.d.ts +26 -0
  67. package/src/Utilities/Extensions/StringExtensions.js +49 -3
  68. package/src/Utilities/Helpers/AdaptableHelper.js +7 -7
  69. package/src/Utilities/Helpers/{alertFormHelper.js → AlertHelper.js} +1 -1
  70. package/src/Utilities/Helpers/DateHelper.js +2 -2
  71. package/src/Utilities/Helpers/{FormatHelper.js → DisplayFormatHelper.js} +5 -5
  72. package/src/Utilities/Helpers/Helper.d.ts +0 -6
  73. package/src/Utilities/Helpers/Helper.js +0 -38
  74. package/src/Utilities/Helpers/{QuickSearchStyleHelper.js → QuickSearchHelper.js} +2 -3
  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} +16 -1
  87. package/src/Utilities/Helpers/StyledColumns/BarStylesHelper.d.ts +63 -0
  88. package/src/Utilities/Helpers/{barChartCellText.js → StyledColumns/BarStylesHelper.js} +48 -47
  89. package/src/Utilities/Helpers/{StyledColumnGradientHelper.d.ts → StyledColumns/GradientStyleHelper.d.ts} +4 -4
  90. package/src/Utilities/Helpers/{StyledColumnGradientHelper.js → StyledColumns/GradientStyleHelper.js} +9 -9
  91. package/src/Utilities/Helpers/{IconStylePresets.d.ts → StyledColumns/IconStyleHelper.d.ts} +6 -1
  92. package/src/Utilities/Helpers/{IconStylePresets.js → StyledColumns/IconStyleHelper.js} +16 -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} +11 -12
  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/Utilities/Helpers/StyledColumns/StyledColumnHelper.js +124 -0
  98. package/src/Utilities/Helpers/TimingHelper.d.ts +34 -0
  99. package/src/Utilities/{utils/debounce.js → Helpers/TimingHelper.js} +25 -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 +118 -2
  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 +6 -6
  106. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +2 -2
  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 +3 -3
  112. package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +3 -3
  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 +2 -2
  119. package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +2 -2
  120. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +2 -2
  121. package/src/View/Comments/CommentsEditor.js +2 -2
  122. package/src/View/Comments/CommentsPopup.js +2 -2
  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 +2 -2
  128. package/src/View/Components/ColumnFilter/components/ColumnFilterInputList.js +2 -2
  129. package/src/View/Components/ColumnFilter/components/FloatingFilterInputList.js +2 -2
  130. package/src/View/Components/Forms/AdaptableFormControlTextClear.js +2 -1
  131. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -2
  132. package/src/View/Components/Popups/AdaptablePopupAlert.js +2 -2
  133. package/src/View/Components/Popups/Utilities.js +5 -5
  134. package/src/View/Components/RangesComponent.d.ts +3 -3
  135. package/src/View/Components/RangesComponent.js +5 -9
  136. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +3 -3
  137. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +2 -3
  138. package/src/View/Components/ToolPanel/ToolPanelPopupSections.js +5 -2
  139. package/src/View/Dashboard/CustomDashboardButton.js +2 -3
  140. package/src/View/Dashboard/Dashboard.js +2 -2
  141. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +2 -2
  142. package/src/View/DataChangeHistory/DataChangeHistoryTable.js +2 -2
  143. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +2 -2
  144. package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +2 -2
  145. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +13 -13
  146. package/src/View/FormatColumn/Wizard/FormatColumnPreview.js +4 -4
  147. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +2 -2
  148. package/src/View/Layout/LayoutCloneButton.js +2 -1
  149. package/src/View/Layout/LayoutViewPanel.js +2 -2
  150. package/src/View/Layout/Wizard/sections/RowSummarySection.js +5 -5
  151. package/src/View/Note/NoteEditor.js +2 -2
  152. package/src/View/Note/NotePopup.js +2 -2
  153. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +7 -7
  154. package/src/View/QuickSearch/QuickSearchPopup.js +4 -4
  155. package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -3
  156. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +1 -1
  157. package/src/View/SpecialColumnSettingsWizardStep.js +2 -2
  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 +31 -2
  162. package/src/View/StyledColumn/Wizard/StyledColumnWizardBulletSection.js +17 -22
  163. package/src/View/StyledColumn/Wizard/StyledColumnWizardGradientSection.js +9 -10
  164. package/src/View/StyledColumn/Wizard/StyledColumnWizardIconSection.js +5 -6
  165. package/src/View/StyledColumn/Wizard/StyledColumnWizardRangeBarSection.js +14 -17
  166. package/src/View/StyledColumn/Wizard/StyledColumnWizardRatingSection.js +1 -1
  167. package/src/View/StyledColumn/Wizard/StyledColumnWizardScopeSection.js +14 -14
  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 +37 -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} +9 -9
  172. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/GradientSummaryPreview.d.ts +2 -2
  173. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/GradientSummaryPreview.js +7 -9
  174. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.d.ts +0 -3
  175. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +5 -6
  176. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBulletPreview.d.ts +0 -3
  177. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBulletPreview.js +8 -11
  178. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnGradientPreview.d.ts +0 -3
  179. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnGradientPreview.js +5 -8
  180. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnIconPreview.d.ts +0 -3
  181. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnIconPreview.js +1 -4
  182. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnPercentBarPreview.d.ts +0 -3
  183. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnPercentBarPreview.js +20 -21
  184. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnRangeBarPreview.d.ts +0 -3
  185. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnRangeBarPreview.js +8 -11
  186. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnRatingPreview.d.ts +0 -3
  187. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnRatingPreview.js +4 -5
  188. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnSparklinePreview.d.ts +0 -3
  189. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnSparklinePreview.js +3 -6
  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 +2 -2
  195. package/src/View/Wizard/OnePageWizards.d.ts +8 -0
  196. package/src/View/Wizard/OnePageWizards.js +5 -3
  197. package/src/agGrid/AdaptableAgGrid.js +11 -11
  198. package/src/agGrid/AgGridColumnAdapter.js +30 -29
  199. package/src/agGrid/AgGridExportAdapter.js +3 -3
  200. package/src/agGrid/AgGridMenuAdapter.js +129 -4
  201. package/src/agGrid/cellRenderers/BadgeRenderer.js +2 -2
  202. package/src/agGrid/cellRenderers/BulletChartRenderer.js +8 -8
  203. package/src/agGrid/cellRenderers/IconRenderer.js +7 -8
  204. package/src/agGrid/cellRenderers/PercentBarRenderer.js +9 -9
  205. package/src/agGrid/cellRenderers/RangeBarRenderer.js +10 -11
  206. package/src/agGrid/cellRenderers/RatingRenderer.js +6 -6
  207. package/src/agGrid/editors/AdaptableDateEditor/index.js +3 -3
  208. package/src/components/ColorPicker/ColorPicker.js +2 -2
  209. package/src/components/Datepicker/index.js +2 -2
  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 +2 -2
  213. package/src/components/OverlayTrigger/index.js +2 -2
  214. package/src/env.js +2 -2
  215. package/src/layout-manager/src/isLayoutEqual.js +4 -5
  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.cjs.tsbuildinfo +1 -1
  221. package/src/AdaptableState/StyledColumns/Common/BarChartCellText.js +0 -7
  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 -18
  227. package/src/Utilities/Helpers/resolveSettingsPanelNavigation.d.ts +0 -3
  228. package/src/Utilities/Helpers/resolveSettingsPanelNavigation.js +0 -19
  229. package/src/Utilities/Helpers/styledColumnRowKindSupport.d.ts +0 -25
  230. package/src/Utilities/Helpers/styledColumnRowKindSupport.js +0 -70
  231. package/src/Utilities/Services/CalculatedColumnSyntheticChange.d.ts +0 -4
  232. package/src/Utilities/Services/CalculatedColumnSyntheticChange.js +0 -120
  233. package/src/Utilities/utils/chunk.d.ts +0 -6
  234. package/src/Utilities/utils/chunk.js +0 -20
  235. package/src/Utilities/utils/clamp.d.ts +0 -5
  236. package/src/Utilities/utils/clamp.js +0 -10
  237. package/src/Utilities/utils/cloneDeepWith.d.ts +0 -9
  238. package/src/Utilities/utils/cloneDeepWith.js +0 -70
  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 -10
  242. package/src/Utilities/utils/flattenDeep.d.ts +0 -5
  243. package/src/Utilities/utils/flattenDeep.js +0 -10
  244. package/src/Utilities/utils/get.d.ts +0 -6
  245. package/src/Utilities/utils/get.js +0 -38
  246. package/src/Utilities/utils/index.d.ts +0 -22
  247. package/src/Utilities/utils/index.js +0 -48
  248. package/src/Utilities/utils/isArray.d.ts +0 -6
  249. package/src/Utilities/utils/isArray.js +0 -8
  250. package/src/Utilities/utils/isEqual.d.ts +0 -5
  251. package/src/Utilities/utils/isEqual.js +0 -127
  252. package/src/Utilities/utils/isObject.d.ts +0 -6
  253. package/src/Utilities/utils/isObject.js +0 -12
  254. package/src/Utilities/utils/isPlainObject.d.ts +0 -6
  255. package/src/Utilities/utils/isPlainObject.js +0 -20
  256. package/src/Utilities/utils/kebabCase.d.ts +0 -5
  257. package/src/Utilities/utils/kebabCase.js +0 -12
  258. package/src/Utilities/utils/merge.d.ts +0 -11
  259. package/src/Utilities/utils/merge.js +0 -44
  260. package/src/Utilities/utils/mergeWith.d.ts +0 -7
  261. package/src/Utilities/utils/mergeWith.js +0 -50
  262. package/src/Utilities/utils/orderBy.d.ts +0 -8
  263. package/src/Utilities/utils/orderBy.js +0 -33
  264. package/src/Utilities/utils/parseInt.d.ts +0 -6
  265. package/src/Utilities/utils/parseInt.js +0 -12
  266. package/src/Utilities/utils/sentenceCase.d.ts +0 -6
  267. package/src/Utilities/utils/sentenceCase.js +0 -19
  268. package/src/Utilities/utils/startCase.d.ts +0 -5
  269. package/src/Utilities/utils/startCase.js +0 -15
  270. package/src/Utilities/utils/throttle.d.ts +0 -17
  271. package/src/Utilities/utils/throttle.js +0 -23
  272. package/src/Utilities/utils/toNumber.d.ts +0 -5
  273. package/src/Utilities/utils/toNumber.js +0 -42
  274. package/src/Utilities/utils/uniq.d.ts +0 -7
  275. package/src/Utilities/utils/uniq.js +0 -12
  276. package/src/Utilities/utils/uniqBy.d.ts +0 -8
  277. package/src/Utilities/utils/uniqBy.js +0 -25
  278. package/src/Utilities/utils/words.d.ts +0 -7
  279. package/src/Utilities/utils/words.js +0 -13
  280. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarChartCellTextLayoutEditor.js +0 -40
  281. package/src/agGrid/buildValueAggregationMenuItem.d.ts +0 -19
  282. package/src/agGrid/buildValueAggregationMenuItem.js +0 -114
  283. package/src/agGrid/cellRenderers/shouldRenderStyledColumnOnRow.d.ts +0 -30
  284. package/src/agGrid/cellRenderers/shouldRenderStyledColumnOnRow.js +0 -58
  285. package/src/agGrid/createAgGridIcon.d.ts +0 -10
  286. package/src/agGrid/createAgGridIcon.js +0 -19
  287. /package/src/{Utilities → AdaptableState/Aggregations}/only.d.ts +0 -0
  288. /package/src/{Utilities → AdaptableState/Aggregations}/only.js +0 -0
  289. /package/src/{Utilities → AdaptableState/Aggregations}/weightedAverage.d.ts +0 -0
  290. /package/src/AdaptableState/StyledColumns/Common/{BarChartMarker.js → BarStyleProperties.js} +0 -0
  291. /package/src/Utilities/Helpers/{ActionColumnWidthHelper.d.ts → ActionColumnHelper.d.ts} +0 -0
  292. /package/src/Utilities/Helpers/{ActionColumnWidthHelper.js → ActionColumnHelper.js} +0 -0
  293. /package/src/Utilities/Helpers/{alertFormHelper.d.ts → AlertHelper.d.ts} +0 -0
  294. /package/src/Utilities/Helpers/{chartingHelper.d.ts → ChartHelper.d.ts} +0 -0
  295. /package/src/Utilities/Helpers/{chartingHelper.js → ChartHelper.js} +0 -0
  296. /package/src/Utilities/Helpers/{FormatHelper.d.ts → DisplayFormatHelper.d.ts} +0 -0
  297. /package/src/Utilities/Helpers/{plusMinusTriggerKeys.d.ts → PlusMinusHelper.d.ts} +0 -0
  298. /package/src/Utilities/Helpers/{plusMinusTriggerKeys.js → PlusMinusHelper.js} +0 -0
  299. /package/src/Utilities/Helpers/{QuickSearchStyleHelper.d.ts → QuickSearchHelper.d.ts} +0 -0
  300. /package/src/Utilities/Helpers/{ScheduleJobManager.js → Scheduling/ScheduleJobManager.js} +0 -0
  301. /package/src/Utilities/Helpers/{ScheduleJobRunner.js → Scheduling/ScheduleJobRunner.js} +0 -0
  302. /package/src/Utilities/Helpers/{SparklineOptionsHelper.d.ts → StyledColumns/SparklineStyleHelper.d.ts} +0 -0
  303. /package/src/Utilities/Helpers/{ThemeHelpers.d.ts → ThemeHelper.d.ts} +0 -0
  304. /package/src/Utilities/Helpers/{ThemeHelpers.js → ThemeHelper.js} +0 -0
package/index.css CHANGED
@@ -582,9 +582,6 @@
582
582
  .twa\:inline-flex {
583
583
  display: inline-flex;
584
584
  }
585
- .twa\:inline-grid {
586
- display: inline-grid;
587
- }
588
585
  .twa\:field-sizing-content {
589
586
  field-sizing: content;
590
587
  }
@@ -801,15 +798,15 @@
801
798
  .twa\:min-h-\[300px\] {
802
799
  min-height: 300px;
803
800
  }
801
+ .twa\:min-h-\[500px\] {
802
+ min-height: 500px;
803
+ }
804
804
  .twa\:min-h-auto {
805
805
  min-height: auto;
806
806
  }
807
807
  .twa\:min-h-auto\! {
808
808
  min-height: auto !important;
809
809
  }
810
- .twa\:min-h-full {
811
- min-height: 100%;
812
- }
813
810
  .twa\:min-h-input {
814
811
  min-height: var(--ab-input-height);
815
812
  }
@@ -1274,9 +1271,6 @@
1274
1271
  .twa\:grid-cols-\[4\.5rem_1fr\] {
1275
1272
  grid-template-columns: 4.5rem 1fr;
1276
1273
  }
1277
- .twa\:grid-cols-\[160px_140px_140px\] {
1278
- grid-template-columns: 160px 140px 140px;
1279
- }
1280
1274
  .twa\:grid-cols-\[auto_1fr\] {
1281
1275
  grid-template-columns: auto 1fr;
1282
1276
  }
@@ -1915,6 +1909,9 @@
1915
1909
  .twa\:pt-0 {
1916
1910
  padding-top: 0;
1917
1911
  }
1912
+ .twa\:pt-0\! {
1913
+ padding-top: 0 !important;
1914
+ }
1918
1915
  .twa\:pt-0\.5 {
1919
1916
  padding-top: calc(var(--ab-base-space) * 0.5);
1920
1917
  }
@@ -5852,7 +5849,18 @@
5852
5849
  --ab-icon-fill: currentColor;
5853
5850
  --ab-custom-scrollbar-size: 10px;
5854
5851
  --ab-grid-row-height: 35px;
5855
- --ab-cmp-column-tag__background: #d8e0e8;
5852
+ --ab-cmp-column-tag__background: var(--ab-color-primary);
5853
+ }
5854
+ @supports (color: color-mix(in lab, red, red)) {
5855
+ :root {
5856
+ --ab-cmp-column-tag__background: color-mix(
5857
+ in srgb,
5858
+ var(--ab-color-primary) 80%,
5859
+ var(--ab-color-accent)
5860
+ );
5861
+ }
5862
+ }
5863
+ :root {
5856
5864
  --ab-cmp-column-tag__foreground: var(--ab-color-primary-foreground);
5857
5865
  --ab-loaded: 777;
5858
5866
  --ab_flex-direction: column;
@@ -7488,7 +7496,7 @@
7488
7496
  .ab-Tag {
7489
7497
  max-width: 100%;
7490
7498
  }
7491
- .ab-Tag.ab-Tag--column {
7499
+ .ab-Tag--column {
7492
7500
  background: var(--ab-cmp-column-tag__background);
7493
7501
  color: var(--ab-cmp-column-tag__foreground, inherit);
7494
7502
  }
@@ -8009,50 +8017,17 @@
8009
8017
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 24%, transparent);
8010
8018
  }
8011
8019
  }
8012
- .ab-SimpleButton.ab-ObjectListActionButton--edit {
8013
- background-color: var(--ab-color-action-edit) !important;
8014
- }
8015
- @supports (color: color-mix(in lab, red, red)) {
8016
- .ab-SimpleButton.ab-ObjectListActionButton--edit {
8017
- background-color: color-mix(in srgb, var(--ab-color-action-edit) 14%, var(--ab-color-muted)) !important;
8018
- }
8019
- }
8020
- .ab-SimpleButton.ab-ObjectListActionButton--edit {
8021
- color: var(--ab-color-action-edit);
8022
- }
8023
- .ab-SimpleButton.ab-ObjectListActionButton--suspend {
8020
+ .ab-SimpleButton.ab-ObjectListActionButton--edit, .ab-SimpleButton.ab-ObjectListActionButton--suspend, .ab-SimpleButton.ab-ObjectListActionButton--delete, .ab-SimpleButton.ab-ObjectListActionButton--share, .ab-SimpleButton.ab-ObjectListActionButton--clone {
8024
8021
  background-color: var(--ab-color-primary-foreground) !important;
8025
8022
  }
8026
8023
  @supports (color: color-mix(in lab, red, red)) {
8027
- .ab-SimpleButton.ab-ObjectListActionButton--suspend {
8024
+ .ab-SimpleButton.ab-ObjectListActionButton--edit, .ab-SimpleButton.ab-ObjectListActionButton--suspend, .ab-SimpleButton.ab-ObjectListActionButton--delete, .ab-SimpleButton.ab-ObjectListActionButton--share, .ab-SimpleButton.ab-ObjectListActionButton--clone {
8028
8025
  background-color: color-mix( in srgb, var(--ab-color-primary-foreground) 10%, var(--ab-color-muted) ) !important;
8029
8026
  }
8030
8027
  }
8031
- .ab-SimpleButton.ab-ObjectListActionButton--suspend {
8028
+ .ab-SimpleButton.ab-ObjectListActionButton--edit, .ab-SimpleButton.ab-ObjectListActionButton--suspend, .ab-SimpleButton.ab-ObjectListActionButton--delete, .ab-SimpleButton.ab-ObjectListActionButton--share, .ab-SimpleButton.ab-ObjectListActionButton--clone {
8032
8029
  color: var(--ab-color-primary-foreground);
8033
8030
  }
8034
- .ab-SimpleButton.ab-ObjectListActionButton--delete {
8035
- background-color: var(--ab-color-action-delete) !important;
8036
- }
8037
- @supports (color: color-mix(in lab, red, red)) {
8038
- .ab-SimpleButton.ab-ObjectListActionButton--delete {
8039
- background-color: color-mix(in srgb, var(--ab-color-action-delete) 14%, var(--ab-color-muted)) !important;
8040
- }
8041
- }
8042
- .ab-SimpleButton.ab-ObjectListActionButton--delete {
8043
- color: var(--ab-color-action-delete);
8044
- }
8045
- .ab-SimpleButton.ab-ObjectListActionButton--share {
8046
- background-color: var(--ab-color-action-share) !important;
8047
- }
8048
- @supports (color: color-mix(in lab, red, red)) {
8049
- .ab-SimpleButton.ab-ObjectListActionButton--share {
8050
- background-color: color-mix(in srgb, var(--ab-color-action-share) 14%, var(--ab-color-muted)) !important;
8051
- }
8052
- }
8053
- .ab-SimpleButton.ab-ObjectListActionButton--share {
8054
- color: var(--ab-color-action-share);
8055
- }
8056
8031
  .ab-SimpleButton.ab-ObjectListActionButton:hover:not(:disabled) {
8057
8032
  box-shadow: inset 0 0 0 1px currentColor;
8058
8033
  }
@@ -9007,11 +8982,16 @@
9007
8982
  .ab--theme-dark {
9008
8983
  --ab-color-secondary: oklch(0.269 0 0);
9009
8984
  --ab-color-secondary-foreground: oklch(0.985 0 0);
9010
- --ab-color-destructive: oklch(0.396 0.141 25.723);
9011
- --ab-color-destructive-foreground: oklch(0.637 0.237 25.331);
9012
8985
  --ab-color-border: oklch(0.269 0 0);
9013
8986
  --ab-theme-loaded: dark;
9014
- --ab-color-input-background: color-mix(in srgb, var(--ab-color-background) 95%, black);
8987
+ --ab-color-input-background: var(--ab-color-background);
8988
+ }
8989
+ @supports (color: color-mix(in lab, red, red)) {
8990
+ .ab--theme-dark {
8991
+ --ab-color-input-background: color-mix(in srgb, var(--ab-color-background) 95%, black);
8992
+ }
8993
+ }
8994
+ .ab--theme-dark {
9015
8995
  --ab-cmp-input--disabled__background: #232323;
9016
8996
  --ab-color-background: var(--ab-color-defaultbackground, #474c52);
9017
8997
  --ab-color-foreground: var(--ab-color-text-on-defaultbackground, #e2e2e2);
@@ -9021,13 +9001,18 @@
9021
9001
  --ab-color-primarydark: #1c2021;
9022
9002
  --ab-color-card: #51555a;
9023
9003
  --ab-color-card-foreground: var(--ab-color-foreground);
9024
- --ab-cmp-draggable-list-item__background: color-mix(
9004
+ --ab-cmp-draggable-list-item__background: var(--ab-color-primary);
9005
+ }
9006
+ @supports (color: color-mix(in lab, red, red)) {
9007
+ .ab--theme-dark {
9008
+ --ab-cmp-draggable-list-item__background: color-mix(
9025
9009
  in srgb,
9026
9010
  var(--ab-color-primary) 72%,
9027
9011
  var(--ab-color-primarylight)
9028
9012
  );
9029
- --ab-cmp-column-tag__background: #6f7882;
9030
- --ab-cmp-column-tag__foreground: var(--ab-color-primary-foreground);
9013
+ }
9014
+ }
9015
+ .ab--theme-dark {
9031
9016
  --ab-color-palette-1: #5c1a1a;
9032
9017
  --ab-color-palette-2: #ffb4b4;
9033
9018
  --ab-color-palette-3: #4a3b00;
@@ -9052,6 +9037,10 @@
9052
9037
  .ab--theme-dark input.ab-Input[type='number']::-webkit-outer-spin-button,.ab--theme-dark input.ab-Input[type='number']::-webkit-inner-spin-button {
9053
9038
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" viewBox="4 0 18 18" version="1.1"><path fill="%23f7f7f7" d="M7 10l5 5 5-5z" transform="translate(0, 2)"/><path fill="%23f7f7f7" d="M7 14l5-5 5 5z" transform="translate(0, -6)"/></svg>') no-repeat center center;
9054
9039
  }
9040
+ .ab--theme-dark input.ab-Input[type='time']::-webkit-calendar-picker-indicator,.ab--theme-dark input.ab-Input[type='date']::-webkit-calendar-picker-indicator,.ab--theme-dark input.ab-Input[type='datetime-local']::-webkit-calendar-picker-indicator,.ab--theme-dark input.ab-Input[type='month']::-webkit-calendar-picker-indicator,.ab--theme-dark input.ab-Input[type='week']::-webkit-calendar-picker-indicator {
9041
+ filter: invert(1);
9042
+ opacity: 0.85;
9043
+ }
9055
9044
  }
9056
9045
  @property --tw-translate-x {
9057
9046
  syntax: "*";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable-cjs",
3
- "version": "23.0.0-canary.8",
3
+ "version": "23.0.0",
4
4
  "description": "Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
5
5
  "keywords": [
6
6
  "web-components",
@@ -1,13 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.weightedAverage = exports.getNumericValue = void 0;
4
- const tslib_1 = require("tslib");
5
- const toNumber_1 = tslib_1.__importDefault(require("./utils/toNumber"));
4
+ const NumberExtensions_1 = require("../../Utilities/Extensions/NumberExtensions");
6
5
  const getNumericValue = (input) => {
7
6
  if (typeof input === 'number') {
8
7
  return input;
9
8
  }
10
- const numericValue = (0, toNumber_1.default)(input);
9
+ const numericValue = (0, NumberExtensions_1.toNumber)(input);
11
10
  return isNaN(numericValue) ? null : numericValue;
12
11
  };
13
12
  exports.getNumericValue = getNumericValue;
@@ -4,17 +4,10 @@ export declare enum MathOperation {
4
4
  Multiply = "Multiply",
5
5
  Divide = "Divide"
6
6
  }
7
- export declare enum ScheduleType {
8
- Reminder = "Reminder"
9
- }
10
7
  export declare enum SortOrder {
11
8
  Asc = "Asc",
12
9
  Desc = "Desc"
13
10
  }
14
- export declare enum SelectionMode {
15
- Multi = "Multi",
16
- Single = "Single"
17
- }
18
11
  export declare enum FontWeight {
19
12
  Normal = "Normal",
20
13
  Bold = "Bold"
@@ -49,8 +42,3 @@ export declare enum SummaryOperation {
49
42
  Std_Deviation = "Std Deviation",
50
43
  Only = "Only"
51
44
  }
52
- export declare enum ChangeDirection {
53
- Up = "Up",
54
- Down = "Down",
55
- Neutral = "Neutral"
56
- }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // General Enums
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.ChangeDirection = exports.SummaryOperation = exports.StatusColour = exports.FontSize = exports.FontStyle = exports.FontWeight = exports.SelectionMode = exports.SortOrder = exports.ScheduleType = exports.MathOperation = void 0;
4
+ exports.SummaryOperation = exports.StatusColour = exports.FontSize = exports.FontStyle = exports.FontWeight = exports.SortOrder = exports.MathOperation = void 0;
5
5
  var MathOperation;
6
6
  (function (MathOperation) {
7
7
  MathOperation["Add"] = "Add";
@@ -10,20 +10,11 @@ var MathOperation;
10
10
  MathOperation["Divide"] = "Divide";
11
11
  })(MathOperation || (exports.MathOperation = MathOperation = {}));
12
12
  // Enums used in Strategies
13
- var ScheduleType;
14
- (function (ScheduleType) {
15
- ScheduleType["Reminder"] = "Reminder";
16
- })(ScheduleType || (exports.ScheduleType = ScheduleType = {}));
17
13
  var SortOrder;
18
14
  (function (SortOrder) {
19
15
  SortOrder["Asc"] = "Asc";
20
16
  SortOrder["Desc"] = "Desc";
21
17
  })(SortOrder || (exports.SortOrder = SortOrder = {}));
22
- var SelectionMode;
23
- (function (SelectionMode) {
24
- SelectionMode["Multi"] = "Multi";
25
- SelectionMode["Single"] = "Single";
26
- })(SelectionMode || (exports.SelectionMode = SelectionMode = {}));
27
18
  var FontWeight;
28
19
  (function (FontWeight) {
29
20
  FontWeight["Normal"] = "Normal";
@@ -64,9 +55,3 @@ var SummaryOperation;
64
55
  SummaryOperation["Std_Deviation"] = "Std Deviation";
65
56
  SummaryOperation["Only"] = "Only";
66
57
  })(SummaryOperation || (exports.SummaryOperation = SummaryOperation = {}));
67
- var ChangeDirection;
68
- (function (ChangeDirection) {
69
- ChangeDirection["Up"] = "Up";
70
- ChangeDirection["Down"] = "Down";
71
- ChangeDirection["Neutral"] = "Neutral";
72
- })(ChangeDirection || (exports.ChangeDirection = ChangeDirection = {}));
@@ -1,8 +1,8 @@
1
1
  import * as Redux from 'redux';
2
- import { ModuleParams } from '../View/Components/SharedProps/ModuleViewPopupProps';
3
- import { AdaptableMenuItem, AdaptableContextMenuItemName, AdaptableColumnMenuItemName } from '../AdaptableState/Common/Menu';
4
- import { AdaptableModule } from '../AdaptableState/Common/Types';
5
- import { AdaptableIcon, AdaptableSystemIconName } from '../AdaptableState/Common/AdaptableIcon';
2
+ import { ModuleParams } from '../../View/Components/SharedProps/ModuleViewPopupProps';
3
+ import { AdaptableMenuItem, AdaptableContextMenuItemName, AdaptableColumnMenuItemName } from './Menu';
4
+ import { AdaptableModule } from './Types';
5
+ import { AdaptableIcon, AdaptableSystemIconName } from './AdaptableIcon';
6
6
  export declare class MenuItemDoReduxAction<MENU_TYPE_NAME extends AdaptableColumnMenuItemName | AdaptableContextMenuItemName = AdaptableColumnMenuItemName | AdaptableContextMenuItemName> implements AdaptableMenuItem<MENU_TYPE_NAME> {
7
7
  constructor(name: MENU_TYPE_NAME, label: string, module: AdaptableModule, reduxAction: Redux.Action, icon: AdaptableSystemIconName, isVisible: boolean);
8
8
  name: MENU_TYPE_NAME;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MenuItemShowPopup = exports.MenuItemDoClickFunction = exports.MenuItemDoReduxAction = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const PopupRedux = tslib_1.__importStar(require("../Redux/ActionsReducers/PopupRedux"));
5
+ const PopupRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/PopupRedux"));
6
6
  // A menu item which performs a Redux Action when it is clicke
7
7
  class MenuItemDoReduxAction {
8
8
  constructor(name, label, module, reduxAction, icon, isVisible) {
@@ -1,6 +1,6 @@
1
1
  import { CellFontStyle } from '../Common/AdaptableStyle';
2
- import { BarChartCellTextProperties } from './Common/BarChartCellText';
3
- import { BarChartMarker } from './Common/BarChartMarker';
2
+ import { BarStyleCellTextProperties } from './Common/BarStyleProperties';
3
+ import { BarStyleMarker } from './Common/BarStyleProperties';
4
4
  import { CellTextOptions } from './Common/CellTextOptions';
5
5
  import { NumericStyledColumn } from './Common/NumericStyledColumn';
6
6
  /**
@@ -61,7 +61,7 @@ export interface BulletChartStyle extends NumericStyledColumn {
61
61
  /**
62
62
  * Optional cell-text overlay configuration.
63
63
  */
64
- CellTextProperties?: BarChartCellTextProperties;
64
+ CellTextProperties?: BarStyleCellTextProperties;
65
65
  /**
66
66
  * Tooltip content - same tokens (`'CellValue'`, `'PercentageValue'`) as
67
67
  * Percent Bar.
@@ -119,7 +119,7 @@ export interface BulletChartTargetProperties {
119
119
  * When `Target` is an array, this style applies to all markers; pass a
120
120
  * `Target` object with its own `Marker` property to override per-marker.
121
121
  */
122
- Marker?: BarChartMarker;
122
+ Marker?: BarStyleMarker;
123
123
  }
124
124
  /**
125
125
  * A single Bullet Chart target. Either a primitive resolvable value (number /
@@ -139,7 +139,7 @@ export interface BulletChartTargetDefinition {
139
139
  /**
140
140
  * Per-target marker override. Falls back to `BulletChartTargetProperties.Marker`.
141
141
  */
142
- Marker?: BarChartMarker;
142
+ Marker?: BarStyleMarker;
143
143
  /**
144
144
  * Optional label displayed in the tooltip alongside the marker value.
145
145
  */
@@ -1,3 +1,27 @@
1
+ /**
2
+ * Marker primitives shared by bar-chart-style Styled Columns —
3
+ * Bullet Chart target markers and Range Bar value / reference markers.
4
+ */
5
+ /**
6
+ * Visual style of a marker drawn on a bar-chart-style track or bar — used by
7
+ * Bullet Chart target markers and Range Bar value / reference markers.
8
+ */
9
+ export interface BarStyleMarker {
10
+ /**
11
+ * Marker shape.
12
+ */
13
+ Shape?: 'Line' | 'Triangle' | 'Dot' | 'Diamond';
14
+ /**
15
+ * Marker colour. Defaults to the current text colour.
16
+ *
17
+ * @defaultValue 'var(--ab-color-text)'
18
+ */
19
+ Color?: string;
20
+ /**
21
+ * Line thickness (for `Shape: 'Line'`) or shape size in px.
22
+ */
23
+ Size?: number;
24
+ }
1
25
  /**
2
26
  * Per-value cell-text overlay layout shared by Percent Bar, Bullet Chart
3
27
  * and Range Bar styles. Each token (`CellValue`, `PercentValue`) can be
@@ -6,29 +30,29 @@
6
30
  /**
7
31
  * Horizontal alignment for cell text (Cell or Percent) in Percent, Range Bar & Bullet styles (Left, Center, Right)
8
32
  */
9
- export type BarChartCellTextHorizontalAlignment = 'Left' | 'Center' | 'Right';
33
+ export type BarStyleCellTextHorizontalAlignment = 'Left' | 'Center' | 'Right';
10
34
  /**
11
35
  * Vertical alignment for cell text value relative to bar/chart (Above, Below, Merged)
12
36
  */
13
- export type BarChartCellTextVerticalAlignment = 'Above' | 'Below' | 'Merged';
37
+ export type BarStyleCellTextVerticalAlignment = 'Above' | 'Below' | 'Merged';
14
38
  /**
15
39
  * Placement of cell text value (Cell or Percent) around the bar/chart
16
40
  *
17
41
  * @defaultValue `{ Horizontal: 'Left', Vertical: 'Below' }`
18
42
  */
19
- export interface BarChartCellTextPlacement {
43
+ export interface BarStyleCellTextPlacement {
20
44
  /**
21
45
  * Horizontal alignment within its vertical band.
22
46
  *
23
47
  * @defaultValue 'Left'
24
48
  */
25
- Horizontal?: BarChartCellTextHorizontalAlignment;
49
+ Horizontal?: BarStyleCellTextHorizontalAlignment;
26
50
  /**
27
51
  * Vertical position relative to the bar/chart.
28
52
  *
29
53
  * @defaultValue 'Below'
30
54
  */
31
- Vertical?: BarChartCellTextVerticalAlignment;
55
+ Vertical?: BarStyleCellTextVerticalAlignment;
32
56
  }
33
57
  /**
34
58
  * Per-value cell-text layout: each value (Cell Value, Percent Value) can be
@@ -38,23 +62,23 @@ export interface BarChartCellTextPlacement {
38
62
  * same horizontal slot at the same vertical position they are concatenated with
39
63
  * a single space (Cell Value first, then Percent Value).
40
64
  */
41
- export interface BarChartCellTextLayout {
65
+ export interface BarStyleCellTextLayout {
42
66
  /**
43
67
  * Placement of the formatted cell value.
44
68
  */
45
- CellValue?: BarChartCellTextPlacement;
69
+ CellValue?: BarStyleCellTextPlacement;
46
70
  /**
47
71
  * Placement of the percent value (the cell value's position along the bar's
48
72
  * `[min, max]` scale as a 0–100% reading).
49
73
  */
50
- PercentValue?: BarChartCellTextPlacement;
74
+ PercentValue?: BarStyleCellTextPlacement;
51
75
  }
52
76
  /**
53
77
  * Cell-text overlay configuration shared by Percent Bar, Range Bar and Bullet Chart.
54
78
  */
55
- export interface BarChartCellTextProperties {
79
+ export interface BarStyleCellTextProperties {
56
80
  /**
57
81
  * Per-value placement on the 3 × 3 grid around / on the bar/chart.
58
82
  */
59
- CellTextLayout?: BarChartCellTextLayout;
83
+ CellTextLayout?: BarStyleCellTextLayout;
60
84
  }
@@ -4,7 +4,7 @@ import { NumericStyledColumn } from './Common/NumericStyledColumn';
4
4
  /**
5
5
  * Colours for a zero-centred diverging gradient: negative and positive bands that meet at `0`
6
6
  */
7
- export interface GradientZeroCentredColors {
7
+ export interface ZeroCentredColors {
8
8
  /**
9
9
  * Colour applied to negative cell values (`Col-Min`…`0`)
10
10
  */
@@ -21,7 +21,7 @@ export interface GradientStyle extends NumericStyledColumn {
21
21
  /**
22
22
  * Zero-centred diverging gradient (`Col-Min`…`0` and `0`…`Col-Max`
23
23
  */
24
- ZeroCentred?: GradientZeroCentredColors;
24
+ ZeroCentred?: ZeroCentredColors;
25
25
  /**
26
26
  * Alpha (0–1) at **low** end of the matched range’s scale
27
27
  *
@@ -1,5 +1,5 @@
1
1
  import { CellFontStyle } from '../Common/AdaptableStyle';
2
- import { BarChartCellTextProperties } from './Common/BarChartCellText';
2
+ import { BarStyleCellTextProperties } from './Common/BarStyleProperties';
3
3
  import { CellTextOptions } from './Common/CellTextOptions';
4
4
  import { NumericStyledColumn } from './Common/NumericStyledColumn';
5
5
  /**
@@ -9,7 +9,7 @@ export interface PercentBarStyle extends NumericStyledColumn {
9
9
  /**
10
10
  * Optional cell-text overlay configuration (display tokens, position, layout, alignment).
11
11
  */
12
- CellTextProperties?: BarChartCellTextProperties;
12
+ CellTextProperties?: BarStyleCellTextProperties;
13
13
  /**
14
14
  * Whether Tooltip shows Cell Value, Percent Value, both or none
15
15
  */
@@ -1,5 +1,5 @@
1
- import { BarChartCellTextProperties } from './Common/BarChartCellText';
2
- import { BarChartMarker } from './Common/BarChartMarker';
1
+ import { BarStyleCellTextProperties } from './Common/BarStyleProperties';
2
+ import { BarStyleMarker } from './Common/BarStyleProperties';
3
3
  import { CellTextOptions } from './Common/CellTextOptions';
4
4
  import { DynamicRangeEndpoint, NumericStyledColumn } from './Common/NumericStyledColumn';
5
5
  /**
@@ -62,7 +62,7 @@ export interface RangeBarStyle extends NumericStyledColumn {
62
62
  *
63
63
  * @defaultValue `{ Shape: 'Diamond', Color: 'var(--ab-color-accent)', Size: 8 }`
64
64
  */
65
- Marker?: BarChartMarker;
65
+ Marker?: BarStyleMarker;
66
66
  /**
67
67
  * Behaviour when the cell value falls outside `[Min, Max]`, plus the
68
68
  * optional marker colour override used by `Mode: 'Clamp'`.
@@ -88,7 +88,7 @@ export interface RangeBarStyle extends NumericStyledColumn {
88
88
  /**
89
89
  * Optional cell-text overlay configuration.
90
90
  */
91
- CellTextProperties?: BarChartCellTextProperties;
91
+ CellTextProperties?: BarStyleCellTextProperties;
92
92
  /**
93
93
  * Tooltip content — same tokens (`'CellValue'`, `'PercentageValue'`)
94
94
  * as Percent Bar / Bullet Chart.
@@ -110,7 +110,7 @@ export interface RangeBarReferenceProperties {
110
110
  *
111
111
  * @defaultValue `{ Shape: 'Line', Color: 'var(--ab-color-foreground)', Size: 2 }`
112
112
  */
113
- Marker?: BarChartMarker;
113
+ Marker?: BarStyleMarker;
114
114
  }
115
115
  /**
116
116
  * Out-of-range behaviour for a Range Bar.
@@ -12,7 +12,7 @@ const AdaptableAlert_1 = require("../../AdaptableState/Common/AdaptableAlert");
12
12
  const StringExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/StringExtensions"));
13
13
  const AlertInternalApi_1 = require("../Internal/AlertInternalApi");
14
14
  const resolveContainerElement_1 = require("../../Utilities/resolveContainerElement");
15
- const ScheduledAlertHelper_1 = require("../../Utilities/Helpers/ScheduledAlertHelper");
15
+ const ScheduledAlertHelper_1 = require("../../Utilities/Helpers/Scheduling/ScheduledAlertHelper");
16
16
  class AlertApiImpl extends ApiBase_1.ApiBase {
17
17
  internalApi;
18
18
  constructor(_adaptable) {
@@ -8,7 +8,7 @@ const ChartingRedux_1 = require("./../../Redux/ActionsReducers/ChartingRedux");
8
8
  const StringExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/StringExtensions"));
9
9
  const ChartingInternalApi_1 = require("../Internal/ChartingInternalApi");
10
10
  const ObjectFactory_1 = tslib_1.__importDefault(require("../../Utilities/ObjectFactory"));
11
- const chartingHelper_1 = require("../../Utilities/Helpers/chartingHelper");
11
+ const ChartHelper_1 = require("../../Utilities/Helpers/ChartHelper");
12
12
  class ChartingApiImpl extends ApiBase_1.ApiBase {
13
13
  /**
14
14
  * @internal
@@ -76,7 +76,7 @@ class ChartingApiImpl extends ApiBase_1.ApiBase {
76
76
  }
77
77
  }
78
78
  editChartDefinition(editedChartDefinition) {
79
- const nameValidation = (0, chartingHelper_1.validateChartName)(this.getAdaptableApi(), editedChartDefinition.Name, editedChartDefinition.Uuid);
79
+ const nameValidation = (0, ChartHelper_1.validateChartName)(this.getAdaptableApi(), editedChartDefinition.Name, editedChartDefinition.Uuid);
80
80
  if (nameValidation !== true) {
81
81
  this.getAdatableLogger().consoleLogByMessageType(nameValidation, 'Warning');
82
82
  return;
@@ -88,7 +88,7 @@ class ChartingApiImpl extends ApiBase_1.ApiBase {
88
88
  this._adaptable.updateChart(chartDefinition);
89
89
  }
90
90
  addChartDefinition(chart) {
91
- const nameValidation = (0, chartingHelper_1.validateChartName)(this.getAdaptableApi(), chart.Name, chart.Uuid);
91
+ const nameValidation = (0, ChartHelper_1.validateChartName)(this.getAdaptableApi(), chart.Name, chart.Uuid);
92
92
  if (nameValidation !== true) {
93
93
  this.getAdatableLogger().consoleLogByMessageType(nameValidation, 'Warning');
94
94
  return;
@@ -130,7 +130,7 @@ class ChartingApiImpl extends ApiBase_1.ApiBase {
130
130
  const saveChartBehaviour = options?.saveChartBehaviour ?? 'manual';
131
131
  const chartName = chartDefinition.Name?.trim() || this.internalApi.getUniqueChartName();
132
132
  if (saveChartBehaviour === 'auto') {
133
- const nameValidation = (0, chartingHelper_1.validateChartName)(this.getAdaptableApi(), chartName, chartDefinition.Uuid);
133
+ const nameValidation = (0, ChartHelper_1.validateChartName)(this.getAdaptableApi(), chartName, chartDefinition.Uuid);
134
134
  if (nameValidation !== true) {
135
135
  this.getAdatableLogger().consoleLogByMessageType(nameValidation, 'Warning');
136
136
  return;
@@ -190,7 +190,7 @@ class ChartingApiImpl extends ApiBase_1.ApiBase {
190
190
  }
191
191
  }
192
192
  editExternalChartDefinition(chartDefinition) {
193
- const nameValidation = (0, chartingHelper_1.validateChartName)(this.getAdaptableApi(), chartDefinition.Name, chartDefinition.Uuid);
193
+ const nameValidation = (0, ChartHelper_1.validateChartName)(this.getAdaptableApi(), chartDefinition.Name, chartDefinition.Uuid);
194
194
  if (nameValidation !== true) {
195
195
  this.getAdatableLogger().consoleLogByMessageType(nameValidation, 'Warning');
196
196
  return;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ExportApiImpl = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const ExportRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/ExportRedux"));
6
- const ScheduledReportHelper_1 = require("../../Utilities/Helpers/ScheduledReportHelper");
6
+ const ScheduledReportHelper_1 = require("../../Utilities/Helpers/Scheduling/ScheduledReportHelper");
7
7
  const ApiBase_1 = require("./ApiBase");
8
8
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
9
9
  const ExportInternalApi_1 = require("../Internal/ExportInternalApi");
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isPivotLayout = exports.pivotLayoutModelToPivotLayout = exports.tableLayoutModelToTableLayout = exports.pivotLayoutToPivotLayoutModel = exports.tableLayoutToTableLayoutModel = exports.checkForDuplicateColumns = exports.toRowGroupValuesForLayoutModel = exports.toRowGroupValuesForLayoutState = exports.getLayoutRowGroupValuesExceptionGroupKeys = exports.resetLayoutHelperErrorOnceMessages = exports.normalizePivotLayout = exports.normalizeTableLayout = exports.normalizeLayout = exports.areLayoutsEqual = exports.layoutModelToLayoutState = exports.layoutStateToLayoutModel = void 0;
4
4
  exports.columnWidthsToColumnSizing = columnWidthsToColumnSizing;
5
- const tslib_1 = require("tslib");
6
- const isEqual_1 = tslib_1.__importDefault(require("../../Utilities/utils/isEqual"));
5
+ const ObjectExtensions_1 = require("../../Utilities/Extensions/ObjectExtensions");
7
6
  const isPivotLayoutModel_1 = require("../../layout-manager/src/isPivotLayoutModel");
8
7
  const normalizeLayoutModel_1 = require("../../layout-manager/src/normalizeLayoutModel");
9
8
  const simplifyLayoutModel_1 = require("../../layout-manager/src/simplifyLayoutModel");
@@ -69,7 +68,7 @@ const areLayoutsEqual = (layout1, layout2) => {
69
68
  if (!layout1 || !layout2) {
70
69
  return false;
71
70
  }
72
- return (0, isEqual_1.default)((0, exports.normalizeLayout)(layout1), (0, exports.normalizeLayout)(layout2));
71
+ return (0, ObjectExtensions_1.isEqual)((0, exports.normalizeLayout)(layout1), (0, exports.normalizeLayout)(layout2));
73
72
  };
74
73
  exports.areLayoutsEqual = areLayoutsEqual;
75
74
  const normalizeLayout = (layout, options) => {
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const QuickSearchRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/QuickSearchRedux"));
6
6
  const InternalRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/InternalRedux"));
7
7
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
8
- const QuickSearchStyleHelper_1 = require("../../Utilities/Helpers/QuickSearchStyleHelper");
8
+ const QuickSearchHelper_1 = require("../../Utilities/Helpers/QuickSearchHelper");
9
9
  const ApiBase_1 = require("./ApiBase");
10
10
  class QuickSearchApiImpl extends ApiBase_1.ApiBase {
11
11
  getQuickSearchState() {
@@ -27,13 +27,13 @@ class QuickSearchApiImpl extends ApiBase_1.ApiBase {
27
27
  return this.getQuickSearchState().QuickSearchText;
28
28
  }
29
29
  getQuickSearchCellMatchStyle() {
30
- return (0, QuickSearchStyleHelper_1.resolveQuickSearchCellMatchStyle)(this.getQuickSearchState());
30
+ return (0, QuickSearchHelper_1.resolveQuickSearchCellMatchStyle)(this.getQuickSearchState());
31
31
  }
32
32
  getQuickSearchTextMatchStyle() {
33
- return (0, QuickSearchStyleHelper_1.resolveQuickSearchTextMatchStyle)(this.getQuickSearchState());
33
+ return (0, QuickSearchHelper_1.resolveQuickSearchTextMatchStyle)(this.getQuickSearchState());
34
34
  }
35
35
  getQuickSearchCurrentTextMatchStyle() {
36
- return (0, QuickSearchStyleHelper_1.resolveQuickSearchCurrentTextMatchStyle)(this.getQuickSearchState());
36
+ return (0, QuickSearchHelper_1.resolveQuickSearchCurrentTextMatchStyle)(this.getQuickSearchState());
37
37
  }
38
38
  setQuickSearchCellMatchStyle(style) {
39
39
  this.dispatchAction(QuickSearchRedux.QuickSearchSetCellMatchingStyle(style));
@@ -8,7 +8,7 @@ const ApiBase_1 = require("./ApiBase");
8
8
  const ThemeInternalApi_1 = require("../Internal/ThemeInternalApi");
9
9
  const AdaptableHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/AdaptableHelper"));
10
10
  const logDeprecation_1 = require("../../Utilities/logDeprecation");
11
- const ThemeHelpers_1 = require("../../Utilities/Helpers/ThemeHelpers");
11
+ const ThemeHelper_1 = require("../../Utilities/Helpers/ThemeHelper");
12
12
  class ThemeApiImpl extends ApiBase_1.ApiBase {
13
13
  internalApi;
14
14
  constructor(_adaptable) {
@@ -43,7 +43,7 @@ class ThemeApiImpl extends ApiBase_1.ApiBase {
43
43
  }
44
44
  getSystemThemes() {
45
45
  const themes = this.getAdaptableState().Theme.SystemThemes ?? [];
46
- return themes.map((theme) => (0, ThemeHelpers_1.systemThemeEntryToAdaptableTheme)(theme, this._adaptable.logger));
46
+ return themes.map((theme) => (0, ThemeHelper_1.systemThemeEntryToAdaptableTheme)(theme, this._adaptable.logger));
47
47
  }
48
48
  applyCurrentTheme() {
49
49
  const currentThemeName = this.getCurrentTheme();
@@ -5,7 +5,7 @@ const ApiBase_1 = require("../Implementation/ApiBase");
5
5
  const Uuid_1 = require("../../AdaptableState/Uuid");
6
6
  const ActionColumnRenderer_1 = require("../../agGrid/cellRenderers/ActionColumnRenderer");
7
7
  const AdaptableColumn_1 = require("../../AdaptableState/Common/AdaptableColumn");
8
- const ActionColumnWidthHelper_1 = require("../../Utilities/Helpers/ActionColumnWidthHelper");
8
+ const ActionColumnHelper_1 = require("../../Utilities/Helpers/ActionColumnHelper");
9
9
  class ActionColumnInternalApi extends ApiBase_1.ApiBase {
10
10
  getColDefsForActionColumns() {
11
11
  const defaultSpecialColumnSettings = this.getGridApi().internalApi.deriveSpecialColumnSettingsFromAgGridDefaultColDef();
@@ -25,7 +25,7 @@ class ActionColumnInternalApi extends ApiBase_1.ApiBase {
25
25
  const actionButtons = Array.isArray(actionColumn.actionColumnButton)
26
26
  ? actionColumn.actionColumnButton
27
27
  : [actionColumn.actionColumnButton];
28
- const resolvedWidth = (0, ActionColumnWidthHelper_1.calculateActionColumnWidth)(actionColumn, actionButtons);
28
+ const resolvedWidth = (0, ActionColumnHelper_1.calculateActionColumnWidth)(actionColumn, actionButtons);
29
29
  const newColDef = {
30
30
  headerName: actionColumn.friendlyName ? actionColumn.friendlyName : actionColumn.columnId,
31
31
  colId: actionColumn.columnId,