@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,624 @@
1
+ import { AgGridModel } from '@xh/hoist/cmp/ag-grid';
2
+ import { Column, ColumnGroup, ColumnOrGroup, ColumnOrGroupSpec, ColumnSpec, GridAutosizeMode, GridFilterModelConfig, GridGroupSortFn, TreeStyle } from '@xh/hoist/cmp/grid';
3
+ import { GridFilterModel } from '@xh/hoist/cmp/grid/filter/GridFilterModel';
4
+ import { Awaitable, HoistModel, HSide, LoadSpec, PlainObject, SizingMode, Some, TaskObserver, Thunkable, VSide } from '@xh/hoist/core';
5
+ import { Store, StoreConfig, StoreRecord, StoreRecordId, StoreRecordOrId, StoreSelectionConfig, StoreSelectionModel, StoreTransaction } from '@xh/hoist/data';
6
+ import { AgColumnState, CellClickedEvent, CellContextMenuEvent, CellDoubleClickedEvent, CellEditingStartedEvent, CellEditingStoppedEvent, RowClickedEvent, RowDoubleClickedEvent } from '@xh/hoist/kit/ag-grid';
7
+ import { ExportOptions } from '@xh/hoist/svc/GridExportService';
8
+ import { ReactNode, RefObject } from 'react';
9
+ import { GridAutosizeOptions } from './GridAutosizeOptions';
10
+ import { GridContextMenuSpec } from './GridContextMenu';
11
+ import { GridSorter, GridSorterLike } from './GridSorter';
12
+ import { ColChooserConfig, ColumnState, GridModelPersistOptions, GroupRowRenderer, RowClassFn, RowClassRuleFn } from './Types';
13
+ export interface GridConfig {
14
+ /** Columns for this grid. */
15
+ columns?: ColumnOrGroupSpec[];
16
+ /** Column configs to be set on all columns. Merges deeply. */
17
+ colDefaults?: Partial<ColumnSpec>;
18
+ /**
19
+ * A Store instance, or a config with which to create a Store. If not supplied,
20
+ * store fields will be inferred from columns config.
21
+ */
22
+ store?: Store | StoreConfig;
23
+ /** True if grid is a tree grid (default false). */
24
+ treeMode?: boolean;
25
+ /** Location for docked summary row(s). Requires `store.summaryRecords` to be populated. */
26
+ showSummary?: boolean | VSide;
27
+ /** Specification of selection behavior. Defaults to 'single' (desktop) and 'disabled' (mobile) */
28
+ selModel?: StoreSelectionModel | StoreSelectionConfig | 'single' | 'multiple' | 'disabled';
29
+ /** Config with which to create a GridFilterModel, or `true` to enable default. Desktop only.*/
30
+ filterModel?: GridFilterModelConfig | boolean;
31
+ /** Config with which to create a ColChooserModel, or boolean `true` to enable default.*/
32
+ colChooserModel?: Omit<ColChooserConfig, 'gridModel'> | boolean;
33
+ /**
34
+ * Function to be called when the user triggers GridModel.restoreDefaultsAsync(). This
35
+ * function will be called after the built-in defaults have been restored, and can be
36
+ * used to restore application specific defaults.
37
+ */
38
+ restoreDefaultsFn?: () => Awaitable<void>;
39
+ /**
40
+ * Confirmation warning to be presented to user before restoring default grid state. Set to
41
+ * null to skip user confirmation.
42
+ */
43
+ restoreDefaultsWarning?: ReactNode;
44
+ /** Options governing persistence. */
45
+ persistWith?: GridModelPersistOptions;
46
+ /**
47
+ * Text/element to display if grid has no records. Defaults to null, in which case no empty
48
+ * text will be shown.
49
+ */
50
+ emptyText?: ReactNode;
51
+ /** True (default) to hide empty text until after the Store has been loaded at least once. */
52
+ hideEmptyTextBeforeLoad?: boolean;
53
+ /** Initial sort to apply to grid data. */
54
+ sortBy?: Some<GridSorterLike>;
55
+ /** Column ID(s) by which to do full-width grouping. */
56
+ groupBy?: Some<string>;
57
+ /**
58
+ * Depth level to expand to on initial load. 0 = all collapsed, 1 = top level expanded, etc.
59
+ * Defaults to 0 for tree grids (i.e. treeMode = true), 1 for standard grouped grids.
60
+ */
61
+ expandLevel?: number;
62
+ /** True (default) to show a count of group member rows within each full-width group row. */
63
+ showGroupRowCounts?: boolean;
64
+ /** Size of text in grid. If undefined, will default and bind to `XH.sizingMode`. */
65
+ sizingMode?: SizingMode;
66
+ /** True to highlight the currently hovered row. */
67
+ showHover?: boolean;
68
+ /** True to render row borders. */
69
+ rowBorders?: boolean;
70
+ /** Specify treeMode-specific styling. */
71
+ treeStyle?: TreeStyle;
72
+ /** True to use alternating backgrounds for rows. */
73
+ stripeRows?: boolean;
74
+ /** True to render cell borders. */
75
+ cellBorders?: boolean;
76
+ /** True to highlight the focused cell with a border. */
77
+ showCellFocus?: boolean;
78
+ /** True to suppress display of the grid's header row. */
79
+ hideHeaders?: boolean;
80
+ /** 'hover' to only show column header menu icons on hover. */
81
+ headerMenuDisplay?: 'always' | 'hover';
82
+ /** True to disallow moving columns outside of their groups. */
83
+ lockColumnGroups?: boolean;
84
+ /** True to allow the user to manually pin / unpin columns via UI affordances. */
85
+ enableColumnPinning?: boolean;
86
+ /** True to enable exporting this grid and install default context menu items. */
87
+ enableExport?: boolean;
88
+ /** Default export options. */
89
+ exportOptions?: ExportOptions;
90
+ /**
91
+ * Closure to generate CSS class names for a row.
92
+ * NOTE that, once added, classes will *not* be removed if the data changes.
93
+ * Use `rowClassRules` instead if StoreRecord data can change across refreshes.
94
+ */
95
+ rowClassFn?: RowClassFn;
96
+ /**
97
+ * Object keying CSS class names to functions determining if they should be added or
98
+ * removed from the row. See Ag-Grid docs on "row styles" for details.
99
+ */
100
+ rowClassRules?: Record<string, RowClassRuleFn>;
101
+ /** Height (in px) of a group row. Note that this will override `sizingMode` for group rows. */
102
+ groupRowHeight?: number;
103
+ /** Function used to render group rows. */
104
+ groupRowRenderer?: GroupRowRenderer;
105
+ /**
106
+ * Function to use to sort full-row groups. Called with two group values to compare
107
+ * in the form of a standard JS comparator. Default is an ascending string sort.
108
+ * Set to `null` to prevent sorting of groups.
109
+ */
110
+ groupSortFn?: GridGroupSortFn;
111
+ /**
112
+ * Callback when a key down event is detected on the grid. Note that the ag-Grid API provides
113
+ * limited ability to customize keyboard handling. This handler is designed to allow
114
+ * applications to work around this.
115
+ */
116
+ onKeyDown?: (e: KeyboardEvent) => void;
117
+ /**
118
+ * Callback when a row is clicked. (Note that the event received may be null - e.g. for
119
+ * clicks on full-width group rows.)
120
+ */
121
+ onRowClicked?: (e: RowClickedEvent) => void;
122
+ /**
123
+ * Callback when a row is double-clicked. (Note that the event received may be null - e.g.
124
+ * for clicks on full-width group rows.)
125
+ */
126
+ onRowDoubleClicked?: (e: RowDoubleClickedEvent) => void;
127
+ /**
128
+ * Callback when any cell on the grid is clicked - inspect the event to determine the column.
129
+ * Note that {@link ColumnSpec.onCellClicked} is a more targeted handler scoped to a single
130
+ * column, which might be more convenient when clicks on only one column are of interest.
131
+ */
132
+ onCellClicked?: (e: CellClickedEvent) => void;
133
+ /**
134
+ * Callback when a cell is double-clicked.
135
+ */
136
+ onCellDoubleClicked?: (e: CellDoubleClickedEvent) => void;
137
+ /**
138
+ * Callback when the context menu is opened. Note that the event received can also be
139
+ * triggered via a long press (aka tap and hold) on mobile devices.
140
+ */
141
+ onCellContextMenu?: (e: CellContextMenuEvent) => void;
142
+ /**
143
+ * Array of strings (or a function returning one) providing user-facing labels for each depth
144
+ * level in a tree or grouped grid - e.g. `['Country', 'State', 'City']`. If set, the
145
+ * expand/collapse options in the default context menu will be enhanced to allow users to
146
+ * expand/collapse to a specific level. See {@link GroupingChooserModel.valueDisplayNames}
147
+ * for a convenient getter that will satisfy this API when a GroupingChooser is in play.
148
+ */
149
+ levelLabels?: Thunkable<string[]>;
150
+ /**
151
+ * Number of clicks required to expand / collapse a parent row in a tree grid. Defaults
152
+ * to 2 for desktop, 1 for mobile. Any other value prevents clicks on row body from
153
+ * expanding / collapsing (requires click on tree col affordance to expand/collapse).
154
+ */
155
+ clicksToExpand?: number;
156
+ /**
157
+ * Array of RecordActions, dividers, or token strings with which to create a context menu.
158
+ * May also be specified as a function returning same or false to omit context menu from grid.
159
+ */
160
+ contextMenu?: GridContextMenuSpec | false;
161
+ /**
162
+ * Governs if the grid should reuse a limited set of DOM elements for columns visible in the
163
+ * scroll area (versus rendering all columns). Consider this performance optimization for
164
+ * grids with a very large number of columns obscured by horizontal scrolling. Note that
165
+ * setting this value to true may limit the ability of the grid to autosize offscreen columns
166
+ * effectively. Default false.
167
+ */
168
+ useVirtualColumns?: boolean;
169
+ /** Default autosize options. */
170
+ autosizeOptions?: GridAutosizeOptions;
171
+ /** True to enable full row editing. Default false. */
172
+ fullRowEditing?: boolean;
173
+ /**
174
+ * Number of clicks required to begin inline-editing a cell. May be 2 (default) or 1 - any
175
+ * other value prevents user clicks from starting an edit.
176
+ */
177
+ clicksToEdit?: number;
178
+ /**
179
+ * Set to true to if application will be reloading data when the sortBy property changes on
180
+ * this model (either programmatically, or via user-click.) Useful for applications with large
181
+ * data sets that are performing external, or server-side sorting and filtering. Setting this
182
+ * flag means that the grid should not immediately respond to user or programmatic changes to
183
+ * the sortBy property, but will instead wait for the next load of data, which is assumed to be
184
+ * pre-sorted. Default false.
185
+ */
186
+ externalSort?: boolean;
187
+ /**
188
+ * Set to true to highlight a row on click. Intended to provide feedback to users in grids
189
+ * without selection. Note this setting overrides the styling used by Column.highlightOnChange,
190
+ * and is not recommended for use alongside that feature. Default true for mobiles,
191
+ * otherwise false.
192
+ */
193
+ highlightRowOnClick?: boolean;
194
+ /**
195
+ * Set to true to ensure that the grid will have a single horizontal scrollbar spanning the
196
+ * width of all columns, including any pinned columns. A value of false (default) will show
197
+ * the scrollbar only under the scrollable area.
198
+ */
199
+ enableFullWidthScroll?: boolean;
200
+ /**
201
+ * Flags for experimental features. These features are designed for early client-access and
202
+ * testing, but are not yet part of the Hoist API.
203
+ */
204
+ experimental?: GridExperimentalFlags;
205
+ /** Extra app-specific data for the GridModel. */
206
+ appData?: PlainObject;
207
+ /** @internal */
208
+ xhImpl?: boolean;
209
+ }
210
+ interface GridExperimentalFlags {
211
+ /**
212
+ * Set to true to enable more optimal row sorting in cases where only small subsets of rows are
213
+ * updated in configurations where rows have many siblings.
214
+ * See https://www.ag-grid.com/javascript-data-grid/grid-options/#reference-sort-deltaSort for
215
+ * more details on where this option may improve (or degrade) performance.
216
+ */
217
+ deltaSort?: boolean;
218
+ /**
219
+ * Set to true to disable scroll optimization for large grids, where we proactively update the
220
+ * row heights in ag-grid whenever the data changes to avoid hitching while quickly scrolling
221
+ * through large grids.
222
+ */
223
+ disableScrollOptimization?: boolean;
224
+ }
225
+ /**
226
+ * Core Model for a Grid, specifying the grid's data store, column definitions,
227
+ * sorting/grouping/selection state, and context menu configuration.
228
+ *
229
+ * This is the primary application entry-point for specifying Grid component options and behavior.
230
+ *
231
+ * This model also supports nested tree data. To show a tree:
232
+ * 1) Bind this model to a store with hierarchical records.
233
+ * 2) Set `treeMode: true` on this model.
234
+ * 3) Include a single column with `isTreeColumn: true`. This column will provide expand /
235
+ * collapse controls and indent child columns in addition to displaying its own data.
236
+ *
237
+ */
238
+ export declare class GridModel extends HoistModel {
239
+ static DEFAULT_RESTORE_DEFAULTS_WARNING: import("react").ReactElement<{
240
+ children?: ReactNode | undefined;
241
+ }, any>;
242
+ static DEFAULT_AUTOSIZE_MODE: GridAutosizeMode;
243
+ store: Store;
244
+ selModel: StoreSelectionModel;
245
+ treeMode: boolean;
246
+ colChooserModel: HoistModel;
247
+ rowClassFn: RowClassFn;
248
+ rowClassRules: Record<string, RowClassRuleFn>;
249
+ contextMenu: GridContextMenuSpec;
250
+ groupRowHeight: number;
251
+ groupRowRenderer: GroupRowRenderer;
252
+ groupSortFn: GridGroupSortFn;
253
+ showGroupRowCounts: boolean;
254
+ enableColumnPinning: boolean;
255
+ enableExport: boolean;
256
+ enableFullWidthScroll: boolean;
257
+ externalSort: boolean;
258
+ exportOptions: ExportOptions;
259
+ useVirtualColumns: boolean;
260
+ autosizeOptions: GridAutosizeOptions;
261
+ restoreDefaultsFn: () => Awaitable<void>;
262
+ restoreDefaultsWarning: ReactNode;
263
+ fullRowEditing: boolean;
264
+ hideEmptyTextBeforeLoad: boolean;
265
+ highlightRowOnClick: boolean;
266
+ clicksToExpand: number;
267
+ clicksToEdit: number;
268
+ lockColumnGroups: boolean;
269
+ headerMenuDisplay: 'always' | 'hover';
270
+ colDefaults: Partial<ColumnSpec>;
271
+ experimental: GridExperimentalFlags;
272
+ onKeyDown: (e: KeyboardEvent) => void;
273
+ onRowClicked: (e: RowClickedEvent) => void;
274
+ onRowDoubleClicked: (e: RowDoubleClickedEvent) => void;
275
+ onCellClicked: (e: CellClickedEvent) => void;
276
+ onCellDoubleClicked: (e: CellDoubleClickedEvent) => void;
277
+ onCellContextMenu: (e: CellContextMenuEvent) => void;
278
+ levelLabels: Thunkable<string[]>;
279
+ appData: PlainObject;
280
+ filterModel: GridFilterModel;
281
+ agGridModel: AgGridModel;
282
+ viewRef: RefObject<HTMLDivElement>;
283
+ columns: ColumnOrGroup[];
284
+ columnState: ColumnState[];
285
+ expandState: any;
286
+ sortBy: GridSorter[];
287
+ groupBy: string[];
288
+ expandLevel: number;
289
+ get persistableColumnState(): ColumnState[];
290
+ showSummary: boolean | VSide;
291
+ emptyText: ReactNode;
292
+ treeStyle: TreeStyle;
293
+ /**
294
+ * Flag to track inline editing at a granular level. Will toggle each time row
295
+ * or cell editing is activated or ended.
296
+ */
297
+ get isEditing(): boolean;
298
+ /**
299
+ * Flag to track inline editing at a general level.
300
+ * Will not change during transient navigation from cell to cell or row to row,
301
+ * but rather is debounced such that grid editing will need to "settle" for a
302
+ * short time before toggling.
303
+ */
304
+ isInEditingMode: boolean;
305
+ static defaultContextMenu: string[];
306
+ private editingCell;
307
+ private _defaultState;
308
+ /**
309
+ * Is autosizing enabled on this grid?
310
+ * To disable autosizing, set autosizeOptions.mode to GridAutosizeMode.DISABLED.
311
+ */
312
+ get autosizeEnabled(): boolean;
313
+ get maxDepth(): number;
314
+ get bodyViewport(): HTMLElement;
315
+ /** Tracks execution of filtering operations.*/
316
+ filterTask: TaskObserver;
317
+ /** Tracks execution of autosize operations. */
318
+ autosizeTask: TaskObserver;
319
+ constructor(config: GridConfig);
320
+ /**
321
+ * Restore the column, sorting, and grouping configs as specified by the application at
322
+ * construction time. This is the state without any saved grid state or user changes applied.
323
+ * This method will clear the persistent grid state saved for this grid, if any.
324
+ *
325
+ * @returns true if defaults were restored
326
+ */
327
+ restoreDefaultsAsync(): Promise<boolean>;
328
+ /**
329
+ * Export grid data using Hoist's server-side export.
330
+ *
331
+ * @param options - overrides of default export options to use for this export.
332
+ */
333
+ exportAsync(options?: ExportOptions): Promise<void>;
334
+ /**
335
+ * Export grid data using ag-Grid's built-in client-side export.
336
+ *
337
+ * @param filename - name for exported file.
338
+ * @param type - type of export - either 'excel' or 'csv'.
339
+ * @param params - passed to agGrid's export functions.
340
+ */
341
+ localExport(filename: string, type: 'excel' | 'csv', params?: PlainObject): void;
342
+ /**
343
+ * Select records in the grid.
344
+ * @param records - one or more record(s) / ID(s) to select.
345
+ * @param opts - additional post-selection options
346
+ */
347
+ selectAsync(records: Some<StoreRecordOrId>, opts?: {
348
+ /**
349
+ * True (default) to scroll the grid or expand nodes as needed to make selection
350
+ * visible if it is within a collapsed node or outside of the visible scroll window.
351
+ */
352
+ ensureVisible?: boolean;
353
+ /** True (default) to clear previous selection (rather than add to it). */
354
+ clearSelection?: boolean;
355
+ }): Promise<void>;
356
+ /**
357
+ * Select the first row in the grid.
358
+ *
359
+ * See {@link preSelectFirstAsync} for a useful variant of this method that will leave the
360
+ * any pre-existing selection unchanged, which is what apps typically want when reloading an
361
+ * already-populated grid.
362
+ */
363
+ selectFirstAsync(opts?: {
364
+ /**
365
+ * True (default) to expand nodes as needed to allow selection when the first selectable
366
+ * node is in a collapsed group.
367
+ */
368
+ expandParentGroups?: boolean;
369
+ /**
370
+ * True (default) to scroll the grid or expand nodes as needed to make selection
371
+ * visible if it is outside of the visible scroll window.
372
+ */
373
+ ensureVisible?: boolean;
374
+ }): Promise<void>;
375
+ /**
376
+ * Select the first row in the grid, if no other selection present.
377
+ * This method delegates to {@link selectFirstAsync}.
378
+ */
379
+ preSelectFirstAsync(): Promise<void>;
380
+ /** Deselect all rows. */
381
+ clearSelection(): void;
382
+ /**
383
+ * Scroll to ensure the selected record or records are visible.
384
+ *
385
+ * If multiple records are selected, scroll to the first record and then the last. This will do
386
+ * the minimum scrolling necessary to display the start of the selection and as much as
387
+ * possible of the rest.
388
+ *
389
+ * Any selected records that are hidden because their parent rows are collapsed will first
390
+ * be revealed by expanding their parent rows.
391
+ */
392
+ ensureSelectionVisibleAsync(): Promise<void>;
393
+ /**
394
+ * Scroll to ensure the provided record or records are visible.
395
+ *
396
+ * If multiple records are specified, scroll to the first record and then the last. This will do
397
+ * the minimum scrolling necessary to display the start of the provided record and as much as
398
+ * possible of the rest.
399
+ *
400
+ * Any provided records that are hidden because their parent rows are collapsed will first
401
+ * be revealed by expanding their parent rows.
402
+ *
403
+ * @param records - one or more record(s) for which to ensure visibility.
404
+ */
405
+ ensureRecordsVisibleAsync(records: Some<StoreRecord>): Promise<void>;
406
+ /** True if any records are selected. */
407
+ get hasSelection(): boolean;
408
+ /** Currently selected records. */
409
+ get selectedRecords(): StoreRecord[];
410
+ /** IDs of currently selected records. */
411
+ get selectedIds(): StoreRecordId[];
412
+ /**
413
+ * Single selected record, or null if multiple/no records selected.
414
+ *
415
+ * Note that this getter will also change if just the data of selected record is changed
416
+ * due to store loading or editing. Applications only interested in the identity
417
+ * of the selection should use {@link selectedId} instead.
418
+ */
419
+ get selectedRecord(): StoreRecord;
420
+ /**
421
+ * ID of selected record, or null if multiple/no records selected.
422
+ *
423
+ * Note that this getter will *not* change if just the data of selected record is changed
424
+ * due to store loading or editing. Applications also interested in the contents of the
425
+ * selection should use the {@link selectedRecord} getter instead.
426
+ */
427
+ get selectedId(): StoreRecordId;
428
+ /** True if this grid has no records to show in its store. */
429
+ get empty(): boolean;
430
+ get isReady(): boolean;
431
+ get agApi(): import("ag-grid-community").GridApi<any>;
432
+ get sizingMode(): SizingMode;
433
+ set sizingMode(v: SizingMode);
434
+ setSizingMode(v: SizingMode): void;
435
+ get showHover(): boolean;
436
+ set showHover(v: boolean);
437
+ setShowHover(v: boolean): void;
438
+ get rowBorders(): boolean;
439
+ set rowBorders(v: boolean);
440
+ setRowBorders(v: boolean): void;
441
+ get stripeRows(): boolean;
442
+ set stripeRows(v: boolean);
443
+ setStripeRows(v: boolean): void;
444
+ get cellBorders(): boolean;
445
+ set cellBorders(v: boolean);
446
+ setCellBorders(v: boolean): void;
447
+ get showCellFocus(): boolean;
448
+ set showCellFocus(v: boolean);
449
+ setShowCellFocus(v: boolean): void;
450
+ get hideHeaders(): boolean;
451
+ set hideHeaders(v: boolean);
452
+ setHideHeaders(v: boolean): void;
453
+ /**
454
+ * Apply full-width row-level grouping to the grid for the given column ID(s).
455
+ * This method will clear grid grouping if provided any ids without a corresponding column.
456
+ * @param colIds - ID(s) for row grouping, null to ungroup.
457
+ */
458
+ setGroupBy(colIds: Some<string>): void;
459
+ /** Expand all parent rows in grouped or tree grid. (Note, this is recursive for trees!) */
460
+ expandAll(): void;
461
+ /** Collapse all parent rows in grouped or tree grid. */
462
+ collapseAll(): void;
463
+ /** Expand all parent rows in grouped or tree grid to the specified level. */
464
+ expandToLevel(level: number): void;
465
+ /**
466
+ * Get the resolved level labels for the current state of the grid.
467
+ */
468
+ get resolvedLevelLabels(): string[];
469
+ /**
470
+ * Sort this grid.
471
+ * This method is a no-op if provided any sorters without a corresponding column.
472
+ */
473
+ setSortBy(sorters: Some<GridSorterLike>): void;
474
+ doLoadAsync(loadSpec: LoadSpec): Promise<any>;
475
+ /** Load the underlying store. */
476
+ loadData(rawData: any[], rawSummaryData?: Some<PlainObject>): void;
477
+ /** Update the underlying store. */
478
+ updateData(rawData: PlainObject[] | StoreTransaction): import("@xh/hoist/data").StoreChangeLog;
479
+ /** Clear the underlying store, removing all rows. */
480
+ clear(): void;
481
+ setColumns(colConfigs: ColumnOrGroupSpec[]): void;
482
+ setColumnState(colState: ColumnState[]): void;
483
+ showColChooser(): void;
484
+ noteAgColumnStateChanged(agColState: AgColumnState[]): void;
485
+ setExpandState(expandState: any): void;
486
+ noteAgExpandStateChange(): void;
487
+ noteAgSelectionStateChanged(): void;
488
+ noteColumnManuallySized(colId: any, width: any): void;
489
+ /**
490
+ * This method will update the current column definition if it has changed.
491
+ * Throws an exception if any of the columns provided in colStateChanges are not
492
+ * present in the current column list.
493
+ *
494
+ * Note: Column ordering is determined by the individual (leaf-level) columns in state.
495
+ * This means that if a column has been redefined to a new column group, that entire group may
496
+ * be moved to a new index.
497
+ *
498
+ * @param colStateChanges - changes to apply to the columns. If all leaf
499
+ * columns are represented in these changes then the sort order will be applied as well.
500
+ */
501
+ updateColumnState(colStateChanges: Partial<ColumnState>[]): void;
502
+ /** @deprecated - use {@link updateColumnState} instead. */
503
+ applyColumnStateChanges(colStateChanges: Partial<ColumnState>[]): void;
504
+ getColumn(colId: string): Column;
505
+ getColumnGroup(groupId: string): ColumnGroup;
506
+ /** Return all leaf-level columns - i.e. excluding column groups. */
507
+ getLeafColumns(): Column[];
508
+ /** Return all leaf-level column ids - i.e. excluding column groups. */
509
+ getLeafColumnIds(): string[];
510
+ /** Return all currently-visible leaf-level columns. */
511
+ getVisibleLeafColumns(): Column[];
512
+ /**
513
+ * Determine whether or not a given leaf-level column is currently visible.
514
+ *
515
+ * Call this method instead of inspecting the `hidden` property on the Column itself, as that
516
+ * property is not updated with state changes.
517
+ */
518
+ isColumnVisible(colId: string): boolean;
519
+ setColumnVisible(colId: string, visible: boolean): void;
520
+ showColumn(colId: string): void;
521
+ hideColumn(colId: string): void;
522
+ setColumnGroupVisible(groupId: string, visible: boolean): void;
523
+ showColumnGroup(groupId: string): void;
524
+ hideColumnGroup(groupId: string): void;
525
+ /**
526
+ * Determine if a leaf-level column is currently pinned.
527
+ *
528
+ * Call this method instead of inspecting the `pinned` property on the Column itself, as that
529
+ * property is not updated with state changes.
530
+ */
531
+ getColumnPinned(colId: string): HSide;
532
+ /** Return matching leaf-level Column object from the provided collection. */
533
+ findColumn(cols: ColumnOrGroup[], colId: string): Column;
534
+ /** Return matching ColumnGroup from the provided collection. */
535
+ findColumnGroup(cols: ColumnOrGroup[], groupId: string): ColumnGroup;
536
+ /**
537
+ * Return the current state object representation for the given colId.
538
+ *
539
+ * Note that column state updates do not write changes back to the original Column object (as
540
+ * held in this model's `columns` collection), so this method should be called whenever the
541
+ * current value of any state-tracked property is required.
542
+ */
543
+ getStateForColumn(colId: string): ColumnState;
544
+ /**
545
+ * Autosize columns to fit their contents.
546
+ *
547
+ * This method will ignore columns with a flex value or with `autosizable: false`. Hidden
548
+ * columns are also ignored unless {@link GridAutosizeOptions.includeHiddenColumns} has been
549
+ * set to true.
550
+ *
551
+ * @param overrideOpts - optional overrides of this model's {@link GridAutosizeOptions}.
552
+ */
553
+ autosizeAsync(overrideOpts?: Omit<GridAutosizeOptions, 'mode'>): Promise<void>;
554
+ /**
555
+ * Begin an inline editing session.
556
+ * @param opts - options controlling which record/column to edit.
557
+ */
558
+ beginEditAsync(opts?: BeginEditAsyncOptions): Promise<void>;
559
+ /**
560
+ * Stop an inline editing session, if one is in-progress.
561
+ * @param dropPendingChanges - true to cancel current edit without saving pending
562
+ * changes in the active editor(s) to the backing StoreRecord.
563
+ */
564
+ endEditAsync(dropPendingChanges?: boolean): Promise<void>;
565
+ /** @internal */
566
+ onCellEditingStarted: (e: CellEditingStartedEvent) => void;
567
+ /** @internal*/
568
+ onCellEditingStopped: (e: CellEditingStoppedEvent) => void;
569
+ /**
570
+ * Returns true as soon as the underlying agGridModel is ready, waiting a limited period
571
+ * of time if needed to allow the component to initialize. Returns false if grid not ready
572
+ * by end of timeout to ensure caller does not wait forever (if e.g. grid is not mounted).
573
+ * TODO - see https://github.com/xh/hoist-react/issues/2551 and note that calls to this method
574
+ * within this class re-check `isReady` directly. We have observed this method returning
575
+ * to its caller as true when the ag-grid/API has in fact dismounted and is no longer ready.
576
+ *
577
+ * This method will introduce a minimal delay for all calls. This is useful to ensure
578
+ * that the grid has had the opportunity to process any pending data updates, which are also
579
+ * subject to a minimal async debounce.
580
+ *
581
+ * @param timeout - timeout in ms
582
+ */
583
+ whenReadyAsync(timeout?: number): Promise<boolean>;
584
+ /**
585
+ * Sorts ungrouped items to the bottom.
586
+ */
587
+ defaultGroupSortFn: (a: string, b: string) => number;
588
+ /** @internal */
589
+ get deltaSort(): boolean;
590
+ /** @internal */
591
+ get disableScrollOptimization(): boolean;
592
+ private buildColumn;
593
+ private autosizeColsInternalAsync;
594
+ private gatherLeaves;
595
+ private collectIds;
596
+ private formatValuesForExport;
597
+ private parseAndSetColumnsAndStore;
598
+ private validateColumns;
599
+ private cleanColumnState;
600
+ private enhanceColConfigsFromStore;
601
+ private enhanceStoreConfigFromColumns;
602
+ private leafColsByFieldName;
603
+ private parseSizingMode;
604
+ private parseSelModel;
605
+ private parseFilterModel;
606
+ private parseExperimental;
607
+ private parseChooserModel;
608
+ private isGroupSpec;
609
+ private readonly LEFT_BORDER_CLASS;
610
+ private readonly RIGHT_BORDER_CLASS;
611
+ private enhanceConfigWithGroupBorders;
612
+ private createGroupBorderFn;
613
+ private getDefaultStateForColumn;
614
+ }
615
+ /** Options for {@link GridModel.beginEditAsync}. */
616
+ export interface BeginEditAsyncOptions {
617
+ /** StoreRecord/ID to edit. If unspecified, the first selected StoreRecord
618
+ * will be used, if any, or the first overall StoreRecord in the grid. */
619
+ record?: StoreRecordOrId;
620
+ /** ID of column on which to start editing. If unspecified, the first
621
+ * editable column will be used. */
622
+ colId?: string;
623
+ }
624
+ export {};
@@ -0,0 +1,23 @@
1
+ export type GridSorterLike = GridSorterSpec | string | GridSorter;
2
+ export interface GridSorterSpec {
3
+ colId: string;
4
+ sort?: 'asc' | 'desc' | 'ASC' | 'DESC';
5
+ abs?: boolean;
6
+ }
7
+ export declare class GridSorter {
8
+ readonly colId: string;
9
+ readonly sort: 'asc' | 'desc';
10
+ readonly abs: boolean;
11
+ /**
12
+ * Create a new GridSorter. Accepts a GridSorter configuration or a pipe delimited string
13
+ * generated using GridSorter.toString().
14
+ */
15
+ static parse(cfg: GridSorterLike): GridSorter;
16
+ constructor(spec: GridSorterSpec);
17
+ /** Generate a delimited string representation suitable for consumption by parse().*/
18
+ toString(): string;
19
+ /** Comparator to use with instances of GridSorter.*/
20
+ comparator(v1: any, v2: any): number;
21
+ /** Static comparator to use when a GridSorter instance is not available.*/
22
+ static defaultComparator(v1: any, v2: any): number;
23
+ }