@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,72 @@
1
+ import { AppOptionSpec, HoistModel, Thunkable } from './';
2
+ import { Route } from 'router5';
3
+ import { ReactNode } from 'react';
4
+ /**
5
+ * Specialized base class for defining the central model for a Hoist app as specified by its
6
+ * See the {@link AppSpec.modelClass} config, which should reference a concrete implementation class
7
+ * extending this base. Hoist will create and then initialize an instance of that class after
8
+ * the framework has successfully initialized and will make it available to all app code via the
9
+ * `XH.appModel` getter.
10
+ *
11
+ * Applications should specify this class to provide application level state and services and
12
+ * customize important metadata. Initialization of all resources (e.g. application level services)
13
+ * should be done in `initAsync()`.
14
+ *
15
+ * Hoist will load/reload this Model during the global refresh process. This will occur before the
16
+ * application's global `XH.refreshContextModel` has been refreshed (when all mounted and 'owned'
17
+ * HoistModels in the application are refreshed). AppModels should implement `doLoadAsync()` if
18
+ * required to refresh all other app-wide services and models, respecting any ordering and phasing
19
+ * requirements specific to its needs.
20
+ */
21
+ export declare class HoistAppModel extends HoistModel {
22
+ /**
23
+ * Hoist will call this method after Hoist services have initialized and the application
24
+ * has mounted. Use to trigger initialization of the app and any app-specific services.
25
+ *
26
+ * Applications will typically use this method to install and initialize app-specific
27
+ * services using one or more phased calls to XH.installServicesAsync().
28
+ */
29
+ initAsync(): Promise<void>;
30
+ /**
31
+ * Should the version bar be shown in this application?.
32
+ * Applications for which a version bar might not be appropriate (e.g. a mini-app
33
+ * being shown in a frame or modal) may override this getter and return false
34
+ */
35
+ get supportsVersionBar(): boolean;
36
+ /**
37
+ * Provide the initial set of Router5 Routes to be used by this application.
38
+ */
39
+ getRoutes(): Route[];
40
+ /**
41
+ * Provide a list of app-wide options to be displayed in the App's built-in Options
42
+ * dialog, accessible from the default AppBar menu when this method returns non-empty.
43
+ * @see AppOption
44
+ */
45
+ getAppOptions(): AppOptionSpec[];
46
+ /**
47
+ * Provide a list of app-wide metadata and version information to be displayed in the
48
+ * App's built-in About dialog.
49
+ */
50
+ getAboutDialogItems(): AboutDialogItem[];
51
+ /**
52
+ * Resets user preferences and any persistent local application state.
53
+ *
54
+ * The default implementation for this method will clear all preferences, local + session
55
+ * storage, and transient {@link ViewManager} state such as last-selected and pinned views.
56
+ * (Views themselves are preserved.)
57
+ *
58
+ * Applications may wish to override this method to perform a more targeted clearing of state.
59
+ * This is important for complex applications with smaller sub-applications and/or device
60
+ * specific applications. These applications will typically want to perform a custom clearing
61
+ * that is more targeted and/or clears additional app-specific state.
62
+ *
63
+ * Not typically called directly by apps - call {@link XHApi.restoreDefaultsAsync} instead.
64
+ */
65
+ restoreDefaultsAsync(): Promise<void>;
66
+ }
67
+ /** Object Describing an entry in the AboutDialog. */
68
+ export interface AboutDialogItem {
69
+ label: ReactNode;
70
+ value: ReactNode;
71
+ omit?: Thunkable<boolean>;
72
+ }
@@ -0,0 +1,70 @@
1
+ import { HoistModel, HoistUser, IdentityInfo, PlainObject } from './';
2
+ /**
3
+ * Base class for managing authentication lifecycle.
4
+ *
5
+ * Hoist will consult this model early in the initialization sequence, prior to full Hoist
6
+ * initialization. This means that several core services (identity, configs, prefs) will *not* be
7
+ * available, but it provides the app a hook to do early service initialization or other work to
8
+ * support flows such as OAuth.
9
+ *
10
+ * The base implementation of this class is minimal and would be adequate only for fully
11
+ * transparent SSO based solutions such as NTLM. Applications wishing to provide custom
12
+ * authentication should spec an extended version of this class in the {@link AppSpec} passed to
13
+ * {@link XHApi#renderApp}.
14
+ */
15
+ export declare class HoistAuthModel extends HoistModel {
16
+ /**
17
+ * Main Entry Point.
18
+ *
19
+ * This method will be called *once* by Hoist early in the app loading lifecycle to determine
20
+ * if full app loading can proceed.
21
+ *
22
+ * It should return true if the user could be successfully authenticated, false if the user
23
+ * is not authenticated, and throw in the case of technical failure. If false is returned and
24
+ * `AppSpec.enableLoginForm` is true the framework will enter the 'LOGIN_REQUIRED' state and
25
+ * show the user a form-based login with username and password fields to be submitted securely
26
+ * to the server.
27
+ *
28
+ * The default implementation of this method simply checks the auth status on the server, which
29
+ * may be appropriate for fully SSO based solutions. Override to consult or
30
+ * initialize third-party client resources such as OAuth.
31
+ *
32
+ * @returns identity of the user authenticated with the server; null if not authenticated.
33
+ */
34
+ completeAuthAsync(): Promise<IdentityInfo>;
35
+ /**
36
+ * @returns identity of the user authenticated with the server; null if not authenticated.
37
+ */
38
+ getAuthStatusFromServerAsync(): Promise<IdentityInfo>;
39
+ /**
40
+ * Process a manual login, submitted by user via form.
41
+ * @returns identity of the user authenticated with the server; null if not yet authenticated.
42
+ */
43
+ loginWithCredentialsAsync(username: string, password: string): Promise<IdentityInfo>;
44
+ /**
45
+ * Logout this user with the backend server.
46
+ *
47
+ * The default implementation will call the 'logout' endpoint on the Grails server, clearing
48
+ * any server-side session state there. Override to manage any client-side or third-party state.
49
+ */
50
+ logoutAsync(): Promise<void>;
51
+ /**
52
+ * Load auth-related config from the server via an /xh/ endpoint that is specifically
53
+ * whitelisted by Hoist to allow access prior to user authentication. For use in bootstrapping
54
+ * client-side auth solutions that require configs such as OAuth endpoint URLs and client IDs.
55
+ * See `BaseAuthenticationService.getClientConfig()` in hoist-core.
56
+ */
57
+ loadConfigAsync(): Promise<PlainObject>;
58
+ /**
59
+ * Create a client-side HoistUser.
60
+ *
61
+ * Application subclasses may override this method, but should first call the super
62
+ * implementation.
63
+ */
64
+ protected createUser(rawUser: PlainObject, roles: string[]): HoistUser;
65
+ /**
66
+ * Convert raw identity info as delivered by server into client-side IdentityInfo.
67
+ */
68
+ protected parseIdentityInfo(data: PlainObject): IdentityInfo;
69
+ private hasGate;
70
+ }
@@ -0,0 +1,179 @@
1
+ import { comparer } from '@xh/hoist/mobx';
2
+ import { IAutorunOptions, IReactionOptions } from 'mobx/dist/api/autorun';
3
+ import { IEqualsComparer, IReactionDisposer } from 'mobx/dist/internal';
4
+ import { DebounceSpec, PersistOptions, Some } from './';
5
+ export interface HoistBaseClass {
6
+ new (...args: any[]): HoistBase;
7
+ isHoistBase: boolean;
8
+ }
9
+ /**
10
+ * Base class for objects in Hoist.
11
+ * Provides misc. support for Mobx integration, state persistence, and resource cleanup.
12
+ *
13
+ * This class should not typically be extended directly by applications. Applications should
14
+ * extend one of its subclasses instead, notably:
15
+ * @see HoistModel
16
+ * @see HoistService
17
+ * @see Store
18
+ */
19
+ export declare abstract class HoistBase {
20
+ static get isHoistBase(): boolean;
21
+ get isHoistBase(): boolean;
22
+ constructor();
23
+ /**
24
+ * For XH internal use only - marks this instance as created by and for Hoist as part of its
25
+ * own implementation. Used as a filter within Hoist Inspector to distinguish services and
26
+ * models that are either created directly by the app developer or important/public parts of
27
+ * the Hoist API from those that are not.
28
+ * @internal
29
+ */
30
+ xhImpl: boolean;
31
+ private managedInstances;
32
+ private disposers;
33
+ private _destroyed;
34
+ private _xhImpl;
35
+ /** Default persistence options for this object. */
36
+ persistWith: PersistOptions;
37
+ logInfo(...messages: unknown[]): void;
38
+ logWarn(...messages: unknown[]): void;
39
+ logError(...messages: unknown[]): void;
40
+ logDebug(...messages: unknown[]): void;
41
+ withInfo<T>(messages: Some<unknown>, fn: () => T): T;
42
+ withDebug<T>(messages: Some<unknown>, fn: () => T): T;
43
+ /**
44
+ * Add and start one or more managed reactions.
45
+ *
46
+ * A reaction's run function will be executed on changes to any/all observables read in its
47
+ * track function, regardless of whether they - or any other observables - are accessed in
48
+ * the run function. The reaction will also run only when the output of the track function
49
+ * changes, and this output is passed to the run function.
50
+ *
51
+ * Specify the property 'track' to run the reaction continuously until disposal.
52
+ * Alternatively, specify the 'when' property to run this reaction only until the predicate
53
+ * passes, and the run function is executed once. (These map to mobX's native `reaction()`
54
+ * and `when()` functions, respectively).
55
+ *
56
+ * Specify the property 'equals' to determine how successive outputs of track will be compared.
57
+ * Hoist supports string specification of this (i.e. 'shallow','structural', or 'identity') and
58
+ * will map it to the underlying MobX `comparer` object. For returns of arrays and objects,
59
+ * consider using the value 'shallow' over the default 'identity' to avoid triggering spurious
60
+ * changes. See MobX for more information.
61
+ *
62
+ * Choose this method over an autorun when you wish to explicitly declare which observables
63
+ * should be tracked. A common pattern is to have the track function return these
64
+ * observables in a simple array or object, which the run function can use as its input or
65
+ * (commonly) ignore. This helps to clarify that the track function is only enumerating
66
+ * the observables to be watched, and not necessarily generating or transforming values.
67
+ *
68
+ * Set `fireImmediately: true` to execute the `run` function once immediately with the
69
+ * current value of the tracked expression, rather than waiting for it to change. This is
70
+ * useful for syncing initial state without duplicating logic outside the reaction.
71
+ *
72
+ * Reactions created in this method will be disposed of automatically when this object is
73
+ * destroyed. They can also be ended/disposed of manually using the native MobX disposer
74
+ * functions returned by this method.
75
+ *
76
+ * @param specs - one or more reactions to add
77
+ * @returns disposer(s) to manually dispose of each created reaction.
78
+ */
79
+ addReaction<T>(spec: ReactionSpec<T>): IReactionDisposer;
80
+ addReaction<T extends any[]>(...specs: {
81
+ [K in keyof T]: ReactionSpec<T[K]>;
82
+ }): IReactionDisposer[];
83
+ /**
84
+ * Add and start one or more managed autoruns.
85
+ *
86
+ * An autorun function will be run on changes to any/all observables read during the last
87
+ * execution of the function. This provides convenient and often very efficient dynamic
88
+ * reactivity. This is a core MobX concept and is important to fully understand when
89
+ * using autorun functions.
90
+ *
91
+ * In some cases, however, it is desirable or more clear to explicitly declare which
92
+ * observables should be tracked and trigger a reaction, regardless of their use within
93
+ * the function itself. See addReaction() above for that functionality.
94
+ *
95
+ * Autoruns created in this method will be disposed of automatically when this object is
96
+ * destroyed. They can also be ended/disposed of manually using the native mobx disposer
97
+ * functions returned by this method.
98
+ *
99
+ * @param specs - one or more autoruns to add
100
+ * @returns disposer(s) to manually dispose of each created autorun.
101
+ */
102
+ addAutorun(...specs: Array<AutoRunSpec | (() => any)>): IReactionDisposer | Array<IReactionDisposer>;
103
+ /**
104
+ * Set an observable/bindable value.
105
+ *
106
+ * This method is a convenience method for calling the conventional setXXX method
107
+ * for updating a mobx observable given the property name.
108
+ */
109
+ setBindable(property: string, value: any): void;
110
+ /** @returns a unique id for this object within the lifetime of this document. */
111
+ get xhId(): string;
112
+ /**
113
+ * Mark an object as managed by this object.
114
+ *
115
+ * Managed objects are assumed to hold objects that are created by the referencing object
116
+ * and therefore should be destroyed when the referencing object is destroyed.
117
+ *
118
+ * See also {@link managed}, a decorator that can be used to mark any object held within
119
+ * a given property as managed.
120
+ *
121
+ * @param obj - object to be destroyed when this instance is destroyed
122
+ * @returns object passed
123
+ */
124
+ markManaged<T>(obj: T): T;
125
+ /**
126
+ * Method to make a class property persistent, syncing its value via a configured
127
+ * `PersistenceProvider` to maintain and restore values across browser sessions.
128
+ *
129
+ * This may be used on any `@observable` or `@bindable` class property which is a primitive.
130
+ * It will initialize the observable's value from the class's default `PersistenceProvider` and
131
+ * will write back any changes to the property to that Provider. If the Provider has not yet
132
+ * been populated with a value, or an error occurs, it will use the value set in-code instead.
133
+ *
134
+ * See also {@link persist} and {@link persist.with} for a decorator that may be used directly
135
+ * on the property declaration itself. Use this method in the general case, when you need to
136
+ * control the timing.
137
+ *
138
+ * @param property - name of property on this object to bind to a persistence provider.
139
+ * @param options - options governing the persistence of this object. These will be applied
140
+ * on top of any default persistWith options defined on the instance itself.
141
+ */
142
+ markPersist<P extends keyof this & string>(property: P, options?: PersistOptions): void;
143
+ /** @returns true if this instance has been destroyed. */
144
+ get isDestroyed(): boolean;
145
+ /**
146
+ * Clean up resources associated with this object.
147
+ */
148
+ destroy(): void;
149
+ }
150
+ /**
151
+ * Object containing options accepted by MobX 'reaction' API as well as arguments below.
152
+ * Also supports MobX options inherited from IReactionOptions, including `fireImmediately`
153
+ * (run the reaction once immediately with the current tracked value).
154
+ */
155
+ export interface ReactionSpec<T = any> extends Omit<IReactionOptions<T, any>, 'equals'> {
156
+ /**
157
+ * Function returning data to observe - first arg to the underlying reaction() call.
158
+ * Specify this or `when`.
159
+ */
160
+ track?: () => T;
161
+ /**
162
+ * Function determining when reaction should fire - first arg to the underlying when() call.
163
+ * Specify this or `track`.
164
+ */
165
+ when?: () => boolean;
166
+ /** Function to run - second arg to underlying reaction()/when() call. */
167
+ run?: (curr?: T, prev?: T) => void;
168
+ /** Specify to debounce run function */
169
+ debounce?: DebounceSpec;
170
+ /** Specify a default from {@link comparer} or a custom comparer function. */
171
+ equals?: keyof typeof comparer | IEqualsComparer<T>;
172
+ }
173
+ /**
174
+ * Object containing options accepted by MobX 'autorun' API as well as arguments below.
175
+ */
176
+ export interface AutoRunSpec extends IAutorunOptions {
177
+ /** Function to run - first arg to underlying autorun() call. */
178
+ run?: () => void;
179
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Decorator to make a property "managed". Managed properties are designed to hold objects that
3
+ * are created by the referencing object and that implement a `destroy()` method.
4
+ *
5
+ * @see HoistBase.markManaged
6
+ */
7
+ export declare const managed: any;
8
+ /**
9
+ * Decorator to make a class property persistent.
10
+ *
11
+ * This decorator provides the same functionality as {@link HoistBase.markPersist}. See that method
12
+ * for more details.
13
+ *
14
+ * This decorator should always be applied "before" the mobx decorator, i.e. second in file line
15
+ * order: `@bindable @persist fooBarFlag = true`
16
+ *
17
+ * See also `@persist.with`, a higher-order version of this decorator that allows for setting
18
+ * property-specific persistence options.
19
+ */
20
+ export declare const persist: any;
@@ -0,0 +1,112 @@
1
+ import { HoistProps, DefaultHoistProps, ElementFactory } from './';
2
+ import { ModelSpec, HoistModel } from './model';
3
+ import { ForwardedRef, FC, ReactNode } from 'react';
4
+ /**
5
+ * Type representing props passed to a HoistComponent's render function.
6
+ *
7
+ * This type removes from its base type several properties that are pulled out by the HoistComponent itself and
8
+ * not provided to the render function. `modelConfig` and `modelRef` are resolved into the `model` property.
9
+ * `ref` is passed as the second argument to the render function.
10
+ */
11
+ export type RenderPropsOf<P extends HoistProps> = P & {
12
+ /** Pre-processed by HoistComponent internals into a mounted model. Never passed to render. */
13
+ modelConfig: never;
14
+ /** Pre-processed by HoistComponent internals and attached to model. Never passed to render. */
15
+ modelRef: never;
16
+ /** Pre-processed by HoistComponent internals and passed as second argument to render. */
17
+ ref: never;
18
+ };
19
+ /**
20
+ * Configuration for creating a Component. May be specified either as a render function,
21
+ * or an object containing a render function and associated metadata.
22
+ */
23
+ export type ComponentConfig<P extends HoistProps> = ((props: RenderPropsOf<P>, ref?: ForwardedRef<any>) => ReactNode) | {
24
+ /** Render function defining the component. */
25
+ render(props: RenderPropsOf<P>, ref?: ForwardedRef<any>): ReactNode;
26
+ /**
27
+ * Spec defining the model to be rendered by this component.
28
+ * Specify as false for components that don't require a primary model. Otherwise, set to the
29
+ * return of {@link uses} or {@link creates} - these factory functions will create a spec for
30
+ * either externally-provided or internally-created models. Defaults to `uses('*')`.
31
+ */
32
+ model?: ModelSpec<P['model']> | false;
33
+ /**
34
+ * Base CSS class for this component. Will be combined with any className
35
+ * in props, with the combined string passed into render as a prop.
36
+ */
37
+ className?: string;
38
+ /** Component name for debugging/inspection. */
39
+ displayName?: string;
40
+ /**
41
+ * True (default) to wrap component in a call to `React.memo()`.
42
+ * Components that are known to be unable to make effective use of memo (e.g. container
43
+ * components) may set this to `false`. Not typically set by application code.
44
+ */
45
+ memo?: boolean;
46
+ /**
47
+ * True (default) to enable MobX-powered reactivity via the
48
+ * `observer()` HOC from mobx-react. Components that are known to dereference no observable
49
+ * state may set this to `false`, but this is not typically done by application code.
50
+ */
51
+ observer?: boolean;
52
+ };
53
+ /**
54
+ * Hoist utility for defining functional components. This is the primary method for creating
55
+ * components for use in Hoist applications. Accepts either a render function (directly) or a
56
+ * configuration object to specify that function and additional options, as described below.
57
+ *
58
+ * The primary additional config option is `model`. It specifies how a backing HoistModel will be
59
+ * provided to / created by this component and if the component should publish its model to any
60
+ * subcomponents via context.
61
+ *
62
+ * By default, this utility wraps the returned component in the MobX 'observer' HOC, enabling
63
+ * MobX-powered reactivity and auto-re-rendering of observable properties read from models and
64
+ * any other sources of observable state.
65
+ *
66
+ * Forward refs {@link https://reactjs.org/docs/forwarding-refs.html} are supported by specifying a
67
+ * render function that accepts two arguments. In that case, the second arg will be considered a
68
+ * ref, and this utility will apply `React.forwardRef` as required.
69
+ *
70
+ * @param config - specification object, or a render function defining the component.
71
+ * @returns a functional React Component for use within Hoist apps.
72
+ *
73
+ * @see hoistCmp - a shorthand alias to this function.
74
+ *
75
+ * This function also has several related functions
76
+ *
77
+ * - `hoistCmp.factory` - return an elementFactory for a newly defined Component.
78
+ * instead of the Component itself.
79
+ *
80
+ * - `hoistCmp.withFactory` - return a 2-element list containing both the newly
81
+ * defined Component and an elementFactory for it.
82
+ */
83
+ export declare function hoistCmp<M extends HoistModel>(config: ComponentConfig<DefaultHoistProps<M>>): FC<DefaultHoistProps<M>>;
84
+ export declare function hoistCmp<P extends HoistProps>(config: ComponentConfig<P>): FC<P>;
85
+ export declare namespace hoistCmp {
86
+ var factory: typeof hoistCmpFactory;
87
+ var withFactory: typeof hoistCmpWithFactory;
88
+ }
89
+ /**
90
+ * Alias for {@link hoistCmp}.
91
+ */
92
+ export declare const hoistComponent: typeof hoistCmp;
93
+ /**
94
+ * Return an element factory for a newly defined component.
95
+ *
96
+ * Most typically used by application, this provides a simple element factory.
97
+ */
98
+ export declare function hoistCmpFactory<M extends HoistModel>(config: ComponentConfig<DefaultHoistProps<M>>): ElementFactory<DefaultHoistProps<M>>;
99
+ export declare function hoistCmpFactory<P extends HoistProps>(config: ComponentConfig<P>): ElementFactory<P>;
100
+ /**
101
+ * Returns a 2-element list containing both the newly defined Component and an elementFactory for it.
102
+ * Used by Hoist for exporting Component artifacts that support both JSX and elementFactory based development.
103
+ *
104
+ * Not typically used by applications.
105
+ */
106
+ export declare function hoistCmpWithFactory<M extends HoistModel>(config: ComponentConfig<DefaultHoistProps<M>>): [FC<DefaultHoistProps<M>>, ElementFactory<DefaultHoistProps<M>>];
107
+ export declare function hoistCmpWithFactory<P extends HoistProps>(config: ComponentConfig<P>): [FC<P>, ElementFactory<P>];
108
+ /**
109
+ * Component to render certain errors caught within hoistComponent.
110
+ * @internal
111
+ */
112
+ export declare function setCmpErrorDisplay(ef: ElementFactory): void;
@@ -0,0 +1,116 @@
1
+ import { HoistModel } from '@xh/hoist/core';
2
+ import { Property } from 'csstype';
3
+ import { CSSProperties, HTMLAttributes, LegacyRef, ReactNode, Ref } from 'react';
4
+ /**
5
+ * Props interface for Hoist Components.
6
+ *
7
+ * This interface brings in additional properties that are added to the props
8
+ * collection by HoistComponent.
9
+ */
10
+ export interface HoistProps<M extends HoistModel = HoistModel> {
11
+ /**
12
+ * Associated HoistModel for this Component. Depending on the component, may be specified as
13
+ * an instance of a HoistModel, or a configuration object to create one, or left undefined.
14
+ * HoistComponent will resolve (i.e. lookup in context or create if needed) a concrete Model
15
+ * instance and provide it to the Render method of the component.
16
+ */
17
+ model?: M;
18
+ /**
19
+ * Used for specifying the *configuration* of a model to be created by Hoist for this component
20
+ * when first mounted. Should be used only on a component that specifies the 'uses()' directive
21
+ * with the `createFromConfig` set as true. See the `uses()` directive for more information.
22
+ */
23
+ modelConfig?: M extends null ? never : M['config'];
24
+ /**
25
+ * Used for gaining a reference to the model of a HoistComponent.
26
+ */
27
+ modelRef?: M extends null ? never : Ref<M>;
28
+ /**
29
+ * ClassName for the component. Includes the classname as provided in props, enhanced with
30
+ * any base class name provided by the component definition itself.
31
+ */
32
+ className?: string;
33
+ /** React children. */
34
+ children?: ReactNode;
35
+ /** React Ref for this component. */
36
+ ref?: LegacyRef<any>;
37
+ }
38
+ /**
39
+ * A version of Hoist props that allows dynamic keys/properties. This is the interface that
40
+ * Hoist uses for components that do not explicitly specify the type of props they expect.
41
+ *
42
+ * This behavior is useful for file or package-local components that do not require an explicit
43
+ * props API.
44
+ */
45
+ export interface DefaultHoistProps<M extends HoistModel = HoistModel> extends HoistProps<M> {
46
+ [x: string]: any;
47
+ }
48
+ /**
49
+ * Props for Components that support standard Layout attributes
50
+ *
51
+ * Most component will typically separate these props out and pass them along to another component
52
+ * which also supports this interface. Eventually, they should be passed to a Box class.
53
+ */
54
+ export interface BoxProps extends LayoutProps, TestSupportProps, Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'contextMenu'> {
55
+ }
56
+ /**
57
+ * Props for Components that accept standard HTML `style` attributes.
58
+ */
59
+ export interface StyleProps {
60
+ style?: CSSProperties;
61
+ }
62
+ /**
63
+ * Props to support reliable selection of components for automated testing.
64
+ */
65
+ export interface TestSupportProps {
66
+ /**
67
+ * Unique identifier for this component for the purposes of locating and interacting with
68
+ * its primary/outer DOM element using automated testing tools. Hoist components that support
69
+ * this interface will add a "data-testid" attribute to an appropriate DOM element - typically
70
+ * (but not always) the outermost tag in their rendered markup. Some components may generate
71
+ * and apply additional child testIds to support testing of nested elements.
72
+ */
73
+ testId?: string;
74
+ }
75
+ export interface LayoutProps {
76
+ margin?: string | number | boolean;
77
+ marginTop?: string | number | boolean;
78
+ marginRight?: string | number | boolean;
79
+ marginBottom?: string | number | boolean;
80
+ marginLeft?: string | number | boolean;
81
+ padding?: string | number | boolean;
82
+ paddingTop?: string | number | boolean;
83
+ paddingRight?: string | number | boolean;
84
+ paddingBottom?: string | number | boolean;
85
+ paddingLeft?: string | number | boolean;
86
+ height?: string | number;
87
+ minHeight?: string | number;
88
+ maxHeight?: string | number;
89
+ width?: string | number;
90
+ minWidth?: string | number;
91
+ maxWidth?: string | number;
92
+ flex?: string | number;
93
+ flexBasis?: string | number;
94
+ flexDirection?: Property.FlexDirection;
95
+ flexFlow?: Property.FlexFlow;
96
+ flexGrow?: string | number;
97
+ flexShrink?: string | number;
98
+ flexWrap?: Property.FlexWrap;
99
+ gap?: string | number | boolean;
100
+ alignItems?: string;
101
+ alignSelf?: string;
102
+ alignContent?: string;
103
+ justifyContent?: string;
104
+ overflow?: string;
105
+ overflowX?: Property.OverflowX;
106
+ overflowY?: Property.OverflowY;
107
+ textOverflow?: string;
108
+ top?: string | number;
109
+ left?: string | number;
110
+ position?: Property.Position;
111
+ display?: string;
112
+ }
113
+ /** LayoutProps after resolution by `getLayoutProps()`, with boolean values resolved. */
114
+ export type ResolvedLayoutProps = {
115
+ [K in keyof LayoutProps]: Exclude<LayoutProps[K], boolean>;
116
+ };
@@ -0,0 +1,57 @@
1
+ import { HoistBase, LoadSupport, LoadSpec, Loadable, PlainObject, TaskObserver } from './';
2
+ /**
3
+ * Core superclass for Services in Hoist. Services are special classes used in both Hoist and
4
+ * application code as centralized points for managing app-wide state and loading / processing
5
+ * data from external APIs.
6
+ *
7
+ * Services are distinct from Models in that they are typically constructed and initialized within
8
+ * either `XH` (for Hoist-provided services) or within the `initAsync()` method of your primary
9
+ * `AppModel` - see {@link XH.installServicesAsync}. A single instance of each service is
10
+ * constructed and installed as a property on the `XH` singleton.
11
+ *
12
+ * (E.g. an app that defines and initializes a custom `TradeEntryService` class can access and use
13
+ * that instance as `XH.tradeEntryService`. This mirrors the pattern for singleton service
14
+ * injection used within the Grails server.)
15
+ *
16
+ * Services are most commonly used as engines within an application for loading, processing, and
17
+ * potentially caching data, although keep in mind their singleton nature when maintaining and
18
+ * updating state within your service. (E.g. if your service caches business objects and hands them
19
+ * out to callers, take care that those shared objects aren't modified by callers in unexpectedly
20
+ * shared ways.)
21
+ *
22
+ * Services extend `HoistBase` and can therefore leverage MobX-powered observables and reactions if
23
+ * so desired. And while components should typically source their state from backing models, they
24
+ * can also read and react to service state and call service APIs.
25
+ */
26
+ export declare class HoistService extends HoistBase implements Loadable {
27
+ _created: number;
28
+ static get isHoistService(): boolean;
29
+ get isHoistService(): boolean;
30
+ constructor();
31
+ /**
32
+ * Called by framework or application to initialize before application startup.
33
+ * Throwing an exception from this method will typically block startup.
34
+ * Service writers should take care to stifle and manage all non-fatal exceptions.
35
+ */
36
+ initAsync(): Promise<void>;
37
+ /**
38
+ * Provides optional support for Hoist's approach to managed loading.
39
+ *
40
+ * Applications will not typically need to access this object directly. If a subclass
41
+ * declares a concrete implementation of the `doLoadAsync()` template method, an instance of
42
+ * `LoadSupport` will automatically be created and installed to support the extensions below.
43
+ */
44
+ loadSupport: LoadSupport;
45
+ get loadObserver(): TaskObserver;
46
+ get loadModel(): TaskObserver;
47
+ get lastLoadRequested(): Date;
48
+ get lastLoadCompleted(): Date;
49
+ get lastLoadException(): any;
50
+ refreshAsync(meta?: PlainObject): Promise<void>;
51
+ autoRefreshAsync(meta?: PlainObject): Promise<void>;
52
+ doLoadAsync(loadSpec: LoadSpec): Promise<void>;
53
+ loadAsync(loadSpec?: LoadSpec | Partial<LoadSpec>): Promise<void>;
54
+ }
55
+ export interface HoistServiceClass<T extends HoistService = HoistService> {
56
+ new (): T;
57
+ }
@@ -0,0 +1,10 @@
1
+ import { RefreshContextModel } from './model';
2
+ /**
3
+ * Establishes an area of the application with an independent RefreshContextModel.
4
+ *
5
+ * The model established by this view will be refreshed by its parent context but may also be refreshed
6
+ * independently.
7
+ *
8
+ * @see RefreshContextModel
9
+ */
10
+ export declare const RefreshContextView: import("react").FC<import("./HoistProps").DefaultHoistProps<RefreshContextModel>>, refreshContextView: import("./elem").ElementFactory<import("./HoistProps").DefaultHoistProps<RefreshContextModel>>;