@xh/hoist 82.0.1 → 82.0.3

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 (715) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/build/types/admin/AdminUtils.d.ts +11 -0
  3. package/build/types/admin/AppComponent.d.ts +3 -0
  4. package/build/types/admin/AppModel.d.ts +19 -0
  5. package/build/types/admin/columns/Clients.d.ts +8 -0
  6. package/build/types/admin/columns/Core.d.ts +9 -0
  7. package/build/types/admin/columns/Rest.d.ts +6 -0
  8. package/build/types/admin/columns/Tracking.d.ts +32 -0
  9. package/build/types/admin/columns/User.d.ts +9 -0
  10. package/build/types/admin/columns/UserData.d.ts +7 -0
  11. package/build/types/admin/columns/index.d.ts +6 -0
  12. package/build/types/admin/differ/Differ.d.ts +2 -0
  13. package/build/types/admin/differ/DifferDetail.d.ts +3 -0
  14. package/build/types/admin/differ/DifferDetailModel.d.ts +17 -0
  15. package/build/types/admin/differ/DifferModel.d.ts +52 -0
  16. package/build/types/admin/jsonsearch/JsonSearch.d.ts +17 -0
  17. package/build/types/admin/jsonsearch/impl/JsonSearchImplModel.d.ts +32 -0
  18. package/build/types/admin/regroup/RegroupDialog.d.ts +2 -0
  19. package/build/types/admin/regroup/RegroupDialogModel.d.ts +20 -0
  20. package/build/types/admin/tabs/BaseAdminTabModel.d.ts +5 -0
  21. package/build/types/admin/tabs/activity/aggregators/RangeAggregator.d.ts +8 -0
  22. package/build/types/admin/tabs/activity/tracking/ActivityTrackingModel.d.ts +62 -0
  23. package/build/types/admin/tabs/activity/tracking/ActivityTrackingPanel.d.ts +3 -0
  24. package/build/types/admin/tabs/activity/tracking/chart/AggChartModel.d.ts +34 -0
  25. package/build/types/admin/tabs/activity/tracking/chart/AggChartPanel.d.ts +2 -0
  26. package/build/types/admin/tabs/activity/tracking/datafields/DataFieldsEditor.d.ts +2 -0
  27. package/build/types/admin/tabs/activity/tracking/datafields/DataFieldsEditorModel.d.ts +46 -0
  28. package/build/types/admin/tabs/activity/tracking/detail/ActivityDetailModel.d.ts +41 -0
  29. package/build/types/admin/tabs/activity/tracking/detail/ActivityDetailView.d.ts +2 -0
  30. package/build/types/admin/tabs/clients/ClientsModel.d.ts +19 -0
  31. package/build/types/admin/tabs/clients/ClientsPanel.d.ts +2 -0
  32. package/build/types/admin/tabs/clients/activity/ClientDetailModel.d.ts +21 -0
  33. package/build/types/admin/tabs/clients/activity/ClientDetailPanel.d.ts +3 -0
  34. package/build/types/admin/tabs/cluster/index.d.ts +3 -0
  35. package/build/types/admin/tabs/cluster/instances/BaseInstanceModel.d.ts +9 -0
  36. package/build/types/admin/tabs/cluster/instances/InstancesTab.d.ts +4 -0
  37. package/build/types/admin/tabs/cluster/instances/InstancesTabModel.d.ts +27 -0
  38. package/build/types/admin/tabs/cluster/instances/connpool/ConnPoolMonitorModel.d.ts +15 -0
  39. package/build/types/admin/tabs/cluster/instances/connpool/ConnPoolMonitorPanel.d.ts +2 -0
  40. package/build/types/admin/tabs/cluster/instances/environment/ServerEnvModel.d.ts +12 -0
  41. package/build/types/admin/tabs/cluster/instances/environment/ServerEnvPanel.d.ts +2 -0
  42. package/build/types/admin/tabs/cluster/instances/logs/LogDisplay.d.ts +6 -0
  43. package/build/types/admin/tabs/cluster/instances/logs/LogDisplayModel.d.ts +34 -0
  44. package/build/types/admin/tabs/cluster/instances/logs/LogViewer.d.ts +3 -0
  45. package/build/types/admin/tabs/cluster/instances/logs/LogViewerModel.d.ts +24 -0
  46. package/build/types/admin/tabs/cluster/instances/logs/levels/LogLevelDialog.d.ts +2 -0
  47. package/build/types/admin/tabs/cluster/instances/logs/levels/LogLevelDialogModel.d.ts +13 -0
  48. package/build/types/admin/tabs/cluster/instances/memory/MemoryMonitorModel.d.ts +34 -0
  49. package/build/types/admin/tabs/cluster/instances/memory/MemoryMonitorPanel.d.ts +2 -0
  50. package/build/types/admin/tabs/cluster/instances/services/DetailsModel.d.ts +11 -0
  51. package/build/types/admin/tabs/cluster/instances/services/DetailsPanel.d.ts +2 -0
  52. package/build/types/admin/tabs/cluster/instances/services/ServiceModel.d.ts +16 -0
  53. package/build/types/admin/tabs/cluster/instances/services/ServicePanel.d.ts +2 -0
  54. package/build/types/admin/tabs/cluster/metrics/MetricsModel.d.ts +22 -0
  55. package/build/types/admin/tabs/cluster/metrics/MetricsPanel.d.ts +2 -0
  56. package/build/types/admin/tabs/cluster/objects/ClusterObjectsModel.d.ts +29 -0
  57. package/build/types/admin/tabs/cluster/objects/ClusterObjectsPanel.d.ts +3 -0
  58. package/build/types/admin/tabs/cluster/objects/DetailModel.d.ts +17 -0
  59. package/build/types/admin/tabs/cluster/objects/DetailPanel.d.ts +3 -0
  60. package/build/types/admin/tabs/general/about/AboutPanel.d.ts +2 -0
  61. package/build/types/admin/tabs/general/alertBanner/AlertBannerModel.d.ts +25 -0
  62. package/build/types/admin/tabs/general/alertBanner/AlertBannerPanel.d.ts +3 -0
  63. package/build/types/admin/tabs/general/config/ConfigPanel.d.ts +2 -0
  64. package/build/types/admin/tabs/general/config/ConfigPanelModel.d.ts +20 -0
  65. package/build/types/admin/tabs/general/index.d.ts +3 -0
  66. package/build/types/admin/tabs/monitor/MonitorColumns.d.ts +7 -0
  67. package/build/types/admin/tabs/monitor/MonitorTab.d.ts +3 -0
  68. package/build/types/admin/tabs/monitor/MonitorTabModel.d.ts +29 -0
  69. package/build/types/admin/tabs/monitor/Tile.d.ts +2 -0
  70. package/build/types/admin/tabs/monitor/Types.d.ts +25 -0
  71. package/build/types/admin/tabs/monitor/editor/MonitorEditorDialog.d.ts +2 -0
  72. package/build/types/admin/tabs/userData/index.d.ts +4 -0
  73. package/build/types/admin/tabs/userData/jsonblob/JsonBlobColumns.d.ts +8 -0
  74. package/build/types/admin/tabs/userData/jsonblob/JsonBlobModel.d.ts +14 -0
  75. package/build/types/admin/tabs/userData/jsonblob/JsonBlobPanel.d.ts +2 -0
  76. package/build/types/admin/tabs/userData/prefs/UserPreferenceModel.d.ts +8 -0
  77. package/build/types/admin/tabs/userData/prefs/UserPreferencePanel.d.ts +2 -0
  78. package/build/types/admin/tabs/userData/prefs/editor/PrefEditorDialog.d.ts +2 -0
  79. package/build/types/admin/tabs/userData/prefs/editor/PrefEditorModel.d.ts +16 -0
  80. package/build/types/admin/tabs/userData/roles/RoleModel.d.ts +44 -0
  81. package/build/types/admin/tabs/userData/roles/RolePanel.d.ts +2 -0
  82. package/build/types/admin/tabs/userData/roles/Types.d.ts +43 -0
  83. package/build/types/admin/tabs/userData/roles/details/RoleDetails.d.ts +3 -0
  84. package/build/types/admin/tabs/userData/roles/details/RoleDetailsModel.d.ts +15 -0
  85. package/build/types/admin/tabs/userData/roles/details/members/BaseMembersModel.d.ts +25 -0
  86. package/build/types/admin/tabs/userData/roles/details/members/DirectoryMembers.d.ts +13 -0
  87. package/build/types/admin/tabs/userData/roles/details/members/RoleMembers.d.ts +16 -0
  88. package/build/types/admin/tabs/userData/roles/details/members/UserMembers.d.ts +15 -0
  89. package/build/types/admin/tabs/userData/roles/editor/RoleEditor.d.ts +3 -0
  90. package/build/types/admin/tabs/userData/roles/editor/RoleEditorModel.d.ts +23 -0
  91. package/build/types/admin/tabs/userData/roles/editor/form/RoleForm.d.ts +3 -0
  92. package/build/types/admin/tabs/userData/roles/editor/form/RoleFormModel.d.ts +38 -0
  93. package/build/types/admin/tabs/userData/roles/graph/RoleGraph.d.ts +3 -0
  94. package/build/types/admin/tabs/userData/roles/graph/RoleGraphModel.d.ts +24 -0
  95. package/build/types/admin/tabs/userData/roles/recategorize/RecategorizeDialog.d.ts +2 -0
  96. package/build/types/admin/tabs/userData/roles/recategorize/RecategorizeDialogModel.d.ts +31 -0
  97. package/build/types/admin/tabs/userData/roles/warning/WarningBanner.d.ts +7 -0
  98. package/build/types/admin/tabs/userData/users/UserModel.d.ts +12 -0
  99. package/build/types/admin/tabs/userData/users/UserPanel.d.ts +2 -0
  100. package/build/types/appcontainer/AboutDialogModel.d.ts +14 -0
  101. package/build/types/appcontainer/AppContainerModel.d.ts +93 -0
  102. package/build/types/appcontainer/AppOption.d.ts +23 -0
  103. package/build/types/appcontainer/AppStateModel.d.ts +28 -0
  104. package/build/types/appcontainer/BannerModel.d.ts +26 -0
  105. package/build/types/appcontainer/BannerSourceModel.d.ts +15 -0
  106. package/build/types/appcontainer/ChangelogDialogModel.d.ts +9 -0
  107. package/build/types/appcontainer/ExceptionDialogModel.d.ts +30 -0
  108. package/build/types/appcontainer/FeedbackDialogModel.d.ts +21 -0
  109. package/build/types/appcontainer/ImpersonationBarModel.d.ts +22 -0
  110. package/build/types/appcontainer/MessageModel.d.ts +37 -0
  111. package/build/types/appcontainer/MessageSourceModel.d.ts +17 -0
  112. package/build/types/appcontainer/OptionsDialogModel.d.ts +25 -0
  113. package/build/types/appcontainer/PageStateModel.d.ts +16 -0
  114. package/build/types/appcontainer/RouterModel.d.ts +41 -0
  115. package/build/types/appcontainer/SizingModeModel.d.ts +13 -0
  116. package/build/types/appcontainer/ThemeModel.d.ts +13 -0
  117. package/build/types/appcontainer/ToastModel.d.ts +27 -0
  118. package/build/types/appcontainer/ToastSourceModel.d.ts +13 -0
  119. package/build/types/appcontainer/UserAgentModel.d.ts +13 -0
  120. package/build/types/appcontainer/ViewportSizeModel.d.ts +19 -0
  121. package/build/types/appcontainer/login/LoginPanelModel.d.ts +15 -0
  122. package/build/types/cmp/ag-grid/AgGrid.d.ts +30 -0
  123. package/build/types/cmp/ag-grid/AgGridModel.d.ts +180 -0
  124. package/build/types/cmp/ag-grid/index.d.ts +2 -0
  125. package/build/types/cmp/badge/Badge.d.ts +12 -0
  126. package/build/types/cmp/badge/index.d.ts +1 -0
  127. package/build/types/cmp/card/Card.d.ts +23 -0
  128. package/build/types/cmp/card/CardModel.d.ts +29 -0
  129. package/build/types/cmp/card/index.d.ts +1 -0
  130. package/build/types/cmp/chart/Chart.d.ts +17 -0
  131. package/build/types/cmp/chart/ChartModel.d.ts +55 -0
  132. package/build/types/cmp/chart/Types.d.ts +20 -0
  133. package/build/types/cmp/chart/impl/ChartContextMenuItems.d.ts +4 -0
  134. package/build/types/cmp/chart/impl/copyToClipboard.d.ts +5 -0
  135. package/build/types/cmp/chart/impl/zoomout.d.ts +5 -0
  136. package/build/types/cmp/chart/index.d.ts +2 -0
  137. package/build/types/cmp/chart/theme/Dark.d.ts +216 -0
  138. package/build/types/cmp/chart/theme/Light.d.ts +193 -0
  139. package/build/types/cmp/clock/Clock.d.ts +25 -0
  140. package/build/types/cmp/clock/index.d.ts +1 -0
  141. package/build/types/cmp/dataview/DataView.d.ts +21 -0
  142. package/build/types/cmp/dataview/DataViewModel.d.ts +117 -0
  143. package/build/types/cmp/dataview/index.d.ts +2 -0
  144. package/build/types/cmp/error/ErrorBoundary.d.ts +12 -0
  145. package/build/types/cmp/error/ErrorBoundaryModel.d.ts +43 -0
  146. package/build/types/cmp/error/ErrorMessage.d.ts +42 -0
  147. package/build/types/cmp/error/index.d.ts +3 -0
  148. package/build/types/cmp/filter/FilterChooserFieldSpec.d.ts +39 -0
  149. package/build/types/cmp/filter/FilterChooserModel.d.ts +147 -0
  150. package/build/types/cmp/filter/impl/Option.d.ts +47 -0
  151. package/build/types/cmp/filter/impl/QueryEngine.d.ts +29 -0
  152. package/build/types/cmp/filter/index.d.ts +1 -0
  153. package/build/types/cmp/form/BaseFormFieldProps.d.ts +33 -0
  154. package/build/types/cmp/form/Form.d.ts +41 -0
  155. package/build/types/cmp/form/FormModel.d.ts +130 -0
  156. package/build/types/cmp/form/field/BaseFieldModel.d.ts +159 -0
  157. package/build/types/cmp/form/field/FieldModel.d.ts +11 -0
  158. package/build/types/cmp/form/field/SubformsFieldModel.d.ts +70 -0
  159. package/build/types/cmp/form/formfieldset/FormFieldSet.d.ts +17 -0
  160. package/build/types/cmp/form/formfieldset/FormFieldSetModel.d.ts +40 -0
  161. package/build/types/cmp/form/index.d.ts +8 -0
  162. package/build/types/cmp/grid/Grid.d.ts +143 -0
  163. package/build/types/cmp/grid/GridAutosizeOptions.d.ts +49 -0
  164. package/build/types/cmp/grid/GridContextMenu.d.ts +28 -0
  165. package/build/types/cmp/grid/GridModel.d.ts +624 -0
  166. package/build/types/cmp/grid/GridSorter.d.ts +23 -0
  167. package/build/types/cmp/grid/Types.d.ts +285 -0
  168. package/build/types/cmp/grid/columns/Column.d.ts +380 -0
  169. package/build/types/cmp/grid/columns/ColumnGroup.d.ts +66 -0
  170. package/build/types/cmp/grid/columns/Core.d.ts +9 -0
  171. package/build/types/cmp/grid/columns/DatesTimes.d.ts +12 -0
  172. package/build/types/cmp/grid/columns/index.d.ts +4 -0
  173. package/build/types/cmp/grid/enums/ExcelFormat.d.ts +33 -0
  174. package/build/types/cmp/grid/enums/GridAutosizeMode.d.ts +24 -0
  175. package/build/types/cmp/grid/enums/TreeStyle.d.ts +15 -0
  176. package/build/types/cmp/grid/filter/GridFilterFieldSpec.d.ts +39 -0
  177. package/build/types/cmp/grid/filter/GridFilterModel.d.ts +44 -0
  178. package/build/types/cmp/grid/helpers/GridCountLabel.d.ts +24 -0
  179. package/build/types/cmp/grid/impl/ColumnGroupHeader.d.ts +24 -0
  180. package/build/types/cmp/grid/impl/ColumnHeader.d.ts +54 -0
  181. package/build/types/cmp/grid/impl/ColumnWidthCalculator.d.ts +41 -0
  182. package/build/types/cmp/grid/impl/GridHScrollbar.d.ts +10 -0
  183. package/build/types/cmp/grid/impl/InitPersist.d.ts +7 -0
  184. package/build/types/cmp/grid/impl/MenuSupport.d.ts +7 -0
  185. package/build/types/cmp/grid/impl/RowKeyNavSupport.d.ts +11 -0
  186. package/build/types/cmp/grid/impl/Utils.d.ts +11 -0
  187. package/build/types/cmp/grid/index.d.ts +15 -0
  188. package/build/types/cmp/grid/renderers/CheckboxRenderer.d.ts +14 -0
  189. package/build/types/cmp/grid/renderers/TagsRenderer.d.ts +3 -0
  190. package/build/types/cmp/grouping/GroupingChooserModel.d.ts +103 -0
  191. package/build/types/cmp/grouping/impl/GroupingChooserLocalModel.d.ts +35 -0
  192. package/build/types/cmp/grouping/index.d.ts +1 -0
  193. package/build/types/cmp/input/HoistInputModel.d.ts +148 -0
  194. package/build/types/cmp/input/HoistInputProps.d.ts +20 -0
  195. package/build/types/cmp/input/index.d.ts +2 -0
  196. package/build/types/cmp/layout/Box.d.ts +16 -0
  197. package/build/types/cmp/layout/Frame.d.ts +14 -0
  198. package/build/types/cmp/layout/Placeholder.d.ts +11 -0
  199. package/build/types/cmp/layout/Spacer.d.ts +14 -0
  200. package/build/types/cmp/layout/Tags.d.ts +38 -0
  201. package/build/types/cmp/layout/TileFrame.d.ts +37 -0
  202. package/build/types/cmp/layout/Viewport.d.ts +9 -0
  203. package/build/types/cmp/layout/index.d.ts +7 -0
  204. package/build/types/cmp/loadingindicator/LoadingIndicator.d.ts +25 -0
  205. package/build/types/cmp/loadingindicator/index.d.ts +1 -0
  206. package/build/types/cmp/markdown/Markdown.d.ts +18 -0
  207. package/build/types/cmp/markdown/index.d.ts +1 -0
  208. package/build/types/cmp/mask/Mask.d.ts +25 -0
  209. package/build/types/cmp/mask/index.d.ts +1 -0
  210. package/build/types/cmp/pinpad/PinPad.d.ts +9 -0
  211. package/build/types/cmp/pinpad/PinPadModel.d.ts +34 -0
  212. package/build/types/cmp/pinpad/index.d.ts +2 -0
  213. package/build/types/cmp/relativetimestamp/RelativeTimestamp.d.ts +58 -0
  214. package/build/types/cmp/relativetimestamp/index.d.ts +1 -0
  215. package/build/types/cmp/spinner/Spinner.d.ts +16 -0
  216. package/build/types/cmp/spinner/index.d.ts +1 -0
  217. package/build/types/cmp/store/StoreCountLabel.d.ts +17 -0
  218. package/build/types/cmp/store/StoreFilterField.d.ts +80 -0
  219. package/build/types/cmp/store/impl/StoreFilterFieldImplModel.d.ts +25 -0
  220. package/build/types/cmp/store/index.d.ts +2 -0
  221. package/build/types/cmp/tab/TabContainer.d.ts +34 -0
  222. package/build/types/cmp/tab/TabContainerModel.d.ts +137 -0
  223. package/build/types/cmp/tab/TabModel.d.ts +71 -0
  224. package/build/types/cmp/tab/Types.d.ts +61 -0
  225. package/build/types/cmp/tab/index.d.ts +4 -0
  226. package/build/types/cmp/treemap/SplitTreeMap.d.ts +9 -0
  227. package/build/types/cmp/treemap/SplitTreeMapModel.d.ts +78 -0
  228. package/build/types/cmp/treemap/TreeMap.d.ts +14 -0
  229. package/build/types/cmp/treemap/TreeMapModel.d.ts +181 -0
  230. package/build/types/cmp/treemap/index.d.ts +4 -0
  231. package/build/types/cmp/viewmanager/DataAccess.d.ts +28 -0
  232. package/build/types/cmp/viewmanager/View.d.ts +37 -0
  233. package/build/types/cmp/viewmanager/ViewInfo.d.ts +55 -0
  234. package/build/types/cmp/viewmanager/ViewManagerModel.d.ts +243 -0
  235. package/build/types/cmp/viewmanager/index.d.ts +4 -0
  236. package/build/types/cmp/websocket/WebSocketIndicator.d.ts +9 -0
  237. package/build/types/cmp/websocket/index.d.ts +1 -0
  238. package/build/types/cmp/zoneGrid/Types.d.ts +35 -0
  239. package/build/types/cmp/zoneGrid/ZoneGrid.d.ts +24 -0
  240. package/build/types/cmp/zoneGrid/ZoneGridModel.d.ts +256 -0
  241. package/build/types/cmp/zoneGrid/impl/InitPersist.d.ts +7 -0
  242. package/build/types/cmp/zoneGrid/impl/ZoneGridRenderer.d.ts +25 -0
  243. package/build/types/cmp/zoneGrid/impl/ZoneMapperModel.d.ts +67 -0
  244. package/build/types/cmp/zoneGrid/index.d.ts +3 -0
  245. package/build/types/core/AppSpec.d.ts +139 -0
  246. package/build/types/core/ExceptionHandler.d.ts +132 -0
  247. package/build/types/core/HoistAppModel.d.ts +72 -0
  248. package/build/types/core/HoistAuthModel.d.ts +70 -0
  249. package/build/types/core/HoistBase.d.ts +179 -0
  250. package/build/types/core/HoistBaseDecorators.d.ts +20 -0
  251. package/build/types/core/HoistComponent.d.ts +112 -0
  252. package/build/types/core/HoistProps.d.ts +116 -0
  253. package/build/types/core/HoistService.d.ts +57 -0
  254. package/build/types/core/RefreshContextView.d.ts +10 -0
  255. package/build/types/core/TaskObserver.d.ts +80 -0
  256. package/build/types/core/XH.d.ts +445 -0
  257. package/build/types/core/elem.d.ts +71 -0
  258. package/build/types/core/enums/RefreshMode.d.ts +16 -0
  259. package/build/types/core/enums/RenderMode.d.ts +14 -0
  260. package/build/types/core/enums/SizingMode.d.ts +10 -0
  261. package/build/types/core/impl/InstallServices.d.ts +18 -0
  262. package/build/types/core/impl/InstanceManager.d.ts +24 -0
  263. package/build/types/core/impl/PlatformManager.d.ts +13 -0
  264. package/build/types/core/index.d.ts +22 -0
  265. package/build/types/core/load/LoadSpec.d.ts +55 -0
  266. package/build/types/core/load/LoadSupport.d.ts +36 -0
  267. package/build/types/core/load/Loadable.d.ts +48 -0
  268. package/build/types/core/load/index.d.ts +3 -0
  269. package/build/types/core/model/CreatesSpec.d.ts +29 -0
  270. package/build/types/core/model/HoistModel.d.ts +203 -0
  271. package/build/types/core/model/Hooks.d.ts +28 -0
  272. package/build/types/core/model/ManagedRefreshContextModel.d.ts +23 -0
  273. package/build/types/core/model/ModelLookup.d.ts +26 -0
  274. package/build/types/core/model/ModelSelector.d.ts +27 -0
  275. package/build/types/core/model/ModelSpec.d.ts +30 -0
  276. package/build/types/core/model/RefreshContextModel.d.ts +45 -0
  277. package/build/types/core/model/RootRefreshContextModel.d.ts +14 -0
  278. package/build/types/core/model/UsesSpec.d.ts +49 -0
  279. package/build/types/core/model/index.d.ts +10 -0
  280. package/build/types/core/persist/PersistOptions.d.ts +46 -0
  281. package/build/types/core/persist/Persistable.d.ts +14 -0
  282. package/build/types/core/persist/PersistenceProvider.d.ts +69 -0
  283. package/build/types/core/persist/index.d.ts +9 -0
  284. package/build/types/core/persist/provider/CustomProvider.d.ts +15 -0
  285. package/build/types/core/persist/provider/DashViewProvider.d.ts +12 -0
  286. package/build/types/core/persist/provider/LocalStorageProvider.d.ts +10 -0
  287. package/build/types/core/persist/provider/PrefProvider.d.ts +10 -0
  288. package/build/types/core/persist/provider/SessionStorageProvider.d.ts +10 -0
  289. package/build/types/core/persist/provider/ViewManagerProvider.d.ts +9 -0
  290. package/build/types/core/types/AppState.d.ts +20 -0
  291. package/build/types/core/types/Interfaces.d.ts +303 -0
  292. package/build/types/core/types/Types.d.ts +72 -0
  293. package/build/types/data/Field.d.ts +90 -0
  294. package/build/types/data/RecordAction.d.ts +103 -0
  295. package/build/types/data/Store.d.ts +424 -0
  296. package/build/types/data/StoreRecord.d.ts +186 -0
  297. package/build/types/data/StoreSelectionModel.d.ts +52 -0
  298. package/build/types/data/UrlStore.d.ts +27 -0
  299. package/build/types/data/cube/BucketSpec.d.ts +31 -0
  300. package/build/types/data/cube/Cube.d.ts +180 -0
  301. package/build/types/data/cube/CubeField.d.ts +49 -0
  302. package/build/types/data/cube/Query.d.ts +121 -0
  303. package/build/types/data/cube/View.d.ts +106 -0
  304. package/build/types/data/cube/ViewRowData.d.ts +46 -0
  305. package/build/types/data/cube/aggregate/AggregationContext.d.ts +21 -0
  306. package/build/types/data/cube/aggregate/Aggregator.d.ts +40 -0
  307. package/build/types/data/cube/aggregate/AverageAggregator.d.ts +4 -0
  308. package/build/types/data/cube/aggregate/AverageStrictAggregator.d.ts +5 -0
  309. package/build/types/data/cube/aggregate/ChildCountAggregator.d.ts +5 -0
  310. package/build/types/data/cube/aggregate/LeafCountAggregator.d.ts +5 -0
  311. package/build/types/data/cube/aggregate/MaxAggregator.d.ts +5 -0
  312. package/build/types/data/cube/aggregate/MinAggregator.d.ts +5 -0
  313. package/build/types/data/cube/aggregate/NullAggregator.d.ts +4 -0
  314. package/build/types/data/cube/aggregate/SingleAggregator.d.ts +4 -0
  315. package/build/types/data/cube/aggregate/SumAggregator.d.ts +5 -0
  316. package/build/types/data/cube/aggregate/SumStrictAggregator.d.ts +5 -0
  317. package/build/types/data/cube/aggregate/UniqueAggregator.d.ts +5 -0
  318. package/build/types/data/cube/row/AggregateRow.d.ts +16 -0
  319. package/build/types/data/cube/row/BaseRow.d.ts +30 -0
  320. package/build/types/data/cube/row/BucketRow.d.ts +16 -0
  321. package/build/types/data/cube/row/LeafRow.d.ts +22 -0
  322. package/build/types/data/cube/row/RowUpdate.d.ts +10 -0
  323. package/build/types/data/filter/BaseFilterFieldSpec.d.ts +73 -0
  324. package/build/types/data/filter/CompoundFilter.d.ts +29 -0
  325. package/build/types/data/filter/FieldFilter.d.ts +34 -0
  326. package/build/types/data/filter/Filter.d.ts +30 -0
  327. package/build/types/data/filter/FunctionFilter.d.ts +24 -0
  328. package/build/types/data/filter/Types.d.ts +67 -0
  329. package/build/types/data/filter/Utils.d.ts +48 -0
  330. package/build/types/data/impl/RecordSet.d.ts +44 -0
  331. package/build/types/data/impl/RecordValidator.d.ts +38 -0
  332. package/build/types/data/impl/StoreValidator.d.ts +48 -0
  333. package/build/types/data/index.d.ts +34 -0
  334. package/build/types/data/validation/Rule.d.ts +16 -0
  335. package/build/types/data/validation/Types.d.ts +56 -0
  336. package/build/types/data/validation/ValidationState.d.ts +6 -0
  337. package/build/types/data/validation/constraints.d.ts +75 -0
  338. package/build/types/desktop/appcontainer/AboutDialog.d.ts +11 -0
  339. package/build/types/desktop/appcontainer/AppContainer.d.ts +12 -0
  340. package/build/types/desktop/appcontainer/Banner.d.ts +8 -0
  341. package/build/types/desktop/appcontainer/ChangelogDialog.d.ts +3 -0
  342. package/build/types/desktop/appcontainer/ExceptionDialog.d.ts +13 -0
  343. package/build/types/desktop/appcontainer/ExceptionDialogDetails.d.ts +8 -0
  344. package/build/types/desktop/appcontainer/FeedbackDialog.d.ts +6 -0
  345. package/build/types/desktop/appcontainer/ImpersonationBar.d.ts +9 -0
  346. package/build/types/desktop/appcontainer/LockoutPanel.d.ts +8 -0
  347. package/build/types/desktop/appcontainer/LoginPanel.d.ts +9 -0
  348. package/build/types/desktop/appcontainer/Message.d.ts +8 -0
  349. package/build/types/desktop/appcontainer/MessageSource.d.ts +6 -0
  350. package/build/types/desktop/appcontainer/OptionsDialog.d.ts +9 -0
  351. package/build/types/desktop/appcontainer/ToastSource.d.ts +8 -0
  352. package/build/types/desktop/appcontainer/VersionBar.d.ts +3 -0
  353. package/build/types/desktop/appcontainer/index.d.ts +1 -0
  354. package/build/types/desktop/appcontainer/suspend/IdlePanel.d.ts +8 -0
  355. package/build/types/desktop/appcontainer/suspend/SuspendPanel.d.ts +7 -0
  356. package/build/types/desktop/cmp/appOption/AutoRefreshAppOption.d.ts +341 -0
  357. package/build/types/desktop/cmp/appOption/SizingModeAppOption.d.ts +17 -0
  358. package/build/types/desktop/cmp/appOption/ThemeAppOption.d.ts +341 -0
  359. package/build/types/desktop/cmp/appOption/index.d.ts +3 -0
  360. package/build/types/desktop/cmp/appbar/AppBar.d.ts +34 -0
  361. package/build/types/desktop/cmp/appbar/AppBarSeparator.d.ts +5 -0
  362. package/build/types/desktop/cmp/appbar/index.d.ts +2 -0
  363. package/build/types/desktop/cmp/button/AppMenuButton.d.ts +44 -0
  364. package/build/types/desktop/cmp/button/Button.d.ts +28 -0
  365. package/build/types/desktop/cmp/button/ButtonGroup.d.ts +16 -0
  366. package/build/types/desktop/cmp/button/DashCanvasAddViewButton.d.ts +10 -0
  367. package/build/types/desktop/cmp/button/FeedbackButton.d.ts +8 -0
  368. package/build/types/desktop/cmp/button/LaunchAdminButton.d.ts +8 -0
  369. package/build/types/desktop/cmp/button/LogoutButton.d.ts +10 -0
  370. package/build/types/desktop/cmp/button/OptionsButton.d.ts +9 -0
  371. package/build/types/desktop/cmp/button/RefreshButton.d.ts +15 -0
  372. package/build/types/desktop/cmp/button/RestoreDefaultsButton.d.ts +16 -0
  373. package/build/types/desktop/cmp/button/ThemeToggleButton.d.ts +7 -0
  374. package/build/types/desktop/cmp/button/WhatsNewButton.d.ts +10 -0
  375. package/build/types/desktop/cmp/button/grid/ColAutosizeButton.d.ts +13 -0
  376. package/build/types/desktop/cmp/button/grid/ColChooserButton.d.ts +18 -0
  377. package/build/types/desktop/cmp/button/grid/ExpandToLevelButton.d.ts +18 -0
  378. package/build/types/desktop/cmp/button/grid/ExportButton.d.ts +21 -0
  379. package/build/types/desktop/cmp/button/index.d.ts +17 -0
  380. package/build/types/desktop/cmp/button/panel/ModalToggleButton.d.ts +10 -0
  381. package/build/types/desktop/cmp/button/zoneGrid/ZoneMapperButton.d.ts +15 -0
  382. package/build/types/desktop/cmp/card/impl/CardHeaderImpl.d.ts +6 -0
  383. package/build/types/desktop/cmp/clipboard/ClipboardButton.d.ts +20 -0
  384. package/build/types/desktop/cmp/clipboard/ClipboardMenuItem.d.ts +6 -0
  385. package/build/types/desktop/cmp/clipboard/index.d.ts +2 -0
  386. package/build/types/desktop/cmp/contextmenu/ContextMenu.d.ts +15 -0
  387. package/build/types/desktop/cmp/contextmenu/index.d.ts +1 -0
  388. package/build/types/desktop/cmp/dash/DashConfig.d.ts +36 -0
  389. package/build/types/desktop/cmp/dash/DashModel.d.ts +22 -0
  390. package/build/types/desktop/cmp/dash/DashViewModel.d.ts +81 -0
  391. package/build/types/desktop/cmp/dash/DashViewSpec.d.ts +41 -0
  392. package/build/types/desktop/cmp/dash/canvas/DashCanvas.d.ts +27 -0
  393. package/build/types/desktop/cmp/dash/canvas/DashCanvasModel.d.ts +166 -0
  394. package/build/types/desktop/cmp/dash/canvas/DashCanvasViewModel.d.ts +27 -0
  395. package/build/types/desktop/cmp/dash/canvas/DashCanvasViewSpec.d.ts +30 -0
  396. package/build/types/desktop/cmp/dash/canvas/impl/DashCanvasContextMenu.d.ts +8 -0
  397. package/build/types/desktop/cmp/dash/canvas/impl/DashCanvasView.d.ts +12 -0
  398. package/build/types/desktop/cmp/dash/canvas/impl/utils.d.ts +11 -0
  399. package/build/types/desktop/cmp/dash/canvas/widgetchooser/DashCanvasWidgetChooser.d.ts +13 -0
  400. package/build/types/desktop/cmp/dash/canvas/widgetchooser/DashCanvasWidgetChooserModel.d.ts +12 -0
  401. package/build/types/desktop/cmp/dash/container/DashContainer.d.ts +8 -0
  402. package/build/types/desktop/cmp/dash/container/DashContainerModel.d.ts +162 -0
  403. package/build/types/desktop/cmp/dash/container/DashContainerViewModel.d.ts +14 -0
  404. package/build/types/desktop/cmp/dash/container/DashContainerViewSpec.d.ts +17 -0
  405. package/build/types/desktop/cmp/dash/container/impl/DashContainerContextMenu.d.ts +15 -0
  406. package/build/types/desktop/cmp/dash/container/impl/DashContainerMenuButton.d.ts +7 -0
  407. package/build/types/desktop/cmp/dash/container/impl/DashContainerUtils.d.ts +16 -0
  408. package/build/types/desktop/cmp/dash/container/impl/DashContainerView.d.ts +12 -0
  409. package/build/types/desktop/cmp/dash/index.d.ts +12 -0
  410. package/build/types/desktop/cmp/dock/DockContainer.d.ts +25 -0
  411. package/build/types/desktop/cmp/dock/DockContainerModel.d.ts +33 -0
  412. package/build/types/desktop/cmp/dock/DockViewModel.d.ts +83 -0
  413. package/build/types/desktop/cmp/dock/impl/DockContainer.d.ts +9 -0
  414. package/build/types/desktop/cmp/dock/impl/DockView.d.ts +15 -0
  415. package/build/types/desktop/cmp/dock/index.d.ts +3 -0
  416. package/build/types/desktop/cmp/error/impl/ErrorMessage.d.ts +7 -0
  417. package/build/types/desktop/cmp/filechooser/FileChooser.d.ts +42 -0
  418. package/build/types/desktop/cmp/filechooser/FileChooserModel.d.ts +23 -0
  419. package/build/types/desktop/cmp/filechooser/index.d.ts +2 -0
  420. package/build/types/desktop/cmp/filter/FilterChooser.d.ts +32 -0
  421. package/build/types/desktop/cmp/filter/PopoverFilterChooser.d.ts +9 -0
  422. package/build/types/desktop/cmp/filter/index.d.ts +3 -0
  423. package/build/types/desktop/cmp/form/FormField.d.ts +64 -0
  424. package/build/types/desktop/cmp/form/index.d.ts +1 -0
  425. package/build/types/desktop/cmp/grid/columns/Actions.d.ts +29 -0
  426. package/build/types/desktop/cmp/grid/editors/BooleanEditor.d.ts +15 -0
  427. package/build/types/desktop/cmp/grid/editors/DateEditor.d.ts +6 -0
  428. package/build/types/desktop/cmp/grid/editors/EditorProps.d.ts +17 -0
  429. package/build/types/desktop/cmp/grid/editors/NumberEditor.d.ts +6 -0
  430. package/build/types/desktop/cmp/grid/editors/SelectEditor.d.ts +6 -0
  431. package/build/types/desktop/cmp/grid/editors/TextAreaEditor.d.ts +6 -0
  432. package/build/types/desktop/cmp/grid/editors/TextEditor.d.ts +6 -0
  433. package/build/types/desktop/cmp/grid/editors/impl/InlineEditorModel.d.ts +15 -0
  434. package/build/types/desktop/cmp/grid/editors/index.d.ts +6 -0
  435. package/build/types/desktop/cmp/grid/find/GridFindField.d.ts +43 -0
  436. package/build/types/desktop/cmp/grid/find/impl/GridFindFieldImplModel.d.ts +36 -0
  437. package/build/types/desktop/cmp/grid/impl/colchooser/ColChooser.d.ts +18 -0
  438. package/build/types/desktop/cmp/grid/impl/colchooser/ColChooserDialog.d.ts +2 -0
  439. package/build/types/desktop/cmp/grid/impl/colchooser/ColChooserModel.d.ts +28 -0
  440. package/build/types/desktop/cmp/grid/impl/filter/ColumnHeaderFilter.d.ts +9 -0
  441. package/build/types/desktop/cmp/grid/impl/filter/ColumnHeaderFilterModel.d.ts +13 -0
  442. package/build/types/desktop/cmp/grid/impl/filter/GridFilterDialog.d.ts +11 -0
  443. package/build/types/desktop/cmp/grid/impl/filter/headerfilter/HeaderFilter.d.ts +7 -0
  444. package/build/types/desktop/cmp/grid/impl/filter/headerfilter/HeaderFilterModel.d.ts +37 -0
  445. package/build/types/desktop/cmp/grid/impl/filter/headerfilter/custom/CustomRow.d.ts +6 -0
  446. package/build/types/desktop/cmp/grid/impl/filter/headerfilter/custom/CustomRowModel.d.ts +28 -0
  447. package/build/types/desktop/cmp/grid/impl/filter/headerfilter/custom/CustomTab.d.ts +7 -0
  448. package/build/types/desktop/cmp/grid/impl/filter/headerfilter/custom/CustomTabModel.d.ts +21 -0
  449. package/build/types/desktop/cmp/grid/impl/filter/headerfilter/values/ValuesTab.d.ts +7 -0
  450. package/build/types/desktop/cmp/grid/impl/filter/headerfilter/values/ValuesTabModel.d.ts +43 -0
  451. package/build/types/desktop/cmp/grid/index.d.ts +3 -0
  452. package/build/types/desktop/cmp/grouping/GroupingChooser.d.ts +37 -0
  453. package/build/types/desktop/cmp/grouping/index.d.ts +2 -0
  454. package/build/types/desktop/cmp/input/ButtonGroupInput.d.ts +25 -0
  455. package/build/types/desktop/cmp/input/Checkbox.d.ts +29 -0
  456. package/build/types/desktop/cmp/input/CodeInput.d.ts +79 -0
  457. package/build/types/desktop/cmp/input/DateInput.d.ts +118 -0
  458. package/build/types/desktop/cmp/input/JsonInput.d.ts +8 -0
  459. package/build/types/desktop/cmp/input/NumberInput.d.ts +79 -0
  460. package/build/types/desktop/cmp/input/Picker.d.ts +125 -0
  461. package/build/types/desktop/cmp/input/RadioInput.d.ts +21 -0
  462. package/build/types/desktop/cmp/input/Select.d.ts +144 -0
  463. package/build/types/desktop/cmp/input/Slider.d.ts +33 -0
  464. package/build/types/desktop/cmp/input/SwitchInput.d.ts +21 -0
  465. package/build/types/desktop/cmp/input/TextArea.d.ts +26 -0
  466. package/build/types/desktop/cmp/input/TextInput.d.ts +56 -0
  467. package/build/types/desktop/cmp/input/index.d.ts +13 -0
  468. package/build/types/desktop/cmp/leftrightchooser/LeftRightChooser.d.ts +13 -0
  469. package/build/types/desktop/cmp/leftrightchooser/LeftRightChooserFilter.d.ts +15 -0
  470. package/build/types/desktop/cmp/leftrightchooser/LeftRightChooserModel.d.ts +86 -0
  471. package/build/types/desktop/cmp/leftrightchooser/impl/ChooserToolbar.d.ts +3 -0
  472. package/build/types/desktop/cmp/leftrightchooser/impl/Description.d.ts +3 -0
  473. package/build/types/desktop/cmp/leftrightchooser/index.d.ts +3 -0
  474. package/build/types/desktop/cmp/mask/impl/Mask.d.ts +8 -0
  475. package/build/types/desktop/cmp/modalsupport/ModalSupport.d.ts +16 -0
  476. package/build/types/desktop/cmp/modalsupport/ModalSupportModel.d.ts +29 -0
  477. package/build/types/desktop/cmp/modalsupport/index.d.ts +2 -0
  478. package/build/types/desktop/cmp/panel/Panel.d.ts +69 -0
  479. package/build/types/desktop/cmp/panel/PanelModel.d.ts +129 -0
  480. package/build/types/desktop/cmp/panel/impl/PanelHeader.d.ts +2 -0
  481. package/build/types/desktop/cmp/panel/impl/ResizeContainer.d.ts +1 -0
  482. package/build/types/desktop/cmp/panel/impl/Splitter.d.ts +2 -0
  483. package/build/types/desktop/cmp/panel/impl/dragger/Dragger.d.ts +3 -0
  484. package/build/types/desktop/cmp/panel/impl/dragger/DraggerModel.d.ts +34 -0
  485. package/build/types/desktop/cmp/panel/index.d.ts +2 -0
  486. package/build/types/desktop/cmp/pinpad/impl/PinPad.d.ts +11 -0
  487. package/build/types/desktop/cmp/record/RecordActionBar.d.ts +32 -0
  488. package/build/types/desktop/cmp/record/impl/RecordActionButton.d.ts +20 -0
  489. package/build/types/desktop/cmp/record/index.d.ts +1 -0
  490. package/build/types/desktop/cmp/rest/Actions.d.ts +7 -0
  491. package/build/types/desktop/cmp/rest/RestGrid.d.ts +33 -0
  492. package/build/types/desktop/cmp/rest/RestGridModel.d.ts +104 -0
  493. package/build/types/desktop/cmp/rest/data/RestField.d.ts +37 -0
  494. package/build/types/desktop/cmp/rest/data/RestStore.d.ts +39 -0
  495. package/build/types/desktop/cmp/rest/impl/RestForm.d.ts +6 -0
  496. package/build/types/desktop/cmp/rest/impl/RestFormField.d.ts +5 -0
  497. package/build/types/desktop/cmp/rest/impl/RestFormModel.d.ts +49 -0
  498. package/build/types/desktop/cmp/rest/impl/RestGridToolbar.d.ts +5 -0
  499. package/build/types/desktop/cmp/rest/index.d.ts +4 -0
  500. package/build/types/desktop/cmp/store/impl/StoreFilterField.d.ts +6 -0
  501. package/build/types/desktop/cmp/tab/TabSwitcher.d.ts +14 -0
  502. package/build/types/desktop/cmp/tab/dynamic/DynamicTabSwitcher.d.ts +7 -0
  503. package/build/types/desktop/cmp/tab/dynamic/DynamicTabSwitcherModel.d.ts +30 -0
  504. package/build/types/desktop/cmp/tab/dynamic/scroller/Scroller.d.ts +19 -0
  505. package/build/types/desktop/cmp/tab/dynamic/scroller/ScrollerModel.d.ts +23 -0
  506. package/build/types/desktop/cmp/tab/impl/Tab.d.ts +17 -0
  507. package/build/types/desktop/cmp/tab/impl/TabContainer.d.ts +7 -0
  508. package/build/types/desktop/cmp/tab/impl/TabContextMenuItems.d.ts +4 -0
  509. package/build/types/desktop/cmp/tab/index.d.ts +2 -0
  510. package/build/types/desktop/cmp/toolbar/Toolbar.d.ts +30 -0
  511. package/build/types/desktop/cmp/toolbar/ToolbarSep.d.ts +10 -0
  512. package/build/types/desktop/cmp/toolbar/index.d.ts +2 -0
  513. package/build/types/desktop/cmp/viewmanager/ViewManager.d.ts +46 -0
  514. package/build/types/desktop/cmp/viewmanager/ViewManagerLocalModel.d.ts +13 -0
  515. package/build/types/desktop/cmp/viewmanager/ViewMenu.d.ts +5 -0
  516. package/build/types/desktop/cmp/viewmanager/dialog/ManageDialog.d.ts +7 -0
  517. package/build/types/desktop/cmp/viewmanager/dialog/ManageDialogModel.d.ts +41 -0
  518. package/build/types/desktop/cmp/viewmanager/dialog/SaveAsDialog.d.ts +5 -0
  519. package/build/types/desktop/cmp/viewmanager/dialog/SaveAsDialogModel.d.ts +17 -0
  520. package/build/types/desktop/cmp/viewmanager/dialog/Utils.d.ts +11 -0
  521. package/build/types/desktop/cmp/viewmanager/dialog/ViewMultiPanel.d.ts +2 -0
  522. package/build/types/desktop/cmp/viewmanager/dialog/ViewPanel.d.ts +5 -0
  523. package/build/types/desktop/cmp/viewmanager/dialog/ViewPanelModel.d.ts +16 -0
  524. package/build/types/desktop/cmp/viewmanager/index.d.ts +1 -0
  525. package/build/types/desktop/cmp/zoneGrid/impl/ZoneMapper.d.ts +16 -0
  526. package/build/types/desktop/cmp/zoneGrid/impl/ZoneMapperDialog.d.ts +2 -0
  527. package/build/types/desktop/hooks/UseContextMenu.d.ts +11 -0
  528. package/build/types/desktop/hooks/UseHotkeys.d.ts +14 -0
  529. package/build/types/desktop/hooks/index.d.ts +2 -0
  530. package/build/types/desktop/register.d.ts +1 -0
  531. package/build/types/dynamics/desktop.d.ts +33 -0
  532. package/build/types/dynamics/mobile.d.ts +25 -0
  533. package/build/types/exception/Exception.d.ts +24 -0
  534. package/build/types/exception/Types.d.ts +35 -0
  535. package/build/types/exception/index.d.ts +2 -0
  536. package/build/types/format/FormatDate.d.ts +73 -0
  537. package/build/types/format/FormatMisc.d.ts +43 -0
  538. package/build/types/format/FormatNumber.d.ts +137 -0
  539. package/build/types/format/FormatUtils.d.ts +11 -0
  540. package/build/types/format/impl/Utils.d.ts +7 -0
  541. package/build/types/format/index.d.ts +4 -0
  542. package/build/types/icon/Icon.d.ts +363 -0
  543. package/build/types/icon/XHLogo.d.ts +4 -0
  544. package/build/types/icon/impl/IconCmp.d.ts +6 -0
  545. package/build/types/icon/impl/IconHtml.d.ts +13 -0
  546. package/build/types/icon/index.d.ts +2 -0
  547. package/build/types/inspector/InspectorPanel.d.ts +5 -0
  548. package/build/types/inspector/instances/InstancesModel.d.ts +48 -0
  549. package/build/types/inspector/instances/InstancesPanel.d.ts +2 -0
  550. package/build/types/inspector/stats/StatsModel.d.ts +20 -0
  551. package/build/types/inspector/stats/StatsPanel.d.ts +2 -0
  552. package/build/types/kit/ag-grid/index.d.ts +22 -0
  553. package/build/types/kit/blueprint/ContextMenu.d.ts +7 -0
  554. package/build/types/kit/blueprint/Dialog.d.ts +12 -0
  555. package/build/types/kit/blueprint/Wrappers.d.ts +8 -0
  556. package/build/types/kit/blueprint/index.d.ts +9 -0
  557. package/build/types/kit/highcharts/index.d.ts +6 -0
  558. package/build/types/kit/onsen/index.d.ts +8 -0
  559. package/build/types/kit/react-beautiful-dnd/index.d.ts +3 -0
  560. package/build/types/kit/react-dates/index.d.ts +5 -0
  561. package/build/types/kit/react-dropzone/index.d.ts +3 -0
  562. package/build/types/kit/react-markdown/index.d.ts +4 -0
  563. package/build/types/kit/react-select/index.d.ts +10 -0
  564. package/build/types/kit/swiper/index.d.ts +97 -0
  565. package/build/types/mobile/appcontainer/AboutDialog.d.ts +10 -0
  566. package/build/types/mobile/appcontainer/AppContainer.d.ts +12 -0
  567. package/build/types/mobile/appcontainer/Banner.d.ts +8 -0
  568. package/build/types/mobile/appcontainer/ExceptionDialog.d.ts +13 -0
  569. package/build/types/mobile/appcontainer/ExceptionDialogDetails.d.ts +7 -0
  570. package/build/types/mobile/appcontainer/FeedbackDialog.d.ts +6 -0
  571. package/build/types/mobile/appcontainer/ImpersonationBar.d.ts +9 -0
  572. package/build/types/mobile/appcontainer/LockoutPanel.d.ts +8 -0
  573. package/build/types/mobile/appcontainer/LoginPanel.d.ts +9 -0
  574. package/build/types/mobile/appcontainer/Message.d.ts +7 -0
  575. package/build/types/mobile/appcontainer/MessageSource.d.ts +6 -0
  576. package/build/types/mobile/appcontainer/OptionsDialog.d.ts +6 -0
  577. package/build/types/mobile/appcontainer/Toast.d.ts +6 -0
  578. package/build/types/mobile/appcontainer/ToastSource.d.ts +7 -0
  579. package/build/types/mobile/appcontainer/VersionBar.d.ts +5 -0
  580. package/build/types/mobile/appcontainer/index.d.ts +1 -0
  581. package/build/types/mobile/appcontainer/suspend/IdlePanel.d.ts +8 -0
  582. package/build/types/mobile/appcontainer/suspend/SuspendPanel.d.ts +7 -0
  583. package/build/types/mobile/cmp/appOption/AutoRefreshAppOption.d.ts +15 -0
  584. package/build/types/mobile/cmp/appOption/SizingModeAppOption.d.ts +17 -0
  585. package/build/types/mobile/cmp/appOption/ThemeAppOption.d.ts +15 -0
  586. package/build/types/mobile/cmp/appOption/index.d.ts +3 -0
  587. package/build/types/mobile/cmp/button/Button.d.ts +22 -0
  588. package/build/types/mobile/cmp/button/ButtonGroup.d.ts +12 -0
  589. package/build/types/mobile/cmp/button/FeedbackButton.d.ts +8 -0
  590. package/build/types/mobile/cmp/button/LogoutButton.d.ts +10 -0
  591. package/build/types/mobile/cmp/button/NavigatorBackButton.d.ts +7 -0
  592. package/build/types/mobile/cmp/button/OptionsButton.d.ts +9 -0
  593. package/build/types/mobile/cmp/button/RefreshButton.d.ts +15 -0
  594. package/build/types/mobile/cmp/button/RestoreDefaultsButton.d.ts +16 -0
  595. package/build/types/mobile/cmp/button/ThemeToggleButton.d.ts +7 -0
  596. package/build/types/mobile/cmp/button/grid/ColAutosizeButton.d.ts +13 -0
  597. package/build/types/mobile/cmp/button/grid/ColChooserButton.d.ts +14 -0
  598. package/build/types/mobile/cmp/button/grid/ExpandCollapseButton.d.ts +14 -0
  599. package/build/types/mobile/cmp/button/grid/ExpandToLevelButton.d.ts +15 -0
  600. package/build/types/mobile/cmp/button/index.d.ts +13 -0
  601. package/build/types/mobile/cmp/button/zoneGrid/ZoneMapperButton.d.ts +12 -0
  602. package/build/types/mobile/cmp/card/impl/CardHeaderImpl.d.ts +6 -0
  603. package/build/types/mobile/cmp/dialog/Dialog.d.ts +17 -0
  604. package/build/types/mobile/cmp/dialog/index.d.ts +1 -0
  605. package/build/types/mobile/cmp/error/impl/ErrorMessage.d.ts +7 -0
  606. package/build/types/mobile/cmp/form/FormField.d.ts +27 -0
  607. package/build/types/mobile/cmp/form/index.d.ts +1 -0
  608. package/build/types/mobile/cmp/grid/impl/ColChooser.d.ts +21 -0
  609. package/build/types/mobile/cmp/grid/impl/ColChooserModel.d.ts +46 -0
  610. package/build/types/mobile/cmp/grouping/GroupingChooser.d.ts +15 -0
  611. package/build/types/mobile/cmp/grouping/index.d.ts +2 -0
  612. package/build/types/mobile/cmp/header/AppBar.d.ts +39 -0
  613. package/build/types/mobile/cmp/header/AppMenuButton.d.ts +41 -0
  614. package/build/types/mobile/cmp/header/index.d.ts +2 -0
  615. package/build/types/mobile/cmp/input/ButtonGroupInput.d.ts +22 -0
  616. package/build/types/mobile/cmp/input/Checkbox.d.ts +13 -0
  617. package/build/types/mobile/cmp/input/CheckboxButton.d.ts +13 -0
  618. package/build/types/mobile/cmp/input/DateInput.d.ts +54 -0
  619. package/build/types/mobile/cmp/input/Label.d.ts +10 -0
  620. package/build/types/mobile/cmp/input/NumberInput.d.ts +53 -0
  621. package/build/types/mobile/cmp/input/SearchInput.d.ts +24 -0
  622. package/build/types/mobile/cmp/input/Select.d.ts +127 -0
  623. package/build/types/mobile/cmp/input/SwitchInput.d.ts +13 -0
  624. package/build/types/mobile/cmp/input/TextArea.d.ts +21 -0
  625. package/build/types/mobile/cmp/input/TextInput.d.ts +46 -0
  626. package/build/types/mobile/cmp/input/index.d.ts +11 -0
  627. package/build/types/mobile/cmp/mask/impl/Mask.d.ts +8 -0
  628. package/build/types/mobile/cmp/menu/MenuButton.d.ts +23 -0
  629. package/build/types/mobile/cmp/menu/impl/Menu.d.ts +12 -0
  630. package/build/types/mobile/cmp/menu/index.d.ts +1 -0
  631. package/build/types/mobile/cmp/navigator/Navigator.d.ts +8 -0
  632. package/build/types/mobile/cmp/navigator/NavigatorModel.d.ts +62 -0
  633. package/build/types/mobile/cmp/navigator/PageModel.d.ts +61 -0
  634. package/build/types/mobile/cmp/navigator/impl/GestureRefresh.d.ts +8 -0
  635. package/build/types/mobile/cmp/navigator/impl/GestureRefreshModel.d.ts +16 -0
  636. package/build/types/mobile/cmp/navigator/impl/Page.d.ts +12 -0
  637. package/build/types/mobile/cmp/navigator/impl/Utils.d.ts +9 -0
  638. package/build/types/mobile/cmp/navigator/index.d.ts +2 -0
  639. package/build/types/mobile/cmp/panel/DialogPanel.d.ts +16 -0
  640. package/build/types/mobile/cmp/panel/Panel.d.ts +43 -0
  641. package/build/types/mobile/cmp/panel/impl/PanelHeader.d.ts +6 -0
  642. package/build/types/mobile/cmp/panel/index.d.ts +2 -0
  643. package/build/types/mobile/cmp/pinpad/impl/PinPad.d.ts +9 -0
  644. package/build/types/mobile/cmp/popover/Popover.d.ts +33 -0
  645. package/build/types/mobile/cmp/popover/index.d.ts +1 -0
  646. package/build/types/mobile/cmp/store/impl/StoreFilterField.d.ts +6 -0
  647. package/build/types/mobile/cmp/tab/impl/Tab.d.ts +13 -0
  648. package/build/types/mobile/cmp/tab/impl/TabContainer.d.ts +9 -0
  649. package/build/types/mobile/cmp/toolbar/Toolbar.d.ts +11 -0
  650. package/build/types/mobile/cmp/toolbar/ToolbarSeparator.d.ts +7 -0
  651. package/build/types/mobile/cmp/toolbar/index.d.ts +2 -0
  652. package/build/types/mobile/cmp/zoneGrid/impl/ZoneMapper.d.ts +16 -0
  653. package/build/types/mobile/register.d.ts +1 -0
  654. package/build/types/mobx/decorators.d.ts +11 -0
  655. package/build/types/mobx/index.d.ts +5 -0
  656. package/build/types/mobx/overrides.d.ts +14 -0
  657. package/build/types/promise/Promise.d.ts +108 -0
  658. package/build/types/promise/index.d.ts +1 -0
  659. package/build/types/security/BaseOAuthClient.d.ts +172 -0
  660. package/build/types/security/Token.d.ts +11 -0
  661. package/build/types/security/Types.d.ts +14 -0
  662. package/build/types/security/authzero/AuthZeroClient.d.ts +57 -0
  663. package/build/types/security/authzero/index.d.ts +1 -0
  664. package/build/types/security/msal/MsalClient.d.ts +162 -0
  665. package/build/types/security/msal/index.d.ts +1 -0
  666. package/build/types/svc/AlertBannerService.d.ts +33 -0
  667. package/build/types/svc/AutoRefreshService.d.ts +28 -0
  668. package/build/types/svc/ChangelogService.d.ts +62 -0
  669. package/build/types/svc/ClientHealthService.d.ts +64 -0
  670. package/build/types/svc/ConfigService.d.ts +36 -0
  671. package/build/types/svc/EnvironmentService.d.ts +50 -0
  672. package/build/types/svc/FetchService.d.ts +269 -0
  673. package/build/types/svc/GridAutosizeService.d.ts +35 -0
  674. package/build/types/svc/GridExportService.d.ts +56 -0
  675. package/build/types/svc/IdentityService.d.ts +58 -0
  676. package/build/types/svc/IdleService.d.ts +21 -0
  677. package/build/types/svc/InspectorService.d.ts +75 -0
  678. package/build/types/svc/JsonBlobService.d.ts +60 -0
  679. package/build/types/svc/PrefService.d.ts +69 -0
  680. package/build/types/svc/TrackService.d.ts +42 -0
  681. package/build/types/svc/WebSocketService.d.ts +126 -0
  682. package/build/types/svc/index.d.ts +18 -0
  683. package/build/types/svc/storage/BaseStorageService.d.ts +21 -0
  684. package/build/types/svc/storage/LocalStorageService.d.ts +12 -0
  685. package/build/types/svc/storage/SessionStorageService.d.ts +12 -0
  686. package/build/types/utils/async/AsyncUtils.d.ts +40 -0
  687. package/build/types/utils/async/Timer.d.ts +87 -0
  688. package/build/types/utils/async/index.d.ts +2 -0
  689. package/build/types/utils/datetime/DateTimeUtils.d.ts +10 -0
  690. package/build/types/utils/datetime/LocalDate.d.ts +92 -0
  691. package/build/types/utils/datetime/index.d.ts +2 -0
  692. package/build/types/utils/impl/Equals.d.ts +4 -0
  693. package/build/types/utils/impl/IsOmitted.d.ts +7 -0
  694. package/build/types/utils/impl/MenuItems.d.ts +13 -0
  695. package/build/types/utils/impl/Separators.d.ts +10 -0
  696. package/build/types/utils/impl/TimeZone.d.ts +4 -0
  697. package/build/types/utils/impl/index.d.ts +5 -0
  698. package/build/types/utils/js/Decorators.d.ts +42 -0
  699. package/build/types/utils/js/DomUtils.d.ts +50 -0
  700. package/build/types/utils/js/HtmlUtils.d.ts +4 -0
  701. package/build/types/utils/js/LangUtils.d.ts +122 -0
  702. package/build/types/utils/js/LogUtils.d.ts +108 -0
  703. package/build/types/utils/js/TestUtils.d.ts +18 -0
  704. package/build/types/utils/js/VersionUtils.d.ts +17 -0
  705. package/build/types/utils/js/index.d.ts +7 -0
  706. package/build/types/utils/react/ClassName.d.ts +14 -0
  707. package/build/types/utils/react/Hooks.d.ts +46 -0
  708. package/build/types/utils/react/LayoutPropUtils.d.ts +43 -0
  709. package/build/types/utils/react/ObservableRef.d.ts +13 -0
  710. package/build/types/utils/react/ReactUtils.d.ts +23 -0
  711. package/build/types/utils/react/index.d.ts +5 -0
  712. package/cmp/grouping/impl/GroupingChooserLocalModel.ts +6 -0
  713. package/desktop/cmp/dash/canvas/DashCanvasModel.ts +2 -1
  714. package/desktop/cmp/grouping/GroupingChooser.ts +4 -1
  715. package/package.json +2 -1
