@xh/hoist 82.0.1 → 82.0.2

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 (712) hide show
  1. package/CHANGELOG.md +6 -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 +34 -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/package.json +2 -1
@@ -0,0 +1,256 @@
1
+ import { CellClickedEvent, CellContextMenuEvent, CellDoubleClickedEvent, RowClickedEvent, RowDoubleClickedEvent } from '@xh/hoist/kit/ag-grid';
2
+ import { ColumnRenderer, ColumnSpec, GridContextMenuSpec, GridGroupSortFn, GridModel, GridSorter, GridSorterLike, GroupRowRenderer, RowClassFn, RowClassRuleFn, TreeStyle } from '@xh/hoist/cmp/grid';
3
+ import { Awaitable, HoistModel, LoadSpec, PlainObject, Some, Thunkable, VSide } from '@xh/hoist/core';
4
+ import { RecordAction, Store, StoreConfig, StoreRecordOrId, StoreSelectionConfig, StoreSelectionModel, StoreTransaction } from '@xh/hoist/data';
5
+ import { ReactNode } from 'react';
6
+ import { ZoneMapperConfig, ZoneMapperModel } from './impl/ZoneMapperModel';
7
+ import { Zone, ZoneGridModelPersistOptions, ZoneLimit, ZoneMapping } from './Types';
8
+ export interface ZoneGridConfig {
9
+ /**
10
+ * Available columns for this grid. Columns with an omit property evaluating to true will be
11
+ * excluded. Note that the actual display of the zone columns is managed via `mappings` below.
12
+ */
13
+ columns: Array<ColumnSpec>;
14
+ /** Mappings of columns to zones. */
15
+ mappings: Record<Zone, Some<string | ZoneMapping>>;
16
+ /** Optional configurations for zone constraints. */
17
+ limits?: Partial<Record<Zone, ZoneLimit>>;
18
+ /**
19
+ * Optional renderers to produce a row specific label for each column.
20
+ * If not specified, the label will default to the fixed Header of the column.
21
+ */
22
+ labelRenderers?: Record<string, ColumnRenderer>;
23
+ /**
24
+ * Optional configs to apply to left column. Intended for use as an `escape hatch` - use with
25
+ * care. Settings made here may interfere with the implementation of this component.
26
+ */
27
+ leftColumnSpec?: Partial<ColumnSpec>;
28
+ /**
29
+ * Optional configs to apply to right column. Intended for use as an `escape hatch` - use with
30
+ * care. Settings made here may interfere with the implementation of this component.
31
+ */
32
+ rightColumnSpec?: Partial<ColumnSpec>;
33
+ /** String rendered between consecutive SubFields. */
34
+ delimiter?: string | false;
35
+ /** Config with which to create a ZoneMapperModel, or boolean `true` to enable default. */
36
+ zoneMapperModel?: ZoneMapperConfig | boolean;
37
+ /**
38
+ * A Store instance, or a config with which to create a Store.
39
+ * If not supplied, store fields will be inferred from columns config.
40
+ */
41
+ store?: Store | StoreConfig;
42
+ /** True if grid is a tree grid (default false). */
43
+ treeMode?: boolean;
44
+ /** Location for docked summary row(s). Requires `store.summaryRecords` to be populated. */
45
+ showSummary?: boolean | VSide;
46
+ /** Specification of selection behavior. Defaults to 'single' (desktop) and 'disabled' (mobile) */
47
+ selModel?: StoreSelectionModel | StoreSelectionConfig | 'single' | 'multiple' | 'disabled';
48
+ /**
49
+ * Function to be called when the user triggers ZoneGridModel.restoreDefaultsAsync().
50
+ * This function will be called after the built-in defaults have been restored, and can be
51
+ * used to restore application specific defaults.
52
+ */
53
+ restoreDefaultsFn?: () => Awaitable<void>;
54
+ /**
55
+ * Confirmation warning to be presented to user before restoring default state. Set to
56
+ * null to skip user confirmation.
57
+ */
58
+ restoreDefaultsWarning?: ReactNode;
59
+ /** Options governing persistence. */
60
+ persistWith?: ZoneGridModelPersistOptions;
61
+ /**
62
+ * Text/element to display if grid has no records. Defaults to null, in which case no empty
63
+ * text will be shown.
64
+ */
65
+ emptyText?: ReactNode;
66
+ /** True (default) to hide empty text until after the Store has been loaded at least once. */
67
+ hideEmptyTextBeforeLoad?: boolean;
68
+ /**
69
+ * Initial sort to apply to grid data.
70
+ * Note that unlike GridModel, multi-sort is not supported.
71
+ */
72
+ sortBy?: GridSorterLike;
73
+ /** Column ID(s) by which to do full-width grouping. */
74
+ groupBy?: Some<string>;
75
+ /** Group level to expand to on initial load. 0 = all collapsed, 1 = only top level expanded. */
76
+ expandLevel?: number;
77
+ /** True (default) to show a count of group member rows within each full-width group row. */
78
+ showGroupRowCounts?: boolean;
79
+ /** True to highlight the currently hovered row. */
80
+ showHover?: boolean;
81
+ /** True to render row borders. */
82
+ rowBorders?: boolean;
83
+ /** Specify treeMode-specific styling. */
84
+ treeStyle?: TreeStyle;
85
+ /** True to use alternating backgrounds for rows. */
86
+ stripeRows?: boolean;
87
+ /** True to render cell borders. */
88
+ cellBorders?: boolean;
89
+ /** True to highlight the focused cell with a border. */
90
+ showCellFocus?: boolean;
91
+ /** True to suppress display of the grid's header row. */
92
+ hideHeaders?: boolean;
93
+ /**
94
+ * Closure to generate CSS class names for a row.
95
+ * NOTE that, once added, classes will *not* be removed if the data changes.
96
+ * Use `rowClassRules` instead if StoreRecord data can change across refreshes.
97
+ */
98
+ rowClassFn?: RowClassFn;
99
+ /**
100
+ * Object keying CSS class names to functions determining if they should be added or
101
+ * removed from the row. See Ag-Grid docs on "row styles" for details.
102
+ */
103
+ rowClassRules?: Record<string, RowClassRuleFn>;
104
+ /** Height (in px) of a group row. Note that this will override `sizingMode` for group rows. */
105
+ groupRowHeight?: number;
106
+ /** Function used to render group rows. */
107
+ groupRowRenderer?: GroupRowRenderer;
108
+ /**
109
+ * Function to use to sort full-row groups. Called with two group values to compare
110
+ * in the form of a standard JS comparator. Default is an ascending string sort.
111
+ * Set to `null` to prevent sorting of groups.
112
+ */
113
+ groupSortFn?: GridGroupSortFn;
114
+ /**
115
+ * Callback when a key down event is detected on the grid. Note that the ag-Grid API provides
116
+ * limited ability to customize keyboard handling. This handler is designed to allow
117
+ * applications to work around this.
118
+ */
119
+ onKeyDown?: (e: KeyboardEvent) => void;
120
+ /**
121
+ * Callback when a row is clicked. (Note that the event received may be null - e.g. for
122
+ * clicks on full-width group rows.)
123
+ */
124
+ onRowClicked?: (e: RowClickedEvent) => void;
125
+ /**
126
+ * Callback when a row is double-clicked. (Note that the event received may be null - e.g.
127
+ * for clicks on full-width group rows.)
128
+ */
129
+ onRowDoubleClicked?: (e: RowDoubleClickedEvent) => void;
130
+ /**
131
+ * Callback when a cell is clicked.
132
+ */
133
+ onCellClicked?: (e: CellClickedEvent) => void;
134
+ /**
135
+ * Callback when a cell is double-clicked.
136
+ */
137
+ onCellDoubleClicked?: (e: CellDoubleClickedEvent) => void;
138
+ /**
139
+ * Callback when the context menu is opened. Note that the event received can also be
140
+ * triggered via a long press (aka tap and hold) on mobile devices.
141
+ */
142
+ onCellContextMenu?: (e: CellContextMenuEvent) => void;
143
+ /**
144
+ * Array of labels (or a function returning one) that describes the individual depth
145
+ * levels in a tree or grouped grid. If provided, will be used to construct expand/collapse
146
+ * options in the default context menu.
147
+ */
148
+ levelLabels?: Thunkable<string[]>;
149
+ /**
150
+ * Number of clicks required to expand / collapse a parent row in a tree grid. Defaults
151
+ * to 2 for desktop, 1 for mobile. Any other value prevents clicks on row body from
152
+ * expanding / collapsing (requires click on tree col affordance to expand/collapse).
153
+ */
154
+ clicksToExpand?: number;
155
+ /**
156
+ * Array of RecordActions, dividers, or token strings with which to create a context menu.
157
+ * May also be specified as a function returning same.
158
+ */
159
+ contextMenu?: GridContextMenuSpec;
160
+ /**
161
+ * Governs if the grid should reuse a limited set of DOM elements for columns visible in the
162
+ * scroll area (versus rendering all columns). Consider this performance optimization for
163
+ * grids with a very large number of columns obscured by horizontal scrolling. Note that
164
+ * setting this value to true may limit the ability of the grid to autosize offscreen columns
165
+ * effectively. Default false.
166
+ */
167
+ useVirtualColumns?: boolean;
168
+ /**
169
+ * Set to true to if application will be reloading data when the sortBy property changes on
170
+ * this model (either programmatically, or via user-click.) Useful for applications with large
171
+ * data sets that are performing external, or server-side sorting and filtering. Setting this
172
+ * flag means that the grid should not immediately respond to user or programmatic changes to
173
+ * the sortBy property, but will instead wait for the next load of data, which is assumed to be
174
+ * pre-sorted. Default false.
175
+ */
176
+ externalSort?: boolean;
177
+ /**
178
+ * Set to true to highlight a row on click. Intended to provide feedback to users in grids
179
+ * without selection. Note this setting overrides the styling used by Column.highlightOnChange,
180
+ * and is not recommended for use alongside that feature. Default true for mobiles,
181
+ * otherwise false.
182
+ */
183
+ highlightRowOnClick?: boolean;
184
+ /**
185
+ * Flags for experimental features. These features are designed for early client-access and
186
+ * testing, but are not yet part of the Hoist API.
187
+ */
188
+ experimental?: PlainObject;
189
+ /** Extra app-specific data for the GridModel. */
190
+ appData?: PlainObject;
191
+ /** @internal */
192
+ xhImpl?: boolean;
193
+ }
194
+ /**
195
+ * ZoneGridModel is a wrapper around GridModel, which shows date in a grid with multi-line
196
+ * full-width rows, each broken into four zones for top/bottom and left/right.
197
+ *
198
+ * This is the primary app entry-point for specifying ZoneGrid component options and behavior.
199
+ */
200
+ export declare class ZoneGridModel extends HoistModel {
201
+ gridModel: GridModel;
202
+ mapperModel: ZoneMapperModel;
203
+ mappings: Record<Zone, ZoneMapping[]>;
204
+ labelRenderers: Record<string, ColumnRenderer>;
205
+ leftColumnSpec: Partial<ColumnSpec>;
206
+ rightColumnSpec: Partial<ColumnSpec>;
207
+ availableColumns: ColumnSpec[];
208
+ limits: Partial<Record<Zone, ZoneLimit>>;
209
+ delimiter: string | false;
210
+ restoreDefaultsFn: () => Awaitable<void>;
211
+ restoreDefaultsWarning: ReactNode;
212
+ private _defaultState;
213
+ constructor(config: ZoneGridConfig);
214
+ /**
215
+ * Restore the mapping, sorting, and grouping configs as specified by the application at
216
+ * construction time. This is the state without any user changes applied.
217
+ * This method will clear the persistent grid state saved for this grid, if any.
218
+ *
219
+ * @returns true if defaults were restored
220
+ */
221
+ restoreDefaultsAsync(): Promise<boolean>;
222
+ showMapper(): void;
223
+ setMappings(mappings: Record<Zone, Some<string | ZoneMapping>>): void;
224
+ getDefaultContextMenu: () => (string | RecordAction)[];
225
+ get sortBy(): GridSorter;
226
+ setSortBy(cfg: GridSorterLike): void;
227
+ get store(): Store;
228
+ get empty(): boolean;
229
+ get selModel(): StoreSelectionModel;
230
+ get hasSelection(): boolean;
231
+ get selectedRecords(): import("@xh/hoist/data").StoreRecord[];
232
+ get selectedRecord(): import("@xh/hoist/data").StoreRecord;
233
+ get selectedId(): import("@xh/hoist/data").StoreRecordId;
234
+ get groupBy(): string[];
235
+ selectAsync(records: Some<StoreRecordOrId>, opts: {
236
+ ensureVisible?: boolean;
237
+ clearSelection?: boolean;
238
+ }): Promise<void>;
239
+ preSelectFirstAsync(): Promise<void>;
240
+ selectFirstAsync(opts?: {
241
+ ensureVisible?: boolean;
242
+ }): Promise<void>;
243
+ ensureSelectionVisibleAsync(): Promise<void>;
244
+ doLoadAsync(loadSpec: LoadSpec): Promise<any>;
245
+ loadData(rawData: any[], rawSummaryData?: Some<PlainObject>): void;
246
+ updateData(rawData: PlainObject[] | StoreTransaction): import("@xh/hoist/data").StoreChangeLog;
247
+ clear(): void;
248
+ setGroupBy(colIds: Some<string>): void;
249
+ private createGridModel;
250
+ private getColumns;
251
+ private buildZoneColumn;
252
+ private findColumnSpec;
253
+ private parseMappings;
254
+ private parseZoneMapping;
255
+ private parseMapperModel;
256
+ }
@@ -0,0 +1,7 @@
1
+ import { ZoneGridModel } from '../ZoneGridModel';
2
+ import { ZoneGridModelPersistOptions } from '../Types';
3
+ /**
4
+ * Initialize persistence for a {@link ZoneGridModel} by applying its `persistWith` config.
5
+ * @internal
6
+ */
7
+ export declare function initPersist(zoneGridModel: ZoneGridModel, { persistMappings, persistGrouping, persistSort, path, ...rootPersistWith }: ZoneGridModelPersistOptions): void;
@@ -0,0 +1,25 @@
1
+ import { CellContext, ColumnRenderer } from '@xh/hoist/cmp/grid';
2
+ import { ReactNode } from 'react';
3
+ export interface ZoneGridColConfig {
4
+ /** Array of SubField specifications to render. */
5
+ subFields: ZoneGridSubField[];
6
+ /** Renderer for primary field. */
7
+ mainRenderer?: ColumnRenderer;
8
+ /** Separator rendered between consecutive SubFields. */
9
+ delimiter?: string | false;
10
+ }
11
+ export interface ZoneGridSubField {
12
+ colId: string;
13
+ /**
14
+ * Label to display next to data value. True to use the Column's header as label.
15
+ * Alternatively provide a custom string, or a renderer for dynamic per-value labels.
16
+ */
17
+ label?: boolean | string | ColumnRenderer;
18
+ /** Where to render the sub-field. Default 'bottom'. */
19
+ position?: 'top' | 'bottom';
20
+ }
21
+ /**
22
+ * Renderer to support ZoneGrid's highly specialized rendering.
23
+ * @internal
24
+ */
25
+ export declare function zoneGridRenderer(value: any, context: CellContext, isLeft: boolean): ReactNode;
@@ -0,0 +1,67 @@
1
+ import { HoistModel } from '@xh/hoist/core';
2
+ import { StoreRecord } from '@xh/hoist/data';
3
+ import { GridSorter } from '@xh/hoist/cmp/grid';
4
+ import { ReactNode } from 'react';
5
+ import { ZoneGridModel } from '../ZoneGridModel';
6
+ import { ZoneField, Zone, ZoneLimit, ZoneMapping } from '../Types';
7
+ export interface ZoneMapperConfig {
8
+ /** The ZoneGridModel to be configured. */
9
+ zoneGridModel: ZoneGridModel;
10
+ /** True (default) to show Reset button to restore default configuration. */
11
+ showRestoreDefaults?: boolean;
12
+ /** True (default) to group columns by their chooserGroup */
13
+ groupColumns?: boolean;
14
+ }
15
+ /**
16
+ * State management for the ZoneMapper component.
17
+ *
18
+ * It is not necessary to manually create instances of this class within an application.
19
+ *
20
+ * @internal
21
+ */
22
+ export declare class ZoneMapperModel extends HoistModel {
23
+ zoneGridModel: ZoneGridModel;
24
+ showRestoreDefaults: boolean;
25
+ groupColumns: boolean;
26
+ isOpen: boolean;
27
+ isPopoverOpen: boolean;
28
+ selectedZone: Zone;
29
+ mappings: Record<Zone, ZoneMapping[]>;
30
+ sortBy: GridSorter;
31
+ fields: ZoneField[];
32
+ sampleRecord: StoreRecord;
33
+ get isDirty(): boolean;
34
+ get leftFlex(): number;
35
+ get rightFlex(): number;
36
+ get limits(): Partial<Record<Zone, ZoneLimit>>;
37
+ get delimiter(): string | false;
38
+ get sortByColId(): string;
39
+ get sortByOptions(): {
40
+ value: string;
41
+ label: string;
42
+ }[];
43
+ get headersAreHidden(): boolean;
44
+ constructor(config: ZoneMapperConfig);
45
+ restoreDefaultsAsync(): Promise<void>;
46
+ open(): void;
47
+ openPopover(): void;
48
+ close(): void;
49
+ commit(): void;
50
+ getSamplesForZone(zone: Zone): ReactNode[];
51
+ getSortLabel(): "Abs" | "Asc" | "Desc";
52
+ getSortIcon(): any;
53
+ setSortByColId(colId: string): void;
54
+ setNextSortBy(): void;
55
+ toggleShown(field: string): void;
56
+ toggleShowLabel(field: string): void;
57
+ private syncMapperData;
58
+ private getFields;
59
+ private addOrAdjustZoneMapping;
60
+ private adjustZoneMapping;
61
+ private addZoneMapping;
62
+ private removeZoneMapping;
63
+ private getMappingForFieldAndZone;
64
+ private isZoneTopRow;
65
+ getSampleForMapping(mapping: ZoneMapping, ignoreLabel: boolean): ReactNode;
66
+ private getSampleRecord;
67
+ }
@@ -0,0 +1,3 @@
1
+ export * from './Types';
2
+ export * from './ZoneGrid';
3
+ export * from './ZoneGridModel';
@@ -0,0 +1,139 @@
1
+ import { ElementFactory, HoistAppModel, HoistAuthModel, HoistProps } from '@xh/hoist/core';
2
+ import { Component, ComponentClass, FunctionComponent } from 'react';
3
+ /**
4
+ * Spec for a client-side Hoist application. A config matching this class's shape is provided
5
+ * to {@link XHApi.renderApp} to kick-off app rendering and is available thereafter as `XH.appSpec`.
6
+ */
7
+ export declare class AppSpec<T extends HoistAppModel = HoistAppModel> {
8
+ /**
9
+ * AuthModel class for the application. Note this is a reference to the class itself, not an
10
+ * instance, and must extend {@link HoistAuthModel}. If not provided, Hoist will fallback to
11
+ * the superclass implementation, but note that class would only be suitable for fully
12
+ * transparent SSO based solutions such as NTLM. Common patterns such as OAuth will require an
13
+ * extended implementation.
14
+ */
15
+ authModelClass?: new () => HoistAuthModel;
16
+ /**
17
+ * Method for determining if user may access the app. If a string, will be interpreted as the
18
+ * role required for basic UI access. Return false to show a generated lockout message, or use
19
+ * the object form to provide a custom message.
20
+ */
21
+ checkAccess: string | ((user: object) => boolean | {
22
+ hasAccess: boolean;
23
+ message: string;
24
+ });
25
+ /**
26
+ * Short code for this particular JS client application.
27
+ *
28
+ * Will default to the `appCode` specified within the project's Webpack config, but can be
29
+ * set to a more specific value (e.g. 'myAppMobile') to identify the client app in common
30
+ * code or configs that support distinct settings for different client apps.
31
+ */
32
+ clientAppCode?: string;
33
+ /**
34
+ * Display name for this particular JS client application.
35
+ *
36
+ * As with `clientAppCode` above, this will default to the global `appName` specified by
37
+ * the project's Webpack config, but can be set here to a more specific value (e.g.
38
+ * 'MyApp Mobile').
39
+ */
40
+ clientAppName?: string;
41
+ /**
42
+ * Root HoistComponent for the application.
43
+ * Despite the name, functional components are fully supported and expected.
44
+ */
45
+ componentClass: ComponentClass<HoistProps> | FunctionComponent<HoistProps>;
46
+ /**
47
+ * Container component to be used to host this application.
48
+ *
49
+ * This class determines the platform used by Hoist - almost all apps will import and specify
50
+ * either `@xh/hoist/desktop/AppContainer` or `@xh/hoist/mobile/AppContainer`.
51
+ */
52
+ containerClass: ComponentClass<HoistProps> | FunctionComponent<HoistProps>;
53
+ /**
54
+ * True to disable Hoist's built-in WebSocket support for this client app. Even if the app
55
+ * itself is not using WebSockets for business data, the Hoist Admin Console's "Clients" tab and
56
+ * related functionality benefit from having them enabled, so disable only if there is a good
57
+ * reason to do so.
58
+ */
59
+ disableWebSockets?: boolean;
60
+ /**
61
+ * True to enable Field-level XSS protection by default across all Stores/Fields in the app.
62
+ * Available as an extra precaution for use with apps that might display arbitrary input from
63
+ * untrusted or external users. This feature does exact a minor performance penalty during data
64
+ * parsing, which can be significant in aggregate for very large stores containing records with
65
+ * many `string` fields.
66
+ *
67
+ * Note: this flag and its default behavior was changed as of Hoist v77 to be `false`, i.e.
68
+ * Store-level XSS protection *disabled* by default, in keeping with Hoist's primary use-case:
69
+ * building secured internal apps with large datasets and tight performance tolerances.
70
+ *
71
+ * @see FieldSpec.enableXssProtection
72
+ */
73
+ enableXssProtection?: boolean;
74
+ /**
75
+ * True to show a login form on initialization when not authenticated. Default is `false` as
76
+ * most Hoist applications are expected to use OAuth or SSO for authn.
77
+ */
78
+ enableLoginForm?: boolean;
79
+ /**
80
+ * True to show logout options in the app, for apps with auth schemes that can support this
81
+ * operation (e.g. OAuth). Default is `false` as most Hoist applications are expected to use
82
+ * SSO or to run in internal environments where logout is not required / typical.
83
+ */
84
+ enableLogout?: boolean;
85
+ /**
86
+ * Optional custom Component to display when the app has been suspended. The component will
87
+ * receive a single `onReactivate` prop, a no-arg callback fired when the user has acknowledged
88
+ * the suspension and wishes to reload the app.
89
+ */
90
+ idlePanel?: ElementFactory | FunctionComponent | Component;
91
+ /** True if the app should use the Hoist mobile toolkit.*/
92
+ isMobileApp: boolean;
93
+ /**
94
+ * Optional custom Component to display when the user is denied access to app. Intended for
95
+ * apps that implement custom auth flows. See also `lockoutMessage` for a more lightweight
96
+ * customization option.
97
+ */
98
+ lockoutPanel?: ElementFactory | FunctionComponent | Component;
99
+ /** Optional message to show users when denied access to app. */
100
+ lockoutMessage?: string;
101
+ /** Optional message to show on login form, if `showLoginForm: true`. */
102
+ loginMessage?: string;
103
+ /**
104
+ * Root Model class for the application. Note this is a reference to the class itself, not an
105
+ * instance, and must extend {@link HoistAppModel}.
106
+ */
107
+ modelClass: new () => T;
108
+ /**
109
+ * True to show the built-in browser context menu when no app-specific menu would be shown
110
+ * (e.g. from a Grid). False (the default) prevents the browser menu from being shown anywhere
111
+ * upon right-click.
112
+ */
113
+ showBrowserContextMenu?: boolean;
114
+ /**
115
+ * True (default) to write a track log statement after the app has loaded and fully
116
+ * initialized, including a breakdown of elapsed time throughout the init process.
117
+ */
118
+ trackAppLoad?: boolean;
119
+ constructor({ authModelClass, checkAccess, clientAppCode, clientAppName, componentClass, containerClass, disableWebSockets, enableXssProtection, enableLoginForm, enableLogout, idlePanel, isMobileApp, lockoutMessage, lockoutPanel, loginMessage, modelClass, showBrowserContextMenu, trackAppLoad }: {
120
+ authModelClass?: typeof HoistAuthModel;
121
+ checkAccess: any;
122
+ clientAppCode?: string;
123
+ clientAppName?: string;
124
+ componentClass: any;
125
+ containerClass: any;
126
+ disableWebSockets?: boolean;
127
+ enableXssProtection?: boolean;
128
+ enableLoginForm?: boolean;
129
+ enableLogout?: boolean;
130
+ idlePanel?: any;
131
+ isMobileApp: any;
132
+ lockoutMessage?: any;
133
+ lockoutPanel?: any;
134
+ loginMessage?: any;
135
+ modelClass: any;
136
+ showBrowserContextMenu?: boolean;
137
+ trackAppLoad?: boolean;
138
+ });
139
+ }
@@ -0,0 +1,132 @@
1
+ import { HoistException } from '../exception';
2
+ import { PlainObject } from './';
3
+ export interface ExceptionHandlerOptions {
4
+ /** Text (ideally user-friendly) describing the error. */
5
+ message?: string;
6
+ /** Title for an alert dialog, if shown. */
7
+ title?: string;
8
+ /**
9
+ * Configure modal alert and logging to indicate that this is an unexpected error. Default
10
+ * true for most exceptions, false for those marked as `isRoutine`.
11
+ */
12
+ showAsError?: boolean;
13
+ /**
14
+ * Send the exception to the server to be stored for review in the Hoist Admin Console?
15
+ * Default true when `showAsError` is true, excepting 'isAutoRefresh' fetch exceptions.
16
+ */
17
+ logOnServer?: boolean;
18
+ /**
19
+ * Display an alert dialog to the user.
20
+ * Default true, excepting 'isAutoRefresh' and 'isFetchAborted' exceptions.
21
+ */
22
+ showAlert?: boolean;
23
+ /**
24
+ * If `showAlert`, which type of alert to display. Defaults to ExceptionHandler.ALERT_TYPE.
25
+ */
26
+ alertType?: 'dialog' | 'toast';
27
+ /**
28
+ * Force user to fully refresh the app in order to dismiss - default false, excepting
29
+ * session-related exceptions.
30
+ */
31
+ requireReload?: boolean;
32
+ /**
33
+ * A list of parameters that should be hidden from the exception log and alert.
34
+ */
35
+ hideParams?: string[];
36
+ }
37
+ export interface ExceptionHandlerLoggingOptions {
38
+ /** Exception to be logged. */
39
+ exception: HoistException;
40
+ /** True if the user was shown a modal alert. */
41
+ userAlerted: boolean;
42
+ /**
43
+ * Optional user-provided message detailing what they did to trigger the error, or any other
44
+ * details the user chooses to provide.
45
+ */
46
+ userMessage?: string;
47
+ }
48
+ /**
49
+ * Provides Centralized Exception Handling for Hoist Application.
50
+ * Manages the logging and display of exceptions.
51
+ */
52
+ export declare class ExceptionHandler {
53
+ /**
54
+ * Property paths within error details JSON to replace with '******'
55
+ */
56
+ static REDACT_PATHS: string[];
57
+ /**
58
+ * Default type of alert to use to display exceptions with `showAlert`.
59
+ */
60
+ static ALERT_TYPE: 'dialog' | 'toast';
61
+ /**
62
+ * Default props provided to toast, when alert type is 'toast'
63
+ */
64
+ static TOAST_PROPS: object;
65
+ /**
66
+ * Called by Hoist internally to handle exceptions, with built-in support for parsing certain
67
+ * Hoist-specific exception options, displaying an appropriate error dialog to users, and
68
+ * logging back to the server for stateful error tracking in the Admin Console.
69
+ *
70
+ * Typical application entry points to this method are the {@link XH.handleException} alias and
71
+ * {@link Promise.prototype.catchDefault}.
72
+ *
73
+ * This handler provides the most value with HoistExceptions created by {@link Exception.create}.
74
+ * Hoist automatically creates such exceptions in most instances, most notably in FetchService,
75
+ * which generates de-serialized versions of server exceptions. See {@link XH.exception} for a
76
+ * convenient way to create these enhanced exceptions in application code.
77
+ *
78
+ * This handler will respect an `isRoutine` flag set on HoistExceptions that can be thrown in
79
+ * the course of "normal" app operation and do not represent unexpected errors. When true, this
80
+ * handler will apply defaults that avoid overly alarming the user and skip server-side logging.
81
+ *
82
+ * @param exception - thrown object, will be coerced into a HoistException by Exception.create().
83
+ * @param options - provides further control over how the exception is shown and/or logged.
84
+ */
85
+ handleException(exception: unknown, options?: ExceptionHandlerOptions): void;
86
+ /**
87
+ * Show an exception in an error dialog, without logging the error to the server or console.
88
+ * Intended to be used for the deferred / user-initiated showing of exceptions that have
89
+ * already been appropriately logged. Applications should typically prefer `handleException`.
90
+ *
91
+ * @param exception - thrown object, will be coerced into a HoistException by Exception.create().
92
+ * @param options - provides further control over how the exception is shown and/or logged.
93
+ */
94
+ showException(exception: unknown, options?: ExceptionHandlerOptions): void;
95
+ /**
96
+ * Show an exception in full detail, with ability to report and copy to clipboard.
97
+ * Intended to be used for the deferred / user-initiated showing of exceptions that have
98
+ * already been appropriately logged. Apps should typically prefer {@link handleException}.
99
+ *
100
+ * @param exception - thrown object, will be coerced into a {@link HoistException}.
101
+ * @param options - provides further control over how the exception is shown.
102
+ */
103
+ showExceptionDetails(exception: unknown, options?: ExceptionHandlerOptions): void;
104
+ /**
105
+ * Create a server-side exception entry. Client metadata will be set automatically.
106
+ *
107
+ * This method will swallow any exceptions thrown in the course of its own execution, failing
108
+ * silently to avoid masking or compounding the actual exception to be handled.
109
+ *
110
+ * Note the App version is POSTed to ensure we capture the version of the client the user is
111
+ * actually running when the exception was generated.
112
+ *
113
+ * @returns true if message was successfully sent to server.
114
+ */
115
+ logOnServerAsync(options: ExceptionHandlerLoggingOptions): Promise<boolean>;
116
+ /**
117
+ * Sanitize an exception for submission to server. This method will avoid circular references
118
+ * trim the depth of the object, and redact sensitive info (e.g. passwords).
119
+ */
120
+ sanitizeException(exception: HoistException): PlainObject;
121
+ /**
122
+ * Serialize an error object safely for user display. This method will avoid circular
123
+ * references, trim the depth of the object, and redact sensitive info (e.g. passwords).
124
+ */
125
+ stringifyErrorSafely(exception: HoistException): string;
126
+ private parseArgs;
127
+ private hideParams;
128
+ private logException;
129
+ private parseOptions;
130
+ private sessionMismatch;
131
+ private cloneAndTrim;
132
+ }