@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,80 @@
1
+ import { ReactNode } from 'react';
2
+ /**
3
+ * Tracks the execution state of one or more asynchronous tasks.
4
+ *
5
+ * An instance of this class can be used to control masks or other UI elements that
6
+ * track the progression of asynchronous tasks. It can be passed directly to a Panel
7
+ * component via its `mask` property, providing a common and convenient
8
+ * method for masking a section of a user interface while an operation is pending.
9
+ */
10
+ export declare class TaskObserver {
11
+ /**
12
+ * Create a new TaskObserver that will be pending if *any* linked
13
+ * subtasks is still pending.
14
+ */
15
+ static trackAll({ tasks, message }?: {
16
+ tasks?: TaskObserver[];
17
+ message?: string;
18
+ }): TaskObserver;
19
+ /**
20
+ * Create a new TaskObserver that will be pending if its *last* linked
21
+ * subtask is still pending.
22
+ *
23
+ * Useful for tracking repeated invocations of the same operation, such as
24
+ * serially reloading of data from the server.
25
+ */
26
+ static trackLast({ message }?: {
27
+ message?: string;
28
+ }): TaskObserver;
29
+ /**
30
+ * Create a TaskObserver bound to a single Promise.
31
+ * @see {@link Promise.linkTo} - preferred way to link an existing TaskObserver to a promise.
32
+ * @internal
33
+ */
34
+ static forPromise({ promise, message }: {
35
+ promise: any;
36
+ message: any;
37
+ }): PromiseObserver;
38
+ get isTaskObserver(): boolean;
39
+ /**
40
+ * Is the task considered to be executing/in-progress? Observable.
41
+ */
42
+ get isPending(): boolean;
43
+ /**
44
+ * The number of pending tasks. Observable.
45
+ */
46
+ get pendingCount(): number;
47
+ /**
48
+ * The message describing the executing task. Observable.
49
+ */
50
+ get message(): ReactNode;
51
+ /**
52
+ * Set the message describing the executing task.
53
+ */
54
+ setMessage(msg: ReactNode): void;
55
+ /**
56
+ * Link the task to a subtask.
57
+ */
58
+ linkTo(task: TaskObserver): void;
59
+ /**
60
+ * Clear any tasks currently being observed.
61
+ */
62
+ clear(): void;
63
+ /**
64
+ * This class is abstract and should not be instantiated directly. To get an instance of this
65
+ * class, use static methods trackFirst(), trackLast() or fromPromise().
66
+ * @internal
67
+ */
68
+ constructor();
69
+ }
70
+ declare class PromiseObserver extends TaskObserver {
71
+ private _isPending;
72
+ private _message;
73
+ get isPromiseObserver(): boolean;
74
+ get isPending(): boolean;
75
+ get pendingCount(): 1 | 0;
76
+ get message(): ReactNode;
77
+ clear(): void;
78
+ constructor(promise: any, message: any);
79
+ }
80
+ export {};
@@ -0,0 +1,445 @@
1
+ import { RouterModel } from '@xh/hoist/appcontainer/RouterModel';
2
+ import { HoistAuthModel } from '@xh/hoist/core/HoistAuthModel';
3
+ import { Store } from '@xh/hoist/data';
4
+ import { AlertBannerService, AutoRefreshService, ChangelogService, ClientHealthService, ConfigService, EnvironmentService, FetchOptions, FetchService, GridAutosizeService, GridExportService, IdentityService, IdleService, InspectorService, JsonBlobService, LocalStorageService, PrefService, SessionStorageService, TrackService, WebSocketService } from '@xh/hoist/svc';
5
+ import { LogLevel } from '@xh/hoist/utils/js';
6
+ import { Router, State } from 'router5';
7
+ import { CancelFn } from 'router5/types/types/base';
8
+ import { SetOptional } from 'type-fest';
9
+ import { AppContainerModel } from '../appcontainer/AppContainerModel';
10
+ import { BannerModel } from '../appcontainer/BannerModel';
11
+ import { ToastModel } from '../appcontainer/ToastModel';
12
+ import '../styles/XH.scss';
13
+ import { HoistException } from '../exception';
14
+ import { AppSpec, AppState, AppSuspendData, BannerSpec, ExceptionHandler, ExceptionHandlerOptions, HoistAppModel, HoistService, HoistServiceClass, HoistUser, MessageSpec, PageState, PlainObject, ReloadAppOptions, SizingMode, TaskObserver, Theme, ToastSpec, TrackOptions } from './';
15
+ import { HoistModel, ModelSelector, RefreshContextModel } from './model';
16
+ export declare const MIN_HOIST_CORE_VERSION = "31.2";
17
+ /**
18
+ * Top-level Singleton model for Hoist. This is the main entry point for the API.
19
+ *
20
+ * Provides access to the built-in Hoist services, metadata about the application and environment,
21
+ * and convenience aliases to the most common framework operations.
22
+ *
23
+ * Available via import as `XH` - also installed as `window.XH` for troubleshooting purposes.
24
+ */
25
+ export declare class XHApi {
26
+ /** Unique id for this loaded instance of the app. Unique for every refresh of document. */
27
+ loadId: string;
28
+ /**
29
+ * Unique id for this browser tab/window on this domain.
30
+ * Corresponds to the scope of the built-in sessionStorage object.
31
+ */
32
+ tabId: string;
33
+ /** Core implementation model hosting all application state. */
34
+ appContainerModel: AppContainerModel;
35
+ /** Provider of centralized exception handling for the app. */
36
+ exceptionHandler: ExceptionHandler;
37
+ /** Short internal code for the application. */
38
+ readonly appCode: string;
39
+ /** User-facing display name for the app. See also {@link clientAppName}. */
40
+ readonly appName: string;
41
+ /** SemVer or snapshot version of the client build. */
42
+ readonly appVersion: string;
43
+ /**
44
+ * Optional identifier for the client build (e.g. a git commit hash or a build ID).
45
+ * Varies depending on an app's particular build configuration.
46
+ */
47
+ readonly appBuild: string;
48
+ /** Root URL context/path - prepended to all relative fetch requests. */
49
+ readonly baseUrl: string;
50
+ /** List of all client app codes available in the application. */
51
+ readonly clientApps: string[];
52
+ /** True if the app is running in a local development environment. */
53
+ readonly isDevelopmentMode: boolean;
54
+ /** Authentication Model for this App. */
55
+ authModel: HoistAuthModel;
56
+ alertBannerService: AlertBannerService;
57
+ autoRefreshService: AutoRefreshService;
58
+ changelogService: ChangelogService;
59
+ clientHealthService: ClientHealthService;
60
+ configService: ConfigService;
61
+ environmentService: EnvironmentService;
62
+ fetchService: FetchService;
63
+ gridAutosizeService: GridAutosizeService;
64
+ gridExportService: GridExportService;
65
+ identityService: IdentityService;
66
+ idleService: IdleService;
67
+ inspectorService: InspectorService;
68
+ jsonBlobService: JsonBlobService;
69
+ localStorageService: LocalStorageService;
70
+ prefService: PrefService;
71
+ sessionStorageService: SessionStorageService;
72
+ trackService: TrackService;
73
+ webSocketService: WebSocketService;
74
+ /**
75
+ * Tracks globally loading promises.
76
+ * Apps should link any async operations that should mask the entire viewport to this observer.
77
+ */
78
+ get appLoadObserver(): TaskObserver;
79
+ get appLoadModel(): TaskObserver;
80
+ /** Root level application model. */
81
+ get appModel(): HoistAppModel;
82
+ /** Specifications for this application, provided in call to `XH.renderApp()`. */
83
+ get appSpec(): AppSpec;
84
+ /** Short code for this particular JS client application. */
85
+ get clientAppCode(): string;
86
+ /** Display name for this particular JS client application. */
87
+ get clientAppName(): string;
88
+ /** True if the app should use the Hoist mobile toolkit.*/
89
+ get isMobileApp(): boolean;
90
+ /** True if the app is running on a desktop. */
91
+ get isDesktop(): boolean;
92
+ /** True if the app is running on a mobile phone. */
93
+ get isPhone(): boolean;
94
+ /** True if the app is running on a tablet. */
95
+ get isTablet(): boolean;
96
+ /** The global RefreshContextModel for this application.*/
97
+ get refreshContextModel(): RefreshContextModel;
98
+ /**
99
+ * Current lifecycle state of the application. (observable)
100
+ * The {@link AppState} type lists the possible states, with descriptive comments.
101
+ */
102
+ get appState(): AppState;
103
+ /** Shortcut for testing if appState is 'RUNNING'. (observable) */
104
+ get appIsRunning(): boolean;
105
+ /** Milliseconds timestamp for the last time user interaction with the page was detected. */
106
+ get lastActivityMs(): number;
107
+ /**
108
+ * The lifecycle state of the page. (observable)
109
+ *
110
+ * This state changes due to changes to the focused/visible state of the browser tab and the
111
+ * browser window as a whole, as well as built-in browser behaviors around navigation and
112
+ * performance optimizations.
113
+ *
114
+ * Apps can react to this stat to pause background processes (e.g. expensive refreshes) when
115
+ * the app is no longer visible to the user and resume them when the user switches back and
116
+ * re-activates the tab.
117
+ *
118
+ * The {@link PageState} type lists the possible states, with descriptive comments.
119
+ * See {@link https://developer.chrome.com/blog/page-lifecycle-api/} for a useful overview.
120
+ */
121
+ get pageState(): PageState;
122
+ /** Shortcut for testing if pageState is 'active'. (observable) */
123
+ get pageIsActive(): boolean;
124
+ /** Shortcut for testing if pageState is 'passive'. (observable) */
125
+ get pageIsPassive(): boolean;
126
+ /** Shortcut for testing if pageState is 'active' or 'passive'. (observable) */
127
+ get pageIsVisible(): boolean;
128
+ /**
129
+ * Send a request via the underlying fetch API.
130
+ * @see FetchService.fetch
131
+ */
132
+ fetch(opts: FetchOptions): Promise<any>;
133
+ /**
134
+ * Send an HTTP request and decode the response as JSON.
135
+ * @see FetchService.fetchJson
136
+ */
137
+ fetchJson(opts: FetchOptions): Promise<any>;
138
+ /**
139
+ * Send a POST request with a JSON body and decode the response as JSON.
140
+ * @see FetchService.postJson
141
+ */
142
+ postJson(opts: FetchOptions): Promise<any>;
143
+ /**
144
+ * Read soft configuration values.
145
+ * @see ConfigService.get
146
+ */
147
+ getConf(key: string, defaultVal?: any): any;
148
+ /**
149
+ * Read user preference values.
150
+ * @see PrefService.get
151
+ */
152
+ getPref(key: string, defaultVal?: any): any;
153
+ /**
154
+ * Set user preference values.
155
+ * @see PrefService.set
156
+ */
157
+ setPref(key: string, val: any): void;
158
+ /**
159
+ * Track user activity.
160
+ * @see TrackService.track
161
+ */
162
+ track(opts: string | TrackOptions): void;
163
+ /**
164
+ * Read an environment property.
165
+ * @see EnvironmentService.get
166
+ */
167
+ getEnv(key: string): any;
168
+ /**
169
+ * @returns the current acting user.
170
+ * @see IdentityService.user
171
+ */
172
+ getUser(): HoistUser;
173
+ /**
174
+ * @returns the current acting user's username.
175
+ * @see IdentityService.username
176
+ */
177
+ getUsername(): string;
178
+ /** @returns the current acting user's initials. */
179
+ getUserInitials(): string;
180
+ /**
181
+ * Logout the current user.
182
+ * @see HoistAuthModel.logoutAsync
183
+ */
184
+ logoutAsync(): Promise<void>;
185
+ /**
186
+ * Current minimum severity for Hoist log utils (default 'info').
187
+ * Messages logged via managed Hoist log utils with lower severity will be ignored.
188
+ */
189
+ get logLevel(): LogLevel;
190
+ /**
191
+ * Set the minimum severity for Hoist log utils.
192
+ * Optionally persist this adjustment for up to 1440 minutes in local storage.
193
+ */
194
+ setLogLevel(level: LogLevel, persistMins?: number): void;
195
+ /**
196
+ * Short cut to enable client-side logging at level `debug`.
197
+ * Optionally persist this adjustment for up to 1440 minutes in local storage.
198
+ *
199
+ * Hint: call this method from the console to show more verbose data while troubleshooting.
200
+ */
201
+ enableDebugLogging(persistMins?: number): void;
202
+ /**
203
+ * Main entry point to start the client app - initializes and renders application code.
204
+ * Call from the app's entry-point file within your project's `/client-app/src/apps/` folder.
205
+ */
206
+ renderApp<T extends HoistAppModel>(appSpec: AppSpec<T>): void;
207
+ /**
208
+ * Entry-point to start the Hoist Admin console app, with common properties defaulted.
209
+ * Call this from within your project's `/client-app/src/apps/admin.ts` file.
210
+ *
211
+ * NOTE you must still import and pass in the `componentClass`, `containerClass`, and
212
+ * `modelClass` options. We don't default those here, as we do not want to import admin-only
213
+ * code in XH, where it would be added to the bundles for all client apps.
214
+ */
215
+ renderAdminApp<T extends HoistAppModel>(appSpec: SetOptional<AppSpec<T>, 'isMobileApp' | 'checkAccess'>): void;
216
+ /**
217
+ * Suspend all app activity and display, including timers and web sockets.
218
+ *
219
+ * Suspension is a terminal state, requiring user to reload the app.
220
+ * Used for idling, forced version upgrades, and ad-hoc killing of problematic clients.
221
+ */
222
+ suspendApp(suspendData: AppSuspendData): void;
223
+ /**
224
+ * Trigger a full reload of the current application.
225
+ *
226
+ * @param opts - options to govern reload. To support legacy usages, a provided
227
+ * string will be treated as `ReloadAppOptions.path`.
228
+ *
229
+ * This method will reload the entire application document in the browser - to trigger a
230
+ * refresh of the loadable content within the app, use {@link refreshAppAsync} instead.
231
+ */
232
+ reloadApp(opts?: ReloadAppOptions | string): void;
233
+ /**
234
+ * Refresh the current application.
235
+ *
236
+ * This method will do an "in-place" refresh of the loadable content as defined by the app.
237
+ * It is a short-cut to `XH.refreshContextModel.refreshAsync()`.
238
+ *
239
+ * To trigger a full reload of the app document in the browser (including code) use
240
+ * {@link reloadApp} instead.
241
+ */
242
+ refreshAppAsync(): Promise<void>;
243
+ /**
244
+ * Open a url in an external browser window/tab.
245
+ *
246
+ * Unlike a simple call to `open`, this method ensures the "opener" method on the
247
+ * new window is null. This ensures that the new page will not share sessionState with
248
+ * this page. See https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage
249
+ */
250
+ openWindow(url: string, target?: string): void;
251
+ /**
252
+ * Flags for controlling experimental, hotfix, or otherwise provisional features.
253
+ *
254
+ * Configure via `xhFlags` config.
255
+ *
256
+ * No flags currently supported (subject to changes without API notice):
257
+ */
258
+ get flags(): PlainObject;
259
+ /** Toggle the theme between light and dark variants. */
260
+ toggleTheme(): void;
261
+ /** Set the theme directly (useful for custom app option controls). */
262
+ setTheme(value: Theme, persist?: boolean): void;
263
+ /** True if the dark theme is currently active. (observable) */
264
+ get darkTheme(): boolean;
265
+ /** Standard size used by Grid. (observable) */
266
+ get sizingMode(): SizingMode;
267
+ /** Set standard size used by Grid. */
268
+ setSizingMode(sizingMode: SizingMode): void;
269
+ /** Current viewport width / height. (observable) */
270
+ get viewportSize(): {
271
+ width: number;
272
+ height: number;
273
+ };
274
+ /** True if the viewport is currently in the portrait orientation. (observable) */
275
+ get isPortrait(): boolean;
276
+ /** True if the viewport is currently in the landscape orientation. (observable) */
277
+ get isLandscape(): boolean;
278
+ /**
279
+ * Model hosting observable router5 state. Not typically used by applications.
280
+ * Use {@link routerState} instead.
281
+ */
282
+ get routerModel(): RouterModel;
283
+ /**
284
+ * Underlying Router5 Router object implementing the routing state.
285
+ * Applications should use this property to directly access the Router5 API.
286
+ */
287
+ get router(): Router;
288
+ /**
289
+ * The current routing state of the application. (observable)
290
+ * @see RoutingManager.currentState
291
+ */
292
+ get routerState(): State;
293
+ /** Route the app - shortcut to `XH.router.navigate()`. */
294
+ navigate(...args: any[]): CancelFn;
295
+ /** Add a routeName to the current route, preserving params. */
296
+ appendRoute(routeName: string, newParams?: PlainObject): CancelFn;
297
+ /** Remove last routeName from the current route, preserving params. */
298
+ popRoute(): CancelFn;
299
+ /**
300
+ * Show a modal message dialog.
301
+ *
302
+ * Note that this method will autofocus the confirm button by default. To focus the cancel
303
+ * button instead (e.g. for confirming risky operations), applications should specify a
304
+ * `cancelProps` argument of the following form `cancelProps: {..., autoFocus: true}`.
305
+ *
306
+ * @returns true if user confirms, false if user cancels. If an input is provided, the
307
+ * returned Promise will resolve to the input value if user confirms, false if user cancels.
308
+ */
309
+ message<T = unknown>(config: MessageSpec): Promise<T | boolean>;
310
+ /**
311
+ * Show a modal 'alert' dialog with message and default 'OK' button.
312
+ * @returns true when user acknowledges alert.
313
+ */
314
+ alert(config: MessageSpec): Promise<boolean>;
315
+ /**
316
+ * Show a modal 'confirm' dialog with message and default 'OK'/'Cancel' buttons.
317
+ * @returns true if user confirms, false if user cancels.
318
+ */
319
+ confirm(config: MessageSpec): Promise<boolean>;
320
+ /**
321
+ * Show a modal 'prompt' dialog with a default TextInput, message and 'OK'/'Cancel' buttons.
322
+ *
323
+ * The default TextInput comes with props set for:
324
+ * 1. autoFocus = true
325
+ * 2. selectOnFocus = true (desktop only)
326
+ * 3. onKeyDown handler to confirm on <enter> (same as clicking 'OK') (desktop only)
327
+ * Applications may also provide a custom HoistInput, in which all props must be set.
328
+ *
329
+ * @returns value of input if user confirms, false if user cancels.
330
+ */
331
+ prompt<T = unknown>(config: MessageSpec): Promise<T | false>;
332
+ /**
333
+ * Show a non-modal "toast" notification that appears and then automatically dismisses.
334
+ * @returns model representing the toast. May be used for programmatic dismissal.
335
+ */
336
+ toast(config: ToastSpec | string): ToastModel;
337
+ /** Show a toast with default intent and icon indicating success. */
338
+ successToast(config: ToastSpec | string): ToastModel;
339
+ /** Show a toast with default intent and icon indicating a warning. */
340
+ warningToast(config: ToastSpec | string): ToastModel;
341
+ /** Show a toast with intent and icon indicating a serious issue. */
342
+ dangerToast(config: ToastSpec | string): ToastModel;
343
+ /**
344
+ * Show a Banner across the top of the viewport. Banners are unique by their category prop.
345
+ * Showing a new banner with an existing category name will replace the previous banner.
346
+ */
347
+ showBanner(spec: BannerSpec | string): BannerModel;
348
+ /** Hide banner by category name. */
349
+ hideBanner(category?: string): void;
350
+ /**
351
+ * Handle an exception. This method is an alias for {@link ExceptionHandler.handleException}.
352
+ *
353
+ * This method may be called by applications in order to provide logging, reporting, and
354
+ * display of exceptions. It is typically called directly in catch() blocks.
355
+ *
356
+ * See also Promise.catchDefault(). That method will delegate its arguments to this method
357
+ * and provides a more convenient interface for catching exceptions in Promise chains.
358
+ *
359
+ * @param exception - thrown object, will be coerced into a {@link HoistException}.
360
+ * @param options - provides further control over how the exception is shown and/or logged.
361
+ */
362
+ handleException(exception: unknown, options?: ExceptionHandlerOptions): void;
363
+ /**
364
+ * Create a new exception - See {@link Exception}.
365
+ *
366
+ * @param src - if a native JS Error, it will be enhanced into a `HoistException` and returned.
367
+ * If a plain object, all properties will be set on a new `HoistException`.
368
+ * Other inputs will be treated as the `message` of a new `HoistException`.
369
+ */
370
+ exception(src: unknown): HoistException;
371
+ /** Show "about this app" dialog, powered by {@link EnvironmentService}. */
372
+ showAboutDialog(): void;
373
+ /** Show a "release notes" dialog, powered by {@link ChangelogService}. */
374
+ showChangelog(): void;
375
+ /**
376
+ * Show a dialog to elicit feedback from the user.
377
+ * @param message - optional message to preset within the feedback dialog.
378
+ */
379
+ showFeedbackDialog({ message }?: {
380
+ message?: string;
381
+ }): void;
382
+ /** Show the impersonation bar to allow an authorized admin to switch between users. */
383
+ showImpersonationBar(): void;
384
+ /** Show a dialog to allow the user to view and set app options. */
385
+ showOptionsDialog(): void;
386
+ /** Get a reference to a singleton service by camel case name. */
387
+ getService(name: string): HoistService;
388
+ /** Get a reference to a singleton service by full class. */
389
+ getService<T extends HoistService>(cls: HoistServiceClass<T>): T;
390
+ /**
391
+ * Install HoistServices on 'XH'.
392
+ *
393
+ * This method will create, initialize, and install the provided services classes on `XH`.
394
+ * All services will be initialized concurrently. To guarantee execution order of service
395
+ * initialization, make multiple calls to this method with `await`.
396
+ *
397
+ * Applications must choose a unique name of the form xxxService to avoid naming collisions.
398
+ * If naming collisions are detected, an error will be thrown.
399
+ *
400
+ * @param serviceClasses - classes extending HoistService
401
+ */
402
+ installServicesAsync(...serviceClasses: HoistServiceClass[]): Promise<void>;
403
+ /**
404
+ * Get a collection of Models currently 'active' in the app, returned in creation-time order.
405
+ * This will include all models that have not yet had `destroy()` called on them.
406
+ */
407
+ getModels<T extends HoistModel>(selector?: ModelSelector): T[];
408
+ /** Get the first active model that matches the given selector, or null if none found. */
409
+ getModel<T extends HoistModel>(selector?: ModelSelector): T;
410
+ /**
411
+ * Get the first active model that has been assigned the given testId, or null if none found.
412
+ * Note that a small subset of models are automatically assigned the testId of their component.
413
+ * @see InstanceManager.testSupportedModels
414
+ */
415
+ getModelByTestId<T extends HoistModel>(testId: string): T;
416
+ /** All services registered with this application. */
417
+ getServices(): HoistService[];
418
+ /** All Stores registered with this application. */
419
+ getStores(): Store[];
420
+ /**
421
+ * Reset user state and then reload the app.
422
+ * @see HoistAppModel.restoreDefaultsAsync()
423
+ */
424
+ restoreDefaultsAsync(): Promise<void>;
425
+ /**
426
+ * Helper method to destroy resources safely (e.g. child HoistModels). Will quietly skip args
427
+ * that are null / undefined or that do not implement destroy().
428
+ *
429
+ * @param args - objects to be destroyed. If any argument is an array, each top-level element
430
+ * in the array will be destroyed. (Note this is *not* done recursively.)
431
+ */
432
+ safeDestroy(...args: (any | any[])[]): void;
433
+ /**
434
+ * Generate an ID string, unique within this run of the client application and suitable for
435
+ * local-to-client uses, such as auto-generated store record identifiers.
436
+ *
437
+ * Deliberately *not* intended to be globally unique, suitable for reuse, or to appear as such.
438
+ */
439
+ genId(): string;
440
+ private get acm();
441
+ private genLoadId;
442
+ private genTabId;
443
+ }
444
+ /** The app-wide singleton instance. */
445
+ export declare const XH: XHApi;
@@ -0,0 +1,71 @@
1
+ import { TEST_ID } from '@xh/hoist/utils/js';
2
+ import { ComponentType, JSX, Key, ReactElement, ReactNode } from 'react';
3
+ import { PlainObject, Thunkable } from './types/Types';
4
+ /**
5
+ * Alternative format for specifying React Elements in render functions. This type is designed to
6
+ * provide a well-formatted, declarative, native javascript approach to configuring Elements and
7
+ * their children. It serves as an alternative to JSX and is especially useful for code-heavy
8
+ * element trees. (For element trees with a significant amount of hypertext, JSX could be a better
9
+ * choice.)
10
+ *
11
+ * The core enhancement to this format over jsx is it expects child elements and props to be
12
+ * specified in a single bundle, with children placed within an `item` or `items` key. This allows
13
+ * developers to write declarative, multi-level element trees in a concise yet highly-readable
14
+ * style. An additional feature is the minor-but-useful support for an `omit` property, which
15
+ * allows element subtrees to be declaratively excluded from rendering if a given condition is met.
16
+ * This avoids the need for the common, but clunky React practice of wrapping elements in ternary
17
+ * statements to accomplish conditional rendering.
18
+ *
19
+ * @see {@link createElement} - That function is a thin-wrapper over `React.createChildren` that
20
+ * consumes this format.
21
+ *
22
+ * Finally, note that if a React Component has its own props of `item`, `items`, or `omit`, the
23
+ * props may be specified in this object with a `$` prefix (e.g. `$item`) to avoid conflicting
24
+ * with this API. The '$' will be stripped from the prop name before passing it along to the
25
+ * underlying component.
26
+ */
27
+ export type ElementSpec<P> = Omit<P, 'items' | 'item' | 'omit'> & {
28
+ /** Child Element(s). Equivalent provided as Rest Arguments to React.createElement.*/
29
+ items?: ReactNode;
30
+ /** Equivalent to `items`, offered for code clarity when only one child is needed. */
31
+ item?: ReactNode;
32
+ /** True to exclude the Element. */
33
+ omit?: Thunkable<boolean>;
34
+ /** React key for this component. */
35
+ key?: Key;
36
+ /**
37
+ * Supports passing a "data-testid" prop to built-in tags (e.g. `div`), to be rendered as an
38
+ * HTML attribute. See {@link TestSupportProps} for the higher-level `testId` prop that most
39
+ * Hoist components accept and should use.
40
+ */
41
+ [TEST_ID]?: string;
42
+ $items?: 'items' extends keyof P ? P['items'] : never;
43
+ $item?: 'item' extends keyof P ? P['item'] : never;
44
+ $omit?: 'omit' extends keyof P ? P['omit'] : never;
45
+ };
46
+ /**
47
+ * Union type of all known React Component types supported by Hoist.
48
+ */
49
+ export type ReactComponent = ComponentType | keyof JSX.IntrinsicElements;
50
+ /**
51
+ * Factory function that can create a ReactElement from an ElementSpec or children.
52
+ * Hoist alternative to JSX.
53
+ */
54
+ export type ElementFactory<P = any> = ((arg: ElementSpec<P>) => ReactElement<P, any>) & ((...args: ReactNode[]) => ReactElement<P, any>);
55
+ /**
56
+ * Create a React Element from a Component type and an ElementSpec.
57
+ *
58
+ * This function is a thin-wrapper over `React.createChildren` that
59
+ * consumes the ElementSpec format.
60
+ *
61
+ * @param component - React Component or string representing an HTML element.
62
+ * @param spec - element spec.
63
+ */
64
+ export declare function createElement<C extends ReactComponent>(component: C, spec: ElementSpec<PropType<C>>): ReactElement<PropType<C>, C>;
65
+ /**
66
+ * Create a factory function that can create a ReactElement from an ElementSpec or list of children.
67
+ */
68
+ export declare function elementFactory<C extends ReactComponent>(component: C): ElementFactory<PropType<C>>;
69
+ export declare function elementFactory<P extends PlainObject>(component: ReactComponent): ElementFactory<P>;
70
+ type PropType<C> = C extends ComponentType<infer P> ? P : C extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[C] : any;
71
+ export {};
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Options for how content should be refreshed via their built-in RefreshContextModel when they
3
+ * receive a refresh request while inactive/hidden or are (re)activated by their parent container.
4
+ * Used by {@link TabContainerModel} and {@link DashContainerModel}.
5
+ */
6
+ export declare const RefreshMode: Readonly<{
7
+ /** Always refresh a tab when requested, even if it is inactive (hidden). */
8
+ ALWAYS: "always";
9
+ /** Note a refresh request for an inactive tab and run refresh if/when tab is next activated. */
10
+ ON_SHOW_LAZY: "onShowLazy";
11
+ /** Always refresh when tab is activated, regardless of whether or not refresh was requested. */
12
+ ON_SHOW_ALWAYS: "onShowAlways";
13
+ /** Ignore refresh requests entirely when tab is inactive. Do not auto-refresh when reactivated. */
14
+ SKIP_HIDDEN: "skipHidden";
15
+ }>;
16
+ export type RefreshMode = (typeof RefreshMode)[keyof typeof RefreshMode];
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Options for how contents should be rendered by their parent container.
3
+ * Used by {@link TabContainerModel}, {@link DashContainerModel}, {@link PanelModel}, and
4
+ * {@link CardModel}.
5
+ */
6
+ export declare const RenderMode: Readonly<{
7
+ /** Always render contents when the parent container is rendered, even if inactive. */
8
+ ALWAYS: "always";
9
+ /** Render contents lazily or "just in time" - only if/when the content is first activated. */
10
+ LAZY: "lazy";
11
+ /** Render lazily, and actively unmount the contents if/when de-activated. */
12
+ UNMOUNT_ON_HIDE: "unmountOnHide";
13
+ }>;
14
+ export type RenderMode = (typeof RenderMode)[keyof typeof RenderMode];
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Standardized sizes used by Grid - affects padding, row heights, font sizes, etc.
3
+ */
4
+ export declare const SizingMode: Readonly<{
5
+ TINY: "tiny";
6
+ COMPACT: "compact";
7
+ STANDARD: "standard";
8
+ LARGE: "large";
9
+ }>;
10
+ export type SizingMode = (typeof SizingMode)[keyof typeof SizingMode];
@@ -0,0 +1,18 @@
1
+ import { HoistServiceClass, Some } from '@xh/hoist/core';
2
+ /**
3
+ * Install HoistServices on XH.
4
+ *
5
+ * @param serviceClasses - Classes extending HoistService
6
+ *
7
+ * This method will create, initialize, and install the services classes listed on XH.
8
+ * All services will be initialized concurrently. To guarantee execution order of service
9
+ * initialization, make multiple calls to this method with await.
10
+ *
11
+ * The created service will also be set on the 'instance' property of its own class.
12
+ *
13
+ * Applications must choose a unique name of the form xxxService to avoid naming collisions on
14
+ * the target. If naming collisions are detected, an error will be thrown.
15
+ *
16
+ * @internal - apps should use {@link XH.installServicesAsync} instead.
17
+ */
18
+ export declare function installServicesAsync(serviceClasses: Some<HoistServiceClass>): Promise<void>;