@adaptabletools/adaptable-cjs 23.0.0-canary.8 → 23.0.0-canary.9

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 (276) hide show
  1. package/index.css +29 -14
  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/ColumnFilter/components/ColumnFilterInput.js +2 -2
  124. package/src/View/Components/ColumnFilter/components/ColumnFilterInputList.js +2 -2
  125. package/src/View/Components/ColumnFilter/components/FloatingFilterInputList.js +2 -2
  126. package/src/View/Components/Forms/AdaptableFormControlTextClear.js +2 -1
  127. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -2
  128. package/src/View/Components/Popups/AdaptablePopupAlert.js +2 -2
  129. package/src/View/Components/Popups/Utilities.js +5 -5
  130. package/src/View/Components/RangesComponent.d.ts +3 -3
  131. package/src/View/Components/RangesComponent.js +5 -9
  132. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +3 -3
  133. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +2 -3
  134. package/src/View/Dashboard/CustomDashboardButton.js +2 -3
  135. package/src/View/Dashboard/Dashboard.js +2 -2
  136. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +2 -2
  137. package/src/View/DataChangeHistory/DataChangeHistoryTable.js +2 -2
  138. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +2 -2
  139. package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +2 -2
  140. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +13 -13
  141. package/src/View/FormatColumn/Wizard/FormatColumnPreview.js +4 -4
  142. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +2 -2
  143. package/src/View/Layout/LayoutViewPanel.js +2 -2
  144. package/src/View/Note/NoteEditor.js +2 -2
  145. package/src/View/Note/NotePopup.js +2 -2
  146. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +7 -7
  147. package/src/View/QuickSearch/QuickSearchPopup.js +4 -4
  148. package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -3
  149. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +1 -1
  150. package/src/View/SpecialColumnSettingsWizardStep.js +2 -2
  151. package/src/View/StyledColumn/Wizard/StyledColumnWizardBulletSection.js +16 -20
  152. package/src/View/StyledColumn/Wizard/StyledColumnWizardGradientSection.js +8 -8
  153. package/src/View/StyledColumn/Wizard/StyledColumnWizardIconSection.js +4 -4
  154. package/src/View/StyledColumn/Wizard/StyledColumnWizardRangeBarSection.js +14 -16
  155. package/src/View/StyledColumn/Wizard/StyledColumnWizardScopeSection.js +14 -14
  156. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/{BarChartCellTextLayoutEditor.d.ts → BarStyleCellTextLayoutEditor.d.ts} +4 -4
  157. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarStyleCellTextLayoutEditor.js +37 -0
  158. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/{BarChartCellTextPreview.d.ts → BarStyleCellTextPreview.d.ts} +6 -6
  159. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/{BarChartCellTextPreview.js → BarStyleCellTextPreview.js} +9 -9
  160. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/GradientSummaryPreview.d.ts +2 -2
  161. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/GradientSummaryPreview.js +7 -9
  162. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBulletPreview.js +7 -7
  163. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnGradientPreview.js +4 -4
  164. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnPercentBarPreview.js +19 -17
  165. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnRangeBarPreview.js +7 -7
  166. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnSparklinePreview.js +2 -2
  167. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +11 -15
  168. package/src/View/UIHelper.js +1 -1
  169. package/src/View/Wizard/OnePageAdaptableWizard.js +2 -2
  170. package/src/View/Wizard/OnePageWizards.js +3 -1
  171. package/src/agGrid/AdaptableAgGrid.js +11 -11
  172. package/src/agGrid/AgGridColumnAdapter.js +30 -29
  173. package/src/agGrid/AgGridExportAdapter.js +3 -3
  174. package/src/agGrid/AgGridMenuAdapter.js +129 -4
  175. package/src/agGrid/cellRenderers/BadgeRenderer.js +2 -2
  176. package/src/agGrid/cellRenderers/BulletChartRenderer.js +8 -8
  177. package/src/agGrid/cellRenderers/IconRenderer.js +7 -8
  178. package/src/agGrid/cellRenderers/PercentBarRenderer.js +9 -9
  179. package/src/agGrid/cellRenderers/RangeBarRenderer.js +10 -11
  180. package/src/agGrid/cellRenderers/RatingRenderer.js +6 -6
  181. package/src/agGrid/editors/AdaptableDateEditor/index.js +3 -3
  182. package/src/components/ColorPicker/ColorPicker.js +2 -2
  183. package/src/components/Datepicker/index.js +2 -2
  184. package/src/components/FormLayout/index.js +2 -2
  185. package/src/components/OverlayTrigger/index.js +2 -2
  186. package/src/env.js +2 -2
  187. package/src/layout-manager/src/isLayoutEqual.js +4 -5
  188. package/src/metamodel/adaptable.metamodel.d.ts +41 -8
  189. package/src/metamodel/adaptable.metamodel.js +1 -1
  190. package/src/migration/VersionUpgrade23.js +2 -2
  191. package/src/types.d.ts +3 -3
  192. package/tsconfig.cjs.tsbuildinfo +1 -1
  193. package/src/AdaptableState/StyledColumns/Common/BarChartCellText.js +0 -7
  194. package/src/AdaptableState/StyledColumns/Common/BarChartMarker.d.ts +0 -24
  195. package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +0 -3
  196. package/src/Utilities/Helpers/barChartCellText.d.ts +0 -63
  197. package/src/Utilities/Helpers/iconStyledColumnColumnSupport.d.ts +0 -5
  198. package/src/Utilities/Helpers/iconStyledColumnColumnSupport.js +0 -18
  199. package/src/Utilities/Helpers/resolveSettingsPanelNavigation.d.ts +0 -3
  200. package/src/Utilities/Helpers/resolveSettingsPanelNavigation.js +0 -19
  201. package/src/Utilities/Helpers/styledColumnRowKindSupport.d.ts +0 -25
  202. package/src/Utilities/Helpers/styledColumnRowKindSupport.js +0 -70
  203. package/src/Utilities/Services/CalculatedColumnSyntheticChange.d.ts +0 -4
  204. package/src/Utilities/Services/CalculatedColumnSyntheticChange.js +0 -120
  205. package/src/Utilities/utils/chunk.d.ts +0 -6
  206. package/src/Utilities/utils/chunk.js +0 -20
  207. package/src/Utilities/utils/clamp.d.ts +0 -5
  208. package/src/Utilities/utils/clamp.js +0 -10
  209. package/src/Utilities/utils/cloneDeepWith.d.ts +0 -9
  210. package/src/Utilities/utils/cloneDeepWith.js +0 -70
  211. package/src/Utilities/utils/debounce.d.ts +0 -20
  212. package/src/Utilities/utils/flatten.d.ts +0 -5
  213. package/src/Utilities/utils/flatten.js +0 -10
  214. package/src/Utilities/utils/flattenDeep.d.ts +0 -5
  215. package/src/Utilities/utils/flattenDeep.js +0 -10
  216. package/src/Utilities/utils/get.d.ts +0 -6
  217. package/src/Utilities/utils/get.js +0 -38
  218. package/src/Utilities/utils/index.d.ts +0 -22
  219. package/src/Utilities/utils/index.js +0 -48
  220. package/src/Utilities/utils/isArray.d.ts +0 -6
  221. package/src/Utilities/utils/isArray.js +0 -8
  222. package/src/Utilities/utils/isEqual.d.ts +0 -5
  223. package/src/Utilities/utils/isEqual.js +0 -127
  224. package/src/Utilities/utils/isObject.d.ts +0 -6
  225. package/src/Utilities/utils/isObject.js +0 -12
  226. package/src/Utilities/utils/isPlainObject.d.ts +0 -6
  227. package/src/Utilities/utils/isPlainObject.js +0 -20
  228. package/src/Utilities/utils/kebabCase.d.ts +0 -5
  229. package/src/Utilities/utils/kebabCase.js +0 -12
  230. package/src/Utilities/utils/merge.d.ts +0 -11
  231. package/src/Utilities/utils/merge.js +0 -44
  232. package/src/Utilities/utils/mergeWith.d.ts +0 -7
  233. package/src/Utilities/utils/mergeWith.js +0 -50
  234. package/src/Utilities/utils/orderBy.d.ts +0 -8
  235. package/src/Utilities/utils/orderBy.js +0 -33
  236. package/src/Utilities/utils/parseInt.d.ts +0 -6
  237. package/src/Utilities/utils/parseInt.js +0 -12
  238. package/src/Utilities/utils/sentenceCase.d.ts +0 -6
  239. package/src/Utilities/utils/sentenceCase.js +0 -19
  240. package/src/Utilities/utils/startCase.d.ts +0 -5
  241. package/src/Utilities/utils/startCase.js +0 -15
  242. package/src/Utilities/utils/throttle.d.ts +0 -17
  243. package/src/Utilities/utils/throttle.js +0 -23
  244. package/src/Utilities/utils/toNumber.d.ts +0 -5
  245. package/src/Utilities/utils/toNumber.js +0 -42
  246. package/src/Utilities/utils/uniq.d.ts +0 -7
  247. package/src/Utilities/utils/uniq.js +0 -12
  248. package/src/Utilities/utils/uniqBy.d.ts +0 -8
  249. package/src/Utilities/utils/uniqBy.js +0 -25
  250. package/src/Utilities/utils/words.d.ts +0 -7
  251. package/src/Utilities/utils/words.js +0 -13
  252. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarChartCellTextLayoutEditor.js +0 -40
  253. package/src/agGrid/buildValueAggregationMenuItem.d.ts +0 -19
  254. package/src/agGrid/buildValueAggregationMenuItem.js +0 -114
  255. package/src/agGrid/cellRenderers/shouldRenderStyledColumnOnRow.d.ts +0 -30
  256. package/src/agGrid/cellRenderers/shouldRenderStyledColumnOnRow.js +0 -58
  257. package/src/agGrid/createAgGridIcon.d.ts +0 -10
  258. package/src/agGrid/createAgGridIcon.js +0 -19
  259. /package/src/{Utilities → AdaptableState/Aggregations}/only.d.ts +0 -0
  260. /package/src/{Utilities → AdaptableState/Aggregations}/only.js +0 -0
  261. /package/src/{Utilities → AdaptableState/Aggregations}/weightedAverage.d.ts +0 -0
  262. /package/src/AdaptableState/StyledColumns/Common/{BarChartMarker.js → BarStyleProperties.js} +0 -0
  263. /package/src/Utilities/Helpers/{ActionColumnWidthHelper.d.ts → ActionColumnHelper.d.ts} +0 -0
  264. /package/src/Utilities/Helpers/{ActionColumnWidthHelper.js → ActionColumnHelper.js} +0 -0
  265. /package/src/Utilities/Helpers/{alertFormHelper.d.ts → AlertHelper.d.ts} +0 -0
  266. /package/src/Utilities/Helpers/{chartingHelper.d.ts → ChartHelper.d.ts} +0 -0
  267. /package/src/Utilities/Helpers/{chartingHelper.js → ChartHelper.js} +0 -0
  268. /package/src/Utilities/Helpers/{FormatHelper.d.ts → DisplayFormatHelper.d.ts} +0 -0
  269. /package/src/Utilities/Helpers/{plusMinusTriggerKeys.d.ts → PlusMinusHelper.d.ts} +0 -0
  270. /package/src/Utilities/Helpers/{plusMinusTriggerKeys.js → PlusMinusHelper.js} +0 -0
  271. /package/src/Utilities/Helpers/{QuickSearchStyleHelper.d.ts → QuickSearchHelper.d.ts} +0 -0
  272. /package/src/Utilities/Helpers/{ScheduleJobManager.js → Scheduling/ScheduleJobManager.js} +0 -0
  273. /package/src/Utilities/Helpers/{ScheduleJobRunner.js → Scheduling/ScheduleJobRunner.js} +0 -0
  274. /package/src/Utilities/Helpers/{SparklineOptionsHelper.d.ts → StyledColumns/SparklineStyleHelper.d.ts} +0 -0
  275. /package/src/Utilities/Helpers/{ThemeHelpers.d.ts → ThemeHelper.d.ts} +0 -0
  276. /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
  }
