@adaptabletools/adaptable 16.2.4 → 17.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 (1336) hide show
  1. package/agGrid.js +26 -32
  2. package/base.css +56 -0
  3. package/base.css.map +1 -1
  4. package/index.css +82 -0
  5. package/index.css.map +1 -1
  6. package/package.json +104 -1
  7. package/publishTimestamp.d.ts +1 -1
  8. package/publishTimestamp.js +1 -3
  9. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +1 -2
  10. package/src/AdaptableInterfaces/IAdaptable.d.ts +1 -0
  11. package/src/AdaptableInterfaces/IAdaptable.js +1 -2
  12. package/src/AdaptableOptions/ActionColumnOptions.js +1 -2
  13. package/src/AdaptableOptions/ActionRowOptions.js +1 -2
  14. package/src/AdaptableOptions/AdaptableFrameworkComponent.js +1 -2
  15. package/src/AdaptableOptions/AdaptableOptions.d.ts +2 -2
  16. package/src/AdaptableOptions/AdaptableOptions.js +1 -2
  17. package/src/AdaptableOptions/AdaptablePlugin.js +1 -5
  18. package/src/AdaptableOptions/AlertOptions.js +1 -2
  19. package/src/AdaptableOptions/CalendarOptions.js +1 -2
  20. package/src/AdaptableOptions/CellSummaryOptions.js +1 -2
  21. package/src/AdaptableOptions/ChartingOptions.js +1 -2
  22. package/src/AdaptableOptions/ColumnFilterOptions.d.ts +224 -0
  23. package/src/AdaptableOptions/ColumnFilterOptions.js +1 -0
  24. package/src/AdaptableOptions/ColumnOptions.js +1 -2
  25. package/src/AdaptableOptions/ContainerOptions.js +1 -2
  26. package/src/AdaptableOptions/CustomSortOptions.js +1 -2
  27. package/src/AdaptableOptions/DashboardOptions.js +1 -2
  28. package/src/AdaptableOptions/DataChangeHistoryOptions.js +1 -2
  29. package/src/AdaptableOptions/DataImportOptions.js +1 -2
  30. package/src/AdaptableOptions/DataSetOptions.js +1 -2
  31. package/src/AdaptableOptions/DateInputOptions.js +1 -2
  32. package/src/AdaptableOptions/EditOptions.js +1 -2
  33. package/src/AdaptableOptions/EntitlementOptions.js +1 -2
  34. package/src/AdaptableOptions/ExportOptions.d.ts +18 -0
  35. package/src/AdaptableOptions/ExportOptions.js +1 -2
  36. package/src/AdaptableOptions/ExpressionOptions.js +1 -2
  37. package/src/AdaptableOptions/Fdc3Options.js +2 -5
  38. package/src/AdaptableOptions/FilterOptions.d.ts +5 -13
  39. package/src/AdaptableOptions/FilterOptions.js +1 -2
  40. package/src/AdaptableOptions/FinancePluginOptions.js +1 -2
  41. package/src/AdaptableOptions/FinsemblePluginOptions.js +1 -2
  42. package/src/AdaptableOptions/FlashingCellOptions.js +1 -2
  43. package/src/AdaptableOptions/FormatColumnOptions.js +1 -2
  44. package/src/AdaptableOptions/Glue42PluginOptions.js +1 -2
  45. package/src/AdaptableOptions/Glue42WebPluginOptions.js +1 -2
  46. package/src/AdaptableOptions/GroupingOptions.js +1 -2
  47. package/src/AdaptableOptions/IPushPullPluginOptions.js +1 -2
  48. package/src/AdaptableOptions/LayoutOptions.js +1 -2
  49. package/src/AdaptableOptions/MasterDetailPluginOptions.js +1 -2
  50. package/src/AdaptableOptions/MenuOptions.d.ts +2 -2
  51. package/src/AdaptableOptions/MenuOptions.js +41 -27
  52. package/src/AdaptableOptions/NotesOptions.js +1 -2
  53. package/src/AdaptableOptions/NotificationsOptions.js +1 -2
  54. package/src/AdaptableOptions/OpenFinPluginOptions.js +1 -2
  55. package/src/AdaptableOptions/PredicateOptions.js +1 -2
  56. package/src/AdaptableOptions/QuickSearchOptions.d.ts +20 -0
  57. package/src/AdaptableOptions/QuickSearchOptions.js +1 -2
  58. package/src/AdaptableOptions/SettingsPanelOptions.js +1 -2
  59. package/src/AdaptableOptions/StateOptions.d.ts +1 -1
  60. package/src/AdaptableOptions/StateOptions.js +1 -2
  61. package/src/AdaptableOptions/TeamSharingOptions.js +1 -2
  62. package/src/AdaptableOptions/ToolPanelOptions.js +1 -2
  63. package/src/AdaptableOptions/UserInterfaceOptions.js +1 -2
  64. package/src/Api/ActionColumnApi.js +1 -2
  65. package/src/Api/ActionRowApi.js +1 -2
  66. package/src/Api/AdaptableApi.d.ts +11 -6
  67. package/src/Api/AdaptableApi.js +1 -2
  68. package/src/Api/AlertApi.js +1 -2
  69. package/src/Api/ApplicationApi.js +1 -2
  70. package/src/Api/BulkUpdateApi.js +1 -2
  71. package/src/Api/CalculatedColumnApi.js +1 -2
  72. package/src/Api/CalendarApi.js +1 -2
  73. package/src/Api/CellSummaryApi.js +1 -2
  74. package/src/Api/ChartingApi.js +1 -2
  75. package/src/Api/ColumnApi.js +1 -2
  76. package/src/Api/{FilterApi.d.ts → ColumnFilterApi.d.ts} +1 -1
  77. package/src/Api/ColumnFilterApi.js +1 -0
  78. package/src/Api/ConfigApi.d.ts +3 -4
  79. package/src/Api/ConfigApi.js +1 -2
  80. package/src/Api/CustomSortApi.js +1 -2
  81. package/src/Api/DashboardApi.d.ts +22 -0
  82. package/src/Api/DashboardApi.js +1 -2
  83. package/src/Api/DataChangeHistoryApi.js +1 -2
  84. package/src/Api/DataImportApi.js +1 -2
  85. package/src/Api/DataSetApi.js +1 -2
  86. package/src/Api/EntitlementApi.js +1 -2
  87. package/src/Api/EventApi.d.ts +18 -9
  88. package/src/Api/EventApi.js +1 -2
  89. package/src/Api/Events/ActionRowSubmitted.js +1 -2
  90. package/src/Api/Events/AdaptableReady.js +1 -2
  91. package/src/Api/Events/AdaptableSearchState.d.ts +5 -0
  92. package/src/Api/Events/AdaptableSearchState.js +1 -2
  93. package/src/Api/Events/AdaptableStateChanged.js +1 -2
  94. package/src/Api/Events/AdaptableStateReloaded.js +1 -2
  95. package/src/Api/Events/AlertFired.js +1 -2
  96. package/src/Api/Events/BaseEventInfo.js +1 -2
  97. package/src/Api/Events/CellChanged.js +1 -2
  98. package/src/Api/Events/ChartChanged.js +1 -2
  99. package/src/Api/Events/ChexboxColumnClicked.js +1 -2
  100. package/src/Api/Events/{FilterApplied.d.ts → ColumnFilterApplied.d.ts} +2 -2
  101. package/src/Api/Events/ColumnFilterApplied.js +1 -0
  102. package/src/Api/Events/CustomToolbarConfigured.js +1 -2
  103. package/src/Api/Events/DashboardChanged.js +1 -2
  104. package/src/Api/Events/DataImported.js +1 -2
  105. package/src/Api/Events/DataSetSelected.js +1 -2
  106. package/src/Api/Events/Fdc3MessageInfo.js +1 -2
  107. package/src/Api/Events/FlashingCellDisplayed.js +1 -2
  108. package/src/Api/Events/GridDataChanged.js +1 -2
  109. package/src/Api/Events/GridFilterApplied.d.ts +14 -0
  110. package/src/Api/Events/GridFilterApplied.js +1 -0
  111. package/src/Api/Events/GridSorted.js +1 -2
  112. package/src/Api/Events/LayoutChanged.js +1 -2
  113. package/src/Api/Events/LiveDataChanged.js +1 -2
  114. package/src/Api/Events/QueryRun.d.ts +1 -0
  115. package/src/Api/Events/QueryRun.js +1 -2
  116. package/src/Api/Events/ScheduleTriggered.js +1 -2
  117. package/src/Api/Events/SelectionChanged.js +1 -2
  118. package/src/Api/Events/SystemStatusMessageDisplayed.js +1 -2
  119. package/src/Api/Events/TeamSharingEntityChanged.js +1 -2
  120. package/src/Api/Events/ThemeChanged.js +1 -2
  121. package/src/Api/Events/ThemeEdited.js +1 -2
  122. package/src/Api/ExportApi.js +1 -2
  123. package/src/Api/ExpressionApi.js +1 -2
  124. package/src/Api/Fdc3Api.js +1 -2
  125. package/src/Api/FinsembleApi.js +1 -2
  126. package/src/Api/FlashingCellApi.js +1 -2
  127. package/src/Api/FormatColumnApi.d.ts +4 -0
  128. package/src/Api/FormatColumnApi.js +1 -2
  129. package/src/Api/FreeTextColumnApi.js +1 -2
  130. package/src/Api/Glue42Api.js +1 -2
  131. package/src/Api/Glue42WebApi.js +1 -2
  132. package/src/Api/GridApi.js +1 -2
  133. package/src/Api/GridFilterApi.d.ts +21 -0
  134. package/src/Api/GridFilterApi.js +1 -0
  135. package/src/Api/IPushPullApi.js +1 -2
  136. package/src/Api/Implementation/ActionColumnApiImpl.js +2 -6
  137. package/src/Api/Implementation/ActionRowApiImpl.js +8 -12
  138. package/src/Api/Implementation/AdaptableApiImpl.d.ts +6 -4
  139. package/src/Api/Implementation/AdaptableApiImpl.js +99 -101
  140. package/src/Api/Implementation/AlertApiImpl.js +18 -23
  141. package/src/Api/Implementation/ApiBase.d.ts +5 -16
  142. package/src/Api/Implementation/ApiBase.js +15 -17
  143. package/src/Api/Implementation/ApplicationApiImpl.js +3 -8
  144. package/src/Api/Implementation/BulkUpdateApiImpl.js +5 -10
  145. package/src/Api/Implementation/CalculatedColumnApiImpl.js +6 -11
  146. package/src/Api/Implementation/CalendarApiImpl.js +2 -6
  147. package/src/Api/Implementation/CellSummaryApiImpl.js +17 -22
  148. package/src/Api/Implementation/ChartingApiImpl.js +13 -18
  149. package/src/Api/Implementation/ColumnApiImpl.js +10 -15
  150. package/src/Api/Implementation/{FilterApiImpl.d.ts → ColumnFilterApiImpl.d.ts} +4 -4
  151. package/src/Api/Implementation/{FilterApiImpl.js → ColumnFilterApiImpl.js} +9 -14
  152. package/src/Api/Implementation/ConfigApiImpl.d.ts +2 -3
  153. package/src/Api/Implementation/ConfigApiImpl.js +42 -46
  154. package/src/Api/Implementation/CustomSortApiImpl.js +6 -11
  155. package/src/Api/Implementation/DashboardApiImpl.d.ts +5 -0
  156. package/src/Api/Implementation/DashboardApiImpl.js +27 -17
  157. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +10 -15
  158. package/src/Api/Implementation/DataImportApiImpl.js +4 -8
  159. package/src/Api/Implementation/DataSetApiImpl.js +6 -11
  160. package/src/Api/Implementation/EntitlementApiImpl.js +2 -6
  161. package/src/Api/Implementation/EventApiImpl.js +4 -9
  162. package/src/Api/Implementation/ExportApiImpl.js +12 -17
  163. package/src/Api/Implementation/ExpressionApiImpl.js +5 -10
  164. package/src/Api/Implementation/Fdc3ApiImpl.js +8 -12
  165. package/src/Api/Implementation/FlashingCellApiImpl.js +6 -11
  166. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -0
  167. package/src/Api/Implementation/FormatColumnApiImpl.js +9 -11
  168. package/src/Api/Implementation/FreeTextColumnApiImpl.js +9 -14
  169. package/src/Api/Implementation/GridApiImpl.js +20 -25
  170. package/src/Api/Implementation/GridFilterApiImpl.d.ts +11 -0
  171. package/src/Api/Implementation/GridFilterApiImpl.js +30 -0
  172. package/src/Api/Implementation/LayoutApiImpl.js +25 -30
  173. package/src/Api/Implementation/NamedQueryApiImpl.d.ts +21 -0
  174. package/src/Api/Implementation/NamedQueryApiImpl.js +52 -0
  175. package/src/Api/Implementation/NotesApiImpl.js +4 -9
  176. package/src/Api/Implementation/OptionsApiImpl.d.ts +3 -2
  177. package/src/Api/Implementation/OptionsApiImpl.js +4 -8
  178. package/src/Api/Implementation/PluginsApiImpl.js +3 -8
  179. package/src/Api/Implementation/PlusMinusApiImpl.js +4 -9
  180. package/src/Api/Implementation/PredicateApiImpl.js +12 -17
  181. package/src/Api/Implementation/QuickSearchApiImpl.js +5 -10
  182. package/src/Api/Implementation/ScheduleApiImpl.js +6 -11
  183. package/src/Api/Implementation/ScopeApiImpl.js +8 -13
  184. package/src/Api/Implementation/SettingsPanelApiImpl.js +3 -8
  185. package/src/Api/Implementation/ShortcutApiImpl.js +4 -9
  186. package/src/Api/Implementation/SmartEditApiImpl.js +5 -10
  187. package/src/Api/Implementation/StatusBarApiImpl.js +5 -9
  188. package/src/Api/Implementation/StyledColumnApiImpl.js +6 -11
  189. package/src/Api/Implementation/SystemStatusApiImpl.js +16 -21
  190. package/src/Api/Implementation/TeamSharingApiImpl.js +12 -17
  191. package/src/Api/Implementation/ThemeApiImpl.js +10 -15
  192. package/src/Api/Implementation/ToolPanelApiImpl.js +6 -11
  193. package/src/Api/Implementation/UserInterfaceApiImpl.js +15 -20
  194. package/src/Api/Internal/ActionRowInternalApi.d.ts +1 -0
  195. package/src/Api/Internal/ActionRowInternalApi.js +18 -9
  196. package/src/Api/Internal/AdaptableInternalApi.js +21 -26
  197. package/src/Api/Internal/AlertInternalApi.d.ts +1 -0
  198. package/src/Api/Internal/AlertInternalApi.js +35 -25
  199. package/src/Api/Internal/CalculatedColumnInternalApi.js +2 -6
  200. package/src/Api/Internal/ChartingInternalApi.js +8 -12
  201. package/src/Api/Internal/{FilterInternalApi.d.ts → ColumnFilterInternalApi.d.ts} +3 -3
  202. package/src/Api/Internal/{FilterInternalApi.js → ColumnFilterInternalApi.js} +25 -30
  203. package/src/Api/Internal/ColumnInternalApi.js +6 -10
  204. package/src/Api/Internal/CustomSortInternalApi.js +2 -6
  205. package/src/Api/Internal/DashboardInternalApi.d.ts +5 -1
  206. package/src/Api/Internal/DashboardInternalApi.js +16 -9
  207. package/src/Api/Internal/DataImportInternalApi.js +5 -10
  208. package/src/Api/Internal/DataSetInternalApi.js +2 -6
  209. package/src/Api/Internal/ExportInternalApi.js +2 -6
  210. package/src/Api/Internal/ExpressionnternalApi.js +2 -6
  211. package/src/Api/Internal/Fdc3InternalApi.js +24 -28
  212. package/src/Api/Internal/FlashingCellInternalApi.js +7 -12
  213. package/src/Api/Internal/FormatColumnInternalApi.js +11 -16
  214. package/src/Api/Internal/FreeTextColumnInternalApi.js +2 -6
  215. package/src/Api/Internal/GridFilterInternalApi.d.ts +4 -0
  216. package/src/Api/Internal/GridFilterInternalApi.js +19 -0
  217. package/src/Api/Internal/GridInternalApi.js +15 -20
  218. package/src/Api/Internal/LayoutInternalApi.d.ts +1 -0
  219. package/src/Api/Internal/LayoutInternalApi.js +14 -18
  220. package/src/Api/Internal/{QueryInternalApi.d.ts → NamedQueryInternalApi.d.ts} +2 -5
  221. package/src/Api/Internal/{QueryInternalApi.js → NamedQueryInternalApi.js} +5 -24
  222. package/src/Api/Internal/PredicateInternalApi.js +2 -6
  223. package/src/Api/Internal/ScheduleInternalApi.js +2 -6
  224. package/src/Api/Internal/StyledColumnInternalApi.js +7 -12
  225. package/src/Api/Internal/SystemStatusInternalApi.js +3 -8
  226. package/src/Api/Internal/TeamSharingInternalApi.js +2 -6
  227. package/src/Api/Internal/ThemeInternalApi.js +5 -9
  228. package/src/Api/Internal/UserInterfaceInternalApi.js +2 -6
  229. package/src/Api/LayoutApi.js +1 -2
  230. package/src/Api/{QueryApi.d.ts → NamedQueryApi.d.ts} +20 -19
  231. package/src/Api/NamedQueryApi.js +1 -0
  232. package/src/Api/NotesAPi.js +1 -2
  233. package/src/Api/OpenFinApi.js +1 -2
  234. package/src/Api/OptionsApi.d.ts +3 -3
  235. package/src/Api/OptionsApi.js +1 -2
  236. package/src/Api/PluginsApi.js +1 -2
  237. package/src/Api/PlusMinusApi.js +1 -2
  238. package/src/Api/PredicateApi.js +1 -2
  239. package/src/Api/QuickSearchApi.js +1 -2
  240. package/src/Api/ScheduleApi.js +1 -2
  241. package/src/Api/ScopeApi.js +1 -2
  242. package/src/Api/SettingsPanelApi.js +1 -2
  243. package/src/Api/ShortcutApi.js +1 -2
  244. package/src/Api/SmartEditApi.js +1 -2
  245. package/src/Api/StatusBarApi.js +1 -2
  246. package/src/Api/StyledColumnApi.js +1 -2
  247. package/src/Api/SystemStatusApi.js +1 -2
  248. package/src/Api/TeamSharingApi.js +1 -2
  249. package/src/Api/ThemeApi.js +1 -2
  250. package/src/Api/ToolPanelApi.js +1 -2
  251. package/src/Api/UserInterfaceApi.js +1 -2
  252. package/src/PredefinedConfig/AdaptableState.d.ts +6 -1
  253. package/src/PredefinedConfig/AdaptableState.js +1 -2
  254. package/src/PredefinedConfig/AlertState.js +1 -2
  255. package/src/PredefinedConfig/ApplicationState.js +1 -2
  256. package/src/PredefinedConfig/CalculatedColumnState.js +1 -2
  257. package/src/PredefinedConfig/ChartingState.js +2 -7
  258. package/src/PredefinedConfig/Common/AdaptableAlert.js +2 -7
  259. package/src/PredefinedConfig/Common/AdaptableButton.js +1 -2
  260. package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +4 -0
  261. package/src/PredefinedConfig/Common/AdaptableColumn.js +1 -5
  262. package/src/PredefinedConfig/Common/AdaptableComparerFunction.js +1 -2
  263. package/src/PredefinedConfig/Common/AdaptableFlashingCell.js +1 -2
  264. package/src/PredefinedConfig/Common/AdaptableForm.js +1 -5
  265. package/src/PredefinedConfig/Common/AdaptableFormat.js +1 -2
  266. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
  267. package/src/PredefinedConfig/Common/AdaptableIcon.js +1 -2
  268. package/src/PredefinedConfig/Common/AdaptableMessageType.js +1 -2
  269. package/src/PredefinedConfig/Common/AdaptableObject.js +1 -2
  270. package/src/PredefinedConfig/Common/AdaptablePredicate.js +55 -59
  271. package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +15 -0
  272. package/src/PredefinedConfig/Common/AdaptableQuery.js +1 -5
  273. package/src/PredefinedConfig/Common/AdaptableScope.js +1 -2
  274. package/src/PredefinedConfig/Common/AdaptableStyle.js +1 -2
  275. package/src/PredefinedConfig/Common/AggregationColumns.js +1 -4
  276. package/src/PredefinedConfig/Common/AlternativeModuleName.js +1 -2
  277. package/src/PredefinedConfig/Common/BaseContext.js +1 -2
  278. package/src/PredefinedConfig/Common/ButtonStyle.js +1 -2
  279. package/src/PredefinedConfig/Common/CellDataChangedInfo.js +1 -2
  280. package/src/PredefinedConfig/Common/CellHighlightInfo.d.ts +0 -1
  281. package/src/PredefinedConfig/Common/CellHighlightInfo.js +1 -2
  282. package/src/PredefinedConfig/Common/CellSummary.js +1 -2
  283. package/src/PredefinedConfig/Common/ColumnFilter.js +1 -2
  284. package/src/PredefinedConfig/Common/ColumnSort.js +1 -2
  285. package/src/PredefinedConfig/Common/DataChangedScope.js +1 -2
  286. package/src/PredefinedConfig/Common/DataUpdateConfig.js +1 -2
  287. package/src/PredefinedConfig/Common/Entitlement.js +1 -2
  288. package/src/PredefinedConfig/Common/Enums.js +26 -29
  289. package/src/PredefinedConfig/Common/Fdc3Context.js +32 -35
  290. package/src/PredefinedConfig/Common/Fdc3Intent.js +64 -67
  291. package/src/PredefinedConfig/Common/FilterActionOnDataChange.js +1 -2
  292. package/src/PredefinedConfig/Common/FormContext.js +1 -2
  293. package/src/PredefinedConfig/Common/GridFilter.d.ts +10 -0
  294. package/src/PredefinedConfig/Common/GridFilter.js +1 -0
  295. package/src/PredefinedConfig/Common/Menu.js +1 -2
  296. package/src/PredefinedConfig/Common/RowHighlightInfo.d.ts +1 -1
  297. package/src/PredefinedConfig/Common/RowHighlightInfo.js +1 -2
  298. package/src/PredefinedConfig/Common/RowsHighlightInfo.js +1 -2
  299. package/src/PredefinedConfig/Common/Schedule.js +1 -2
  300. package/src/PredefinedConfig/Common/SpecialColumnSettings.js +1 -2
  301. package/src/PredefinedConfig/Common/SuspendableObject.js +1 -2
  302. package/src/PredefinedConfig/Common/SystemStatusMessageInfo.js +1 -2
  303. package/src/PredefinedConfig/Common/Types.d.ts +7 -7
  304. package/src/PredefinedConfig/Common/Types.js +14 -17
  305. package/src/PredefinedConfig/ConditionalStyleState.js +1 -2
  306. package/src/PredefinedConfig/ConfigState.js +1 -2
  307. package/src/PredefinedConfig/CustomSortState.js +1 -2
  308. package/src/PredefinedConfig/DashboardState.js +1 -2
  309. package/src/PredefinedConfig/ExportState.js +1 -2
  310. package/src/PredefinedConfig/FlashingCellState.js +1 -2
  311. package/src/PredefinedConfig/FormatColumnState.js +1 -2
  312. package/src/PredefinedConfig/FreeTextColumnState.js +1 -2
  313. package/src/PredefinedConfig/Glue42State.js +1 -2
  314. package/src/PredefinedConfig/GridState.js +1 -2
  315. package/src/PredefinedConfig/IPushPullState.js +1 -2
  316. package/src/PredefinedConfig/InternalState.js +1 -2
  317. package/src/PredefinedConfig/LayoutState.d.ts +5 -1
  318. package/src/PredefinedConfig/LayoutState.js +1 -2
  319. package/src/PredefinedConfig/NamedQueryState.d.ts +25 -0
  320. package/src/PredefinedConfig/NamedQueryState.js +1 -0
  321. package/src/PredefinedConfig/NotesState.js +1 -2
  322. package/src/PredefinedConfig/OpenFinState.js +1 -2
  323. package/src/PredefinedConfig/PlusMinusState.js +1 -2
  324. package/src/PredefinedConfig/PopupState.js +1 -2
  325. package/src/PredefinedConfig/PredefinedConfig.d.ts +2 -2
  326. package/src/PredefinedConfig/PredefinedConfig.js +1 -2
  327. package/src/PredefinedConfig/QueryState.d.ts +4 -15
  328. package/src/PredefinedConfig/QueryState.js +1 -2
  329. package/src/PredefinedConfig/QuickSearchState.js +1 -2
  330. package/src/PredefinedConfig/ScheduleState.js +1 -2
  331. package/src/PredefinedConfig/Selection/GridCell.d.ts +8 -0
  332. package/src/PredefinedConfig/Selection/GridCell.js +1 -2
  333. package/src/PredefinedConfig/Selection/GridCellRange.js +1 -2
  334. package/src/PredefinedConfig/Selection/GridRow.js +1 -2
  335. package/src/PredefinedConfig/Selection/SelectedCellInfo.js +1 -2
  336. package/src/PredefinedConfig/Selection/SelectedRowInfo.js +1 -2
  337. package/src/PredefinedConfig/ShortcutState.js +1 -2
  338. package/src/PredefinedConfig/StatusBarState.js +1 -4
  339. package/src/PredefinedConfig/StyledColumnState.js +1 -2
  340. package/src/PredefinedConfig/SystemState.d.ts +1 -1
  341. package/src/PredefinedConfig/SystemState.js +1 -2
  342. package/src/PredefinedConfig/TeamSharingState.js +2 -7
  343. package/src/PredefinedConfig/ThemeState.js +1 -2
  344. package/src/PredefinedConfig/ToolPanelState.js +1 -2
  345. package/src/PredefinedConfig/Uuid.js +2 -6
  346. package/src/Redux/ActionsReducers/AlertRedux.js +45 -59
  347. package/src/Redux/ActionsReducers/ApplicationRedux.js +15 -22
  348. package/src/Redux/ActionsReducers/BulkUpdateRedux.js +9 -15
  349. package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +20 -29
  350. package/src/Redux/ActionsReducers/CellSummaryRedux.js +3 -7
  351. package/src/Redux/ActionsReducers/ChartingRedux.js +41 -55
  352. package/src/Redux/ActionsReducers/CustomSortRedux.js +41 -54
  353. package/src/Redux/ActionsReducers/DashboardRedux.js +50 -66
  354. package/src/Redux/ActionsReducers/ExportRedux.js +33 -45
  355. package/src/Redux/ActionsReducers/FlashingCellRedux.js +43 -57
  356. package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +7 -0
  357. package/src/Redux/ActionsReducers/FormatColumnRedux.js +60 -65
  358. package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +24 -34
  359. package/src/Redux/ActionsReducers/GridRedux.js +121 -155
  360. package/src/Redux/ActionsReducers/LayoutRedux.d.ts +8 -0
  361. package/src/Redux/ActionsReducers/LayoutRedux.js +90 -95
  362. package/src/Redux/ActionsReducers/NamedQueryRedux.d.ts +43 -0
  363. package/src/Redux/ActionsReducers/NamedQueryRedux.js +74 -0
  364. package/src/Redux/ActionsReducers/NotesRedux.js +21 -31
  365. package/src/Redux/ActionsReducers/PluginsRedux.js +48 -53
  366. package/src/Redux/ActionsReducers/PlusMinusRedux.js +45 -59
  367. package/src/Redux/ActionsReducers/PopupRedux.js +64 -84
  368. package/src/Redux/ActionsReducers/QueryRedux.d.ts +5 -39
  369. package/src/Redux/ActionsReducers/QueryRedux.js +10 -72
  370. package/src/Redux/ActionsReducers/QuickSearchRedux.js +16 -23
  371. package/src/Redux/ActionsReducers/ScheduleRedux.js +179 -222
  372. package/src/Redux/ActionsReducers/ShortcutRedux.js +41 -54
  373. package/src/Redux/ActionsReducers/SmartEditRedux.js +9 -15
  374. package/src/Redux/ActionsReducers/StatusBarRedux.js +12 -19
  375. package/src/Redux/ActionsReducers/StyledColumnRedux.js +41 -54
  376. package/src/Redux/ActionsReducers/SystemRedux.d.ts +1 -1
  377. package/src/Redux/ActionsReducers/SystemRedux.js +254 -324
  378. package/src/Redux/ActionsReducers/SystemStatusRedux.js +6 -11
  379. package/src/Redux/ActionsReducers/TeamSharingRedux.js +40 -55
  380. package/src/Redux/ActionsReducers/ThemeRedux.js +32 -43
  381. package/src/Redux/ActionsReducers/ToolPanelRedux.js +28 -39
  382. package/src/Redux/ActionsReducers/utils.js +3 -9
  383. package/src/Redux/DeadRedux.js +25 -38
  384. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +15 -20
  385. package/src/Redux/Store/AdaptableReduxMerger.js +21 -30
  386. package/src/Redux/Store/AdaptableStore.js +119 -123
  387. package/src/Redux/Store/Interface/IAdaptableStore.js +1 -2
  388. package/src/Redux/Store/Interface/IStorageEngine.js +1 -2
  389. package/src/Strategy/AdaptableModuleBase.js +13 -17
  390. package/src/Strategy/AlertModule.js +36 -41
  391. package/src/Strategy/BulkUpdateModule.js +17 -22
  392. package/src/Strategy/CalculatedColumnModule.js +17 -22
  393. package/src/Strategy/CellSummaryModule.js +17 -22
  394. package/src/Strategy/ChartingModule.js +15 -20
  395. package/src/Strategy/{FilterModule.d.ts → ColumnFilterModule.d.ts} +2 -1
  396. package/src/Strategy/ColumnFilterModule.js +223 -0
  397. package/src/Strategy/ColumnInfoModule.js +3 -8
  398. package/src/Strategy/CustomSortModule.js +12 -17
  399. package/src/Strategy/DashboardModule.js +4 -9
  400. package/src/Strategy/DataChangeHistoryModule.js +10 -15
  401. package/src/Strategy/DataImportModule.js +3 -8
  402. package/src/Strategy/DataSetModule.js +11 -16
  403. package/src/Strategy/ExportModule.js +59 -64
  404. package/src/Strategy/Fdc3Module.js +3 -8
  405. package/src/Strategy/FlashingCellModule.js +29 -34
  406. package/src/Strategy/FormatColumnModule.js +28 -33
  407. package/src/Strategy/FreeTextColumnModule.js +8 -13
  408. package/src/Strategy/GridFilterModule.d.ts +8 -0
  409. package/src/Strategy/GridFilterModule.js +58 -0
  410. package/src/Strategy/GridInfoModule.js +3 -8
  411. package/src/Strategy/Interface/IBulkUpdateModule.js +1 -2
  412. package/src/Strategy/Interface/ICellSummaryModule.js +1 -2
  413. package/src/Strategy/Interface/IExportModule.js +1 -2
  414. package/src/Strategy/Interface/IModule.d.ts +1 -1
  415. package/src/Strategy/Interface/IModule.js +1 -2
  416. package/src/Strategy/Interface/IModuleActionReturn.js +1 -2
  417. package/src/Strategy/Interface/IPlusMinusModule.js +1 -2
  418. package/src/Strategy/Interface/IScheduleModule.js +1 -2
  419. package/src/Strategy/Interface/IShortcutModule.js +1 -2
  420. package/src/Strategy/Interface/ISmartEditModule.js +1 -2
  421. package/src/Strategy/LayoutModule.js +32 -33
  422. package/src/Strategy/{QueryModule.d.ts → NamedQueryModule.d.ts} +7 -8
  423. package/src/Strategy/NamedQueryModule.js +88 -0
  424. package/src/Strategy/NotesModule.js +3 -8
  425. package/src/Strategy/PlusMinusModule.js +24 -27
  426. package/src/Strategy/QuickSearchModule.js +5 -10
  427. package/src/Strategy/ScheduleModule.js +40 -45
  428. package/src/Strategy/SettingsPanelModule.js +4 -9
  429. package/src/Strategy/ShortcutModule.js +21 -26
  430. package/src/Strategy/SmartEditModule.js +22 -27
  431. package/src/Strategy/StateManagementModule.js +3 -8
  432. package/src/Strategy/StatusBarModule.js +3 -8
  433. package/src/Strategy/StyledColumnModule.js +17 -22
  434. package/src/Strategy/SystemStatusModule.js +5 -10
  435. package/src/Strategy/TeamSharingModule.js +32 -37
  436. package/src/Strategy/ThemeModule.js +5 -10
  437. package/src/Strategy/ToolPanelModule.js +8 -13
  438. package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.js +5 -9
  439. package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.js +6 -11
  440. package/src/Strategy/Utilities/Alert/getAlertTypeViewItems.js +4 -8
  441. package/src/Strategy/Utilities/CustomSort/getCustomSortColumnViewItems.js +1 -5
  442. package/src/Strategy/Utilities/CustomSort/getCustomSortSortOrderViewItems.js +1 -5
  443. package/src/Strategy/Utilities/Export/getExportColumnsViewItems.js +1 -5
  444. package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +1 -5
  445. package/src/Strategy/Utilities/FlashingCell/getFlashingCellDurationViewItems.js +1 -5
  446. package/src/Strategy/Utilities/FlashingCell/getFlashingCellStyleViewItems.js +3 -7
  447. package/src/Strategy/Utilities/FlashingCell/getFlashingTargetViewItems.js +1 -5
  448. package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +1 -5
  449. package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.js +5 -10
  450. package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.js +4 -9
  451. package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.js +1 -5
  452. package/src/Strategy/Utilities/Shortcut/getShortcutSettingsViewItems.js +1 -5
  453. package/src/Strategy/Utilities/getExpressionViewItems.js +1 -5
  454. package/src/Strategy/Utilities/getObjectTagsViewItems.js +7 -12
  455. package/src/Strategy/Utilities/getRuleViewItems.js +1 -5
  456. package/src/Strategy/Utilities/getScopeViewItems.js +1 -5
  457. package/src/Strategy/Utilities/updateSingleToMultiplePredicates.js +1 -5
  458. package/src/Utilities/Cancelable.js +1 -2
  459. package/src/Utilities/Constants/ConfigConstants.js +9 -12
  460. package/src/Utilities/Constants/DocumentationLinkConstants.js +14 -17
  461. package/src/Utilities/Constants/GeneralConstants.js +67 -71
  462. package/src/Utilities/Constants/ModuleConstants.d.ts +11 -6
  463. package/src/Utilities/Constants/ModuleConstants.js +118 -116
  464. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +29 -29
  465. package/src/Utilities/Defaults/DefaultSettingsPanel.js +5 -7
  466. package/src/Utilities/Emitter.js +1 -3
  467. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +20 -24
  468. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +51 -54
  469. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.d.ts +1 -0
  470. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +68 -30
  471. package/src/Utilities/ExpressionFunctions/dateUtils.js +1 -5
  472. package/src/Utilities/ExpressionFunctions/deepMap.js +1 -5
  473. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +39 -57
  474. package/src/Utilities/ExpressionFunctions/groupingMap.js +3 -7
  475. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +66 -70
  476. package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +3 -7
  477. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +53 -57
  478. package/src/Utilities/Extensions/ArrayExtensions.js +39 -73
  479. package/src/Utilities/Extensions/EnumExtensions.js +14 -21
  480. package/src/Utilities/Extensions/NumberExtensions.js +4 -9
  481. package/src/Utilities/Extensions/ObjectExtensions.d.ts +1 -0
  482. package/src/Utilities/Extensions/ObjectExtensions.js +5 -7
  483. package/src/Utilities/Extensions/StringExtensions.js +23 -46
  484. package/src/Utilities/Extensions/TypeExtensions.js +1 -5
  485. package/src/Utilities/Helpers/AdaptableHelper.js +55 -66
  486. package/src/Utilities/Helpers/DateHelper.js +18 -28
  487. package/src/Utilities/Helpers/FormatHelper.js +10 -18
  488. package/src/Utilities/Helpers/Helper.js +28 -50
  489. package/src/Utilities/Helpers/PreviewHelper.js +10 -16
  490. package/src/Utilities/Helpers/StyleHelper.js +11 -20
  491. package/src/Utilities/Interface/AdaptableToolPanelContext.js +1 -2
  492. package/src/Utilities/Interface/{ColumnFilterContext.d.ts → ColumnFilterProps.d.ts} +1 -1
  493. package/src/Utilities/Interface/ColumnFilterProps.js +1 -0
  494. package/src/Utilities/Interface/IPPStyle.js +1 -2
  495. package/src/Utilities/Interface/KeyValuePair.js +1 -2
  496. package/src/Utilities/Interface/MessagePopups.js +1 -2
  497. package/src/Utilities/Interface/Preview.js +1 -2
  498. package/src/Utilities/MenuItem.js +4 -11
  499. package/src/Utilities/ObjectFactory.d.ts +1 -2
  500. package/src/Utilities/ObjectFactory.js +124 -167
  501. package/src/Utilities/Services/AggregatedScalarLiveValue.js +3 -7
  502. package/src/Utilities/Services/AlertService.js +11 -16
  503. package/src/Utilities/Services/CalculatedColumnExpressionService.js +9 -13
  504. package/src/Utilities/Services/ChartingService.js +10 -15
  505. package/src/Utilities/Services/DataService.js +8 -13
  506. package/src/Utilities/Services/EntitlementService.js +1 -5
  507. package/src/Utilities/Services/Fdc3Service.js +7 -11
  508. package/src/Utilities/Services/Interface/IAdaptableService.js +1 -2
  509. package/src/Utilities/Services/Interface/IAlertService.js +3 -8
  510. package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.js +1 -2
  511. package/src/Utilities/Services/Interface/IChartingService.js +1 -2
  512. package/src/Utilities/Services/Interface/IDataService.js +1 -2
  513. package/src/Utilities/Services/Interface/IEntitlementService.js +1 -2
  514. package/src/Utilities/Services/Interface/ILicenseService.js +1 -2
  515. package/src/Utilities/Services/Interface/IMetamodelService.js +1 -2
  516. package/src/Utilities/Services/Interface/IModuleService.js +1 -2
  517. package/src/Utilities/Services/Interface/IQueryLanguageService.js +1 -2
  518. package/src/Utilities/Services/Interface/IReportService.d.ts +2 -2
  519. package/src/Utilities/Services/Interface/IReportService.js +1 -2
  520. package/src/Utilities/Services/Interface/IRowEditService.js +1 -2
  521. package/src/Utilities/Services/Interface/ITeamSharingService.js +1 -2
  522. package/src/Utilities/Services/Interface/IThemeService.js +1 -2
  523. package/src/Utilities/Services/Interface/IValidationService.js +1 -2
  524. package/src/Utilities/Services/LicenseService/index.js +1 -1
  525. package/src/Utilities/Services/LicenseService/shouldLogThankYouMessage.js +1 -5
  526. package/src/Utilities/Services/MetamodelService.js +12 -17
  527. package/src/Utilities/Services/ModuleService.d.ts +1 -0
  528. package/src/Utilities/Services/ModuleService.js +17 -16
  529. package/src/Utilities/Services/QueryLanguageService.js +24 -29
  530. package/src/Utilities/Services/ReportService.d.ts +2 -2
  531. package/src/Utilities/Services/ReportService.js +60 -55
  532. package/src/Utilities/Services/RowEditService.js +1 -5
  533. package/src/Utilities/Services/TeamSharingService.js +6 -11
  534. package/src/Utilities/Services/ThemeService.js +1 -5
  535. package/src/Utilities/Services/ValidationService.js +10 -15
  536. package/src/Utilities/getScrollbarSize.js +1 -3
  537. package/src/Utilities/isAdaptableObject.js +1 -5
  538. package/src/Utilities/isMacLike.js +1 -5
  539. package/src/Utilities/license/LicenseDetails.js +1 -2
  540. package/src/Utilities/license/decode.js +1 -1
  541. package/src/Utilities/license/hashing.js +1 -1
  542. package/src/Utilities/logDeprecation.js +3 -9
  543. package/src/Utilities/reorder.js +1 -5
  544. package/src/Utilities/runIfNotResolvedIn.js +1 -5
  545. package/src/Utilities/sortWithOrder.js +1 -5
  546. package/src/Utilities/waitForCondition.js +1 -5
  547. package/src/Utilities/waitForTimeout.js +1 -5
  548. package/src/View/AdaptableContext.js +5 -9
  549. package/src/View/AdaptablePopover/index.js +17 -22
  550. package/src/View/AdaptableView.js +30 -35
  551. package/src/View/AdaptableViewFactory.js +67 -69
  552. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +1 -2
  553. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.js +25 -30
  554. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +42 -44
  555. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +4 -9
  556. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +21 -26
  557. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +4 -9
  558. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +26 -29
  559. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +1 -2
  560. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +17 -20
  561. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +8 -13
  562. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +16 -21
  563. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +24 -29
  564. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +18 -23
  565. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +2 -4
  566. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +3 -5
  567. package/src/View/AdaptableWizardView/Utils.js +1 -5
  568. package/src/View/AdaptableWizardView/Wizard.js +20 -26
  569. package/src/View/AdaptableWizardView/helper.js +4 -10
  570. package/src/View/AdaptableWizardView/index.js +7 -10
  571. package/src/View/Alert/ActiveAlertsPanel.js +9 -14
  572. package/src/View/Alert/ActiveAlertsPanelItemLabel.js +10 -15
  573. package/src/View/Alert/AlertEmptyView.js +4 -9
  574. package/src/View/Alert/AlertEntityRow.js +13 -18
  575. package/src/View/Alert/AlertStatusSubPanel.js +13 -18
  576. package/src/View/Alert/AlertViewPanel.js +17 -21
  577. package/src/View/Alert/AlertsPanel.js +24 -29
  578. package/src/View/Alert/Utilities/getAlertButtonStyle.js +6 -11
  579. package/src/View/Alert/Utilities/getAlertType.js +4 -9
  580. package/src/View/Alert/Utilities/getAvailablePredicates.js +1 -5
  581. package/src/View/Alert/Utilities/getDefaultAlertDefinition.js +8 -13
  582. package/src/View/Alert/Utilities/mapAlertDefinition.js +1 -5
  583. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +43 -50
  584. package/src/View/Alert/Wizard/AlertButtonsEditor.js +38 -43
  585. package/src/View/Alert/Wizard/AlertMessageWizardSection.js +31 -37
  586. package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +39 -45
  587. package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -1
  588. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +23 -30
  589. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +8 -13
  590. package/src/View/Alert/Wizard/AlertSelectQueryWizard.js +14 -19
  591. package/src/View/Alert/Wizard/AlertTypeWizardSection.js +19 -25
  592. package/src/View/Alert/Wizard/AlertWizard.js +60 -65
  593. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +14 -19
  594. package/src/View/Alert/Wizard/isValidAlertRules.js +4 -8
  595. package/src/View/BulkUpdate/BulkUpdatePopup.js +37 -41
  596. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +27 -31
  597. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
  598. package/src/View/CalculatedColumn/CalculatedColumnSummary.js +17 -22
  599. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingsTags.js +1 -5
  600. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +36 -43
  601. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +21 -28
  602. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +33 -40
  603. package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.js +13 -18
  604. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +49 -54
  605. package/src/View/CalculatedColumn/utils.js +1 -5
  606. package/src/View/CellSummary/CellSummaryDetails.js +6 -11
  607. package/src/View/CellSummary/CellSummaryPopover.js +4 -9
  608. package/src/View/CellSummary/CellSummaryPopup.js +8 -12
  609. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +6 -11
  610. package/src/View/CellSummary/CellSummaryStatusPanel.js +11 -16
  611. package/src/View/CellSummary/CellSummaryViewPanel.js +22 -26
  612. package/src/View/Charting/ChartingStatusBarPopover.js +12 -17
  613. package/src/View/Charting/ChartingViewPanel.js +13 -18
  614. package/src/View/Charting/ChartingWizard/AgChargingWizard/AgChargingWizard.js +18 -23
  615. package/src/View/Charting/ChartingWizard/AgChargingWizard/PreviewChartSection.js +9 -14
  616. package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +16 -22
  617. package/src/View/Charting/ChartingWizard/AgChargingWizard/index.js +1 -4
  618. package/src/View/Charting/ChartingWizard/ChartingWizard.js +10 -14
  619. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/ExternalChartingWizard.js +13 -18
  620. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +8 -14
  621. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/index.js +1 -4
  622. package/src/View/Charting/ChartingWizard/index.js +1 -4
  623. package/src/View/Charting/DeleteChartButton.js +6 -11
  624. package/src/View/Charting/EditChartButton.js +8 -13
  625. package/src/View/Charting/ShowChartButton.js +21 -26
  626. package/src/View/Charting/useAgChartState.js +7 -12
  627. package/src/View/Charting/useChartingElements.js +26 -31
  628. package/src/View/Charting/useExternalChartState.js +7 -12
  629. package/src/View/ColumnInfo/ColumnInfo.js +37 -42
  630. package/src/View/ColumnInfo/ColumnInfoPopup.js +8 -13
  631. package/src/View/Components/AdaptableButton/index.js +8 -13
  632. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  633. package/src/View/Components/AdaptableDateInput/index.js +13 -15
  634. package/src/View/Components/AdaptableIconComponent/index.js +6 -11
  635. package/src/View/Components/AdaptableIconComponent/useCustomIcon.js +3 -7
  636. package/src/View/Components/AdaptableIconSelector/index.js +6 -11
  637. package/src/View/Components/AdaptableInput/index.js +8 -11
  638. package/src/View/Components/AdaptableObjectCollection/index.js +6 -11
  639. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +27 -33
  640. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +40 -47
  641. package/src/View/Components/AdaptableObjectList/index.js +1 -5
  642. package/src/View/Components/AdaptableObjectRow/index.js +7 -12
  643. package/src/View/Components/Badge/index.js +6 -11
  644. package/src/View/Components/Buttons/ButtonApply.js +4 -9
  645. package/src/View/Components/Buttons/ButtonBase/index.js +5 -10
  646. package/src/View/Components/Buttons/ButtonClear.js +4 -9
  647. package/src/View/Components/Buttons/ButtonClone.js +4 -9
  648. package/src/View/Components/Buttons/ButtonClose.js +4 -9
  649. package/src/View/Components/Buttons/ButtonConfigure.js +4 -9
  650. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  651. package/src/View/Components/Buttons/ButtonDelete.js +8 -11
  652. package/src/View/Components/Buttons/ButtonEdit.js +4 -9
  653. package/src/View/Components/Buttons/ButtonExpand.js +4 -9
  654. package/src/View/Components/Buttons/ButtonExport.js +4 -9
  655. package/src/View/Components/Buttons/ButtonFunction.js +4 -9
  656. package/src/View/Components/Buttons/ButtonGeneral.js +4 -9
  657. package/src/View/Components/Buttons/ButtonInfo.js +4 -9
  658. package/src/View/Components/Buttons/ButtonInvalid.js +4 -9
  659. package/src/View/Components/Buttons/ButtonLogin.js +4 -9
  660. package/src/View/Components/Buttons/ButtonLogout.js +4 -9
  661. package/src/View/Components/Buttons/ButtonMaximise.js +4 -9
  662. package/src/View/Components/Buttons/ButtonMinimise.js +4 -9
  663. package/src/View/Components/Buttons/ButtonNew.js +4 -9
  664. package/src/View/Components/Buttons/ButtonNewPage.js +4 -9
  665. package/src/View/Components/Buttons/ButtonPause.js +4 -9
  666. package/src/View/Components/Buttons/ButtonPlay.js +5 -10
  667. package/src/View/Components/Buttons/ButtonPreviewDelete.js +4 -7
  668. package/src/View/Components/Buttons/ButtonSave.js +4 -9
  669. package/src/View/Components/Buttons/ButtonSchedule.js +4 -9
  670. package/src/View/Components/Buttons/ButtonShare.js +8 -12
  671. package/src/View/Components/Buttons/ButtonShow.js +4 -9
  672. package/src/View/Components/Buttons/ButtonShowChart.js +4 -9
  673. package/src/View/Components/Buttons/ButtonStop.js +4 -9
  674. package/src/View/Components/Buttons/ButtonUndo.js +4 -9
  675. package/src/View/Components/Buttons/EntityListActionButtons.js +14 -19
  676. package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +4 -8
  677. package/src/View/Components/Buttons/SuspendToggleButton/index.js +1 -4
  678. package/src/View/Components/CellPopup/index.js +10 -14
  679. package/src/View/Components/ColumnSelector/index.js +7 -12
  680. package/src/View/Components/EntityRowItem.js +2 -7
  681. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.js +18 -23
  682. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.js +27 -32
  683. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.js +1 -5
  684. package/src/View/Components/EntityRulesEditor/Utilities.js +1 -5
  685. package/src/View/Components/EntityRulesEditor/index.js +35 -40
  686. package/src/View/Components/ExpressionWizard.js +17 -22
  687. package/src/View/Components/ExternalRenderer.js +6 -10
  688. package/src/View/Components/FilterForm/FilterForm.d.ts +2 -2
  689. package/src/View/Components/FilterForm/FilterForm.js +62 -67
  690. package/src/View/Components/FilterForm/ListBoxFilterForm.js +30 -35
  691. package/src/View/Components/FilterForm/ListBoxMenu.js +8 -13
  692. package/src/View/Components/FilterForm/QuickFilterForm.d.ts +2 -2
  693. package/src/View/Components/FilterForm/QuickFilterForm.js +52 -57
  694. package/src/View/Components/FilterForm/QuickFilterValues.d.ts +2 -2
  695. package/src/View/Components/FilterForm/QuickFilterValues.js +27 -32
  696. package/src/View/Components/FilterForm/Waiting.js +10 -14
  697. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +1 -5
  698. package/src/View/Components/Forms/AdaptableFormControlTextClear.js +10 -14
  699. package/src/View/Components/ListBox/DualListBoxEditor.js +53 -58
  700. package/src/View/Components/ListBox/ListBoxFilterSortComponent.js +10 -15
  701. package/src/View/Components/ModuleProfile.js +4 -9
  702. package/src/View/Components/ModuleSummary/ModuleDetail.js +6 -11
  703. package/src/View/Components/ModuleSummary/ModuleHeader.js +8 -13
  704. package/src/View/Components/ModuleSummary/SummaryRowItem.js +4 -9
  705. package/src/View/Components/ModuleValueSelector/index.js +15 -19
  706. package/src/View/Components/NewScopeComponent.js +45 -52
  707. package/src/View/Components/Panels/FilterFormPanel.d.ts +1 -1
  708. package/src/View/Components/Panels/FilterFormPanel.js +23 -28
  709. package/src/View/Components/Panels/PanelDashboard/index.js +4 -9
  710. package/src/View/Components/Panels/PanelFooter.js +8 -13
  711. package/src/View/Components/Panels/PanelToolPanel/index.js +16 -20
  712. package/src/View/Components/Panels/PanelWithButton.js +16 -21
  713. package/src/View/Components/Panels/PanelWithImage.js +16 -20
  714. package/src/View/Components/Panels/PanelWithRow.js +7 -12
  715. package/src/View/Components/Panels/PanelWithTwoButtons.js +7 -12
  716. package/src/View/Components/Panels/ToolPanelSettingsPanel.js +6 -11
  717. package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +16 -21
  718. package/src/View/Components/PermittedValuesSelector/index.js +1 -5
  719. package/src/View/Components/Popups/AdaptableLoadingScreen.js +6 -11
  720. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +26 -31
  721. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +7 -12
  722. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +21 -25
  723. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +24 -29
  724. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +4 -9
  725. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +11 -16
  726. package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +3 -8
  727. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +12 -17
  728. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +12 -17
  729. package/src/View/Components/Popups/AdaptablePopup/index.js +1 -5
  730. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +10 -15
  731. package/src/View/Components/Popups/AdaptablePopupAlert.js +24 -38
  732. package/src/View/Components/Popups/AdaptablePopupConfirmation.js +25 -30
  733. package/src/View/Components/Popups/AdaptablePopupPrompt.js +18 -23
  734. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +26 -31
  735. package/src/View/Components/Popups/AdaptableToaster.js +13 -18
  736. package/src/View/Components/Popups/FormPopups/FormPopups.js +19 -25
  737. package/src/View/Components/Popups/Utilities.js +10 -17
  738. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +23 -27
  739. package/src/View/Components/Popups/WindowPopups/windowFactory.d.ts +1 -1
  740. package/src/View/Components/Popups/WindowPopups/windowFactory.js +13 -16
  741. package/src/View/Components/PredicateEditor/PredicateEditor.js +21 -26
  742. package/src/View/Components/PreviewResultsPanel.js +13 -18
  743. package/src/View/Components/RangesComponent.js +50 -55
  744. package/src/View/Components/ScopeComponent.js +23 -28
  745. package/src/View/Components/Selectors/ColumnSelector.js +13 -18
  746. package/src/View/Components/Selectors/ColumnValueSelector.js +23 -28
  747. package/src/View/Components/SharedProps/BaseProps.js +1 -2
  748. package/src/View/Components/SharedProps/ConfigEntityRowProps.js +1 -2
  749. package/src/View/Components/SharedProps/EditableConfigEntityState.js +2 -5
  750. package/src/View/Components/SharedProps/ModuleSummaryProps.js +1 -2
  751. package/src/View/Components/SharedProps/ModuleViewPopupProps.js +1 -2
  752. package/src/View/Components/SharedProps/ToolPanelModuleViewPopupProps.js +1 -2
  753. package/src/View/Components/SharedProps/ToolbarModuleViewPopupProps.js +1 -2
  754. package/src/View/Components/SharedProps/ViewPanelProps.js +1 -2
  755. package/src/View/Components/SharedProps/WizardScopeState.js +1 -2
  756. package/src/View/Components/StyleComponent.js +64 -69
  757. package/src/View/Components/StyleVisualItem.js +9 -14
  758. package/src/View/Components/TagValueSelector/index.js +9 -15
  759. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -1
  760. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +39 -44
  761. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +13 -18
  762. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
  763. package/src/View/Components/ToolPanel/ToolPanelPopup.js +24 -28
  764. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +16 -21
  765. package/src/View/Components/ValueSelector/index.js +47 -53
  766. package/src/View/Components/WizardSummaryPage.js +7 -12
  767. package/src/View/Components/WizardSummaryRow.js +6 -11
  768. package/src/View/CustomSort/CustomSortSummary.js +32 -37
  769. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +17 -24
  770. package/src/View/CustomSort/Wizard/CustomSortSummaryWizard.js +4 -9
  771. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +29 -36
  772. package/src/View/CustomSort/Wizard/CustomSortWizard.js +31 -36
  773. package/src/View/Dashboard/CustomDashboardButton.js +7 -12
  774. package/src/View/Dashboard/CustomToolbar.js +19 -25
  775. package/src/View/Dashboard/Dashboard.js +38 -42
  776. package/src/View/Dashboard/DashboardPopup.js +34 -41
  777. package/src/View/Dashboard/DashboardToolbarFactory.js +17 -18
  778. package/src/View/Dashboard/DashboardViewPanel.js +10 -14
  779. package/src/View/Dashboard/ModuleToolbarWrapper.js +8 -13
  780. package/src/View/Dashboard/PinnedDashboard.js +10 -15
  781. package/src/View/Dashboard/PinnedToolbarsSelector.js +14 -24
  782. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +16 -21
  783. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +34 -38
  784. package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +4 -9
  785. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +36 -41
  786. package/src/View/DataChangeHistory/buildActionColumnButton.js +1 -5
  787. package/src/View/DataImport/DataImportPopup.js +12 -17
  788. package/src/View/DataImport/DataImportWizard/DataImportWizard.js +25 -30
  789. package/src/View/DataImport/DataImportWizard/index.js +1 -4
  790. package/src/View/DataImport/DataImportWizard/sections/ColumnsSection.js +29 -34
  791. package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +21 -26
  792. package/src/View/DataImport/DataImportWizard/sections/ImportSection.js +18 -23
  793. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadFileSection.js +5 -10
  794. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadSection.js +17 -22
  795. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadTextSection.js +6 -11
  796. package/src/View/DataImport/DataImportWizard/sections/UploadSection/index.js +1 -4
  797. package/src/View/DataImport/DataImportWizard/sections/ValidationSection.js +18 -23
  798. package/src/View/DataImport/systemFileHandlers.js +5 -9
  799. package/src/View/DataSet/DataSetSelector.js +6 -11
  800. package/src/View/DataSet/DataSetStatusPanelPopover.js +6 -11
  801. package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
  802. package/src/View/DataSet/DataSetViewPanel.js +11 -15
  803. package/src/View/Export/ExportSelector.js +13 -18
  804. package/src/View/Export/ExportTablePopup.js +7 -12
  805. package/src/View/Export/ExportViewPanel.d.ts +1 -1
  806. package/src/View/Export/ExportViewPanel.js +44 -48
  807. package/src/View/Export/ReportExportDropdown.js +16 -21
  808. package/src/View/Export/Wizard/NewReportWizard.js +32 -37
  809. package/src/View/Export/Wizard/ReportColumnTypeWizard.js +14 -19
  810. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +28 -35
  811. package/src/View/Export/Wizard/ReportNameWizardSection.js +21 -28
  812. package/src/View/Export/Wizard/ReportRowTypeWizard.js +14 -19
  813. package/src/View/Export/Wizard/ReportRowsWizardSection.js +31 -38
  814. package/src/View/Export/Wizard/ReportScopeWizard.js +9 -14
  815. package/src/View/Export/Wizard/ReportSettingsWizard.js +18 -23
  816. package/src/View/Export/Wizard/ReportSummaryWizard.js +4 -9
  817. package/src/View/Export/constants.js +2 -5
  818. package/src/View/Filter/ActiveFiltersPanel.js +9 -14
  819. package/src/View/Filter/FilterStatusBarSubPanelPopover.js +4 -9
  820. package/src/View/Filter/FilterSummary.d.ts +1 -1
  821. package/src/View/Filter/FilterSummary.js +20 -25
  822. package/src/View/Filter/FilterViewPanel.d.ts +1 -1
  823. package/src/View/Filter/FilterViewPanel.js +28 -32
  824. package/src/View/FlashingCell/FlashingCellStyle.js +10 -14
  825. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +14 -20
  826. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +8 -13
  827. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +36 -42
  828. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +28 -34
  829. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +44 -49
  830. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +4 -8
  831. package/src/View/FormatColumn/FormatColumnSummary.js +27 -32
  832. package/src/View/FormatColumn/MoveFormatColumn.js +10 -15
  833. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +149 -157
  834. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +6 -11
  835. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +10 -16
  836. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +30 -36
  837. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +17 -25
  838. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +48 -53
  839. package/src/View/FormatColumn/Wizard/constants.js +1 -4
  840. package/src/View/FreeTextColumn/FreeTextColumnSummary.js +27 -32
  841. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +51 -58
  842. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +26 -31
  843. package/src/View/GridFilter/GridFilterExpressionEditor.d.ts +5 -0
  844. package/src/View/GridFilter/GridFilterExpressionEditor.js +56 -0
  845. package/src/View/GridFilter/GridFilterPopup.d.ts +2 -0
  846. package/src/View/GridFilter/GridFilterPopup.js +12 -0
  847. package/src/View/GridFilter/GridFilterStatusbar.d.ts +2 -0
  848. package/src/View/GridFilter/GridFilterStatusbar.js +17 -0
  849. package/src/View/{Query/QueryViewPanel.d.ts → GridFilter/GridFilterViewPanel.d.ts} +6 -7
  850. package/src/View/GridFilter/GridFilterViewPanel.js +165 -0
  851. package/src/View/{Query/ExpandedQueryPopup.d.ts → GridFilter/GridFilterWindowPopup.d.ts} +1 -1
  852. package/src/View/GridFilter/GridFilterWindowPopup.js +5 -0
  853. package/src/View/GridInfo/GridInfoPopup/AdaptableObjectsSummary.js +11 -16
  854. package/src/View/GridInfo/GridInfoPopup/AdaptableOptionsComponent.js +20 -25
  855. package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +33 -38
  856. package/src/View/GridInfo/GridInfoPopup/index.js +1 -4
  857. package/src/View/KeyHint.js +4 -9
  858. package/src/View/Layout/EditCurrentLayoutButton.js +6 -11
  859. package/src/View/Layout/LayoutCloneButton.js +6 -11
  860. package/src/View/Layout/LayoutRadioSelector.js +6 -11
  861. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +6 -11
  862. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  863. package/src/View/Layout/LayoutViewPanel.js +26 -30
  864. package/src/View/Layout/PivotDetailsPopoup.js +7 -12
  865. package/src/View/Layout/SaveLayoutButton.js +12 -17
  866. package/src/View/Layout/Wizard/Components/ColumnLabels.js +11 -15
  867. package/src/View/Layout/Wizard/LayoutWizard.js +47 -52
  868. package/src/View/Layout/Wizard/sections/AggregationsSection.js +37 -44
  869. package/src/View/Layout/Wizard/sections/ColumnsSection.js +62 -68
  870. package/src/View/Layout/Wizard/sections/FilterSection.js +33 -40
  871. package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +21 -27
  872. package/src/View/Layout/Wizard/sections/RowGroupingSection.js +27 -33
  873. package/src/View/Layout/Wizard/sections/SettingsSection.js +29 -35
  874. package/src/View/Layout/Wizard/sections/SortSection.js +26 -32
  875. package/src/View/Layout/Wizard/sections/Utilities.js +1 -5
  876. package/src/View/License/LicenseWatermark.js +1 -1
  877. package/src/View/License/index.js +1 -5
  878. package/src/View/NamedQuery/EditCurrentQueryButton.d.ts +2 -0
  879. package/src/View/NamedQuery/EditCurrentQueryButton.js +11 -0
  880. package/src/View/{Query → NamedQuery}/Wizard/NamedQueryExpressionWizardSection.d.ts +1 -1
  881. package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +30 -0
  882. package/src/View/{Query → NamedQuery}/Wizard/NamedQuerySettingsWizardSection.d.ts +1 -1
  883. package/src/View/NamedQuery/Wizard/NamedQuerySettingsWizardSection.js +38 -0
  884. package/src/View/NamedQuery/Wizard/NamedQueryWizard.js +65 -0
  885. package/src/View/Notes/NotesListing.js +14 -19
  886. package/src/View/Notes/NotesPopup.js +19 -24
  887. package/src/View/PlusMinus/PlusMinusSummary.js +26 -31
  888. package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +12 -18
  889. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +6 -11
  890. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +32 -39
  891. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +26 -31
  892. package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.js +13 -18
  893. package/src/View/QuickSearch/QuickSearchInput.js +13 -18
  894. package/src/View/QuickSearch/QuickSearchPopup.js +26 -30
  895. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +10 -15
  896. package/src/View/QuickSearch/QuickSearchViewPanel.js +4 -9
  897. package/src/View/QuickSearch/useQuickSearchDebounced.js +7 -12
  898. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +8 -13
  899. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +26 -32
  900. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +13 -18
  901. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +24 -29
  902. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +13 -18
  903. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +23 -28
  904. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +15 -20
  905. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +14 -20
  906. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +20 -25
  907. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/index.js +3 -9
  908. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +17 -22
  909. package/src/View/Schedule/Wizard/ScheduleWizard.js +47 -52
  910. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +6 -11
  911. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +43 -50
  912. package/src/View/Shortcut/Wizard/ShortcutWizard.js +32 -37
  913. package/src/View/Shortcut/shortcutKeys.js +1 -4
  914. package/src/View/Shortcut/shortcutOperations.js +6 -9
  915. package/src/View/SmartEdit/SmartEditPopup.js +26 -30
  916. package/src/View/SmartEdit/SmartEditViewPanel.js +30 -34
  917. package/src/View/SpecialColumnSettingsWizardStep.js +33 -38
  918. package/src/View/StateManagement/StateManagementPopup.js +22 -27
  919. package/src/View/StateManagement/StateManagementViewPanel.js +14 -19
  920. package/src/View/StateManagement/components/ClearButton.js +4 -9
  921. package/src/View/StateManagement/components/ExportDropdown.js +7 -12
  922. package/src/View/StateManagement/components/LoadButton.js +6 -11
  923. package/src/View/StateManagement/handleExportState.js +4 -9
  924. package/src/View/StatusBar/AdaptableStatusBar.js +14 -19
  925. package/src/View/StatusBar/StatusBarPanel.js +12 -16
  926. package/src/View/StatusBar/StatusBarPopup.js +14 -19
  927. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +51 -57
  928. package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +135 -140
  929. package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +44 -49
  930. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +17 -24
  931. package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.js +21 -27
  932. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarColumnComparisonPreview.js +9 -14
  933. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarRangesPreview.js +7 -12
  934. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarStylePreview.js +7 -12
  935. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +11 -16
  936. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +55 -62
  937. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/index.js +1 -4
  938. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +23 -29
  939. package/src/View/SystemStatus/SystemStatusEntityRow.js +12 -17
  940. package/src/View/SystemStatus/SystemStatusPopup.js +18 -22
  941. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +8 -13
  942. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
  943. package/src/View/SystemStatus/SystemStatusViewPanel.js +8 -12
  944. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +4 -9
  945. package/src/View/TeamSharing/SharedEntityDependencies.js +12 -18
  946. package/src/View/TeamSharing/SharedEntityObjectView.js +23 -30
  947. package/src/View/TeamSharing/TeamSharingApplyButton.js +6 -11
  948. package/src/View/Theme/ThemeEditor.js +27 -32
  949. package/src/View/Theme/ThemeEditorWindow.js +8 -13
  950. package/src/View/Theme/ThemeField.js +18 -23
  951. package/src/View/Theme/ThemePopup.js +22 -26
  952. package/src/View/Theme/ThemeStatusPanelPopover.js +6 -11
  953. package/src/View/Theme/ThemeViewPanel.js +9 -13
  954. package/src/View/Theme/VariantSelector.js +8 -13
  955. package/src/View/UIHelper.js +120 -152
  956. package/src/View/UIInterfaces.js +1 -2
  957. package/src/View/Wizard/AdaptableWizard.js +24 -30
  958. package/src/View/Wizard/Interface/IAdaptableWizard.js +1 -2
  959. package/src/View/Wizard/ObjectTagsWizardSection.js +14 -20
  960. package/src/View/Wizard/OnePageAdaptableWizard.js +32 -42
  961. package/src/View/Wizard/OnePageWizards.js +50 -59
  962. package/src/View/Wizard/TypeRadio.js +7 -12
  963. package/src/View/Wizard/WizardLegend.js +6 -11
  964. package/src/View/Wizard/useKeyboardNavigation.js +4 -9
  965. package/src/View/renderWithAdaptableContext.js +9 -14
  966. package/src/agGrid/ActionColumnRenderer.js +9 -15
  967. package/src/agGrid/Adaptable.d.ts +4 -0
  968. package/src/agGrid/Adaptable.js +346 -339
  969. package/src/agGrid/AdaptableLogger.js +1 -5
  970. package/src/agGrid/BadgeRenderer.js +6 -11
  971. package/src/agGrid/CheckboxRenderer.js +2 -7
  972. package/src/agGrid/ColumnSetupInfo.js +1 -2
  973. package/src/agGrid/FilterWrapper.js +17 -22
  974. package/src/agGrid/FloatingFilterWrapper.js +12 -17
  975. package/src/agGrid/PercentBarRenderer.js +5 -10
  976. package/src/agGrid/agGridHelper.d.ts +1 -0
  977. package/src/agGrid/agGridHelper.js +112 -108
  978. package/src/agGrid/agGridMenuHelper.js +81 -69
  979. package/src/agGrid/attachAddaptableColumnTypes.js +4 -8
  980. package/src/agGrid/createAgStatusPanelComponent.js +5 -10
  981. package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +12 -16
  982. package/src/agGrid/editors/AdaptableDateEditor/index.js +19 -24
  983. package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +6 -10
  984. package/src/agGrid/editors/AdaptableNumberEditor/index.js +16 -21
  985. package/src/agGrid/index.js +6 -11
  986. package/src/agGrid/weightedAverage.js +10 -17
  987. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +58 -38
  988. package/src/components/AdaptableFormComponent/index.js +1 -4
  989. package/src/components/CheckBox/index.js +13 -17
  990. package/src/components/CodeBlock/index.js +6 -11
  991. package/src/components/ColorPicker/ColorPicker.d.ts +1 -1
  992. package/src/components/ColorPicker/ColorPicker.js +15 -18
  993. package/src/components/ColorPicker/index.js +1 -4
  994. package/src/components/ContainerProps.js +1 -2
  995. package/src/components/Dashboard/Dashboard.js +17 -22
  996. package/src/components/Dashboard/DashboardManager.js +4 -7
  997. package/src/components/Dashboard/DashboardTab.js +1 -5
  998. package/src/components/Dashboard/DashboardToolbar.js +9 -14
  999. package/src/components/Dashboard/index.js +3 -6
  1000. package/src/components/Datepicker/Caption.js +15 -20
  1001. package/src/components/Datepicker/CaptionLabel.js +16 -21
  1002. package/src/components/Datepicker/DatepickerContext.js +4 -9
  1003. package/src/components/Datepicker/index.d.ts +1 -1
  1004. package/src/components/Datepicker/index.js +36 -39
  1005. package/src/components/Dialog/index.js +29 -32
  1006. package/src/components/Dialog/useIsOpen.js +3 -6
  1007. package/src/components/DragAndDropContext/DragAndDropContext.js +2 -6
  1008. package/src/components/DragAndDropContext/ModuleManager.js +13 -18
  1009. package/src/components/DragAndDropContext/TabList.js +19 -27
  1010. package/src/components/DragAndDropContext/UnusedPanel.js +10 -15
  1011. package/src/components/DragAndDropContext/types.js +1 -2
  1012. package/src/components/Drawer/index.js +2 -7
  1013. package/src/components/Dropdown/Arrows.js +5 -8
  1014. package/src/components/Dropdown/index.js +18 -20
  1015. package/src/components/DropdownButton/DropdownButtonItem.js +1 -2
  1016. package/src/components/DropdownButton/index.js +23 -26
  1017. package/src/components/DropdownButton/renderItem.js +4 -7
  1018. package/src/components/DropdownButton/useExpanded.js +9 -12
  1019. package/src/components/EllipsisContainer/index.js +17 -21
  1020. package/src/components/EmptyContent/index.js +8 -10
  1021. package/src/components/ErrorBox/index.js +6 -10
  1022. package/src/components/ExpressionEditor/BaseEditorInput.js +55 -60
  1023. package/src/components/ExpressionEditor/EditorButton.js +8 -10
  1024. package/src/components/ExpressionEditor/EditorContext.js +4 -8
  1025. package/src/components/ExpressionEditor/EditorInput.js +22 -25
  1026. package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +24 -27
  1027. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +10 -15
  1028. package/src/components/ExpressionEditor/NamedQueryContext.d.ts +1 -1
  1029. package/src/components/ExpressionEditor/NamedQueryContext.js +4 -8
  1030. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.d.ts +22 -0
  1031. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +82 -0
  1032. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.d.ts +23 -0
  1033. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +103 -0
  1034. package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.d.ts +22 -0
  1035. package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +172 -0
  1036. package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.d.ts +2 -0
  1037. package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.js +12 -0
  1038. package/src/components/ExpressionEditor/QueryBuilder/index.d.ts +1 -0
  1039. package/src/components/ExpressionEditor/QueryBuilder/index.js +1 -0
  1040. package/src/components/ExpressionEditor/QueryBuilder/utils.d.ts +8 -0
  1041. package/src/components/ExpressionEditor/QueryBuilder/utils.js +83 -0
  1042. package/src/components/ExpressionEditor/editorButtonsAggregatedBoolean.js +1 -4
  1043. package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +1 -4
  1044. package/src/components/ExpressionEditor/editorButtonsCumulativeAggregatedScalar.js +1 -4
  1045. package/src/components/ExpressionEditor/editorButtonsObservable.js +1 -4
  1046. package/src/components/ExpressionEditor/editorButtonsQuantileAggregatedScalar.js +1 -4
  1047. package/src/components/ExpressionEditor/editorButtonsSearch.js +1 -4
  1048. package/src/components/ExpressionEditor/index.d.ts +2 -2
  1049. package/src/components/ExpressionEditor/index.js +140 -113
  1050. package/src/components/FieldWrap/index.js +5 -8
  1051. package/src/components/FileDroppable/FileDroppableState.js +1 -2
  1052. package/src/components/FileDroppable/index.js +29 -33
  1053. package/src/components/FileDroppable/reducer.js +3 -6
  1054. package/src/components/FlexWithFooter.js +9 -11
  1055. package/src/components/FormLayout/index.js +13 -17
  1056. package/src/components/HelpBlock/index.js +6 -10
  1057. package/src/components/Icon/index.js +20 -29
  1058. package/src/components/IconSelector/IconSelector.js +27 -32
  1059. package/src/components/IconSelector/index.js +1 -4
  1060. package/src/components/InfiniteTable/index.js +6 -10
  1061. package/src/components/Input/NumberInput.js +4 -9
  1062. package/src/components/Input/index.d.ts +1 -1
  1063. package/src/components/Input/index.js +8 -11
  1064. package/src/components/List/GridList/index.js +7 -10
  1065. package/src/components/List/ListGroup/index.js +7 -9
  1066. package/src/components/List/ListGroupItem/index.d.ts +1 -1
  1067. package/src/components/List/ListGroupItem/index.js +8 -10
  1068. package/src/components/Loader/Loader.js +4 -10
  1069. package/src/components/Loader/index.js +2 -7
  1070. package/src/components/Logo/index.js +2 -7
  1071. package/src/components/Modal/Backdrop.js +12 -17
  1072. package/src/components/Modal/index.js +19 -23
  1073. package/src/components/NotifyResize/index.js +4 -7
  1074. package/src/components/OverlayTrigger/Overlay.js +19 -23
  1075. package/src/components/OverlayTrigger/index.js +41 -46
  1076. package/src/components/OverlayTrigger/useAgGridClassName.js +5 -7
  1077. package/src/components/OverlayTrigger/utils.js +3 -9
  1078. package/src/components/Panel/index.js +12 -15
  1079. package/src/components/PopupWithFooter.js +8 -11
  1080. package/src/components/ProgressIndicator/ProgressIndicator.js +12 -17
  1081. package/src/components/Radio/index.js +15 -20
  1082. package/src/components/ResizeObserver/getResizeObserverObject.js +1 -5
  1083. package/src/components/ResizeObserver/index.js +17 -24
  1084. package/src/components/SelectList.js +4 -9
  1085. package/src/components/SelectableList/index.js +8 -13
  1086. package/src/components/SimpleButton/index.js +19 -22
  1087. package/src/components/SizedContainer/index.js +9 -11
  1088. package/src/components/StylePreview.js +6 -11
  1089. package/src/components/Table/index.js +4 -7
  1090. package/src/components/Tabs/index.js +28 -34
  1091. package/src/components/Tag/Tag.js +5 -9
  1092. package/src/components/Tag/index.js +1 -5
  1093. package/src/components/Textarea/index.d.ts +1 -1
  1094. package/src/components/Textarea/index.js +8 -11
  1095. package/src/components/Toastify/index.js +1 -10
  1096. package/src/components/Toggle/Toggle.js +8 -12
  1097. package/src/components/Toggle/ToggleGroup.js +4 -9
  1098. package/src/components/Toggle/index.js +2 -5
  1099. package/src/components/ToggleButton/index.js +6 -11
  1100. package/src/components/Tooltip/index.js +4 -7
  1101. package/src/components/WindowModal/WindowModal.js +12 -17
  1102. package/src/components/WindowModal/index.js +1 -4
  1103. package/src/components/WindowModal/useStacking.js +4 -9
  1104. package/src/components/WizardPanel/index.js +5 -8
  1105. package/src/components/icons/DefaultIcon.js +8 -12
  1106. package/src/components/icons/add-row.js +3 -6
  1107. package/src/components/icons/alert.js +3 -6
  1108. package/src/components/icons/align-center.js +3 -6
  1109. package/src/components/icons/align-justify.js +3 -6
  1110. package/src/components/icons/align-left.js +3 -6
  1111. package/src/components/icons/align-right.js +3 -6
  1112. package/src/components/icons/analysis.js +3 -6
  1113. package/src/components/icons/application.js +3 -6
  1114. package/src/components/icons/arrow-down-long.js +3 -6
  1115. package/src/components/icons/arrow-down.js +3 -6
  1116. package/src/components/icons/arrow-expand.js +3 -6
  1117. package/src/components/icons/arrow-left.js +3 -6
  1118. package/src/components/icons/arrow-right.js +3 -6
  1119. package/src/components/icons/arrow-up-long.js +3 -6
  1120. package/src/components/icons/arrow-up.js +3 -6
  1121. package/src/components/icons/attach-file.js +3 -6
  1122. package/src/components/icons/badge.js +3 -6
  1123. package/src/components/icons/blanks.js +3 -6
  1124. package/src/components/icons/bold.js +3 -6
  1125. package/src/components/icons/boolean-list.js +3 -6
  1126. package/src/components/icons/brush.js +3 -6
  1127. package/src/components/icons/build.js +3 -6
  1128. package/src/components/icons/bulk-update.js +3 -6
  1129. package/src/components/icons/calculated-column.js +3 -6
  1130. package/src/components/icons/calendar.js +3 -6
  1131. package/src/components/icons/call.js +3 -6
  1132. package/src/components/icons/campaign.js +3 -6
  1133. package/src/components/icons/case-lower.js +3 -6
  1134. package/src/components/icons/case-sentence.js +3 -6
  1135. package/src/components/icons/case-upper.js +3 -6
  1136. package/src/components/icons/cell-summary.js +3 -6
  1137. package/src/components/icons/cell-validation.js +3 -6
  1138. package/src/components/icons/chart.js +3 -6
  1139. package/src/components/icons/chat.js +3 -6
  1140. package/src/components/icons/check-box-outline.js +3 -6
  1141. package/src/components/icons/check-box.js +3 -6
  1142. package/src/components/icons/check-circle.js +3 -6
  1143. package/src/components/icons/check.js +3 -6
  1144. package/src/components/icons/clone.js +3 -6
  1145. package/src/components/icons/close.js +3 -6
  1146. package/src/components/icons/cloud-upload.js +3 -6
  1147. package/src/components/icons/collapse.js +3 -6
  1148. package/src/components/icons/column-add.js +3 -6
  1149. package/src/components/icons/column-chooser.js +3 -6
  1150. package/src/components/icons/column-filter.js +3 -6
  1151. package/src/components/icons/column-info.js +3 -6
  1152. package/src/components/icons/comment.js +3 -6
  1153. package/src/components/icons/contact.js +3 -6
  1154. package/src/components/icons/contains.js +3 -6
  1155. package/src/components/icons/custom-sort.js +3 -6
  1156. package/src/components/icons/dashboard.js +3 -6
  1157. package/src/components/icons/data-set.js +3 -6
  1158. package/src/components/icons/date-range.js +3 -6
  1159. package/src/components/icons/delete.js +3 -6
  1160. package/src/components/icons/division.js +3 -6
  1161. package/src/components/icons/dock.js +3 -6
  1162. package/src/components/icons/dollar.js +3 -6
  1163. package/src/components/icons/drag.js +3 -6
  1164. package/src/components/icons/edit.js +3 -6
  1165. package/src/components/icons/ends-with.js +3 -6
  1166. package/src/components/icons/equal.js +3 -6
  1167. package/src/components/icons/equation.js +3 -6
  1168. package/src/components/icons/error.js +3 -6
  1169. package/src/components/icons/expand.js +3 -6
  1170. package/src/components/icons/exponent.js +3 -6
  1171. package/src/components/icons/export.js +3 -6
  1172. package/src/components/icons/fast-backward.js +3 -6
  1173. package/src/components/icons/fast-forward.js +3 -6
  1174. package/src/components/icons/fdc3.js +3 -6
  1175. package/src/components/icons/filter.js +3 -6
  1176. package/src/components/icons/flashing-cell.js +3 -6
  1177. package/src/components/icons/folder-open.js +3 -6
  1178. package/src/components/icons/folder-shared.js +3 -6
  1179. package/src/components/icons/folder.js +3 -6
  1180. package/src/components/icons/format-column.js +3 -6
  1181. package/src/components/icons/freetext-column.js +3 -6
  1182. package/src/components/icons/function.js +3 -6
  1183. package/src/components/icons/gradient-column.js +3 -6
  1184. package/src/components/icons/gradient.js +3 -6
  1185. package/src/components/icons/greater-than-or-equal.js +3 -6
  1186. package/src/components/icons/greater-than.js +3 -6
  1187. package/src/components/icons/grid-filter.d.ts +3 -0
  1188. package/src/components/icons/grid-filter.js +4 -0
  1189. package/src/components/icons/hide-column.js +3 -6
  1190. package/src/components/icons/history.js +3 -6
  1191. package/src/components/icons/home.js +3 -6
  1192. package/src/components/icons/import-export.js +3 -6
  1193. package/src/components/icons/import.js +3 -6
  1194. package/src/components/icons/index.js +319 -322
  1195. package/src/components/icons/info.js +3 -6
  1196. package/src/components/icons/instrument.js +3 -6
  1197. package/src/components/icons/interactions.js +3 -6
  1198. package/src/components/icons/invalid.js +3 -6
  1199. package/src/components/icons/ipushpull.js +3 -6
  1200. package/src/components/icons/italic.js +3 -6
  1201. package/src/components/icons/justify.js +3 -6
  1202. package/src/components/icons/layout.js +3 -6
  1203. package/src/components/icons/less-than-or-equal.js +3 -6
  1204. package/src/components/icons/less-than.js +3 -6
  1205. package/src/components/icons/list.js +3 -6
  1206. package/src/components/icons/login.js +3 -6
  1207. package/src/components/icons/logout copy.js +3 -6
  1208. package/src/components/icons/logout.js +3 -6
  1209. package/src/components/icons/mail.js +3 -6
  1210. package/src/components/icons/menu.js +3 -6
  1211. package/src/components/icons/minus.js +3 -6
  1212. package/src/components/icons/money.js +3 -6
  1213. package/src/components/icons/multiplication.js +3 -6
  1214. package/src/components/icons/newpage.js +3 -6
  1215. package/src/components/icons/news.js +3 -6
  1216. package/src/components/icons/non-blanks.js +3 -6
  1217. package/src/components/icons/not-contains.js +3 -6
  1218. package/src/components/icons/not-equal.js +3 -6
  1219. package/src/components/icons/note.js +3 -6
  1220. package/src/components/icons/open-in-new.js +3 -6
  1221. package/src/components/icons/order.js +3 -6
  1222. package/src/components/icons/organisation.js +3 -6
  1223. package/src/components/icons/overline.js +3 -6
  1224. package/src/components/icons/pause.js +3 -6
  1225. package/src/components/icons/percent-bar.js +3 -6
  1226. package/src/components/icons/percent.js +3 -6
  1227. package/src/components/icons/person.js +3 -6
  1228. package/src/components/icons/pie-chart.js +3 -6
  1229. package/src/components/icons/play.js +3 -6
  1230. package/src/components/icons/plus-minus.js +3 -6
  1231. package/src/components/icons/plus.js +3 -6
  1232. package/src/components/icons/query.js +3 -6
  1233. package/src/components/icons/quick-search.js +3 -6
  1234. package/src/components/icons/quote.js +3 -6
  1235. package/src/components/icons/refresh.js +3 -6
  1236. package/src/components/icons/regex.js +3 -6
  1237. package/src/components/icons/reminder.js +3 -6
  1238. package/src/components/icons/save.js +3 -6
  1239. package/src/components/icons/schedule.js +3 -6
  1240. package/src/components/icons/science.js +3 -6
  1241. package/src/components/icons/settings.js +3 -6
  1242. package/src/components/icons/shortcut.js +3 -6
  1243. package/src/components/icons/show-column.js +3 -6
  1244. package/src/components/icons/smart-edit.js +3 -6
  1245. package/src/components/icons/sort-asc.js +3 -6
  1246. package/src/components/icons/sort-desc.js +3 -6
  1247. package/src/components/icons/spark-line.js +3 -6
  1248. package/src/components/icons/starts-with.js +3 -6
  1249. package/src/components/icons/state-management.js +3 -6
  1250. package/src/components/icons/statusbar.js +3 -6
  1251. package/src/components/icons/stop.js +3 -6
  1252. package/src/components/icons/strikethrough.js +3 -6
  1253. package/src/components/icons/system-status.js +3 -6
  1254. package/src/components/icons/tab-unselected.js +3 -6
  1255. package/src/components/icons/table-arrow-right.js +3 -6
  1256. package/src/components/icons/team-share.js +3 -6
  1257. package/src/components/icons/theme.js +3 -6
  1258. package/src/components/icons/tool-panel.js +3 -6
  1259. package/src/components/icons/track-changes.js +3 -6
  1260. package/src/components/icons/triangle-down.js +3 -6
  1261. package/src/components/icons/triangle-up.js +3 -6
  1262. package/src/components/icons/unchecked.js +3 -6
  1263. package/src/components/icons/underline.js +3 -6
  1264. package/src/components/icons/undo.js +3 -6
  1265. package/src/components/icons/updated-row.js +3 -6
  1266. package/src/components/icons/upload.js +3 -6
  1267. package/src/components/icons/user-filter.js +3 -6
  1268. package/src/components/icons/visibility-off.js +3 -6
  1269. package/src/components/icons/visibility.js +3 -6
  1270. package/src/components/icons/warning.js +3 -6
  1271. package/src/components/utils/batchUpdate.js +3 -5
  1272. package/src/components/utils/captureTabNavigation/getFocusableChildren.js +1 -3
  1273. package/src/components/utils/captureTabNavigation/index.js +3 -6
  1274. package/src/components/utils/contains.js +1 -4
  1275. package/src/components/utils/getAvailableSizeInfo.js +1 -3
  1276. package/src/components/utils/join.js +1 -3
  1277. package/src/components/utils/selectParent/index.js +3 -6
  1278. package/src/components/utils/selectParent/matches.js +1 -2
  1279. package/src/components/utils/useAutoFocus.js +5 -8
  1280. package/src/components/utils/useContainerScrollObserver/index.js +9 -13
  1281. package/src/components/utils/useDraggable.js +7 -10
  1282. package/src/components/utils/useGlobalEvent.js +2 -7
  1283. package/src/components/utils/useLatest.js +4 -8
  1284. package/src/components/utils/usePrevious.js +4 -6
  1285. package/src/components/utils/usePropState.js +3 -6
  1286. package/src/components/utils/useProperty.js +4 -6
  1287. package/src/components/utils/useRerender.js +4 -8
  1288. package/src/components/utils/useSelectionRange.js +5 -9
  1289. package/src/components/utils/useTheme.js +2 -5
  1290. package/src/components/utils/uuid.js +2 -6
  1291. package/src/env.js +1 -3
  1292. package/src/metamodel/adaptable-metamodel-model.js +1 -2
  1293. package/src/metamodel/adaptable.metamodel.d.ts +150 -74
  1294. package/src/metamodel/adaptable.metamodel.js +1 -1
  1295. package/src/parser/src/ExpressionEvaluationError.js +1 -5
  1296. package/src/parser/src/evaluator.js +3 -7
  1297. package/src/parser/src/index.d.ts +1 -0
  1298. package/src/parser/src/index.js +12 -16
  1299. package/src/parser/src/parser.js +528 -1691
  1300. package/src/parser/src/predicate/index.d.ts +2 -0
  1301. package/src/parser/src/predicate/index.js +2 -0
  1302. package/src/parser/src/predicate/mapExpressionToQlPredicate.d.ts +2 -0
  1303. package/src/parser/src/predicate/mapExpressionToQlPredicate.js +88 -0
  1304. package/src/parser/src/predicate/mapQlPredicateToExpression.d.ts +3 -0
  1305. package/src/parser/src/predicate/mapQlPredicateToExpression.js +109 -0
  1306. package/src/parser/src/predicate/types.d.ts +10 -0
  1307. package/src/parser/src/predicate/types.js +1 -0
  1308. package/src/parser/src/tokenizer.js +3 -8
  1309. package/src/parser/src/types.d.ts +5 -0
  1310. package/src/parser/src/types.js +4 -2
  1311. package/src/parser/src/utils.js +3 -9
  1312. package/src/renderReactRoot.js +4 -11
  1313. package/src/theme.js +1 -3
  1314. package/src/themes/index.js +4 -7
  1315. package/src/types.d.ts +10 -8
  1316. package/src/types.js +1 -5
  1317. package/types.js +1 -4
  1318. package/version.d.ts +1 -1
  1319. package/version.js +1 -3
  1320. package/bundle.cjs.js +0 -706
  1321. package/src/Api/Events/FilterApplied.js +0 -2
  1322. package/src/Api/FilterApi.js +0 -2
  1323. package/src/Api/Implementation/QueryApiImpl.d.ts +0 -21
  1324. package/src/Api/Implementation/QueryApiImpl.js +0 -64
  1325. package/src/Api/QueryApi.js +0 -2
  1326. package/src/Strategy/FilterModule.js +0 -151
  1327. package/src/Strategy/QueryModule.js +0 -74
  1328. package/src/Utilities/Interface/ColumnFilterContext.js +0 -2
  1329. package/src/View/Query/EditCurrentQueryButton.d.ts +0 -2
  1330. package/src/View/Query/EditCurrentQueryButton.js +0 -16
  1331. package/src/View/Query/ExpandedQueryPopup.js +0 -56
  1332. package/src/View/Query/QueryViewPanel.js +0 -170
  1333. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +0 -37
  1334. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +0 -44
  1335. package/src/View/Query/Wizard/NamedQueryWizard.js +0 -70
  1336. /package/src/View/{Query → NamedQuery}/Wizard/NamedQueryWizard.d.ts +0 -0
