@adaptabletools/adaptable 17.0.5 → 18.0.0-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1347) hide show
  1. package/agGrid.js +26 -32
  2. package/base.css +24 -13
  3. package/base.css.map +1 -1
  4. package/index.css +217 -164
  5. package/index.css.map +1 -1
  6. package/package.json +8 -5
  7. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +1 -2
  8. package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -0
  9. package/src/AdaptableInterfaces/IAdaptable.js +1 -2
  10. package/src/AdaptableOptions/ActionColumnOptions.js +1 -2
  11. package/src/AdaptableOptions/ActionRowOptions.js +1 -2
  12. package/src/AdaptableOptions/AdaptableFrameworkComponent.js +1 -2
  13. package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -0
  14. package/src/AdaptableOptions/AdaptableOptions.js +1 -2
  15. package/src/AdaptableOptions/AdaptablePlugin.js +1 -5
  16. package/src/AdaptableOptions/AlertOptions.d.ts +7 -7
  17. package/src/AdaptableOptions/AlertOptions.js +1 -2
  18. package/src/AdaptableOptions/CalendarOptions.js +1 -2
  19. package/src/AdaptableOptions/CellSummaryOptions.js +1 -2
  20. package/src/AdaptableOptions/ChartingOptions.js +1 -2
  21. package/src/AdaptableOptions/ColumnFilterOptions.js +1 -2
  22. package/src/AdaptableOptions/ColumnOptions.js +1 -2
  23. package/src/AdaptableOptions/CommentsOptions.d.ts +28 -0
  24. package/src/AdaptableOptions/CommentsOptions.js +1 -0
  25. package/src/AdaptableOptions/ContainerOptions.js +1 -2
  26. package/src/AdaptableOptions/CustomSortOptions.js +1 -2
  27. package/src/AdaptableOptions/DashboardOptions.js +1 -2
  28. package/src/AdaptableOptions/DataChangeHistoryOptions.js +1 -2
  29. package/src/AdaptableOptions/DataImportOptions.js +1 -2
  30. package/src/AdaptableOptions/DataSetOptions.js +1 -2
  31. package/src/AdaptableOptions/DateInputOptions.js +1 -2
  32. package/src/AdaptableOptions/EditOptions.js +1 -2
  33. package/src/AdaptableOptions/EntitlementOptions.js +1 -2
  34. package/src/AdaptableOptions/ExportOptions.js +1 -2
  35. package/src/AdaptableOptions/ExpressionOptions.js +1 -2
  36. package/src/AdaptableOptions/Fdc3Options.js +2 -5
  37. package/src/AdaptableOptions/FlashingCellOptions.js +1 -2
  38. package/src/AdaptableOptions/FormatColumnOptions.js +1 -2
  39. package/src/AdaptableOptions/GridFilterOptions.d.ts +5 -5
  40. package/src/AdaptableOptions/GridFilterOptions.js +1 -2
  41. package/src/AdaptableOptions/GroupingOptions.d.ts +9 -9
  42. package/src/AdaptableOptions/GroupingOptions.js +1 -2
  43. package/src/AdaptableOptions/IPushPullPluginOptions.js +1 -2
  44. package/src/AdaptableOptions/InteropioPluginOptions.d.ts +10 -0
  45. package/src/AdaptableOptions/InteropioPluginOptions.js +1 -0
  46. package/src/AdaptableOptions/LayoutOptions.js +1 -2
  47. package/src/AdaptableOptions/MasterDetailPluginOptions.js +1 -2
  48. package/src/AdaptableOptions/MenuOptions.d.ts +18 -4
  49. package/src/AdaptableOptions/MenuOptions.js +15 -11
  50. package/src/AdaptableOptions/NotesOptions.d.ts +2 -9
  51. package/src/AdaptableOptions/NotesOptions.js +1 -2
  52. package/src/AdaptableOptions/NotificationsOptions.js +1 -2
  53. package/src/AdaptableOptions/OpenFinPluginOptions.js +1 -2
  54. package/src/AdaptableOptions/PredicateOptions.js +1 -2
  55. package/src/AdaptableOptions/QuickSearchOptions.js +1 -2
  56. package/src/AdaptableOptions/SettingsPanelOptions.js +1 -2
  57. package/src/AdaptableOptions/StateOptions.js +1 -2
  58. package/src/AdaptableOptions/TeamSharingOptions.js +1 -2
  59. package/src/AdaptableOptions/ToolPanelOptions.js +1 -2
  60. package/src/AdaptableOptions/UserInterfaceOptions.js +1 -2
  61. package/src/Api/ActionColumnApi.js +1 -2
  62. package/src/Api/ActionRowApi.js +1 -2
  63. package/src/Api/AdaptableApi.d.ts +6 -1
  64. package/src/Api/AdaptableApi.js +1 -2
  65. package/src/Api/AlertApi.js +1 -2
  66. package/src/Api/ApplicationApi.js +1 -2
  67. package/src/Api/BulkUpdateApi.js +1 -2
  68. package/src/Api/CalculatedColumnApi.js +1 -2
  69. package/src/Api/CalendarApi.js +1 -2
  70. package/src/Api/CellSummaryApi.js +1 -2
  71. package/src/Api/ChartingApi.js +1 -2
  72. package/src/Api/ColumnApi.js +1 -2
  73. package/src/Api/ColumnFilterApi.js +1 -2
  74. package/src/Api/CommentApi.d.ts +58 -0
  75. package/src/Api/CommentApi.js +1 -0
  76. package/src/Api/ConfigApi.js +1 -2
  77. package/src/Api/CustomSortApi.js +1 -2
  78. package/src/Api/DashboardApi.js +1 -2
  79. package/src/Api/DataChangeHistoryApi.js +1 -2
  80. package/src/Api/DataImportApi.js +1 -2
  81. package/src/Api/DataSetApi.js +1 -2
  82. package/src/Api/EntitlementApi.js +1 -2
  83. package/src/Api/EventApi.d.ts +16 -3
  84. package/src/Api/EventApi.js +1 -2
  85. package/src/Api/Events/ActionRowSubmitted.js +1 -2
  86. package/src/Api/Events/AdaptableReady.js +1 -2
  87. package/src/Api/Events/AdaptableSearchState.js +1 -2
  88. package/src/Api/Events/AdaptableStateChanged.js +1 -2
  89. package/src/Api/Events/AdaptableStateReloaded.js +1 -2
  90. package/src/Api/Events/AlertFired.js +1 -2
  91. package/src/Api/Events/BaseEventInfo.js +1 -2
  92. package/src/Api/Events/CalculatedColumnChanged.d.ts +8 -1
  93. package/src/Api/Events/CalculatedColumnChanged.js +1 -2
  94. package/src/Api/Events/CellChanged.js +1 -2
  95. package/src/Api/Events/CellSelectionChanged.js +1 -2
  96. package/src/Api/Events/ChartChanged.js +1 -2
  97. package/src/Api/Events/ColumnFilterApplied.js +1 -2
  98. package/src/Api/Events/CommentsChangedInfo.d.ts +5 -0
  99. package/src/Api/Events/CommentsChangedInfo.js +1 -0
  100. package/src/Api/Events/CustomToolbarConfigured.js +1 -2
  101. package/src/Api/Events/DashboardChanged.js +1 -2
  102. package/src/Api/Events/DataImported.js +1 -2
  103. package/src/Api/Events/DataSetSelected.js +1 -2
  104. package/src/Api/Events/Fdc3MessageInfo.js +1 -2
  105. package/src/Api/Events/FlashingCellDisplayed.js +1 -2
  106. package/src/Api/Events/GridDataChanged.js +1 -2
  107. package/src/Api/Events/GridFilterApplied.js +1 -2
  108. package/src/Api/Events/GridSorted.js +1 -2
  109. package/src/Api/Events/LayoutChanged.js +1 -2
  110. package/src/Api/Events/LiveDataChanged.d.ts +3 -3
  111. package/src/Api/Events/LiveDataChanged.js +1 -2
  112. package/src/Api/Events/RowSelectionChanged.js +1 -2
  113. package/src/Api/Events/ScheduleTriggered.js +1 -2
  114. package/src/Api/Events/SystemStatusMessageDisplayed.js +1 -2
  115. package/src/Api/Events/TeamSharingEntityChanged.js +1 -2
  116. package/src/Api/Events/ThemeChanged.js +1 -2
  117. package/src/Api/Events/ThemeEdited.js +1 -2
  118. package/src/Api/ExportApi.js +1 -2
  119. package/src/Api/ExpressionApi.js +1 -2
  120. package/src/Api/Fdc3Api.js +1 -2
  121. package/src/Api/FlashingCellApi.js +1 -2
  122. package/src/Api/FormatColumnApi.js +1 -2
  123. package/src/Api/FreeTextColumnApi.js +1 -2
  124. package/src/Api/GridApi.js +1 -2
  125. package/src/Api/GridFilterApi.js +1 -2
  126. package/src/Api/IPushPullApi.js +1 -2
  127. package/src/Api/Implementation/ActionColumnApiImpl.js +2 -6
  128. package/src/Api/Implementation/ActionRowApiImpl.js +8 -12
  129. package/src/Api/Implementation/AdaptableApiImpl.d.ts +6 -6
  130. package/src/Api/Implementation/AdaptableApiImpl.js +99 -101
  131. package/src/Api/Implementation/AlertApiImpl.js +18 -23
  132. package/src/Api/Implementation/ApiBase.js +5 -10
  133. package/src/Api/Implementation/ApplicationApiImpl.js +3 -8
  134. package/src/Api/Implementation/BulkUpdateApiImpl.js +5 -10
  135. package/src/Api/Implementation/CalculatedColumnApiImpl.js +6 -11
  136. package/src/Api/Implementation/CalendarApiImpl.js +2 -6
  137. package/src/Api/Implementation/CellSummaryApiImpl.js +17 -22
  138. package/src/Api/Implementation/ChartingApiImpl.js +13 -18
  139. package/src/Api/Implementation/ColumnApiImpl.js +11 -16
  140. package/src/Api/Implementation/ColumnFilterApiImpl.js +9 -14
  141. package/src/Api/Implementation/CommentsApiImpl.d.ts +15 -0
  142. package/src/Api/Implementation/CommentsApiImpl.js +41 -0
  143. package/src/Api/Implementation/ConfigApiImpl.js +29 -34
  144. package/src/Api/Implementation/CustomSortApiImpl.js +6 -11
  145. package/src/Api/Implementation/DashboardApiImpl.js +9 -14
  146. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +10 -15
  147. package/src/Api/Implementation/DataImportApiImpl.js +4 -8
  148. package/src/Api/Implementation/DataSetApiImpl.js +6 -11
  149. package/src/Api/Implementation/EntitlementApiImpl.js +2 -6
  150. package/src/Api/Implementation/EventApiImpl.js +4 -9
  151. package/src/Api/Implementation/ExportApiImpl.js +12 -17
  152. package/src/Api/Implementation/ExpressionApiImpl.js +5 -10
  153. package/src/Api/Implementation/Fdc3ApiImpl.js +8 -12
  154. package/src/Api/Implementation/FlashingCellApiImpl.js +6 -11
  155. package/src/Api/Implementation/FormatColumnApiImpl.js +6 -11
  156. package/src/Api/Implementation/FreeTextColumnApiImpl.js +9 -14
  157. package/src/Api/Implementation/GridApiImpl.js +18 -23
  158. package/src/Api/Implementation/GridFilterApiImpl.js +9 -14
  159. package/src/Api/Implementation/LayoutApiImpl.js +25 -30
  160. package/src/Api/Implementation/NamedQueryApiImpl.js +8 -13
  161. package/src/Api/Implementation/NotesApiImpl.d.ts +2 -6
  162. package/src/Api/Implementation/NotesApiImpl.js +4 -23
  163. package/src/Api/Implementation/OptionsApiImpl.d.ts +2 -0
  164. package/src/Api/Implementation/OptionsApiImpl.js +5 -6
  165. package/src/Api/Implementation/PluginsApiImpl.d.ts +2 -6
  166. package/src/Api/Implementation/PluginsApiImpl.js +6 -23
  167. package/src/Api/Implementation/PlusMinusApiImpl.js +4 -9
  168. package/src/Api/Implementation/PredicateApiImpl.js +12 -17
  169. package/src/Api/Implementation/QuickSearchApiImpl.js +5 -10
  170. package/src/Api/Implementation/ScheduleApiImpl.d.ts +1 -12
  171. package/src/Api/Implementation/ScheduleApiImpl.js +6 -47
  172. package/src/Api/Implementation/ScopeApiImpl.js +8 -13
  173. package/src/Api/Implementation/SettingsPanelApiImpl.js +3 -8
  174. package/src/Api/Implementation/ShortcutApiImpl.js +4 -9
  175. package/src/Api/Implementation/SmartEditApiImpl.js +5 -10
  176. package/src/Api/Implementation/StatusBarApiImpl.js +5 -9
  177. package/src/Api/Implementation/StyledColumnApiImpl.js +6 -11
  178. package/src/Api/Implementation/SystemStatusApiImpl.js +16 -21
  179. package/src/Api/Implementation/TeamSharingApiImpl.js +12 -17
  180. package/src/Api/Implementation/ThemeApiImpl.d.ts +1 -0
  181. package/src/Api/Implementation/ThemeApiImpl.js +13 -15
  182. package/src/Api/Implementation/ToolPanelApiImpl.js +6 -11
  183. package/src/Api/Implementation/UserInterfaceApiImpl.js +15 -20
  184. package/src/Api/Internal/ActionRowInternalApi.js +3 -7
  185. package/src/Api/Internal/AdaptableInternalApi.d.ts +2 -0
  186. package/src/Api/Internal/AdaptableInternalApi.js +24 -26
  187. package/src/Api/Internal/AlertInternalApi.js +20 -25
  188. package/src/Api/Internal/CalculatedColumnInternalApi.d.ts +1 -0
  189. package/src/Api/Internal/CalculatedColumnInternalApi.js +7 -6
  190. package/src/Api/Internal/ChartingInternalApi.js +8 -12
  191. package/src/Api/Internal/ColumnFilterInternalApi.js +8 -13
  192. package/src/Api/Internal/ColumnInternalApi.js +4 -8
  193. package/src/Api/Internal/CustomSortInternalApi.js +2 -6
  194. package/src/Api/Internal/DashboardInternalApi.js +6 -11
  195. package/src/Api/Internal/DataImportInternalApi.js +6 -11
  196. package/src/Api/Internal/DataSetInternalApi.js +4 -7
  197. package/src/Api/Internal/ExportInternalApi.js +2 -6
  198. package/src/Api/Internal/ExpressionInternalApi.js +2 -6
  199. package/src/Api/Internal/Fdc3InternalApi.js +24 -28
  200. package/src/Api/Internal/FlashingCellInternalApi.js +7 -12
  201. package/src/Api/Internal/FormatColumnInternalApi.js +17 -22
  202. package/src/Api/Internal/FreeTextColumnInternalApi.js +2 -6
  203. package/src/Api/Internal/GridFilterInternalApi.js +2 -6
  204. package/src/Api/Internal/GridInternalApi.js +13 -18
  205. package/src/Api/Internal/LayoutInternalApi.js +16 -21
  206. package/src/Api/Internal/NamedQueryInternalApi.js +3 -8
  207. package/src/Api/Internal/PredicateInternalApi.js +2 -6
  208. package/src/Api/Internal/ScheduleInternalApi.js +2 -6
  209. package/src/Api/Internal/StyledColumnInternalApi.js +5 -10
  210. package/src/Api/Internal/SystemStatusInternalApi.js +3 -8
  211. package/src/Api/Internal/TeamSharingInternalApi.js +2 -6
  212. package/src/Api/Internal/ThemeInternalApi.js +5 -9
  213. package/src/Api/Internal/UserInterfaceInternalApi.js +2 -6
  214. package/src/Api/InteropioPluginApi.d.ts +10 -0
  215. package/src/Api/InteropioPluginApi.js +1 -0
  216. package/src/Api/LayoutApi.js +1 -2
  217. package/src/Api/NamedQueryApi.js +1 -2
  218. package/src/Api/{NotesAPi.d.ts → NotesApi.d.ts} +19 -21
  219. package/src/Api/NotesApi.js +1 -0
  220. package/src/Api/OpenFinApi.js +1 -2
  221. package/src/Api/OptionsApi.d.ts +5 -0
  222. package/src/Api/OptionsApi.js +1 -2
  223. package/src/Api/PluginsApi.d.ts +3 -13
  224. package/src/Api/PluginsApi.js +1 -2
  225. package/src/Api/PlusMinusApi.js +1 -2
  226. package/src/Api/PredicateApi.js +1 -2
  227. package/src/Api/QuickSearchApi.js +1 -2
  228. package/src/Api/ScheduleApi.d.ts +1 -48
  229. package/src/Api/ScheduleApi.js +1 -2
  230. package/src/Api/ScopeApi.js +1 -2
  231. package/src/Api/SettingsPanelApi.js +1 -2
  232. package/src/Api/ShortcutApi.js +1 -2
  233. package/src/Api/SmartEditApi.js +1 -2
  234. package/src/Api/StatusBarApi.js +1 -2
  235. package/src/Api/StyledColumnApi.js +1 -2
  236. package/src/Api/SystemStatusApi.js +1 -2
  237. package/src/Api/TeamSharingApi.js +1 -2
  238. package/src/Api/ThemeApi.d.ts +5 -0
  239. package/src/Api/ThemeApi.js +1 -2
  240. package/src/Api/ToolPanelApi.js +1 -2
  241. package/src/Api/UserInterfaceApi.js +1 -2
  242. package/src/PredefinedConfig/AdaptableState.d.ts +4 -2
  243. package/src/PredefinedConfig/AdaptableState.js +1 -2
  244. package/src/PredefinedConfig/AlertState.js +1 -2
  245. package/src/PredefinedConfig/ApplicationState.js +1 -2
  246. package/src/PredefinedConfig/CalculatedColumnState.js +1 -2
  247. package/src/PredefinedConfig/CellAddress.d.ts +13 -0
  248. package/src/PredefinedConfig/CellAddress.js +4 -0
  249. package/src/PredefinedConfig/ChartingState.js +2 -7
  250. package/src/PredefinedConfig/CommentState.d.ts +48 -0
  251. package/src/PredefinedConfig/CommentState.js +1 -0
  252. package/src/PredefinedConfig/Common/AdaptableAlert.js +2 -7
  253. package/src/PredefinedConfig/Common/AdaptableButton.js +1 -2
  254. package/src/PredefinedConfig/Common/AdaptableColumn.js +1 -5
  255. package/src/PredefinedConfig/Common/AdaptableComparerFunction.js +1 -2
  256. package/src/PredefinedConfig/Common/AdaptableFlashingCell.js +1 -2
  257. package/src/PredefinedConfig/Common/AdaptableForm.js +1 -5
  258. package/src/PredefinedConfig/Common/AdaptableFormat.js +1 -2
  259. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
  260. package/src/PredefinedConfig/Common/AdaptableIcon.js +1 -2
  261. package/src/PredefinedConfig/Common/AdaptableMessageType.js +1 -2
  262. package/src/PredefinedConfig/Common/AdaptableObject.js +1 -2
  263. package/src/PredefinedConfig/Common/AdaptablePredicate.js +54 -57
  264. package/src/PredefinedConfig/Common/AdaptableQuery.js +1 -5
  265. package/src/PredefinedConfig/Common/AdaptableScope.js +1 -2
  266. package/src/PredefinedConfig/Common/AdaptableStyle.js +1 -2
  267. package/src/PredefinedConfig/Common/AggregationColumns.js +1 -4
  268. package/src/PredefinedConfig/Common/AlternativeModuleName.js +1 -2
  269. package/src/PredefinedConfig/Common/BaseContext.js +1 -2
  270. package/src/PredefinedConfig/Common/ButtonStyle.js +1 -2
  271. package/src/PredefinedConfig/Common/CellDataChangedInfo.js +1 -2
  272. package/src/PredefinedConfig/Common/CellHighlightInfo.js +1 -2
  273. package/src/PredefinedConfig/Common/CellSummary.js +1 -2
  274. package/src/PredefinedConfig/Common/ColumnFilter.js +1 -2
  275. package/src/PredefinedConfig/Common/ColumnSort.js +1 -2
  276. package/src/PredefinedConfig/Common/DataChangedScope.js +1 -2
  277. package/src/PredefinedConfig/Common/DataUpdateConfig.js +1 -2
  278. package/src/PredefinedConfig/Common/Entitlement.js +1 -2
  279. package/src/PredefinedConfig/Common/Enums.d.ts +0 -1
  280. package/src/PredefinedConfig/Common/Enums.js +26 -30
  281. package/src/PredefinedConfig/Common/Fdc3Context.js +32 -35
  282. package/src/PredefinedConfig/Common/Fdc3Intent.js +64 -67
  283. package/src/PredefinedConfig/Common/FilterActionOnDataChange.js +1 -2
  284. package/src/PredefinedConfig/Common/FormContext.js +1 -2
  285. package/src/PredefinedConfig/Common/GridFilter.js +1 -2
  286. package/src/PredefinedConfig/Common/Menu.js +1 -2
  287. package/src/PredefinedConfig/Common/RowHighlightInfo.js +1 -2
  288. package/src/PredefinedConfig/Common/RowsHighlightInfo.js +1 -2
  289. package/src/PredefinedConfig/Common/Schedule.d.ts +1 -1
  290. package/src/PredefinedConfig/Common/Schedule.js +1 -2
  291. package/src/PredefinedConfig/Common/SpecialColumnSettings.js +1 -2
  292. package/src/PredefinedConfig/Common/SuspendableObject.js +1 -2
  293. package/src/PredefinedConfig/Common/SystemStatusMessageInfo.js +1 -2
  294. package/src/PredefinedConfig/Common/Types.d.ts +5 -5
  295. package/src/PredefinedConfig/Common/Types.js +5 -11
  296. package/src/PredefinedConfig/ConfigState.js +1 -2
  297. package/src/PredefinedConfig/CustomSortState.js +1 -2
  298. package/src/PredefinedConfig/DashboardState.js +1 -2
  299. package/src/PredefinedConfig/ExportState.js +1 -2
  300. package/src/PredefinedConfig/FlashingCellState.js +1 -2
  301. package/src/PredefinedConfig/FormatColumnState.js +1 -2
  302. package/src/PredefinedConfig/FreeTextColumnState.js +1 -2
  303. package/src/PredefinedConfig/GridState.js +1 -2
  304. package/src/PredefinedConfig/IPushPullState.js +1 -2
  305. package/src/PredefinedConfig/InternalState.js +1 -2
  306. package/src/PredefinedConfig/LayoutState.js +1 -2
  307. package/src/PredefinedConfig/NamedQueryState.js +1 -2
  308. package/src/PredefinedConfig/NotesState.d.ts +0 -13
  309. package/src/PredefinedConfig/NotesState.js +1 -2
  310. package/src/PredefinedConfig/OpenFinState.js +1 -2
  311. package/src/PredefinedConfig/PlusMinusState.js +1 -2
  312. package/src/PredefinedConfig/PopupState.js +1 -2
  313. package/src/PredefinedConfig/PredefinedConfig.d.ts +3 -0
  314. package/src/PredefinedConfig/PredefinedConfig.js +1 -2
  315. package/src/PredefinedConfig/QueryState.js +1 -2
  316. package/src/PredefinedConfig/QuickSearchState.js +1 -2
  317. package/src/PredefinedConfig/ScheduleState.d.ts +0 -5
  318. package/src/PredefinedConfig/ScheduleState.js +1 -2
  319. package/src/PredefinedConfig/Selection/GridCell.js +1 -2
  320. package/src/PredefinedConfig/Selection/GridCellRange.js +1 -2
  321. package/src/PredefinedConfig/Selection/GridRow.js +1 -2
  322. package/src/PredefinedConfig/Selection/SelectedCellInfo.js +1 -2
  323. package/src/PredefinedConfig/Selection/SelectedRowInfo.js +1 -2
  324. package/src/PredefinedConfig/ShortcutState.js +1 -2
  325. package/src/PredefinedConfig/StatusBarState.js +1 -4
  326. package/src/PredefinedConfig/StyledColumnState.js +1 -2
  327. package/src/PredefinedConfig/SystemState.d.ts +5 -6
  328. package/src/PredefinedConfig/SystemState.js +1 -2
  329. package/src/PredefinedConfig/TeamSharingState.js +2 -7
  330. package/src/PredefinedConfig/ThemeState.d.ts +1 -1
  331. package/src/PredefinedConfig/ThemeState.js +1 -2
  332. package/src/PredefinedConfig/ToolPanelState.js +1 -2
  333. package/src/PredefinedConfig/Uuid.js +2 -6
  334. package/src/Redux/ActionsReducers/AlertRedux.js +45 -59
  335. package/src/Redux/ActionsReducers/ApplicationRedux.js +15 -22
  336. package/src/Redux/ActionsReducers/BulkUpdateRedux.js +9 -15
  337. package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +20 -29
  338. package/src/Redux/ActionsReducers/CellSummaryRedux.js +3 -7
  339. package/src/Redux/ActionsReducers/ChartingRedux.js +41 -55
  340. package/src/Redux/ActionsReducers/CommentsRedux.d.ts +79 -0
  341. package/src/Redux/ActionsReducers/CommentsRedux.js +173 -0
  342. package/src/Redux/ActionsReducers/CustomSortRedux.js +41 -54
  343. package/src/Redux/ActionsReducers/DashboardRedux.js +50 -66
  344. package/src/Redux/ActionsReducers/ExportRedux.js +31 -43
  345. package/src/Redux/ActionsReducers/FlashingCellRedux.js +43 -57
  346. package/src/Redux/ActionsReducers/FormatColumnRedux.js +54 -70
  347. package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +24 -34
  348. package/src/Redux/ActionsReducers/GridRedux.js +125 -160
  349. package/src/Redux/ActionsReducers/LayoutRedux.js +89 -115
  350. package/src/Redux/ActionsReducers/NamedQueryRedux.js +25 -35
  351. package/src/Redux/ActionsReducers/NotesRedux.js +22 -33
  352. package/src/Redux/ActionsReducers/PluginsRedux.d.ts +0 -48
  353. package/src/Redux/ActionsReducers/PluginsRedux.js +36 -89
  354. package/src/Redux/ActionsReducers/PlusMinusRedux.js +53 -69
  355. package/src/Redux/ActionsReducers/PopupRedux.js +64 -84
  356. package/src/Redux/ActionsReducers/QueryRedux.js +8 -13
  357. package/src/Redux/ActionsReducers/QuickSearchRedux.js +16 -23
  358. package/src/Redux/ActionsReducers/ScheduleRedux.d.ts +0 -53
  359. package/src/Redux/ActionsReducers/ScheduleRedux.js +146 -270
  360. package/src/Redux/ActionsReducers/ShortcutRedux.js +41 -54
  361. package/src/Redux/ActionsReducers/SmartEditRedux.js +9 -15
  362. package/src/Redux/ActionsReducers/StatusBarRedux.js +12 -19
  363. package/src/Redux/ActionsReducers/StyledColumnRedux.js +41 -54
  364. package/src/Redux/ActionsReducers/SystemRedux.d.ts +18 -12
  365. package/src/Redux/ActionsReducers/SystemRedux.js +287 -335
  366. package/src/Redux/ActionsReducers/SystemStatusRedux.js +6 -11
  367. package/src/Redux/ActionsReducers/TeamSharingRedux.js +40 -55
  368. package/src/Redux/ActionsReducers/ThemeRedux.js +32 -43
  369. package/src/Redux/ActionsReducers/ToolPanelRedux.js +28 -39
  370. package/src/Redux/ActionsReducers/utils.js +3 -9
  371. package/src/Redux/DeadRedux.js +25 -38
  372. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +15 -20
  373. package/src/Redux/Store/AdaptableReduxMerger.js +21 -30
  374. package/src/Redux/Store/AdaptableStore.d.ts +2 -2
  375. package/src/Redux/Store/AdaptableStore.js +174 -122
  376. package/src/Redux/Store/Interface/IAdaptableStore.js +1 -2
  377. package/src/Redux/Store/Interface/IStorageEngine.js +1 -2
  378. package/src/Strategy/AdaptableModuleBase.js +8 -13
  379. package/src/Strategy/AlertModule.js +35 -40
  380. package/src/Strategy/BulkUpdateModule.js +17 -22
  381. package/src/Strategy/CalculatedColumnModule.js +16 -21
  382. package/src/Strategy/CellSummaryModule.js +17 -22
  383. package/src/Strategy/ChartingModule.js +15 -20
  384. package/src/Strategy/ColumnFilterModule.js +11 -16
  385. package/src/Strategy/ColumnInfoModule.js +3 -8
  386. package/src/Strategy/CommentsModule.d.ts +16 -0
  387. package/src/Strategy/CommentsModule.js +77 -0
  388. package/src/Strategy/CustomSortModule.js +12 -17
  389. package/src/Strategy/DashboardModule.js +4 -9
  390. package/src/Strategy/DataChangeHistoryModule.js +10 -15
  391. package/src/Strategy/DataImportModule.js +3 -8
  392. package/src/Strategy/DataSetModule.js +11 -16
  393. package/src/Strategy/ExportModule.js +55 -60
  394. package/src/Strategy/Fdc3Module.js +3 -8
  395. package/src/Strategy/FlashingCellModule.js +28 -33
  396. package/src/Strategy/FormatColumnModule.js +27 -32
  397. package/src/Strategy/FreeTextColumnModule.js +8 -13
  398. package/src/Strategy/GridFilterModule.js +9 -14
  399. package/src/Strategy/GridInfoModule.js +3 -8
  400. package/src/Strategy/Interface/IBulkUpdateModule.js +1 -2
  401. package/src/Strategy/Interface/ICellSummaryModule.js +1 -2
  402. package/src/Strategy/Interface/IExportModule.js +1 -2
  403. package/src/Strategy/Interface/IModule.js +1 -2
  404. package/src/Strategy/Interface/IModuleActionReturn.js +1 -2
  405. package/src/Strategy/Interface/IPlusMinusModule.js +1 -2
  406. package/src/Strategy/Interface/IScheduleModule.js +1 -2
  407. package/src/Strategy/Interface/IShortcutModule.js +1 -2
  408. package/src/Strategy/Interface/ISmartEditModule.js +1 -2
  409. package/src/Strategy/LayoutModule.js +32 -38
  410. package/src/Strategy/NamedQueryModule.js +12 -17
  411. package/src/Strategy/NotesModule.d.ts +0 -13
  412. package/src/Strategy/NotesModule.js +12 -96
  413. package/src/Strategy/PlusMinusModule.js +23 -28
  414. package/src/Strategy/QuickSearchModule.js +5 -10
  415. package/src/Strategy/ScheduleModule.js +35 -63
  416. package/src/Strategy/SettingsPanelModule.js +4 -9
  417. package/src/Strategy/ShortcutModule.js +21 -26
  418. package/src/Strategy/SmartEditModule.js +22 -27
  419. package/src/Strategy/StateManagementModule.js +3 -8
  420. package/src/Strategy/StatusBarModule.js +3 -8
  421. package/src/Strategy/StyledColumnModule.js +17 -22
  422. package/src/Strategy/SystemStatusModule.js +5 -10
  423. package/src/Strategy/TeamSharingModule.js +32 -37
  424. package/src/Strategy/ThemeModule.js +5 -10
  425. package/src/Strategy/ToolPanelModule.js +8 -13
  426. package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.js +5 -9
  427. package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.js +6 -11
  428. package/src/Strategy/Utilities/Alert/getAlertTypeViewItems.js +4 -8
  429. package/src/Strategy/Utilities/CustomSort/getCustomSortColumnViewItems.js +1 -5
  430. package/src/Strategy/Utilities/CustomSort/getCustomSortSortOrderViewItems.js +1 -5
  431. package/src/Strategy/Utilities/Export/getExportColumnsViewItems.js +1 -5
  432. package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +6 -11
  433. package/src/Strategy/Utilities/FlashingCell/getFlashingCellDurationViewItems.js +1 -5
  434. package/src/Strategy/Utilities/FlashingCell/getFlashingCellStyleViewItems.js +3 -7
  435. package/src/Strategy/Utilities/FlashingCell/getFlashingTargetViewItems.js +1 -5
  436. package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +1 -5
  437. package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.js +5 -10
  438. package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.js +3 -8
  439. package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.js +1 -5
  440. package/src/Strategy/Utilities/Shortcut/getShortcutSettingsViewItems.js +1 -5
  441. package/src/Strategy/Utilities/getExpressionViewItems.js +6 -11
  442. package/src/Strategy/Utilities/getObjectTagsViewItems.js +7 -12
  443. package/src/Strategy/Utilities/getRuleViewItems.js +1 -5
  444. package/src/Strategy/Utilities/getScopeViewItems.js +1 -5
  445. package/src/Strategy/Utilities/updateSingleToMultiplePredicates.js +1 -5
  446. package/src/Utilities/Cancelable.js +1 -2
  447. package/src/Utilities/Constants/ConfigConstants.d.ts +1 -0
  448. package/src/Utilities/Constants/ConfigConstants.js +10 -12
  449. package/src/Utilities/Constants/DocumentationLinkConstants.js +14 -17
  450. package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
  451. package/src/Utilities/Constants/GeneralConstants.js +76 -75
  452. package/src/Utilities/Constants/ModuleConstants.d.ts +3 -3
  453. package/src/Utilities/Constants/ModuleConstants.js +115 -119
  454. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +25 -29
  455. package/src/Utilities/Defaults/DefaultSettingsPanel.js +3 -5
  456. package/src/Utilities/Emitter.js +3 -5
  457. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +27 -25
  458. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +51 -54
  459. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +31 -36
  460. package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +1 -0
  461. package/src/Utilities/ExpressionFunctions/dateUtils.js +18 -7
  462. package/src/Utilities/ExpressionFunctions/deepMap.js +1 -5
  463. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +39 -57
  464. package/src/Utilities/ExpressionFunctions/groupingMap.js +3 -7
  465. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +66 -70
  466. package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +3 -7
  467. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +53 -57
  468. package/src/Utilities/Extensions/ArrayExtensions.js +40 -75
  469. package/src/Utilities/Extensions/EnumExtensions.js +14 -21
  470. package/src/Utilities/Extensions/NumberExtensions.js +4 -9
  471. package/src/Utilities/Extensions/ObjectExtensions.js +3 -9
  472. package/src/Utilities/Extensions/StringExtensions.js +23 -46
  473. package/src/Utilities/Extensions/TypeExtensions.js +1 -5
  474. package/src/Utilities/Helpers/AdaptableHelper.js +59 -70
  475. package/src/Utilities/Helpers/DateHelper.js +18 -28
  476. package/src/Utilities/Helpers/FormatHelper.js +10 -18
  477. package/src/Utilities/Helpers/Helper.js +28 -50
  478. package/src/Utilities/Helpers/PreviewHelper.js +13 -17
  479. package/src/Utilities/Helpers/StyleHelper.js +11 -20
  480. package/src/Utilities/Interface/AdaptableToolPanelContext.js +1 -2
  481. package/src/Utilities/Interface/ColumnFilterProps.js +1 -2
  482. package/src/Utilities/Interface/IPPStyle.js +1 -2
  483. package/src/Utilities/Interface/KeyValuePair.js +1 -2
  484. package/src/Utilities/Interface/MessagePopups.js +1 -2
  485. package/src/Utilities/Interface/Preview.js +1 -2
  486. package/src/Utilities/MenuItem.js +4 -11
  487. package/src/Utilities/ObjectFactory.d.ts +19 -22
  488. package/src/Utilities/ObjectFactory.js +152 -203
  489. package/src/Utilities/Services/AggregatedScalarLiveValue.js +3 -7
  490. package/src/Utilities/Services/AlertService.js +11 -16
  491. package/src/Utilities/Services/CalculatedColumnExpressionService.js +9 -13
  492. package/src/Utilities/Services/CellPopupService.d.ts +23 -0
  493. package/src/Utilities/Services/CellPopupService.js +133 -0
  494. package/src/Utilities/Services/ChartingService.js +10 -15
  495. package/src/Utilities/Services/DataService.js +8 -13
  496. package/src/Utilities/Services/EntitlementService.js +1 -5
  497. package/src/Utilities/Services/Fdc3Service.js +7 -11
  498. package/src/Utilities/Services/Interface/IAdaptableService.js +1 -2
  499. package/src/Utilities/Services/Interface/IAlertService.js +3 -8
  500. package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.js +1 -2
  501. package/src/Utilities/Services/Interface/IChartingService.js +1 -2
  502. package/src/Utilities/Services/Interface/IDataService.js +1 -2
  503. package/src/Utilities/Services/Interface/IEntitlementService.js +1 -2
  504. package/src/Utilities/Services/Interface/ILicenseService.js +1 -2
  505. package/src/Utilities/Services/Interface/IMetamodelService.js +1 -2
  506. package/src/Utilities/Services/Interface/IModuleService.js +1 -2
  507. package/src/Utilities/Services/Interface/IQueryLanguageService.js +1 -2
  508. package/src/Utilities/Services/Interface/IReportService.d.ts +1 -1
  509. package/src/Utilities/Services/Interface/IReportService.js +1 -2
  510. package/src/Utilities/Services/Interface/IRowEditService.js +1 -2
  511. package/src/Utilities/Services/Interface/ITeamSharingService.js +1 -2
  512. package/src/Utilities/Services/Interface/IThemeService.d.ts +8 -0
  513. package/src/Utilities/Services/Interface/IThemeService.js +1 -2
  514. package/src/Utilities/Services/Interface/IValidationService.js +1 -2
  515. package/src/Utilities/Services/LicenseService/index.js +181 -1
  516. package/src/Utilities/Services/LicenseService/shouldLogThankYouMessage.js +1 -5
  517. package/src/Utilities/Services/MetamodelService.js +12 -17
  518. package/src/Utilities/Services/ModuleService.js +8 -15
  519. package/src/Utilities/Services/QueryLanguageService.js +24 -29
  520. package/src/Utilities/Services/ReportService.d.ts +1 -1
  521. package/src/Utilities/Services/ReportService.js +48 -53
  522. package/src/Utilities/Services/RowEditService.js +1 -5
  523. package/src/Utilities/Services/TeamSharingService.js +6 -11
  524. package/src/Utilities/Services/ThemeService.d.ts +3 -0
  525. package/src/Utilities/Services/ThemeService.js +34 -6
  526. package/src/Utilities/Services/ValidationService.js +10 -15
  527. package/src/Utilities/getScrollbarSize.js +1 -3
  528. package/src/Utilities/isAdaptableObject.js +1 -5
  529. package/src/Utilities/isMacLike.js +1 -5
  530. package/src/Utilities/license/LicenseDetails.js +1 -2
  531. package/src/Utilities/license/decode.js +65 -1
  532. package/src/Utilities/license/hashing.js +43 -1
  533. package/src/Utilities/logDeprecation.js +3 -9
  534. package/src/Utilities/reorder.js +1 -5
  535. package/src/Utilities/runIfNotResolvedIn.js +1 -5
  536. package/src/Utilities/sortWithOrder.js +1 -5
  537. package/src/Utilities/waitForCondition.js +1 -5
  538. package/src/Utilities/waitForTimeout.js +1 -5
  539. package/src/View/AdaptableContext.js +3 -8
  540. package/src/View/AdaptablePopover/index.js +17 -22
  541. package/src/View/AdaptableView.js +31 -36
  542. package/src/View/AdaptableViewFactory.js +69 -71
  543. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +1 -2
  544. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.js +25 -30
  545. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +44 -46
  546. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +4 -9
  547. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +21 -26
  548. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +4 -9
  549. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +27 -30
  550. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +2 -3
  551. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +17 -20
  552. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +8 -13
  553. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +16 -21
  554. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +24 -29
  555. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +18 -23
  556. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +2 -4
  557. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +3 -5
  558. package/src/View/AdaptableWizardView/Utils.js +1 -5
  559. package/src/View/AdaptableWizardView/Wizard.js +20 -26
  560. package/src/View/AdaptableWizardView/helper.js +4 -10
  561. package/src/View/AdaptableWizardView/index.js +7 -10
  562. package/src/View/Alert/ActiveAlertsPanel.js +9 -14
  563. package/src/View/Alert/ActiveAlertsPanelItemLabel.js +10 -15
  564. package/src/View/Alert/AlertEmptyView.js +4 -9
  565. package/src/View/Alert/AlertEntityRow.js +13 -18
  566. package/src/View/Alert/AlertStatusSubPanel.js +13 -18
  567. package/src/View/Alert/AlertViewPanel.js +16 -20
  568. package/src/View/Alert/AlertsPanel.js +22 -27
  569. package/src/View/Alert/Utilities/getAlertButtonStyle.js +6 -11
  570. package/src/View/Alert/Utilities/getAlertType.js +4 -9
  571. package/src/View/Alert/Utilities/getAvailablePredicates.js +1 -5
  572. package/src/View/Alert/Utilities/getDefaultAlertDefinition.js +9 -14
  573. package/src/View/Alert/Utilities/mapAlertDefinition.js +1 -5
  574. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +43 -50
  575. package/src/View/Alert/Wizard/AlertButtonsEditor.js +35 -40
  576. package/src/View/Alert/Wizard/AlertMessageWizardSection.js +31 -37
  577. package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +27 -33
  578. package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -1
  579. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +27 -33
  580. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +8 -13
  581. package/src/View/Alert/Wizard/AlertSelectQueryWizard.js +14 -19
  582. package/src/View/Alert/Wizard/AlertTypeWizardSection.js +20 -26
  583. package/src/View/Alert/Wizard/AlertWizard.js +60 -65
  584. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +14 -19
  585. package/src/View/Alert/Wizard/isValidAlertRules.js +3 -7
  586. package/src/View/BulkUpdate/BulkUpdatePopup.js +33 -37
  587. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +27 -31
  588. package/src/View/CalculatedColumn/CalculatedColumnSummary.js +17 -22
  589. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingsTags.js +1 -5
  590. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +36 -43
  591. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +21 -28
  592. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +33 -40
  593. package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.js +13 -18
  594. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +49 -54
  595. package/src/View/CalculatedColumn/utils.js +1 -5
  596. package/src/View/CellSummary/CellSummaryDetails.js +6 -11
  597. package/src/View/CellSummary/CellSummaryPopover.js +4 -9
  598. package/src/View/CellSummary/CellSummaryPopup.js +8 -12
  599. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +11 -12
  600. package/src/View/CellSummary/CellSummaryStatusPanel.js +11 -16
  601. package/src/View/CellSummary/CellSummaryViewPanel.js +22 -26
  602. package/src/View/Charting/ChartingStatusBarPopover.js +12 -17
  603. package/src/View/Charting/ChartingViewPanel.js +13 -18
  604. package/src/View/Charting/ChartingWizard/AgChargingWizard/AgChargingWizard.js +18 -23
  605. package/src/View/Charting/ChartingWizard/AgChargingWizard/PreviewChartSection.js +9 -14
  606. package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +16 -22
  607. package/src/View/Charting/ChartingWizard/AgChargingWizard/index.js +1 -4
  608. package/src/View/Charting/ChartingWizard/ChartingWizard.js +10 -14
  609. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/ExternalChartingWizard.js +13 -18
  610. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +8 -14
  611. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/index.js +1 -4
  612. package/src/View/Charting/ChartingWizard/index.js +1 -4
  613. package/src/View/Charting/DeleteChartButton.js +6 -11
  614. package/src/View/Charting/EditChartButton.js +8 -13
  615. package/src/View/Charting/ShowChartButton.js +21 -26
  616. package/src/View/Charting/useAgChartState.js +7 -12
  617. package/src/View/Charting/useChartingElements.js +26 -31
  618. package/src/View/Charting/useExternalChartState.js +7 -12
  619. package/src/View/ColumnInfo/ColumnInfo.js +33 -38
  620. package/src/View/ColumnInfo/ColumnInfoPopup.js +8 -13
  621. package/src/View/Comments/CommentsEditor.d.ts +7 -0
  622. package/src/View/Comments/CommentsEditor.js +95 -0
  623. package/src/View/Comments/CommentsPopup.d.ts +2 -0
  624. package/src/View/Comments/CommentsPopup.js +82 -0
  625. package/src/View/Components/AdaptableButton/index.js +8 -13
  626. package/src/View/Components/AdaptableDateInput/index.js +13 -15
  627. package/src/View/Components/AdaptableIconComponent/index.js +6 -11
  628. package/src/View/Components/AdaptableIconComponent/useCustomIcon.js +3 -7
  629. package/src/View/Components/AdaptableIconSelector/index.js +6 -11
  630. package/src/View/Components/AdaptableInput/index.js +8 -11
  631. package/src/View/Components/AdaptableObjectCollection/index.js +6 -11
  632. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +27 -33
  633. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +42 -48
  634. package/src/View/Components/AdaptableObjectList/index.js +1 -5
  635. package/src/View/Components/AdaptableObjectRow/index.js +7 -12
  636. package/src/View/Components/Badge/index.js +6 -11
  637. package/src/View/Components/Buttons/ButtonApply.js +4 -9
  638. package/src/View/Components/Buttons/ButtonBase/index.js +5 -10
  639. package/src/View/Components/Buttons/ButtonClear.js +4 -9
  640. package/src/View/Components/Buttons/ButtonClone.js +4 -9
  641. package/src/View/Components/Buttons/ButtonClose.js +4 -9
  642. package/src/View/Components/Buttons/ButtonConfigure.js +4 -9
  643. package/src/View/Components/Buttons/ButtonDelete.js +8 -11
  644. package/src/View/Components/Buttons/ButtonEdit.js +4 -9
  645. package/src/View/Components/Buttons/ButtonExpand.js +4 -9
  646. package/src/View/Components/Buttons/ButtonExport.js +4 -9
  647. package/src/View/Components/Buttons/ButtonFunction.js +4 -9
  648. package/src/View/Components/Buttons/ButtonGeneral.js +4 -9
  649. package/src/View/Components/Buttons/ButtonInfo.js +4 -9
  650. package/src/View/Components/Buttons/ButtonInvalid.js +4 -9
  651. package/src/View/Components/Buttons/ButtonLogin.js +4 -9
  652. package/src/View/Components/Buttons/ButtonLogout.js +4 -9
  653. package/src/View/Components/Buttons/ButtonMaximise.js +4 -9
  654. package/src/View/Components/Buttons/ButtonMinimise.js +4 -9
  655. package/src/View/Components/Buttons/ButtonNew.js +4 -9
  656. package/src/View/Components/Buttons/ButtonNewPage.js +4 -9
  657. package/src/View/Components/Buttons/ButtonOpen.js +4 -9
  658. package/src/View/Components/Buttons/ButtonPause.js +4 -9
  659. package/src/View/Components/Buttons/ButtonPlay.js +5 -10
  660. package/src/View/Components/Buttons/ButtonPreviewDelete.js +4 -7
  661. package/src/View/Components/Buttons/ButtonSave.js +4 -9
  662. package/src/View/Components/Buttons/ButtonSchedule.js +4 -9
  663. package/src/View/Components/Buttons/ButtonShare.js +8 -12
  664. package/src/View/Components/Buttons/ButtonShow.js +4 -9
  665. package/src/View/Components/Buttons/ButtonShowChart.js +4 -9
  666. package/src/View/Components/Buttons/ButtonStop.js +4 -9
  667. package/src/View/Components/Buttons/ButtonUndo.js +4 -9
  668. package/src/View/Components/Buttons/ButtonUnsuspend.js +4 -9
  669. package/src/View/Components/Buttons/EntityListActionButtons.js +14 -19
  670. package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +4 -8
  671. package/src/View/Components/Buttons/SuspendToggleButton/index.js +1 -4
  672. package/src/View/Components/CellPopup/index.js +11 -15
  673. package/src/View/Components/ColumnSelector/index.js +7 -12
  674. package/src/View/Components/EntityRowItem.js +2 -7
  675. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.js +18 -23
  676. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.js +27 -32
  677. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.js +1 -5
  678. package/src/View/Components/EntityRulesEditor/Utilities.js +1 -5
  679. package/src/View/Components/EntityRulesEditor/index.js +45 -42
  680. package/src/View/Components/ExpressionWizard.js +17 -22
  681. package/src/View/Components/ExternalRenderer.js +6 -10
  682. package/src/View/Components/FilterForm/FilterForm.js +51 -56
  683. package/src/View/Components/FilterForm/ListBoxFilterForm.js +30 -35
  684. package/src/View/Components/FilterForm/ListBoxMenu.js +8 -13
  685. package/src/View/Components/FilterForm/QuickFilterForm.js +41 -46
  686. package/src/View/Components/FilterForm/QuickFilterValues.js +23 -28
  687. package/src/View/Components/FilterForm/Waiting.js +10 -14
  688. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +1 -5
  689. package/src/View/Components/Forms/AdaptableFormControlTextClear.js +10 -14
  690. package/src/View/Components/ListBox/DualListBoxEditor.js +53 -58
  691. package/src/View/Components/ListBox/ListBoxFilterSortComponent.js +10 -15
  692. package/src/View/Components/ModuleProfile.js +4 -9
  693. package/src/View/Components/ModuleSummary/ModuleDetail.js +6 -11
  694. package/src/View/Components/ModuleSummary/ModuleHeader.js +8 -13
  695. package/src/View/Components/ModuleSummary/SummaryRowItem.js +4 -9
  696. package/src/View/Components/ModuleValueSelector/index.js +15 -19
  697. package/src/View/Components/NewScopeComponent.js +45 -52
  698. package/src/View/Components/Panels/FilterFormPanel.js +22 -27
  699. package/src/View/Components/Panels/PanelDashboard/index.js +4 -9
  700. package/src/View/Components/Panels/PanelFooter.js +8 -13
  701. package/src/View/Components/Panels/PanelToolPanel/index.js +16 -20
  702. package/src/View/Components/Panels/PanelWithButton.js +16 -21
  703. package/src/View/Components/Panels/PanelWithImage.js +16 -20
  704. package/src/View/Components/Panels/PanelWithRow.js +7 -12
  705. package/src/View/Components/Panels/PanelWithTwoButtons.js +7 -12
  706. package/src/View/Components/Panels/ToolPanelSettingsPanel.js +6 -11
  707. package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +15 -20
  708. package/src/View/Components/PermittedValuesSelector/index.js +1 -5
  709. package/src/View/Components/Popups/AdaptableLoadingScreen.js +6 -11
  710. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +26 -31
  711. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +7 -12
  712. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +21 -25
  713. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +24 -29
  714. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +4 -9
  715. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +11 -16
  716. package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +3 -8
  717. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +12 -17
  718. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +12 -17
  719. package/src/View/Components/Popups/AdaptablePopup/index.js +1 -5
  720. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +10 -15
  721. package/src/View/Components/Popups/AdaptablePopupAlert.js +22 -27
  722. package/src/View/Components/Popups/AdaptablePopupConfirmation.js +25 -30
  723. package/src/View/Components/Popups/AdaptablePopupPrompt.js +18 -23
  724. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +26 -31
  725. package/src/View/Components/Popups/AdaptableToaster.js +13 -18
  726. package/src/View/Components/Popups/FormPopups/FormPopups.js +19 -25
  727. package/src/View/Components/Popups/GridCellPopup/GridCellPopup.d.ts +5 -0
  728. package/src/View/Components/Popups/GridCellPopup/GridCellPopup.js +62 -0
  729. package/src/View/Components/Popups/GridCellPopup/index.d.ts +1 -0
  730. package/src/View/Components/Popups/GridCellPopup/index.js +1 -0
  731. package/src/View/Components/Popups/Utilities.js +10 -17
  732. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +23 -27
  733. package/src/View/Components/Popups/WindowPopups/windowFactory.js +13 -16
  734. package/src/View/Components/PredicateEditor/PredicateEditor.js +21 -26
  735. package/src/View/Components/PreviewResultsPanel.js +13 -18
  736. package/src/View/Components/RangesComponent.js +51 -56
  737. package/src/View/Components/ScopeComponent.js +23 -28
  738. package/src/View/Components/Selectors/ColumnSelector.js +6 -11
  739. package/src/View/Components/Selectors/ColumnSelectorOld.js +13 -18
  740. package/src/View/Components/Selectors/ColumnValueSelector.js +15 -20
  741. package/src/View/Components/Selectors/PermittedValuesSelector.js +8 -13
  742. package/src/View/Components/SharedProps/BaseProps.js +1 -2
  743. package/src/View/Components/SharedProps/ConfigEntityRowProps.js +1 -2
  744. package/src/View/Components/SharedProps/EditableConfigEntityState.js +2 -5
  745. package/src/View/Components/SharedProps/ModuleSummaryProps.js +1 -2
  746. package/src/View/Components/SharedProps/ModuleViewPopupProps.js +1 -2
  747. package/src/View/Components/SharedProps/ToolPanelModuleViewPopupProps.js +1 -2
  748. package/src/View/Components/SharedProps/ToolbarModuleViewPopupProps.js +1 -2
  749. package/src/View/Components/SharedProps/ViewPanelProps.js +1 -2
  750. package/src/View/Components/SharedProps/WizardScopeState.js +1 -2
  751. package/src/View/Components/StyleComponent.js +64 -69
  752. package/src/View/Components/StyleVisualItem.js +9 -14
  753. package/src/View/Components/TagValueSelector/index.js +9 -15
  754. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +39 -44
  755. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +13 -18
  756. package/src/View/Components/ToolPanel/ToolPanelPopup.js +24 -28
  757. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +17 -25
  758. package/src/View/Components/ValueSelector/index.js +47 -53
  759. package/src/View/Components/WizardSummaryPage.js +7 -12
  760. package/src/View/Components/WizardSummaryRow.js +6 -11
  761. package/src/View/CustomSort/CustomSortSummary.js +32 -37
  762. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +17 -24
  763. package/src/View/CustomSort/Wizard/CustomSortSummaryWizard.js +4 -9
  764. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +29 -36
  765. package/src/View/CustomSort/Wizard/CustomSortWizard.js +31 -36
  766. package/src/View/Dashboard/CustomDashboardButton.js +7 -12
  767. package/src/View/Dashboard/CustomToolbar.js +19 -25
  768. package/src/View/Dashboard/Dashboard.js +38 -42
  769. package/src/View/Dashboard/DashboardPopup.js +29 -33
  770. package/src/View/Dashboard/DashboardToolbarFactory.js +13 -18
  771. package/src/View/Dashboard/DashboardViewPanel.js +10 -14
  772. package/src/View/Dashboard/ModuleToolbarWrapper.js +9 -14
  773. package/src/View/Dashboard/PinnedDashboard.js +12 -17
  774. package/src/View/Dashboard/PinnedToolbarsSelector.js +11 -16
  775. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +15 -20
  776. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +34 -38
  777. package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +4 -9
  778. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +36 -41
  779. package/src/View/DataChangeHistory/buildActionColumnButton.js +1 -5
  780. package/src/View/DataImport/DataImportPopup.js +12 -17
  781. package/src/View/DataImport/DataImportWizard/DataImportWizard.js +25 -30
  782. package/src/View/DataImport/DataImportWizard/index.js +1 -4
  783. package/src/View/DataImport/DataImportWizard/sections/ColumnsSection.js +29 -34
  784. package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +21 -26
  785. package/src/View/DataImport/DataImportWizard/sections/ImportSection.js +18 -23
  786. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadFileSection.js +5 -10
  787. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadSection.js +17 -22
  788. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadTextSection.js +6 -11
  789. package/src/View/DataImport/DataImportWizard/sections/UploadSection/index.js +1 -4
  790. package/src/View/DataImport/DataImportWizard/sections/ValidationSection.js +18 -23
  791. package/src/View/DataImport/systemFileHandlers.js +5 -9
  792. package/src/View/DataSet/DataSetSelector.js +6 -11
  793. package/src/View/DataSet/DataSetStatusPanelPopover.js +6 -11
  794. package/src/View/DataSet/DataSetViewPanel.js +12 -16
  795. package/src/View/Export/ExportSelector.js +11 -16
  796. package/src/View/Export/ExportTablePopup.js +7 -12
  797. package/src/View/Export/ExportViewPanel.js +37 -41
  798. package/src/View/Export/ReportExportDropdown.js +16 -21
  799. package/src/View/Export/Wizard/NewReportWizard.js +32 -37
  800. package/src/View/Export/Wizard/ReportColumnTypeWizard.js +14 -19
  801. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +28 -35
  802. package/src/View/Export/Wizard/ReportNameWizardSection.js +21 -28
  803. package/src/View/Export/Wizard/ReportRowTypeWizard.js +14 -19
  804. package/src/View/Export/Wizard/ReportRowsWizardSection.js +32 -39
  805. package/src/View/Export/Wizard/ReportScopeWizard.js +9 -14
  806. package/src/View/Export/Wizard/ReportSettingsWizard.js +18 -23
  807. package/src/View/Export/Wizard/ReportSummaryWizard.js +4 -9
  808. package/src/View/Export/constants.js +2 -5
  809. package/src/View/Filter/ActiveFiltersPanel.js +7 -12
  810. package/src/View/Filter/FilterStatusBarSubPanelPopover.js +4 -9
  811. package/src/View/Filter/FilterSummary.js +18 -23
  812. package/src/View/Filter/FilterViewPanel.js +20 -24
  813. package/src/View/FlashingCell/FlashingCellStyle.js +10 -14
  814. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +14 -20
  815. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +8 -13
  816. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +36 -42
  817. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +28 -34
  818. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +44 -49
  819. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +3 -7
  820. package/src/View/FormatColumn/FormatColumnSummary.js +27 -32
  821. package/src/View/FormatColumn/MoveFormatColumn.js +10 -15
  822. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +153 -161
  823. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +6 -11
  824. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +10 -16
  825. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +30 -36
  826. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +17 -25
  827. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +48 -53
  828. package/src/View/FormatColumn/Wizard/constants.js +1 -4
  829. package/src/View/FreeTextColumn/FreeTextColumnSummary.js +27 -32
  830. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +52 -59
  831. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +26 -31
  832. package/src/View/GridFilter/GridFilterExpressionEditor.js +30 -35
  833. package/src/View/GridFilter/GridFilterPopup.js +36 -41
  834. package/src/View/GridFilter/GridFilterStatusbar.js +5 -10
  835. package/src/View/GridFilter/GridFilterViewPanel.js +36 -40
  836. package/src/View/GridFilter/GridFilterWindowPopup.js +4 -9
  837. package/src/View/GridFilter/NamedQuerySelector.js +31 -37
  838. package/src/View/GridFilter/useGridFilterExpressionEditor.js +23 -28
  839. package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.js +3 -7
  840. package/src/View/GridInfo/GridInfoPopup/AdaptableObjectsSummary.js +11 -16
  841. package/src/View/GridInfo/GridInfoPopup/AdaptableOptionsComponent.js +20 -25
  842. package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +33 -37
  843. package/src/View/GridInfo/GridInfoPopup/index.js +1 -4
  844. package/src/View/KeyHint.js +4 -9
  845. package/src/View/Layout/EditCurrentLayoutButton.js +6 -11
  846. package/src/View/Layout/LayoutCloneButton.js +6 -11
  847. package/src/View/Layout/LayoutRadioSelector.js +6 -11
  848. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +10 -15
  849. package/src/View/Layout/LayoutViewPanel.js +26 -30
  850. package/src/View/Layout/PivotDetailsPopoup.js +7 -12
  851. package/src/View/Layout/SaveLayoutButton.js +12 -17
  852. package/src/View/Layout/Wizard/Components/ColumnLabels.js +11 -15
  853. package/src/View/Layout/Wizard/LayoutWizard.js +51 -56
  854. package/src/View/Layout/Wizard/getGridFilterPreview.js +6 -11
  855. package/src/View/Layout/Wizard/sections/AggregationsSection.js +37 -44
  856. package/src/View/Layout/Wizard/sections/ColumnsSection.js +62 -68
  857. package/src/View/Layout/Wizard/sections/FilterSection.js +30 -37
  858. package/src/View/Layout/Wizard/sections/GridFilterSection.js +24 -31
  859. package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +21 -27
  860. package/src/View/Layout/Wizard/sections/RowGroupingSection.js +27 -33
  861. package/src/View/Layout/Wizard/sections/SettingsSection.js +29 -35
  862. package/src/View/Layout/Wizard/sections/SortSection.js +26 -32
  863. package/src/View/Layout/Wizard/sections/Utilities.js +1 -5
  864. package/src/View/License/LicenseWatermark.js +61 -1
  865. package/src/View/License/index.js +1 -5
  866. package/src/View/NamedQuery/EditCurrentQueryButton.js +6 -11
  867. package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +17 -24
  868. package/src/View/NamedQuery/Wizard/NamedQuerySettingsWizardSection.js +21 -28
  869. package/src/View/NamedQuery/Wizard/NamedQueryWizard.js +28 -33
  870. package/src/View/Notes/NoteEditor.d.ts +8 -0
  871. package/src/View/Notes/NoteEditor.js +28 -0
  872. package/src/View/Notes/NotesPopup.d.ts +2 -2
  873. package/src/View/Notes/NotesPopup.js +80 -62
  874. package/src/View/PlusMinus/MovePlusMinus.js +11 -16
  875. package/src/View/PlusMinus/PlusMinusSummary.js +26 -31
  876. package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +12 -18
  877. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +6 -11
  878. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +32 -39
  879. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +26 -31
  880. package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.js +13 -18
  881. package/src/View/QuickSearch/QuickSearchInput.js +13 -18
  882. package/src/View/QuickSearch/QuickSearchPopup.js +26 -30
  883. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +10 -15
  884. package/src/View/QuickSearch/QuickSearchViewPanel.js +4 -9
  885. package/src/View/QuickSearch/useQuickSearchDebounced.js +7 -12
  886. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +8 -13
  887. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +26 -32
  888. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +24 -29
  889. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +13 -18
  890. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +24 -29
  891. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +17 -22
  892. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +13 -28
  893. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +17 -26
  894. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/index.js +3 -9
  895. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +16 -27
  896. package/src/View/Schedule/Wizard/ScheduleWizard.js +43 -56
  897. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +6 -11
  898. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +43 -50
  899. package/src/View/Shortcut/Wizard/ShortcutWizard.js +32 -37
  900. package/src/View/Shortcut/shortcutKeys.js +1 -4
  901. package/src/View/Shortcut/shortcutOperations.js +6 -9
  902. package/src/View/SmartEdit/SmartEditPopup.js +26 -30
  903. package/src/View/SmartEdit/SmartEditViewPanel.js +30 -34
  904. package/src/View/SpecialColumnSettingsWizardStep.js +35 -40
  905. package/src/View/StateManagement/StateManagementPopup.js +22 -27
  906. package/src/View/StateManagement/StateManagementViewPanel.js +14 -19
  907. package/src/View/StateManagement/components/ClearButton.js +4 -9
  908. package/src/View/StateManagement/components/ExportDropdown.js +7 -12
  909. package/src/View/StateManagement/components/LoadButton.js +6 -11
  910. package/src/View/StateManagement/handleExportState.js +4 -9
  911. package/src/View/StatusBar/AdaptableStatusBar.js +14 -19
  912. package/src/View/StatusBar/StatusBarPanel.js +12 -16
  913. package/src/View/StatusBar/StatusBarPopup.js +14 -19
  914. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +63 -60
  915. package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +137 -142
  916. package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +45 -51
  917. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +17 -24
  918. package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.js +21 -27
  919. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarColumnComparisonPreview.js +9 -14
  920. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarRangesPreview.js +7 -12
  921. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarStylePreview.js +7 -12
  922. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +14 -19
  923. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +49 -56
  924. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/index.js +1 -4
  925. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +23 -29
  926. package/src/View/SystemStatus/SystemStatusEntityRow.js +12 -17
  927. package/src/View/SystemStatus/SystemStatusPopup.js +18 -22
  928. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +8 -13
  929. package/src/View/SystemStatus/SystemStatusViewPanel.js +8 -12
  930. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +4 -9
  931. package/src/View/TeamSharing/SharedEntityDependencies.js +12 -18
  932. package/src/View/TeamSharing/SharedEntityObjectView.js +23 -30
  933. package/src/View/TeamSharing/TeamSharingApplyButton.js +6 -11
  934. package/src/View/Theme/ThemeEditor.js +27 -32
  935. package/src/View/Theme/ThemeEditorWindow.js +8 -13
  936. package/src/View/Theme/ThemeField.js +18 -23
  937. package/src/View/Theme/ThemePopup.js +24 -28
  938. package/src/View/Theme/ThemeSelector.js +11 -16
  939. package/src/View/Theme/ThemeStatusbar.js +6 -11
  940. package/src/View/Theme/ThemeViewPanel.js +7 -12
  941. package/src/View/Theme/VariantSelector.js +8 -13
  942. package/src/View/UIHelper.js +120 -152
  943. package/src/View/UIInterfaces.js +1 -2
  944. package/src/View/Wizard/AdaptableWizard.js +24 -30
  945. package/src/View/Wizard/Interface/IAdaptableWizard.js +1 -2
  946. package/src/View/Wizard/ObjectTagsWizardSection.js +14 -20
  947. package/src/View/Wizard/OnePageAdaptableWizard.js +32 -42
  948. package/src/View/Wizard/OnePageWizards.js +50 -59
  949. package/src/View/Wizard/TypeRadio.js +7 -12
  950. package/src/View/Wizard/WizardLegend.js +6 -11
  951. package/src/View/Wizard/useKeyboardNavigation.js +4 -9
  952. package/src/View/renderWithAdaptableContext.js +9 -14
  953. package/src/agGrid/ActionColumnRenderer.js +9 -15
  954. package/src/agGrid/Adaptable.d.ts +9 -5
  955. package/src/agGrid/Adaptable.js +284 -267
  956. package/src/agGrid/AdaptableLogger.js +2 -6
  957. package/src/agGrid/BadgeRenderer.js +14 -15
  958. package/src/agGrid/CheckboxRenderer.js +2 -7
  959. package/src/agGrid/ColumnSetupInfo.js +1 -2
  960. package/src/agGrid/FilterWrapper.js +9 -14
  961. package/src/agGrid/FloatingFilterWrapper.js +8 -13
  962. package/src/agGrid/PercentBarRenderer.js +5 -10
  963. package/src/agGrid/agGridHelper.js +102 -105
  964. package/src/agGrid/agGridMenuHelper.d.ts +2 -0
  965. package/src/agGrid/agGridMenuHelper.js +72 -47
  966. package/src/agGrid/attachAddaptableColumnTypes.js +4 -8
  967. package/src/agGrid/createAgStatusPanelComponent.js +5 -10
  968. package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +12 -16
  969. package/src/agGrid/editors/AdaptableDateEditor/index.js +19 -24
  970. package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +6 -10
  971. package/src/agGrid/editors/AdaptableNumberEditor/index.js +16 -21
  972. package/src/agGrid/index.js +6 -11
  973. package/src/agGrid/weightedAverage.js +10 -17
  974. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +25 -31
  975. package/src/components/AdaptableFormComponent/index.js +1 -4
  976. package/src/components/CheckBox/index.js +13 -17
  977. package/src/components/CodeBlock/index.js +6 -11
  978. package/src/components/ColorPicker/ColorPicker.js +16 -19
  979. package/src/components/ColorPicker/index.js +1 -4
  980. package/src/components/ContainerProps.js +1 -2
  981. package/src/components/Dashboard/Dashboard.js +17 -22
  982. package/src/components/Dashboard/DashboardManager.js +4 -7
  983. package/src/components/Dashboard/DashboardTab.js +1 -5
  984. package/src/components/Dashboard/DashboardToolbar.js +9 -14
  985. package/src/components/Dashboard/index.js +3 -6
  986. package/src/components/Datepicker/Caption.js +15 -20
  987. package/src/components/Datepicker/CaptionLabel.js +16 -21
  988. package/src/components/Datepicker/DatepickerContext.js +4 -9
  989. package/src/components/Datepicker/index.js +36 -39
  990. package/src/components/Dialog/index.js +29 -32
  991. package/src/components/Dialog/useIsOpen.js +3 -6
  992. package/src/components/DragAndDropContext/DragAndDropContext.js +2 -6
  993. package/src/components/DragAndDropContext/ModuleManager.js +13 -18
  994. package/src/components/DragAndDropContext/TabList.js +19 -27
  995. package/src/components/DragAndDropContext/UnusedPanel.js +10 -15
  996. package/src/components/DragAndDropContext/types.js +1 -2
  997. package/src/components/Drawer/index.js +2 -7
  998. package/src/components/Dropdown/Arrows.js +5 -8
  999. package/src/components/Dropdown/index.js +18 -20
  1000. package/src/components/DropdownButton/DropdownButtonItem.js +1 -2
  1001. package/src/components/DropdownButton/index.js +23 -26
  1002. package/src/components/DropdownButton/renderItem.js +4 -7
  1003. package/src/components/DropdownButton/useExpanded.js +9 -12
  1004. package/src/components/EllipsisContainer/index.js +17 -21
  1005. package/src/components/EmptyContent/index.js +8 -10
  1006. package/src/components/ErrorBox/index.js +6 -10
  1007. package/src/components/ExpressionEditor/BaseEditorInput.js +55 -60
  1008. package/src/components/ExpressionEditor/EditorButton.js +8 -10
  1009. package/src/components/ExpressionEditor/EditorContext.js +4 -8
  1010. package/src/components/ExpressionEditor/EditorInput.js +22 -25
  1011. package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +24 -27
  1012. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +10 -15
  1013. package/src/components/ExpressionEditor/ExpressionPreview.js +4 -9
  1014. package/src/components/ExpressionEditor/NamedQueryContext.js +4 -8
  1015. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +36 -42
  1016. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +51 -60
  1017. package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +54 -59
  1018. package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.js +1 -4
  1019. package/src/components/ExpressionEditor/QueryBuilder/index.js +1 -4
  1020. package/src/components/ExpressionEditor/QueryBuilder/utils.js +17 -26
  1021. package/src/components/ExpressionEditor/editorButtonsAggregatedBoolean.js +1 -4
  1022. package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +1 -4
  1023. package/src/components/ExpressionEditor/editorButtonsCumulativeAggregatedScalar.js +1 -4
  1024. package/src/components/ExpressionEditor/editorButtonsObservable.js +1 -4
  1025. package/src/components/ExpressionEditor/editorButtonsQuantileAggregatedScalar.js +1 -4
  1026. package/src/components/ExpressionEditor/editorButtonsSearch.js +1 -4
  1027. package/src/components/ExpressionEditor/index.js +99 -101
  1028. package/src/components/FieldWrap/index.js +5 -8
  1029. package/src/components/FileDroppable/FileDroppableState.js +1 -2
  1030. package/src/components/FileDroppable/index.js +29 -33
  1031. package/src/components/FileDroppable/reducer.js +3 -6
  1032. package/src/components/FlexWithFooter.js +9 -11
  1033. package/src/components/FormLayout/index.js +13 -17
  1034. package/src/components/HelpBlock/index.js +6 -10
  1035. package/src/components/Icon/index.js +20 -29
  1036. package/src/components/IconSelector/IconSelector.js +27 -32
  1037. package/src/components/IconSelector/index.js +1 -4
  1038. package/src/components/InfiniteTable/index.js +6 -10
  1039. package/src/components/Input/NumberInput.js +4 -9
  1040. package/src/components/Input/index.js +8 -11
  1041. package/src/components/InputGroup/InputGroup.js +4 -8
  1042. package/src/components/InputGroup/index.js +1 -4
  1043. package/src/components/List/GridList/index.js +7 -10
  1044. package/src/components/List/ListGroup/index.js +7 -9
  1045. package/src/components/List/ListGroupItem/index.js +8 -10
  1046. package/src/components/Loader/Loader.js +4 -10
  1047. package/src/components/Loader/index.js +2 -7
  1048. package/src/components/Logo/index.js +2 -7
  1049. package/src/components/Modal/Backdrop.js +12 -17
  1050. package/src/components/Modal/index.js +19 -23
  1051. package/src/components/NotifyResize/index.js +4 -7
  1052. package/src/components/OverlayTrigger/Overlay.js +19 -23
  1053. package/src/components/OverlayTrigger/index.js +43 -48
  1054. package/src/components/OverlayTrigger/useAgGridClassName.js +5 -7
  1055. package/src/components/OverlayTrigger/utils.js +3 -9
  1056. package/src/components/Panel/index.js +12 -15
  1057. package/src/components/PopupWithFooter.js +8 -11
  1058. package/src/components/ProgressIndicator/ProgressIndicator.js +12 -17
  1059. package/src/components/Radio/index.js +15 -20
  1060. package/src/components/ResizeObserver/getResizeObserverObject.js +1 -5
  1061. package/src/components/ResizeObserver/index.js +17 -24
  1062. package/src/components/Select/Select.js +15 -20
  1063. package/src/components/Select/index.js +1 -4
  1064. package/src/components/SelectList.js +4 -9
  1065. package/src/components/SelectableList/index.js +8 -13
  1066. package/src/components/SimpleButton/index.js +19 -22
  1067. package/src/components/SizedContainer/index.js +9 -11
  1068. package/src/components/StylePreview.js +6 -11
  1069. package/src/components/Table/index.js +4 -7
  1070. package/src/components/Tabs/index.js +28 -34
  1071. package/src/components/Tag/Tag.js +5 -9
  1072. package/src/components/Tag/index.js +1 -5
  1073. package/src/components/Textarea/index.js +8 -11
  1074. package/src/components/Toastify/index.d.ts +2 -2
  1075. package/src/components/Toastify/index.js +1 -10
  1076. package/src/components/Toggle/Toggle.js +8 -12
  1077. package/src/components/Toggle/ToggleGroup.js +4 -9
  1078. package/src/components/Toggle/index.js +2 -5
  1079. package/src/components/ToggleButton/index.js +6 -11
  1080. package/src/components/Tooltip/index.js +4 -7
  1081. package/src/components/WarningBox/index.js +6 -11
  1082. package/src/components/WindowModal/WindowModal.js +12 -17
  1083. package/src/components/WindowModal/index.js +1 -4
  1084. package/src/components/WindowModal/useStacking.js +4 -9
  1085. package/src/components/WizardPanel/index.js +5 -8
  1086. package/src/components/icons/DefaultIcon.js +8 -12
  1087. package/src/components/icons/add-row.js +3 -6
  1088. package/src/components/icons/alert.js +3 -6
  1089. package/src/components/icons/align-center.js +3 -6
  1090. package/src/components/icons/align-justify.js +3 -6
  1091. package/src/components/icons/align-left.js +3 -6
  1092. package/src/components/icons/align-right.js +3 -6
  1093. package/src/components/icons/analysis.js +3 -6
  1094. package/src/components/icons/application.js +3 -6
  1095. package/src/components/icons/arrow-down-long.js +3 -6
  1096. package/src/components/icons/arrow-down.js +3 -6
  1097. package/src/components/icons/arrow-expand.js +3 -6
  1098. package/src/components/icons/arrow-left.js +3 -6
  1099. package/src/components/icons/arrow-right.js +3 -6
  1100. package/src/components/icons/arrow-up-long.js +3 -6
  1101. package/src/components/icons/arrow-up.js +3 -6
  1102. package/src/components/icons/attach-file.js +3 -6
  1103. package/src/components/icons/badge.js +3 -6
  1104. package/src/components/icons/blanks.js +3 -6
  1105. package/src/components/icons/bold.js +3 -6
  1106. package/src/components/icons/boolean-list.js +3 -6
  1107. package/src/components/icons/brush.js +3 -6
  1108. package/src/components/icons/build.js +3 -6
  1109. package/src/components/icons/bulk-update.js +3 -6
  1110. package/src/components/icons/calculated-column.js +3 -6
  1111. package/src/components/icons/calendar.js +3 -6
  1112. package/src/components/icons/call.js +3 -6
  1113. package/src/components/icons/campaign.js +3 -6
  1114. package/src/components/icons/case-lower.js +3 -6
  1115. package/src/components/icons/case-sentence.js +3 -6
  1116. package/src/components/icons/case-upper.js +3 -6
  1117. package/src/components/icons/cell-summary.js +3 -6
  1118. package/src/components/icons/cell-validation.js +3 -6
  1119. package/src/components/icons/chart.js +3 -6
  1120. package/src/components/icons/chat.js +3 -6
  1121. package/src/components/icons/check-box-outline.js +3 -6
  1122. package/src/components/icons/check-box.js +3 -6
  1123. package/src/components/icons/check-circle.js +3 -6
  1124. package/src/components/icons/check.js +3 -6
  1125. package/src/components/icons/clone.js +3 -6
  1126. package/src/components/icons/close.js +3 -6
  1127. package/src/components/icons/cloud-upload.js +3 -6
  1128. package/src/components/icons/collapse.js +3 -6
  1129. package/src/components/icons/column-add.js +3 -6
  1130. package/src/components/icons/column-chooser.js +3 -6
  1131. package/src/components/icons/column-filter.js +3 -6
  1132. package/src/components/icons/column-info.js +3 -6
  1133. package/src/components/icons/comment.js +3 -6
  1134. package/src/components/icons/comments.d.ts +3 -0
  1135. package/src/components/icons/comments.js +4 -0
  1136. package/src/components/icons/contact.js +3 -6
  1137. package/src/components/icons/contains.js +3 -6
  1138. package/src/components/icons/custom-sort.js +3 -6
  1139. package/src/components/icons/dashboard.js +3 -6
  1140. package/src/components/icons/data-set.js +3 -6
  1141. package/src/components/icons/date-range.js +3 -6
  1142. package/src/components/icons/delete.js +3 -6
  1143. package/src/components/icons/division.js +3 -6
  1144. package/src/components/icons/dock.js +3 -6
  1145. package/src/components/icons/dollar.js +3 -6
  1146. package/src/components/icons/drag.js +3 -6
  1147. package/src/components/icons/edit.js +3 -6
  1148. package/src/components/icons/ends-with.js +3 -6
  1149. package/src/components/icons/equal.js +3 -6
  1150. package/src/components/icons/equation.js +3 -6
  1151. package/src/components/icons/error.js +3 -6
  1152. package/src/components/icons/expand.js +3 -6
  1153. package/src/components/icons/exponent.js +3 -6
  1154. package/src/components/icons/export.js +3 -6
  1155. package/src/components/icons/fast-backward.js +3 -6
  1156. package/src/components/icons/fast-forward.js +3 -6
  1157. package/src/components/icons/fdc3.js +3 -6
  1158. package/src/components/icons/filter.js +3 -6
  1159. package/src/components/icons/flashing-cell.js +3 -6
  1160. package/src/components/icons/folder-open.js +3 -6
  1161. package/src/components/icons/folder-shared.js +3 -6
  1162. package/src/components/icons/folder.js +3 -6
  1163. package/src/components/icons/format-column.js +3 -6
  1164. package/src/components/icons/freetext-column.js +3 -6
  1165. package/src/components/icons/function.js +3 -6
  1166. package/src/components/icons/gradient-column.js +3 -6
  1167. package/src/components/icons/gradient.js +3 -6
  1168. package/src/components/icons/greater-than-or-equal.js +3 -6
  1169. package/src/components/icons/greater-than.js +3 -6
  1170. package/src/components/icons/grid-filter.js +3 -6
  1171. package/src/components/icons/hide-column.js +3 -6
  1172. package/src/components/icons/history.js +3 -6
  1173. package/src/components/icons/home.js +3 -6
  1174. package/src/components/icons/import-export.js +3 -6
  1175. package/src/components/icons/import.js +3 -6
  1176. package/src/components/icons/index.js +323 -326
  1177. package/src/components/icons/info.js +3 -6
  1178. package/src/components/icons/instrument.js +3 -6
  1179. package/src/components/icons/interactions.js +3 -6
  1180. package/src/components/icons/invalid.js +3 -6
  1181. package/src/components/icons/ipushpull.js +3 -6
  1182. package/src/components/icons/italic.js +3 -6
  1183. package/src/components/icons/justify.js +3 -6
  1184. package/src/components/icons/layout.js +3 -6
  1185. package/src/components/icons/less-than-or-equal.js +3 -6
  1186. package/src/components/icons/less-than.js +3 -6
  1187. package/src/components/icons/list.js +3 -6
  1188. package/src/components/icons/login.js +3 -6
  1189. package/src/components/icons/logout copy.js +3 -6
  1190. package/src/components/icons/logout.js +3 -6
  1191. package/src/components/icons/mail.js +3 -6
  1192. package/src/components/icons/menu.js +3 -6
  1193. package/src/components/icons/minus.js +3 -6
  1194. package/src/components/icons/money.js +3 -6
  1195. package/src/components/icons/multiplication.js +3 -6
  1196. package/src/components/icons/newpage.js +3 -6
  1197. package/src/components/icons/news.js +3 -6
  1198. package/src/components/icons/non-blanks.js +3 -6
  1199. package/src/components/icons/not-contains.js +3 -6
  1200. package/src/components/icons/not-equal.js +3 -6
  1201. package/src/components/icons/note.js +3 -6
  1202. package/src/components/icons/open-in-new.js +3 -6
  1203. package/src/components/icons/order.js +3 -6
  1204. package/src/components/icons/organisation.js +3 -6
  1205. package/src/components/icons/overline.js +3 -6
  1206. package/src/components/icons/pause.js +3 -6
  1207. package/src/components/icons/percent-bar.js +3 -6
  1208. package/src/components/icons/percent.js +3 -6
  1209. package/src/components/icons/person.js +3 -6
  1210. package/src/components/icons/pie-chart.js +3 -6
  1211. package/src/components/icons/play.js +3 -6
  1212. package/src/components/icons/plus-minus.js +3 -6
  1213. package/src/components/icons/plus.js +3 -6
  1214. package/src/components/icons/query.js +3 -6
  1215. package/src/components/icons/quick-search.js +3 -6
  1216. package/src/components/icons/quote.js +3 -6
  1217. package/src/components/icons/refresh.js +3 -6
  1218. package/src/components/icons/regex.js +3 -6
  1219. package/src/components/icons/reminder.js +3 -6
  1220. package/src/components/icons/resume.js +3 -6
  1221. package/src/components/icons/save.js +3 -6
  1222. package/src/components/icons/schedule.js +3 -6
  1223. package/src/components/icons/science.js +3 -6
  1224. package/src/components/icons/settings.js +3 -6
  1225. package/src/components/icons/shortcut.js +3 -6
  1226. package/src/components/icons/show-column.js +3 -6
  1227. package/src/components/icons/smart-edit.js +3 -6
  1228. package/src/components/icons/sort-asc.js +3 -6
  1229. package/src/components/icons/sort-desc.js +3 -6
  1230. package/src/components/icons/spark-line.js +3 -6
  1231. package/src/components/icons/starts-with.js +3 -6
  1232. package/src/components/icons/state-management.js +3 -6
  1233. package/src/components/icons/statusbar.js +3 -6
  1234. package/src/components/icons/stop.js +3 -6
  1235. package/src/components/icons/strikethrough.js +3 -6
  1236. package/src/components/icons/system-status.js +3 -6
  1237. package/src/components/icons/tab-unselected.js +3 -6
  1238. package/src/components/icons/table-arrow-right.js +3 -6
  1239. package/src/components/icons/team-share.js +3 -6
  1240. package/src/components/icons/theme.js +3 -6
  1241. package/src/components/icons/tool-panel.js +3 -6
  1242. package/src/components/icons/track-changes.js +3 -6
  1243. package/src/components/icons/triangle-down.js +3 -6
  1244. package/src/components/icons/triangle-up.js +3 -6
  1245. package/src/components/icons/unchecked.js +3 -6
  1246. package/src/components/icons/underline.js +3 -6
  1247. package/src/components/icons/undo.js +3 -6
  1248. package/src/components/icons/updated-row.js +3 -6
  1249. package/src/components/icons/upload.js +3 -6
  1250. package/src/components/icons/user-filter.js +3 -6
  1251. package/src/components/icons/visibility-off.js +3 -6
  1252. package/src/components/icons/visibility.js +3 -6
  1253. package/src/components/icons/warning.js +3 -6
  1254. package/src/components/utils/batchUpdate.js +3 -5
  1255. package/src/components/utils/captureTabNavigation/getFocusableChildren.js +1 -3
  1256. package/src/components/utils/captureTabNavigation/index.js +3 -6
  1257. package/src/components/utils/contains.js +1 -4
  1258. package/src/components/utils/getAvailableSizeInfo.js +1 -3
  1259. package/src/components/utils/join.js +1 -3
  1260. package/src/components/utils/selectParent/index.js +3 -6
  1261. package/src/components/utils/selectParent/matches.js +1 -2
  1262. package/src/components/utils/useAutoFocus.js +5 -8
  1263. package/src/components/utils/useContainerScrollObserver/index.js +9 -13
  1264. package/src/components/utils/useDraggable.js +7 -10
  1265. package/src/components/utils/useGlobalEvent.js +2 -7
  1266. package/src/components/utils/useLatest.js +4 -8
  1267. package/src/components/utils/usePrevious.js +4 -6
  1268. package/src/components/utils/usePropState.js +3 -6
  1269. package/src/components/utils/useProperty.js +4 -6
  1270. package/src/components/utils/useRerender.js +4 -8
  1271. package/src/components/utils/useSelectionRange.js +5 -9
  1272. package/src/components/utils/useTheme.js +2 -5
  1273. package/src/components/utils/uuid.js +2 -6
  1274. package/src/env.d.ts +3 -1
  1275. package/src/env.js +4 -4
  1276. package/src/metamodel/adaptable-metamodel-model.js +1 -2
  1277. package/src/metamodel/adaptable.metamodel.d.ts +38 -131
  1278. package/src/metamodel/adaptable.metamodel.js +9303 -1
  1279. package/src/parser/src/ExpressionEvaluationError.js +1 -5
  1280. package/src/parser/src/evaluator.js +3 -7
  1281. package/src/parser/src/index.js +9 -18
  1282. package/src/parser/src/parser.d.ts +2 -0
  1283. package/src/parser/src/parser.js +1878 -705
  1284. package/src/parser/src/predicate/index.js +2 -5
  1285. package/src/parser/src/predicate/mapExpressionToQlPredicate.js +12 -16
  1286. package/src/parser/src/predicate/mapQlPredicateToExpression.js +6 -11
  1287. package/src/parser/src/predicate/types.js +1 -5
  1288. package/src/parser/src/tokenizer.js +3 -8
  1289. package/src/parser/src/types.js +1 -5
  1290. package/src/parser/src/utils.js +3 -9
  1291. package/src/renderReactRoot.js +2 -7
  1292. package/src/theme.js +1 -3
  1293. package/src/themes/index.js +8 -7
  1294. package/src/types.d.ts +6 -11
  1295. package/src/types.js +1 -5
  1296. package/themes/dark.css +3 -3
  1297. package/themes/dark.css.map +1 -1
  1298. package/themes/light.css.map +1 -1
  1299. package/tsconfig.esm.tsbuildinfo +1 -0
  1300. package/types.js +1 -4
  1301. package/bundle.cjs.js +0 -689
  1302. package/publishTimestamp.d.ts +0 -2
  1303. package/publishTimestamp.js +0 -3
  1304. package/src/AdaptableOptions/FinsemblePluginOptions.d.ts +0 -35
  1305. package/src/AdaptableOptions/FinsemblePluginOptions.js +0 -2
  1306. package/src/AdaptableOptions/Glue42PluginOptions.d.ts +0 -25
  1307. package/src/AdaptableOptions/Glue42PluginOptions.js +0 -2
  1308. package/src/AdaptableOptions/Glue42WebPluginOptions.d.ts +0 -10
  1309. package/src/AdaptableOptions/Glue42WebPluginOptions.js +0 -2
  1310. package/src/Api/FinsembleApi.d.ts +0 -10
  1311. package/src/Api/FinsembleApi.js +0 -2
  1312. package/src/Api/Glue42Api.d.ts +0 -75
  1313. package/src/Api/Glue42Api.js +0 -2
  1314. package/src/Api/Glue42WebApi.d.ts +0 -10
  1315. package/src/Api/Glue42WebApi.js +0 -2
  1316. package/src/Api/NotesAPi.js +0 -2
  1317. package/src/PredefinedConfig/Glue42State.d.ts +0 -46
  1318. package/src/PredefinedConfig/Glue42State.js +0 -2
  1319. package/src/View/Notes/NotesListing.d.ts +0 -2
  1320. package/src/View/Notes/NotesListing.js +0 -88
  1321. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.d.ts +0 -9
  1322. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +0 -25
  1323. package/src/bundle-dependencies/bundles/react-toastify/components/CloseButton.d.ts +0 -9
  1324. package/src/bundle-dependencies/bundles/react-toastify/components/Icons.d.ts +0 -24
  1325. package/src/bundle-dependencies/bundles/react-toastify/components/ProgressBar.d.ts +0 -59
  1326. package/src/bundle-dependencies/bundles/react-toastify/components/Toast.d.ts +0 -3
  1327. package/src/bundle-dependencies/bundles/react-toastify/components/ToastContainer.d.ts +0 -3
  1328. package/src/bundle-dependencies/bundles/react-toastify/components/Transitions.d.ts +0 -6
  1329. package/src/bundle-dependencies/bundles/react-toastify/components/index.d.ts +0 -6
  1330. package/src/bundle-dependencies/bundles/react-toastify/core/eventManager.d.ts +0 -39
  1331. package/src/bundle-dependencies/bundles/react-toastify/core/index.d.ts +0 -2
  1332. package/src/bundle-dependencies/bundles/react-toastify/core/toast.d.ts +0 -41
  1333. package/src/bundle-dependencies/bundles/react-toastify/hooks/index.d.ts +0 -2
  1334. package/src/bundle-dependencies/bundles/react-toastify/hooks/useToast.d.ts +0 -10
  1335. package/src/bundle-dependencies/bundles/react-toastify/hooks/useToastContainer.d.ts +0 -23
  1336. package/src/bundle-dependencies/bundles/react-toastify/index.d.ts +0 -5
  1337. package/src/bundle-dependencies/bundles/react-toastify/index.js +0 -1
  1338. package/src/bundle-dependencies/bundles/react-toastify/inject-style.d.ts +0 -8
  1339. package/src/bundle-dependencies/bundles/react-toastify/types/index.d.ts +0 -269
  1340. package/src/bundle-dependencies/bundles/react-toastify/utils/collapseToast.d.ts +0 -5
  1341. package/src/bundle-dependencies/bundles/react-toastify/utils/constant.d.ts +0 -23
  1342. package/src/bundle-dependencies/bundles/react-toastify/utils/cssTransition.d.ts +0 -43
  1343. package/src/bundle-dependencies/bundles/react-toastify/utils/index.d.ts +0 -5
  1344. package/src/bundle-dependencies/bundles/react-toastify/utils/mapper.d.ts +0 -2
  1345. package/src/bundle-dependencies/bundles/react-toastify/utils/propValidator.d.ts +0 -9
  1346. package/version.d.ts +0 -2
  1347. package/version.js +0 -3