@@ -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
  }
@@ -5852,7 +5846,18 @@
5852
5846
  --ab-icon-fill: currentColor;
5853
5847
  --ab-custom-scrollbar-size: 10px;
5854
5848
  --ab-grid-row-height: 35px;
5855
- --ab-cmp-column-tag__background: #d8e0e8;
5849
+ --ab-cmp-column-tag__background: var(--ab-color-primary);
5850
+ }
5851
+ @supports (color: color-mix(in lab, red, red)) {
5852
+ :root {
5853
+ --ab-cmp-column-tag__background: color-mix(
5854
+ in srgb,
5855
+ var(--ab-color-primary) 80%,
5856
+ var(--ab-color-accent)
5857
+ );
5858
+ }
5859
+ }
5860
+ :root {
5856
5861
  --ab-cmp-column-tag__foreground: var(--ab-color-primary-foreground);
5857
5862
  --ab-loaded: 777;
5858
5863
  --ab_flex-direction: column;
@@ -7488,7 +7493,7 @@
7488
7493
  .ab-Tag {
7489
7494
  max-width: 100%;
7490
7495
  }
7491
- .ab-Tag.ab-Tag--column {
7496
+ .ab-Tag--column {
7492
7497
  background: var(--ab-cmp-column-tag__background);
7493
7498
  color: var(--ab-cmp-column-tag__foreground, inherit);
7494
7499
  }
@@ -9007,11 +9012,16 @@
9007
9012
  .ab--theme-dark {
9008
9013
  --ab-color-secondary: oklch(0.269 0 0);
9009
9014
  --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
9015
  --ab-color-border: oklch(0.269 0 0);
9013
9016
  --ab-theme-loaded: dark;
9014
- --ab-color-input-background: color-mix(in srgb, var(--ab-color-background) 95%, black);
9017
+ --ab-color-input-background: var(--ab-color-background);
9018
+ }
9019
+ @supports (color: color-mix(in lab, red, red)) {
9020
+ .ab--theme-dark {
9021
+ --ab-color-input-background: color-mix(in srgb, var(--ab-color-background) 95%, black);
9022
+ }
9023
+ }
9024
+ .ab--theme-dark {
9015
9025
  --ab-cmp-input--disabled__background: #232323;
9016
9026
  --ab-color-background: var(--ab-color-defaultbackground, #474c52);
9017
9027
  --ab-color-foreground: var(--ab-color-text-on-defaultbackground, #e2e2e2);
@@ -9021,13 +9031,18 @@
9021
9031
  --ab-color-primarydark: #1c2021;
9022
9032
  --ab-color-card: #51555a;
9023
9033
  --ab-color-card-foreground: var(--ab-color-foreground);
9024
- --ab-cmp-draggable-list-item__background: color-mix(
9034
+ --ab-cmp-draggable-list-item__background: var(--ab-color-primary);
9035
+ }
9036
+ @supports (color: color-mix(in lab, red, red)) {
9037
+ .ab--theme-dark {
9038
+ --ab-cmp-draggable-list-item__background: color-mix(
9025
9039
  in srgb,
9026
9040
  var(--ab-color-primary) 72%,
9027
9041
  var(--ab-color-primarylight)
9028
9042
  );
9029
- --ab-cmp-column-tag__background: #6f7882;
9030
- --ab-cmp-column-tag__foreground: var(--ab-color-primary-foreground);
9043
+ }
9044
+ }
9045
+ .ab--theme-dark {
9031
9046
  --ab-color-palette-1: #5c1a1a;
9032
9047
  --ab-color-palette-2: #ffb4b4;
9033
9048
  --ab-color-palette-3: #4a3b00;
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-canary.9",
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,
@@ -9,7 +9,7 @@ const ArrayExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Exten
9
9
  const ModuleConstants_1 = require("../../Utilities/Constants/ModuleConstants");
10
10
  const IAlertService_1 = require("../../Utilities/Services/Interface/IAlertService");
11
11
  const ObjectFactory_1 = tslib_1.__importDefault(require("../../Utilities/ObjectFactory"));
12
- const ScheduledAlertHelper_1 = require("../../Utilities/Helpers/ScheduledAlertHelper");
12
+ const ScheduledAlertHelper_1 = require("../../Utilities/Helpers/Scheduling/ScheduledAlertHelper");
13
13
  const Helper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/Helper"));
14
14
  const InternalRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/InternalRedux"));
15
15
  const StringExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/StringExtensions"));
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChartingInternalApi = void 0;
4
4
  const ApiBase_1 = require("../Implementation/ApiBase");
5
- const chartingHelper_1 = require("../../Utilities/Helpers/chartingHelper");
5
+ const ChartHelper_1 = require("../../Utilities/Helpers/ChartHelper");
6
6
  class ChartingInternalApi extends ApiBase_1.ApiBase {
7
7
  getContainerElement(chartContainer) {
8
8
  const element = typeof chartContainer?.element === 'string'
@@ -22,7 +22,7 @@ class ChartingInternalApi extends ApiBase_1.ApiBase {
22
22
  getUniqueChartName() {
23
23
  let index = 1;
24
24
  let candidate = `Chart ${index}`;
25
- while ((0, chartingHelper_1.isChartNameTaken)(this.getAdaptableApi(), candidate)) {
25
+ while ((0, ChartHelper_1.isChartNameTaken)(this.getAdaptableApi(), candidate)) {
26
26
  index += 1;
27
27
  candidate = `Chart ${index}`;
28
28
  }
@@ -5,7 +5,7 @@ exports.getAutoRowGroupColumnIdFor = getAutoRowGroupColumnIdFor;
5
5
  const tslib_1 = require("tslib");
6
6
  const ApiBase_1 = require("../Implementation/ApiBase");
7
7
  const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
8
- const uniq_1 = tslib_1.__importDefault(require("../../Utilities/utils/uniq"));
8
+ const ArrayExtensions_1 = require("../../Utilities/Extensions/ArrayExtensions");
9
9
  const StringExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/StringExtensions"));
10
10
  const ColumnApiImpl_1 = require("../Implementation/ColumnApiImpl");
11
11
  const destructurePivotColumnId_1 = require("../../layout-manager/src/destructurePivotColumnId");
@@ -39,7 +39,7 @@ class ColumnInternalApi extends ApiBase_1.ApiBase {
39
39
  colTypes.push(agGridColType);
40
40
  }
41
41
  });
42
- return (0, uniq_1.default)(colTypes).filter((c) => StringExtensions_1.default.IsNotNullOrEmptyOrWhiteSpace(c));
42
+ return (0, ArrayExtensions_1.uniq)(colTypes).filter((c) => StringExtensions_1.default.IsNotNullOrEmptyOrWhiteSpace(c));
43
43
  }
44
44
  /**
45
45
  * Retrieves a list providing the Friendly Name / Caption for all columns
@@ -1,9 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EventInternalApi = void 0;
4
- const tslib_1 = require("tslib");
5
4
  const ApiBase_1 = require("../Implementation/ApiBase");
6
- const isEqual_1 = tslib_1.__importDefault(require("../../Utilities/utils/isEqual"));
5
+ const ObjectExtensions_1 = require("../../Utilities/Extensions/ObjectExtensions");
7
6
  class EventInternalApi extends ApiBase_1.ApiBase {
8
7
  fireGridSortedEvent() {
9
8
  if (this.isAdapTableReady()) {
@@ -64,7 +63,7 @@ class EventInternalApi extends ApiBase_1.ApiBase {
64
63
  isToolbarStateChangedToVisible,
65
64
  isToolbarStateChangedToHidden,
66
65
  };
67
- if (!(0, isEqual_1.default)(oldDashboardState, newDashboardState)) {
66
+ if (!(0, ObjectExtensions_1.isEqual)(oldDashboardState, newDashboardState)) {
68
67
  setTimeout(() => {
69
68
  const eventApi = this.getEventApi();
70
69
  if (eventApi) {
@@ -96,7 +95,7 @@ class EventInternalApi extends ApiBase_1.ApiBase {
96
95
  this.getEventApi().emit('ThemeChanged', themeChangedInfo);
97
96
  }
98
97
  fireLayoutChangedEvent(trigger, oldState, newState) {
99
- if ((0, isEqual_1.default)(oldState, newState)) {
98
+ if ((0, ObjectExtensions_1.isEqual)(oldState, newState)) {
100
99
  return;
101
100
  }
102
101
  const layoutChangedInfo = {