@adaptabletools/adaptable 23.1.0-canary.2 → 24.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 (2265) hide show
  1. package/agGrid.d.ts +3 -7
  2. package/agGrid.js +2 -10
  3. package/icons/column-info.svg +1 -0
  4. package/icons/custom-sort.svg +1 -0
  5. package/icons/in.svg +1 -0
  6. package/icons/not-in.svg +1 -0
  7. package/icons/plus-minus.svg +1 -0
  8. package/icons/same-day.svg +1 -0
  9. package/icons/shortcut.svg +1 -0
  10. package/icons/tool-panel.svg +1 -0
  11. package/index.css +1989 -387
  12. package/index.d.ts +3 -7
  13. package/index.js +2 -10
  14. package/package.json +9 -5
  15. package/src/AdaptableInterfaces/IAdaptable.d.ts +17 -5
  16. package/src/AdaptableOptions/ActionColumnOptions.d.ts +282 -39
  17. package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -5
  18. package/src/AdaptableOptions/AlertOptions.d.ts +12 -0
  19. package/src/AdaptableOptions/CalculatedColumnOptions.d.ts +42 -0
  20. package/src/AdaptableOptions/CalendarOptions.d.ts +30 -4
  21. package/src/AdaptableOptions/ColumnOptions.d.ts +6 -1
  22. package/src/AdaptableOptions/ContainerOptions.d.ts +2 -2
  23. package/src/AdaptableOptions/ContextMenuOptions.d.ts +1 -1
  24. package/src/AdaptableOptions/DefaultAdaptableOptions.js +47 -38
  25. package/src/AdaptableOptions/EntitlementOptions.d.ts +8 -2
  26. package/src/AdaptableOptions/ExpressionOptions.d.ts +288 -108
  27. package/src/AdaptableOptions/FilterOptions.d.ts +102 -45
  28. package/src/AdaptableOptions/LayoutOptions.d.ts +50 -47
  29. package/src/AdaptableOptions/NoteOptions.d.ts +4 -11
  30. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +51 -10
  31. package/src/AdaptableOptions/TeamSharingOptions.d.ts +11 -0
  32. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +8 -0
  33. package/src/AdaptableOptions/WizardOptions.d.ts +1 -1
  34. package/src/AdaptableState/AlertState.d.ts +103 -30
  35. package/src/AdaptableState/AlertState.js +35 -1
  36. package/src/AdaptableState/CalculatedColumnState.d.ts +74 -7
  37. package/src/AdaptableState/CalculatedColumnState.js +72 -1
  38. package/src/AdaptableState/Common/AdaptableAlert.d.ts +8 -0
  39. package/src/AdaptableState/Common/AdaptableFilterState.d.ts +1 -5
  40. package/src/AdaptableState/Common/AdaptableIcon.d.ts +1 -1
  41. package/src/AdaptableState/Common/AdaptableObject.d.ts +1 -1
  42. package/src/AdaptableState/Common/AdaptableQuery.d.ts +43 -39
  43. package/src/AdaptableState/Common/AdaptableQuery.js +25 -2
  44. package/src/AdaptableState/Common/AlternativeModuleIcon.d.ts +16 -0
  45. package/src/AdaptableState/Common/CellDataChangedInfo.d.ts +5 -3
  46. package/src/AdaptableState/Common/ColumnFilter.d.ts +19 -26
  47. package/src/AdaptableState/Common/CompactCalculatedColumnEditorInfo.d.ts +7 -0
  48. package/src/AdaptableState/Common/ExtendedLayout.d.ts +42 -9
  49. package/src/AdaptableState/Common/FormulaTraceInfo.d.ts +54 -0
  50. package/src/AdaptableState/Common/FormulaTraceInfo.js +1 -0
  51. package/src/AdaptableState/Common/Menu.d.ts +2 -2
  52. package/src/AdaptableState/Common/Menu.js +10 -0
  53. package/src/AdaptableState/Common/MenuItem.d.ts +3 -3
  54. package/src/AdaptableState/Common/MenuItem.js +3 -9
  55. package/src/AdaptableState/Common/RowSummary.d.ts +1 -1
  56. package/src/AdaptableState/Common/RowSummary.js +1 -0
  57. package/src/AdaptableState/Common/SpecialColumnSettings.d.ts +8 -1
  58. package/src/AdaptableState/Common/Types.d.ts +39 -4
  59. package/src/AdaptableState/Common/Types.js +15 -0
  60. package/src/AdaptableState/DashboardState.d.ts +6 -2
  61. package/src/AdaptableState/ExportState.d.ts +2 -3
  62. package/src/AdaptableState/FlashingCellState.d.ts +16 -26
  63. package/src/AdaptableState/FormatColumnState.d.ts +3 -27
  64. package/src/AdaptableState/InitialState.d.ts +3 -2
  65. package/src/AdaptableState/InternalState.d.ts +26 -2
  66. package/src/AdaptableState/LayoutState.d.ts +18 -13
  67. package/src/AdaptableState/NamedQueryState.d.ts +28 -2
  68. package/src/AdaptableState/NamedQueryState.js +2 -1
  69. package/src/AdaptableState/NoteState.d.ts +17 -2
  70. package/src/AdaptableState/PlusMinusState.d.ts +2 -3
  71. package/src/AdaptableState/StyledColumns/BadgeStyle.d.ts +4 -20
  72. package/src/AdaptableState/TeamSharingState.d.ts +11 -0
  73. package/src/Api/AdaptableApi.d.ts +0 -5
  74. package/src/Api/AlertApi.d.ts +27 -7
  75. package/src/Api/CalculatedColumnApi.d.ts +16 -2
  76. package/src/Api/CalendarApi.d.ts +29 -10
  77. package/src/Api/ColumnApi.d.ts +16 -1
  78. package/src/Api/ColumnFilterApi.d.ts +1 -27
  79. package/src/Api/CustomSortApi.d.ts +4 -5
  80. package/src/Api/EventApi.d.ts +30 -2
  81. package/src/Api/Events/CalculatedColumnChanged.d.ts +2 -1
  82. package/src/Api/Events/ColumnFilterApplied.d.ts +15 -1
  83. package/src/Api/Events/ColumnFilterChanged.d.ts +49 -0
  84. package/src/Api/Events/LayoutChanged.d.ts +18 -0
  85. package/src/Api/Events/NoteChanged.d.ts +19 -0
  86. package/src/Api/ExportApi.d.ts +3 -4
  87. package/src/Api/ExpressionApi.d.ts +111 -26
  88. package/src/Api/FlashingCellApi.d.ts +4 -12
  89. package/src/Api/FormatColumnApi.d.ts +4 -4
  90. package/src/Api/GridApi.d.ts +11 -0
  91. package/src/Api/GridFilterApi.d.ts +2 -2
  92. package/src/Api/Implementation/AdaptableApiImpl.d.ts +0 -2
  93. package/src/Api/Implementation/AdaptableApiImpl.js +2 -4
  94. package/src/Api/Implementation/AlertApiImpl.d.ts +65 -7
  95. package/src/Api/Implementation/AlertApiImpl.js +169 -77
  96. package/src/Api/Implementation/ApiBase.d.ts +2 -4
  97. package/src/Api/Implementation/ApiBase.js +3 -14
  98. package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +2 -0
  99. package/src/Api/Implementation/CalculatedColumnApiImpl.js +24 -4
  100. package/src/Api/Implementation/CalendarApiImpl.d.ts +6 -3
  101. package/src/Api/Implementation/CalendarApiImpl.js +34 -39
  102. package/src/Api/Implementation/CellSummaryApiImpl.js +1 -2
  103. package/src/Api/Implementation/ColumnApiImpl.d.ts +15 -1
  104. package/src/Api/Implementation/ColumnApiImpl.js +45 -18
  105. package/src/Api/Implementation/ColumnFilterApiImpl.d.ts +2 -11
  106. package/src/Api/Implementation/ColumnFilterApiImpl.js +25 -89
  107. package/src/Api/Implementation/ColumnScopeApiImpl.d.ts +1 -0
  108. package/src/Api/Implementation/ColumnScopeApiImpl.js +8 -37
  109. package/src/Api/Implementation/CommentsApiImpl.js +1 -1
  110. package/src/Api/Implementation/CustomSortApiImpl.d.ts +4 -5
  111. package/src/Api/Implementation/CustomSortApiImpl.js +8 -8
  112. package/src/Api/Implementation/EntitlementApiImpl.d.ts +6 -0
  113. package/src/Api/Implementation/EntitlementApiImpl.js +19 -9
  114. package/src/Api/Implementation/ExportApiImpl.d.ts +3 -4
  115. package/src/Api/Implementation/ExportApiImpl.js +34 -51
  116. package/src/Api/Implementation/ExpressionApiImpl.d.ts +32 -8
  117. package/src/Api/Implementation/ExpressionApiImpl.js +234 -40
  118. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +5 -8
  119. package/src/Api/Implementation/FlashingCellApiImpl.js +9 -16
  120. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +4 -4
  121. package/src/Api/Implementation/FormatColumnApiImpl.js +10 -13
  122. package/src/Api/Implementation/GridApiImpl.d.ts +1 -0
  123. package/src/Api/Implementation/GridApiImpl.js +12 -2
  124. package/src/Api/Implementation/GridFilterApiImpl.d.ts +1 -1
  125. package/src/Api/Implementation/GridFilterApiImpl.js +7 -13
  126. package/src/Api/Implementation/LayoutApiImpl.d.ts +11 -2
  127. package/src/Api/Implementation/LayoutApiImpl.js +108 -175
  128. package/src/Api/Implementation/NamedQueryApiImpl.js +6 -1
  129. package/src/Api/Implementation/NoteApiImpl.d.ts +3 -2
  130. package/src/Api/Implementation/NoteApiImpl.js +17 -3
  131. package/src/Api/Implementation/OptionsApiImpl.d.ts +2 -2
  132. package/src/Api/Implementation/OptionsApiImpl.js +3 -3
  133. package/src/Api/Implementation/PlusMinusApiImpl.d.ts +4 -5
  134. package/src/Api/Implementation/PlusMinusApiImpl.js +10 -9
  135. package/src/Api/Implementation/ShortcutApiImpl.d.ts +4 -5
  136. package/src/Api/Implementation/ShortcutApiImpl.js +8 -8
  137. package/src/Api/Implementation/StateApiImpl.d.ts +1 -1
  138. package/src/Api/Implementation/StateApiImpl.js +10 -15
  139. package/src/Api/Implementation/StyledColumnApiImpl.d.ts +7 -7
  140. package/src/Api/Implementation/StyledColumnApiImpl.js +12 -12
  141. package/src/Api/Implementation/SystemStatusApiImpl.js +1 -1
  142. package/src/Api/Implementation/TeamSharingApiImpl.d.ts +2 -0
  143. package/src/Api/Implementation/TeamSharingApiImpl.js +33 -0
  144. package/src/Api/Implementation/UserInterfaceApiImpl.js +10 -23
  145. package/src/Api/Internal/ActionColumnInternalApi.d.ts +11 -6
  146. package/src/Api/Internal/ActionColumnInternalApi.js +28 -66
  147. package/src/Api/Internal/AdaptableInternalApi.d.ts +16 -9
  148. package/src/Api/Internal/AdaptableInternalApi.js +10 -34
  149. package/src/Api/Internal/AlertInternalApi.d.ts +81 -29
  150. package/src/Api/Internal/AlertInternalApi.js +204 -106
  151. package/src/Api/Internal/CalculatedColumnInternalApi.d.ts +50 -1
  152. package/src/Api/Internal/CalculatedColumnInternalApi.js +163 -19
  153. package/src/Api/Internal/ColumnFilterInternalApi.d.ts +6 -9
  154. package/src/Api/Internal/ColumnFilterInternalApi.js +54 -104
  155. package/src/Api/Internal/ColumnInternalApi.js +0 -4
  156. package/src/Api/Internal/CommentsInternalApi.js +2 -2
  157. package/src/Api/Internal/EventInternalApi.d.ts +15 -1
  158. package/src/Api/Internal/EventInternalApi.js +58 -5
  159. package/src/Api/Internal/ExportInternalApi.js +6 -7
  160. package/src/Api/Internal/ExpressionInternalApi.d.ts +11 -3
  161. package/src/Api/Internal/ExpressionInternalApi.js +9 -26
  162. package/src/Api/Internal/FlashingCellInternalApi.js +1 -1
  163. package/src/Api/Internal/FormatColumnInternalApi.d.ts +5 -11
  164. package/src/Api/Internal/FormatColumnInternalApi.js +16 -34
  165. package/src/Api/Internal/FreeTextColumnInternalApi.d.ts +8 -0
  166. package/src/Api/Internal/FreeTextColumnInternalApi.js +11 -2
  167. package/src/Api/Internal/GridInternalApi.js +12 -23
  168. package/src/Api/Internal/LayoutInternalApi.d.ts +29 -3
  169. package/src/Api/Internal/LayoutInternalApi.js +47 -29
  170. package/src/Api/Internal/NamedQueryInternalApi.d.ts +6 -0
  171. package/src/Api/Internal/NamedQueryInternalApi.js +20 -0
  172. package/src/Api/Internal/NoteInternalApi.d.ts +7 -0
  173. package/src/Api/Internal/NoteInternalApi.js +5 -2
  174. package/src/Api/Internal/RowFormInternalApi.js +9 -19
  175. package/src/Api/Internal/StateInternalApi.d.ts +2 -0
  176. package/src/Api/Internal/StateInternalApi.js +18 -4
  177. package/src/Api/Internal/StyledColumnInternalApi.d.ts +14 -3
  178. package/src/Api/Internal/StyledColumnInternalApi.js +30 -20
  179. package/src/Api/Internal/TeamSharingInternalApi.d.ts +8 -1
  180. package/src/Api/Internal/TeamSharingInternalApi.js +26 -0
  181. package/src/Api/Internal/UserInterfaceInternalApi.js +5 -9
  182. package/src/Api/LayoutApi.d.ts +52 -6
  183. package/src/Api/NoteApi.d.ts +10 -2
  184. package/src/Api/OptionsApi.d.ts +5 -5
  185. package/src/Api/PlusMinusApi.d.ts +4 -5
  186. package/src/Api/ShortcutApi.d.ts +4 -5
  187. package/src/Api/StateApi.d.ts +1 -1
  188. package/src/Api/StyledColumnApi.d.ts +6 -7
  189. package/src/Redux/ActionsReducers/CommentsRedux.js +6 -6
  190. package/src/Redux/ActionsReducers/DashboardRedux.js +1 -1
  191. package/src/Redux/ActionsReducers/InternalRedux.d.ts +44 -6
  192. package/src/Redux/ActionsReducers/InternalRedux.js +139 -20
  193. package/src/Redux/ActionsReducers/LayoutRedux.d.ts +64 -2
  194. package/src/Redux/ActionsReducers/LayoutRedux.js +86 -1
  195. package/src/Redux/ActionsReducers/NamedQueryRedux.js +4 -3
  196. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +2 -3
  197. package/src/Redux/Store/AdaptableStore.js +210 -53
  198. package/src/Strategy/AdaptableModuleBase.d.ts +19 -7
  199. package/src/Strategy/AdaptableModuleBase.js +33 -6
  200. package/src/Strategy/AlertModule.d.ts +7 -7
  201. package/src/Strategy/AlertModule.js +50 -58
  202. package/src/Strategy/BulkUpdateModule.d.ts +1 -1
  203. package/src/Strategy/BulkUpdateModule.js +29 -26
  204. package/src/Strategy/CalculatedColumnModule.d.ts +11 -10
  205. package/src/Strategy/CalculatedColumnModule.js +67 -50
  206. package/src/Strategy/CellSummaryModule.d.ts +3 -2
  207. package/src/Strategy/CellSummaryModule.js +29 -22
  208. package/src/Strategy/ChartingModule.d.ts +1 -1
  209. package/src/Strategy/ChartingModule.js +3 -3
  210. package/src/Strategy/ColumnFilterModule.d.ts +1 -1
  211. package/src/Strategy/ColumnFilterModule.js +10 -3
  212. package/src/Strategy/ColumnInfoModule.d.ts +2 -2
  213. package/src/Strategy/ColumnInfoModule.js +1 -1
  214. package/src/Strategy/CommentModule.d.ts +1 -1
  215. package/src/Strategy/CommentModule.js +5 -5
  216. package/src/Strategy/CustomSortModule.d.ts +2 -4
  217. package/src/Strategy/CustomSortModule.js +9 -10
  218. package/src/Strategy/DashboardModule.js +1 -1
  219. package/src/Strategy/DataChangeHistoryModule.js +1 -1
  220. package/src/Strategy/DataImportModule.js +1 -1
  221. package/src/Strategy/DataSetModule.js +2 -2
  222. package/src/Strategy/ExportModule.d.ts +1 -1
  223. package/src/Strategy/ExportModule.js +7 -7
  224. package/src/Strategy/Fdc3Module.d.ts +1 -1
  225. package/src/Strategy/FlashingCellModule.d.ts +11 -7
  226. package/src/Strategy/FlashingCellModule.js +33 -40
  227. package/src/Strategy/FormatColumnModule.d.ts +3 -5
  228. package/src/Strategy/FormatColumnModule.js +11 -12
  229. package/src/Strategy/FreeTextColumnModule.d.ts +1 -1
  230. package/src/Strategy/FreeTextColumnModule.js +4 -3
  231. package/src/Strategy/GridFilterModule.js +1 -1
  232. package/src/Strategy/GridInfoModule.d.ts +2 -2
  233. package/src/Strategy/GridInfoModule.js +1 -1
  234. package/src/Strategy/Interface/ICellSummaryModule.d.ts +5 -0
  235. package/src/Strategy/Interface/IModule.d.ts +53 -7
  236. package/src/Strategy/LayoutModule.d.ts +6 -2
  237. package/src/Strategy/LayoutModule.js +14 -47
  238. package/src/Strategy/NamedQueryModule.js +18 -6
  239. package/src/Strategy/NoteModule.d.ts +6 -3
  240. package/src/Strategy/NoteModule.js +30 -52
  241. package/src/Strategy/PlusMinusModule.d.ts +3 -5
  242. package/src/Strategy/PlusMinusModule.js +14 -15
  243. package/src/Strategy/QuickSearchModule.js +1 -1
  244. package/src/Strategy/SettingsPanelModule.d.ts +2 -2
  245. package/src/Strategy/SettingsPanelModule.js +1 -1
  246. package/src/Strategy/ShortcutModule.d.ts +2 -4
  247. package/src/Strategy/ShortcutModule.js +9 -10
  248. package/src/Strategy/SmartEditModule.d.ts +1 -1
  249. package/src/Strategy/SmartEditModule.js +3 -3
  250. package/src/Strategy/StateManagementModule.d.ts +6 -0
  251. package/src/Strategy/StateManagementModule.js +5 -1
  252. package/src/Strategy/StatusBarModule.js +1 -1
  253. package/src/Strategy/StyledColumnModule.d.ts +3 -5
  254. package/src/Strategy/StyledColumnModule.js +8 -9
  255. package/src/Strategy/SystemStatusModule.d.ts +2 -2
  256. package/src/Strategy/SystemStatusModule.js +1 -1
  257. package/src/Strategy/TeamSharingModule.d.ts +1 -0
  258. package/src/Strategy/TeamSharingModule.js +26 -2
  259. package/src/Strategy/ThemeModule.js +1 -1
  260. package/src/Strategy/ToolPanelModule.js +1 -1
  261. package/src/Utilities/Constants/GeneralConstants.d.ts +2 -2
  262. package/src/Utilities/Constants/GeneralConstants.js +2 -7
  263. package/src/Utilities/Constants/ModuleConstants.d.ts +16 -1
  264. package/src/Utilities/Constants/ModuleConstants.js +6 -1
  265. package/src/Utilities/Constants/ReduxConstants.js +1 -1
  266. package/src/Utilities/Extensions/TypeExtensions.d.ts +1 -83
  267. package/src/Utilities/Extensions/TypeExtensions.js +1 -3
  268. package/src/Utilities/Helpers/ActionColumnHelper.d.ts +17 -3
  269. package/src/Utilities/Helpers/ActionColumnHelper.js +53 -20
  270. package/src/Utilities/Helpers/AlertTypeHelper.d.ts +34 -0
  271. package/src/Utilities/Helpers/AlertTypeHelper.js +87 -0
  272. package/src/Utilities/Helpers/CalendarHelper.d.ts +20 -0
  273. package/src/Utilities/Helpers/CalendarHelper.js +58 -0
  274. package/src/Utilities/Helpers/ChartHelper.d.ts +0 -1
  275. package/src/Utilities/Helpers/ChartHelper.js +0 -9
  276. package/src/Utilities/Helpers/ColumnFilterHelper.d.ts +9 -0
  277. package/src/Utilities/Helpers/ColumnFilterHelper.js +8 -0
  278. package/src/Utilities/Helpers/Helper.d.ts +0 -1
  279. package/src/Utilities/Helpers/Helper.js +0 -10
  280. package/src/Utilities/Helpers/Layouts/AutoCreateLayoutHelper.d.ts +19 -0
  281. package/src/Utilities/Helpers/Layouts/AutoCreateLayoutHelper.js +154 -0
  282. package/src/Utilities/Helpers/Layouts/LayoutExtensionHelper.d.ts +50 -0
  283. package/src/Utilities/Helpers/Layouts/LayoutExtensionHelper.js +177 -0
  284. package/src/Utilities/Helpers/Layouts/LayoutHelper.d.ts +44 -0
  285. package/src/Utilities/Helpers/Layouts/LayoutHelper.js +733 -0
  286. package/src/Utilities/Helpers/NamedQueryHelper.d.ts +24 -0
  287. package/src/Utilities/Helpers/NamedQueryHelper.js +77 -0
  288. package/src/Utilities/Helpers/NotesHelper.d.ts +11 -0
  289. package/src/Utilities/Helpers/NotesHelper.js +71 -0
  290. package/src/Utilities/Helpers/Scheduling/ScheduleHelper.d.ts +0 -1
  291. package/src/Utilities/Helpers/Scheduling/ScheduleHelper.js +0 -7
  292. package/src/Utilities/Helpers/Scheduling/ScheduledAlertHelper.d.ts +7 -2
  293. package/src/Utilities/Helpers/Scheduling/ScheduledAlertHelper.js +3 -1
  294. package/src/Utilities/Helpers/Scheduling/ScheduledReportHelper.d.ts +1 -7
  295. package/src/Utilities/Helpers/Scheduling/ScheduledReportHelper.js +0 -14
  296. package/src/Utilities/Helpers/SettingsPanelHelper.d.ts +39 -1
  297. package/src/Utilities/Helpers/SettingsPanelHelper.js +50 -2
  298. package/src/Utilities/Helpers/StyleHelper.d.ts +0 -16
  299. package/src/Utilities/Helpers/StyleHelper.js +0 -36
  300. package/src/Utilities/Helpers/StyledColumns/BarStylesHelper.d.ts +0 -2
  301. package/src/Utilities/Helpers/StyledColumns/BarStylesHelper.js +0 -8
  302. package/src/Utilities/Helpers/StyledColumns/GradientStyleHelper.d.ts +0 -2
  303. package/src/Utilities/Helpers/StyledColumns/GradientStyleHelper.js +0 -1
  304. package/src/Utilities/Helpers/StyledColumns/PercentBarStyleHelper.d.ts +0 -3
  305. package/src/Utilities/Helpers/StyledColumns/PercentBarStyleHelper.js +0 -6
  306. package/src/Utilities/Helpers/UIHelper.d.ts +75 -0
  307. package/src/Utilities/Helpers/UIHelper.js +358 -0
  308. package/src/Utilities/Helpers/ValueOrFunctionHelper.d.ts +33 -0
  309. package/src/Utilities/Helpers/ValueOrFunctionHelper.js +15 -0
  310. package/src/Utilities/ObjectFactory.d.ts +1 -3
  311. package/src/Utilities/ObjectFactory.js +13 -32
  312. package/src/Utilities/Services/AlertLiveBindingService.d.ts +30 -0
  313. package/src/Utilities/Services/AlertLiveBindingService.js +162 -0
  314. package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +21 -10
  315. package/src/Utilities/Services/CalculatedColumnExpressionService.js +182 -81
  316. package/src/Utilities/Services/CommentsService.d.ts +28 -0
  317. package/src/Utilities/Services/CommentsService.js +128 -0
  318. package/src/Utilities/Services/DataService.d.ts +3 -6
  319. package/src/Utilities/Services/DataService.js +18 -31
  320. package/src/Utilities/Services/Interface/IAlertLiveBindingService.d.ts +41 -0
  321. package/src/Utilities/Services/Interface/IAlertLiveBindingService.js +1 -0
  322. package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +45 -8
  323. package/src/Utilities/Services/Interface/IDataService.d.ts +25 -3
  324. package/src/Utilities/Services/Interface/ILiveRefreshService.d.ts +39 -0
  325. package/src/Utilities/Services/Interface/ILiveRefreshService.js +1 -0
  326. package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +192 -41
  327. package/src/Utilities/Services/Interface/ITeamSharingService.d.ts +5 -0
  328. package/src/Utilities/Services/LiveRefreshService.d.ts +28 -0
  329. package/src/Utilities/Services/LiveRefreshService.js +166 -0
  330. package/src/Utilities/Services/QueryLanguageService.d.ts +202 -48
  331. package/src/Utilities/Services/QueryLanguageService.js +764 -465
  332. package/src/Utilities/Services/RowSummaryService.d.ts +7 -14
  333. package/src/Utilities/Services/RowSummaryService.js +63 -67
  334. package/src/Utilities/Services/TeamSharingService.d.ts +4 -0
  335. package/src/Utilities/Services/TeamSharingService.js +44 -0
  336. package/src/Utilities/Services/ValidationService.d.ts +0 -1
  337. package/src/Utilities/Services/ValidationService.js +13 -26
  338. package/src/Utilities/isPivotLayout.d.ts +1 -1
  339. package/src/Utilities/isPivotLayout.js +1 -1
  340. package/src/Utilities/logDeprecation.d.ts +0 -2
  341. package/src/Utilities/logDeprecation.js +0 -7
  342. package/src/Utilities/resolveContainerElement.js +2 -1
  343. package/src/View/AdaptableContext.d.ts +2 -0
  344. package/src/View/AdaptableContext.js +6 -0
  345. package/src/View/AdaptablePopover/index.js +1 -1
  346. package/src/View/AdaptableView.js +4 -2
  347. package/src/View/AdaptableViewFactory.js +4 -2
  348. package/src/View/AdaptableWizardView/Wizard.js +2 -2
  349. package/src/View/Alert/ActiveAlertsPanel.js +5 -1
  350. package/src/View/Alert/ActiveAlertsPanelItemLabel.js +1 -1
  351. package/src/View/Alert/AlertEmptyView.js +2 -2
  352. package/src/View/Alert/AlertStatusSubPanel.js +1 -3
  353. package/src/View/Alert/AlertViewPanel.js +4 -4
  354. package/src/View/Alert/Utilities/getAlertButtonStyle.js +1 -1
  355. package/src/View/Alert/Utilities/getAlertType.d.ts +4 -15
  356. package/src/View/Alert/Utilities/getAlertType.js +2 -61
  357. package/src/View/Alert/Utilities/getDefaultAlertDefinition.d.ts +2 -32
  358. package/src/View/Alert/Utilities/getDefaultAlertDefinition.js +15 -8
  359. package/src/View/Alert/Utilities/mapAlertDefinition.d.ts +1 -1
  360. package/src/View/Alert/Utilities/mapAlertDefinition.js +2 -1
  361. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +4 -3
  362. package/src/View/Alert/Wizard/AlertButtonsEditor.js +7 -7
  363. package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +1 -2
  364. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +103 -45
  365. package/src/View/Alert/Wizard/AlertScheduledWizardSection.js +1 -1
  366. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +12 -22
  367. package/src/View/Alert/Wizard/AlertTypeWizardSection.js +5 -1
  368. package/src/View/Alert/Wizard/AlertWizard.js +18 -13
  369. package/src/View/Alert/Wizard/isValidAlertRules.js +10 -5
  370. package/src/View/BulkUpdate/BulkUpdatePopup.d.ts +2 -0
  371. package/src/View/BulkUpdate/BulkUpdatePopup.js +23 -17
  372. package/src/View/BulkUpdate/BulkUpdateValueSelector.d.ts +20 -0
  373. package/src/View/BulkUpdate/BulkUpdateValueSelector.js +50 -0
  374. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +3 -8
  375. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingsTags.js +2 -1
  376. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.d.ts +2 -2
  377. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +6 -3
  378. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.d.ts +9 -3
  379. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +98 -50
  380. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +71 -17
  381. package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.d.ts +3 -3
  382. package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.js +19 -7
  383. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +32 -37
  384. package/src/View/CalculatedColumn/Wizard/calculatedColumnTypes.d.ts +5 -2
  385. package/src/View/CalculatedColumn/Wizard/calculatedColumnTypes.js +1 -6
  386. package/src/View/CellSummary/CellSummaryDetails.d.ts +4 -0
  387. package/src/View/CellSummary/CellSummaryDetails.js +9 -13
  388. package/src/View/CellSummary/CellSummaryPopup.d.ts +8 -0
  389. package/src/View/CellSummary/CellSummaryPopup.js +18 -2
  390. package/src/View/CellSummary/CellSummaryStatusPanel.js +1 -2
  391. package/src/View/CellSummary/CellSummaryViewPanel.js +8 -9
  392. package/src/View/Charting/ChartingStatusBarPopover.js +1 -1
  393. package/src/View/Charting/ChartingViewPanel.js +1 -1
  394. package/src/View/Charting/ShowChartButton.js +2 -2
  395. package/src/View/Charting/Utilities/useAgChartState.d.ts +9 -0
  396. package/src/View/Charting/Utilities/useAgChartState.js +64 -0
  397. package/src/View/Charting/Utilities/useChartingElements.d.ts +15 -0
  398. package/src/View/Charting/Utilities/useChartingElements.js +96 -0
  399. package/src/View/Charting/Utilities/useExternalChartState.d.ts +7 -0
  400. package/src/View/Charting/Utilities/useExternalChartState.js +45 -0
  401. package/src/View/Charting/Wizard/AgChargingWizard/SettingsSection.js +44 -0
  402. package/src/View/ColumnInfo/ColumnInfo.js +1 -1
  403. package/src/View/Comments/CommentsEditor.js +3 -3
  404. package/src/View/Comments/CommentsPopup.js +1 -1
  405. package/src/View/Components/AdaptableDateInput/index.js +5 -1
  406. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.d.ts +6 -0
  407. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +2 -2
  408. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +1 -0
  409. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +6 -2
  410. package/src/View/Components/Buttons/ButtonDelete.d.ts +4 -0
  411. package/src/View/Components/Buttons/ButtonDelete.js +4 -1
  412. package/src/View/Components/CellPopup/index.d.ts +12 -0
  413. package/src/View/Components/CellPopup/index.js +24 -8
  414. package/src/View/Components/ColumnSelector/index.js +1 -1
  415. package/src/View/Components/EntityRulesEditor/Utilities.d.ts +6 -1
  416. package/src/View/Components/EntityRulesEditor/Utilities.js +20 -26
  417. package/src/View/Components/EntityRulesEditor/index.d.ts +44 -19
  418. package/src/View/Components/EntityRulesEditor/index.js +47 -90
  419. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -0
  420. package/src/View/Components/Forms/AdaptableFormControlTextClear.js +1 -1
  421. package/src/View/Components/ModuleValueSelector/index.js +1 -1
  422. package/src/View/Components/Panels/PanelWithButton.d.ts +2 -2
  423. package/src/View/Components/Panels/PanelWithButton.js +10 -3
  424. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +9 -4
  425. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +0 -3
  426. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +1 -1
  427. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +24 -5
  428. package/src/View/Components/Popups/AdaptablePopup/Navigation.d.ts +4 -0
  429. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +119 -24
  430. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.d.ts +3 -1
  431. package/src/View/Components/Popups/AdaptablePopup/settingsPanelNavigationTypes.d.ts +2 -0
  432. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +24 -9
  433. package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -1
  434. package/src/View/Components/Popups/AdaptablePopupConfirmation.js +3 -3
  435. package/src/View/Components/Popups/GridCellPopup/GridCellPopup.d.ts +5 -2
  436. package/src/View/Components/Popups/GridCellPopup/GridCellPopup.js +10 -38
  437. package/src/View/Components/Popups/Utilities.js +1 -1
  438. package/src/View/Components/Popups/WindowPopups/windowFactory.d.ts +0 -1
  439. package/src/View/Components/Popups/WindowPopups/windowFactory.js +1 -4
  440. package/src/View/Components/PreviewResultsPanel.js +46 -31
  441. package/src/View/Components/Selectors/FieldSelector.d.ts +1 -0
  442. package/src/View/Components/Selectors/FieldSelector.js +1 -1
  443. package/src/View/Components/Selectors/PermittedValuesSelector.js +6 -2
  444. package/src/View/Components/SharedProps/BaseProps.d.ts +0 -1
  445. package/src/View/Components/SharedProps/ModuleViewPopupProps.d.ts +1 -0
  446. package/src/View/Components/SharedProps/ViewPanelProps.d.ts +5 -0
  447. package/src/View/Components/StyleComponent.js +1 -1
  448. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +3 -3
  449. package/src/View/CustomSort/Wizard/CustomSortWizard.js +10 -0
  450. package/src/View/Dashboard/CustomToolbar.js +1 -1
  451. package/src/View/Dashboard/Dashboard.js +26 -27
  452. package/src/View/Dashboard/DashboardPopupSections.js +6 -9
  453. package/src/View/Dashboard/DashboardToolbarFactory.d.ts +1 -0
  454. package/src/View/Dashboard/DashboardToolbarFactory.js +2 -1
  455. package/src/View/Dashboard/ModuleToolbarWrapper.js +1 -1
  456. package/src/View/Dashboard/PanelDashboard/index.d.ts +15 -0
  457. package/src/View/Dashboard/PanelDashboard/index.js +18 -0
  458. package/src/View/Dashboard/PinnedDashboard.js +1 -1
  459. package/src/View/DataChangeHistory/DataChangeHistoryTable.js +2 -2
  460. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +1 -1
  461. package/src/View/DataChangeHistory/Utilities/buildActionColumnButton.d.ts +5 -0
  462. package/src/View/DataChangeHistory/Utilities/buildActionColumnButton.js +74 -0
  463. package/src/View/DataChangeHistory/Utilities/dataChangeHistoryHelpers.d.ts +37 -0
  464. package/src/View/DataChangeHistory/Utilities/dataChangeHistoryHelpers.js +66 -0
  465. package/src/View/DataImport/DataImportPopup.js +1 -1
  466. package/src/View/DataImport/Utilities/systemFileHandlers.d.ts +3 -0
  467. package/src/View/DataImport/Utilities/systemFileHandlers.js +39 -0
  468. package/src/View/DataImport/Wizard/DataImportWizard.js +260 -0
  469. package/src/View/DataImport/Wizard/sections/ColumnsSection.js +130 -0
  470. package/src/View/DataImport/Wizard/sections/DataPreview.js +149 -0
  471. package/src/View/DataSet/DataSetViewPanel.js +1 -1
  472. package/src/View/Export/ExportSchedulesTab.js +1 -1
  473. package/src/View/Export/ReportFormatSelector.js +1 -1
  474. package/src/View/Export/ReportNameSelector.js +1 -1
  475. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +1 -1
  476. package/src/View/Export/Wizard/ReportRowsWizardSection.js +13 -17
  477. package/src/View/Export/Wizard/ScheduledReportSettings.js +1 -1
  478. package/src/View/Filter/ColumnFilter/AdaptableColumnFilterNew.d.ts +16 -0
  479. package/src/View/Filter/ColumnFilter/AdaptableColumnFilterNew.js +16 -0
  480. package/src/View/Filter/ColumnFilter/AdaptableFloatingFilterNew.d.ts +10 -0
  481. package/src/View/Filter/ColumnFilter/AdaptableFloatingFilterNew.js +28 -0
  482. package/src/View/Filter/ColumnFilter/ColumnFilterNew.d.ts +28 -0
  483. package/src/View/Filter/ColumnFilter/ColumnFilterNew.js +71 -0
  484. package/src/View/Filter/ColumnFilter/ColumnFilterOverlayHost.d.ts +16 -0
  485. package/src/View/Filter/ColumnFilter/ColumnFilterOverlayHost.js +8 -0
  486. package/src/View/Filter/ColumnFilter/ColumnFilterSettingsList.d.ts +10 -0
  487. package/src/View/Filter/ColumnFilter/ColumnFilterSettingsList.js +42 -0
  488. package/src/View/Filter/ColumnFilter/ColumnFilterWindow.d.ts +3 -0
  489. package/src/View/Filter/ColumnFilter/ColumnFilterWindow.js +38 -0
  490. package/src/View/Filter/ColumnFilter/FloatingFilterNew.d.ts +19 -0
  491. package/src/View/Filter/ColumnFilter/FloatingFilterNew.js +140 -0
  492. package/src/View/Filter/ColumnFilter/LayoutColumnFilter.d.ts +17 -0
  493. package/src/View/Filter/ColumnFilter/LayoutColumnFilter.js +43 -0
  494. package/src/View/Filter/ColumnFilter/LayoutColumnFilterCard.d.ts +11 -0
  495. package/src/View/Filter/ColumnFilter/LayoutColumnFilterCard.js +41 -0
  496. package/src/View/Filter/ColumnFilter/columnFilterLocation.d.ts +10 -0
  497. package/src/View/Filter/ColumnFilter/columnFilterLocation.js +26 -0
  498. package/src/View/Filter/ColumnFilter/components/ColumnFilterInput.d.ts +29 -0
  499. package/src/View/Filter/ColumnFilter/components/ColumnFilterInput.js +141 -0
  500. package/src/View/Filter/ColumnFilter/components/FloatingFilterInputListNew.d.ts +33 -0
  501. package/src/View/Filter/ColumnFilter/components/FloatingFilterInputListNew.js +80 -0
  502. package/src/View/Filter/ColumnFilter/components/FloatingFilterValues.d.ts +58 -0
  503. package/src/View/Filter/ColumnFilter/components/FloatingFilterValues.js +314 -0
  504. package/src/View/Filter/ColumnFilter/useColumnFilterQlPredicate.d.ts +27 -0
  505. package/src/View/Filter/ColumnFilter/useColumnFilterQlPredicate.js +58 -0
  506. package/src/View/Filter/FilterForm/ListBoxFilterForm.js +149 -0
  507. package/src/View/Filter/FilterViewPanel.js +2 -3
  508. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +40 -15
  509. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +0 -12
  510. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +1 -1
  511. package/src/View/FlashingCell/Wizard/FlashingCellTypeWizardSection.d.ts +9 -0
  512. package/src/View/FlashingCell/Wizard/FlashingCellTypeWizardSection.js +27 -0
  513. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +45 -6
  514. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +2 -2
  515. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +51 -41
  516. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.d.ts +7 -2
  517. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +93 -29
  518. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +8 -27
  519. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +1 -1
  520. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +18 -4
  521. package/src/View/FreeTextColumn/Utilities/getFreeTextColumnSettingsTags.js +3 -1
  522. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +34 -12
  523. package/src/View/GridFilter/GridFilterExpressionEditor.js +27 -76
  524. package/src/View/GridFilter/GridFilterPopup.js +4 -30
  525. package/src/View/GridFilter/GridFilterPopupUI.d.ts +18 -0
  526. package/src/View/GridFilter/GridFilterPopupUI.js +7 -0
  527. package/src/View/GridFilter/GridFilterViewPanel.js +45 -12
  528. package/src/View/GridFilter/NamedQuerySelector.js +8 -6
  529. package/src/View/GridFilter/Utilities/useGridFilterExpressionEditor.d.ts +26 -0
  530. package/src/View/GridFilter/Utilities/useGridFilterExpressionEditor.js +117 -0
  531. package/src/View/GridInfo/AdaptableObjectsSummary.js +26 -0
  532. package/src/View/GridInfo/GridInfoPopup.d.ts +6 -0
  533. package/src/View/GridInfo/GridInfoPopup.js +210 -0
  534. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +1 -1
  535. package/src/View/Layout/LayoutViewPanel.d.ts +1 -0
  536. package/src/View/Layout/LayoutViewPanel.js +1 -1
  537. package/src/View/Layout/PivotDetailsPopoup.js +6 -13
  538. package/src/View/Layout/TransposedPopup.js +5 -6
  539. package/src/View/Layout/Utilities/columnFilter.d.ts +2 -0
  540. package/src/View/Layout/Utilities/columnLayoutHelpers.d.ts +30 -0
  541. package/src/View/Layout/Utilities/layoutWizardAccordionHelpers.d.ts +8 -0
  542. package/src/View/Layout/Utilities/layoutWizardColumns.d.ts +11 -0
  543. package/src/View/Layout/Utilities/layoutWizardColumns.js +48 -0
  544. package/src/View/Layout/Wizard/getGridFilterPreview.js +3 -3
  545. package/src/View/Layout/Wizard/sections/AggregationsSection.js +12 -8
  546. package/src/View/Layout/Wizard/sections/ColumnsSection.js +12 -12
  547. package/src/View/Layout/Wizard/sections/FilterSection.js +13 -33
  548. package/src/View/Layout/Wizard/sections/GridFilterSection.js +11 -14
  549. package/src/View/Layout/Wizard/sections/PivotAggregationsSection.js +8 -8
  550. package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +8 -8
  551. package/src/View/Layout/Wizard/sections/PivotRowGroupingSection.js +7 -7
  552. package/src/View/Layout/Wizard/sections/RowGroupingSection.d.ts +1 -1
  553. package/src/View/Layout/Wizard/sections/RowGroupingSection.js +9 -9
  554. package/src/View/Layout/Wizard/sections/RowSelectionSection.js +2 -2
  555. package/src/View/Layout/Wizard/sections/RowSummarySection.js +9 -9
  556. package/src/View/Layout/Wizard/sections/SortSection.js +7 -7
  557. package/src/View/Layout/Wizard/sections/columnLayoutCards.d.ts +1 -1
  558. package/src/View/Layout/Wizard/sections/columnLayoutCards.js +8 -8
  559. package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.d.ts +1 -1
  560. package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +51 -13
  561. package/src/View/NamedQuery/Wizard/NamedQuerySettingsWizardSection.js +29 -4
  562. package/src/View/NamedQuery/Wizard/NamedQueryWizard.js +5 -3
  563. package/src/View/Note/NotePopup.js +47 -4
  564. package/src/View/Note/NoteStatusPanel.d.ts +6 -0
  565. package/src/View/Note/NoteStatusPanel.js +17 -0
  566. package/src/View/Note/NoteViewPanel.d.ts +8 -0
  567. package/src/View/Note/NoteViewPanel.js +18 -0
  568. package/src/View/ObjectItemViews/Alert/getAlertBehaviourViewItems.d.ts +3 -0
  569. package/src/View/ObjectItemViews/Alert/getAlertPreviewViewItems.d.ts +4 -0
  570. package/src/View/ObjectItemViews/CustomSort/getCustomSortColumnViewItems.d.ts +6 -0
  571. package/src/View/ObjectItemViews/CustomSort/getCustomSortColumnViewItems.js +7 -0
  572. package/src/View/ObjectItemViews/Export/formatScheduledReportSummary.js +6 -0
  573. package/src/View/ObjectItemViews/Export/getExportColumnsViewItems.d.ts +5 -0
  574. package/src/View/ObjectItemViews/Export/getExportColumnsViewItems.js +20 -0
  575. package/src/View/ObjectItemViews/Export/getExportRowsViewItems.js +18 -0
  576. package/src/View/ObjectItemViews/FlashingCell/getFlashingCellStyleViewItems.d.ts +2 -0
  577. package/src/View/ObjectItemViews/FlashingCell/getFlashingTargetViewItems.d.ts +5 -0
  578. package/src/View/ObjectItemViews/Layout/columnsSummaryHelpers.d.ts +48 -0
  579. package/src/View/ObjectItemViews/Layout/columnsSummaryHelpers.js +161 -0
  580. package/src/View/ObjectItemViews/Layout/getLayoutFilterViewItems.d.ts +12 -0
  581. package/src/View/ObjectItemViews/Layout/getLayoutFilterViewItems.js +58 -0
  582. package/src/View/ObjectItemViews/Layout/getLayoutSortViewItems.d.ts +6 -0
  583. package/src/View/ObjectItemViews/Layout/getLayoutSortViewItems.js +10 -0
  584. package/src/View/ObjectItemViews/getExpressionViewItems.d.ts +3 -0
  585. package/src/View/ObjectItemViews/getExpressionViewItems.js +9 -0
  586. package/src/View/ObjectItemViews/getLayoutExtensionInfoViewItems.d.ts +8 -0
  587. package/src/View/ObjectItemViews/getLayoutExtensionInfoViewItems.js +31 -0
  588. package/src/View/ObjectItemViews/getLayoutExtensionsViewItems.d.ts +9 -0
  589. package/src/View/ObjectItemViews/getLayoutExtensionsViewItems.js +26 -0
  590. package/src/View/ObjectItemViews/getObjectTagsViewItems.d.ts +3 -0
  591. package/src/View/ObjectItemViews/getObjectTagsViewItems.js +9 -0
  592. package/src/View/ObjectItemViews/getRuleViewItems.d.ts +6 -0
  593. package/src/View/ObjectItemViews/getRuleViewItems.js +7 -0
  594. package/src/View/ObjectItemViews/getScopeViewItems.d.ts +3 -0
  595. package/src/View/ObjectItemViews/getScopeViewItems.js +23 -0
  596. package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.d.ts +0 -1
  597. package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +29 -26
  598. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +11 -1
  599. package/src/View/QuickSearch/QuickSearchInput.js +1 -1
  600. package/src/View/QuickSearch/QuickSearchPopup.js +1 -1
  601. package/src/View/QuickSearch/Utilities/useQuickSearchDebounced.d.ts +7 -0
  602. package/src/View/QuickSearch/Utilities/useQuickSearchDebounced.js +15 -0
  603. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +1 -1
  604. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +4 -19
  605. package/src/View/Shortcut/Utilities/shortcutOperations.d.ts +5 -0
  606. package/src/View/Shortcut/Utilities/shortcutOperations.js +35 -0
  607. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +2 -2
  608. package/src/View/Shortcut/Wizard/ShortcutWizard.js +11 -1
  609. package/src/View/SmartEdit/SmartEditPopup.d.ts +5 -0
  610. package/src/View/SmartEdit/SmartEditPopup.js +43 -31
  611. package/src/View/SmartEdit/SmartEditViewPanel.js +3 -9
  612. package/src/View/StateManagement/ClearButton.d.ts +6 -0
  613. package/src/View/StateManagement/ClearButton.js +5 -0
  614. package/src/View/StateManagement/ExportDropdown.d.ts +8 -0
  615. package/src/View/StateManagement/ExportDropdown.js +35 -0
  616. package/src/View/StateManagement/LoadButton.d.ts +7 -0
  617. package/src/View/StateManagement/LoadButton.js +31 -0
  618. package/src/View/StateManagement/StateManagementPopup.js +3 -3
  619. package/src/View/StateManagement/StateManagementViewPanel.js +3 -3
  620. package/src/View/StateManagement/Utilities/handleExportState.d.ts +2 -0
  621. package/src/View/StateManagement/Utilities/handleExportState.js +17 -0
  622. package/src/View/StatusBar/AdaptableStatusBar.d.ts +1 -1
  623. package/src/View/StatusBar/AdaptableStatusBar.js +7 -1
  624. package/src/View/StatusBar/StatusBarPanel.d.ts +2 -1
  625. package/src/View/StatusBar/StatusBarPopup.js +1 -1
  626. package/src/View/StatusBar/Utilities/statusBarPanelHelpers.d.ts +2 -0
  627. package/src/View/StyledColumn/Badge/index.js +63 -0
  628. package/src/View/StyledColumn/RangesComponent.js +339 -0
  629. package/src/View/StyledColumn/Wizard/BadgeRuleEditor.d.ts +21 -0
  630. package/src/View/StyledColumn/Wizard/BadgeRuleEditor.js +27 -0
  631. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +7 -19
  632. package/src/View/StyledColumn/Wizard/StyledColumnSliceStyleEditors.js +1 -1
  633. package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +3 -6
  634. package/src/View/StyledColumn/Wizard/StyledColumnTypeThumbnail.js +1 -1
  635. package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +11 -1
  636. package/src/View/StyledColumn/Wizard/StyledColumnWizardBulletSection.js +3 -3
  637. package/src/View/StyledColumn/Wizard/StyledColumnWizardIconSection.js +8 -10
  638. package/src/View/StyledColumn/Wizard/StyledColumnWizardRangeBarSection.js +3 -3
  639. package/src/View/StyledColumn/Wizard/StyledColumnWizardRatingSection.js +5 -8
  640. package/src/View/StyledColumn/Wizard/StyledColumnWizardScopeSection.js +4 -4
  641. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarStyleCellTextLayoutEditor.js +1 -1
  642. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +1 -1
  643. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardRangesSection.js +2 -2
  644. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +1 -1
  645. package/src/View/SystemStatus/SystemStatusPopup.d.ts +1 -18
  646. package/src/View/SystemStatus/SystemStatusPopup.js +106 -37
  647. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +1 -1
  648. package/src/View/Theme/ThemeSelector.js +1 -1
  649. package/src/View/ToolPanel/AdaptableToolPanel.d.ts +40 -0
  650. package/src/View/ToolPanel/AdaptableToolPanel.js +220 -0
  651. package/src/View/ToolPanel/CustomToolPanelContent.d.ts +6 -0
  652. package/src/View/ToolPanel/CustomToolPanelContent.js +51 -0
  653. package/src/View/ToolPanel/PanelToolPanel/index.d.ts +14 -0
  654. package/src/View/ToolPanel/PanelToolPanel/index.js +44 -0
  655. package/src/View/ToolPanel/ToolPanelPopup.d.ts +20 -0
  656. package/src/View/ToolPanel/ToolPanelPopup.js +27 -0
  657. package/src/View/ToolPanel/ToolPanelPopupSections.d.ts +17 -0
  658. package/src/View/ToolPanel/ToolPanelPopupSections.js +75 -0
  659. package/src/View/ToolPanel/ToolPanelWrapper.d.ts +16 -0
  660. package/src/View/ToolPanel/ToolPanelWrapper.js +55 -0
  661. package/src/View/Wizard/CollapsibleWizardCard.d.ts +2 -2
  662. package/src/View/Wizard/CollapsibleWizardCard.js +7 -7
  663. package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +0 -1
  664. package/src/View/Wizard/KeyHint.d.ts +6 -0
  665. package/src/View/Wizard/KeyHint.js +7 -0
  666. package/src/View/Wizard/LayoutExtensionInfoWizardSection.d.ts +20 -0
  667. package/src/View/Wizard/LayoutExtensionInfoWizardSection.js +32 -0
  668. package/src/View/Wizard/ObjectTagsWizardSection.js +1 -1
  669. package/src/View/Wizard/OnePageAdaptableWizard.d.ts +1 -1
  670. package/src/View/Wizard/OnePageAdaptableWizard.js +1 -1
  671. package/src/View/Wizard/OnePageWizards.js +3 -3
  672. package/src/View/Wizard/SpecialColumnSettingsWizardStep.js +39 -0
  673. package/src/View/Wizard/TagValueSelector/index.d.ts +13 -0
  674. package/src/View/Wizard/TagValueSelector/index.js +19 -0
  675. package/src/View/Wizard/Utilities/useKeyboardNavigation.d.ts +2 -0
  676. package/src/View/Wizard/Utilities/wizardSelection.d.ts +10 -0
  677. package/src/View/Wizard/Utilities/wizardSelection.js +13 -0
  678. package/src/View/Wizard/rowGroupSummaryTags.js +4 -4
  679. package/src/View/Wizard/scopeSummaryTags.js +3 -3
  680. package/src/agGrid/AdaptableAgGrid.d.ts +63 -9
  681. package/src/agGrid/AdaptableAgGrid.js +471 -224
  682. package/src/agGrid/AdaptableFilterHandler.d.ts +7 -0
  683. package/src/agGrid/AdaptableFilterHandler.js +19 -4
  684. package/src/agGrid/AgGridAdapter.d.ts +5 -0
  685. package/src/agGrid/AgGridAdapter.js +30 -17
  686. package/src/agGrid/AgGridCellDataTypeHelper.d.ts +35 -0
  687. package/src/agGrid/AgGridCellDataTypeHelper.js +100 -0
  688. package/src/agGrid/AgGridColumnAdapter.d.ts +28 -1
  689. package/src/agGrid/AgGridColumnAdapter.js +159 -46
  690. package/src/agGrid/AgGridDataTypeDefinitions.js +69 -0
  691. package/src/agGrid/AgGridExportAdapter.js +19 -40
  692. package/src/agGrid/AgGridFilterAdapter.js +70 -7
  693. package/src/agGrid/AgGridFloatingFilterAdapter.js +3 -3
  694. package/src/agGrid/AgGridGroupColumnPathMatching.d.ts +44 -0
  695. package/src/agGrid/AgGridGroupColumnPathMatching.js +73 -0
  696. package/src/agGrid/AgGridMenuAdapter.js +19 -5
  697. package/src/agGrid/AgGridModulesAdapter.js +6 -2
  698. package/src/agGrid/AgGridOptionsService.js +2 -2
  699. package/src/agGrid/AgGridStatusPanelCreator.js +45 -0
  700. package/src/agGrid/cellRenderers/ActionColumnRenderer.d.ts +9 -1
  701. package/src/agGrid/cellRenderers/ActionColumnRenderer.js +379 -76
  702. package/src/agGrid/cellRenderers/BadgeRenderer.js +6 -14
  703. package/src/agGrid/cellRenderers/IconRenderer.js +1 -1
  704. package/src/agGrid/cellRenderers/TwoLineTooltip.d.ts +14 -0
  705. package/src/agGrid/cellRenderers/TwoLineTooltip.js +18 -0
  706. package/src/agGrid/editors/AdaptableDateEditor/index.js +1 -1
  707. package/src/agGrid/editors/AdaptableNumberEditor/index.js +1 -1
  708. package/src/agGrid/editors/AdaptablePercentageEditor/index.js +1 -1
  709. package/src/aql/ExpressionEvaluation.d.ts +184 -0
  710. package/src/aql/ExpressionEvaluation.js +1 -0
  711. package/src/aql/applyExpressionFunctionAvailability.d.ts +19 -0
  712. package/src/aql/applyExpressionFunctionAvailability.js +49 -0
  713. package/src/aql/badgeRuleQl.d.ts +26 -0
  714. package/src/aql/badgeRuleQl.js +27 -0
  715. package/src/aql/chipColumnPlaceholder.d.ts +41 -0
  716. package/src/aql/chipColumnPlaceholder.js +67 -0
  717. package/src/aql/columnFilterQl.d.ts +232 -0
  718. package/src/aql/columnFilterQl.js +516 -0
  719. package/src/aql/createAdaptableAqlHost.d.ts +19 -0
  720. package/src/aql/createAdaptableAqlHost.js +121 -0
  721. package/src/aql/createExternalDataAqlHost.d.ts +17 -0
  722. package/src/aql/createExternalDataAqlHost.js +73 -0
  723. package/src/aql/durationHelper.d.ts +18 -0
  724. package/src/aql/durationHelper.js +37 -0
  725. package/src/aql/expressionFunctionAvailability.d.ts +80 -0
  726. package/src/aql/expressionFunctionAvailability.js +36 -0
  727. package/src/aql/expressionFunctionAvailabilityOverlay.d.ts +49 -0
  728. package/src/aql/expressionFunctionAvailabilityOverlay.js +77 -0
  729. package/src/aql/formulaTraceUtils.d.ts +49 -0
  730. package/src/aql/formulaTraceUtils.js +143 -0
  731. package/src/aql/formulaValueSubstitutionUtils.d.ts +52 -0
  732. package/src/aql/formulaValueSubstitutionUtils.js +100 -0
  733. package/src/aql/getMissingColumnIssues.d.ts +10 -0
  734. package/src/aql/getMissingColumnIssues.js +33 -0
  735. package/src/aql/index.d.ts +11 -0
  736. package/src/aql/index.js +3 -0
  737. package/src/aql/legacyExpressionKinds.d.ts +18 -0
  738. package/src/aql/legacyExpressionKinds.js +14 -0
  739. package/src/aql/mapCustomAggregatedScalarFunctions.d.ts +31 -0
  740. package/src/aql/mapCustomAggregatedScalarFunctions.js +202 -0
  741. package/src/aql/resolveCustomExpressionFunctions.d.ts +21 -0
  742. package/src/aql/resolveCustomExpressionFunctions.js +82 -0
  743. package/src/aql/resolveOperatorPresentation.d.ts +28 -0
  744. package/src/aql/resolveOperatorPresentation.js +22 -0
  745. package/src/aql/systemExpressionFunctionEnhancements.d.ts +55 -0
  746. package/src/aql/systemExpressionFunctionEnhancements.js +234 -0
  747. package/src/aql/systemExpressionFunctions.d.ts +66 -0
  748. package/src/aql/systemExpressionFunctions.js +95 -0
  749. package/src/aql/types.d.ts +572 -0
  750. package/src/aql/types.js +1 -0
  751. package/src/aql/whereClauseExpressionFunctionPolicy.d.ts +21 -0
  752. package/src/aql/whereClauseExpressionFunctionPolicy.js +25 -0
  753. package/src/components/CheckBox/index.d.ts +2 -25
  754. package/src/components/CheckBox/index.js +1 -55
  755. package/src/components/Combobox/index.d.ts +3 -50
  756. package/src/components/Combobox/index.js +1 -598
  757. package/src/components/Datepicker/index.d.ts +6 -0
  758. package/src/components/Datepicker/index.js +10 -4
  759. package/src/components/DropdownButton/index.d.ts +20 -21
  760. package/src/components/DropdownButton/index.js +5 -19
  761. package/src/components/EmptyContent/index.js +2 -2
  762. package/src/components/IconSelector/IconSelector.js +1 -1
  763. package/src/components/Modal/index.js +1 -1
  764. package/src/components/OverlayTrigger/index.js +1 -1
  765. package/src/components/Radio/index.d.ts +2 -51
  766. package/src/components/Radio/index.js +1 -64
  767. package/src/components/Select/index.d.ts +2 -0
  768. package/src/components/Select/index.js +1 -0
  769. package/src/components/SimpleButton/index.js +3 -5
  770. package/src/components/Switch/index.d.ts +14 -0
  771. package/src/components/Switch/index.js +7 -0
  772. package/src/components/Tabs/index.d.ts +2 -0
  773. package/src/components/Tabs/index.js +2 -2
  774. package/src/components/Tag/Tag.d.ts +14 -11
  775. package/src/components/Tag/Tag.js +11 -9
  776. package/src/components/Tag/columnScopeTagHelpers.d.ts +11 -3
  777. package/src/components/Tag/columnScopeTagHelpers.js +42 -2
  778. package/src/components/Tag/index.d.ts +1 -1
  779. package/src/components/Tag/index.js +1 -1
  780. package/src/components/Tooltip/index.d.ts +2 -6
  781. package/src/components/Tooltip/index.js +1 -6
  782. package/src/components/Tree/TreeDropdown/index.d.ts +2 -65
  783. package/src/components/Tree/TreeDropdown/index.js +1 -418
  784. package/src/components/WindowModal/WindowModal.js +3 -1
  785. package/src/components/aql/CompactEditor/CompactEditor.d.ts +9 -0
  786. package/src/components/aql/CompactEditor/CompactEditor.js +141 -0
  787. package/src/components/aql/ExpressionEditor/AqlCodeMirrorEditor.d.ts +94 -0
  788. package/src/components/aql/ExpressionEditor/AqlCodeMirrorEditor.js +522 -0
  789. package/src/components/aql/ExpressionEditor/BaseEditorInput.d.ts +164 -0
  790. package/src/components/aql/ExpressionEditor/BaseEditorInput.js +1161 -0
  791. package/src/components/aql/ExpressionEditor/CompactExpressionToolbar.d.ts +28 -0
  792. package/src/components/aql/ExpressionEditor/CompactExpressionToolbar.js +127 -0
  793. package/src/components/aql/ExpressionEditor/DataTableEditor.d.ts +27 -0
  794. package/src/components/aql/ExpressionEditor/DataTableEditor.js +91 -0
  795. package/src/components/aql/ExpressionEditor/EditorButton.d.ts +9 -0
  796. package/src/components/aql/ExpressionEditor/EditorButton.js +32 -0
  797. package/src/components/aql/ExpressionEditor/EditorContext.d.ts +24 -0
  798. package/src/components/aql/ExpressionEditor/EditorContext.js +9 -0
  799. package/src/components/aql/ExpressionEditor/EditorInput.d.ts +48 -0
  800. package/src/components/aql/ExpressionEditor/EditorInput.js +235 -0
  801. package/src/components/aql/ExpressionEditor/EditorInputWithWhereClause.d.ts +21 -0
  802. package/src/components/aql/ExpressionEditor/EditorInputWithWhereClause.js +131 -0
  803. package/src/components/aql/ExpressionEditor/ExpressionExamplesPanel.d.ts +10 -0
  804. package/src/components/aql/ExpressionEditor/ExpressionExamplesPanel.js +32 -0
  805. package/src/components/aql/ExpressionEditor/ExpressionFunctionDocumentation.d.ts +11 -0
  806. package/src/components/aql/ExpressionEditor/ExpressionFunctionDocumentation.js +34 -0
  807. package/src/components/aql/ExpressionEditor/ExpressionInfoExamples.d.ts +12 -0
  808. package/src/components/aql/ExpressionEditor/ExpressionInfoExamples.js +9 -0
  809. package/src/components/aql/ExpressionEditor/ExpressionPreview.d.ts +12 -0
  810. package/src/components/aql/ExpressionEditor/ExpressionPreview.js +21 -0
  811. package/src/components/aql/ExpressionEditor/ExpressionUseCaseCard.d.ts +20 -0
  812. package/src/components/aql/ExpressionEditor/ExpressionUseCaseCard.js +10 -0
  813. package/src/components/aql/ExpressionEditor/LookupsEditor.d.ts +9 -0
  814. package/src/components/aql/ExpressionEditor/LookupsEditor.js +41 -0
  815. package/src/components/aql/ExpressionEditor/NamedQueryContext.d.ts +10 -0
  816. package/src/components/aql/ExpressionEditor/aqlCompletionTypeContext.d.ts +124 -0
  817. package/src/components/aql/ExpressionEditor/aqlCompletionTypeContext.js +252 -0
  818. package/src/components/aql/ExpressionEditor/aqlExpressionHighlight.d.ts +32 -0
  819. package/src/components/aql/ExpressionEditor/aqlExpressionHighlight.js +129 -0
  820. package/src/components/aql/ExpressionEditor/aqlHover.d.ts +54 -0
  821. package/src/components/aql/ExpressionEditor/aqlHover.js +320 -0
  822. package/src/components/aql/ExpressionEditor/aqlLint.d.ts +45 -0
  823. package/src/components/aql/ExpressionEditor/aqlLint.js +138 -0
  824. package/src/components/aql/ExpressionEditor/booleanEditorHostError.d.ts +16 -0
  825. package/src/components/aql/ExpressionEditor/booleanEditorHostError.js +20 -0
  826. package/src/components/aql/ExpressionEditor/changeFunctionMenus.d.ts +8 -0
  827. package/src/components/aql/ExpressionEditor/changeFunctionMenus.js +12 -0
  828. package/src/components/aql/ExpressionEditor/chipInsertPlaceholders.d.ts +1 -0
  829. package/src/components/aql/ExpressionEditor/chipInsertPlaceholders.js +1 -0
  830. package/src/components/aql/ExpressionEditor/diffRelativeUtils.d.ts +17 -0
  831. package/src/components/aql/ExpressionEditor/diffRelativeUtils.js +12 -0
  832. package/src/components/aql/ExpressionEditor/editorButtonsAggregatedBoolean.d.ts +7 -0
  833. package/src/components/aql/ExpressionEditor/editorButtonsAggregatedBoolean.js +37 -0
  834. package/src/components/aql/ExpressionEditor/editorButtonsObservable.d.ts +14 -0
  835. package/src/components/aql/ExpressionEditor/editorButtonsObservable.js +81 -0
  836. package/src/components/aql/ExpressionEditor/editorButtonsSearch.js +70 -0
  837. package/src/components/aql/ExpressionEditor/editorButtonsValue.d.ts +16 -0
  838. package/src/components/aql/ExpressionEditor/editorButtonsValue.js +111 -0
  839. package/src/components/aql/ExpressionEditor/editorExpressionContext.d.ts +40 -0
  840. package/src/components/aql/ExpressionEditor/editorExpressionContext.js +29 -0
  841. package/src/components/aql/ExpressionEditor/expressionExamplesKind.d.ts +12 -0
  842. package/src/components/aql/ExpressionEditor/expressionExamplesKind.js +46 -0
  843. package/src/components/aql/ExpressionEditor/expressionTypeExamples.d.ts +22 -0
  844. package/src/components/aql/ExpressionEditor/expressionTypeExamples.js +216 -0
  845. package/src/components/aql/ExpressionEditor/filterAggregatedExpressionFunctions.d.ts +15 -0
  846. package/src/components/aql/ExpressionEditor/filterAggregatedExpressionFunctions.js +50 -0
  847. package/src/components/aql/ExpressionEditor/formatAqlExpression.d.ts +9 -0
  848. package/src/components/aql/ExpressionEditor/formatAqlExpression.js +15 -0
  849. package/src/components/aql/ExpressionEditor/functionInsertText.d.ts +28 -0
  850. package/src/components/aql/ExpressionEditor/functionInsertText.js +43 -0
  851. package/src/components/aql/ExpressionEditor/index.d.ts +119 -0
  852. package/src/components/aql/ExpressionEditor/index.js +264 -0
  853. package/src/components/aql/ExpressionEditor/isExpressionEditableInQueryBuilder.d.ts +34 -0
  854. package/src/components/aql/ExpressionEditor/isExpressionEditableInQueryBuilder.js +25 -0
  855. package/src/components/aql/ExpressionEditor/resolveExpressionEditorButtons.d.ts +21 -0
  856. package/src/components/aql/ExpressionEditor/resolveExpressionEditorButtons.js +26 -0
  857. package/src/components/aql/ExpressionEditor/resolveExpressionEditors.d.ts +42 -0
  858. package/src/components/aql/ExpressionEditor/resolveExpressionEditors.js +74 -0
  859. package/src/components/aql/ExpressionEditor/useLookupItems.d.ts +14 -0
  860. package/src/components/aql/ExpressionEditor/useLookupItems.js +24 -0
  861. package/src/components/aql/ExpressionEditor/whereClauseUtils.d.ts +36 -0
  862. package/src/components/aql/ExpressionEditor/whereClauseUtils.js +33 -0
  863. package/src/components/aql/FormulaTrace/FormulaTracePopup.d.ts +9 -0
  864. package/src/components/aql/FormulaTrace/FormulaTracePopup.js +132 -0
  865. package/src/components/aql/QueryBuilder/AqlHighlightedExpression.d.ts +12 -0
  866. package/src/components/aql/QueryBuilder/AqlHighlightedExpression.js +12 -0
  867. package/src/components/aql/QueryBuilder/GroupEditor.d.ts +30 -0
  868. package/src/components/aql/QueryBuilder/GroupEditor.js +41 -0
  869. package/src/components/aql/QueryBuilder/NestedPredicateEditor.d.ts +14 -0
  870. package/src/components/aql/QueryBuilder/NestedPredicateEditor.js +15 -0
  871. package/src/components/aql/QueryBuilder/NodeEditor.d.ts +21 -0
  872. package/src/components/aql/QueryBuilder/NodeEditor.js +16 -0
  873. package/src/components/aql/QueryBuilder/NotEditor.d.ts +25 -0
  874. package/src/components/aql/QueryBuilder/NotEditor.js +16 -0
  875. package/src/components/aql/QueryBuilder/PrimitiveEditor.d.ts +23 -0
  876. package/src/components/aql/QueryBuilder/PrimitiveEditor.js +159 -0
  877. package/src/components/aql/QueryBuilder/QueryBuilder.d.ts +92 -0
  878. package/src/components/aql/QueryBuilder/QueryBuilder.js +112 -0
  879. package/src/components/aql/QueryBuilder/QueryBuilderColumnSelector.d.ts +16 -0
  880. package/src/components/aql/QueryBuilder/QueryBuilderColumnSelector.js +37 -0
  881. package/src/components/aql/QueryBuilder/QueryBuilderInputs.d.ts +102 -0
  882. package/src/components/aql/QueryBuilder/QueryBuilderInputs.js +365 -0
  883. package/src/components/aql/QueryBuilder/RowActions.d.ts +33 -0
  884. package/src/components/aql/QueryBuilder/RowActions.js +31 -0
  885. package/src/components/aql/QueryBuilder/context.d.ts +133 -0
  886. package/src/components/aql/QueryBuilder/context.js +93 -0
  887. package/src/components/aql/QueryBuilder/mapper.d.ts +11 -0
  888. package/src/components/aql/QueryBuilder/mapper.js +17 -0
  889. package/src/components/aql/QueryBuilder/qlGroupUtils.d.ts +15 -0
  890. package/src/components/aql/QueryBuilder/qlGroupUtils.js +24 -0
  891. package/src/components/aql/QueryBuilder/utils.d.ts +74 -0
  892. package/src/components/aql/QueryBuilder/utils.js +200 -0
  893. package/src/components/icons/add-circle.d.ts +3 -0
  894. package/src/components/icons/add-circle.js +3 -0
  895. package/src/components/icons/column-info.d.ts +7 -0
  896. package/src/components/icons/column-info.js +3 -0
  897. package/src/components/icons/in.d.ts +4 -0
  898. package/src/components/icons/in.js +3 -0
  899. package/src/components/icons/index.js +18 -2
  900. package/src/components/icons/link.d.ts +3 -0
  901. package/src/components/icons/link.js +3 -0
  902. package/src/components/icons/not-in.d.ts +4 -0
  903. package/src/components/icons/not-in.js +3 -0
  904. package/src/components/icons/plus-minus.d.ts +1 -0
  905. package/src/components/icons/plus-minus.js +1 -1
  906. package/src/components/icons/same-day.d.ts +8 -0
  907. package/src/components/icons/same-day.js +3 -0
  908. package/src/components/icons/shortcut.d.ts +1 -0
  909. package/src/components/icons/shortcut.js +1 -1
  910. package/src/components/icons/tool-panel-layout.d.ts +7 -0
  911. package/src/components/icons/tool-panel-layout.js +3 -0
  912. package/src/components/twUtils.d.ts +1 -10
  913. package/src/components/twUtils.js +1 -10
  914. package/src/components/ui/calendar.d.ts +1 -7
  915. package/src/components/ui/calendar.js +1 -96
  916. package/src/components/ui/dropdown-menu.d.ts +1 -29
  917. package/src/components/ui/dropdown-menu.js +1 -50
  918. package/src/components/ui/input-group.d.ts +1 -19
  919. package/src/components/ui/input-group.js +1 -57
  920. package/src/components/ui/input.d.ts +1 -3
  921. package/src/components/ui/input.js +1 -8
  922. package/src/components/ui/popover.d.ts +1 -9
  923. package/src/components/ui/popover.js +1 -22
  924. package/src/components/ui/select.d.ts +1 -27
  925. package/src/components/ui/select.js +1 -40
  926. package/src/components/ui/sidebar.d.ts +2 -0
  927. package/src/components/ui/sidebar.js +1 -0
  928. package/src/components/ui/tooltip.d.ts +1 -7
  929. package/src/components/ui/tooltip.js +1 -17
  930. package/src/env.js +2 -2
  931. package/src/layout-manager/src/normalizeLayoutModel.d.ts +1 -1
  932. package/src/layout-manager/src/simplifyLayoutModel.d.ts +1 -1
  933. package/src/lib/utils.d.ts +1 -4
  934. package/src/lib/utils.js +1 -6
  935. package/src/migration/AdaptableUpgradeHelper.d.ts +14 -1
  936. package/src/migration/AdaptableUpgradeHelper.js +15 -5
  937. package/src/migration/VersionUpgrade17.js +11 -8
  938. package/src/migration/VersionUpgrade20.js +1 -1
  939. package/src/migration/VersionUpgrade21.js +1 -1
  940. package/src/migration/VersionUpgrade22.js +4 -1
  941. package/src/migration/VersionUpgrade24.d.ts +247 -0
  942. package/src/migration/VersionUpgrade24.js +679 -0
  943. package/src/migration/entityMigration.d.ts +65 -0
  944. package/src/migration/entityMigration.js +168 -0
  945. package/src/migration/legacyAdaptableQuery.d.ts +29 -0
  946. package/src/migration/legacyAdaptableQuery.js +33 -0
  947. package/src/migration/legacyBetweenExpressionMigration.d.ts +15 -0
  948. package/src/migration/legacyBetweenExpressionMigration.js +246 -0
  949. package/src/migration/legacyPredicateLowering.d.ts +28 -0
  950. package/src/migration/legacyPredicateLowering.js +151 -0
  951. package/src/migration/migrateGreenfieldExpressionTexts.d.ts +12 -0
  952. package/src/migration/migrateGreenfieldExpressionTexts.js +195 -0
  953. package/src/migration/migrateLayoutTagsToRegistry.d.ts +15 -0
  954. package/src/migration/migrateLayoutTagsToRegistry.js +111 -0
  955. package/src/migration/predicateExpressionMigration.d.ts +77 -0
  956. package/src/migration/predicateExpressionMigration.js +201 -0
  957. package/src/migration/updateSingleToMultiplePredicates.d.ts +15 -0
  958. package/src/migration/updateSingleToMultiplePredicates.js +7 -0
  959. package/src/twMerge.d.ts +1 -1
  960. package/src/twMerge.js +1 -10
  961. package/src/types.d.ts +35 -27
  962. package/src/types.js +6 -0
  963. package/tsconfig.esm.tsbuildinfo +1 -1
  964. package/vendor/aql/api/QueryLanguageApi.d.ts +213 -0
  965. package/vendor/aql/api/QueryLanguageApi.d.ts.map +1 -0
  966. package/vendor/aql/api/QueryLanguageApi.js +481 -0
  967. package/vendor/aql/api/QueryLanguageApi.js.map +1 -0
  968. package/vendor/aql/api/index.d.ts +3 -0
  969. package/vendor/aql/api/index.d.ts.map +1 -0
  970. package/vendor/aql/api/index.js +2 -0
  971. package/vendor/aql/api/index.js.map +1 -0
  972. package/vendor/aql/contract/index.d.ts +55 -0
  973. package/vendor/aql/contract/index.d.ts.map +1 -0
  974. package/vendor/aql/contract/index.js +46 -0
  975. package/vendor/aql/contract/index.js.map +1 -0
  976. package/vendor/aql/corpus/corpusExpressions.d.ts +7 -0
  977. package/vendor/aql/corpus/corpusExpressions.d.ts.map +1 -0
  978. package/vendor/aql/corpus/corpusExpressions.js +46 -0
  979. package/vendor/aql/corpus/corpusExpressions.js.map +1 -0
  980. package/vendor/aql/corpus/corpusFixture.d.ts +24 -0
  981. package/vendor/aql/corpus/corpusFixture.d.ts.map +1 -0
  982. package/vendor/aql/corpus/corpusFixture.js +47 -0
  983. package/vendor/aql/corpus/corpusFixture.js.map +1 -0
  984. package/vendor/aql/corpus/goldenGrid.d.ts +43 -0
  985. package/vendor/aql/corpus/goldenGrid.d.ts.map +1 -0
  986. package/vendor/aql/corpus/goldenGrid.js +41 -0
  987. package/vendor/aql/corpus/goldenGrid.js.map +1 -0
  988. package/vendor/aql/draft/index.d.ts +22 -0
  989. package/vendor/aql/draft/index.d.ts.map +1 -0
  990. package/vendor/aql/draft/index.js +147 -0
  991. package/vendor/aql/draft/index.js.map +1 -0
  992. package/vendor/aql/editor-tree/index.d.ts +51 -0
  993. package/vendor/aql/editor-tree/index.d.ts.map +1 -0
  994. package/vendor/aql/editor-tree/index.js +134 -0
  995. package/vendor/aql/editor-tree/index.js.map +1 -0
  996. package/vendor/aql/evaluate.d.ts +9 -0
  997. package/vendor/aql/evaluate.d.ts.map +1 -0
  998. package/vendor/aql/evaluate.js +96 -0
  999. package/vendor/aql/evaluate.js.map +1 -0
  1000. package/vendor/aql/evaluator/ExpressionEvaluationError.d.ts +5 -0
  1001. package/vendor/aql/evaluator/ExpressionEvaluationError.d.ts.map +1 -0
  1002. package/vendor/aql/evaluator/ExpressionEvaluationError.js +13 -0
  1003. package/vendor/aql/evaluator/ExpressionEvaluationError.js.map +1 -0
  1004. package/vendor/aql/evaluator/ExpressionNaError.d.ts +9 -0
  1005. package/vendor/aql/evaluator/ExpressionNaError.d.ts.map +1 -0
  1006. package/vendor/aql/evaluator/ExpressionNaError.js +12 -0
  1007. package/vendor/aql/evaluator/ExpressionNaError.js.map +1 -0
  1008. package/vendor/aql/evaluator/evaluateNode.d.ts +3 -0
  1009. package/vendor/aql/evaluator/evaluateNode.d.ts.map +1 -0
  1010. package/vendor/aql/evaluator/evaluateNode.js +82 -0
  1011. package/vendor/aql/evaluator/evaluateNode.js.map +1 -0
  1012. package/vendor/aql/evaluator/index.d.ts +4 -0
  1013. package/vendor/aql/evaluator/index.d.ts.map +1 -0
  1014. package/vendor/aql/evaluator/index.js +4 -0
  1015. package/vendor/aql/evaluator/index.js.map +1 -0
  1016. package/vendor/aql/functions/dateUtils.d.ts +96 -0
  1017. package/vendor/aql/functions/dateUtils.d.ts.map +1 -0
  1018. package/vendor/aql/functions/dateUtils.js +217 -0
  1019. package/vendor/aql/functions/dateUtils.js.map +1 -0
  1020. package/vendor/aql/functions/index.d.ts +6 -0
  1021. package/vendor/aql/functions/index.d.ts.map +1 -0
  1022. package/vendor/aql/functions/index.js +5 -0
  1023. package/vendor/aql/functions/index.js.map +1 -0
  1024. package/vendor/aql/functions/numberUtils.d.ts +15 -0
  1025. package/vendor/aql/functions/numberUtils.d.ts.map +1 -0
  1026. package/vendor/aql/functions/numberUtils.js +52 -0
  1027. package/vendor/aql/functions/numberUtils.js.map +1 -0
  1028. package/vendor/aql/functions/operatorFunctions.d.ts +9 -0
  1029. package/vendor/aql/functions/operatorFunctions.d.ts.map +1 -0
  1030. package/vendor/aql/functions/operatorFunctions.js +49 -0
  1031. package/vendor/aql/functions/operatorFunctions.js.map +1 -0
  1032. package/vendor/aql/functions/scalar/functions/ABS.d.ts +4 -0
  1033. package/vendor/aql/functions/scalar/functions/ABS.d.ts.map +1 -0
  1034. package/vendor/aql/functions/scalar/functions/ABS.js +15 -0
  1035. package/vendor/aql/functions/scalar/functions/ABS.js.map +1 -0
  1036. package/vendor/aql/functions/scalar/functions/ABSOLUTE_CHANGE.d.ts +4 -0
  1037. package/vendor/aql/functions/scalar/functions/ABSOLUTE_CHANGE.d.ts.map +1 -0
  1038. package/vendor/aql/functions/scalar/functions/ABSOLUTE_CHANGE.js +54 -0
  1039. package/vendor/aql/functions/scalar/functions/ABSOLUTE_CHANGE.js.map +1 -0
  1040. package/vendor/aql/functions/scalar/functions/ADD_DAYS.d.ts +4 -0
  1041. package/vendor/aql/functions/scalar/functions/ADD_DAYS.d.ts.map +1 -0
  1042. package/vendor/aql/functions/scalar/functions/ADD_DAYS.js +14 -0
  1043. package/vendor/aql/functions/scalar/functions/ADD_DAYS.js.map +1 -0
  1044. package/vendor/aql/functions/scalar/functions/ADD_MONTHS.d.ts +4 -0
  1045. package/vendor/aql/functions/scalar/functions/ADD_MONTHS.d.ts.map +1 -0
  1046. package/vendor/aql/functions/scalar/functions/ADD_MONTHS.js +14 -0
  1047. package/vendor/aql/functions/scalar/functions/ADD_MONTHS.js.map +1 -0
  1048. package/vendor/aql/functions/scalar/functions/ADD_WEEKS.d.ts +4 -0
  1049. package/vendor/aql/functions/scalar/functions/ADD_WEEKS.d.ts.map +1 -0
  1050. package/vendor/aql/functions/scalar/functions/ADD_WEEKS.js +14 -0
  1051. package/vendor/aql/functions/scalar/functions/ADD_WEEKS.js.map +1 -0
  1052. package/vendor/aql/functions/scalar/functions/ADD_YEARS.d.ts +4 -0
  1053. package/vendor/aql/functions/scalar/functions/ADD_YEARS.d.ts.map +1 -0
  1054. package/vendor/aql/functions/scalar/functions/ADD_YEARS.js +14 -0
  1055. package/vendor/aql/functions/scalar/functions/ADD_YEARS.js.map +1 -0
  1056. package/vendor/aql/functions/scalar/functions/AND.d.ts +9 -0
  1057. package/vendor/aql/functions/scalar/functions/AND.d.ts.map +1 -0
  1058. package/vendor/aql/functions/scalar/functions/AND.js +25 -0
  1059. package/vendor/aql/functions/scalar/functions/AND.js.map +1 -0
  1060. package/vendor/aql/functions/scalar/functions/ANY_CHANGE.d.ts +4 -0
  1061. package/vendor/aql/functions/scalar/functions/ANY_CHANGE.d.ts.map +1 -0
  1062. package/vendor/aql/functions/scalar/functions/ANY_CHANGE.js +37 -0
  1063. package/vendor/aql/functions/scalar/functions/ANY_CHANGE.js.map +1 -0
  1064. package/vendor/aql/functions/scalar/functions/ANY_CONTAINS.d.ts +4 -0
  1065. package/vendor/aql/functions/scalar/functions/ANY_CONTAINS.d.ts.map +1 -0
  1066. package/vendor/aql/functions/scalar/functions/ANY_CONTAINS.js +29 -0
  1067. package/vendor/aql/functions/scalar/functions/ANY_CONTAINS.js.map +1 -0
  1068. package/vendor/aql/functions/scalar/functions/AVG.d.ts +4 -0
  1069. package/vendor/aql/functions/scalar/functions/AVG.d.ts.map +1 -0
  1070. package/vendor/aql/functions/scalar/functions/AVG.js +19 -0
  1071. package/vendor/aql/functions/scalar/functions/AVG.js.map +1 -0
  1072. package/vendor/aql/functions/scalar/functions/CASE.d.ts +4 -0
  1073. package/vendor/aql/functions/scalar/functions/CASE.d.ts.map +1 -0
  1074. package/vendor/aql/functions/scalar/functions/CASE.js +35 -0
  1075. package/vendor/aql/functions/scalar/functions/CASE.js.map +1 -0
  1076. package/vendor/aql/functions/scalar/functions/CEILING.d.ts +4 -0
  1077. package/vendor/aql/functions/scalar/functions/CEILING.d.ts.map +1 -0
  1078. package/vendor/aql/functions/scalar/functions/CEILING.js +15 -0
  1079. package/vendor/aql/functions/scalar/functions/CEILING.js.map +1 -0
  1080. package/vendor/aql/functions/scalar/functions/COALESCE.d.ts +4 -0
  1081. package/vendor/aql/functions/scalar/functions/COALESCE.d.ts.map +1 -0
  1082. package/vendor/aql/functions/scalar/functions/COALESCE.js +12 -0
  1083. package/vendor/aql/functions/scalar/functions/COALESCE.js.map +1 -0
  1084. package/vendor/aql/functions/scalar/functions/COL.d.ts +4 -0
  1085. package/vendor/aql/functions/scalar/functions/COL.d.ts.map +1 -0
  1086. package/vendor/aql/functions/scalar/functions/COL.js +15 -0
  1087. package/vendor/aql/functions/scalar/functions/COL.js.map +1 -0
  1088. package/vendor/aql/functions/scalar/functions/CONCAT.d.ts +4 -0
  1089. package/vendor/aql/functions/scalar/functions/CONCAT.d.ts.map +1 -0
  1090. package/vendor/aql/functions/scalar/functions/CONCAT.js +14 -0
  1091. package/vendor/aql/functions/scalar/functions/CONCAT.js.map +1 -0
  1092. package/vendor/aql/functions/scalar/functions/CONTAINS.d.ts +4 -0
  1093. package/vendor/aql/functions/scalar/functions/CONTAINS.d.ts.map +1 -0
  1094. package/vendor/aql/functions/scalar/functions/CONTAINS.js +21 -0
  1095. package/vendor/aql/functions/scalar/functions/CONTAINS.js.map +1 -0
  1096. package/vendor/aql/functions/scalar/functions/CURRENT_DAY.d.ts +4 -0
  1097. package/vendor/aql/functions/scalar/functions/CURRENT_DAY.d.ts.map +1 -0
  1098. package/vendor/aql/functions/scalar/functions/CURRENT_DAY.js +16 -0
  1099. package/vendor/aql/functions/scalar/functions/CURRENT_DAY.js.map +1 -0
  1100. package/vendor/aql/functions/scalar/functions/DATE.d.ts +4 -0
  1101. package/vendor/aql/functions/scalar/functions/DATE.d.ts.map +1 -0
  1102. package/vendor/aql/functions/scalar/functions/DATE.js +56 -0
  1103. package/vendor/aql/functions/scalar/functions/DATE.js.map +1 -0
  1104. package/vendor/aql/functions/scalar/functions/DAY.d.ts +4 -0
  1105. package/vendor/aql/functions/scalar/functions/DAY.d.ts.map +1 -0
  1106. package/vendor/aql/functions/scalar/functions/DAY.js +14 -0
  1107. package/vendor/aql/functions/scalar/functions/DAY.js.map +1 -0
  1108. package/vendor/aql/functions/scalar/functions/DIFF_DAYS.d.ts +4 -0
  1109. package/vendor/aql/functions/scalar/functions/DIFF_DAYS.d.ts.map +1 -0
  1110. package/vendor/aql/functions/scalar/functions/DIFF_DAYS.js +18 -0
  1111. package/vendor/aql/functions/scalar/functions/DIFF_DAYS.js.map +1 -0
  1112. package/vendor/aql/functions/scalar/functions/DIFF_MONTHS.d.ts +4 -0
  1113. package/vendor/aql/functions/scalar/functions/DIFF_MONTHS.d.ts.map +1 -0
  1114. package/vendor/aql/functions/scalar/functions/DIFF_MONTHS.js +18 -0
  1115. package/vendor/aql/functions/scalar/functions/DIFF_MONTHS.js.map +1 -0
  1116. package/vendor/aql/functions/scalar/functions/DIFF_WEEKS.d.ts +4 -0
  1117. package/vendor/aql/functions/scalar/functions/DIFF_WEEKS.d.ts.map +1 -0
  1118. package/vendor/aql/functions/scalar/functions/DIFF_WEEKS.js +18 -0
  1119. package/vendor/aql/functions/scalar/functions/DIFF_WEEKS.js.map +1 -0
  1120. package/vendor/aql/functions/scalar/functions/DIFF_YEARS.d.ts +4 -0
  1121. package/vendor/aql/functions/scalar/functions/DIFF_YEARS.d.ts.map +1 -0
  1122. package/vendor/aql/functions/scalar/functions/DIFF_YEARS.js +18 -0
  1123. package/vendor/aql/functions/scalar/functions/DIFF_YEARS.js.map +1 -0
  1124. package/vendor/aql/functions/scalar/functions/DIV.d.ts +4 -0
  1125. package/vendor/aql/functions/scalar/functions/DIV.d.ts.map +1 -0
  1126. package/vendor/aql/functions/scalar/functions/DIV.js +23 -0
  1127. package/vendor/aql/functions/scalar/functions/DIV.js.map +1 -0
  1128. package/vendor/aql/functions/scalar/functions/EDATE.d.ts +4 -0
  1129. package/vendor/aql/functions/scalar/functions/EDATE.d.ts.map +1 -0
  1130. package/vendor/aql/functions/scalar/functions/EDATE.js +23 -0
  1131. package/vendor/aql/functions/scalar/functions/EDATE.js.map +1 -0
  1132. package/vendor/aql/functions/scalar/functions/ENDS_WITH.d.ts +4 -0
  1133. package/vendor/aql/functions/scalar/functions/ENDS_WITH.d.ts.map +1 -0
  1134. package/vendor/aql/functions/scalar/functions/ENDS_WITH.js +19 -0
  1135. package/vendor/aql/functions/scalar/functions/ENDS_WITH.js.map +1 -0
  1136. package/vendor/aql/functions/scalar/functions/END_OF_MONTH.d.ts +4 -0
  1137. package/vendor/aql/functions/scalar/functions/END_OF_MONTH.d.ts.map +1 -0
  1138. package/vendor/aql/functions/scalar/functions/END_OF_MONTH.js +14 -0
  1139. package/vendor/aql/functions/scalar/functions/END_OF_MONTH.js.map +1 -0
  1140. package/vendor/aql/functions/scalar/functions/EOMONTH.d.ts +4 -0
  1141. package/vendor/aql/functions/scalar/functions/EOMONTH.d.ts.map +1 -0
  1142. package/vendor/aql/functions/scalar/functions/EOMONTH.js +23 -0
  1143. package/vendor/aql/functions/scalar/functions/EOMONTH.js.map +1 -0
  1144. package/vendor/aql/functions/scalar/functions/EQ.d.ts +4 -0
  1145. package/vendor/aql/functions/scalar/functions/EQ.d.ts.map +1 -0
  1146. package/vendor/aql/functions/scalar/functions/EQ.js +43 -0
  1147. package/vendor/aql/functions/scalar/functions/EQ.js.map +1 -0
  1148. package/vendor/aql/functions/scalar/functions/FALSE.d.ts +4 -0
  1149. package/vendor/aql/functions/scalar/functions/FALSE.d.ts.map +1 -0
  1150. package/vendor/aql/functions/scalar/functions/FALSE.js +11 -0
  1151. package/vendor/aql/functions/scalar/functions/FALSE.js.map +1 -0
  1152. package/vendor/aql/functions/scalar/functions/FIELD.d.ts +2 -0
  1153. package/vendor/aql/functions/scalar/functions/FIELD.d.ts.map +1 -0
  1154. package/vendor/aql/functions/scalar/functions/FIELD.js +2 -0
  1155. package/vendor/aql/functions/scalar/functions/FIELD.js.map +1 -0
  1156. package/vendor/aql/functions/scalar/functions/FLOOR.d.ts +4 -0
  1157. package/vendor/aql/functions/scalar/functions/FLOOR.d.ts.map +1 -0
  1158. package/vendor/aql/functions/scalar/functions/FLOOR.js +15 -0
  1159. package/vendor/aql/functions/scalar/functions/FLOOR.js.map +1 -0
  1160. package/vendor/aql/functions/scalar/functions/GT.d.ts +4 -0
  1161. package/vendor/aql/functions/scalar/functions/GT.d.ts.map +1 -0
  1162. package/vendor/aql/functions/scalar/functions/GT.js +41 -0
  1163. package/vendor/aql/functions/scalar/functions/GT.js.map +1 -0
  1164. package/vendor/aql/functions/scalar/functions/GTE.d.ts +4 -0
  1165. package/vendor/aql/functions/scalar/functions/GTE.d.ts.map +1 -0
  1166. package/vendor/aql/functions/scalar/functions/GTE.js +41 -0
  1167. package/vendor/aql/functions/scalar/functions/GTE.js.map +1 -0
  1168. package/vendor/aql/functions/scalar/functions/IF.d.ts +9 -0
  1169. package/vendor/aql/functions/scalar/functions/IF.d.ts.map +1 -0
  1170. package/vendor/aql/functions/scalar/functions/IF.js +28 -0
  1171. package/vendor/aql/functions/scalar/functions/IF.js.map +1 -0
  1172. package/vendor/aql/functions/scalar/functions/IFERROR.d.ts +8 -0
  1173. package/vendor/aql/functions/scalar/functions/IFERROR.d.ts.map +1 -0
  1174. package/vendor/aql/functions/scalar/functions/IFERROR.js +28 -0
  1175. package/vendor/aql/functions/scalar/functions/IFERROR.js.map +1 -0
  1176. package/vendor/aql/functions/scalar/functions/IFNA.d.ts +9 -0
  1177. package/vendor/aql/functions/scalar/functions/IFNA.d.ts.map +1 -0
  1178. package/vendor/aql/functions/scalar/functions/IFNA.js +29 -0
  1179. package/vendor/aql/functions/scalar/functions/IFNA.js.map +1 -0
  1180. package/vendor/aql/functions/scalar/functions/IN.d.ts +4 -0
  1181. package/vendor/aql/functions/scalar/functions/IN.d.ts.map +1 -0
  1182. package/vendor/aql/functions/scalar/functions/IN.js +69 -0
  1183. package/vendor/aql/functions/scalar/functions/IN.js.map +1 -0
  1184. package/vendor/aql/functions/scalar/functions/IS_AFTER_TODAY.d.ts +4 -0
  1185. package/vendor/aql/functions/scalar/functions/IS_AFTER_TODAY.d.ts.map +1 -0
  1186. package/vendor/aql/functions/scalar/functions/IS_AFTER_TODAY.js +16 -0
  1187. package/vendor/aql/functions/scalar/functions/IS_AFTER_TODAY.js.map +1 -0
  1188. package/vendor/aql/functions/scalar/functions/IS_BEFORE_TODAY.d.ts +4 -0
  1189. package/vendor/aql/functions/scalar/functions/IS_BEFORE_TODAY.d.ts.map +1 -0
  1190. package/vendor/aql/functions/scalar/functions/IS_BEFORE_TODAY.js +16 -0
  1191. package/vendor/aql/functions/scalar/functions/IS_BEFORE_TODAY.js.map +1 -0
  1192. package/vendor/aql/functions/scalar/functions/IS_BLANK.d.ts +4 -0
  1193. package/vendor/aql/functions/scalar/functions/IS_BLANK.d.ts.map +1 -0
  1194. package/vendor/aql/functions/scalar/functions/IS_BLANK.js +18 -0
  1195. package/vendor/aql/functions/scalar/functions/IS_BLANK.js.map +1 -0
  1196. package/vendor/aql/functions/scalar/functions/IS_DIFFERENT_DAY.d.ts +4 -0
  1197. package/vendor/aql/functions/scalar/functions/IS_DIFFERENT_DAY.d.ts.map +1 -0
  1198. package/vendor/aql/functions/scalar/functions/IS_DIFFERENT_DAY.js +19 -0
  1199. package/vendor/aql/functions/scalar/functions/IS_DIFFERENT_DAY.js.map +1 -0
  1200. package/vendor/aql/functions/scalar/functions/IS_FUTURE.d.ts +4 -0
  1201. package/vendor/aql/functions/scalar/functions/IS_FUTURE.d.ts.map +1 -0
  1202. package/vendor/aql/functions/scalar/functions/IS_FUTURE.js +16 -0
  1203. package/vendor/aql/functions/scalar/functions/IS_FUTURE.js.map +1 -0
  1204. package/vendor/aql/functions/scalar/functions/IS_HOLIDAY.d.ts +4 -0
  1205. package/vendor/aql/functions/scalar/functions/IS_HOLIDAY.d.ts.map +1 -0
  1206. package/vendor/aql/functions/scalar/functions/IS_HOLIDAY.js +16 -0
  1207. package/vendor/aql/functions/scalar/functions/IS_HOLIDAY.js.map +1 -0
  1208. package/vendor/aql/functions/scalar/functions/IS_NEGATIVE.d.ts +4 -0
  1209. package/vendor/aql/functions/scalar/functions/IS_NEGATIVE.d.ts.map +1 -0
  1210. package/vendor/aql/functions/scalar/functions/IS_NEGATIVE.js +14 -0
  1211. package/vendor/aql/functions/scalar/functions/IS_NEGATIVE.js.map +1 -0
  1212. package/vendor/aql/functions/scalar/functions/IS_NEXT_WORKDAY.d.ts +4 -0
  1213. package/vendor/aql/functions/scalar/functions/IS_NEXT_WORKDAY.d.ts.map +1 -0
  1214. package/vendor/aql/functions/scalar/functions/IS_NEXT_WORKDAY.js +17 -0
  1215. package/vendor/aql/functions/scalar/functions/IS_NEXT_WORKDAY.js.map +1 -0
  1216. package/vendor/aql/functions/scalar/functions/IS_NOT_BLANK.d.ts +4 -0
  1217. package/vendor/aql/functions/scalar/functions/IS_NOT_BLANK.d.ts.map +1 -0
  1218. package/vendor/aql/functions/scalar/functions/IS_NOT_BLANK.js +18 -0
  1219. package/vendor/aql/functions/scalar/functions/IS_NOT_BLANK.js.map +1 -0
  1220. package/vendor/aql/functions/scalar/functions/IS_NUMERIC.d.ts +4 -0
  1221. package/vendor/aql/functions/scalar/functions/IS_NUMERIC.d.ts.map +1 -0
  1222. package/vendor/aql/functions/scalar/functions/IS_NUMERIC.js +13 -0
  1223. package/vendor/aql/functions/scalar/functions/IS_NUMERIC.js.map +1 -0
  1224. package/vendor/aql/functions/scalar/functions/IS_PAST.d.ts +4 -0
  1225. package/vendor/aql/functions/scalar/functions/IS_PAST.d.ts.map +1 -0
  1226. package/vendor/aql/functions/scalar/functions/IS_PAST.js +16 -0
  1227. package/vendor/aql/functions/scalar/functions/IS_PAST.js.map +1 -0
  1228. package/vendor/aql/functions/scalar/functions/IS_POSITIVE.d.ts +4 -0
  1229. package/vendor/aql/functions/scalar/functions/IS_POSITIVE.d.ts.map +1 -0
  1230. package/vendor/aql/functions/scalar/functions/IS_POSITIVE.js +14 -0
  1231. package/vendor/aql/functions/scalar/functions/IS_POSITIVE.js.map +1 -0
  1232. package/vendor/aql/functions/scalar/functions/IS_PREV_WORKDAY.d.ts +4 -0
  1233. package/vendor/aql/functions/scalar/functions/IS_PREV_WORKDAY.d.ts.map +1 -0
  1234. package/vendor/aql/functions/scalar/functions/IS_PREV_WORKDAY.js +17 -0
  1235. package/vendor/aql/functions/scalar/functions/IS_PREV_WORKDAY.js.map +1 -0
  1236. package/vendor/aql/functions/scalar/functions/IS_SAME_DAY.d.ts +4 -0
  1237. package/vendor/aql/functions/scalar/functions/IS_SAME_DAY.d.ts.map +1 -0
  1238. package/vendor/aql/functions/scalar/functions/IS_SAME_DAY.js +15 -0
  1239. package/vendor/aql/functions/scalar/functions/IS_SAME_DAY.js.map +1 -0
  1240. package/vendor/aql/functions/scalar/functions/IS_THIS_MONTH.d.ts +4 -0
  1241. package/vendor/aql/functions/scalar/functions/IS_THIS_MONTH.d.ts.map +1 -0
  1242. package/vendor/aql/functions/scalar/functions/IS_THIS_MONTH.js +17 -0
  1243. package/vendor/aql/functions/scalar/functions/IS_THIS_MONTH.js.map +1 -0
  1244. package/vendor/aql/functions/scalar/functions/IS_THIS_QUARTER.d.ts +4 -0
  1245. package/vendor/aql/functions/scalar/functions/IS_THIS_QUARTER.d.ts.map +1 -0
  1246. package/vendor/aql/functions/scalar/functions/IS_THIS_QUARTER.js +15 -0
  1247. package/vendor/aql/functions/scalar/functions/IS_THIS_QUARTER.js.map +1 -0
  1248. package/vendor/aql/functions/scalar/functions/IS_THIS_WEEK.d.ts +4 -0
  1249. package/vendor/aql/functions/scalar/functions/IS_THIS_WEEK.d.ts.map +1 -0
  1250. package/vendor/aql/functions/scalar/functions/IS_THIS_WEEK.js +17 -0
  1251. package/vendor/aql/functions/scalar/functions/IS_THIS_WEEK.js.map +1 -0
  1252. package/vendor/aql/functions/scalar/functions/IS_THIS_YEAR.d.ts +4 -0
  1253. package/vendor/aql/functions/scalar/functions/IS_THIS_YEAR.d.ts.map +1 -0
  1254. package/vendor/aql/functions/scalar/functions/IS_THIS_YEAR.js +17 -0
  1255. package/vendor/aql/functions/scalar/functions/IS_THIS_YEAR.js.map +1 -0
  1256. package/vendor/aql/functions/scalar/functions/IS_TODAY.d.ts +4 -0
  1257. package/vendor/aql/functions/scalar/functions/IS_TODAY.d.ts.map +1 -0
  1258. package/vendor/aql/functions/scalar/functions/IS_TODAY.js +17 -0
  1259. package/vendor/aql/functions/scalar/functions/IS_TODAY.js.map +1 -0
  1260. package/vendor/aql/functions/scalar/functions/IS_TOMORROW.d.ts +4 -0
  1261. package/vendor/aql/functions/scalar/functions/IS_TOMORROW.d.ts.map +1 -0
  1262. package/vendor/aql/functions/scalar/functions/IS_TOMORROW.js +17 -0
  1263. package/vendor/aql/functions/scalar/functions/IS_TOMORROW.js.map +1 -0
  1264. package/vendor/aql/functions/scalar/functions/IS_WORKDAY.d.ts +4 -0
  1265. package/vendor/aql/functions/scalar/functions/IS_WORKDAY.d.ts.map +1 -0
  1266. package/vendor/aql/functions/scalar/functions/IS_WORKDAY.js +16 -0
  1267. package/vendor/aql/functions/scalar/functions/IS_WORKDAY.js.map +1 -0
  1268. package/vendor/aql/functions/scalar/functions/IS_YESTERDAY.d.ts +4 -0
  1269. package/vendor/aql/functions/scalar/functions/IS_YESTERDAY.d.ts.map +1 -0
  1270. package/vendor/aql/functions/scalar/functions/IS_YESTERDAY.js +17 -0
  1271. package/vendor/aql/functions/scalar/functions/IS_YESTERDAY.js.map +1 -0
  1272. package/vendor/aql/functions/scalar/functions/LEFT.d.ts +4 -0
  1273. package/vendor/aql/functions/scalar/functions/LEFT.d.ts.map +1 -0
  1274. package/vendor/aql/functions/scalar/functions/LEFT.js +14 -0
  1275. package/vendor/aql/functions/scalar/functions/LEFT.js.map +1 -0
  1276. package/vendor/aql/functions/scalar/functions/LEN.d.ts +4 -0
  1277. package/vendor/aql/functions/scalar/functions/LEN.d.ts.map +1 -0
  1278. package/vendor/aql/functions/scalar/functions/LEN.js +13 -0
  1279. package/vendor/aql/functions/scalar/functions/LEN.js.map +1 -0
  1280. package/vendor/aql/functions/scalar/functions/LOWER.d.ts +4 -0
  1281. package/vendor/aql/functions/scalar/functions/LOWER.d.ts.map +1 -0
  1282. package/vendor/aql/functions/scalar/functions/LOWER.js +13 -0
  1283. package/vendor/aql/functions/scalar/functions/LOWER.js.map +1 -0
  1284. package/vendor/aql/functions/scalar/functions/LT.d.ts +4 -0
  1285. package/vendor/aql/functions/scalar/functions/LT.d.ts.map +1 -0
  1286. package/vendor/aql/functions/scalar/functions/LT.js +41 -0
  1287. package/vendor/aql/functions/scalar/functions/LT.js.map +1 -0
  1288. package/vendor/aql/functions/scalar/functions/LTE.d.ts +4 -0
  1289. package/vendor/aql/functions/scalar/functions/LTE.d.ts.map +1 -0
  1290. package/vendor/aql/functions/scalar/functions/LTE.js +41 -0
  1291. package/vendor/aql/functions/scalar/functions/LTE.js.map +1 -0
  1292. package/vendor/aql/functions/scalar/functions/MAX.d.ts +4 -0
  1293. package/vendor/aql/functions/scalar/functions/MAX.d.ts.map +1 -0
  1294. package/vendor/aql/functions/scalar/functions/MAX.js +14 -0
  1295. package/vendor/aql/functions/scalar/functions/MAX.js.map +1 -0
  1296. package/vendor/aql/functions/scalar/functions/MID.d.ts +4 -0
  1297. package/vendor/aql/functions/scalar/functions/MID.d.ts.map +1 -0
  1298. package/vendor/aql/functions/scalar/functions/MID.js +14 -0
  1299. package/vendor/aql/functions/scalar/functions/MID.js.map +1 -0
  1300. package/vendor/aql/functions/scalar/functions/MIN.d.ts +4 -0
  1301. package/vendor/aql/functions/scalar/functions/MIN.d.ts.map +1 -0
  1302. package/vendor/aql/functions/scalar/functions/MIN.js +14 -0
  1303. package/vendor/aql/functions/scalar/functions/MIN.js.map +1 -0
  1304. package/vendor/aql/functions/scalar/functions/MOD.d.ts +4 -0
  1305. package/vendor/aql/functions/scalar/functions/MOD.d.ts.map +1 -0
  1306. package/vendor/aql/functions/scalar/functions/MOD.js +19 -0
  1307. package/vendor/aql/functions/scalar/functions/MOD.js.map +1 -0
  1308. package/vendor/aql/functions/scalar/functions/MONTH.d.ts +4 -0
  1309. package/vendor/aql/functions/scalar/functions/MONTH.d.ts.map +1 -0
  1310. package/vendor/aql/functions/scalar/functions/MONTH.js +14 -0
  1311. package/vendor/aql/functions/scalar/functions/MONTH.js.map +1 -0
  1312. package/vendor/aql/functions/scalar/functions/NA.d.ts +7 -0
  1313. package/vendor/aql/functions/scalar/functions/NA.d.ts.map +1 -0
  1314. package/vendor/aql/functions/scalar/functions/NA.js +17 -0
  1315. package/vendor/aql/functions/scalar/functions/NA.js.map +1 -0
  1316. package/vendor/aql/functions/scalar/functions/NEQ.d.ts +4 -0
  1317. package/vendor/aql/functions/scalar/functions/NEQ.d.ts.map +1 -0
  1318. package/vendor/aql/functions/scalar/functions/NEQ.js +37 -0
  1319. package/vendor/aql/functions/scalar/functions/NEQ.js.map +1 -0
  1320. package/vendor/aql/functions/scalar/functions/NETWORKDAYS.d.ts +4 -0
  1321. package/vendor/aql/functions/scalar/functions/NETWORKDAYS.d.ts.map +1 -0
  1322. package/vendor/aql/functions/scalar/functions/NETWORKDAYS.js +22 -0
  1323. package/vendor/aql/functions/scalar/functions/NETWORKDAYS.js.map +1 -0
  1324. package/vendor/aql/functions/scalar/functions/NOT.d.ts +4 -0
  1325. package/vendor/aql/functions/scalar/functions/NOT.d.ts.map +1 -0
  1326. package/vendor/aql/functions/scalar/functions/NOT.js +13 -0
  1327. package/vendor/aql/functions/scalar/functions/NOT.js.map +1 -0
  1328. package/vendor/aql/functions/scalar/functions/NOT_CONTAINS.d.ts +4 -0
  1329. package/vendor/aql/functions/scalar/functions/NOT_CONTAINS.d.ts.map +1 -0
  1330. package/vendor/aql/functions/scalar/functions/NOT_CONTAINS.js +19 -0
  1331. package/vendor/aql/functions/scalar/functions/NOT_CONTAINS.js.map +1 -0
  1332. package/vendor/aql/functions/scalar/functions/NOT_IN.d.ts +4 -0
  1333. package/vendor/aql/functions/scalar/functions/NOT_IN.d.ts.map +1 -0
  1334. package/vendor/aql/functions/scalar/functions/NOT_IN.js +29 -0
  1335. package/vendor/aql/functions/scalar/functions/NOT_IN.js.map +1 -0
  1336. package/vendor/aql/functions/scalar/functions/NOW.d.ts +4 -0
  1337. package/vendor/aql/functions/scalar/functions/NOW.d.ts.map +1 -0
  1338. package/vendor/aql/functions/scalar/functions/NOW.js +15 -0
  1339. package/vendor/aql/functions/scalar/functions/NOW.js.map +1 -0
  1340. package/vendor/aql/functions/scalar/functions/NULL.d.ts +4 -0
  1341. package/vendor/aql/functions/scalar/functions/NULL.d.ts.map +1 -0
  1342. package/vendor/aql/functions/scalar/functions/NULL.js +13 -0
  1343. package/vendor/aql/functions/scalar/functions/NULL.js.map +1 -0
  1344. package/vendor/aql/functions/scalar/functions/OR.d.ts +8 -0
  1345. package/vendor/aql/functions/scalar/functions/OR.d.ts.map +1 -0
  1346. package/vendor/aql/functions/scalar/functions/OR.js +24 -0
  1347. package/vendor/aql/functions/scalar/functions/OR.js.map +1 -0
  1348. package/vendor/aql/functions/scalar/functions/PERCENT_CHANGE.d.ts +4 -0
  1349. package/vendor/aql/functions/scalar/functions/PERCENT_CHANGE.d.ts.map +1 -0
  1350. package/vendor/aql/functions/scalar/functions/PERCENT_CHANGE.js +54 -0
  1351. package/vendor/aql/functions/scalar/functions/PERCENT_CHANGE.js.map +1 -0
  1352. package/vendor/aql/functions/scalar/functions/POW.d.ts +4 -0
  1353. package/vendor/aql/functions/scalar/functions/POW.d.ts.map +1 -0
  1354. package/vendor/aql/functions/scalar/functions/POW.js +14 -0
  1355. package/vendor/aql/functions/scalar/functions/POW.js.map +1 -0
  1356. package/vendor/aql/functions/scalar/functions/PRODUCT.d.ts +8 -0
  1357. package/vendor/aql/functions/scalar/functions/PRODUCT.d.ts.map +1 -0
  1358. package/vendor/aql/functions/scalar/functions/PRODUCT.js +27 -0
  1359. package/vendor/aql/functions/scalar/functions/PRODUCT.js.map +1 -0
  1360. package/vendor/aql/functions/scalar/functions/QUARTER.d.ts +4 -0
  1361. package/vendor/aql/functions/scalar/functions/QUARTER.d.ts.map +1 -0
  1362. package/vendor/aql/functions/scalar/functions/QUARTER.js +14 -0
  1363. package/vendor/aql/functions/scalar/functions/QUARTER.js.map +1 -0
  1364. package/vendor/aql/functions/scalar/functions/QUERY.d.ts +4 -0
  1365. package/vendor/aql/functions/scalar/functions/QUERY.d.ts.map +1 -0
  1366. package/vendor/aql/functions/scalar/functions/QUERY.js +39 -0
  1367. package/vendor/aql/functions/scalar/functions/QUERY.js.map +1 -0
  1368. package/vendor/aql/functions/scalar/functions/REGEX.d.ts +4 -0
  1369. package/vendor/aql/functions/scalar/functions/REGEX.d.ts.map +1 -0
  1370. package/vendor/aql/functions/scalar/functions/REGEX.js +16 -0
  1371. package/vendor/aql/functions/scalar/functions/REGEX.js.map +1 -0
  1372. package/vendor/aql/functions/scalar/functions/REPLACE.d.ts +4 -0
  1373. package/vendor/aql/functions/scalar/functions/REPLACE.d.ts.map +1 -0
  1374. package/vendor/aql/functions/scalar/functions/REPLACE.js +15 -0
  1375. package/vendor/aql/functions/scalar/functions/REPLACE.js.map +1 -0
  1376. package/vendor/aql/functions/scalar/functions/RIGHT.d.ts +4 -0
  1377. package/vendor/aql/functions/scalar/functions/RIGHT.d.ts.map +1 -0
  1378. package/vendor/aql/functions/scalar/functions/RIGHT.js +14 -0
  1379. package/vendor/aql/functions/scalar/functions/RIGHT.js.map +1 -0
  1380. package/vendor/aql/functions/scalar/functions/ROUND.d.ts +4 -0
  1381. package/vendor/aql/functions/scalar/functions/ROUND.d.ts.map +1 -0
  1382. package/vendor/aql/functions/scalar/functions/ROUND.js +16 -0
  1383. package/vendor/aql/functions/scalar/functions/ROUND.js.map +1 -0
  1384. package/vendor/aql/functions/scalar/functions/SCOPE.d.ts +4 -0
  1385. package/vendor/aql/functions/scalar/functions/SCOPE.d.ts.map +1 -0
  1386. package/vendor/aql/functions/scalar/functions/SCOPE.js +23 -0
  1387. package/vendor/aql/functions/scalar/functions/SCOPE.js.map +1 -0
  1388. package/vendor/aql/functions/scalar/functions/SIGN.d.ts +4 -0
  1389. package/vendor/aql/functions/scalar/functions/SIGN.d.ts.map +1 -0
  1390. package/vendor/aql/functions/scalar/functions/SIGN.js +16 -0
  1391. package/vendor/aql/functions/scalar/functions/SIGN.js.map +1 -0
  1392. package/vendor/aql/functions/scalar/functions/SQRT.d.ts +4 -0
  1393. package/vendor/aql/functions/scalar/functions/SQRT.d.ts.map +1 -0
  1394. package/vendor/aql/functions/scalar/functions/SQRT.js +16 -0
  1395. package/vendor/aql/functions/scalar/functions/SQRT.js.map +1 -0
  1396. package/vendor/aql/functions/scalar/functions/STARTS_WITH.d.ts +4 -0
  1397. package/vendor/aql/functions/scalar/functions/STARTS_WITH.d.ts.map +1 -0
  1398. package/vendor/aql/functions/scalar/functions/STARTS_WITH.js +19 -0
  1399. package/vendor/aql/functions/scalar/functions/STARTS_WITH.js.map +1 -0
  1400. package/vendor/aql/functions/scalar/functions/START_OF_DAY.d.ts +4 -0
  1401. package/vendor/aql/functions/scalar/functions/START_OF_DAY.d.ts.map +1 -0
  1402. package/vendor/aql/functions/scalar/functions/START_OF_DAY.js +14 -0
  1403. package/vendor/aql/functions/scalar/functions/START_OF_DAY.js.map +1 -0
  1404. package/vendor/aql/functions/scalar/functions/START_OF_MONTH.d.ts +4 -0
  1405. package/vendor/aql/functions/scalar/functions/START_OF_MONTH.d.ts.map +1 -0
  1406. package/vendor/aql/functions/scalar/functions/START_OF_MONTH.js +14 -0
  1407. package/vendor/aql/functions/scalar/functions/START_OF_MONTH.js.map +1 -0
  1408. package/vendor/aql/functions/scalar/functions/START_OF_QUARTER.d.ts +4 -0
  1409. package/vendor/aql/functions/scalar/functions/START_OF_QUARTER.d.ts.map +1 -0
  1410. package/vendor/aql/functions/scalar/functions/START_OF_QUARTER.js +17 -0
  1411. package/vendor/aql/functions/scalar/functions/START_OF_QUARTER.js.map +1 -0
  1412. package/vendor/aql/functions/scalar/functions/START_OF_WEEK.d.ts +4 -0
  1413. package/vendor/aql/functions/scalar/functions/START_OF_WEEK.d.ts.map +1 -0
  1414. package/vendor/aql/functions/scalar/functions/START_OF_WEEK.js +15 -0
  1415. package/vendor/aql/functions/scalar/functions/START_OF_WEEK.js.map +1 -0
  1416. package/vendor/aql/functions/scalar/functions/START_OF_YEAR.d.ts +4 -0
  1417. package/vendor/aql/functions/scalar/functions/START_OF_YEAR.d.ts.map +1 -0
  1418. package/vendor/aql/functions/scalar/functions/START_OF_YEAR.js +14 -0
  1419. package/vendor/aql/functions/scalar/functions/START_OF_YEAR.js.map +1 -0
  1420. package/vendor/aql/functions/scalar/functions/SUB.d.ts +4 -0
  1421. package/vendor/aql/functions/scalar/functions/SUB.d.ts.map +1 -0
  1422. package/vendor/aql/functions/scalar/functions/SUB.js +19 -0
  1423. package/vendor/aql/functions/scalar/functions/SUB.js.map +1 -0
  1424. package/vendor/aql/functions/scalar/functions/SUB_STRING.d.ts +4 -0
  1425. package/vendor/aql/functions/scalar/functions/SUB_STRING.d.ts.map +1 -0
  1426. package/vendor/aql/functions/scalar/functions/SUB_STRING.js +13 -0
  1427. package/vendor/aql/functions/scalar/functions/SUB_STRING.js.map +1 -0
  1428. package/vendor/aql/functions/scalar/functions/SUM.d.ts +8 -0
  1429. package/vendor/aql/functions/scalar/functions/SUM.d.ts.map +1 -0
  1430. package/vendor/aql/functions/scalar/functions/SUM.js +23 -0
  1431. package/vendor/aql/functions/scalar/functions/SUM.js.map +1 -0
  1432. package/vendor/aql/functions/scalar/functions/TEXTJOIN.d.ts +4 -0
  1433. package/vendor/aql/functions/scalar/functions/TEXTJOIN.d.ts.map +1 -0
  1434. package/vendor/aql/functions/scalar/functions/TEXTJOIN.js +18 -0
  1435. package/vendor/aql/functions/scalar/functions/TEXTJOIN.js.map +1 -0
  1436. package/vendor/aql/functions/scalar/functions/TO_ARRAY.d.ts +4 -0
  1437. package/vendor/aql/functions/scalar/functions/TO_ARRAY.d.ts.map +1 -0
  1438. package/vendor/aql/functions/scalar/functions/TO_ARRAY.js +20 -0
  1439. package/vendor/aql/functions/scalar/functions/TO_ARRAY.js.map +1 -0
  1440. package/vendor/aql/functions/scalar/functions/TRIM.d.ts +4 -0
  1441. package/vendor/aql/functions/scalar/functions/TRIM.d.ts.map +1 -0
  1442. package/vendor/aql/functions/scalar/functions/TRIM.js +14 -0
  1443. package/vendor/aql/functions/scalar/functions/TRIM.js.map +1 -0
  1444. package/vendor/aql/functions/scalar/functions/TRUE.d.ts +4 -0
  1445. package/vendor/aql/functions/scalar/functions/TRUE.d.ts.map +1 -0
  1446. package/vendor/aql/functions/scalar/functions/TRUE.js +11 -0
  1447. package/vendor/aql/functions/scalar/functions/TRUE.js.map +1 -0
  1448. package/vendor/aql/functions/scalar/functions/UPPER.d.ts +4 -0
  1449. package/vendor/aql/functions/scalar/functions/UPPER.d.ts.map +1 -0
  1450. package/vendor/aql/functions/scalar/functions/UPPER.js +13 -0
  1451. package/vendor/aql/functions/scalar/functions/UPPER.js.map +1 -0
  1452. package/vendor/aql/functions/scalar/functions/VAR.d.ts +2 -0
  1453. package/vendor/aql/functions/scalar/functions/VAR.d.ts.map +1 -0
  1454. package/vendor/aql/functions/scalar/functions/VAR.js +2 -0
  1455. package/vendor/aql/functions/scalar/functions/VAR.js.map +1 -0
  1456. package/vendor/aql/functions/scalar/functions/WEEK.d.ts +4 -0
  1457. package/vendor/aql/functions/scalar/functions/WEEK.d.ts.map +1 -0
  1458. package/vendor/aql/functions/scalar/functions/WEEK.js +15 -0
  1459. package/vendor/aql/functions/scalar/functions/WEEK.js.map +1 -0
  1460. package/vendor/aql/functions/scalar/functions/WEEKDAY.d.ts +4 -0
  1461. package/vendor/aql/functions/scalar/functions/WEEKDAY.d.ts.map +1 -0
  1462. package/vendor/aql/functions/scalar/functions/WEEKDAY.js +14 -0
  1463. package/vendor/aql/functions/scalar/functions/WEEKDAY.js.map +1 -0
  1464. package/vendor/aql/functions/scalar/functions/WORKDAY.d.ts +4 -0
  1465. package/vendor/aql/functions/scalar/functions/WORKDAY.d.ts.map +1 -0
  1466. package/vendor/aql/functions/scalar/functions/WORKDAY.js +25 -0
  1467. package/vendor/aql/functions/scalar/functions/WORKDAY.js.map +1 -0
  1468. package/vendor/aql/functions/scalar/functions/YEAR.d.ts +4 -0
  1469. package/vendor/aql/functions/scalar/functions/YEAR.d.ts.map +1 -0
  1470. package/vendor/aql/functions/scalar/functions/YEAR.js +14 -0
  1471. package/vendor/aql/functions/scalar/functions/YEAR.js.map +1 -0
  1472. package/vendor/aql/functions/scalar/helpers.d.ts +14 -0
  1473. package/vendor/aql/functions/scalar/helpers.d.ts.map +1 -0
  1474. package/vendor/aql/functions/scalar/helpers.js +46 -0
  1475. package/vendor/aql/functions/scalar/helpers.js.map +1 -0
  1476. package/vendor/aql/functions/scalar/index.d.ts +14 -0
  1477. package/vendor/aql/functions/scalar/index.d.ts.map +1 -0
  1478. package/vendor/aql/functions/scalar/index.js +224 -0
  1479. package/vendor/aql/functions/scalar/index.js.map +1 -0
  1480. package/vendor/aql/functions/shared/FIELD.d.ts +7 -0
  1481. package/vendor/aql/functions/shared/FIELD.d.ts.map +1 -0
  1482. package/vendor/aql/functions/shared/FIELD.js +26 -0
  1483. package/vendor/aql/functions/shared/FIELD.js.map +1 -0
  1484. package/vendor/aql/functions/shared/VAR.d.ts +8 -0
  1485. package/vendor/aql/functions/shared/VAR.d.ts.map +1 -0
  1486. package/vendor/aql/functions/shared/VAR.js +29 -0
  1487. package/vendor/aql/functions/shared/VAR.js.map +1 -0
  1488. package/vendor/aql/functions/shared/index.d.ts +12 -0
  1489. package/vendor/aql/functions/shared/index.d.ts.map +1 -0
  1490. package/vendor/aql/functions/shared/index.js +12 -0
  1491. package/vendor/aql/functions/shared/index.js.map +1 -0
  1492. package/vendor/aql/functions/stringUtils.d.ts +33 -0
  1493. package/vendor/aql/functions/stringUtils.d.ts.map +1 -0
  1494. package/vendor/aql/functions/stringUtils.js +88 -0
  1495. package/vendor/aql/functions/stringUtils.js.map +1 -0
  1496. package/vendor/aql/functions/utils.d.ts +59 -0
  1497. package/vendor/aql/functions/utils.d.ts.map +1 -0
  1498. package/vendor/aql/functions/utils.js +144 -0
  1499. package/vendor/aql/functions/utils.js.map +1 -0
  1500. package/vendor/aql/host/access.d.ts +23 -0
  1501. package/vendor/aql/host/access.d.ts.map +1 -0
  1502. package/vendor/aql/host/access.js +19 -0
  1503. package/vendor/aql/host/access.js.map +1 -0
  1504. package/vendor/aql/host/createHostExpressionContext.d.ts +101 -0
  1505. package/vendor/aql/host/createHostExpressionContext.d.ts.map +1 -0
  1506. package/vendor/aql/host/createHostExpressionContext.js +103 -0
  1507. package/vendor/aql/host/createHostExpressionContext.js.map +1 -0
  1508. package/vendor/aql/host/createObjectDataHost.d.ts +39 -0
  1509. package/vendor/aql/host/createObjectDataHost.d.ts.map +1 -0
  1510. package/vendor/aql/host/createObjectDataHost.js +96 -0
  1511. package/vendor/aql/host/createObjectDataHost.js.map +1 -0
  1512. package/vendor/aql/host/index.d.ts +5 -0
  1513. package/vendor/aql/host/index.d.ts.map +1 -0
  1514. package/vendor/aql/host/index.js +5 -0
  1515. package/vendor/aql/host/index.js.map +1 -0
  1516. package/vendor/aql/host/types.d.ts +219 -0
  1517. package/vendor/aql/host/types.d.ts.map +1 -0
  1518. package/vendor/aql/host/types.js +2 -0
  1519. package/vendor/aql/host/types.js.map +1 -0
  1520. package/vendor/aql/index.d.ts +19 -0
  1521. package/vendor/aql/index.d.ts.map +1 -0
  1522. package/vendor/aql/index.js +20 -0
  1523. package/vendor/aql/index.js.map +1 -0
  1524. package/vendor/aql/normalize/canonicalize.d.ts +10 -0
  1525. package/vendor/aql/normalize/canonicalize.d.ts.map +1 -0
  1526. package/vendor/aql/normalize/canonicalize.js +23 -0
  1527. package/vendor/aql/normalize/canonicalize.js.map +1 -0
  1528. package/vendor/aql/normalize/index.d.ts +6 -0
  1529. package/vendor/aql/normalize/index.d.ts.map +1 -0
  1530. package/vendor/aql/normalize/index.js +6 -0
  1531. package/vendor/aql/normalize/index.js.map +1 -0
  1532. package/vendor/aql/normalize/migrateExpression.d.ts +24 -0
  1533. package/vendor/aql/normalize/migrateExpression.d.ts.map +1 -0
  1534. package/vendor/aql/normalize/migrateExpression.js +37 -0
  1535. package/vendor/aql/normalize/migrateExpression.js.map +1 -0
  1536. package/vendor/aql/normalize/names.d.ts +82 -0
  1537. package/vendor/aql/normalize/names.d.ts.map +1 -0
  1538. package/vendor/aql/normalize/names.js +163 -0
  1539. package/vendor/aql/normalize/names.js.map +1 -0
  1540. package/vendor/aql/normalize/normalizeAst.d.ts +119 -0
  1541. package/vendor/aql/normalize/normalizeAst.d.ts.map +1 -0
  1542. package/vendor/aql/normalize/normalizeAst.js +551 -0
  1543. package/vendor/aql/normalize/normalizeAst.js.map +1 -0
  1544. package/vendor/aql/normalize/print.d.ts +6 -0
  1545. package/vendor/aql/normalize/print.d.ts.map +1 -0
  1546. package/vendor/aql/normalize/print.js +253 -0
  1547. package/vendor/aql/normalize/print.js.map +1 -0
  1548. package/vendor/aql/operator/index.d.ts +4 -0
  1549. package/vendor/aql/operator/index.d.ts.map +1 -0
  1550. package/vendor/aql/operator/index.js +4 -0
  1551. package/vendor/aql/operator/index.js.map +1 -0
  1552. package/vendor/aql/operator/primitiveSlots.d.ts +11 -0
  1553. package/vendor/aql/operator/primitiveSlots.d.ts.map +1 -0
  1554. package/vendor/aql/operator/primitiveSlots.js +38 -0
  1555. package/vendor/aql/operator/primitiveSlots.js.map +1 -0
  1556. package/vendor/aql/operator/resolve.d.ts +45 -0
  1557. package/vendor/aql/operator/resolve.d.ts.map +1 -0
  1558. package/vendor/aql/operator/resolve.js +164 -0
  1559. package/vendor/aql/operator/resolve.js.map +1 -0
  1560. package/vendor/aql/operator/types.d.ts +33 -0
  1561. package/vendor/aql/operator/types.d.ts.map +1 -0
  1562. package/vendor/aql/operator/types.js +2 -0
  1563. package/vendor/aql/operator/types.js.map +1 -0
  1564. package/vendor/aql/package.json +3 -0
  1565. package/vendor/aql/parser/parser.d.ts +3 -0
  1566. package/vendor/aql/parser/parser.d.ts.map +1 -0
  1567. package/vendor/aql/parser/parser.js +934 -0
  1568. package/vendor/aql/parser/parser.js.map +1 -0
  1569. package/vendor/aql/plan/catalogue.d.ts +98 -0
  1570. package/vendor/aql/plan/catalogue.d.ts.map +1 -0
  1571. package/vendor/aql/plan/catalogue.js +273 -0
  1572. package/vendor/aql/plan/catalogue.js.map +1 -0
  1573. package/vendor/aql/plan/compile.d.ts +43 -0
  1574. package/vendor/aql/plan/compile.d.ts.map +1 -0
  1575. package/vendor/aql/plan/compile.js +582 -0
  1576. package/vendor/aql/plan/compile.js.map +1 -0
  1577. package/vendor/aql/plan/deepMap.d.ts +37 -0
  1578. package/vendor/aql/plan/deepMap.d.ts.map +1 -0
  1579. package/vendor/aql/plan/deepMap.js +279 -0
  1580. package/vendor/aql/plan/deepMap.js.map +1 -0
  1581. package/vendor/aql/plan/execute.d.ts +79 -0
  1582. package/vendor/aql/plan/execute.d.ts.map +1 -0
  1583. package/vendor/aql/plan/execute.js +829 -0
  1584. package/vendor/aql/plan/execute.js.map +1 -0
  1585. package/vendor/aql/plan/index.d.ts +10 -0
  1586. package/vendor/aql/plan/index.d.ts.map +1 -0
  1587. package/vendor/aql/plan/index.js +10 -0
  1588. package/vendor/aql/plan/index.js.map +1 -0
  1589. package/vendor/aql/plan/magnitudeLiteral.d.ts +28 -0
  1590. package/vendor/aql/plan/magnitudeLiteral.d.ts.map +1 -0
  1591. package/vendor/aql/plan/magnitudeLiteral.js +109 -0
  1592. package/vendor/aql/plan/magnitudeLiteral.js.map +1 -0
  1593. package/vendor/aql/plan/observable.d.ts +33 -0
  1594. package/vendor/aql/plan/observable.d.ts.map +1 -0
  1595. package/vendor/aql/plan/observable.js +255 -0
  1596. package/vendor/aql/plan/observable.js.map +1 -0
  1597. package/vendor/aql/plan/observableFixture.d.ts +50 -0
  1598. package/vendor/aql/plan/observableFixture.d.ts.map +1 -0
  1599. package/vendor/aql/plan/observableFixture.js +90 -0
  1600. package/vendor/aql/plan/observableFixture.js.map +1 -0
  1601. package/vendor/aql/plan/operators.d.ts +186 -0
  1602. package/vendor/aql/plan/operators.d.ts.map +1 -0
  1603. package/vendor/aql/plan/operators.js +771 -0
  1604. package/vendor/aql/plan/operators.js.map +1 -0
  1605. package/vendor/aql/plan/outer.d.ts +32 -0
  1606. package/vendor/aql/plan/outer.d.ts.map +1 -0
  1607. package/vendor/aql/plan/outer.js +81 -0
  1608. package/vendor/aql/plan/outer.js.map +1 -0
  1609. package/vendor/aql/plan/trace.d.ts +39 -0
  1610. package/vendor/aql/plan/trace.d.ts.map +1 -0
  1611. package/vendor/aql/plan/trace.js +85 -0
  1612. package/vendor/aql/plan/trace.js.map +1 -0
  1613. package/vendor/aql/plan/types.d.ts +241 -0
  1614. package/vendor/aql/plan/types.d.ts.map +1 -0
  1615. package/vendor/aql/plan/types.js +2 -0
  1616. package/vendor/aql/plan/types.js.map +1 -0
  1617. package/vendor/aql/predicate/index.d.ts +4 -0
  1618. package/vendor/aql/predicate/index.d.ts.map +1 -0
  1619. package/vendor/aql/predicate/index.js +4 -0
  1620. package/vendor/aql/predicate/index.js.map +1 -0
  1621. package/vendor/aql/predicate/mapExpressionToQlPredicate.d.ts +41 -0
  1622. package/vendor/aql/predicate/mapExpressionToQlPredicate.d.ts.map +1 -0
  1623. package/vendor/aql/predicate/mapExpressionToQlPredicate.js +324 -0
  1624. package/vendor/aql/predicate/mapExpressionToQlPredicate.js.map +1 -0
  1625. package/vendor/aql/predicate/mapQlPredicateToExpression.d.ts +13 -0
  1626. package/vendor/aql/predicate/mapQlPredicateToExpression.d.ts.map +1 -0
  1627. package/vendor/aql/predicate/mapQlPredicateToExpression.js +142 -0
  1628. package/vendor/aql/predicate/mapQlPredicateToExpression.js.map +1 -0
  1629. package/vendor/aql/predicate/types.d.ts +101 -0
  1630. package/vendor/aql/predicate/types.d.ts.map +1 -0
  1631. package/vendor/aql/predicate/types.js +13 -0
  1632. package/vendor/aql/predicate/types.js.map +1 -0
  1633. package/vendor/aql/store/computedValueStore.d.ts +139 -0
  1634. package/vendor/aql/store/computedValueStore.d.ts.map +1 -0
  1635. package/vendor/aql/store/computedValueStore.js +399 -0
  1636. package/vendor/aql/store/computedValueStore.js.map +1 -0
  1637. package/vendor/aql/store/history/clock.d.ts +25 -0
  1638. package/vendor/aql/store/history/clock.d.ts.map +1 -0
  1639. package/vendor/aql/store/history/clock.js +65 -0
  1640. package/vendor/aql/store/history/clock.js.map +1 -0
  1641. package/vendor/aql/store/history/historyStore.d.ts +11 -0
  1642. package/vendor/aql/store/history/historyStore.d.ts.map +1 -0
  1643. package/vendor/aql/store/history/historyStore.js +386 -0
  1644. package/vendor/aql/store/history/historyStore.js.map +1 -0
  1645. package/vendor/aql/store/history/index.d.ts +8 -0
  1646. package/vendor/aql/store/history/index.d.ts.map +1 -0
  1647. package/vendor/aql/store/history/index.js +8 -0
  1648. package/vendor/aql/store/history/index.js.map +1 -0
  1649. package/vendor/aql/store/history/monotonicDeque.d.ts +24 -0
  1650. package/vendor/aql/store/history/monotonicDeque.d.ts.map +1 -0
  1651. package/vendor/aql/store/history/monotonicDeque.js +55 -0
  1652. package/vendor/aql/store/history/monotonicDeque.js.map +1 -0
  1653. package/vendor/aql/store/history/operators.d.ts +33 -0
  1654. package/vendor/aql/store/history/operators.d.ts.map +1 -0
  1655. package/vendor/aql/store/history/operators.js +164 -0
  1656. package/vendor/aql/store/history/operators.js.map +1 -0
  1657. package/vendor/aql/store/history/ringBuffer.d.ts +35 -0
  1658. package/vendor/aql/store/history/ringBuffer.d.ts.map +1 -0
  1659. package/vendor/aql/store/history/ringBuffer.js +113 -0
  1660. package/vendor/aql/store/history/ringBuffer.js.map +1 -0
  1661. package/vendor/aql/store/history/rowSeries.d.ts +52 -0
  1662. package/vendor/aql/store/history/rowSeries.d.ts.map +1 -0
  1663. package/vendor/aql/store/history/rowSeries.js +177 -0
  1664. package/vendor/aql/store/history/rowSeries.js.map +1 -0
  1665. package/vendor/aql/store/history/types.d.ts +169 -0
  1666. package/vendor/aql/store/history/types.d.ts.map +1 -0
  1667. package/vendor/aql/store/history/types.js +39 -0
  1668. package/vendor/aql/store/history/types.js.map +1 -0
  1669. package/vendor/aql/store/index.d.ts +3 -0
  1670. package/vendor/aql/store/index.d.ts.map +1 -0
  1671. package/vendor/aql/store/index.js +3 -0
  1672. package/vendor/aql/store/index.js.map +1 -0
  1673. package/vendor/aql/tokenizer/index.d.ts +2 -0
  1674. package/vendor/aql/tokenizer/index.d.ts.map +1 -0
  1675. package/vendor/aql/tokenizer/index.js +2 -0
  1676. package/vendor/aql/tokenizer/index.js.map +1 -0
  1677. package/vendor/aql/tokenizer/tokenizer.d.ts +3 -0
  1678. package/vendor/aql/tokenizer/tokenizer.d.ts.map +1 -0
  1679. package/vendor/aql/tokenizer/tokenizer.js +29 -0
  1680. package/vendor/aql/tokenizer/tokenizer.js.map +1 -0
  1681. package/vendor/aql/types.d.ts +329 -0
  1682. package/vendor/aql/types.d.ts.map +1 -0
  1683. package/vendor/aql/types.js +57 -0
  1684. package/vendor/aql/types.js.map +1 -0
  1685. package/vendor/aql/utils/astUtils.d.ts +5 -0
  1686. package/vendor/aql/utils/astUtils.d.ts.map +1 -0
  1687. package/vendor/aql/utils/astUtils.js +33 -0
  1688. package/vendor/aql/utils/astUtils.js.map +1 -0
  1689. package/vendor/aql/utils/dependencyCycle.d.ts +7 -0
  1690. package/vendor/aql/utils/dependencyCycle.d.ts.map +1 -0
  1691. package/vendor/aql/utils/dependencyCycle.js +24 -0
  1692. package/vendor/aql/utils/dependencyCycle.js.map +1 -0
  1693. package/vendor/aql/utils/index.d.ts +3 -0
  1694. package/vendor/aql/utils/index.d.ts.map +1 -0
  1695. package/vendor/aql/utils/index.js +3 -0
  1696. package/vendor/aql/utils/index.js.map +1 -0
  1697. package/vendor/aql/validation/classifyExpression.d.ts +55 -0
  1698. package/vendor/aql/validation/classifyExpression.d.ts.map +1 -0
  1699. package/vendor/aql/validation/classifyExpression.js +61 -0
  1700. package/vendor/aql/validation/classifyExpression.js.map +1 -0
  1701. package/vendor/aql/validation/functionMetadata.d.ts +159 -0
  1702. package/vendor/aql/validation/functionMetadata.d.ts.map +1 -0
  1703. package/vendor/aql/validation/functionMetadata.js +500 -0
  1704. package/vendor/aql/validation/functionMetadata.js.map +1 -0
  1705. package/vendor/aql/validation/index.d.ts +5 -0
  1706. package/vendor/aql/validation/index.d.ts.map +1 -0
  1707. package/vendor/aql/validation/index.js +5 -0
  1708. package/vendor/aql/validation/index.js.map +1 -0
  1709. package/vendor/aql/validation/validateAqlExpression.d.ts +81 -0
  1710. package/vendor/aql/validation/validateAqlExpression.d.ts.map +1 -0
  1711. package/vendor/aql/validation/validateAqlExpression.js +746 -0
  1712. package/vendor/aql/validation/validateAqlExpression.js.map +1 -0
  1713. package/vendor/aql/validation/validateExpressionTypes.d.ts +74 -0
  1714. package/vendor/aql/validation/validateExpressionTypes.d.ts.map +1 -0
  1715. package/vendor/aql/validation/validateExpressionTypes.js +584 -0
  1716. package/vendor/aql/validation/validateExpressionTypes.js.map +1 -0
  1717. package/vendor/components/Button/index.d.ts +20 -0
  1718. package/vendor/components/Button/index.d.ts.map +1 -0
  1719. package/vendor/components/Button/index.js +19 -0
  1720. package/vendor/components/Button/index.js.map +1 -0
  1721. package/vendor/components/CheckBox/base.css +109 -0
  1722. package/vendor/components/CheckBox/index.d.ts +72 -0
  1723. package/vendor/components/CheckBox/index.d.ts.map +1 -0
  1724. package/vendor/components/CheckBox/index.js +75 -0
  1725. package/vendor/components/CheckBox/index.js.map +1 -0
  1726. package/vendor/components/CheckBox/style.css +33 -0
  1727. package/vendor/components/Combobox/VirtualizedList.d.ts +15 -0
  1728. package/vendor/components/Combobox/VirtualizedList.d.ts.map +1 -0
  1729. package/vendor/components/Combobox/VirtualizedList.js +76 -0
  1730. package/vendor/components/Combobox/VirtualizedList.js.map +1 -0
  1731. package/vendor/components/Combobox/comboboxUtils.d.ts +136 -0
  1732. package/vendor/components/Combobox/comboboxUtils.d.ts.map +1 -0
  1733. package/vendor/components/Combobox/comboboxUtils.js +28 -0
  1734. package/vendor/components/Combobox/comboboxUtils.js.map +1 -0
  1735. package/vendor/components/Combobox/index.d.ts +51 -0
  1736. package/vendor/components/Combobox/index.d.ts.map +1 -0
  1737. package/vendor/components/Combobox/index.js +764 -0
  1738. package/vendor/components/Combobox/index.js.map +1 -0
  1739. package/vendor/components/Combobox/useScrollNearEnd.d.ts +14 -0
  1740. package/vendor/components/Combobox/useScrollNearEnd.d.ts.map +1 -0
  1741. package/vendor/components/Combobox/useScrollNearEnd.js +66 -0
  1742. package/vendor/components/Combobox/useScrollNearEnd.js.map +1 -0
  1743. package/vendor/components/DropdownButton/index.d.ts +39 -0
  1744. package/vendor/components/DropdownButton/index.d.ts.map +1 -0
  1745. package/vendor/components/DropdownButton/index.js +41 -0
  1746. package/vendor/components/DropdownButton/index.js.map +1 -0
  1747. package/vendor/components/Radio/base.css +39 -0
  1748. package/vendor/components/Radio/index.d.ts +49 -0
  1749. package/vendor/components/Radio/index.d.ts.map +1 -0
  1750. package/vendor/components/Radio/index.js +69 -0
  1751. package/vendor/components/Radio/index.js.map +1 -0
  1752. package/vendor/components/Radio/style.css +3 -0
  1753. package/vendor/components/Resizable/index.d.ts +99 -0
  1754. package/vendor/components/Resizable/index.d.ts.map +1 -0
  1755. package/vendor/components/Resizable/index.js +241 -0
  1756. package/vendor/components/Resizable/index.js.map +1 -0
  1757. package/vendor/components/Resizable/resizableUtils.d.ts +74 -0
  1758. package/vendor/components/Resizable/resizableUtils.d.ts.map +1 -0
  1759. package/vendor/components/Resizable/resizableUtils.js +70 -0
  1760. package/vendor/components/Resizable/resizableUtils.js.map +1 -0
  1761. package/vendor/components/SearchInput/index.d.ts +51 -0
  1762. package/vendor/components/SearchInput/index.d.ts.map +1 -0
  1763. package/vendor/components/SearchInput/index.js +32 -0
  1764. package/vendor/components/SearchInput/index.js.map +1 -0
  1765. package/vendor/components/Select/index.d.ts +78 -0
  1766. package/vendor/components/Select/index.d.ts.map +1 -0
  1767. package/vendor/components/Select/index.js +108 -0
  1768. package/vendor/components/Select/index.js.map +1 -0
  1769. package/vendor/components/Tooltip/index.d.ts +14 -0
  1770. package/vendor/components/Tooltip/index.d.ts.map +1 -0
  1771. package/vendor/components/Tooltip/index.js +10 -0
  1772. package/vendor/components/Tooltip/index.js.map +1 -0
  1773. package/vendor/components/Tree/TreeDropdown/index.d.ts +66 -0
  1774. package/vendor/components/Tree/TreeDropdown/index.d.ts.map +1 -0
  1775. package/vendor/components/Tree/TreeDropdown/index.js +555 -0
  1776. package/vendor/components/Tree/TreeDropdown/index.js.map +1 -0
  1777. package/vendor/components/Tree/treeUtils.d.ts +11 -0
  1778. package/vendor/components/Tree/treeUtils.d.ts.map +1 -0
  1779. package/vendor/components/Tree/treeUtils.js +26 -0
  1780. package/vendor/components/Tree/treeUtils.js.map +1 -0
  1781. package/vendor/components/TypeExtensions.d.ts +84 -0
  1782. package/vendor/components/TypeExtensions.d.ts.map +1 -0
  1783. package/vendor/components/TypeExtensions.js +4 -0
  1784. package/vendor/components/TypeExtensions.js.map +1 -0
  1785. package/vendor/components/index.css +2993 -0
  1786. package/vendor/components/index.d.ts +43 -0
  1787. package/vendor/components/index.d.ts.map +1 -0
  1788. package/vendor/components/index.js +37 -0
  1789. package/vendor/components/index.js.map +1 -0
  1790. package/vendor/components/lib/useProperty.d.ts +23 -0
  1791. package/vendor/components/lib/useProperty.d.ts.map +1 -0
  1792. package/vendor/components/lib/useProperty.js +48 -0
  1793. package/vendor/components/lib/useProperty.js.map +1 -0
  1794. package/vendor/components/lib/utils.d.ts +3 -0
  1795. package/vendor/components/lib/utils.d.ts.map +1 -0
  1796. package/vendor/components/lib/utils.js +3 -0
  1797. package/vendor/components/lib/utils.js.map +1 -0
  1798. package/vendor/components/overlayHost.d.ts +16 -0
  1799. package/vendor/components/overlayHost.d.ts.map +1 -0
  1800. package/vendor/components/overlayHost.js +18 -0
  1801. package/vendor/components/overlayHost.js.map +1 -0
  1802. package/vendor/components/twMerge.d.ts +3 -0
  1803. package/vendor/components/twMerge.d.ts.map +1 -0
  1804. package/vendor/components/twMerge.js +16 -0
  1805. package/vendor/components/twMerge.js.map +1 -0
  1806. package/vendor/components/twUtils.d.ts +11 -0
  1807. package/vendor/components/twUtils.d.ts.map +1 -0
  1808. package/vendor/components/twUtils.js +20 -0
  1809. package/vendor/components/twUtils.js.map +1 -0
  1810. package/vendor/components/ui/alert-dialog.d.ts +24 -0
  1811. package/vendor/components/ui/alert-dialog.d.ts.map +1 -0
  1812. package/vendor/components/ui/alert-dialog.js +50 -0
  1813. package/vendor/components/ui/alert-dialog.js.map +1 -0
  1814. package/vendor/components/ui/button.d.ts +12 -0
  1815. package/vendor/components/ui/button.d.ts.map +1 -0
  1816. package/vendor/components/ui/button.js +37 -0
  1817. package/vendor/components/ui/button.js.map +1 -0
  1818. package/vendor/components/ui/calendar.d.ts +8 -0
  1819. package/vendor/components/ui/calendar.d.ts.map +1 -0
  1820. package/vendor/components/ui/calendar.js +105 -0
  1821. package/vendor/components/ui/calendar.js.map +1 -0
  1822. package/vendor/components/ui/collapsible.d.ts +6 -0
  1823. package/vendor/components/ui/collapsible.d.ts.map +1 -0
  1824. package/vendor/components/ui/collapsible.js +14 -0
  1825. package/vendor/components/ui/collapsible.js.map +1 -0
  1826. package/vendor/components/ui/combobox.d.ts +55 -0
  1827. package/vendor/components/ui/combobox.d.ts.map +1 -0
  1828. package/vendor/components/ui/combobox.js +174 -0
  1829. package/vendor/components/ui/combobox.js.map +1 -0
  1830. package/vendor/components/ui/dialog.d.ts +23 -0
  1831. package/vendor/components/ui/dialog.d.ts.map +1 -0
  1832. package/vendor/components/ui/dialog.js +44 -0
  1833. package/vendor/components/ui/dialog.js.map +1 -0
  1834. package/vendor/components/ui/dropdown-menu.d.ts +33 -0
  1835. package/vendor/components/ui/dropdown-menu.d.ts.map +1 -0
  1836. package/vendor/components/ui/dropdown-menu.js +55 -0
  1837. package/vendor/components/ui/dropdown-menu.js.map +1 -0
  1838. package/vendor/components/ui/input-group.d.ts +20 -0
  1839. package/vendor/components/ui/input-group.d.ts.map +1 -0
  1840. package/vendor/components/ui/input-group.js +67 -0
  1841. package/vendor/components/ui/input-group.js.map +1 -0
  1842. package/vendor/components/ui/input.d.ts +4 -0
  1843. package/vendor/components/ui/input.d.ts.map +1 -0
  1844. package/vendor/components/ui/input.js +9 -0
  1845. package/vendor/components/ui/input.js.map +1 -0
  1846. package/vendor/components/ui/popover.d.ts +14 -0
  1847. package/vendor/components/ui/popover.d.ts.map +1 -0
  1848. package/vendor/components/ui/popover.js +29 -0
  1849. package/vendor/components/ui/popover.js.map +1 -0
  1850. package/vendor/components/ui/radio-group.d.ts +6 -0
  1851. package/vendor/components/ui/radio-group.d.ts.map +1 -0
  1852. package/vendor/components/ui/radio-group.js +12 -0
  1853. package/vendor/components/ui/radio-group.js.map +1 -0
  1854. package/vendor/components/ui/select.d.ts +28 -0
  1855. package/vendor/components/ui/select.d.ts.map +1 -0
  1856. package/vendor/components/ui/select.js +41 -0
  1857. package/vendor/components/ui/select.js.map +1 -0
  1858. package/vendor/components/ui/sidebar.d.ts +20 -0
  1859. package/vendor/components/ui/sidebar.d.ts.map +1 -0
  1860. package/vendor/components/ui/sidebar.js +13 -0
  1861. package/vendor/components/ui/sidebar.js.map +1 -0
  1862. package/vendor/components/ui/tabs.d.ts +11 -0
  1863. package/vendor/components/ui/tabs.d.ts.map +1 -0
  1864. package/vendor/components/ui/tabs.js +33 -0
  1865. package/vendor/components/ui/tabs.js.map +1 -0
  1866. package/vendor/components/ui/textarea.d.ts +4 -0
  1867. package/vendor/components/ui/textarea.d.ts.map +1 -0
  1868. package/vendor/components/ui/textarea.js +8 -0
  1869. package/vendor/components/ui/textarea.js.map +1 -0
  1870. package/vendor/components/ui/toast.d.ts +13 -0
  1871. package/vendor/components/ui/toast.d.ts.map +1 -0
  1872. package/vendor/components/ui/toast.js +31 -0
  1873. package/vendor/components/ui/toast.js.map +1 -0
  1874. package/vendor/components/ui/toggle.d.ts +9 -0
  1875. package/vendor/components/ui/toggle.d.ts.map +1 -0
  1876. package/vendor/components/ui/toggle.js +27 -0
  1877. package/vendor/components/ui/toggle.js.map +1 -0
  1878. package/vendor/components/ui/tooltip.d.ts +8 -0
  1879. package/vendor/components/ui/tooltip.d.ts.map +1 -0
  1880. package/vendor/components/ui/tooltip.js +18 -0
  1881. package/vendor/components/ui/tooltip.js.map +1 -0
  1882. package/src/AdaptableOptions/PredicateOptions.d.ts +0 -74
  1883. package/src/AdaptableState/Common/AdaptablePredicate.d.ts +0 -158
  1884. package/src/AdaptableState/Common/AdaptablePredicate.js +0 -686
  1885. package/src/AdaptableState/Common/AdaptableRowContext.d.ts +0 -11
  1886. package/src/Api/Implementation/LayoutHelpers.d.ts +0 -29
  1887. package/src/Api/Implementation/LayoutHelpers.js +0 -555
  1888. package/src/Api/Implementation/PredicateApiImpl.d.ts +0 -29
  1889. package/src/Api/Implementation/PredicateApiImpl.js +0 -185
  1890. package/src/Api/Internal/PredicateInternalApi.d.ts +0 -46
  1891. package/src/Api/Internal/PredicateInternalApi.js +0 -129
  1892. package/src/Api/PredicateApi.d.ts +0 -99
  1893. package/src/Redux/Store/buildAdaptableStateFunctionConfig.d.ts +0 -3
  1894. package/src/Redux/Store/buildAdaptableStateFunctionConfig.js +0 -9
  1895. package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.d.ts +0 -3
  1896. package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.d.ts +0 -4
  1897. package/src/Strategy/Utilities/CustomSort/getCustomSortColumnViewItems.d.ts +0 -6
  1898. package/src/Strategy/Utilities/CustomSort/getCustomSortColumnViewItems.js +0 -7
  1899. package/src/Strategy/Utilities/Export/formatScheduledReportSummary.js +0 -6
  1900. package/src/Strategy/Utilities/Export/getExportColumnsViewItems.d.ts +0 -5
  1901. package/src/Strategy/Utilities/Export/getExportColumnsViewItems.js +0 -20
  1902. package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +0 -19
  1903. package/src/Strategy/Utilities/FlashingCell/getFlashingCellStyleViewItems.d.ts +0 -2
  1904. package/src/Strategy/Utilities/FlashingCell/getFlashingTargetViewItems.d.ts +0 -5
  1905. package/src/Strategy/Utilities/Layout/columnsSummaryHelpers.d.ts +0 -48
  1906. package/src/Strategy/Utilities/Layout/columnsSummaryHelpers.js +0 -161
  1907. package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.d.ts +0 -7
  1908. package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.js +0 -19
  1909. package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.d.ts +0 -6
  1910. package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.js +0 -10
  1911. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.d.ts +0 -20
  1912. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +0 -182
  1913. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +0 -48
  1914. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +0 -1404
  1915. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.d.ts +0 -8
  1916. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +0 -394
  1917. package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +0 -3
  1918. package/src/Utilities/ExpressionFunctions/dateUtils.js +0 -35
  1919. package/src/Utilities/ExpressionFunctions/deepMap.d.ts +0 -36
  1920. package/src/Utilities/ExpressionFunctions/deepMap.js +0 -262
  1921. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +0 -31
  1922. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +0 -119
  1923. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.d.ts +0 -7
  1924. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +0 -448
  1925. package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.d.ts +0 -32
  1926. package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +0 -92
  1927. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +0 -7
  1928. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +0 -742
  1929. package/src/Utilities/Hooks/index.d.ts +0 -3
  1930. package/src/Utilities/Hooks/index.js +0 -3
  1931. package/src/Utilities/Hooks/useAdaptableColumn.d.ts +0 -2
  1932. package/src/Utilities/Hooks/useAdaptableColumn.js +0 -6
  1933. package/src/Utilities/Hooks/useAdaptableOptions.d.ts +0 -2
  1934. package/src/Utilities/Hooks/useAdaptableOptions.js +0 -5
  1935. package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +0 -27
  1936. package/src/Utilities/Services/AggregatedScalarLiveValue.js +0 -116
  1937. package/src/Utilities/Services/AlertService.d.ts +0 -17
  1938. package/src/Utilities/Services/AlertService.js +0 -77
  1939. package/src/Utilities/Services/AnnotationsService.d.ts +0 -29
  1940. package/src/Utilities/Services/AnnotationsService.js +0 -137
  1941. package/src/Utilities/Services/Interface/IAlertService.d.ts +0 -24
  1942. package/src/Utilities/Services/Interface/IAlertService.js +0 -6
  1943. package/src/Utilities/createAgStatusPanelComponent.js +0 -45
  1944. package/src/Utilities/getExpressionViewItems.d.ts +0 -3
  1945. package/src/Utilities/getExpressionViewItems.js +0 -9
  1946. package/src/Utilities/getObjectTagsViewItems.d.ts +0 -3
  1947. package/src/Utilities/getObjectTagsViewItems.js +0 -35
  1948. package/src/Utilities/getRuleViewItems.d.ts +0 -5
  1949. package/src/Utilities/getRuleViewItems.js +0 -10
  1950. package/src/Utilities/getScopeViewItems.d.ts +0 -3
  1951. package/src/Utilities/getScopeViewItems.js +0 -26
  1952. package/src/Utilities/sortColumnStateForVisibleColumns.d.ts +0 -12
  1953. package/src/Utilities/sortColumnStateForVisibleColumns.js +0 -36
  1954. package/src/Utilities/updateSingleToMultiplePredicates.d.ts +0 -5
  1955. package/src/Utilities/updateSingleToMultiplePredicates.js +0 -7
  1956. package/src/Utilities/wizardSelection.d.ts +0 -10
  1957. package/src/Utilities/wizardSelection.js +0 -13
  1958. package/src/View/Alert/Utilities/getAvailablePredicates.d.ts +0 -3
  1959. package/src/View/Alert/Utilities/getAvailablePredicates.js +0 -8
  1960. package/src/View/CalculatedColumn/utils.d.ts +0 -2
  1961. package/src/View/CalculatedColumn/utils.js +0 -9
  1962. package/src/View/CellSummary/CellSummaryPopover.d.ts +0 -6
  1963. package/src/View/CellSummary/CellSummaryPopover.js +0 -5
  1964. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.d.ts +0 -2
  1965. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +0 -8
  1966. package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +0 -44
  1967. package/src/View/Charting/useAgChartState.d.ts +0 -9
  1968. package/src/View/Charting/useAgChartState.js +0 -64
  1969. package/src/View/Charting/useChartingElements.d.ts +0 -15
  1970. package/src/View/Charting/useChartingElements.js +0 -96
  1971. package/src/View/Charting/useExternalChartState.d.ts +0 -7
  1972. package/src/View/Charting/useExternalChartState.js +0 -45
  1973. package/src/View/Components/AdaptableObjectCollection/index.d.ts +0 -11
  1974. package/src/View/Components/AdaptableObjectCollection/index.js +0 -11
  1975. package/src/View/Components/AdaptableObjectRow/index.d.ts +0 -13
  1976. package/src/View/Components/AdaptableObjectRow/index.js +0 -11
  1977. package/src/View/Components/Badge/index.js +0 -63
  1978. package/src/View/Components/ColumnFilter/AdaptableColumnFilter.d.ts +0 -19
  1979. package/src/View/Components/ColumnFilter/AdaptableColumnFilter.js +0 -21
  1980. package/src/View/Components/ColumnFilter/AdaptableFloatingFilter.d.ts +0 -9
  1981. package/src/View/Components/ColumnFilter/AdaptableFloatingFilter.js +0 -32
  1982. package/src/View/Components/ColumnFilter/ColumnFilter.d.ts +0 -18
  1983. package/src/View/Components/ColumnFilter/ColumnFilter.js +0 -142
  1984. package/src/View/Components/ColumnFilter/ColumnFilterWindow.d.ts +0 -3
  1985. package/src/View/Components/ColumnFilter/ColumnFilterWindow.js +0 -30
  1986. package/src/View/Components/ColumnFilter/FloatingFilter.d.ts +0 -13
  1987. package/src/View/Components/ColumnFilter/FloatingFilter.js +0 -104
  1988. package/src/View/Components/ColumnFilter/LayoutColumnFilter.d.ts +0 -6
  1989. package/src/View/Components/ColumnFilter/LayoutColumnFilter.js +0 -25
  1990. package/src/View/Components/ColumnFilter/columnFilterLocation.d.ts +0 -2
  1991. package/src/View/Components/ColumnFilter/columnFilterLocation.js +0 -1
  1992. package/src/View/Components/ColumnFilter/components/ColumnFilterInput.d.ts +0 -29
  1993. package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +0 -141
  1994. package/src/View/Components/ColumnFilter/components/ColumnFilterInputList.d.ts +0 -13
  1995. package/src/View/Components/ColumnFilter/components/ColumnFilterInputList.js +0 -55
  1996. package/src/View/Components/ColumnFilter/components/FloatingFilterInputList.d.ts +0 -13
  1997. package/src/View/Components/ColumnFilter/components/FloatingFilterInputList.js +0 -73
  1998. package/src/View/Components/ColumnFilter/components/FloatingFilterValues.d.ts +0 -56
  1999. package/src/View/Components/ColumnFilter/components/FloatingFilterValues.js +0 -384
  2000. package/src/View/Components/ColumnFilter/hooks.d.ts +0 -2
  2001. package/src/View/Components/ColumnFilter/hooks.js +0 -10
  2002. package/src/View/Components/ColumnFilter/useAdaptableFilterWrapper.d.ts +0 -12
  2003. package/src/View/Components/ColumnFilter/useAdaptableFilterWrapper.js +0 -70
  2004. package/src/View/Components/ColumnFilter/utils.d.ts +0 -8
  2005. package/src/View/Components/ColumnFilter/utils.js +0 -184
  2006. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.d.ts +0 -12
  2007. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.js +0 -73
  2008. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.d.ts +0 -18
  2009. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.js +0 -67
  2010. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.d.ts +0 -1
  2011. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.js +0 -1
  2012. package/src/View/Components/FilterForm/ListBoxFilterForm.js +0 -132
  2013. package/src/View/Components/Panels/PanelDashboard/index.d.ts +0 -15
  2014. package/src/View/Components/Panels/PanelDashboard/index.js +0 -18
  2015. package/src/View/Components/Panels/PanelToolPanel/index.d.ts +0 -14
  2016. package/src/View/Components/Panels/PanelToolPanel/index.js +0 -44
  2017. package/src/View/Components/Panels/PanelWithRow.d.ts +0 -9
  2018. package/src/View/Components/Panels/PanelWithRow.js +0 -13
  2019. package/src/View/Components/PredicateEditor/PredicateEditor.d.ts +0 -11
  2020. package/src/View/Components/PredicateEditor/PredicateEditor.js +0 -89
  2021. package/src/View/Components/RangesComponent.js +0 -339
  2022. package/src/View/Components/Selectors/BulkUpdateValueSelector.d.ts +0 -18
  2023. package/src/View/Components/Selectors/BulkUpdateValueSelector.js +0 -50
  2024. package/src/View/Components/SharedProps/ConfigEntityRowProps.d.ts +0 -30
  2025. package/src/View/Components/TagValueSelector/index.d.ts +0 -13
  2026. package/src/View/Components/TagValueSelector/index.js +0 -19
  2027. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +0 -40
  2028. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +0 -217
  2029. package/src/View/Components/ToolPanel/CustomToolPanelContent.d.ts +0 -6
  2030. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +0 -51
  2031. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +0 -20
  2032. package/src/View/Components/ToolPanel/ToolPanelPopup.js +0 -27
  2033. package/src/View/Components/ToolPanel/ToolPanelPopupSections.d.ts +0 -17
  2034. package/src/View/Components/ToolPanel/ToolPanelPopupSections.js +0 -75
  2035. package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +0 -16
  2036. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +0 -55
  2037. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +0 -5
  2038. package/src/View/DataChangeHistory/buildActionColumnButton.js +0 -74
  2039. package/src/View/DataChangeHistory/dataChangeHistoryHelpers.d.ts +0 -37
  2040. package/src/View/DataChangeHistory/dataChangeHistoryHelpers.js +0 -66
  2041. package/src/View/DataImport/DataImportWizard/DataImportWizard.js +0 -259
  2042. package/src/View/DataImport/DataImportWizard/sections/ColumnsSection.js +0 -131
  2043. package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +0 -150
  2044. package/src/View/DataImport/systemFileHandlers.d.ts +0 -3
  2045. package/src/View/DataImport/systemFileHandlers.js +0 -39
  2046. package/src/View/FormatColumn/Wizard/constants.d.ts +0 -1
  2047. package/src/View/FormatColumn/Wizard/constants.js +0 -1
  2048. package/src/View/GridFilter/GridFilterPopupUI/index.d.ts +0 -69
  2049. package/src/View/GridFilter/GridFilterPopupUI/index.js +0 -28
  2050. package/src/View/GridFilter/GridFilterWindowPopup.d.ts +0 -3
  2051. package/src/View/GridFilter/GridFilterWindowPopup.js +0 -5
  2052. package/src/View/GridFilter/useGridFilterExpressionEditor.d.ts +0 -31
  2053. package/src/View/GridFilter/useGridFilterExpressionEditor.js +0 -127
  2054. package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.d.ts +0 -4
  2055. package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.js +0 -9
  2056. package/src/View/GridInfo/GridInfoPopup/AdaptableObjectsSummary.js +0 -26
  2057. package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.d.ts +0 -6
  2058. package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +0 -210
  2059. package/src/View/GridInfo/GridInfoPopup/index.d.ts +0 -1
  2060. package/src/View/GridInfo/GridInfoPopup/index.js +0 -1
  2061. package/src/View/KeyHint.d.ts +0 -6
  2062. package/src/View/KeyHint.js +0 -7
  2063. package/src/View/Layout/Wizard/sections/Utilities.d.ts +0 -2
  2064. package/src/View/Layout/Wizard/sections/columnLayoutHelpers.d.ts +0 -30
  2065. package/src/View/Layout/Wizard/sections/layoutWizardAccordionHelpers.d.ts +0 -8
  2066. package/src/View/Layout/Wizard/sections/layoutWizardColumns.d.ts +0 -11
  2067. package/src/View/Layout/Wizard/sections/layoutWizardColumns.js +0 -48
  2068. package/src/View/Note/NoteEditor.d.ts +0 -8
  2069. package/src/View/Note/NoteEditor.js +0 -36
  2070. package/src/View/QuickSearch/useQuickSearchDebounced.d.ts +0 -7
  2071. package/src/View/QuickSearch/useQuickSearchDebounced.js +0 -15
  2072. package/src/View/Shortcut/shortcutOperations.d.ts +0 -5
  2073. package/src/View/Shortcut/shortcutOperations.js +0 -35
  2074. package/src/View/SpecialColumnSettingsWizardStep.js +0 -39
  2075. package/src/View/StateManagement/components/ClearButton.d.ts +0 -6
  2076. package/src/View/StateManagement/components/ClearButton.js +0 -5
  2077. package/src/View/StateManagement/components/ExportDropdown.d.ts +0 -8
  2078. package/src/View/StateManagement/components/ExportDropdown.js +0 -35
  2079. package/src/View/StateManagement/components/LoadButton.d.ts +0 -7
  2080. package/src/View/StateManagement/components/LoadButton.js +0 -31
  2081. package/src/View/StateManagement/handleExportState.d.ts +0 -2
  2082. package/src/View/StateManagement/handleExportState.js +0 -17
  2083. package/src/View/StatusBar/statusBarPanelHelpers.d.ts +0 -2
  2084. package/src/View/SystemStatus/SystemStatusEntityRow.d.ts +0 -7
  2085. package/src/View/SystemStatus/SystemStatusEntityRow.js +0 -19
  2086. package/src/View/UIHelper.d.ts +0 -78
  2087. package/src/View/UIHelper.js +0 -373
  2088. package/src/View/UIInterfaces.d.ts +0 -5
  2089. package/src/View/Wizard/useKeyboardNavigation.d.ts +0 -2
  2090. package/src/View/renderWithAdaptableContext.d.ts +0 -4
  2091. package/src/View/renderWithAdaptableContext.js +0 -7
  2092. package/src/agGrid/agGridDataTypeDefinitions.js +0 -63
  2093. package/src/components/Combobox/VirtualizedList.d.ts +0 -12
  2094. package/src/components/Combobox/VirtualizedList.js +0 -64
  2095. package/src/components/Combobox/comboboxUtils.d.ts +0 -100
  2096. package/src/components/Combobox/comboboxUtils.js +0 -27
  2097. package/src/components/ExpressionEditor/BaseEditorInput.d.ts +0 -29
  2098. package/src/components/ExpressionEditor/BaseEditorInput.js +0 -227
  2099. package/src/components/ExpressionEditor/DataTableEditor.d.ts +0 -17
  2100. package/src/components/ExpressionEditor/DataTableEditor.js +0 -52
  2101. package/src/components/ExpressionEditor/EditorButton.d.ts +0 -7
  2102. package/src/components/ExpressionEditor/EditorButton.js +0 -35
  2103. package/src/components/ExpressionEditor/EditorContext.d.ts +0 -11
  2104. package/src/components/ExpressionEditor/EditorContext.js +0 -9
  2105. package/src/components/ExpressionEditor/EditorInput.d.ts +0 -16
  2106. package/src/components/ExpressionEditor/EditorInput.js +0 -84
  2107. package/src/components/ExpressionEditor/EditorInputWithWhereClause.d.ts +0 -14
  2108. package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +0 -55
  2109. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.d.ts +0 -7
  2110. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +0 -7
  2111. package/src/components/ExpressionEditor/ExpressionPreview.d.ts +0 -7
  2112. package/src/components/ExpressionEditor/ExpressionPreview.js +0 -16
  2113. package/src/components/ExpressionEditor/NamedQueryContext.d.ts +0 -10
  2114. package/src/components/ExpressionEditor/NamedQueryEditor.d.ts +0 -5
  2115. package/src/components/ExpressionEditor/NamedQueryEditor.js +0 -14
  2116. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.d.ts +0 -25
  2117. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +0 -95
  2118. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.d.ts +0 -35
  2119. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +0 -190
  2120. package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.d.ts +0 -22
  2121. package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +0 -179
  2122. package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.d.ts +0 -2
  2123. package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.js +0 -15
  2124. package/src/components/ExpressionEditor/QueryBuilder/utils.d.ts +0 -15
  2125. package/src/components/ExpressionEditor/QueryBuilder/utils.js +0 -118
  2126. package/src/components/ExpressionEditor/editorButtonsAggregatedBoolean.d.ts +0 -2
  2127. package/src/components/ExpressionEditor/editorButtonsAggregatedBoolean.js +0 -62
  2128. package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.d.ts +0 -2
  2129. package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +0 -42
  2130. package/src/components/ExpressionEditor/editorButtonsCumulativeAggregatedScalar.d.ts +0 -2
  2131. package/src/components/ExpressionEditor/editorButtonsCumulativeAggregatedScalar.js +0 -47
  2132. package/src/components/ExpressionEditor/editorButtonsObservable.d.ts +0 -2
  2133. package/src/components/ExpressionEditor/editorButtonsObservable.js +0 -47
  2134. package/src/components/ExpressionEditor/editorButtonsQuantileAggregatedScalar.d.ts +0 -2
  2135. package/src/components/ExpressionEditor/editorButtonsQuantileAggregatedScalar.js +0 -22
  2136. package/src/components/ExpressionEditor/editorButtonsSearch.js +0 -70
  2137. package/src/components/ExpressionEditor/index.d.ts +0 -26
  2138. package/src/components/ExpressionEditor/index.js +0 -193
  2139. package/src/components/NewSelect/index.d.ts +0 -77
  2140. package/src/components/NewSelect/index.js +0 -86
  2141. package/src/components/NewTooltip/index.d.ts +0 -8
  2142. package/src/components/NewTooltip/index.js +0 -8
  2143. package/src/components/Tree/treeUtils.d.ts +0 -10
  2144. package/src/components/Tree/treeUtils.js +0 -21
  2145. package/src/components/WarningBox/index.d.ts +0 -8
  2146. package/src/components/WarningBox/index.js +0 -7
  2147. package/src/components/ui/button.d.ts +0 -11
  2148. package/src/components/ui/button.js +0 -35
  2149. package/src/components/ui/combobox.d.ts +0 -50
  2150. package/src/components/ui/combobox.js +0 -126
  2151. package/src/components/ui/textarea.d.ts +0 -3
  2152. package/src/components/ui/textarea.js +0 -7
  2153. package/src/components/utils/useSelectionRange.d.ts +0 -5
  2154. package/src/components/utils/useSelectionRange.js +0 -20
  2155. package/src/parser/src/ExpressionEvaluationError.d.ts +0 -4
  2156. package/src/parser/src/ExpressionEvaluationError.js +0 -8
  2157. package/src/parser/src/evaluator.d.ts +0 -2
  2158. package/src/parser/src/evaluator.js +0 -23
  2159. package/src/parser/src/index.d.ts +0 -9
  2160. package/src/parser/src/index.js +0 -28
  2161. package/src/parser/src/parser.d.ts +0 -2
  2162. package/src/parser/src/parser.js +0 -729
  2163. package/src/parser/src/predicate/index.d.ts +0 -2
  2164. package/src/parser/src/predicate/index.js +0 -2
  2165. package/src/parser/src/predicate/mapExpressionToQlPredicate.d.ts +0 -3
  2166. package/src/parser/src/predicate/mapExpressionToQlPredicate.js +0 -95
  2167. package/src/parser/src/predicate/mapQlPredicateToExpression.d.ts +0 -3
  2168. package/src/parser/src/predicate/mapQlPredicateToExpression.js +0 -124
  2169. package/src/parser/src/predicate/types.d.ts +0 -20
  2170. package/src/parser/src/predicate/types.js +0 -1
  2171. package/src/parser/src/tokenizer.d.ts +0 -2
  2172. package/src/parser/src/tokenizer.js +0 -25
  2173. package/src/parser/src/types.d.ts +0 -316
  2174. package/src/parser/src/types.js +0 -3
  2175. package/src/parser/src/utils.d.ts +0 -4
  2176. package/src/parser/src/utils.js +0 -30
  2177. /package/src/AdaptableOptions/{PredicateOptions.js → CalculatedColumnOptions.js} +0 -0
  2178. /package/src/AdaptableState/Common/{AdaptableRowContext.js → AlternativeModuleIcon.js} +0 -0
  2179. /package/src/{Api/PredicateApi.js → AdaptableState/Common/CompactCalculatedColumnEditorInfo.js} +0 -0
  2180. /package/src/{View/Components/SharedProps/ConfigEntityRowProps.js → Api/Events/ColumnFilterChanged.js} +0 -0
  2181. /package/src/{View/UIInterfaces.js → Api/Events/NoteChanged.js} +0 -0
  2182. /package/src/View/AdaptableWizardView/{Utils.d.ts → Utilities/Utils.d.ts} +0 -0
  2183. /package/src/View/AdaptableWizardView/{Utils.js → Utilities/Utils.js} +0 -0
  2184. /package/src/View/AdaptableWizardView/{helper.d.ts → Utilities/helper.d.ts} +0 -0
  2185. /package/src/View/AdaptableWizardView/{helper.js → Utilities/helper.js} +0 -0
  2186. /package/src/View/Charting/{ChartingWizard → Wizard}/AgChargingWizard/AgChargingWizard.d.ts +0 -0
  2187. /package/src/View/Charting/{ChartingWizard → Wizard}/AgChargingWizard/AgChargingWizard.js +0 -0
  2188. /package/src/View/Charting/{ChartingWizard → Wizard}/AgChargingWizard/PreviewChartSection.d.ts +0 -0
  2189. /package/src/View/Charting/{ChartingWizard → Wizard}/AgChargingWizard/PreviewChartSection.js +0 -0
  2190. /package/src/View/Charting/{ChartingWizard → Wizard}/AgChargingWizard/SettingsSection.d.ts +0 -0
  2191. /package/src/View/Charting/{ChartingWizard → Wizard}/AgChargingWizard/index.d.ts +0 -0
  2192. /package/src/View/Charting/{ChartingWizard → Wizard}/AgChargingWizard/index.js +0 -0
  2193. /package/src/View/Charting/{ChartingWizard → Wizard}/ChartingWizard.d.ts +0 -0
  2194. /package/src/View/Charting/{ChartingWizard → Wizard}/ChartingWizard.js +0 -0
  2195. /package/src/View/Charting/{ChartingWizard → Wizard}/ExternalChartingWizard/ExternalChartingWizard.d.ts +0 -0
  2196. /package/src/View/Charting/{ChartingWizard → Wizard}/ExternalChartingWizard/ExternalChartingWizard.js +0 -0
  2197. /package/src/View/Charting/{ChartingWizard → Wizard}/ExternalChartingWizard/PreviewChartSection.d.ts +0 -0
  2198. /package/src/View/Charting/{ChartingWizard → Wizard}/ExternalChartingWizard/PreviewChartSection.js +0 -0
  2199. /package/src/View/Charting/{ChartingWizard → Wizard}/ExternalChartingWizard/SettingsSection.d.ts +0 -0
  2200. /package/src/View/Charting/{ChartingWizard → Wizard}/ExternalChartingWizard/SettingsSection.js +0 -0
  2201. /package/src/View/Charting/{ChartingWizard → Wizard}/ExternalChartingWizard/index.d.ts +0 -0
  2202. /package/src/View/Charting/{ChartingWizard → Wizard}/ExternalChartingWizard/index.js +0 -0
  2203. /package/src/View/Charting/{ChartingWizard → Wizard}/index.d.ts +0 -0
  2204. /package/src/View/Charting/{ChartingWizard → Wizard}/index.js +0 -0
  2205. /package/src/View/DataImport/{DataImportWizard → Wizard}/DataImportWizard.d.ts +0 -0
  2206. /package/src/View/DataImport/{DataImportWizard → Wizard}/index.d.ts +0 -0
  2207. /package/src/View/DataImport/{DataImportWizard → Wizard}/index.js +0 -0
  2208. /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/ColumnsSection.d.ts +0 -0
  2209. /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/DataPreview.d.ts +0 -0
  2210. /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/UploadSection/UploadFileSection.d.ts +0 -0
  2211. /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/UploadSection/UploadFileSection.js +0 -0
  2212. /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/UploadSection/UploadSection.d.ts +0 -0
  2213. /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/UploadSection/UploadSection.js +0 -0
  2214. /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/UploadSection/UploadTextSection.d.ts +0 -0
  2215. /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/UploadSection/UploadTextSection.js +0 -0
  2216. /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/UploadSection/index.d.ts +0 -0
  2217. /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/UploadSection/index.js +0 -0
  2218. /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/ValidationSection.d.ts +0 -0
  2219. /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/ValidationSection.js +0 -0
  2220. /package/src/View/{Components → Filter}/FilterForm/ListBoxFilterForm.d.ts +0 -0
  2221. /package/src/View/GridInfo/{GridInfoPopup/AdaptableObjectsSummary.d.ts → AdaptableObjectsSummary.d.ts} +0 -0
  2222. /package/src/View/Layout/{Wizard/sections/Utilities.js → Utilities/columnFilter.js} +0 -0
  2223. /package/src/View/Layout/{Wizard/sections → Utilities}/columnLayoutHelpers.js +0 -0
  2224. /package/src/View/Layout/{Wizard/sections → Utilities}/layoutWizardAccordionHelpers.js +0 -0
  2225. /package/src/{Strategy/Utilities → View/ObjectItemViews}/Alert/getAlertBehaviourViewItems.js +0 -0
  2226. /package/src/{Strategy/Utilities → View/ObjectItemViews}/Alert/getAlertPreviewViewItems.js +0 -0
  2227. /package/src/{Strategy/Utilities → View/ObjectItemViews}/Alert/getAlertTypeViewItems.d.ts +0 -0
  2228. /package/src/{Strategy/Utilities → View/ObjectItemViews}/Alert/getAlertTypeViewItems.js +0 -0
  2229. /package/src/{Strategy/Utilities → View/ObjectItemViews}/CustomSort/getCustomSortSortOrderViewItems.d.ts +0 -0
  2230. /package/src/{Strategy/Utilities → View/ObjectItemViews}/CustomSort/getCustomSortSortOrderViewItems.js +0 -0
  2231. /package/src/{Strategy/Utilities → View/ObjectItemViews}/Export/formatScheduledReportSummary.d.ts +0 -0
  2232. /package/src/{Strategy/Utilities → View/ObjectItemViews}/Export/getExportRowsViewItems.d.ts +0 -0
  2233. /package/src/{Strategy/Utilities → View/ObjectItemViews}/Export/getReportSchedulesViewItems.d.ts +0 -0
  2234. /package/src/{Strategy/Utilities → View/ObjectItemViews}/Export/getReportSchedulesViewItems.js +0 -0
  2235. /package/src/{Strategy/Utilities → View/ObjectItemViews}/FlashingCell/getFlashingCellDurationViewItems.d.ts +0 -0
  2236. /package/src/{Strategy/Utilities → View/ObjectItemViews}/FlashingCell/getFlashingCellDurationViewItems.js +0 -0
  2237. /package/src/{Strategy/Utilities → View/ObjectItemViews}/FlashingCell/getFlashingCellStyleViewItems.js +0 -0
  2238. /package/src/{Strategy/Utilities → View/ObjectItemViews}/FlashingCell/getFlashingTargetViewItems.js +0 -0
  2239. /package/src/{Strategy/Utilities → View/ObjectItemViews}/FormatColumn/getFormatColumnRowTargetItems.d.ts +0 -0
  2240. /package/src/{Strategy/Utilities → View/ObjectItemViews}/FormatColumn/getFormatColumnRowTargetItems.js +0 -0
  2241. /package/src/{Strategy/Utilities → View/ObjectItemViews}/FormatColumn/getFormatColumnSettingsViewItems.d.ts +0 -0
  2242. /package/src/{Strategy/Utilities → View/ObjectItemViews}/FormatColumn/getFormatColumnSettingsViewItems.js +0 -0
  2243. /package/src/{Strategy/Utilities → View/ObjectItemViews}/Layout/aggregationSummaryHelpers.d.ts +0 -0
  2244. /package/src/{Strategy/Utilities → View/ObjectItemViews}/Layout/aggregationSummaryHelpers.js +0 -0
  2245. /package/src/{Strategy/Utilities → View/ObjectItemViews}/Layout/rowGroupSummaryHelpers.d.ts +0 -0
  2246. /package/src/{Strategy/Utilities → View/ObjectItemViews}/Layout/rowGroupSummaryHelpers.js +0 -0
  2247. /package/src/{Strategy/Utilities → View/ObjectItemViews}/Shortcut/getShortcutSettingsViewItems.d.ts +0 -0
  2248. /package/src/{Strategy/Utilities → View/ObjectItemViews}/Shortcut/getShortcutSettingsViewItems.js +0 -0
  2249. /package/src/View/Shortcut/{shortcutKeys.d.ts → Utilities/shortcutKeys.d.ts} +0 -0
  2250. /package/src/View/Shortcut/{shortcutKeys.js → Utilities/shortcutKeys.js} +0 -0
  2251. /package/src/View/StatusBar/{statusBarPanelHelpers.js → Utilities/statusBarPanelHelpers.js} +0 -0
  2252. /package/src/View/{Components → StyledColumn}/Badge/index.d.ts +0 -0
  2253. /package/src/View/{Components → StyledColumn}/RangesComponent.d.ts +0 -0
  2254. /package/src/View/{SpecialColumnSettingsWizardStep.d.ts → Wizard/SpecialColumnSettingsWizardStep.d.ts} +0 -0
  2255. /package/src/View/Wizard/{useKeyboardNavigation.js → Utilities/useKeyboardNavigation.js} +0 -0
  2256. /package/src/View/{Components → Wizard}/wizardColumnListStyles.d.ts +0 -0
  2257. /package/src/View/{Components → Wizard}/wizardColumnListStyles.js +0 -0
  2258. /package/src/agGrid/{agGridDataTypeDefinitions.d.ts → AgGridDataTypeDefinitions.d.ts} +0 -0
  2259. /package/src/{Utilities/createAgStatusPanelComponent.d.ts → agGrid/AgGridStatusPanelCreator.d.ts} +0 -0
  2260. /package/src/{Utilities → aql}/adaptableQlUtils.d.ts +0 -0
  2261. /package/src/{Utilities → aql}/adaptableQlUtils.js +0 -0
  2262. /package/src/components/{ExpressionEditor → aql/ExpressionEditor}/NamedQueryContext.js +0 -0
  2263. /package/src/components/{ExpressionEditor → aql/ExpressionEditor}/editorButtonsSearch.d.ts +0 -0
  2264. /package/src/components/{ExpressionEditor → aql}/QueryBuilder/index.d.ts +0 -0
  2265. /package/src/components/{ExpressionEditor → aql}/QueryBuilder/index.js +0 -0