@@ -1,25 +1,21 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Dashboard = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = tslib_1.__importStar(require("react"));
6
- const useDraggable_1 = tslib_1.__importDefault(require("../utils/useDraggable"));
7
- const join_1 = tslib_1.__importDefault(require("../utils/join"));
8
- const useProperty_1 = tslib_1.__importDefault(require("../utils/useProperty"));
9
- const DashboardToolbar_1 = require("./DashboardToolbar");
10
- const DropdownButton_1 = tslib_1.__importDefault(require("../DropdownButton"));
11
- function Dashboard(props) {
1
+ import * as React from 'react';
2
+ import useDraggable from '../utils/useDraggable';
3
+ import join from '../utils/join';
4
+ import useProperty from '../utils/useProperty';
5
+ import { DashboardToolbar } from './DashboardToolbar';
6
+ import DropdownButton from '../DropdownButton';
7
+ export function Dashboard(props) {
12
8
  const { title, children, left, right, onShowDashboardPopup } = props;
13
- const [activeTabIndex, setActiveTabIndex] = (0, useProperty_1.default)(props, 'activeTabIndex', 0);
14
- const [collapsed, setCollapsed] = (0, useProperty_1.default)(props, 'collapsed', false);
15
- const [floating, setFloating] = (0, useProperty_1.default)(props, 'floating', false);
16
- const [inline, setInline] = (0, useProperty_1.default)(props, 'inline', false);
17
- const [position, setPosition] = (0, useProperty_1.default)(props, 'position', {
9
+ const [activeTabIndex, setActiveTabIndex] = useProperty(props, 'activeTabIndex', 0);
10
+ const [collapsed, setCollapsed] = useProperty(props, 'collapsed', false);
11
+ const [floating, setFloating] = useProperty(props, 'floating', false);
12
+ const [inline, setInline] = useProperty(props, 'inline', false);
13
+ const [position, setPosition] = useProperty(props, 'position', {
18
14
  x: 0,
19
15
  y: 0,
20
16
  });
21
17
  const expanded = !floating && !collapsed;
22
- const { handleRef, targetRef } = (0, useDraggable_1.default)({
18
+ const { handleRef, targetRef } = useDraggable({
23
19
  onDrop(dx, dy) {
24
20
  setPosition(({ x, y }) => {
25
21
  return { x: x + dx, y: y + dy };
@@ -32,7 +28,7 @@ function Dashboard(props) {
32
28
  top: position.y,
33
29
  };
34
30
  const renderTabs = () => (React.createElement("div", { className: "ab-Dashboard__tabs" }, children &&
35
- React.Children.map(children, (child, index) => (React.createElement("button", { type: "button", className: (0, join_1.default)('ab-Dashboard__tab', !collapsed && activeTabIndex === index ? 'ab-Dashboard__tab--active' : ''), key: index, onClick: () => {
31
+ React.Children.map(children, (child, index) => (React.createElement("button", { type: "button", className: join('ab-Dashboard__tab', !collapsed && activeTabIndex === index ? 'ab-Dashboard__tab--active' : ''), key: index, onClick: () => {
36
32
  if (activeTabIndex === index) {
37
33
  setCollapsed(!collapsed);
38
34
  }
@@ -47,7 +43,7 @@ function Dashboard(props) {
47
43
  return null;
48
44
  }
49
45
  const activeTabTitle = (_c = (_b = (_a = children === null || children === void 0 ? void 0 : children[activeTabIndex]) === null || _a === void 0 ? void 0 : _a.props) === null || _b === void 0 ? void 0 : _b.title) !== null && _c !== void 0 ? _c : 'Select Toolbar';
50
- return (React.createElement(DropdownButton_1.default, { ml: 1, columns: ['label'], items: React.Children.map(children, (child, index) => ({
46
+ return (React.createElement(DropdownButton, { ml: 1, columns: ['label'], items: React.Children.map(children, (child, index) => ({
51
47
  value: String(index),
52
48
  label: child.props.title,
53
49
  onClick: () => setActiveTabIndex(index),
@@ -69,16 +65,15 @@ function Dashboard(props) {
69
65
  !floating && renderTabs()),
70
66
  floating ? (React.createElement("div", { className: "ab-Dashboard__title", ref: handleRef, key: "title-drag", style: { cursor: 'move' } }, title)) : (React.createElement("div", { className: "ab-Dashboard__title", key: "title" }, title)),
71
67
  React.createElement("div", { className: "ab-Dashboard__header-right" }, right)));
72
- const renderHomeToolbar = () => (React.createElement(DashboardToolbar_1.DashboardToolbar, { onConfigure: onShowDashboardPopup, className: "ab-Dashboard__home-toolbar", title: title, tooltip: `Configure Dashboard`, showConfigure: true, showClose: false, accessLevel: 'Full' },
68
+ const renderHomeToolbar = () => (React.createElement(DashboardToolbar, { onConfigure: onShowDashboardPopup, className: "ab-Dashboard__home-toolbar", title: title, tooltip: `Configure Dashboard`, showConfigure: true, showClose: false, accessLevel: 'Full' },
73
69
  left,
74
70
  right,
75
71
  children && children.length > 1,
76
72
  renderTabsDropdown()));
77
73
  return (React.createElement("div", {
78
74
  // @ts-ignore
79
- ref: targetRef, className: (0, join_1.default)(`ab-Dashboard`, collapsed ? 'ab-Dashboard--collapsed' : '', floating ? 'ab-Dashboard--floating' : '', inline ? 'ab-Dashboard--inline' : ''), style: floating ? floatingStyle : undefined },
75
+ ref: targetRef, className: join(`ab-Dashboard`, collapsed ? 'ab-Dashboard--collapsed' : '', floating ? 'ab-Dashboard--floating' : '', inline ? 'ab-Dashboard--inline' : ''), style: floating ? floatingStyle : undefined },
80
76
  expanded && inline ? renderHomeToolbar() : renderBar(),
81
77
  expanded && children && children.length ? (React.createElement("div", { className: "ab-Dashboard__content" }, children[activeTabIndex] ? children[activeTabIndex].props.children : null)) : null,
82
78
  props.footer));
83
79
  }
84
- exports.Dashboard = Dashboard;
@@ -1,8 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const React = tslib_1.__importStar(require("react"));
5
- const ModuleManager_1 = require("../DragAndDropContext/ModuleManager");
1
+ import * as React from 'react';
2
+ import { ModuleManager } from '../DragAndDropContext/ModuleManager';
6
3
  const DashboardManager = ({ tabs, onTabsChange, availableToolbars, api, disabled, }) => {
7
4
  const moduleService = api.internalApi.getModuleService();
8
5
  const moduleInfo = moduleService.getModuleInfoByModule('Dashboard');
@@ -19,6 +16,6 @@ const DashboardManager = ({ tabs, onTabsChange, availableToolbars, api, disabled
19
16
  }));
20
17
  onTabsChange(dashboardTabs);
21
18
  }, []);
22
- return (React.createElement(ModuleManager_1.ModuleManager, { availableItems: availableToolbars, disabled: disabled, onTabsChange: handleTabsChange, tabs: moduleTabs, tabsTitle: moduleInfo.FriendlyName + ' Tabs', unusedPanelTitle: 'Available Toolbars', dragItemText: "Drag into a Tab below" }));
19
+ return (React.createElement(ModuleManager, { availableItems: availableToolbars, disabled: disabled, onTabsChange: handleTabsChange, tabs: moduleTabs, tabsTitle: moduleInfo.FriendlyName + ' Tabs', unusedPanelTitle: 'Available Toolbars', dragItemText: "Drag into a Tab below" }));
23
20
  };
24
- exports.default = DashboardManager;
21
+ export default DashboardManager;
@@ -1,7 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DashboardTab = void 0;
4
- function DashboardTab(props) {
1
+ export function DashboardTab(props) {
5
2
  return null;
6
3
  }
7
- exports.DashboardTab = DashboardTab;
@@ -1,18 +1,13 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DashboardToolbar = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = tslib_1.__importStar(require("react"));
6
- const SimpleButton_1 = tslib_1.__importDefault(require("../SimpleButton"));
7
- const join_1 = tslib_1.__importDefault(require("../utils/join"));
8
- const rebass_1 = require("rebass");
9
- function DashboardToolbar(props) {
10
- return (React.createElement("div", { className: (0, join_1.default)('ab-Dashboard__toolbar', props.className) },
1
+ import * as React from 'react';
2
+ import SimpleButton from '../SimpleButton';
3
+ import join from '../utils/join';
4
+ import { Flex } from 'rebass';
5
+ export function DashboardToolbar(props) {
6
+ return (React.createElement("div", { className: join('ab-Dashboard__toolbar', props.className) },
11
7
  React.createElement("div", { className: "ab-Dashboard__toolbar-content" }, props.children),
12
- React.createElement(rebass_1.Flex, { className: "ab-Dashboard__toolbar-title", flexDirection: "row", alignItems: "center" },
8
+ React.createElement(Flex, { className: "ab-Dashboard__toolbar-title", flexDirection: "row", alignItems: "center" },
13
9
  React.createElement("span", null, props.title),
14
- props.showConfigure && (React.createElement(SimpleButton_1.default, { icon: "spanner", variant: "text", tone: "none", "data-name": "configure", iconSize: 16, marginLeft: 1, tooltip: props.tooltip || `Configure ${props.title} Toolbar`, onClick: () => props.onConfigure() })),
10
+ props.showConfigure && (React.createElement(SimpleButton, { icon: "spanner", variant: "text", tone: "none", "data-name": "configure", iconSize: 16, marginLeft: 1, tooltip: props.tooltip || `Configure ${props.title} Toolbar`, onClick: () => props.onConfigure() })),
15
11
  ' ',
16
- props.showClose && (React.createElement(SimpleButton_1.default, { style: { alignSelf: 'flex-end' }, disabled: props.accessLevel == 'ReadOnly', "data-name": "close", icon: "close", variant: "text", tone: "none", iconSize: 16, marginLeft: 1, tooltip: props.tooltip || `Close ${props.title} Toolbar`, onClick: () => props.onClose() })))));
12
+ props.showClose && (React.createElement(SimpleButton, { style: { alignSelf: 'flex-end' }, disabled: props.accessLevel == 'ReadOnly', "data-name": "close", icon: "close", variant: "text", tone: "none", iconSize: 16, marginLeft: 1, tooltip: props.tooltip || `Close ${props.title} Toolbar`, onClick: () => props.onClose() })))));
17
13
  }
18
- exports.DashboardToolbar = DashboardToolbar;
@@ -1,6 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Dashboard"), exports);
5
- tslib_1.__exportStar(require("./DashboardTab"), exports);
6
- tslib_1.__exportStar(require("./DashboardToolbar"), exports);
1
+ export * from './Dashboard';
2
+ export * from './DashboardTab';
3
+ export * from './DashboardToolbar';
@@ -1,47 +1,42 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Caption = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = tslib_1.__importStar(require("react"));
6
- const isSameMonth_1 = tslib_1.__importDefault(require("date-fns/isSameMonth"));
7
- const add_1 = tslib_1.__importDefault(require("date-fns/add"));
8
- const CaptionLabel_1 = require("./CaptionLabel");
9
- const react_day_picker_1 = require("react-day-picker");
1
+ import * as React from 'react';
2
+ import isSameMonth from 'date-fns/isSameMonth';
3
+ import add from 'date-fns/add';
4
+ import { CaptionLabel } from './CaptionLabel';
5
+ import { useDayPicker, useNavigation, } from 'react-day-picker';
10
6
  /**
11
7
  * Render the caption of a month, which includes title and navigation buttons.
12
8
  * The caption has a different layout when setting the `numberOfMonths` prop.
13
9
  */
14
- function Caption(props) {
10
+ export function Caption(props) {
15
11
  const { displayMonth } = props;
16
- const context = (0, react_day_picker_1.useDayPicker)();
12
+ const context = useDayPicker();
17
13
  const { classNames, disableNavigation, styles, onMonthChange, dir } = context;
18
- const { goToMonth, displayMonths } = (0, react_day_picker_1.useNavigation)();
14
+ const { goToMonth, displayMonths } = useNavigation();
19
15
  const handlePreviousClick = () => {
20
- handleMonthChange((0, add_1.default)(displayMonth, { months: -1 }));
16
+ handleMonthChange(add(displayMonth, { months: -1 }));
21
17
  };
22
18
  const handleNextClick = () => {
23
- handleMonthChange((0, add_1.default)(displayMonth, { months: 1 }));
19
+ handleMonthChange(add(displayMonth, { months: 1 }));
24
20
  };
25
21
  const handleMonthChange = (newMonth) => {
26
22
  goToMonth(newMonth);
27
23
  onMonthChange === null || onMonthChange === void 0 ? void 0 : onMonthChange(newMonth);
28
24
  };
29
25
  const handleNextYearClick = () => {
30
- handleMonthChange((0, add_1.default)(displayMonth, { years: 1 }));
26
+ handleMonthChange(add(displayMonth, { years: 1 }));
31
27
  };
32
28
  const handlePreviousYearClick = () => {
33
- handleMonthChange((0, add_1.default)(displayMonth, { years: -1 }));
29
+ handleMonthChange(add(displayMonth, { years: -1 }));
34
30
  };
35
- const displayIndex = displayMonths.findIndex((month) => (0, isSameMonth_1.default)(displayMonth, month));
31
+ const displayIndex = displayMonths.findIndex((month) => isSameMonth(displayMonth, month));
36
32
  let isFirst = displayIndex === 0;
37
33
  let isLast = displayIndex === displayMonths.length - 1;
38
34
  if (dir === 'rtl') {
39
35
  [isLast, isFirst] = [isFirst, isLast];
40
36
  }
41
- const captionLabel = React.createElement(CaptionLabel_1.CaptionLabel, { displayMonth: displayMonth });
37
+ const captionLabel = React.createElement(CaptionLabel, { displayMonth: displayMonth });
42
38
  return (React.createElement("div", { className: classNames.caption, style: styles.caption },
43
39
  disableNavigation && captionLabel,
44
40
  !disableNavigation && (React.createElement(React.Fragment, null,
45
- React.createElement(CaptionLabel_1.CaptionLabel, { displayMonth: displayMonth, onPreviousYearClick: handlePreviousYearClick, onNextYearClick: handleNextYearClick, onNextMonthClick: handleNextClick, onPreviousMonthClick: handlePreviousClick })))));
41
+ React.createElement(CaptionLabel, { displayMonth: displayMonth, onPreviousYearClick: handlePreviousYearClick, onNextYearClick: handleNextYearClick, onNextMonthClick: handleNextClick, onPreviousMonthClick: handlePreviousClick })))));
46
42
  }
47
- exports.Caption = Caption;
@@ -1,25 +1,20 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CaptionLabel = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = tslib_1.__importStar(require("react"));
6
- const rebass_1 = require("rebass");
7
- const format_1 = tslib_1.__importDefault(require("date-fns/format"));
8
- const SimpleButton_1 = tslib_1.__importDefault(require("../SimpleButton"));
9
- const react_1 = require("react");
10
- const react_day_picker_1 = require("react-day-picker");
11
- function CaptionLabel(props) {
12
- const { locale, classNames, styles } = (0, react_day_picker_1.useDayPicker)();
1
+ import * as React from 'react';
2
+ import { Flex } from 'rebass';
3
+ import format from 'date-fns/format';
4
+ import SimpleButton from '../SimpleButton';
5
+ import { useMemo } from 'react';
6
+ import { useDayPicker } from 'react-day-picker';
7
+ export function CaptionLabel(props) {
8
+ const { locale, classNames, styles } = useDayPicker();
13
9
  const { onPreviousYearClick, onNextYearClick, onNextMonthClick, onPreviousMonthClick } = props;
14
- const captionStyles = (0, react_1.useMemo)(() => (Object.assign(Object.assign({}, styles.caption_label), { width: '100%' })), []);
10
+ const captionStyles = useMemo(() => (Object.assign(Object.assign({}, styles.caption_label), { width: '100%' })), []);
15
11
  return (React.createElement("div", { key: "caption", className: classNames.caption_label, style: captionStyles, "aria-live": "polite", "aria-atomic": "true" },
16
- React.createElement(SimpleButton_1.default, { padding: 1, mr: 1, variant: "text", icon: "arrow-left", onClick: onPreviousMonthClick }),
17
- React.createElement(rebass_1.Flex, { justifyContent: "center", style: { minWidth: 80, flex: 2 } }, (0, format_1.default)(props.displayMonth, 'LLLL', { locale })),
18
- React.createElement(SimpleButton_1.default, { padding: 1, ml: 1, variant: "text", icon: "arrow-right", onClick: onNextMonthClick }),
19
- React.createElement(SimpleButton_1.default, { padding: 1, mr: 1, variant: "text", icon: "arrow-left", onClick: onPreviousYearClick }),
20
- React.createElement(rebass_1.Flex, { justifyContent: "center", style: { minWidth: 40, flex: 1 } },
21
- (0, format_1.default)(props.displayMonth, 'y', { locale }),
12
+ React.createElement(SimpleButton, { padding: 1, mr: 1, variant: "text", icon: "arrow-left", onClick: onPreviousMonthClick }),
13
+ React.createElement(Flex, { justifyContent: "center", style: { minWidth: 80, flex: 2 } }, format(props.displayMonth, 'LLLL', { locale })),
14
+ React.createElement(SimpleButton, { padding: 1, ml: 1, variant: "text", icon: "arrow-right", onClick: onNextMonthClick }),
15
+ React.createElement(SimpleButton, { padding: 1, mr: 1, variant: "text", icon: "arrow-left", onClick: onPreviousYearClick }),
16
+ React.createElement(Flex, { justifyContent: "center", style: { minWidth: 40, flex: 1 } },
17
+ format(props.displayMonth, 'y', { locale }),
22
18
  ' '),
23
- React.createElement(SimpleButton_1.default, { padding: 1, ml: 1, variant: "text", icon: "arrow-right", onClick: onNextYearClick })));
19
+ React.createElement(SimpleButton, { padding: 1, ml: 1, variant: "text", icon: "arrow-right", onClick: onNextYearClick })));
24
20
  }
25
- exports.CaptionLabel = CaptionLabel;
@@ -1,13 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useDatepickerContext = exports.DatepickerContext = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = tslib_1.__importStar(require("react"));
6
- exports.DatepickerContext = React.createContext({
1
+ import * as React from 'react';
2
+ export const DatepickerContext = React.createContext({
7
3
  onShow: () => { },
8
4
  onHide: () => { },
9
5
  });
10
- const useDatepickerContext = () => {
11
- return React.useContext(exports.DatepickerContext);
6
+ export const useDatepickerContext = () => {
7
+ return React.useContext(DatepickerContext);
12
8
  };
13
- exports.useDatepickerContext = useDatepickerContext;
@@ -15,4 +15,4 @@ export declare type DatepickerProps = Omit<BoxProps, 'value' | 'onChange' | 'def
15
15
  showWeekNumber?: boolean;
16
16
  showOutsideDays?: boolean;
17
17
  };
18
- export declare const Datepicker: React.ForwardRefExoticComponent<Pick<DatepickerProps, "max" | "required" | "type" | "data" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "color" | "content" | "display" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflow" | "overflowX" | "overflowY" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "textAlign" | "translate" | "verticalAlign" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "m" | "wrap" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "bg" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "css" | "variant" | "tx" | "sx" | "onHide" | "showOutsideDays" | "showWeekNumber" | "showClearButton" | "datepickerButtons" | "dateProps"> & React.RefAttributes<HTMLInputElement>>;
18
+ export declare const Datepicker: React.ForwardRefExoticComponent<Pick<DatepickerProps, "type" | "key" | "children" | "size" | "name" | "tabIndex" | "color" | "style" | "cite" | "data" | "form" | "label" | "p" | "slot" | "span" | "summary" | "title" | "pattern" | "start" | "hidden" | "content" | "default" | "flex" | "wrap" | "open" | "padding" | "multiple" | "disabled" | "checked" | "download" | "list" | "order" | "target" | "src" | "className" | "onTransitionEnd" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEndCapture" | "opacity" | "step" | "value" | "sizes" | "variant" | "tx" | "as" | "css" | "m" | "margin" | "mt" | "marginTop" | "mr" | "marginRight" | "mb" | "marginBottom" | "ml" | "marginLeft" | "mx" | "marginX" | "my" | "marginY" | "pt" | "paddingTop" | "pr" | "paddingRight" | "pb" | "paddingBottom" | "pl" | "paddingLeft" | "px" | "paddingX" | "py" | "paddingY" | "width" | "height" | "minWidth" | "minHeight" | "maxWidth" | "maxHeight" | "display" | "verticalAlign" | "overflow" | "overflowX" | "overflowY" | "fontFamily" | "fontSize" | "fontWeight" | "lineHeight" | "letterSpacing" | "fontStyle" | "textAlign" | "bg" | "backgroundColor" | "alignItems" | "alignContent" | "justifyItems" | "justifyContent" | "flexWrap" | "flexDirection" | "flexGrow" | "flexShrink" | "flexBasis" | "justifySelf" | "alignSelf" | "sx" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode" | "onHide" | "showClearButton" | "datepickerButtons" | "dateProps" | "showWeekNumber" | "showOutsideDays"> & React.RefAttributes<HTMLInputElement>>;
@@ -1,22 +1,19 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Datepicker = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = tslib_1.__importStar(require("react"));
6
- const OverlayTrigger_1 = tslib_1.__importDefault(require("../OverlayTrigger"));
7
- const Input_1 = tslib_1.__importDefault(require("../Input"));
8
- const react_1 = require("react");
9
- const useProperty_1 = tslib_1.__importDefault(require("../utils/useProperty"));
10
- const FieldWrap_1 = tslib_1.__importDefault(require("../FieldWrap"));
11
- const SimpleButton_1 = tslib_1.__importDefault(require("../SimpleButton"));
12
- const rebass_1 = require("rebass");
13
- const FormatHelper_1 = require("../../Utilities/Helpers/FormatHelper");
14
- const Caption_1 = require("./Caption");
15
- const CaptionLabel_1 = require("./CaptionLabel");
16
- const DatepickerContext_1 = require("./DatepickerContext");
17
- const addDays_1 = tslib_1.__importDefault(require("date-fns/addDays"));
18
- const addBusinessDays_1 = tslib_1.__importDefault(require("date-fns/addBusinessDays"));
19
- const react_day_picker_1 = require("react-day-picker");
1
+ import { __rest } from "tslib";
2
+ import * as React from 'react';
3
+ import OverlayTrigger from '../OverlayTrigger';
4
+ import Input from '../Input';
5
+ import { useState } from 'react';
6
+ import useProperty from '../utils/useProperty';
7
+ import FieldWrap from '../FieldWrap';
8
+ import SimpleButton from '../SimpleButton';
9
+ import { Flex } from 'rebass';
10
+ import { DateFormatter } from '../../Utilities/Helpers/FormatHelper';
11
+ import { Caption } from './Caption';
12
+ import { CaptionLabel } from './CaptionLabel';
13
+ import { useDatepickerContext } from './DatepickerContext';
14
+ import addDays from 'date-fns/addDays';
15
+ import addBusinessDays from 'date-fns/addBusinessDays';
16
+ import { DayPicker, useInput } from 'react-day-picker';
20
17
  const DatepickerOverlay = ({ onHide, children, onKeyDown, }) => {
21
18
  const domRef = React.useRef(null);
22
19
  React.useEffect(() => {
@@ -34,26 +31,26 @@ const DatepickerOverlay = ({ onHide, children, onKeyDown, }) => {
34
31
  }
35
32
  } }, children));
36
33
  };
37
- exports.Datepicker = React.forwardRef((props, ref) => {
34
+ export const Datepicker = React.forwardRef((props, ref) => {
38
35
  var _a;
39
- const { dateProps, required, disabled, style, placeholder, showWeekNumber, showOutsideDays, value: _, defaultValue: __, onChange: ___, showClearButton: showClearButtonFromProps, datepickerButtons } = props, boxProps = tslib_1.__rest(props, ["dateProps", "required", "disabled", "style", "placeholder", "showWeekNumber", "showOutsideDays", "value", "defaultValue", "onChange", "showClearButton", "datepickerButtons"]);
40
- const datepickerContext = (0, DatepickerContext_1.useDatepickerContext)();
36
+ const { dateProps, required, disabled, style, placeholder, showWeekNumber, showOutsideDays, value: _, defaultValue: __, onChange: ___, showClearButton: showClearButtonFromProps, datepickerButtons } = props, boxProps = __rest(props, ["dateProps", "required", "disabled", "style", "placeholder", "showWeekNumber", "showOutsideDays", "value", "defaultValue", "onChange", "showClearButton", "datepickerButtons"]);
37
+ const datepickerContext = useDatepickerContext();
41
38
  const showClearButton = (showClearButtonFromProps !== null && showClearButtonFromProps !== void 0 ? showClearButtonFromProps : datepickerContext.showClearButton) === false ? false : true;
42
- let [value, setValue] = (0, useProperty_1.default)(props, 'value', undefined, {
39
+ let [value, setValue] = useProperty(props, 'value', undefined, {
43
40
  onChange: props.onChange,
44
41
  });
45
42
  const useInputOptions = Object.assign(Object.assign({}, dateProps), { required });
46
43
  if (value && value instanceof Date && !isNaN(+value)) {
47
44
  useInputOptions.defaultSelected = value;
48
45
  }
49
- const [month, setMonth] = (0, react_1.useState)(value !== null && value !== void 0 ? value : new Date());
50
- const { dayPickerProps, setSelected } = (0, react_day_picker_1.useInput)(useInputOptions);
46
+ const [month, setMonth] = useState(value !== null && value !== void 0 ? value : new Date());
47
+ const { dayPickerProps, setSelected } = useInput(useInputOptions);
51
48
  const updateValue = (value) => {
52
49
  setValue(value);
53
50
  setSelected(value);
54
51
  };
55
- const inputValue = (_a = (0, FormatHelper_1.DateFormatter)(value, { Pattern: dateProps.format })) !== null && _a !== void 0 ? _a : '';
56
- const [visible, doSetVisible] = (0, react_1.useState)(false);
52
+ const inputValue = (_a = DateFormatter(value, { Pattern: dateProps.format })) !== null && _a !== void 0 ? _a : '';
53
+ const [visible, doSetVisible] = useState(false);
57
54
  const setVisible = (visible, keyboardEventKey) => {
58
55
  var _a, _b;
59
56
  doSetVisible(visible);
@@ -67,33 +64,33 @@ exports.Datepicker = React.forwardRef((props, ref) => {
67
64
  const clearValue = () => {
68
65
  updateValue(undefined);
69
66
  };
70
- const renderButton = (label, onClick) => (React.createElement(SimpleButton_1.default, { onClick: onClick, margin: '2px' }, label));
67
+ const renderButton = (label, onClick) => (React.createElement(SimpleButton, { onClick: onClick, margin: '2px' }, label));
71
68
  const todayDate = new Date();
72
69
  const footerButtonsMap = {
73
70
  clear: renderButton('Clear', () => clearValue()),
74
71
  close: renderButton('Close', () => setVisible(false)),
75
72
  today: renderButton('Today', () => updateValue(todayDate)),
76
- tomorrow: renderButton('Tomorrow', () => updateValue((0, addDays_1.default)(todayDate, 1))),
77
- yesterday: renderButton('Yesterday', () => updateValue((0, addDays_1.default)(todayDate, -1))),
78
- nextWorkday: renderButton('Next Workday', () => updateValue((0, addBusinessDays_1.default)(todayDate, 1))),
79
- prevWorkday: renderButton('Prev Workday', () => updateValue((0, addBusinessDays_1.default)(todayDate, -1))),
73
+ tomorrow: renderButton('Tomorrow', () => updateValue(addDays(todayDate, 1))),
74
+ yesterday: renderButton('Yesterday', () => updateValue(addDays(todayDate, -1))),
75
+ nextWorkday: renderButton('Next Workday', () => updateValue(addBusinessDays(todayDate, 1))),
76
+ prevWorkday: renderButton('Prev Workday', () => updateValue(addBusinessDays(todayDate, -1))),
80
77
  '-': React.createElement("div", { style: { flex: '1 1 1%' } }),
81
78
  '|': React.createElement("hr", { style: { width: '100%', height: 0, margin: 0, border: 'none' } }),
82
79
  };
83
80
  const footerButtons = datepickerButtons.map((buttonKey, index) => React.cloneElement(footerButtonsMap[buttonKey], { key: index }));
84
- const clearButton = showClearButton ? (React.createElement(SimpleButton_1.default, { "data-name": "clear", variant: "text", tooltip: "Clear", iconSize: 20, padding: 0, icon: "close", onMouseDown: (e) => {
81
+ const clearButton = showClearButton ? (React.createElement(SimpleButton, { "data-name": "clear", variant: "text", tooltip: "Clear", iconSize: 20, padding: 0, icon: "close", onMouseDown: (e) => {
85
82
  e.preventDefault();
86
83
  clearValue();
87
84
  }, accessLevel: 'Full' })) : null;
88
- const calendarButton = (React.createElement(SimpleButton_1.default, { disabled: disabled, variant: "text", icon: "calendar", tooltip: "Date", iconSize: 20, px: 0, py: 0, onClick: () => setVisible(true) }));
89
- return (React.createElement(rebass_1.Flex, null,
90
- React.createElement(OverlayTrigger_1.default, { visible: visible, render: () => (React.createElement(DatepickerOverlay, { onHide: () => setVisible(false), onKeyDown: (e) => {
85
+ const calendarButton = (React.createElement(SimpleButton, { disabled: disabled, variant: "text", icon: "calendar", tooltip: "Date", iconSize: 20, px: 0, py: 0, onClick: () => setVisible(true) }));
86
+ return (React.createElement(Flex, null,
87
+ React.createElement(OverlayTrigger, { visible: visible, render: () => (React.createElement(DatepickerOverlay, { onHide: () => setVisible(false), onKeyDown: (e) => {
91
88
  if (e.key === 'Escape' || e.key === 'Enter') {
92
89
  setVisible(false, e.key);
93
90
  }
94
91
  } },
95
- React.createElement(react_day_picker_1.DayPicker, Object.assign({ fixedWeeks: true }, dayPickerProps, { showWeekNumber: showWeekNumber, showOutsideDays: showOutsideDays, mode: "single", month: isNaN(+month) ? new Date() : month, onMonthChange: setMonth, components: { Caption: Caption_1.Caption, CaptionLabel: CaptionLabel_1.CaptionLabel }, onSelect: updateValue, footer: React.createElement(rebass_1.Flex, { justifyContent: "space-between", mt: 2, flexWrap: 'wrap' }, footerButtons) })))) },
96
- React.createElement(FieldWrap_1.default, Object.assign({}, boxProps, { style: {
92
+ React.createElement(DayPicker, Object.assign({ fixedWeeks: true }, dayPickerProps, { showWeekNumber: showWeekNumber, showOutsideDays: showOutsideDays, mode: "single", month: isNaN(+month) ? new Date() : month, onMonthChange: setMonth, components: { Caption, CaptionLabel }, onSelect: updateValue, footer: React.createElement(Flex, { justifyContent: "space-between", mt: 2, flexWrap: 'wrap' }, footerButtons) })))) },
93
+ React.createElement(FieldWrap, Object.assign({}, boxProps, { style: {
97
94
  borderRadius: style === null || style === void 0 ? void 0 : style.borderRadius,
98
95
  width: style === null || style === void 0 ? void 0 : style.width,
99
96
  maxWidth: style === null || style === void 0 ? void 0 : style.maxWidth,
@@ -102,7 +99,7 @@ exports.Datepicker = React.forwardRef((props, ref) => {
102
99
  setVisible(true);
103
100
  }
104
101
  } }),
105
- React.createElement(Input_1.default, { value: inputValue, placehoder: placeholder !== null && placeholder !== void 0 ? placeholder : dateProps.format, style: style, disabled: disabled, readOnly: true, ref: ref }),
102
+ React.createElement(Input, { value: inputValue, placehoder: placeholder !== null && placeholder !== void 0 ? placeholder : dateProps.format, style: style, disabled: disabled, readOnly: true, ref: ref }),
106
103
  !!inputValue ? clearButton : null,
107
104
  calendarButton))));
108
105
  });
@@ -1,26 +1,23 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Dialog = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = tslib_1.__importStar(require("react"));
6
- const react_1 = require("react");
7
- const join_1 = tslib_1.__importDefault(require("../utils/join"));
8
- const contains_1 = tslib_1.__importDefault(require("../utils/contains"));
9
- const captureTabNavigation_1 = tslib_1.__importDefault(require("../utils/captureTabNavigation"));
10
- const rebass_1 = require("rebass");
11
- const Modal_1 = require("../Modal");
12
- const useIsOpen_1 = tslib_1.__importDefault(require("./useIsOpen"));
13
- const useAutoFocus_1 = tslib_1.__importDefault(require("../utils/useAutoFocus"));
14
- const icons_1 = require("../icons");
15
- const WindowModal_1 = require("../WindowModal");
1
+ import { __rest } from "tslib";
2
+ import * as React from 'react';
3
+ import { useRef, useEffect } from 'react';
4
+ import join from '../utils/join';
5
+ import contains from '../utils/contains';
6
+ import captureTabNavigation from '../utils/captureTabNavigation';
7
+ import { Box } from 'rebass';
8
+ import { Modal } from '../Modal';
9
+ import useIsOpen from './useIsOpen';
10
+ import useAutoFocus from '../utils/useAutoFocus';
11
+ import { Icon } from '../icons';
12
+ import { WindowModal } from '../WindowModal';
16
13
  const baseClassName = 'ab-Dialog';
17
- exports.Dialog = React.forwardRef((props, dialogRef) => {
18
- let { modal, fixed, focusOnBrowserVisible = false, autoFocus = true, className, children, modalProps, dismissOnClickOutside = false, onDismiss, windowModal, windowModalProps } = props, boxProps = tslib_1.__rest(props, ["modal", "fixed", "focusOnBrowserVisible", "autoFocus", "className", "children", "modalProps", "dismissOnClickOutside", "onDismiss", "windowModal", "windowModalProps"]);
14
+ export const Dialog = React.forwardRef((props, dialogRef) => {
15
+ let { modal, fixed, focusOnBrowserVisible = false, autoFocus = true, className, children, modalProps, dismissOnClickOutside = false, onDismiss, windowModal, windowModalProps } = props, boxProps = __rest(props, ["modal", "fixed", "focusOnBrowserVisible", "autoFocus", "className", "children", "modalProps", "dismissOnClickOutside", "onDismiss", "windowModal", "windowModalProps"]);
19
16
  modal = props.modal === undefined ? true : props.modal;
20
17
  fixed = props.fixed === undefined ? true : props.fixed;
21
- const [isOpen, setIsOpen] = (0, useIsOpen_1.default)(props);
22
- const boxRef = (0, react_1.useRef)(null);
23
- (0, useAutoFocus_1.default)({
18
+ const [isOpen, setIsOpen] = useIsOpen(props);
19
+ const boxRef = useRef(null);
20
+ useAutoFocus({
24
21
  isOpen,
25
22
  autoFocus: props.autoFocus,
26
23
  previous: ({ autoFocus }) => autoFocus && isOpen,
@@ -31,7 +28,7 @@ exports.Dialog = React.forwardRef((props, dialogRef) => {
31
28
  if (props.onKeyDown) {
32
29
  props.onKeyDown(e);
33
30
  }
34
- (0, captureTabNavigation_1.default)(boxRef.current, e);
31
+ captureTabNavigation(boxRef.current, e);
35
32
  if (e.key === 'Escape') {
36
33
  if (e.nativeEvent.anotherModalClosed) {
37
34
  return;
@@ -48,9 +45,9 @@ exports.Dialog = React.forwardRef((props, dialogRef) => {
48
45
  }
49
46
  setIsOpen(false);
50
47
  }
51
- (0, captureTabNavigation_1.default)(boxRef.current, event);
48
+ captureTabNavigation(boxRef.current, event);
52
49
  };
53
- (0, react_1.useEffect)(() => {
50
+ useEffect(() => {
54
51
  if (dismissOnClickOutside && isOpen) {
55
52
  const dismissDialog = (e) => {
56
53
  requestAnimationFrame(() => {
@@ -72,14 +69,14 @@ exports.Dialog = React.forwardRef((props, dialogRef) => {
72
69
  const bringToFront = React.useCallback(() => {
73
70
  if (boxRef.current &&
74
71
  boxRef.current.focus &&
75
- (!document.activeElement || !(0, contains_1.default)(boxRef.current, document.activeElement))) {
72
+ (!document.activeElement || !contains(boxRef.current, document.activeElement))) {
76
73
  boxRef.current.focus();
77
74
  }
78
75
  }, [boxRef]);
79
76
  React.useImperativeHandle(dialogRef, () => ({
80
77
  bringToFront,
81
78
  }));
82
- (0, react_1.useEffect)(() => {
79
+ useEffect(() => {
83
80
  let listener;
84
81
  if (focusOnBrowserVisible) {
85
82
  listener = () => {
@@ -98,28 +95,28 @@ exports.Dialog = React.forwardRef((props, dialogRef) => {
98
95
  if (!isOpen) {
99
96
  return null;
100
97
  }
101
- const closeButton = showCloseButton ? (React.createElement(rebass_1.Box, { padding: 1, title: "Close dialog", onClick: () => setIsOpen(false), className: `${baseClassName}__close-button` },
102
- React.createElement(icons_1.Icon, { size: 24, name: "close" }))) : null;
98
+ const closeButton = showCloseButton ? (React.createElement(Box, { padding: 1, title: "Close dialog", onClick: () => setIsOpen(false), className: `${baseClassName}__close-button` },
99
+ React.createElement(Icon, { size: 24, name: "close" }))) : null;
103
100
  const setPreventDismissFlag = (e) => {
104
101
  if (dismissOnClickOutside) {
105
102
  e.nativeEvent.preventDialogDismiss = true;
106
103
  }
107
104
  };
108
- const box = (React.createElement(rebass_1.Box, Object.assign({}, boxProps, { onClick: (e) => {
105
+ const box = (React.createElement(Box, Object.assign({}, boxProps, { onClick: (e) => {
109
106
  setPreventDismissFlag(e);
110
107
  if (boxProps && boxProps.onClick) {
111
108
  boxProps.onClick(e);
112
109
  }
113
- }, onKeyDown: onKeyDown, className: (0, join_1.default)(baseClassName, modal ? `${baseClassName}--modal` : `${baseClassName}--not-modal`, className), ref: boxRef }),
110
+ }, onKeyDown: onKeyDown, className: join(baseClassName, modal ? `${baseClassName}--modal` : `${baseClassName}--not-modal`, className), ref: boxRef }),
114
111
  children,
115
112
  closeButton));
116
113
  const content = fixed ? (React.createElement("div", { onClick: setPreventDismissFlag, className: `${baseClassName}-fixed-wrapper` }, box)) : (box);
117
114
  if (windowModal) {
118
- return React.createElement(WindowModal_1.WindowModal, Object.assign({}, windowModalProps), content);
115
+ return React.createElement(WindowModal, Object.assign({}, windowModalProps), content);
119
116
  }
120
117
  if (modal) {
121
- return (React.createElement(Modal_1.Modal, Object.assign({}, modalProps, { isOpen: isOpen, onBringToFront: bringToFront }), box));
118
+ return (React.createElement(Modal, Object.assign({}, modalProps, { isOpen: isOpen, onBringToFront: bringToFront }), box));
122
119
  }
123
120
  return content;
124
121
  });
125
- exports.default = exports.Dialog;
122
+ export default Dialog;