@@ -1,24 +1,20 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StyledColumnSparklineSettingsSection = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = tslib_1.__importStar(require("react"));
6
- const rebass_1 = require("rebass");
7
- const CheckBox_1 = require("../../../components/CheckBox");
8
- const ColorPicker_1 = require("../../../components/ColorPicker");
9
- const FormLayout_1 = tslib_1.__importStar(require("../../../components/FormLayout"));
10
- const Input_1 = tslib_1.__importDefault(require("../../../components/Input"));
11
- const Select_1 = require("../../../components/Select");
12
- const Tabs_1 = require("../../../components/Tabs");
13
- const Tag_1 = require("../../../components/Tag");
14
- const ObjectExtensions_1 = require("../../../Utilities/Extensions/ObjectExtensions");
15
- const StringExtensions_1 = require("../../../Utilities/Extensions/StringExtensions");
16
- const AdaptableInput_1 = tslib_1.__importDefault(require("../../Components/AdaptableInput"));
17
- const UIHelper_1 = require("../../UIHelper");
18
- const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
1
+ import * as React from 'react';
2
+ import { Box, Flex } from 'rebass';
3
+ import { CheckBox } from '../../../components/CheckBox';
4
+ import { ColorPicker } from '../../../components/ColorPicker';
5
+ import FormLayout, { FormRow } from '../../../components/FormLayout';
6
+ import Input from '../../../components/Input';
7
+ import { Select } from '../../../components/Select';
8
+ import { Tabs } from '../../../components/Tabs';
9
+ import { Tag } from '../../../components/Tag';
10
+ import { setInPath } from '../../../Utilities/Extensions/ObjectExtensions';
11
+ import { Humanize } from '../../../Utilities/Extensions/StringExtensions';
12
+ import AdaptableInput from '../../Components/AdaptableInput';
13
+ import { BLACK, LIGHT_BLUE, LIGHT_GRAY, YELLOW } from '../../UIHelper';
14
+ import { useOnePageAdaptableWizardContext } from '../../Wizard/OnePageAdaptableWizard';
19
15
  const CommonProperties = (props) => {
20
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8;
21
- const { data, api } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
17
+ const { data, api } = useOnePageAdaptableWizardContext();
22
18
  const axisTypeOptions = React.useMemo(() => {
23
19
  return [
24
20
  {
@@ -35,68 +31,68 @@ const CommonProperties = (props) => {
35
31
  },
36
32
  ];
37
33
  }, [data]);
38
- return (React.createElement(Tabs_1.Tabs, { mb: 2 },
39
- React.createElement(Tabs_1.Tabs.Tab, null, "Padding"),
40
- React.createElement(Tabs_1.Tabs.Tab, null, "Axis"),
41
- React.createElement(Tabs_1.Tabs.Tab, null, "Highlight Style"),
42
- React.createElement(Tabs_1.Tabs.Content, null,
43
- React.createElement(FormLayout_1.default, null,
44
- React.createElement(FormLayout_1.FormRow, { label: "Top" },
45
- React.createElement(Input_1.default, { onChange: (event) => { var _a; return props.onOptionChange(['padding', 'top'], (_a = event.target.value) !== null && _a !== void 0 ? _a : 0); }, type: "number", value: (_b = (_a = data.SparkLineStyle.options) === null || _a === void 0 ? void 0 : _a.padding) === null || _b === void 0 ? void 0 : _b.top })),
46
- React.createElement(FormLayout_1.FormRow, { label: "Bottom" },
47
- React.createElement(Input_1.default, { onChange: (event) => { var _a; return props.onOptionChange(['padding', 'bottom'], (_a = event.target.value) !== null && _a !== void 0 ? _a : 0); }, type: "number", value: (_d = (_c = data.SparkLineStyle.options) === null || _c === void 0 ? void 0 : _c.padding) === null || _d === void 0 ? void 0 : _d.bottom })),
48
- React.createElement(FormLayout_1.FormRow, { label: "Left" },
49
- React.createElement(Input_1.default, { onChange: (event) => { var _a; return props.onOptionChange(['padding', 'left'], (_a = event.target.value) !== null && _a !== void 0 ? _a : 0); }, type: "number", value: (_f = (_e = data.SparkLineStyle.options) === null || _e === void 0 ? void 0 : _e.padding) === null || _f === void 0 ? void 0 : _f.left })),
50
- React.createElement(FormLayout_1.FormRow, { label: "Right" },
51
- React.createElement(Input_1.default, { onChange: (event) => { var _a; return props.onOptionChange(['padding', 'right'], (_a = event.target.value) !== null && _a !== void 0 ? _a : 0); }, type: "number", value: (_h = (_g = data.SparkLineStyle.options) === null || _g === void 0 ? void 0 : _g.padding) === null || _h === void 0 ? void 0 : _h.right })))),
52
- React.createElement(Tabs_1.Tabs.Content, null,
53
- React.createElement(FormLayout_1.default, null,
54
- React.createElement(FormLayout_1.FormRow, { label: "Axis Type" },
55
- React.createElement(rebass_1.Box, { maxWidth: 180 },
56
- React.createElement(Select_1.Select, { value: (_l = (_k = (_j = data === null || data === void 0 ? void 0 : data.SparkLineStyle) === null || _j === void 0 ? void 0 : _j.options) === null || _k === void 0 ? void 0 : _k.axis) === null || _l === void 0 ? void 0 : _l.type, options: axisTypeOptions, onChange: (value) => props.onOptionChange(['axis', 'type'], value), placeholder: "Select Axis Type" }))),
57
- React.createElement(FormLayout_1.FormRow, { label: "Stroke Color" },
58
- React.createElement(ColorPicker_1.ColorPicker, { api: api, value: (_q = (_p = (_o = (_m = data.SparkLineStyle) === null || _m === void 0 ? void 0 : _m.options) === null || _o === void 0 ? void 0 : _o.axis) === null || _p === void 0 ? void 0 : _p.stroke) !== null && _q !== void 0 ? _q : '#fff', onChange: (color) => props.onOptionChange(['axis', 'stroke'], color) })),
59
- React.createElement(FormLayout_1.FormRow, { label: "Stroke Width" },
60
- React.createElement(AdaptableInput_1.default, { type: "number", value: (_u = (_t = (_s = (_r = data.SparkLineStyle) === null || _r === void 0 ? void 0 : _r.options) === null || _s === void 0 ? void 0 : _s.axis) === null || _t === void 0 ? void 0 : _t.strokeWidth) !== null && _u !== void 0 ? _u : 0, onChange: (event) => props.onOptionChange(['axis', 'strokeWidth'], parseFloat(event.target.value)) })))),
61
- React.createElement(Tabs_1.Tabs.Content, null,
62
- React.createElement(FormLayout_1.default, null,
63
- React.createElement(FormLayout_1.FormRow, { label: "Size" },
64
- React.createElement(AdaptableInput_1.default, { type: "number", value: (_x = (_w = (_v = data.SparkLineStyle) === null || _v === void 0 ? void 0 : _v.options) === null || _w === void 0 ? void 0 : _w.highlightStyle) === null || _x === void 0 ? void 0 : _x.size, onChange: (event) => props.onOptionChange(['highlightStyle', 'size'], parseFloat(event.target.value)) })),
65
- React.createElement(FormLayout_1.FormRow, { label: "Fill" },
66
- React.createElement(ColorPicker_1.ColorPicker, { api: api, value: (_1 = (_0 = (_z = (_y = data.SparkLineStyle) === null || _y === void 0 ? void 0 : _y.options) === null || _z === void 0 ? void 0 : _z.highlightStyle) === null || _0 === void 0 ? void 0 : _0.fill) !== null && _1 !== void 0 ? _1 : UIHelper_1.YELLOW, onChange: (color) => props.onOptionChange(['highlightStyle', 'fill'], color) })),
67
- React.createElement(FormLayout_1.FormRow, { label: "Stroke" },
68
- React.createElement(ColorPicker_1.ColorPicker, { api: api, value: (_5 = (_4 = (_3 = (_2 = data.SparkLineStyle) === null || _2 === void 0 ? void 0 : _2.options) === null || _3 === void 0 ? void 0 : _3.highlightStyle) === null || _4 === void 0 ? void 0 : _4.stroke) !== null && _5 !== void 0 ? _5 : UIHelper_1.LIGHT_GRAY, onChange: (color) => props.onOptionChange(['highlightStyle', 'stroke'], color) })),
69
- React.createElement(FormLayout_1.FormRow, { label: "Stroke Width" },
70
- React.createElement(AdaptableInput_1.default, { type: "number", value: (_8 = (_7 = (_6 = data.SparkLineStyle) === null || _6 === void 0 ? void 0 : _6.options) === null || _7 === void 0 ? void 0 : _7.highlightStyle) === null || _8 === void 0 ? void 0 : _8.strokeWidth, onChange: (event) => props.onOptionChange(['highlightStyle', 'strokeWidth'], parseFloat(event.target.value)) }))))));
34
+ return (React.createElement(Tabs, { mb: 2 },
35
+ React.createElement(Tabs.Tab, null, "Padding"),
36
+ React.createElement(Tabs.Tab, null, "Axis"),
37
+ React.createElement(Tabs.Tab, null, "Highlight Style"),
38
+ React.createElement(Tabs.Content, null,
39
+ React.createElement(FormLayout, null,
40
+ React.createElement(FormRow, { label: "Top" },
41
+ React.createElement(Input, { onChange: (event) => { var _a; return props.onOptionChange(['padding', 'top'], (_a = event.target.value) !== null && _a !== void 0 ? _a : 0); }, type: "number", value: (_b = (_a = data.SparkLineStyle.options) === null || _a === void 0 ? void 0 : _a.padding) === null || _b === void 0 ? void 0 : _b.top })),
42
+ React.createElement(FormRow, { label: "Bottom" },
43
+ React.createElement(Input, { onChange: (event) => { var _a; return props.onOptionChange(['padding', 'bottom'], (_a = event.target.value) !== null && _a !== void 0 ? _a : 0); }, type: "number", value: (_d = (_c = data.SparkLineStyle.options) === null || _c === void 0 ? void 0 : _c.padding) === null || _d === void 0 ? void 0 : _d.bottom })),
44
+ React.createElement(FormRow, { label: "Left" },
45
+ React.createElement(Input, { onChange: (event) => { var _a; return props.onOptionChange(['padding', 'left'], (_a = event.target.value) !== null && _a !== void 0 ? _a : 0); }, type: "number", value: (_f = (_e = data.SparkLineStyle.options) === null || _e === void 0 ? void 0 : _e.padding) === null || _f === void 0 ? void 0 : _f.left })),
46
+ React.createElement(FormRow, { label: "Right" },
47
+ React.createElement(Input, { onChange: (event) => { var _a; return props.onOptionChange(['padding', 'right'], (_a = event.target.value) !== null && _a !== void 0 ? _a : 0); }, type: "number", value: (_h = (_g = data.SparkLineStyle.options) === null || _g === void 0 ? void 0 : _g.padding) === null || _h === void 0 ? void 0 : _h.right })))),
48
+ React.createElement(Tabs.Content, null,
49
+ React.createElement(FormLayout, null,
50
+ React.createElement(FormRow, { label: "Axis Type" },
51
+ React.createElement(Box, { maxWidth: 180 },
52
+ React.createElement(Select, { value: (_l = (_k = (_j = data === null || data === void 0 ? void 0 : data.SparkLineStyle) === null || _j === void 0 ? void 0 : _j.options) === null || _k === void 0 ? void 0 : _k.axis) === null || _l === void 0 ? void 0 : _l.type, options: axisTypeOptions, onChange: (value) => props.onOptionChange(['axis', 'type'], value), placeholder: "Select Axis Type" }))),
53
+ React.createElement(FormRow, { label: "Stroke Color" },
54
+ React.createElement(ColorPicker, { api: api, value: (_q = (_p = (_o = (_m = data.SparkLineStyle) === null || _m === void 0 ? void 0 : _m.options) === null || _o === void 0 ? void 0 : _o.axis) === null || _p === void 0 ? void 0 : _p.stroke) !== null && _q !== void 0 ? _q : '#fff', onChange: (color) => props.onOptionChange(['axis', 'stroke'], color) })),
55
+ React.createElement(FormRow, { label: "Stroke Width" },
56
+ React.createElement(AdaptableInput, { type: "number", value: (_u = (_t = (_s = (_r = data.SparkLineStyle) === null || _r === void 0 ? void 0 : _r.options) === null || _s === void 0 ? void 0 : _s.axis) === null || _t === void 0 ? void 0 : _t.strokeWidth) !== null && _u !== void 0 ? _u : 0, onChange: (event) => props.onOptionChange(['axis', 'strokeWidth'], parseFloat(event.target.value)) })))),
57
+ React.createElement(Tabs.Content, null,
58
+ React.createElement(FormLayout, null,
59
+ React.createElement(FormRow, { label: "Size" },
60
+ React.createElement(AdaptableInput, { type: "number", value: (_x = (_w = (_v = data.SparkLineStyle) === null || _v === void 0 ? void 0 : _v.options) === null || _w === void 0 ? void 0 : _w.highlightStyle) === null || _x === void 0 ? void 0 : _x.size, onChange: (event) => props.onOptionChange(['highlightStyle', 'size'], parseFloat(event.target.value)) })),
61
+ React.createElement(FormRow, { label: "Fill" },
62
+ React.createElement(ColorPicker, { api: api, value: (_1 = (_0 = (_z = (_y = data.SparkLineStyle) === null || _y === void 0 ? void 0 : _y.options) === null || _z === void 0 ? void 0 : _z.highlightStyle) === null || _0 === void 0 ? void 0 : _0.fill) !== null && _1 !== void 0 ? _1 : YELLOW, onChange: (color) => props.onOptionChange(['highlightStyle', 'fill'], color) })),
63
+ React.createElement(FormRow, { label: "Stroke" },
64
+ React.createElement(ColorPicker, { api: api, value: (_5 = (_4 = (_3 = (_2 = data.SparkLineStyle) === null || _2 === void 0 ? void 0 : _2.options) === null || _3 === void 0 ? void 0 : _3.highlightStyle) === null || _4 === void 0 ? void 0 : _4.stroke) !== null && _5 !== void 0 ? _5 : LIGHT_GRAY, onChange: (color) => props.onOptionChange(['highlightStyle', 'stroke'], color) })),
65
+ React.createElement(FormRow, { label: "Stroke Width" },
66
+ React.createElement(AdaptableInput, { type: "number", value: (_8 = (_7 = (_6 = data.SparkLineStyle) === null || _6 === void 0 ? void 0 : _6.options) === null || _7 === void 0 ? void 0 : _7.highlightStyle) === null || _8 === void 0 ? void 0 : _8.strokeWidth, onChange: (event) => props.onOptionChange(['highlightStyle', 'strokeWidth'], parseFloat(event.target.value)) }))))));
71
67
  };
72
68
  const SparklineMarkerProperties = (props) => {
73
69
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
74
- const { data, api } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
70
+ const { data, api } = useOnePageAdaptableWizardContext();
75
71
  const sparklineOptions = data.SparkLineStyle.options;
76
- return (React.createElement(FormLayout_1.default, null,
77
- React.createElement(FormLayout_1.FormRow, { label: "Enabled" },
78
- React.createElement(CheckBox_1.CheckBox, { checked: (_b = (_a = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.marker) === null || _a === void 0 ? void 0 : _a.enabled) !== null && _b !== void 0 ? _b : true, onChange: (checked) => props.onOptionChange(['marker', 'enabled'], checked) })),
79
- React.createElement(FormLayout_1.FormRow, { label: "Size" },
80
- React.createElement(AdaptableInput_1.default, { type: "number", value: (_d = (_c = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.marker) === null || _c === void 0 ? void 0 : _c.size) !== null && _d !== void 0 ? _d : 0, onChange: (event) => props.onOptionChange(['marker', 'size'], parseFloat(event.target.value)) })),
81
- React.createElement(FormLayout_1.FormRow, { label: "Fill" },
82
- React.createElement(ColorPicker_1.ColorPicker, { api: api, value: (_f = (_e = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.marker) === null || _e === void 0 ? void 0 : _e.fill) !== null && _f !== void 0 ? _f : UIHelper_1.LIGHT_BLUE, onChange: (color) => props.onOptionChange(['marker', 'fill'], color) })),
83
- React.createElement(FormLayout_1.FormRow, { label: "Stroke" },
84
- React.createElement(ColorPicker_1.ColorPicker, { api: api, value: (_h = (_g = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.marker) === null || _g === void 0 ? void 0 : _g.stroke) !== null && _h !== void 0 ? _h : UIHelper_1.LIGHT_BLUE, onChange: (color) => props.onOptionChange(['marker', 'stroke'], color) })),
85
- React.createElement(FormLayout_1.FormRow, { label: "Stroke Width" },
86
- React.createElement(AdaptableInput_1.default, { type: "number", value: (_k = (_j = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.marker) === null || _j === void 0 ? void 0 : _j.strokeWidth) !== null && _k !== void 0 ? _k : 1, onChange: (event) => props.onOptionChange(['marker', 'strokeWidth'], parseFloat(event.target.value)) }))));
72
+ return (React.createElement(FormLayout, null,
73
+ React.createElement(FormRow, { label: "Enabled" },
74
+ React.createElement(CheckBox, { checked: (_b = (_a = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.marker) === null || _a === void 0 ? void 0 : _a.enabled) !== null && _b !== void 0 ? _b : true, onChange: (checked) => props.onOptionChange(['marker', 'enabled'], checked) })),
75
+ React.createElement(FormRow, { label: "Size" },
76
+ React.createElement(AdaptableInput, { type: "number", value: (_d = (_c = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.marker) === null || _c === void 0 ? void 0 : _c.size) !== null && _d !== void 0 ? _d : 0, onChange: (event) => props.onOptionChange(['marker', 'size'], parseFloat(event.target.value)) })),
77
+ React.createElement(FormRow, { label: "Fill" },
78
+ React.createElement(ColorPicker, { api: api, value: (_f = (_e = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.marker) === null || _e === void 0 ? void 0 : _e.fill) !== null && _f !== void 0 ? _f : LIGHT_BLUE, onChange: (color) => props.onOptionChange(['marker', 'fill'], color) })),
79
+ React.createElement(FormRow, { label: "Stroke" },
80
+ React.createElement(ColorPicker, { api: api, value: (_h = (_g = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.marker) === null || _g === void 0 ? void 0 : _g.stroke) !== null && _h !== void 0 ? _h : LIGHT_BLUE, onChange: (color) => props.onOptionChange(['marker', 'stroke'], color) })),
81
+ React.createElement(FormRow, { label: "Stroke Width" },
82
+ React.createElement(AdaptableInput, { type: "number", value: (_k = (_j = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.marker) === null || _j === void 0 ? void 0 : _j.strokeWidth) !== null && _k !== void 0 ? _k : 1, onChange: (event) => props.onOptionChange(['marker', 'strokeWidth'], parseFloat(event.target.value)) }))));
87
83
  };
88
84
  const SparklineLineProperties = (props) => {
89
85
  var _a, _b, _c;
90
- const { data, api } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
86
+ const { data, api } = useOnePageAdaptableWizardContext();
91
87
  const sparklineOptions = data.SparkLineStyle.options;
92
- return (React.createElement(FormLayout_1.default, null,
93
- React.createElement(FormLayout_1.FormRow, { label: "Stroke" },
94
- React.createElement(ColorPicker_1.ColorPicker, { api: api, value: (_b = (_a = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.line) === null || _a === void 0 ? void 0 : _a.stroke) !== null && _b !== void 0 ? _b : UIHelper_1.LIGHT_BLUE, onChange: (color) => props.onOptionChange(['line', 'stroke'], color) })),
95
- React.createElement(FormLayout_1.FormRow, { label: "Stroke Width" },
96
- React.createElement(AdaptableInput_1.default, { type: "number", value: (_c = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.line) === null || _c === void 0 ? void 0 : _c.strokeWidth, onChange: (event) => props.onOptionChange(['line', 'strokeWidth'], parseFloat(event.target.value)) }))));
88
+ return (React.createElement(FormLayout, null,
89
+ React.createElement(FormRow, { label: "Stroke" },
90
+ React.createElement(ColorPicker, { api: api, value: (_b = (_a = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.line) === null || _a === void 0 ? void 0 : _a.stroke) !== null && _b !== void 0 ? _b : LIGHT_BLUE, onChange: (color) => props.onOptionChange(['line', 'stroke'], color) })),
91
+ React.createElement(FormRow, { label: "Stroke Width" },
92
+ React.createElement(AdaptableInput, { type: "number", value: (_c = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.line) === null || _c === void 0 ? void 0 : _c.strokeWidth, onChange: (event) => props.onOptionChange(['line', 'strokeWidth'], parseFloat(event.target.value)) }))));
97
93
  };
98
94
  const CrossHairsProperties = (props) => {
99
- const { data, api } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
95
+ const { data, api } = useOnePageAdaptableWizardContext();
100
96
  const sparklineOptions = data.SparkLineStyle.options;
101
97
  const lineDashes = [
102
98
  'dash',
@@ -120,87 +116,87 @@ const CrossHairsProperties = (props) => {
120
116
  const buildLineDashProperties = (key) => {
121
117
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
122
118
  const lineDashOptions = lineDashes.map((item) => ({
123
- label: (0, StringExtensions_1.Humanize)(item),
119
+ label: Humanize(item),
124
120
  value: item,
125
121
  }));
126
122
  const lineCapOptionsItems = lineCapOptions.map((item) => ({
127
- label: (0, StringExtensions_1.Humanize)(item),
123
+ label: Humanize(item),
128
124
  value: item,
129
125
  }));
130
- return (React.createElement(FormLayout_1.default, null,
131
- React.createElement(FormLayout_1.FormRow, { label: "Show" },
132
- React.createElement(CheckBox_1.CheckBox, { checked: (_c = (_b = (_a = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.crosshairs) === null || _a === void 0 ? void 0 : _a[key]) === null || _b === void 0 ? void 0 : _b.enabled) !== null && _c !== void 0 ? _c : true, onChange: (checked) => props.onOptionChange(['crosshairs', key, 'enabled'], checked) })),
133
- React.createElement(FormLayout_1.FormRow, { label: "Stroke" },
134
- React.createElement(ColorPicker_1.ColorPicker, { api: api, value: (_f = (_e = (_d = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.crosshairs) === null || _d === void 0 ? void 0 : _d[key]) === null || _e === void 0 ? void 0 : _e.stroke) !== null && _f !== void 0 ? _f : UIHelper_1.BLACK, onChange: (color) => props.onOptionChange(['crosshairs', key, 'stroke'], color) })),
135
- React.createElement(FormLayout_1.FormRow, { label: "Stroke Width" },
136
- React.createElement(AdaptableInput_1.default, { type: "number", value: (_j = (_h = (_g = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.crosshairs) === null || _g === void 0 ? void 0 : _g[key]) === null || _h === void 0 ? void 0 : _h.strokeWidth) !== null && _j !== void 0 ? _j : 1, onChange: (event) => props.onOptionChange(['crosshairs', key, 'strokeWidth'], event.target.value) })),
137
- React.createElement(FormLayout_1.FormRow, { label: "Line Dash" },
138
- React.createElement(Select_1.Select, { value: (_m = (_l = (_k = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.crosshairs) === null || _k === void 0 ? void 0 : _k[key]) === null || _l === void 0 ? void 0 : _l.lineDash) !== null && _m !== void 0 ? _m : 'solid', onChange: (value) => props.onOptionChange(['crosshairs', key, 'lineDash'], value), options: lineDashOptions, placeholder: "Select Line Dash" })),
139
- React.createElement(FormLayout_1.FormRow, { label: "Line Cap" },
140
- React.createElement(Select_1.Select, { value: (_q = (_p = (_o = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.crosshairs) === null || _o === void 0 ? void 0 : _o[key]) === null || _p === void 0 ? void 0 : _p.lineCap) !== null && _q !== void 0 ? _q : 'butt', onChange: (value) => props.onOptionChange(['crosshairs', key, 'lineCap'], value), options: lineCapOptionsItems, placeholder: "Select Line Cap" }))));
126
+ return (React.createElement(FormLayout, null,
127
+ React.createElement(FormRow, { label: "Show" },
128
+ React.createElement(CheckBox, { checked: (_c = (_b = (_a = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.crosshairs) === null || _a === void 0 ? void 0 : _a[key]) === null || _b === void 0 ? void 0 : _b.enabled) !== null && _c !== void 0 ? _c : true, onChange: (checked) => props.onOptionChange(['crosshairs', key, 'enabled'], checked) })),
129
+ React.createElement(FormRow, { label: "Stroke" },
130
+ React.createElement(ColorPicker, { api: api, value: (_f = (_e = (_d = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.crosshairs) === null || _d === void 0 ? void 0 : _d[key]) === null || _e === void 0 ? void 0 : _e.stroke) !== null && _f !== void 0 ? _f : BLACK, onChange: (color) => props.onOptionChange(['crosshairs', key, 'stroke'], color) })),
131
+ React.createElement(FormRow, { label: "Stroke Width" },
132
+ React.createElement(AdaptableInput, { type: "number", value: (_j = (_h = (_g = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.crosshairs) === null || _g === void 0 ? void 0 : _g[key]) === null || _h === void 0 ? void 0 : _h.strokeWidth) !== null && _j !== void 0 ? _j : 1, onChange: (event) => props.onOptionChange(['crosshairs', key, 'strokeWidth'], event.target.value) })),
133
+ React.createElement(FormRow, { label: "Line Dash" },
134
+ React.createElement(Select, { value: (_m = (_l = (_k = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.crosshairs) === null || _k === void 0 ? void 0 : _k[key]) === null || _l === void 0 ? void 0 : _l.lineDash) !== null && _m !== void 0 ? _m : 'solid', onChange: (value) => props.onOptionChange(['crosshairs', key, 'lineDash'], value), options: lineDashOptions, placeholder: "Select Line Dash" })),
135
+ React.createElement(FormRow, { label: "Line Cap" },
136
+ React.createElement(Select, { value: (_q = (_p = (_o = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.crosshairs) === null || _o === void 0 ? void 0 : _o[key]) === null || _p === void 0 ? void 0 : _p.lineCap) !== null && _q !== void 0 ? _q : 'butt', onChange: (value) => props.onOptionChange(['crosshairs', key, 'lineCap'], value), options: lineCapOptionsItems, placeholder: "Select Line Cap" }))));
141
137
  };
142
- return (React.createElement(rebass_1.Flex, null,
143
- React.createElement(rebass_1.Box, { mr: 3 },
144
- React.createElement(rebass_1.Box, null, "X Line"),
138
+ return (React.createElement(Flex, null,
139
+ React.createElement(Box, { mr: 3 },
140
+ React.createElement(Box, null, "X Line"),
145
141
  buildLineDashProperties('xLine')),
146
- React.createElement(rebass_1.Box, null,
147
- React.createElement(rebass_1.Box, null, "Y Line"),
142
+ React.createElement(Box, null,
143
+ React.createElement(Box, null, "Y Line"),
148
144
  buildLineDashProperties('yLine'))));
149
145
  };
150
146
  const TypeAreaProperties = (props) => {
151
147
  var _a;
152
- const { data, api } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
148
+ const { data, api } = useOnePageAdaptableWizardContext();
153
149
  const sparklineOptions = data.SparkLineStyle.options;
154
- return (React.createElement(Tabs_1.Tabs, { mb: 2 },
155
- React.createElement(Tabs_1.Tabs.Tab, null, "Stroke"),
156
- React.createElement(Tabs_1.Tabs.Tab, null, "Line"),
157
- React.createElement(Tabs_1.Tabs.Tab, null, "Marker"),
158
- React.createElement(Tabs_1.Tabs.Tab, null, "Cross Hairs"),
159
- React.createElement(Tabs_1.Tabs.Content, null,
160
- React.createElement(FormLayout_1.default, null,
161
- React.createElement(FormLayout_1.FormRow, { label: "Stroke" },
162
- React.createElement(ColorPicker_1.ColorPicker, { api: api, value: (_a = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.fill) !== null && _a !== void 0 ? _a : UIHelper_1.LIGHT_BLUE, onChange: (color) => props.onOptionChange(['fill'], color) })))),
163
- React.createElement(Tabs_1.Tabs.Content, null,
150
+ return (React.createElement(Tabs, { mb: 2 },
151
+ React.createElement(Tabs.Tab, null, "Stroke"),
152
+ React.createElement(Tabs.Tab, null, "Line"),
153
+ React.createElement(Tabs.Tab, null, "Marker"),
154
+ React.createElement(Tabs.Tab, null, "Cross Hairs"),
155
+ React.createElement(Tabs.Content, null,
156
+ React.createElement(FormLayout, null,
157
+ React.createElement(FormRow, { label: "Stroke" },
158
+ React.createElement(ColorPicker, { api: api, value: (_a = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.fill) !== null && _a !== void 0 ? _a : LIGHT_BLUE, onChange: (color) => props.onOptionChange(['fill'], color) })))),
159
+ React.createElement(Tabs.Content, null,
164
160
  React.createElement(SparklineLineProperties, { onOptionChange: props.onOptionChange })),
165
- React.createElement(Tabs_1.Tabs.Content, null,
161
+ React.createElement(Tabs.Content, null,
166
162
  React.createElement(SparklineMarkerProperties, { onOptionChange: props.onOptionChange })),
167
- React.createElement(Tabs_1.Tabs.Content, null,
163
+ React.createElement(Tabs.Content, null,
168
164
  React.createElement(CrossHairsProperties, { onOptionChange: props.onOptionChange }))));
169
165
  };
170
166
  const TypeLineProperties = (props) => {
171
- return (React.createElement(Tabs_1.Tabs, { mb: 2 },
172
- React.createElement(Tabs_1.Tabs.Tab, null, "Line"),
173
- React.createElement(Tabs_1.Tabs.Tab, null, "Marker"),
174
- React.createElement(Tabs_1.Tabs.Tab, null, "Cross Hairs"),
175
- React.createElement(Tabs_1.Tabs.Content, null,
167
+ return (React.createElement(Tabs, { mb: 2 },
168
+ React.createElement(Tabs.Tab, null, "Line"),
169
+ React.createElement(Tabs.Tab, null, "Marker"),
170
+ React.createElement(Tabs.Tab, null, "Cross Hairs"),
171
+ React.createElement(Tabs.Content, null,
176
172
  React.createElement(SparklineLineProperties, { onOptionChange: props.onOptionChange })),
177
- React.createElement(Tabs_1.Tabs.Content, null,
173
+ React.createElement(Tabs.Content, null,
178
174
  React.createElement(SparklineMarkerProperties, { onOptionChange: props.onOptionChange })),
179
- React.createElement(Tabs_1.Tabs.Content, null,
175
+ React.createElement(Tabs.Content, null,
180
176
  React.createElement(CrossHairsProperties, { onOptionChange: props.onOptionChange }))));
181
177
  };
182
178
  const TypeColumnBarProperties = (props) => {
183
179
  var _a, _b, _c, _d, _e;
184
- const { data, api } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
180
+ const { data, api } = useOnePageAdaptableWizardContext();
185
181
  const sparklineOptions = data.SparkLineStyle.options;
186
- return (React.createElement(Tabs_1.Tabs, { mb: 2 },
187
- React.createElement(Tabs_1.Tabs.Tab, null, "General"),
188
- React.createElement(Tabs_1.Tabs.Content, null,
189
- React.createElement(FormLayout_1.default, null,
190
- React.createElement(FormLayout_1.FormRow, { label: "Fill" },
191
- React.createElement(ColorPicker_1.ColorPicker, { api: api, value: (_a = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.fill) !== null && _a !== void 0 ? _a : UIHelper_1.LIGHT_BLUE, onChange: (color) => props.onOptionChange(['fill'], color) })),
192
- React.createElement(FormLayout_1.FormRow, { label: "Stroke" },
193
- React.createElement(ColorPicker_1.ColorPicker, { api: api, value: (_b = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.stroke) !== null && _b !== void 0 ? _b : UIHelper_1.LIGHT_GRAY, onChange: (color) => props.onOptionChange(['stroke'], color) })),
194
- React.createElement(FormLayout_1.FormRow, { label: "Stroke Width" },
195
- React.createElement(AdaptableInput_1.default, { type: "number", value: (_c = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.strokeWidth) !== null && _c !== void 0 ? _c : 1, onChange: (event) => props.onOptionChange(['strokeWidth'], event.target.value) })),
196
- React.createElement(FormLayout_1.FormRow, { label: "Padding Inner" },
197
- React.createElement(AdaptableInput_1.default, { type: "number", value: (_d = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.paddingInner) !== null && _d !== void 0 ? _d : 0.1, onChange: (event) => props.onOptionChange(['paddingInner'], event.target.value) })),
198
- React.createElement(FormLayout_1.FormRow, { label: "Padding Outer" },
199
- React.createElement(AdaptableInput_1.default, { type: "number", value: (_e = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.paddingOuter) !== null && _e !== void 0 ? _e : 0.2, onChange: (event) => props.onOptionChange(['paddingOuter'], event.target.value) }))))));
182
+ return (React.createElement(Tabs, { mb: 2 },
183
+ React.createElement(Tabs.Tab, null, "General"),
184
+ React.createElement(Tabs.Content, null,
185
+ React.createElement(FormLayout, null,
186
+ React.createElement(FormRow, { label: "Fill" },
187
+ React.createElement(ColorPicker, { api: api, value: (_a = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.fill) !== null && _a !== void 0 ? _a : LIGHT_BLUE, onChange: (color) => props.onOptionChange(['fill'], color) })),
188
+ React.createElement(FormRow, { label: "Stroke" },
189
+ React.createElement(ColorPicker, { api: api, value: (_b = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.stroke) !== null && _b !== void 0 ? _b : LIGHT_GRAY, onChange: (color) => props.onOptionChange(['stroke'], color) })),
190
+ React.createElement(FormRow, { label: "Stroke Width" },
191
+ React.createElement(AdaptableInput, { type: "number", value: (_c = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.strokeWidth) !== null && _c !== void 0 ? _c : 1, onChange: (event) => props.onOptionChange(['strokeWidth'], event.target.value) })),
192
+ React.createElement(FormRow, { label: "Padding Inner" },
193
+ React.createElement(AdaptableInput, { type: "number", value: (_d = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.paddingInner) !== null && _d !== void 0 ? _d : 0.1, onChange: (event) => props.onOptionChange(['paddingInner'], event.target.value) })),
194
+ React.createElement(FormRow, { label: "Padding Outer" },
195
+ React.createElement(AdaptableInput, { type: "number", value: (_e = sparklineOptions === null || sparklineOptions === void 0 ? void 0 : sparklineOptions.paddingOuter) !== null && _e !== void 0 ? _e : 0.2, onChange: (event) => props.onOptionChange(['paddingOuter'], event.target.value) }))))));
200
196
  };
201
197
  const SparklineObjectNumberArrayProperties = (props) => {
202
198
  var _a, _b;
203
- const { data, api } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
199
+ const { data, api } = useOnePageAdaptableWizardContext();
204
200
  const sparkLineOptions = data.SparkLineStyle.options;
205
201
  const [sparklineDataItem, setSparklineDataItem] = React.useState('');
206
202
  React.useEffect(() => {
@@ -228,16 +224,16 @@ const SparklineObjectNumberArrayProperties = (props) => {
228
224
  }
229
225
  }, [data]);
230
226
  return (React.createElement(React.Fragment, null,
231
- React.createElement(FormLayout_1.FormRow, { label: "X Key" },
232
- React.createElement(Input_1.default, { onChange: (event) => props.onOptionChange(['xKey'], event.target.value), value: (_a = sparkLineOptions === null || sparkLineOptions === void 0 ? void 0 : sparkLineOptions.xKey) !== null && _a !== void 0 ? _a : 'x' })),
233
- React.createElement(FormLayout_1.FormRow, { label: "Y Key" },
234
- React.createElement(Input_1.default, { onChange: (event) => props.onOptionChange(['yKey'], event.target.value), value: (_b = sparkLineOptions === null || sparkLineOptions === void 0 ? void 0 : sparkLineOptions.yKey) !== null && _b !== void 0 ? _b : 'y' })),
235
- sparklineDataItem && (React.createElement(FormLayout_1.FormRow, { label: "Preview" },
236
- React.createElement(Tag_1.Tag, null, sparklineDataItem)))));
227
+ React.createElement(FormRow, { label: "X Key" },
228
+ React.createElement(Input, { onChange: (event) => props.onOptionChange(['xKey'], event.target.value), value: (_a = sparkLineOptions === null || sparkLineOptions === void 0 ? void 0 : sparkLineOptions.xKey) !== null && _a !== void 0 ? _a : 'x' })),
229
+ React.createElement(FormRow, { label: "Y Key" },
230
+ React.createElement(Input, { onChange: (event) => props.onOptionChange(['yKey'], event.target.value), value: (_b = sparkLineOptions === null || sparkLineOptions === void 0 ? void 0 : sparkLineOptions.yKey) !== null && _b !== void 0 ? _b : 'y' })),
231
+ sparklineDataItem && (React.createElement(FormRow, { label: "Preview" },
232
+ React.createElement(Tag, null, sparklineDataItem)))));
237
233
  };
238
- const StyledColumnSparklineSettingsSection = (props) => {
234
+ export const StyledColumnSparklineSettingsSection = (props) => {
239
235
  var _a, _b;
240
- const { data, api } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
236
+ const { data, api } = useOnePageAdaptableWizardContext();
241
237
  const handleTypeChange = React.useCallback((type) => {
242
238
  const newStyledColumn = Object.assign(Object.assign({}, data), { SparkLineStyle: Object.assign(Object.assign({}, data.SparkLineStyle), { options: Object.assign(Object.assign({}, data.SparkLineStyle.options), { type }) }) });
243
239
  props.onChange(newStyledColumn);
@@ -250,18 +246,18 @@ const StyledColumnSparklineSettingsSection = (props) => {
250
246
  ], [data]);
251
247
  const handleOptionChange = React.useCallback((path, value) => {
252
248
  var _a;
253
- const newOptions = (0, ObjectExtensions_1.setInPath)((_a = data.SparkLineStyle.options) !== null && _a !== void 0 ? _a : {}, path, value);
249
+ const newOptions = setInPath((_a = data.SparkLineStyle.options) !== null && _a !== void 0 ? _a : {}, path, value);
254
250
  props.onChange(Object.assign(Object.assign({}, data), { SparkLineStyle: Object.assign(Object.assign({}, data.SparkLineStyle), { options: newOptions }) }));
255
251
  }, [data]);
256
252
  const isObjectNumberArray = ((_a = api.columnApi.getColumnWithColumnId(data.ColumnId)) === null || _a === void 0 ? void 0 : _a.dataType) === 'ObjectNumberArray';
257
253
  return (React.createElement(React.Fragment, null,
258
- React.createElement(Tabs_1.Tabs, { mb: 2 },
259
- React.createElement(Tabs_1.Tabs.Tab, null, "Settings"),
260
- React.createElement(Tabs_1.Tabs.Content, null,
261
- React.createElement(FormLayout_1.default, null,
262
- React.createElement(FormLayout_1.FormRow, { label: "Sparkline Type" },
263
- React.createElement(rebass_1.Box, { maxWidth: 160 },
264
- React.createElement(Select_1.Select, { options: sparklineTypeOptions, value: (_b = data.SparkLineStyle.options) === null || _b === void 0 ? void 0 : _b.type, onChange: (value) => handleOptionChange(['type'], value), placeholder: "Select Sparkline Type" }))),
254
+ React.createElement(Tabs, { mb: 2 },
255
+ React.createElement(Tabs.Tab, null, "Settings"),
256
+ React.createElement(Tabs.Content, null,
257
+ React.createElement(FormLayout, null,
258
+ React.createElement(FormRow, { label: "Sparkline Type" },
259
+ React.createElement(Box, { maxWidth: 160 },
260
+ React.createElement(Select, { options: sparklineTypeOptions, value: (_b = data.SparkLineStyle.options) === null || _b === void 0 ? void 0 : _b.type, onChange: (value) => handleOptionChange(['type'], value), placeholder: "Select Sparkline Type" }))),
265
261
  isObjectNumberArray && (React.createElement(SparklineObjectNumberArrayProperties, { onOptionChange: handleOptionChange }))))),
266
262
  React.createElement(CommonProperties, { onOptionChange: handleOptionChange }),
267
263
  (() => {
@@ -279,4 +275,3 @@ const StyledColumnSparklineSettingsSection = (props) => {
279
275
  }
280
276
  })()));
281
277
  };
282
- exports.StyledColumnSparklineSettingsSection = StyledColumnSparklineSettingsSection;
@@ -1,39 +1,35 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StyledColumnWizard = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = tslib_1.__importStar(require("react"));
6
- const react_1 = require("react");
7
- const rebass_1 = require("rebass");
8
- const react_redux_1 = require("react-redux");
9
- const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
10
- const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/ObjectFactory"));
11
- const StyledColumnRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/StyledColumnRedux"));
12
- const StyledColumnWizardTypeSection_1 = require("./StyledColumnWizardTypeSection");
13
- const StyledColumnWizardColumnSection_1 = require("./StyledColumnWizardColumnSection");
14
- const StyledColumnWizardStyleSection_1 = require("./StyledColumnWizardStyleSection");
15
- const Helper_1 = require("../../../Utilities/Helpers/Helper");
16
- const StyledColumnWizardSettingsSection_1 = require("./StyledColumnWizardSettingsSection");
17
- const StyledColumnSparklineSettingsSection_1 = require("./StyledColumnSparklineSettingsSection");
18
- const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
19
- const StyledColumnBadgeSection_1 = require("./StyledColumnBadgeSection");
20
- const StyledColumnWizard = (props) => {
1
+ import * as React from 'react';
2
+ import { useState } from 'react';
3
+ import { Box } from 'rebass';
4
+ import { useDispatch } from 'react-redux';
5
+ import { OnePageAdaptableWizard, OnePageWizardSummary, } from '../../Wizard/OnePageAdaptableWizard';
6
+ import ObjectFactory from '../../../Utilities/ObjectFactory';
7
+ import * as StyledColumnRedux from '../../../Redux/ActionsReducers/StyledColumnRedux';
8
+ import { renderStyledColumnTypeSummary, StyledColumnWizardTypeSection, } from './StyledColumnWizardTypeSection';
9
+ import { isValidStyledColumnColumn, renderStyledColumnColumnSummary, StyledColumnWizardColumnSection, } from './StyledColumnWizardColumnSection';
10
+ import { renderStyledColumnStyleSummary, StyledColumnWizardStyleSection, } from './StyledColumnWizardStyleSection';
11
+ import { cloneObject } from '../../../Utilities/Helpers/Helper';
12
+ import { renderStyledColumnWizardSettingsSummary, StyledColumnWizardSettingsSection, } from './StyledColumnWizardSettingsSection';
13
+ import { StyledColumnSparklineSettingsSection } from './StyledColumnSparklineSettingsSection';
14
+ import { ObjectTagsWizardSection, renderObjectTagsSummary, } from '../../Wizard/ObjectTagsWizardSection';
15
+ import { renderBadgeSummary, StyledColumnBadgeSection } from './StyledColumnBadgeSection';
16
+ export const StyledColumnWizard = (props) => {
21
17
  var _a, _b, _c, _d, _e, _f;
22
18
  const data = (_a = props.data) !== null && _a !== void 0 ? _a : (_b = props.popupParams) === null || _b === void 0 ? void 0 : _b.value;
23
19
  const popupDefaultCurrentSectionName = (_e = (_d = (_c = props === null || props === void 0 ? void 0 : props.popupParams) === null || _c === void 0 ? void 0 : _c.config) === null || _d === void 0 ? void 0 : _d.defaultCurrentSectionName) !== null && _e !== void 0 ? _e : undefined;
24
20
  const defaultCurrentSectionName = (_f = props.defaultCurrentSectionName) !== null && _f !== void 0 ? _f : popupDefaultCurrentSectionName;
25
- const [styledColumn, setStyledColumn] = (0, react_1.useState)(() => {
21
+ const [styledColumn, setStyledColumn] = useState(() => {
26
22
  var _a, _b;
27
23
  if (data) {
28
- return (0, Helper_1.cloneObject)(data);
24
+ return cloneObject(data);
29
25
  }
30
- const newData = ObjectFactory_1.default.CreateEmptyStyledColumn();
26
+ const newData = ObjectFactory.CreateEmptyStyledColumn();
31
27
  newData.GradientStyle = {};
32
28
  if (((_a = props.popupParams) === null || _a === void 0 ? void 0 : _a.column) && ((_b = props.popupParams) === null || _b === void 0 ? void 0 : _b.action) === 'New') {
33
29
  newData.ColumnId = props.popupParams.column.columnId;
34
30
  if (props.popupParams.column.dataType === 'String') {
35
31
  newData.BadgeStyle = {
36
- Badges: [ObjectFactory_1.default.CreateDefaultStyledColumnBadge()],
32
+ Badges: [ObjectFactory.CreateDefaultStyledColumnBadge()],
37
33
  };
38
34
  delete newData.GradientStyle;
39
35
  }
@@ -44,7 +40,7 @@ const StyledColumnWizard = (props) => {
44
40
  }
45
41
  return newData;
46
42
  });
47
- const dispatch = (0, react_redux_1.useDispatch)();
43
+ const dispatch = useDispatch();
48
44
  const handleFinish = () => {
49
45
  var _a;
50
46
  if (((_a = props === null || props === void 0 ? void 0 : props.popupParams) === null || _a === void 0 ? void 0 : _a.action) === 'New' || !data) {
@@ -57,10 +53,10 @@ const StyledColumnWizard = (props) => {
57
53
  };
58
54
  const AdditionalSettingSection = {
59
55
  details: 'Apply Additional Settings',
60
- renderSummary: StyledColumnWizardSettingsSection_1.renderStyledColumnWizardSettingsSummary,
56
+ renderSummary: renderStyledColumnWizardSettingsSummary,
61
57
  render: () => {
62
- return (React.createElement(rebass_1.Box, { padding: 2 },
63
- React.createElement(StyledColumnWizardSettingsSection_1.StyledColumnWizardSettingsSection, { onChange: setStyledColumn })));
58
+ return (React.createElement(Box, { padding: 2 },
59
+ React.createElement(StyledColumnWizardSettingsSection, { onChange: setStyledColumn })));
64
60
  },
65
61
  title: 'Settings',
66
62
  };
@@ -68,18 +64,17 @@ const StyledColumnWizard = (props) => {
68
64
  if (styledColumn.SparkLineStyle) {
69
65
  specificSteps.push({
70
66
  title: 'Settings',
71
- render: () => (React.createElement(rebass_1.Box, { p: 2 },
72
- React.createElement(StyledColumnSparklineSettingsSection_1.StyledColumnSparklineSettingsSection, { onChange: setStyledColumn }))),
67
+ render: () => (React.createElement(Box, { p: 2 },
68
+ React.createElement(StyledColumnSparklineSettingsSection, { onChange: setStyledColumn }))),
73
69
  });
74
70
  }
75
- else if (styledColumn.GradientStyle ||
76
- styledColumn.PercentBarStyle) {
71
+ else if (styledColumn.GradientStyle || styledColumn.PercentBarStyle) {
77
72
  specificSteps.push({
78
73
  details: 'Create the Style to apply',
79
- renderSummary: StyledColumnWizardStyleSection_1.renderStyledColumnStyleSummary,
74
+ renderSummary: renderStyledColumnStyleSummary,
80
75
  render: () => {
81
- return (React.createElement(rebass_1.Box, { padding: 2 },
82
- React.createElement(StyledColumnWizardStyleSection_1.StyledColumnWizardStyleSection, { onChange: setStyledColumn })));
76
+ return (React.createElement(Box, { padding: 2 },
77
+ React.createElement(StyledColumnWizardStyleSection, { onChange: setStyledColumn })));
83
78
  },
84
79
  title: 'Style',
85
80
  }, AdditionalSettingSection);
@@ -98,28 +93,28 @@ const StyledColumnWizard = (props) => {
98
93
  }
99
94
  return true;
100
95
  },
101
- renderSummary: () => (0, StyledColumnBadgeSection_1.renderBadgeSummary)(styledColumn),
102
- render: () => (React.createElement(rebass_1.Box, { p: 2 },
103
- React.createElement(StyledColumnBadgeSection_1.StyledColumnBadgeSection, { onChange: setStyledColumn }))),
96
+ renderSummary: () => renderBadgeSummary(styledColumn),
97
+ render: () => (React.createElement(Box, { p: 2 },
98
+ React.createElement(StyledColumnBadgeSection, { onChange: setStyledColumn }))),
104
99
  });
105
100
  specificSteps.push(AdditionalSettingSection);
106
101
  }
107
- return (React.createElement(OnePageAdaptableWizard_1.OnePageAdaptableWizard, { defaultCurrentSectionName: defaultCurrentSectionName, moduleInfo: props.moduleInfo, data: styledColumn, onFinish: handleFinish, onHide: props.onCloseWizard, sections: [
102
+ return (React.createElement(OnePageAdaptableWizard, { defaultCurrentSectionName: defaultCurrentSectionName, moduleInfo: props.moduleInfo, data: styledColumn, onFinish: handleFinish, onHide: props.onCloseWizard, sections: [
108
103
  {
109
104
  details: 'Select a Styled Column type',
110
- renderSummary: StyledColumnWizardTypeSection_1.renderStyledColumnTypeSummary,
105
+ renderSummary: renderStyledColumnTypeSummary,
111
106
  render: () => {
112
- return React.createElement(StyledColumnWizardTypeSection_1.StyledColumnWizardTypeSection, { onChange: setStyledColumn });
107
+ return React.createElement(StyledColumnWizardTypeSection, { onChange: setStyledColumn });
113
108
  },
114
109
  title: 'Type',
115
110
  },
116
111
  {
117
- isValid: StyledColumnWizardColumnSection_1.isValidStyledColumnColumn,
118
- renderSummary: StyledColumnWizardColumnSection_1.renderStyledColumnColumnSummary,
112
+ isValid: isValidStyledColumnColumn,
113
+ renderSummary: renderStyledColumnColumnSummary,
119
114
  details: 'Select the Column where the Style will be applied',
120
115
  render: () => {
121
- return (React.createElement(rebass_1.Box, { padding: 2, style: { height: '100%' } },
122
- React.createElement(StyledColumnWizardColumnSection_1.StyledColumnWizardColumnSection, { isNew: props.isNew, onChange: setStyledColumn })));
116
+ return (React.createElement(Box, { padding: 2, style: { height: '100%' } },
117
+ React.createElement(StyledColumnWizardColumnSection, { isNew: props.isNew, onChange: setStyledColumn })));
123
118
  },
124
119
  title: 'Column',
125
120
  },
@@ -128,19 +123,18 @@ const StyledColumnWizard = (props) => {
128
123
  details: 'Select Format Column Tags',
129
124
  title: 'Tags',
130
125
  isVisible: (_, api) => api.internalApi.shouldDisplayTagSections(),
131
- render: () => (React.createElement(rebass_1.Box, { padding: 2 },
132
- React.createElement(ObjectTagsWizardSection_1.ObjectTagsWizardSection, { onChange: setStyledColumn }))),
133
- renderSummary: ObjectTagsWizardSection_1.renderObjectTagsSummary,
126
+ render: () => (React.createElement(Box, { padding: 2 },
127
+ React.createElement(ObjectTagsWizardSection, { onChange: setStyledColumn }))),
128
+ renderSummary: renderObjectTagsSummary,
134
129
  },
135
130
  '-',
136
131
  {
137
132
  title: 'Summary',
138
133
  details: 'Review your Styled Column',
139
134
  render: () => {
140
- return (React.createElement(rebass_1.Box, { padding: 2 },
141
- React.createElement(OnePageAdaptableWizard_1.OnePageWizardSummary, null)));
135
+ return (React.createElement(Box, { padding: 2 },
136
+ React.createElement(OnePageWizardSummary, null)));
142
137
  },
143
138
  },
144
139
  ] }));
145
140
  };
146
- exports.StyledColumnWizard = StyledColumnWizard;