@@ -0,0 +1,285 @@
1
+ import type { HSide, PersistOptions, Some } from '@xh/hoist/core';
2
+ import type { FilterBindTarget, FilterMatchMode, FilterValueSource, Store, StoreRecord } from '@xh/hoist/data';
3
+ import type { CellClassParams, CustomCellEditorProps, HeaderClassParams, HeaderValueGetterParams, ICellRendererParams, IRowNode, ITooltipParams, RowClassParams, ValueSetterParams } from '@xh/hoist/kit/ag-grid';
4
+ import type { ReactElement, ReactNode } from 'react';
5
+ import type { Column, ColumnSpec } from './columns/Column';
6
+ import type { ColumnGroup, ColumnGroupSpec } from './columns/ColumnGroup';
7
+ import type { GridFilterFieldSpecConfig } from './filter/GridFilterFieldSpec';
8
+ import type { GridModel } from './GridModel';
9
+ export interface ColumnState {
10
+ colId: string;
11
+ width: number;
12
+ hidden: boolean;
13
+ /** has this column been resized manually? */
14
+ manuallySized?: boolean;
15
+ /** Side if pinned, null if not. */
16
+ pinned?: HSide;
17
+ }
18
+ /**
19
+ * Comparator for custom grid group sorting, provided to GridModel.
20
+ * @param groupAVal - first group value to be compared.
21
+ * @param groupBVal - second group value to be compared.
22
+ * @param groupField - field name being grouped at this level.
23
+ * @param metadata - additional metadata with raw ag-Grid group nodes.
24
+ * @returns 0 if group values are equal, a negative number if `a` sorts first,
25
+ * and a positive number if `b` sorts first.
26
+ */
27
+ export type GridGroupSortFn = (groupAVal: string, groupBVal: string, groupField: string, metadata: {
28
+ gridModel: GridModel;
29
+ nodeA: IRowNode;
30
+ nodeB: IRowNode;
31
+ }) => number;
32
+ /**
33
+ * Closure to generate CSS class names for a row.
34
+ * @param record - the StoreRecord associated with the rendered row.
35
+ * @returns CSS class(es) to apply to the row level.
36
+ */
37
+ export type RowClassFn = (record: StoreRecord) => Some<string>;
38
+ /**
39
+ * Function to determine if a particular CSS class should be added/removed from a row,
40
+ * via rowClassRules config.
41
+ * @param agParams - as provided by AG-Grid. Note that when a RowClassRuleFn is called by the
42
+ * GridAutosizeService, it is only provided with an object with the 'data' key,
43
+ * not the entire RowClassParams params.
44
+ * @returns true if the class to which this function is keyed should be added, false if
45
+ * it should be removed.
46
+ */
47
+ export type RowClassRuleFn = (agParams: RowClassParams) => boolean;
48
+ export interface GridModelPersistOptions extends PersistOptions {
49
+ /** True (default) to include column state or provide column-specific PersistOptions. */
50
+ persistColumns?: boolean | PersistOptions;
51
+ /** True (default) to include grouping state or provide grouping-specific PersistOptions. */
52
+ persistGrouping?: boolean | PersistOptions;
53
+ /** True (default) to include sort state or provide sort-specific PersistOptions. */
54
+ persistSort?: boolean | PersistOptions;
55
+ /** True (default) to include expanded level state or provide expanded level-specific PersistOptions. */
56
+ persistExpandToLevel?: boolean | PersistOptions;
57
+ }
58
+ export interface GridFilterModelConfig {
59
+ /**
60
+ * Target (typically a {@link Store} or Cube {@link View}) to be filtered as column filters
61
+ * are applied and used as a source for unique values displayed in the filtering UI when
62
+ * applicable. Defaulted to the gridModel's store.
63
+ */
64
+ bind?: GridFilterBindTarget;
65
+ /**
66
+ * True to update filters immediately after each change made in the column-based filter UI.
67
+ * Defaults to False.
68
+ */
69
+ commitOnChange?: boolean;
70
+ /**
71
+ * Specifies the fields this model supports for filtering. Should be configs for
72
+ * {@link GridFilterFieldSpec}, string names to match with Fields in bound Store/View, or
73
+ * omitted entirely to indicate that all fields should be filter-enabled.
74
+ */
75
+ fieldSpecs?: Array<string | GridFilterFieldSpecConfig>;
76
+ /** Default properties to be assigned to all fieldSpecs created by this model. */
77
+ fieldSpecDefaults?: Omit<GridFilterFieldSpecConfig, 'field'>;
78
+ }
79
+ /**
80
+ * {@link GridFilterModel} currently accepts a single `bind` target that also provides available
81
+ * values. Note that both `Store` and `View` satisfy this intersection.
82
+ */
83
+ export interface GridFilterBindTarget extends FilterBindTarget, FilterValueSource {
84
+ }
85
+ /**
86
+ * Renderer for a group row
87
+ * @param context - The group renderer params from ag-Grid
88
+ * @returns the formatted value for display.
89
+ */
90
+ export type GroupRowRenderer = (context: ICellRendererParams) => ReactNode;
91
+ export interface ColChooserConfig {
92
+ /** GridModel to bind to. Not required if creating via `GridModel.colChooserModel` */
93
+ gridModel?: GridModel;
94
+ /**
95
+ * Immediately render changed columns on grid (default true).
96
+ * Set to false to enable Save button for committing changes on save. Desktop only.
97
+ */
98
+ commitOnChange?: boolean;
99
+ /**
100
+ * Show Restore Defaults button (default true). Set to false to hide Restore Grid
101
+ * Defaults button, which immediately commits grid defaults (all column, grouping,
102
+ * and sorting states).
103
+ */
104
+ showRestoreDefaults?: boolean;
105
+ /**
106
+ * Autosize grid columns after committing changes (default false for desktop, true for mobile).
107
+ */
108
+ autosizeOnCommit?: boolean;
109
+ /** Chooser width for popover and dialog. Desktop only. */
110
+ width?: string | number;
111
+ /** Chooser height for popover and dialog. Desktop only. */
112
+ height?: string | number;
113
+ /** Mode to use when filtering (default 'startWord'). Desktop only. */
114
+ filterMatchMode?: FilterMatchMode;
115
+ }
116
+ export type ColumnOrGroup = Column | ColumnGroup;
117
+ export type ColumnOrGroupSpec = ColumnSpec | ColumnGroupSpec;
118
+ export declare function isColumnSpec(spec: ColumnOrGroupSpec): spec is ColumnSpec;
119
+ /**
120
+ * Sort comparator function for a grid column. Note that this comparator will also be called if
121
+ * agGrid-provided column filtering is enabled: it is used to sort values shown for set filter
122
+ * options. In that case, some extra params will be null.
123
+ * @param valueA - cell data valueA to be compared
124
+ * @param valueB - cell data valueB to be compared
125
+ * @param sortDir - either 'asc' or 'desc'
126
+ * @param abs - true to sort by absolute value
127
+ * @param params - additional context about records and column for usage by comparator.
128
+ */
129
+ export type ColumnComparator<T = any> = (valueA: T, valueB: T, sortDir: 'asc' | 'desc', abs: boolean, params: {
130
+ recordA: StoreRecord;
131
+ recordB: StoreRecord;
132
+ agNodeA: IRowNode;
133
+ agNodeB: IRowNode;
134
+ column: Column;
135
+ gridModel: GridModel;
136
+ defaultComparator: (a: T, b: T) => number;
137
+ }) => number;
138
+ export interface CellContext {
139
+ record: StoreRecord;
140
+ column: Column;
141
+ gridModel: GridModel;
142
+ }
143
+ /**
144
+ * Renderer function for a grid cell.
145
+ * @param value - cell data value (column + row).
146
+ * @param context - additional data about the column, row and GridModel.
147
+ * Note that columns with renderers that access/rely on record fields other than the primary
148
+ * value should also have their `rendererIsComplex` flag set to true to ensure they are
149
+ * re-run whenever the record (and not just the primary value) changes.
150
+ * @returns the formatted value for display.
151
+ */
152
+ export type ColumnRenderer<T = any> = (value: T, context: CellContext) => ReactNode;
153
+ /**
154
+ * Function to return a value to export for a grid cell.
155
+ * @param value - cell data value (column + row).
156
+ * @param context - additional data about the column, row and GridModel.
157
+ * @returns value for export.
158
+ */
159
+ export type ColumnExportValueFn<T = any> = (value: T, context: CellContext) => any;
160
+ /**
161
+ * Function to return an excel format for a grid cell.
162
+ * @param value - cell data value (column + row).
163
+ * @param context - additional data about the column, row and GridModel.
164
+ * @returns excel format
165
+ */
166
+ export type ColumnExcelFormatFn<T = any> = (value: T, context: CellContext) => string;
167
+ /**
168
+ * Function to return a value for sorting.
169
+ * @param value - cell data value (column + row).
170
+ * @param context - additional data about the column, row and GridModel.
171
+ * @returns value for sort.
172
+ */
173
+ export type ColumnSortValueFn<T = any> = (value: T, context: CellContext) => any;
174
+ /**
175
+ * Function to generate grid cell CSS classes.
176
+ * @param value - cell data value (column + row).
177
+ * @param context - additional data about the column, row and GridModel.
178
+ * @returns CSS class(es) to use.
179
+ */
180
+ export type ColumnCellClassFn<T = any> = (value: T, context: CellContext & {
181
+ agParams: CellClassParams;
182
+ }) => Some<string>;
183
+ /**
184
+ * Function to determine if a particular CSS class should be added/removed from a cell, via
185
+ * cellClassRules config.
186
+ * @param agParams - as provided by Ag-Grid. Includes keys:
187
+ * value - the current cell value.
188
+ * data - the backing Hoist record for the row, if any.
189
+ * @returns true if the class to which this function is keyed should be added, false if
190
+ * it should be removed.
191
+ */
192
+ export type ColumnCellClassRuleFn = (agParams: CellClassParams) => boolean;
193
+ /**
194
+ * Function to produce a grid column tooltip.
195
+ * @param value - cell data value (column + row).
196
+ * @param metadata - additional data about the column and row.
197
+ * @returns the formatted value for display.
198
+ */
199
+ export type ColumnTooltipFn<T = any> = (value: T, cellContext: CellContext & {
200
+ agParams: ITooltipParams;
201
+ }) => ReactNode;
202
+ /**
203
+ * Function to generate header CSS classes.
204
+ * @param context - contains data about the column and GridModel.
205
+ * @returns CSS class(es) to use.
206
+ */
207
+ export type ColumnHeaderClassFn = (context: {
208
+ column: ColumnOrGroup;
209
+ gridModel: GridModel;
210
+ agParams: HeaderClassParams;
211
+ }) => Some<string>;
212
+ /**
213
+ * Function to generate a Column header name.
214
+ * Note that using function for the header name will ignore any ag-Grid functionality for
215
+ * decorating the header name, the return value of the function will be used as-is.
216
+ * The function should be treated like an autorun - any subsequent changes to observable properties
217
+ * referenced during the previous execution of the function will trigger a re-render
218
+ * of the column header.
219
+ *
220
+ * @returns the header name to render in the Column header
221
+ */
222
+ export type ColumnHeaderNameFn = (params: {
223
+ column?: Column;
224
+ columnGroup?: ColumnGroup;
225
+ gridModel: GridModel;
226
+ agParams: HeaderValueGetterParams;
227
+ }) => ReactNode;
228
+ /**
229
+ * Function to determine if a Column should be editable or not. This function will be
230
+ * called whenever the user takes some action which would initiate inline editing of a cell
231
+ * before the actual inline editing session is started.
232
+ * @returns true if cell is editable
233
+ */
234
+ export type ColumnEditableFn = (params: {
235
+ record: StoreRecord;
236
+ store: Store;
237
+ column: Column;
238
+ gridModel: GridModel;
239
+ }) => boolean;
240
+ /**
241
+ * Function to return one Grid cell editor. This function will be used to create a new
242
+ * Component, whenever editing is initiated on a cell.
243
+ * The never parameter is never provided - it is included to satisfy typescript. See
244
+ * discussion in https://github.com/xh/hoist-react/pull/3351.
245
+ * @returns the react element to use as the cell editor.
246
+ */
247
+ export type ColumnEditorFn = (props: ColumnEditorProps, never?: any) => ReactElement;
248
+ /**
249
+ * The object passed into the first argument of {@link ColumnSpec.editor}.
250
+ * Satisfies the {@link EditorProps} of an editor component.
251
+ */
252
+ export type ColumnEditorProps = {
253
+ record: StoreRecord;
254
+ column: Column;
255
+ gridModel: GridModel;
256
+ agParams: CustomCellEditorProps;
257
+ };
258
+ /**
259
+ * Function to update the value of a StoreRecord field after inline editing
260
+ */
261
+ export type ColumnSetValueFn<T = any> = (params: {
262
+ value: T;
263
+ record: StoreRecord;
264
+ field: string;
265
+ store: Store;
266
+ column: Column;
267
+ gridModel: GridModel;
268
+ agParams: ValueSetterParams;
269
+ }) => void;
270
+ /**
271
+ * Function to get the value of a StoreRecord field
272
+ */
273
+ export type ColumnGetValueFn<T = any> = (params: {
274
+ record: StoreRecord;
275
+ field: string;
276
+ store: Store;
277
+ column: Column;
278
+ gridModel: GridModel;
279
+ }) => T;
280
+ export interface ColumnSortSpec {
281
+ /** Direction to sort, either 'asc' or 'desc', or null to remove sort. */
282
+ sort: 'asc' | 'desc' | null;
283
+ /** True to sort by absolute value. */
284
+ abs?: boolean;
285
+ }
@@ -0,0 +1,380 @@
1
+ import { HAlign, HSide, PlainObject, Some, Thunkable } from '@xh/hoist/core';
2
+ import { CubeFieldSpec, FieldSpec, RecordAction, RecordActionSpec, StoreRecord } from '@xh/hoist/data';
3
+ import { FunctionComponent, ReactNode } from 'react';
4
+ import { GridModel } from '../GridModel';
5
+ import { ColumnCellClassFn, ColumnCellClassRuleFn, ColumnComparator, ColumnEditableFn, ColumnEditorFn, ColumnEditorProps, ColumnExcelFormatFn, ColumnExportValueFn, ColumnGetValueFn, ColumnHeaderClassFn, ColumnHeaderNameFn, ColumnRenderer, ColumnSetValueFn, ColumnSortSpec, ColumnSortValueFn, ColumnTooltipFn } from '../Types';
6
+ import type { ColDef, CellClickedEvent } from '@xh/hoist/kit/ag-grid';
7
+ export interface ColumnSpec {
8
+ /**
9
+ * Name of data store field to display within the column, or object containing properties
10
+ * for store field. If object form is used, the provided properties will be used for
11
+ * auto-creating any fields needed on the Grid's store.
12
+ */
13
+ field?: string | FieldSpec | CubeFieldSpec;
14
+ /**
15
+ * Unique identifier for the Column within its grid. Defaults to field name - one of these
16
+ * two properties must be specified.
17
+ */
18
+ colId?: string;
19
+ /**
20
+ * True if this column will host the expand/collapse arrow controls for a hierarchical
21
+ * Tree Grid. For when `GridModel.treeMode` is enabled, one column in that grid should have
22
+ * this flag enabled.
23
+ */
24
+ isTreeColumn?: boolean;
25
+ /**
26
+ * Primary user-facing name for this Column. Sourced from the corresponding data
27
+ * `Field.displayName` from the parent `GridModel.store` config, if available, or defaulted
28
+ * via transform of `field` string config. Used as default value for more specialized
29
+ * `headerName`, `chooserName`, and `exportName` configs. See those configs for additional
30
+ * details and options they support.
31
+ */
32
+ displayName?: string;
33
+ /**
34
+ * Supplementary descriptive text for this Column. Sourced from the corresponding data
35
+ * `Field.description` if available. Used as the default value for `headerTooltip` and
36
+ * `chooserDescription` when those are not explicitly set.
37
+ */
38
+ description?: string;
39
+ /**
40
+ * User-facing text/element displayed in the Column header, or a function to produce the same.
41
+ * Defaulted from `displayName`.
42
+ */
43
+ headerName?: ColumnHeaderNameFn | ReactNode;
44
+ /** Tooltip text for grid header. Defaults from `description` when not explicitly set. */
45
+ headerTooltip?: string;
46
+ /**
47
+ * True if this column header will host an expand/collapse all icon. `Column.isTreeColumn`
48
+ * must be enabled. Defaults to true.
49
+ */
50
+ headerHasExpandCollapse?: boolean;
51
+ /** Horizontal alignment of header contents. Defaults to same as cell alignment. */
52
+ headerAlign?: HAlign;
53
+ /** CSS classes to add to the header. Supports both string values or a function to generate strings.*/
54
+ headerClass?: ColumnHeaderClassFn | Some<string>;
55
+ /**
56
+ * Additional CSS classes to add to each cell in the column. Supports both string values or
57
+ * function to generate.NOTE that, once added, classes will *not* be removed if the data changes.
58
+ * Use `cellClassRules` instead if StoreRecord data can change across refreshes
59
+ */
60
+ cellClass?: ColumnCellClassFn | Some<string>;
61
+ /**
62
+ * CSS class names to functions determining if they should be added or removed from the cell.
63
+ * See Ag-Grid docs on "cell styles" for details.
64
+ */
65
+ cellClassRules?: Record<string, ColumnCellClassRuleFn>;
66
+ /** True to suppress default display of the column.*/
67
+ hidden?: boolean;
68
+ /**
69
+ * Flex columns stretch to fill the width of the grid after all columns with a set pixel-width
70
+ * have been sized. If multiple columns have a flex value set, their width will be set in
71
+ * proportion to their flex values. A flex value of `true` is equivalent to 1. Consider pairing
72
+ * a flex setting with min/max pixel widths to avoid your column being squeezed down to the
73
+ * default 50px minimum or stretching so wide that it compromises the overall legibility of
74
+ * the grid.
75
+ */
76
+ flex?: boolean | number;
77
+ /** Default width in pixels.*/
78
+ width?: number;
79
+ /**
80
+ * Minimum width in pixels - grid will block user-driven as well as auto-flex resizing below
81
+ * this value. (Note this is *not* a substitute for width.)
82
+ */
83
+ minWidth?: number;
84
+ /**
85
+ * Maximum width in pixels - grid will block user-driven as well as auto-flex resizing above
86
+ * this value.
87
+ */
88
+ maxWidth?: number;
89
+ /**
90
+ * Row height required by column in pixels - grids can use this to determine an appropriate
91
+ * row height when the column is visible.
92
+ */
93
+ rowHeight?: number;
94
+ /** Horizontal alignment of cell contents. Default is 'left'. */
95
+ align?: HAlign;
96
+ /**
97
+ * The sorting options for this column to be applied by successive clicks on the column header.
98
+ * Specify null to clear the sort on this column.
99
+ */
100
+ sortingOrder?: Array<'asc' | 'desc' | ColumnSortSpec | null>;
101
+ /**
102
+ * True to enable absolute value sorting for this column. If false (default) absolute value
103
+ * sorts will be ignored when cycling through the sortingOrder.
104
+ */
105
+ absSort?: boolean;
106
+ /**
107
+ * Alternate field name to reference or function to call when producing a value for this column
108
+ * to be sorted by.
109
+ */
110
+ sortValue?: string | ColumnSortValueFn;
111
+ /**
112
+ * Values to match or functions to check to determine if a value should always be sorted
113
+ * to the bottom, regardless of sort order. If more than one entry is provided, values will be
114
+ * sorted according to the order they appear here.
115
+ */
116
+ sortToBottom?: Some<unknown | ((v: unknown) => boolean)>;
117
+ /** Function to compare cell values for sorting.*/
118
+ comparator?: ColumnComparator;
119
+ /** False to prevent user from drag-and-drop resizing. */
120
+ resizable?: boolean;
121
+ /** false to prevent user from sorting on this column. */
122
+ sortable?: boolean;
123
+ /** False to prevent user from drag-and-drop re-ordering. */
124
+ movable?: boolean;
125
+ /**
126
+ * True to enable an Excel-like column header filter menu. Menu option defaults vary based
127
+ * on the underlying Field.type, but include a checkbox-list "values filter" and a custom
128
+ * input filter for more complex queries.
129
+ */
130
+ filterable?: boolean;
131
+ /**
132
+ * False to always show column. Will appear in column chooser but always locked in the
133
+ * displayed collection of columns.
134
+ */
135
+ hideable?: boolean;
136
+ /**
137
+ * Set to true/'left' or 'right' to pin (aka "lock") the column to the side of the grid,
138
+ * ensuring it's visible while horizontally scrolling.
139
+ */
140
+ pinned?: boolean | HSide;
141
+ /** Function returning a React Element for each cell value in this Column.*/
142
+ renderer?: ColumnRenderer;
143
+ /**
144
+ * True if this renderer relies on more than just the value of the field associated with this
145
+ * column. Set to true to ensure that the cells for this column are updated any time the
146
+ * record is changed, but note this can negatively affect update performance. Default false.
147
+ */
148
+ rendererIsComplex?: boolean;
149
+ /**
150
+ * Set to true to call attention to cell changes by flashing the cell's background color.
151
+ */
152
+ highlightOnChange?: boolean;
153
+ /**
154
+ * True to display raw value, or tooltip function.
155
+ */
156
+ tooltip?: boolean | ColumnTooltipFn;
157
+ /**
158
+ * Name to display within the column chooser component. Defaults to `displayName`, can be
159
+ * longer / less abbreviated than `headerName` might be.
160
+ */
161
+ chooserName?: string;
162
+ /**
163
+ * Group name to display within the column chooser component. Chooser will automatically group
164
+ * its "available columns" grid if any cols provide.
165
+ */
166
+ chooserGroup?: string;
167
+ /**
168
+ * Additional descriptive text to display within the column chooser. Appears when the column
169
+ * is selected within the chooser UI. Defaults from `description` when not explicitly set.
170
+ */
171
+ chooserDescription?: string;
172
+ /**
173
+ * True to hide the column from the column chooser completely. Useful for hiding
174
+ * structural columns the user is not expected to adjust.
175
+ */
176
+ excludeFromChooser?: boolean;
177
+ /**
178
+ * Name to use as a header within a file export. Defaults to `headerName`. Useful when
179
+ * `headerName` contains markup or other characters not suitable for use within an Excel or
180
+ * CSV file header.
181
+ */
182
+ exportName?: string | ColumnHeaderNameFn;
183
+ /**
184
+ * Alternate field name to reference or function to call when producing a value for a file
185
+ * export. {@link GridExportService}
186
+ */
187
+ exportValue?: string | ColumnExportValueFn;
188
+ /** True to drop this column from a file export. */
189
+ excludeFromExport?: boolean;
190
+ /** Structured format string for Excel-based exports, or a function to produce one. {@link ExcelFormat} */
191
+ excelFormat?: string | ColumnExcelFormatFn;
192
+ /**
193
+ * Width in characters for Excel-based exports. Typically used with ExcelFormat.LONG_TEXT to
194
+ * enable text wrapping.
195
+ */
196
+ excelWidth?: number;
197
+ /** Allow autosizing this column.*/
198
+ autosizable?: boolean;
199
+ /** True to include the header width when autosizing. */
200
+ autosizeIncludeHeader?: boolean;
201
+ /** True to always include the width of the sort icon when calculating the header width.*/
202
+ autosizeIncludeHeaderIcons?: boolean;
203
+ /** Minimum width in pixels when autosizing.*/
204
+ autosizeMinWidth?: number;
205
+ /** Maximum width in pixels when autosizing.*/
206
+ autosizeMaxWidth?: number;
207
+ /**
208
+ * Additional pixels to add to the size of each column beyond its absolute minimum. If
209
+ * specified, it will override the value of `GridAutosizeOptions.bufferPx` which is applied
210
+ * to all columns.
211
+ */
212
+ autosizeBufferPx?: number;
213
+ /**
214
+ * True to dynamically grow the row height based on the content of this column's cell. If
215
+ * true, text will also be set to wrap within cells.
216
+ */
217
+ autoHeight?: boolean;
218
+ /**
219
+ * True to make cells in this column editable, or a function to determine on a
220
+ * record-by-record basis.
221
+ */
222
+ editable?: boolean | ColumnEditableFn;
223
+ /**
224
+ * Cell editor Component or a function to create one. Adding an editor will also install a
225
+ * cellClassRule and tooltip to display the validation state of the cell in question.
226
+ */
227
+ editor?: FunctionComponent<ColumnEditorProps> | ColumnEditorFn;
228
+ /**
229
+ * True if this cell editor should be rendered as a popup over the cell instead of within the
230
+ * actual cell element. Popup editors will have their width set to match the cell by default.
231
+ * Typically used with textarea cell editors.
232
+ */
233
+ editorIsPopup?: boolean;
234
+ /** Function for updating StoreRecord field for this column after inline editing. */
235
+ setValueFn?: ColumnSetValueFn;
236
+ /** Function for getting the column value. */
237
+ getValueFn?: ColumnGetValueFn;
238
+ /**
239
+ * True (default) to enable configuration of field name as a dot-separated path - e.g.
240
+ * `'country.name'` - where the default `getValueFn` will expect the field to be an object and
241
+ * render a nested property. False to support field names that contain dots *without*
242
+ * triggering this behavior.
243
+ */
244
+ enableDotSeparatedFieldPath?: boolean;
245
+ /** True to skip this column when adding to grid. */
246
+ omit?: Thunkable<boolean>;
247
+ /**
248
+ * Actions to display as clickable buttons in this column. For action columns only.
249
+ */
250
+ actions?: Array<RecordActionSpec | RecordAction>;
251
+ /**
252
+ * For action columns, hide the Buttons for all rows except the currently hovered row. This can
253
+ * be a used to avoid overloading the user's attention with a wall of buttons when there are
254
+ * many rows + multiple actions per row. Defaults to false;
255
+ */
256
+ actionsShowOnHoverOnly?: boolean;
257
+ /**
258
+ * Callback when a cell within this column clicked.
259
+ * See also {@link GridConfig.onCellClicked}, called when any cell within the grid is clicked.
260
+ */
261
+ onCellClicked?: (e: CellClickedEvent) => void;
262
+ /**
263
+ * "escape hatch" object to pass directly to Ag-Grid for desktop implementations. Note these
264
+ * options may be used / overwritten by the framework itself, and are not all guaranteed to be
265
+ * compatible with its usages of Ag-Grid.
266
+ * See {@link https://www.ag-grid.com/javascript-grid-column-properties/|AG-Grid docs}
267
+ */
268
+ agOptions?: ColDef;
269
+ /** Extra, app-specific data for the column. */
270
+ appData?: PlainObject;
271
+ }
272
+ /**
273
+ * Cross-platform definition and API for a standardized Grid column.
274
+ * Provided to GridModels as plain configuration objects.
275
+ */
276
+ export declare class Column {
277
+ static DEFAULT_WIDTH: number;
278
+ static FLEX_COL_MIN_WIDTH: number;
279
+ /**
280
+ * A convenience sort order. Default for non-numeric, non-date columns.
281
+ */
282
+ static ASC_FIRST: ColumnSortSpec[];
283
+ /**
284
+ * A convenience sort order. Default for numeric and date columns.
285
+ */
286
+ static DESC_FIRST: ColumnSortSpec[];
287
+ /**
288
+ * A convenience sort order. Default for numeric and date columns where absSort: true.
289
+ */
290
+ static ABS_DESC_FIRST: ColumnSortSpec[];
291
+ field: string;
292
+ enableDotSeparatedFieldPath: boolean;
293
+ fieldPath: Some<string>;
294
+ colId: string;
295
+ isTreeColumn: boolean;
296
+ displayName: string;
297
+ description: string;
298
+ headerName: ColumnHeaderNameFn | ReactNode;
299
+ headerTooltip: string;
300
+ headerHasExpandCollapse: boolean;
301
+ headerAlign: HAlign;
302
+ headerClass: ColumnHeaderClassFn | Some<string>;
303
+ cellClass: ColumnCellClassFn | Some<string>;
304
+ cellClassRules: Record<string, ColumnCellClassRuleFn>;
305
+ align: HAlign;
306
+ hidden: boolean;
307
+ flex: boolean | number;
308
+ width: number;
309
+ minWidth: number;
310
+ maxWidth: number;
311
+ rowHeight: number;
312
+ sortingOrder: ColumnSortSpec[];
313
+ absSort: boolean;
314
+ sortValue: string | ColumnSortValueFn;
315
+ sortToBottom: Array<(v: unknown) => boolean>;
316
+ comparator: ColumnComparator;
317
+ resizable: boolean;
318
+ sortable: boolean;
319
+ movable: boolean;
320
+ filterable: boolean;
321
+ hideable: boolean;
322
+ pinned: HSide;
323
+ renderer: ColumnRenderer;
324
+ rendererIsComplex: boolean;
325
+ highlightOnChange: boolean;
326
+ tooltip: boolean | ColumnTooltipFn;
327
+ chooserName: string;
328
+ chooserGroup: string;
329
+ chooserDescription: string;
330
+ excludeFromChooser: boolean;
331
+ exportName: string | ColumnHeaderNameFn;
332
+ exportValue: string | ColumnExportValueFn;
333
+ excludeFromExport: boolean;
334
+ excelFormat: string | ColumnExcelFormatFn;
335
+ excelWidth: number;
336
+ autosizable: boolean;
337
+ autosizeIncludeHeader: boolean;
338
+ autosizeIncludeHeaderIcons: boolean;
339
+ autosizeMinWidth: number;
340
+ autosizeMaxWidth: number;
341
+ autosizeBufferPx: number;
342
+ autoHeight: boolean;
343
+ editable: boolean | ColumnEditableFn;
344
+ editor: FunctionComponent<ColumnEditorProps> | ColumnEditorFn;
345
+ editorIsPopup: boolean;
346
+ setValueFn: ColumnSetValueFn;
347
+ getValueFn: ColumnGetValueFn;
348
+ actions?: Array<RecordActionSpec | RecordAction>;
349
+ actionsShowOnHoverOnly?: boolean;
350
+ fieldSpec: FieldSpec;
351
+ omit: Thunkable<boolean>;
352
+ onCellClicked?: (e: CellClickedEvent) => void;
353
+ gridModel: GridModel;
354
+ agOptions: ColDef;
355
+ appData: PlainObject;
356
+ /**
357
+ * Not for application use. Columns are created internally by Hoist.
358
+ * Applications specify columns by providing ColumnSpec objects to the
359
+ * GridModel API.
360
+ *
361
+ * @internal
362
+ */
363
+ constructor(spec: ColumnSpec, gridModel: GridModel);
364
+ /** Does column support editing its field for the given StoreRecord? */
365
+ isEditableForRecord(record: StoreRecord): boolean;
366
+ /** A Column definition appropriate for AG-Grid. */
367
+ getAgSpec(): ColDef;
368
+ private defaultComparator;
369
+ private sortToBottomComparator;
370
+ private defaultSetValueFn;
371
+ defaultGetValueFn: ({ record }: {
372
+ record: any;
373
+ }) => any;
374
+ private parseField;
375
+ private parsePinned;
376
+ private parseSortingOrder;
377
+ private parseSortToBottom;
378
+ private parseFilterable;
379
+ private getSortValue;
380
+ }