@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,49 @@
1
+ import { HoistModel, ModelSelector, ModelPublishMode } from './';
2
+ /**
3
+ * Returns a ModelSpec to define how a functional HoistComponent should source its primary backing
4
+ * HoistModel from props or context. Use this option when your component expects its parent to
5
+ * provide its model (or a config to create one).
6
+ *
7
+ * Hoist will look for a model instance in either props or context. If required and so specified,
8
+ * the model can also be created on demand from either a config passed via props or its class defaults.
9
+ *
10
+ * The resolved/constructed model instance will be provided to the component via props and placed
11
+ * in context for access by all subcomponents.
12
+ *
13
+ * Note that any model created via `createFromConfig` or `createDefault` will be considered to be
14
+ * 'owned' by the receiving component and treated as if it were specified using `create()`: if it
15
+ * implements loading it will be loaded on component mount, and it will always be destroyed
16
+ * on component unmount.
17
+ *
18
+ * @param selector - specification of Model to use, or '*' (default) to accept the
19
+ * closest context model, without specifying any particular class.
20
+ * @param opts - additional options
21
+ */
22
+ export declare function uses<T extends HoistModel>(selector: ModelSelector<T>, { fromContext, publishMode, createFromConfig, createDefault, optional }?: UsesOptions): UsesSpec<T>;
23
+ export interface UsesOptions {
24
+ /** True (default) to look for a suitable model in context if not sourced via props.*/
25
+ fromContext?: boolean;
26
+ /** Mode for publishing this model to context.*/
27
+ publishMode?: ModelPublishMode;
28
+ /**
29
+ * True (default) to accept model config from props and construct an instance on-demand.
30
+ * Selector must be a HoistModel Class.
31
+ */
32
+ createFromConfig?: boolean;
33
+ /**
34
+ * True to create a model if none provided.
35
+ * Selector must be a HoistModel Class, or a custom function may be provided for this argument.
36
+ */
37
+ createDefault?: boolean | (() => HoistModel);
38
+ /** True to specify a model that is optional. Default false. */
39
+ optional?: boolean;
40
+ }
41
+ export declare class UsesSpec<T extends HoistModel> {
42
+ fromContext: boolean;
43
+ publishMode: ModelPublishMode;
44
+ optional: boolean;
45
+ selector: ModelSelector<T>;
46
+ createFromConfig: boolean;
47
+ createDefault: boolean;
48
+ constructor(selector: any, fromContext: any, publishMode: any, createFromConfig: any, createDefault: any, optional: any);
49
+ }
@@ -0,0 +1,10 @@
1
+ export * from './HoistModel';
2
+ export * from './RefreshContextModel';
3
+ export * from './ManagedRefreshContextModel';
4
+ export * from './RootRefreshContextModel';
5
+ export * from './ModelSelector';
6
+ export * from './ModelLookup';
7
+ export * from './ModelSpec';
8
+ export * from './CreatesSpec';
9
+ export * from './UsesSpec';
10
+ export * from './Hooks';
@@ -0,0 +1,46 @@
1
+ import { Class } from 'type-fest';
2
+ import { DebounceSpec, PersistenceProvider, PersistenceProviderConfig } from '../';
3
+ import type { DashViewModel } from '@xh/hoist/desktop/cmp/dash';
4
+ import type { ViewManagerModel } from '@xh/hoist/cmp/viewmanager';
5
+ /**
6
+ * Built-in Hoist PersistenceProviders.
7
+ */
8
+ export type PersistenceProviderType = 'pref' | 'localStorage' | 'sessionStorage' | 'dashView' | 'viewManager' | 'custom';
9
+ export interface PersistOptions {
10
+ /** Dot delimited path to store state. */
11
+ path?: string;
12
+ /** Debounce interval in ms, or a lodash debounce config. */
13
+ debounce?: DebounceSpec;
14
+ /**
15
+ * Delay (in ms) to wait after state has been read before listening for further state changes.
16
+ */
17
+ settleTime?: number;
18
+ /**
19
+ * Type of PersistenceProvider to create. Specify as one of the built-in string types,
20
+ * or a subclass of PersistenceProvider.
21
+ *
22
+ * If not provided, defaulted to one of the built-in string types based on the presence of
23
+ * `prefKey`, `localStorageKey`, `dashViewModel`, 'viewManagerModel', or `getData/setData`.
24
+ */
25
+ type?: PersistenceProviderType | Class<PersistenceProvider, [PersistenceProviderConfig]>;
26
+ /** Predefined Hoist application Preference key used to store state. */
27
+ prefKey?: string;
28
+ /** Browser local storage key used to store state. */
29
+ localStorageKey?: string;
30
+ /** Session (tab-specific) storage key used to store state. */
31
+ sessionStorageKey?: string;
32
+ /** DashViewModel used to read / write view state. */
33
+ dashViewModel?: DashViewModel;
34
+ /** ViewManagerModel used to read / write view state. */
35
+ viewManagerModel?: ViewManagerModel;
36
+ /**
37
+ * Function returning blob of data to be used for reading state.
38
+ * Ignored if `prefKey`, `localStorageKey`, `dashViewModel` or 'viewManagerModel' are provided.
39
+ */
40
+ getData?: () => any;
41
+ /**
42
+ * Function to be used to write blob of data representing state.
43
+ * Ignored if `prefKey`, `localStorageKey`, `dashViewModel` or 'viewManagerModel' are provided.
44
+ */
45
+ setData?: (data: object) => void;
46
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Interface for objects that can be bound to a {@link PersistenceProvider}.
3
+ * @typeParam S - must be serializable to JSON and PersistableState<S> must be observable
4
+ */
5
+ export interface Persistable<S> {
6
+ getPersistableState(): PersistableState<S>;
7
+ setPersistableState(state: PersistableState<S>): void;
8
+ }
9
+ /** Wrapper for a serializable Persistable state object. */
10
+ export declare class PersistableState<S> {
11
+ value: S;
12
+ constructor(value: S);
13
+ equals(other: PersistableState<S>): boolean;
14
+ }
@@ -0,0 +1,69 @@
1
+ import { DebounceSpec, HoistBase, Persistable, PersistableState } from '../';
2
+ import { PersistOptions } from './';
3
+ export type PersistenceProviderConfig<S = any> = {
4
+ persistOptions: PersistOptions;
5
+ target: Persistable<S>;
6
+ owner?: HoistBase;
7
+ };
8
+ /**
9
+ * Abstract superclass for adaptor objects used by models and components to (re)store state to and
10
+ * from a persistent location, typically a Hoist preference or key within browser local storage.
11
+ *
12
+ * Note that multiple instances of this object may be writing into the same location.
13
+ * Implementations should take care to incorporate any writes immediately into the readable state.
14
+ *
15
+ * Hoist-provided implementations include:
16
+ * - {@link PrefProvider} - persists to a predefined Hoist JSON Preference.
17
+ * - {@link LocalStorageProvider} - persists to browser local storage under a configured key.
18
+ * - {@link DashViewProvider} - persists to a bound `DashViewModel` to save state for components
19
+ * used within a dashboard widget. For this to be useful, the parent {@link DashModel} must
20
+ * itself be persisted via a different provider - it acts as a collector of the widget-level
21
+ * state managed by its DashViewModels and this provider.
22
+ * - {@link ViewManagerProvider} - persists to saved views managed by {@link ViewManagerModel}.
23
+ * - {@link CustomProvider} - API for app and components to provide their own storage mechanism.
24
+ */
25
+ export declare abstract class PersistenceProvider<S = any> {
26
+ readonly path: string;
27
+ readonly debounce: DebounceSpec;
28
+ readonly owner: HoistBase;
29
+ readonly settleTime: number;
30
+ protected target: Persistable<S>;
31
+ protected defaultState: PersistableState<S>;
32
+ private disposer;
33
+ private lastReadState;
34
+ private lastReadTime;
35
+ /**
36
+ * Construct an instance of this class.
37
+ *
38
+ * Will fail gently, returning `null` and logging an error if the provider could not be created
39
+ * due to an unparseable config or failure on initial read.
40
+ *
41
+ * Note: Targets should initialize their default persistable state *before* creating a
42
+ * `PersistenceProvider` and defer creating reactions to persistable state until *after*. This
43
+ * allows the provider to capture the default state and then apply any persisted state to the
44
+ * target without thrashing.
45
+ */
46
+ static create<S>(cfg: PersistenceProviderConfig<S>): PersistenceProvider<S>;
47
+ /**
48
+ * Merge PersistOptions, respecting provider types, with later options overriding earlier ones.
49
+ */
50
+ static mergePersistOptions(defaults: PersistOptions, ...overrides: PersistOptions[]): PersistOptions;
51
+ /** Read persisted state at this provider's path. */
52
+ read(): PersistableState<S>;
53
+ /** Persist JSON-serializable state to this provider's path. */
54
+ write(state: S): void;
55
+ /** Clear any persisted data at a path. Also clears any parent objects that become empty. */
56
+ clear(): void;
57
+ destroy(): void;
58
+ /** Push the current state of this provider to its target. */
59
+ pushStateToTarget(): void;
60
+ /** Called by implementations only. Use the {@link create} factory instead. */
61
+ protected constructor(cfg: PersistenceProviderConfig<S>);
62
+ /** Called by factory method to bind this provider to its target. */
63
+ protected bindToTarget(target: Persistable<S>): void;
64
+ protected writeInternal(data: S): void;
65
+ protected writeRaw(obj: Record<typeof this.path, S>): void;
66
+ protected readRaw(): Record<typeof this.path, S>;
67
+ private static parseProviderClass;
68
+ private ensureValid;
69
+ }
@@ -0,0 +1,9 @@
1
+ export * from './Persistable';
2
+ export * from './PersistOptions';
3
+ export * from './PersistenceProvider';
4
+ export * from './provider/LocalStorageProvider';
5
+ export * from './provider/SessionStorageProvider';
6
+ export * from './provider/DashViewProvider';
7
+ export * from './provider/PrefProvider';
8
+ export * from './provider/CustomProvider';
9
+ export * from './provider/ViewManagerProvider';
@@ -0,0 +1,15 @@
1
+ import { PersistenceProvider, PersistenceProviderConfig } from '../PersistenceProvider';
2
+ /**
3
+ * A minimal Persistence provider for use by apps that wish to implement the actual persistence
4
+ * of the backing data via custom handlers.
5
+ *
6
+ * This provider allows applications to use the Persistence API to populate and read state from
7
+ * components without actually writing to any pre-defined storage.
8
+ */
9
+ export declare class CustomProvider<S> extends PersistenceProvider<S> {
10
+ readonly getData: any;
11
+ readonly setData: any;
12
+ constructor(cfg: PersistenceProviderConfig<S>);
13
+ readRaw(): any;
14
+ writeRaw(data: any): void;
15
+ }
@@ -0,0 +1,12 @@
1
+ import type { DashViewModel } from '@xh/hoist/desktop/cmp/dash';
2
+ import { PersistenceProvider, PersistenceProviderConfig } from '../PersistenceProvider';
3
+ /**
4
+ * PersistenceProvider that stores state within a DashViewModel.
5
+ */
6
+ export declare class DashViewProvider<S> extends PersistenceProvider<S> {
7
+ readonly dashViewModel: DashViewModel;
8
+ constructor(cfg: PersistenceProviderConfig<S>);
9
+ readRaw(): import("../..").PlainObject;
10
+ writeRaw(data: any): void;
11
+ destroy(): void;
12
+ }
@@ -0,0 +1,10 @@
1
+ import { PersistenceProvider, PersistenceProviderConfig } from '../PersistenceProvider';
2
+ /**
3
+ * PersistenceProvider that stores state within the Browser's LocalStorage.
4
+ */
5
+ export declare class LocalStorageProvider<S> extends PersistenceProvider<S> {
6
+ readonly key: string;
7
+ constructor(cfg: PersistenceProviderConfig<S>);
8
+ readRaw(): any;
9
+ writeRaw(data: any): void;
10
+ }
@@ -0,0 +1,10 @@
1
+ import { PersistenceProvider, PersistenceProviderConfig } from '../PersistenceProvider';
2
+ /**
3
+ * PersistenceProvider that stores state within the Hoist Preferences system.
4
+ */
5
+ export declare class PrefProvider<S> extends PersistenceProvider<S> {
6
+ readonly key: string;
7
+ constructor(cfg: PersistenceProviderConfig<S>);
8
+ readRaw(): any;
9
+ writeRaw(data: any): void;
10
+ }
@@ -0,0 +1,10 @@
1
+ import { PersistenceProvider, PersistenceProviderConfig } from '../PersistenceProvider';
2
+ /**
3
+ * PersistenceProvider that stores state within the Browser's SessionStorage.
4
+ */
5
+ export declare class SessionStorageProvider<S> extends PersistenceProvider<S> {
6
+ readonly key: string;
7
+ constructor(cfg: PersistenceProviderConfig<S>);
8
+ readRaw(): any;
9
+ writeRaw(data: any): void;
10
+ }
@@ -0,0 +1,9 @@
1
+ import { PersistenceProvider, PersistenceProviderConfig } from '../PersistenceProvider';
2
+ import type { ViewManagerModel } from '@xh/hoist/cmp/viewmanager/ViewManagerModel';
3
+ export declare class ViewManagerProvider<S> extends PersistenceProvider<S> {
4
+ readonly viewManagerModel: ViewManagerModel;
5
+ constructor(cfg: PersistenceProviderConfig<S>);
6
+ readRaw(): Partial<import("../..").PlainObject>;
7
+ writeRaw(data: Record<typeof this.path, S>): void;
8
+ destroy(): void;
9
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Enumeration of possible App States
3
+ */
4
+ export declare const AppState: Readonly<{
5
+ PRE_AUTH: "PRE_AUTH";
6
+ AUTHENTICATING: "AUTHENTICATING";
7
+ LOGIN_REQUIRED: "LOGIN_REQUIRED";
8
+ INITIALIZING_HOIST: "INITIALIZING_HOIST";
9
+ INITIALIZING_APP: "INITIALIZING_APP";
10
+ RUNNING: "RUNNING";
11
+ SUSPENDED: "SUSPENDED";
12
+ LOAD_FAILED: "LOAD_FAILED";
13
+ ACCESS_DENIED: "ACCESS_DENIED";
14
+ }>;
15
+ export type AppState = (typeof AppState)[keyof typeof AppState];
16
+ export interface AppSuspendData {
17
+ reason: 'IDLE' | 'SERVER_FORCE' | 'APP_UPDATE' | 'AUTH_EXPIRED';
18
+ message?: string;
19
+ exception?: unknown;
20
+ }
@@ -0,0 +1,303 @@
1
+ import { RuleLike } from '@xh/hoist/data';
2
+ import { MouseEvent, ReactElement, ReactNode } from 'react';
3
+ import { LoadSpec, LoadSpecConfig } from '../load';
4
+ import { Intent, PlainObject, Thunkable } from './Types';
5
+ /**
6
+ * A user of the application, as loaded from the server.
7
+ *
8
+ * Note that instances of this class may contain other custom properties serialize by an
9
+ * application. Applications may wish to extend this interface
10
+ */
11
+ export interface HoistUser {
12
+ username: string;
13
+ email: string;
14
+ displayName: string;
15
+ roles: string[];
16
+ isHoistAdmin: boolean;
17
+ isHoistAdminReader: boolean;
18
+ isHoistRoleManager: boolean;
19
+ hasRole(s: string): boolean;
20
+ hasGate(s: string): boolean;
21
+ }
22
+ /**
23
+ * Identity of the authenticated user using the application,
24
+ * along with any user being impersonated.
25
+ */
26
+ export interface IdentityInfo {
27
+ /**
28
+ * Actual underlying user that has authenticated in the app.
29
+ */
30
+ authUser: HoistUser;
31
+ /**
32
+ * User the app should be displayed for. Typically the same as authUser, but
33
+ * will be different during impersonation.
34
+ */
35
+ apparentUser: HoistUser;
36
+ }
37
+ /**
38
+ * Options governing XH.reloadApp().
39
+ */
40
+ export interface ReloadAppOptions {
41
+ /** Relative path to reload (e.g. 'mobile/'). Defaults to the existing location pathname. */
42
+ path?: string;
43
+ /** Should the query parameters be removed from the url before reload. Default false. */
44
+ removeQueryParams?: boolean;
45
+ }
46
+ /**
47
+ * Options for showing a "toast" notification that appears and then automatically dismisses.
48
+ */
49
+ export interface ToastSpec {
50
+ message: ReactNode;
51
+ icon?: ReactElement;
52
+ intent?: Intent;
53
+ /**
54
+ * Time in ms to show before auto-dismissing the toast, or null to keep toast
55
+ * visible until manually dismissed. Default 3000.
56
+ */
57
+ timeout?: number;
58
+ /**
59
+ * If provided, will render a button within the toast to enable the user to take some
60
+ * specific action right from the toast.
61
+ */
62
+ actionButtonProps?: any;
63
+ /**
64
+ * Relative position at which to display toast, e.g. "bottom-right" (default) or "top".
65
+ * (Desktop only.)
66
+ */
67
+ position?: string;
68
+ /**
69
+ * DOM element relative to which the toast should be positioned. If null, Toast will show
70
+ * along edge of overall document. (Desktop only.)
71
+ */
72
+ containerRef?: HTMLElement;
73
+ }
74
+ /**
75
+ * Options for showing a modal alert, confirm, or prompt.
76
+ */
77
+ export interface MessageSpec {
78
+ message?: ReactNode;
79
+ title?: string;
80
+ icon?: ReactElement;
81
+ className?: string;
82
+ /**
83
+ * Unique key identifying the message. If subsequent messages.
84
+ * If subsequent messages are triggered with this key, they will replace this message.
85
+ * Useful for usages that may be producing messages recursively, or via timers and wish to
86
+ * avoid generating a large stack of duplicates.
87
+ */
88
+ messageKey?: string;
89
+ /** Config for input to be displayed (as a prompt). */
90
+ input?: MessageSpecInput;
91
+ /** If specified, user will be required to type this text when confirming. */
92
+ extraConfirmText?: string;
93
+ /**
94
+ * Text/label to inform the user of the text required to confirm.
95
+ * Only used if extraConfirmText is specified.
96
+ * Defaults to `Type '${extraConfirmText}' to confirm:`.
97
+ */
98
+ extraConfirmLabel?: ReactNode;
99
+ /**
100
+ * Props for primary confirm button.
101
+ * Must provide either text or icon for button to be displayed, or use a preconfigured
102
+ * helper such as `XH.alert()` or `XH.confirm()` for default buttons.
103
+ */
104
+ confirmProps?: any;
105
+ /**
106
+ * Props for secondary cancel button.
107
+ * Must provide either text or icon for button to be displayed, or use a preconfigured
108
+ * helper such as `XH.alert()` or `XH.confirm()` for default buttons.
109
+ */
110
+ cancelProps?: any;
111
+ /**
112
+ * Specify 'left' to place the Cancel button (if shown) on the
113
+ * left edge of the dialog toolbar, with a filler between it and Confirm.
114
+ */
115
+ cancelAlign?: any;
116
+ /** Callback to execute when confirm is clicked.*/
117
+ onConfirm?(): any;
118
+ /** Callback to execute when cancel is clicked.*/
119
+ onCancel?(): any;
120
+ /** Flag to specify whether a popup can be clicked out of or escaped.*/
121
+ dismissable?: boolean;
122
+ /** Flag to specify whether onCancel is executed when clicking out of or escaping a popup. */
123
+ cancelOnDismiss?: boolean;
124
+ }
125
+ export interface MessageSpecInput {
126
+ /** An element specifying a HoistInput, defaults to a platform appropriate TextInput. */
127
+ item?: ReactElement;
128
+ /** Validation constraints to apply. */
129
+ rules?: RuleLike[];
130
+ /** Initial value for the input. */
131
+ initialValue?: any;
132
+ }
133
+ /**
134
+ * Configuration object for an app-wide banner.
135
+ */
136
+ export interface BannerSpec {
137
+ message?: ReactNode;
138
+ icon?: ReactElement;
139
+ intent?: Intent;
140
+ className?: string;
141
+ /**
142
+ * Determines order in which banner will be displayed.
143
+ * If not provided, banner will be placed below any existing banners.
144
+ * @see BannerModel.BANNER_SORTS
145
+ */
146
+ sortOrder?: number;
147
+ /**
148
+ * Showing a banner with a given category will hide any
149
+ * preexisting banner with the same category.
150
+ */
151
+ category?: string;
152
+ /**
153
+ * Callback function triggered when the user clicks the close button.
154
+ * (Note, banners closed via `XH.hideBanner()` or when the max
155
+ * number of banners shown is exceeded will NOT trigger this callback.)
156
+ */
157
+ onClose?(model: any): any;
158
+ /**
159
+ * Callback function triggered when the user clicks on the banner.
160
+ */
161
+ onClick?(model: any): any;
162
+ /**
163
+ * If provided, will render a button within the banner to enable the user to
164
+ * take some specific action right from the banner.
165
+ */
166
+ actionButtonProps?: object;
167
+ /** Enable the Banner to be closed? Defaults to true. */
168
+ enableClose?: boolean;
169
+ }
170
+ /**
171
+ * Option for Application option in the application.
172
+ */
173
+ export interface AppOptionSpec {
174
+ name: string;
175
+ prefName?: string;
176
+ /** Config for FormField for this option. */
177
+ formField: any;
178
+ /** Config for FieldModel for the option.*/
179
+ fieldModel?: any;
180
+ /** Function, possibly async, which returns the value. */
181
+ valueGetter?: () => any;
182
+ /** Function, possibly async, which sets the value. */
183
+ valueSetter?: (s: any) => any;
184
+ /** True to reload the app after changing this option. Default false. */
185
+ reloadRequired?: boolean;
186
+ /** Optional flag to omit displaying option. */
187
+ omit?: Thunkable<boolean>;
188
+ }
189
+ /**
190
+ * Severity levels for tracking. Default is 'INFO'.
191
+ */
192
+ export type TrackSeverity = 'DEBUG' | 'INFO' | 'WARN' | 'ERROR';
193
+ /**
194
+ * Options for tracking activity on the server via TrackService.
195
+ */
196
+ export interface TrackOptions {
197
+ /** Short description of the activity being tracked. */
198
+ message: string;
199
+ /** App-supplied category.*/
200
+ category?: string;
201
+ /** Correlation ID to save along with track log. */
202
+ correlationId?: string;
203
+ /** App-supplied data to save along with track log.*/
204
+ data?: PlainObject | Array<unknown>;
205
+ /**
206
+ * Set true to log on the server all primitive values in the 'data' property.
207
+ * May also be specified as list of specific property keys that should be logged.
208
+ *
209
+ * Default value for this property may be set in xhActivityTrackingConfig.
210
+ * If no default set, value will be `false` and nothing in data will be logged.
211
+ */
212
+ logData?: boolean | string[];
213
+ /**
214
+ * Flag to indicate relative importance of activity. Default 'INFO'.
215
+ *
216
+ * Allows conditional saving of messages depending on the currently active
217
+ * level configuration for the category/user. See HoistCore's 'TrackService' for
218
+ * more information.
219
+ *
220
+ * Note, errors should be tracked via {@link XH.handleException}, which
221
+ * will post to the server for dedicated logging if requested.
222
+ */
223
+ severity?: TrackSeverity;
224
+ /**
225
+ * Set to true to log this message only once during the current session. The category and
226
+ * message text will be used as a compound key to identify repeated messages.
227
+ */
228
+ oncePerSession?: boolean;
229
+ /** Optional LoadSpec associated with this track.*/
230
+ loadSpec?: LoadSpec | LoadSpecConfig;
231
+ /** Timestamp for action. */
232
+ timestamp?: number;
233
+ /** Elapsed time (ms) for action. */
234
+ elapsed?: number;
235
+ /** Optional flag to omit sending message. */
236
+ omit?: Thunkable<boolean>;
237
+ }
238
+ /**
239
+ * The base `MenuToken` type. '-' is interpreted as the standard textless divider.
240
+ * Components will likely extend this type to support other strings like 'copyToClipboard',
241
+ * 'print', etc. which the component then converts into a {@link MenuItem}.
242
+ */
243
+ export type MenuToken = '-';
244
+ /**
245
+ * `MenuContext` is the set of contextual arguments passed to a {@link MenuItem}'s
246
+ * `actionFn` and `prepareFn`. `contextMenuEvent` is the right click event that opened the
247
+ * context menu. It is optional because the `contextMenu` component can also be used on
248
+ * popover buttons, where there is no `contextMenuEvent`.
249
+ *
250
+ * Components offering a built-in {@link contextMenu} can extend `MenuContext` to add values
251
+ * relevant to the component. See for example {@link ChartMenuContext}.
252
+ */
253
+ export interface MenuContext {
254
+ contextMenuEvent?: MouseEvent | PointerEvent;
255
+ }
256
+ /**
257
+ * A context menu is specified as an array of items, a function to generate one from a click, or
258
+ * a full element representing a contextMenu Component.
259
+ */
260
+ export type ContextMenuSpec<T = MenuToken, C = MenuContext> = MenuItemLike<T, C>[] | ((e: MouseEvent | PointerEvent, context: C) => MenuItemLike<T, C>[]) | boolean;
261
+ /**
262
+ * Basic interface for a MenuItem to appear in a menu.
263
+ *
264
+ * MenuItems can be displayed within a context menu, or shown when clicking on a button.
265
+ */
266
+ export interface MenuItem<T = MenuToken, C = MenuContext> {
267
+ /** Label to be displayed. */
268
+ text: ReactNode;
269
+ /** Icon to be displayed. */
270
+ icon?: ReactElement;
271
+ /** Intent to be used for rendering the menu item. */
272
+ intent?: Intent;
273
+ /** Css class name to be added when rendering the menu item. */
274
+ className?: string;
275
+ /** Executed when the user clicks the menu item. */
276
+ actionFn?: (e: MouseEvent | PointerEvent, context?: C) => void;
277
+ /** Executed before the item is shown. Use to adjust properties dynamically. */
278
+ prepareFn?: (me: MenuItem<T, C>, context?: C) => void;
279
+ /** Child menu items. */
280
+ items?: MenuItemLike<T, C>[];
281
+ /** True to disable this item. */
282
+ disabled?: boolean;
283
+ /** True to hide this item. May be set dynamically via prepareFn. */
284
+ hidden?: boolean;
285
+ /** True to skip this item. May be set dynamically via prepareFn. Alias for hidden. */
286
+ omit?: Thunkable<boolean>;
287
+ }
288
+ /**
289
+ * An item that can exist in a Menu.
290
+ * Components may accept token strings, in addition, '-' will be interpreted as the standard
291
+ * textless divider that will also be de-duped if appearing at the beginning, or end, or adjacent
292
+ * to another divider at render time. Also allows for a ReactNode for flexible display.
293
+ */
294
+ export type MenuItemLike<T = MenuToken, C = MenuContext> = MenuItem<T, C> | T | ReactElement;
295
+ export declare function isMenuItem<T, C>(item: MenuItemLike<T, C>): item is MenuItem<T, C>;
296
+ /**
297
+ * An option to be passed to Select controls
298
+ */
299
+ export interface SelectOption {
300
+ value?: any;
301
+ label?: string;
302
+ options?: (SelectOption | any)[];
303
+ }