@@ -0,0 +1,164 @@
1
+ const isNumber = (value) => typeof value === 'number' && !Number.isNaN(value);
2
+ const filterByTrigger = (entries, triggers) => triggers === 'default' ? entries : entries.filter((entry) => triggers.has(entry.trigger));
3
+ /** Entries the reader sees for `window` × `triggers`, oldest → newest. */
4
+ export const selectEntries = (view, window, triggers, now) => {
5
+ switch (window.kind) {
6
+ case 'within':
7
+ return filterByTrigger(view.entries(window.ms, now), triggers);
8
+ case 'lastN': {
9
+ const all = filterByTrigger(view.entries(undefined, now), triggers);
10
+ return all.length > window.n ? all.slice(all.length - window.n) : all;
11
+ }
12
+ default:
13
+ return filterByTrigger(view.entries(undefined, now), triggers);
14
+ }
15
+ };
16
+ const expiryOf = (window, oldest) => window.kind === 'within' && oldest ? oldest.t + window.ms : undefined;
17
+ const sumTriggerCounts = (view, triggers) => {
18
+ let total = 0;
19
+ triggers.forEach((trigger) => {
20
+ total += view.countByTrigger(trigger);
21
+ });
22
+ return total;
23
+ };
24
+ export const changeCount = (view, window, triggers, now) => {
25
+ if (!view) {
26
+ return { value: 0 };
27
+ }
28
+ if (window.kind === 'within') {
29
+ if (triggers === 'default') {
30
+ return {
31
+ value: view.countInWindow(window.ms, now),
32
+ nextChangeAt: expiryOf(window, view.oldestInWindow(window.ms, now)),
33
+ };
34
+ }
35
+ const entries = selectEntries(view, window, triggers, now);
36
+ return { value: entries.length, nextChangeAt: expiryOf(window, entries[0]) };
37
+ }
38
+ const total = triggers === 'default' ? view.cumulativeCount : sumTriggerCounts(view, triggers);
39
+ return { value: window.kind === 'lastN' ? Math.min(window.n, total) : total };
40
+ };
41
+ /**
42
+ * `NO_CHANGES`: nothing selected changed in the window **and** the window has
43
+ * fully elapsed since `epoch` (observation start, or the row's add). Without
44
+ * a window: nothing selected ever changed since `epoch`.
45
+ */
46
+ export const noChanges = (view, window, triggers, now, epoch) => {
47
+ if (window.kind !== 'within') {
48
+ return { value: changeCount(view, { kind: 'cumulative' }, triggers, now).value === 0 };
49
+ }
50
+ const elapsedAt = epoch + window.ms;
51
+ if (now < elapsedAt) {
52
+ return { value: false, nextChangeAt: elapsedAt };
53
+ }
54
+ const count = changeCount(view, window, triggers, now);
55
+ return { value: count.value === 0, nextChangeAt: count.nextChangeAt };
56
+ };
57
+ /** Newest selected entry, or `undefined` when nothing selected was recorded. */
58
+ const lastSelectedEntry = (view, triggers, now) => {
59
+ if (!view) {
60
+ return undefined;
61
+ }
62
+ if (triggers === 'default') {
63
+ return view.lastEntry;
64
+ }
65
+ const entries = filterByTrigger(view.entries(undefined, now), triggers);
66
+ return entries[entries.length - 1];
67
+ };
68
+ /** `SINCE_CHANGE`: milliseconds since the last selected change, `null` before the first. */
69
+ export const sinceChange = (view, triggers, now) => {
70
+ const last = lastSelectedEntry(view, triggers, now);
71
+ return { value: last === undefined ? null : Math.max(0, now - last.t) };
72
+ };
73
+ /** `CHANGED_AT`: instant of the last selected change, `null` before the first. */
74
+ export const changedAt = (view, triggers, now) => {
75
+ const last = lastSelectedEntry(view, triggers, now);
76
+ return { value: last === undefined ? null : new Date(last.t) };
77
+ };
78
+ /** `{ start, end }` operands of a net change, or `undefined` when there is no history. */
79
+ const changeBounds = (view, window, triggers, now) => {
80
+ if (window.kind === 'cumulative' && triggers === 'default') {
81
+ if (view.cumulativeCount === 0 || !view.lastEntry) {
82
+ return undefined;
83
+ }
84
+ return { start: view.firstOldValue, end: view.lastEntry.newValue };
85
+ }
86
+ const entries = selectEntries(view, window, triggers, now);
87
+ if (entries.length === 0 || !view.lastEntry) {
88
+ return undefined;
89
+ }
90
+ return { start: entries[0].oldValue, end: view.lastEntry.newValue, nextChangeAt: expiryOf(window, entries[0]) };
91
+ };
92
+ export const netChange = (view, window, triggers, now) => {
93
+ if (!view) {
94
+ return { value: null };
95
+ }
96
+ const bounds = changeBounds(view, window, triggers, now);
97
+ if (!bounds || !isNumber(bounds.start) || !isNumber(bounds.end)) {
98
+ return { value: null, nextChangeAt: bounds?.nextChangeAt };
99
+ }
100
+ return { value: bounds.end - bounds.start, nextChangeAt: bounds.nextChangeAt };
101
+ };
102
+ export const percentChange = (view, window, triggers, now) => {
103
+ if (!view) {
104
+ return { value: null };
105
+ }
106
+ const bounds = changeBounds(view, window, triggers, now);
107
+ if (!bounds || !isNumber(bounds.start) || !isNumber(bounds.end) || bounds.start === 0) {
108
+ return { value: null, nextChangeAt: bounds?.nextChangeAt };
109
+ }
110
+ return { value: ((bounds.end - bounds.start) / bounds.start) * 100, nextChangeAt: bounds.nextChangeAt };
111
+ };
112
+ const extremum = (mode, view, window, triggers, now) => {
113
+ if (!view) {
114
+ return { value: null };
115
+ }
116
+ if (triggers === 'default') {
117
+ if (window.kind === 'cumulative') {
118
+ const value = mode === 'max' ? view.cumulativeHighest : view.cumulativeLowest;
119
+ return { value: value ?? null };
120
+ }
121
+ if (window.kind === 'within') {
122
+ const oldest = view.oldestInWindow(window.ms, now);
123
+ if (!oldest) {
124
+ return { value: null };
125
+ }
126
+ const value = mode === 'max' ? view.highest(window.ms, now) : view.lowest(window.ms, now);
127
+ return { value: value ?? null, nextChangeAt: expiryOf(window, oldest) };
128
+ }
129
+ }
130
+ const entries = selectEntries(view, window, triggers, now);
131
+ let result;
132
+ for (const entry of entries) {
133
+ if (!isNumber(entry.newValue)) {
134
+ continue;
135
+ }
136
+ if (result === undefined || (mode === 'max' ? entry.newValue >= result : entry.newValue <= result)) {
137
+ result = entry.newValue;
138
+ }
139
+ }
140
+ return { value: result ?? null, nextChangeAt: expiryOf(window, entries[0]) };
141
+ };
142
+ export const highest = (view, window, triggers, now) => extremum('max', view, window, triggers, now);
143
+ export const lowest = (view, window, triggers, now) => extremum('min', view, window, triggers, now);
144
+ /** `oldValue` of the n-th most recent selected change (`n = 1` → the previous value). */
145
+ export const previous = (view, n, triggers, now) => {
146
+ if (!view || !Number.isFinite(n) || n < 1) {
147
+ return { value: null };
148
+ }
149
+ const entries = filterByTrigger(view.entries(undefined, now), triggers);
150
+ if (entries.length < n) {
151
+ return { value: null };
152
+ }
153
+ return { value: entries[entries.length - n].oldValue };
154
+ };
155
+ /** Milliseconds since the row was added, `null` for rows without an `Add` event. */
156
+ export const rowAge = (addedAt, now) => ({
157
+ value: addedAt === undefined ? null : Math.max(0, now - addedAt),
158
+ });
159
+ export const addedAt = (addedAtMs) => ({
160
+ value: addedAtMs === undefined ? null : new Date(addedAtMs),
161
+ });
162
+ /** `ROWS_ADDED` / `ROWS_REMOVED`: a change count over the row-event series. */
163
+ export const rowEventCount = (view, window, now) => changeCount(view, window, 'default', now);
164
+ //# sourceMappingURL=operators.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operators.js","sourceRoot":"","sources":["../../../../src/store/history/operators.ts"],"names":[],"mappings":"AAWA,MAAM,QAAQ,GAAG,CAAC,KAAc,EAAmB,EAAE,CACnD,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAEpD,MAAM,eAAe,GAAG,CACtB,OAAoC,EACpC,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AI,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC;CAC5D,CAAC,CAAC;AAEH,+EAA+E;AAC/E,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,IAA+B,EAC/B,MAAqB,EACrB,GAAW,EACW,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Bounded FIFO. `push` overwrites the oldest element when full and counts it
3
+ * as dropped. Elements are expected in non-decreasing `t` order so
4
+ * `expireBefore` can advance from the head.
5
+ */
6
+ export declare class RingBuffer<T extends {
7
+ readonly t: number;
8
+ }> {
9
+ private readonly capacity;
10
+ private items;
11
+ private head;
12
+ private count;
13
+ private droppedCount;
14
+ constructor(capacity: number);
15
+ get size(): number;
16
+ get dropped(): number;
17
+ /** Returns the element evicted by capacity, if any. */
18
+ push(item: T): T | undefined;
19
+ at(index: number): T | undefined;
20
+ peekOldest(): T | undefined;
21
+ peekNewest(): T | undefined;
22
+ popOldest(): T | undefined;
23
+ /**
24
+ * Removes elements with `t <= before` from the head while keeping at least
25
+ * `minKeep` elements. Returns the removed elements (oldest first).
26
+ */
27
+ expireBefore(before: number, minKeep?: number): T[];
28
+ /** Removes the oldest elements until `size <= keep`. */
29
+ trimTo(keep: number): T[];
30
+ /** Index of the first element with `t > after` (== size when none). */
31
+ firstIndexAfter(after: number): number;
32
+ toArray(fromIndex?: number): T[];
33
+ clear(): void;
34
+ }
35
+ //# sourceMappingURL=ringBuffer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ringBuffer.d.ts","sourceRoot":"","sources":["../../../../src/store/history/ringBuffer.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,qBAAa,UAAU,CAAC,CAAC,SAAS;IAAE,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAA;CAAE;IAM1C,OAAO,CAAC,QAAQ,CAAC,QAAQ;IALrC,OAAO,CAAC,KAAK,CAAoB;IACjC,OAAO,CAAC,IAAI,CAAK;IACjB,OAAO,CAAC,KAAK,CAAK;IAClB,OAAO,CAAC,YAAY,CAAK;gBAEI,QAAQ,EAAE,MAAM;IAO7C,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED,uDAAuD;IACvD,IAAI,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,GAAG,SAAS;IAe5B,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS;IAOhC,UAAU,IAAI,CAAC,GAAG,SAAS;IAI3B,UAAU,IAAI,CAAC,GAAG,SAAS;IAI3B,SAAS,IAAI,CAAC,GAAG,SAAS;IAW1B;;;OAGG;IACH,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,SAAI,GAAG,CAAC,EAAE;IAY9C,wDAAwD;IACxD,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,EAAE;IAQzB,uEAAuE;IACvE,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IActC,OAAO,CAAC,SAAS,SAAI,GAAG,CAAC,EAAE;IAQ3B,KAAK,IAAI,IAAI;CAKd"}
@@ -0,0 +1,113 @@
1
+ /**
2
+ * Bounded FIFO. `push` overwrites the oldest element when full and counts it
3
+ * as dropped. Elements are expected in non-decreasing `t` order so
4
+ * `expireBefore` can advance from the head.
5
+ */
6
+ export class RingBuffer {
7
+ capacity;
8
+ items;
9
+ head = 0;
10
+ count = 0;
11
+ droppedCount = 0;
12
+ constructor(capacity) {
13
+ this.capacity = capacity;
14
+ if (!Number.isFinite(capacity) || capacity < 1) {
15
+ throw new Error(`RingBuffer capacity must be >= 1, got ${capacity}`);
16
+ }
17
+ this.items = new Array(capacity);
18
+ }
19
+ get size() {
20
+ return this.count;
21
+ }
22
+ get dropped() {
23
+ return this.droppedCount;
24
+ }
25
+ /** Returns the element evicted by capacity, if any. */
26
+ push(item) {
27
+ let evicted;
28
+ if (this.count === this.capacity) {
29
+ evicted = this.items[this.head];
30
+ this.items[this.head] = undefined;
31
+ this.head = (this.head + 1) % this.capacity;
32
+ this.count -= 1;
33
+ this.droppedCount += 1;
34
+ }
35
+ const tail = (this.head + this.count) % this.capacity;
36
+ this.items[tail] = item;
37
+ this.count += 1;
38
+ return evicted;
39
+ }
40
+ at(index) {
41
+ if (index < 0 || index >= this.count) {
42
+ return undefined;
43
+ }
44
+ return this.items[(this.head + index) % this.capacity];
45
+ }
46
+ peekOldest() {
47
+ return this.at(0);
48
+ }
49
+ peekNewest() {
50
+ return this.at(this.count - 1);
51
+ }
52
+ popOldest() {
53
+ if (this.count === 0) {
54
+ return undefined;
55
+ }
56
+ const item = this.items[this.head];
57
+ this.items[this.head] = undefined;
58
+ this.head = (this.head + 1) % this.capacity;
59
+ this.count -= 1;
60
+ return item;
61
+ }
62
+ /**
63
+ * Removes elements with `t <= before` from the head while keeping at least
64
+ * `minKeep` elements. Returns the removed elements (oldest first).
65
+ */
66
+ expireBefore(before, minKeep = 0) {
67
+ const removed = [];
68
+ while (this.count > minKeep) {
69
+ const oldest = this.items[this.head];
70
+ if (oldest.t > before) {
71
+ break;
72
+ }
73
+ removed.push(this.popOldest());
74
+ }
75
+ return removed;
76
+ }
77
+ /** Removes the oldest elements until `size <= keep`. */
78
+ trimTo(keep) {
79
+ const removed = [];
80
+ while (this.count > keep) {
81
+ removed.push(this.popOldest());
82
+ }
83
+ return removed;
84
+ }
85
+ /** Index of the first element with `t > after` (== size when none). */
86
+ firstIndexAfter(after) {
87
+ let lo = 0;
88
+ let hi = this.count;
89
+ while (lo < hi) {
90
+ const mid = (lo + hi) >> 1;
91
+ if (this.at(mid).t > after) {
92
+ hi = mid;
93
+ }
94
+ else {
95
+ lo = mid + 1;
96
+ }
97
+ }
98
+ return lo;
99
+ }
100
+ toArray(fromIndex = 0) {
101
+ const out = [];
102
+ for (let index = Math.max(0, fromIndex); index < this.count; index++) {
103
+ out.push(this.at(index));
104
+ }
105
+ return out;
106
+ }
107
+ clear() {
108
+ this.items = new Array(this.capacity);
109
+ this.head = 0;
110
+ this.count = 0;
111
+ }
112
+ }
113
+ //# sourceMappingURL=ringBuffer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ringBuffer.js","sourceRoot":"","sources":["../../../../src/store/history/ringBuffer.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,OAAO,UAAU;IAMQ;IALrB,KAAK,CAAoB;IACzB,IAAI,GAAG,CAAC,CAAC;IACT,KAAK,GAAG,CAAC,CAAC;IACV,YAAY,GAAG,CAAC,CAAC;IAEzB,YAA6B,QAAgB;QAAhB,aAAQ,GAAR,QAAQ,CAAQ;QAC3C,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,QAAQ,GAAG,CAAC,EAAE,CAAC;YAC/C,MAAM,IAAI,KAAK,CAAC,yCAAyC,QAAQ,EAAE,CAAC,CAAC;QACvE,CAAC;QACD,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,CAAC,QAAQ,CAAC,CAAC;IACnC,CAAC;IAED,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,uDAAuD;IACvD,IAAI,CAAC,IAAO;QACV,IAAI,OAAsB,CAAC;QAC3B,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,QAAQ,EAAE,CAAC;YACjC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAChC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC;YAClC,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;YAC5C,IAAI,CAAC,KAAK,IAAI,CAA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C,EAAE,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC;YACrE,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAM,CAAC,CAAC;QAChC,CAAC;QACD,OAAO,GAAG,CAAC;IACb,CAAC;IAED,KAAK;QACH,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACtC,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;QACd,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;IACjB,CAAC;CACF"}
@@ -0,0 +1,52 @@
1
+ import type { ChangeTrigger, HistoryEntry, Retention, RowSeriesView } from './types';
2
+ /**
3
+ * One cell's (or one grid-scope series') recorded history: a bounded ring
4
+ * buffer of entries, sliding max / min deques mirroring the buffer, and
5
+ * cumulative counters that survive retention pruning.
6
+ *
7
+ * Expiry runs eagerly on push and lazily on every read, against the owning
8
+ * series' effective retention (`getRetention()`): entries older than the
9
+ * retention window are dropped from the head while at least
10
+ * `retention.count` entries are kept.
11
+ */
12
+ export declare class RowSeries implements RowSeriesView {
13
+ private readonly getRetention;
14
+ private readonly now;
15
+ private readonly buffer;
16
+ private readonly highestDeque;
17
+ private readonly lowestDeque;
18
+ private readonly triggerCounts;
19
+ private seq;
20
+ private hasFirst;
21
+ private first;
22
+ private last;
23
+ private count;
24
+ private high;
25
+ private low;
26
+ /** Max `t` among entries pruned by the retention window (not by capacity / count). */
27
+ private lastExpiredT;
28
+ constructor(capacity: number, getRetention: () => Retention, now: () => number);
29
+ get cumulativeCount(): number;
30
+ countByTrigger(trigger: ChangeTrigger): number;
31
+ get cumulativeHighest(): number | undefined;
32
+ get cumulativeLowest(): number | undefined;
33
+ get firstOldValue(): unknown;
34
+ get lastEntry(): HistoryEntry | undefined;
35
+ get retainedCount(): number;
36
+ get dropped(): number;
37
+ push(input: HistoryEntry): void;
38
+ /** Prunes per retention; mirrors the buffer into the deques. */
39
+ expire(now: number): void;
40
+ entries(windowMs?: number, now?: number): ReadonlyArray<HistoryEntry>;
41
+ countInWindow(windowMs: number, now: number): number;
42
+ oldestInWindow(windowMs: number, now: number): HistoryEntry | undefined;
43
+ highest(windowMs: number | undefined, now: number): number | undefined;
44
+ lowest(windowMs: number | undefined, now: number): number | undefined;
45
+ private extremum;
46
+ /** `t + windowMs` of the oldest in-window entry, `undefined` when the window is empty. */
47
+ nextExpiryAt(windowMs: number, now: number): number | undefined;
48
+ /** Whether some entry's `windowMs` expiry instant falls in `(sinceT, now]`. */
49
+ hasExpiryIn(windowMs: number, sinceT: number, now: number): boolean;
50
+ clear(): void;
51
+ }
52
+ //# sourceMappingURL=rowSeries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rowSeries.d.ts","sourceRoot":"","sources":["../../../../src/store/history/rowSeries.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAMrF;;;;;;;;;GASG;AACH,qBAAa,SAAU,YAAW,aAAa;IAsB3C,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,GAAG;IAtBtB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IACjD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA6B;IAC1D,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA6B;IACzD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAK5B;IACF,OAAO,CAAC,GAAG,CAAK;IAChB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,KAAK,CAAU;IACvB,OAAO,CAAC,IAAI,CAA2B;IACvC,OAAO,CAAC,KAAK,CAAK;IAClB,OAAO,CAAC,IAAI,CAAqB;IACjC,OAAO,CAAC,GAAG,CAAqB;IAChC,sFAAsF;IACtF,OAAO,CAAC,YAAY,CAAqB;gBAGvC,QAAQ,EA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IAQnE,KAAK,IAAI,IAAI;CAed"}
@@ -0,0 +1,177 @@
1
+ import { MonotonicDeque } from './monotonicDeque.js';
2
+ import { RingBuffer } from './ringBuffer.js';
3
+ /**
4
+ * One cell's (or one grid-scope series') recorded history: a bounded ring
5
+ * buffer of entries, sliding max / min deques mirroring the buffer, and
6
+ * cumulative counters that survive retention pruning.
7
+ *
8
+ * Expiry runs eagerly on push and lazily on every read, against the owning
9
+ * series' effective retention (`getRetention()`): entries older than the
10
+ * retention window are dropped from the head while at least
11
+ * `retention.count` entries are kept.
12
+ */
13
+ export class RowSeries {
14
+ getRetention;
15
+ now;
16
+ buffer;
17
+ highestDeque = new MonotonicDeque('max');
18
+ lowestDeque = new MonotonicDeque('min');
19
+ triggerCounts = {
20
+ edit: 0,
21
+ tick: 0,
22
+ undo: 0,
23
+ calculated: 0,
24
+ };
25
+ seq = 0;
26
+ hasFirst = false;
27
+ first;
28
+ last;
29
+ count = 0;
30
+ high;
31
+ low;
32
+ /** Max `t` among entries pruned by the retention window (not by capacity / count). */
33
+ lastExpiredT;
34
+ constructor(capacity, getRetention, now) {
35
+ this.getRetention = getRetention;
36
+ this.now = now;
37
+ this.buffer = new RingBuffer(capacity);
38
+ }
39
+ get cumulativeCount() {
40
+ return this.count;
41
+ }
42
+ countByTrigger(trigger) {
43
+ return this.triggerCounts[trigger] ?? 0;
44
+ }
45
+ get cumulativeHighest() {
46
+ return this.high;
47
+ }
48
+ get cumulativeLowest() {
49
+ return this.low;
50
+ }
51
+ get firstOldValue() {
52
+ return this.first;
53
+ }
54
+ get lastEntry() {
55
+ return this.last;
56
+ }
57
+ get retainedCount() {
58
+ return this.buffer.size;
59
+ }
60
+ get dropped() {
61
+ return this.buffer.dropped;
62
+ }
63
+ push(input) {
64
+ // Entries must be time-ordered for head expiry; clamp clock skew.
65
+ const t = this.last && input.t < this.last.t ? this.last.t : input.t;
66
+ const entry = { t, oldValue: input.oldValue, newValue: input.newValue, trigger: input.trigger, seq: this.seq++ };
67
+ if (!this.hasFirst) {
68
+ this.hasFirst = true;
69
+ this.first = entry.oldValue;
70
+ }
71
+ this.last = entry;
72
+ this.count += 1;
73
+ this.triggerCounts[entry.trigger] = (this.triggerCounts[entry.trigger] ?? 0) + 1;
74
+ if (typeof entry.newValue === 'number' && !Number.isNaN(entry.newValue)) {
75
+ const value = entry.newValue;
76
+ this.high = this.high === undefined || value >= this.high ? value : this.high;
77
+ this.low = this.low === undefined || value <= this.low ? value : this.low;
78
+ this.highestDeque.push(t, entry.seq, value);
79
+ this.lowestDeque.push(t, entry.seq, value);
80
+ }
81
+ this.buffer.push(entry);
82
+ this.expire(t);
83
+ }
84
+ /** Prunes per retention; mirrors the buffer into the deques. */
85
+ expire(now) {
86
+ const retention = this.getRetention();
87
+ const minKeep = retention.count ?? 0;
88
+ if (retention.windowMs !== undefined) {
89
+ const removed = this.buffer.expireBefore(now - retention.windowMs, minKeep);
90
+ if (removed.length > 0) {
91
+ const newest = removed[removed.length - 1].t;
92
+ this.lastExpiredT = this.lastExpiredT === undefined ? newest : Math.max(this.lastExpiredT, newest);
93
+ }
94
+ }
95
+ else {
96
+ this.buffer.trimTo(minKeep);
97
+ }
98
+ const oldest = this.buffer.peekOldest();
99
+ const minSeq = oldest ? oldest.seq : this.seq;
100
+ this.highestDeque.dropBelowSeq(minSeq);
101
+ this.lowestDeque.dropBelowSeq(minSeq);
102
+ }
103
+ entries(windowMs, now) {
104
+ const at = now ?? this.now();
105
+ this.expire(at);
106
+ if (windowMs === undefined) {
107
+ return this.buffer.toArray();
108
+ }
109
+ return this.buffer.toArray(this.buffer.firstIndexAfter(at - windowMs));
110
+ }
111
+ countInWindow(windowMs, now) {
112
+ this.expire(now);
113
+ return this.buffer.size - this.buffer.firstIndexAfter(now - windowMs);
114
+ }
115
+ oldestInWindow(windowMs, now) {
116
+ this.expire(now);
117
+ return this.buffer.at(this.buffer.firstIndexAfter(now - windowMs));
118
+ }
119
+ highest(windowMs, now) {
120
+ return this.extremum('max', windowMs, now);
121
+ }
122
+ lowest(windowMs, now) {
123
+ return this.extremum('min', windowMs, now);
124
+ }
125
+ extremum(mode, windowMs, now) {
126
+ if (windowMs === undefined) {
127
+ return mode === 'max' ? this.high : this.low;
128
+ }
129
+ this.expire(now);
130
+ const retention = this.getRetention();
131
+ // Fast path: the buffer holds exactly the window when no count retention
132
+ // widens it and the reader window is the retention window.
133
+ if (retention.count === undefined && retention.windowMs !== undefined && windowMs >= retention.windowMs) {
134
+ return (mode === 'max' ? this.highestDeque : this.lowestDeque).peek();
135
+ }
136
+ let result;
137
+ for (let index = this.buffer.firstIndexAfter(now - windowMs); index < this.buffer.size; index++) {
138
+ const value = this.buffer.at(index).newValue;
139
+ if (typeof value !== 'number' || Number.isNaN(value)) {
140
+ continue;
141
+ }
142
+ if (result === undefined || (mode === 'max' ? value >= result : value <= result)) {
143
+ result = value;
144
+ }
145
+ }
146
+ return result;
147
+ }
148
+ /** `t + windowMs` of the oldest in-window entry, `undefined` when the window is empty. */
149
+ nextExpiryAt(windowMs, now) {
150
+ const oldest = this.oldestInWindow(windowMs, now);
151
+ return oldest ? oldest.t + windowMs : undefined;
152
+ }
153
+ /** Whether some entry's `windowMs` expiry instant falls in `(sinceT, now]`. */
154
+ hasExpiryIn(windowMs, sinceT, now) {
155
+ if (this.lastExpiredT !== undefined && this.lastExpiredT + windowMs > sinceT) {
156
+ return true;
157
+ }
158
+ const candidate = this.buffer.at(this.buffer.firstIndexAfter(sinceT - windowMs));
159
+ return candidate !== undefined && candidate.t + windowMs <= now;
160
+ }
161
+ clear() {
162
+ this.buffer.clear();
163
+ this.highestDeque.clear();
164
+ this.lowestDeque.clear();
165
+ this.hasFirst = false;
166
+ this.first = undefined;
167
+ this.last = undefined;
168
+ this.count = 0;
169
+ this.high = undefined;
170
+ this.low = undefined;
171
+ this.lastExpiredT = undefined;
172
+ for (const trigger of Object.keys(this.triggerCounts)) {
173
+ this.triggerCounts[trigger] = 0;
174
+ }
175
+ }
176
+ }
177
+ //# sourceMappingURL=rowSeries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rowSeries.js","sourceRoot":"","sources":["../../../../src/store/history/rowSeries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO1C;;;;;;;;;GASG;AACH,MAAM,OAAO,SAAS;IAsBD;IACA;IAtBF,MAAM,CAA0B;IAChC,YAAY,GAAG,IAAI,cAAc,CAAC,KAAK,CAAC,CAAC;IACzC,WAAW,GAAG,IAAI,cAAc,CAAC,KAAK,CAAC,CAAC;IACxC,aAAa,GAAkC;QAC9D,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,CAAC;QACP,UAAU,EAAE,CAAC;KACd,CAAC;IACM,GAAG,GAAG,CAAC,CAAC;IACR,QAAQ,GAAG,KAAK,CAAC;IACjB,KAAK,CAAU;IACf,IAAI,CAA2B;IAC/B,KAAK,GAAG,CAAC,CAAC;IACV,IAAI,CAAqB;IACzB,GAAG,CAAqB;IAChC,sFAAsF;IAC9E,YAAY,CAAqB;IAEzC,YACE,QAAgB,EACC,YAA6B,EAC7B,GAAiB;QADjB,iBAAY,GAAZ,YAAY,CAAiB;QAC7B,QAAG,GAAH,GAAG,CAAc;QAElC,IAAI,CAAC,MAAM,GAAG,IAAI,UAAU,CAAc,QAAQ,CAAC,CAAC;IACtD,CAAC;IAED,IAAI,eAAe;QACjB,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED,cAAc,CAAC,OAAsB;QACnC,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1C,CAAC;IAED,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;IAED,IAAI,gBAAgB;QAClB,OAAO,IAAI,CAAC,GAAG,CAAC;IAClB,CAAC;IAED,IAAI,aAAa;Q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