@xh/hoist 57.0.0 → 57.0.1

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 (605) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/build/types/admin/AppComponent.d.ts +4 -0
  3. package/build/types/admin/AppModel.d.ts +13 -0
  4. package/build/types/admin/columns/Core.d.ts +6 -0
  5. package/build/types/admin/columns/Rest.d.ts +5 -0
  6. package/build/types/admin/columns/Tracking.d.ts +18 -0
  7. package/build/types/admin/columns/User.d.ts +9 -0
  8. package/build/types/admin/columns/UserData.d.ts +7 -0
  9. package/build/types/admin/columns/index.d.ts +5 -0
  10. package/build/types/admin/differ/Differ.d.ts +2 -0
  11. package/build/types/admin/differ/DifferDetail.d.ts +3 -0
  12. package/build/types/admin/differ/DifferDetailModel.d.ts +17 -0
  13. package/build/types/admin/differ/DifferModel.d.ts +43 -0
  14. package/build/types/admin/regroup/RegroupDialog.d.ts +2 -0
  15. package/build/types/admin/regroup/RegroupDialogModel.d.ts +20 -0
  16. package/build/types/admin/tabs/activity/ActivityTab.d.ts +2 -0
  17. package/build/types/admin/tabs/activity/aggregators/RangeAggregator.d.ts +8 -0
  18. package/build/types/admin/tabs/activity/clienterrors/ClientErrorDetail.d.ts +2 -0
  19. package/build/types/admin/tabs/activity/clienterrors/ClientErrorsModel.d.ts +30 -0
  20. package/build/types/admin/tabs/activity/clienterrors/ClientErrorsPanel.d.ts +2 -0
  21. package/build/types/admin/tabs/activity/feedback/FeedbackPanel.d.ts +1 -0
  22. package/build/types/admin/tabs/activity/tracking/ActivityTrackingModel.d.ts +50 -0
  23. package/build/types/admin/tabs/activity/tracking/ActivityTrackingPanel.d.ts +2 -0
  24. package/build/types/admin/tabs/activity/tracking/charts/ChartsModel.d.ts +32 -0
  25. package/build/types/admin/tabs/activity/tracking/charts/ChartsPanel.d.ts +2 -0
  26. package/build/types/admin/tabs/activity/tracking/detail/ActivityDetailModel.d.ts +15 -0
  27. package/build/types/admin/tabs/activity/tracking/detail/ActivityDetailView.d.ts +2 -0
  28. package/build/types/admin/tabs/general/GeneralTab.d.ts +1 -0
  29. package/build/types/admin/tabs/general/about/AboutPanel.d.ts +2 -0
  30. package/build/types/admin/tabs/general/alertBanner/AlertBannerModel.d.ts +24 -0
  31. package/build/types/admin/tabs/general/alertBanner/AlertBannerPanel.d.ts +3 -0
  32. package/build/types/admin/tabs/general/config/ConfigPanel.d.ts +2 -0
  33. package/build/types/admin/tabs/general/config/ConfigPanelModel.d.ts +19 -0
  34. package/build/types/admin/tabs/general/users/UserModel.d.ts +12 -0
  35. package/build/types/admin/tabs/general/users/UserPanel.d.ts +2 -0
  36. package/build/types/admin/tabs/monitor/MonitorColumns.d.ts +15 -0
  37. package/build/types/admin/tabs/monitor/MonitorEditorPanel.d.ts +1 -0
  38. package/build/types/admin/tabs/monitor/MonitorResultsModel.d.ts +17 -0
  39. package/build/types/admin/tabs/monitor/MonitorResultsPanel.d.ts +3 -0
  40. package/build/types/admin/tabs/monitor/MonitorResultsToolbar.d.ts +2 -0
  41. package/build/types/admin/tabs/monitor/MonitorTab.d.ts +1 -0
  42. package/build/types/admin/tabs/monitor/Tile.d.ts +2 -0
  43. package/build/types/admin/tabs/server/ServerTab.d.ts +1 -0
  44. package/build/types/admin/tabs/server/ehcache/EhCacheModel.d.ts +10 -0
  45. package/build/types/admin/tabs/server/ehcache/EhCachePanel.d.ts +2 -0
  46. package/build/types/admin/tabs/server/environment/ServerEnvModel.d.ts +11 -0
  47. package/build/types/admin/tabs/server/environment/ServerEnvPanel.d.ts +2 -0
  48. package/build/types/admin/tabs/server/logLevel/LogLevelColumns.d.ts +5 -0
  49. package/build/types/admin/tabs/server/logLevel/LogLevelPanel.d.ts +1 -0
  50. package/build/types/admin/tabs/server/logViewer/LogDisplay.d.ts +6 -0
  51. package/build/types/admin/tabs/server/logViewer/LogDisplayModel.d.ts +29 -0
  52. package/build/types/admin/tabs/server/logViewer/LogViewer.d.ts +3 -0
  53. package/build/types/admin/tabs/server/logViewer/LogViewerModel.d.ts +23 -0
  54. package/build/types/admin/tabs/server/memory/MemoryMonitorModel.d.ts +15 -0
  55. package/build/types/admin/tabs/server/memory/MemoryMonitorPanel.d.ts +2 -0
  56. package/build/types/admin/tabs/server/services/ServiceModel.d.ts +8 -0
  57. package/build/types/admin/tabs/server/services/ServicePanel.d.ts +2 -0
  58. package/build/types/admin/tabs/server/websocket/WebSocketColumns.d.ts +8 -0
  59. package/build/types/admin/tabs/server/websocket/WebSocketModel.d.ts +12 -0
  60. package/build/types/admin/tabs/server/websocket/WebSocketPanel.d.ts +2 -0
  61. package/build/types/admin/tabs/userData/JsonBlobColumns.d.ts +9 -0
  62. package/build/types/admin/tabs/userData/JsonBlobModel.d.ts +15 -0
  63. package/build/types/admin/tabs/userData/JsonBlobPanel.d.ts +2 -0
  64. package/build/types/admin/tabs/userData/PreferenceModel.d.ts +16 -0
  65. package/build/types/admin/tabs/userData/PreferencePanel.d.ts +2 -0
  66. package/build/types/admin/tabs/userData/UserDataTab.d.ts +1 -0
  67. package/build/types/admin/tabs/userData/UserPreferencePanel.d.ts +1 -0
  68. package/build/types/appcontainer/AboutDialogModel.d.ts +15 -0
  69. package/build/types/appcontainer/AppContainerModel.d.ts +43 -0
  70. package/build/types/appcontainer/AppOption.d.ts +23 -0
  71. package/build/types/appcontainer/BannerModel.d.ts +26 -0
  72. package/build/types/appcontainer/BannerSourceModel.d.ts +15 -0
  73. package/build/types/appcontainer/ChangelogDialogModel.d.ts +9 -0
  74. package/build/types/appcontainer/ErrorBoundary.d.ts +16 -0
  75. package/build/types/appcontainer/ExceptionDialogModel.d.ts +28 -0
  76. package/build/types/appcontainer/FeedbackDialogModel.d.ts +24 -0
  77. package/build/types/appcontainer/ImpersonationBarModel.d.ts +20 -0
  78. package/build/types/appcontainer/MessageModel.d.ts +35 -0
  79. package/build/types/appcontainer/MessageSourceModel.d.ts +18 -0
  80. package/build/types/appcontainer/OptionsDialogModel.d.ts +23 -0
  81. package/build/types/appcontainer/SizingModeModel.d.ts +13 -0
  82. package/build/types/appcontainer/ThemeModel.d.ts +13 -0
  83. package/build/types/appcontainer/ToastModel.d.ts +27 -0
  84. package/build/types/appcontainer/ToastSourceModel.d.ts +13 -0
  85. package/build/types/appcontainer/ViewportSizeModel.d.ts +19 -0
  86. package/build/types/appcontainer/login/LoginPanelModel.d.ts +15 -0
  87. package/build/types/cmp/ag-grid/AgGrid.d.ts +31 -0
  88. package/build/types/cmp/ag-grid/AgGridModel.d.ts +183 -0
  89. package/build/types/cmp/ag-grid/index.d.ts +2 -0
  90. package/build/types/cmp/badge/Badge.d.ts +13 -0
  91. package/build/types/cmp/badge/index.d.ts +1 -0
  92. package/build/types/cmp/chart/Chart.d.ts +18 -0
  93. package/build/types/cmp/chart/ChartModel.d.ts +48 -0
  94. package/build/types/cmp/chart/impl/copyToClipboard.d.ts +6 -0
  95. package/build/types/cmp/chart/impl/zoomout.d.ts +5 -0
  96. package/build/types/cmp/chart/index.d.ts +2 -0
  97. package/build/types/cmp/chart/theme/Dark.d.ts +216 -0
  98. package/build/types/cmp/chart/theme/Light.d.ts +193 -0
  99. package/build/types/cmp/clock/Clock.d.ts +26 -0
  100. package/build/types/cmp/clock/index.d.ts +1 -0
  101. package/build/types/cmp/dataview/DataView.d.ts +22 -0
  102. package/build/types/cmp/dataview/DataViewModel.d.ts +103 -0
  103. package/build/types/cmp/dataview/index.d.ts +2 -0
  104. package/build/types/cmp/filter/FilterChooserFieldSpec.d.ts +39 -0
  105. package/build/types/cmp/filter/FilterChooserModel.d.ts +130 -0
  106. package/build/types/cmp/filter/impl/Option.d.ts +47 -0
  107. package/build/types/cmp/filter/impl/QueryEngine.d.ts +29 -0
  108. package/build/types/cmp/filter/index.d.ts +1 -0
  109. package/build/types/cmp/form/BaseFormFieldProps.d.ts +33 -0
  110. package/build/types/cmp/form/Form.d.ts +35 -0
  111. package/build/types/cmp/form/FormModel.d.ts +130 -0
  112. package/build/types/cmp/form/field/BaseFieldModel.d.ts +156 -0
  113. package/build/types/cmp/form/field/FieldModel.d.ts +11 -0
  114. package/build/types/cmp/form/field/SubformsFieldModel.d.ts +65 -0
  115. package/build/types/cmp/form/index.d.ts +6 -0
  116. package/build/types/cmp/grid/Grid.d.ts +39 -0
  117. package/build/types/cmp/grid/GridAutosizeOptions.d.ts +44 -0
  118. package/build/types/cmp/grid/GridContextMenu.d.ts +28 -0
  119. package/build/types/cmp/grid/GridModel.d.ts +556 -0
  120. package/build/types/cmp/grid/GridSorter.d.ts +23 -0
  121. package/build/types/cmp/grid/Types.d.ts +274 -0
  122. package/build/types/cmp/grid/columns/Column.d.ts +362 -0
  123. package/build/types/cmp/grid/columns/ColumnGroup.d.ts +56 -0
  124. package/build/types/cmp/grid/columns/Core.d.ts +9 -0
  125. package/build/types/cmp/grid/columns/DatesTimes.d.ts +12 -0
  126. package/build/types/cmp/grid/columns/index.d.ts +4 -0
  127. package/build/types/cmp/grid/enums/ExcelFormat.d.ts +33 -0
  128. package/build/types/cmp/grid/enums/GridAutosizeMode.d.ts +24 -0
  129. package/build/types/cmp/grid/enums/TreeStyle.d.ts +15 -0
  130. package/build/types/cmp/grid/filter/GridFilterFieldSpec.d.ts +38 -0
  131. package/build/types/cmp/grid/filter/GridFilterModel.d.ts +44 -0
  132. package/build/types/cmp/grid/helpers/GridCountLabel.d.ts +25 -0
  133. package/build/types/cmp/grid/impl/ColumnGroupHeader.d.ts +24 -0
  134. package/build/types/cmp/grid/impl/ColumnHeader.d.ts +55 -0
  135. package/build/types/cmp/grid/impl/ColumnWidthCalculator.d.ts +41 -0
  136. package/build/types/cmp/grid/impl/GridPersistenceModel.d.ts +34 -0
  137. package/build/types/cmp/grid/impl/MenuSupport.d.ts +7 -0
  138. package/build/types/cmp/grid/impl/RowKeyNavSupport.d.ts +11 -0
  139. package/build/types/cmp/grid/impl/Utils.d.ts +5 -0
  140. package/build/types/cmp/grid/index.d.ts +15 -0
  141. package/build/types/cmp/grid/renderers/MultiFieldRenderer.d.ts +27 -0
  142. package/build/types/cmp/grid/renderers/TagsRenderer.d.ts +3 -0
  143. package/build/types/cmp/grouping/GroupingChooserModel.d.ts +89 -0
  144. package/build/types/cmp/grouping/index.d.ts +1 -0
  145. package/build/types/cmp/input/HoistInputModel.d.ts +148 -0
  146. package/build/types/cmp/input/HoistInputProps.d.ts +19 -0
  147. package/build/types/cmp/input/index.d.ts +2 -0
  148. package/build/types/cmp/layout/Box.d.ts +17 -0
  149. package/build/types/cmp/layout/Frame.d.ts +15 -0
  150. package/build/types/cmp/layout/Placeholder.d.ts +12 -0
  151. package/build/types/cmp/layout/Spacer.d.ts +15 -0
  152. package/build/types/cmp/layout/Tags.d.ts +32 -0
  153. package/build/types/cmp/layout/TileFrame.d.ts +38 -0
  154. package/build/types/cmp/layout/Viewport.d.ts +9 -0
  155. package/build/types/cmp/layout/index.d.ts +7 -0
  156. package/build/types/cmp/pinpad/PinPad.d.ts +10 -0
  157. package/build/types/cmp/pinpad/PinPadModel.d.ts +35 -0
  158. package/build/types/cmp/pinpad/index.d.ts +2 -0
  159. package/build/types/cmp/relativetimestamp/RelativeTimestamp.d.ts +46 -0
  160. package/build/types/cmp/relativetimestamp/index.d.ts +1 -0
  161. package/build/types/cmp/spinner/Spinner.d.ts +16 -0
  162. package/build/types/cmp/spinner/index.d.ts +1 -0
  163. package/build/types/cmp/store/StoreCountLabel.d.ts +18 -0
  164. package/build/types/cmp/store/StoreFilterField.d.ts +82 -0
  165. package/build/types/cmp/store/impl/StoreFilterFieldImplModel.d.ts +23 -0
  166. package/build/types/cmp/store/index.d.ts +2 -0
  167. package/build/types/cmp/tab/TabContainer.d.ts +20 -0
  168. package/build/types/cmp/tab/TabContainerModel.d.ts +114 -0
  169. package/build/types/cmp/tab/TabModel.d.ts +71 -0
  170. package/build/types/cmp/tab/TabSwitcherProps.d.ts +16 -0
  171. package/build/types/cmp/tab/index.d.ts +4 -0
  172. package/build/types/cmp/websocket/WebSocketIndicator.d.ts +10 -0
  173. package/build/types/cmp/websocket/index.d.ts +1 -0
  174. package/build/types/core/AppSpec.d.ts +106 -0
  175. package/build/types/core/AppState.d.ts +13 -0
  176. package/build/types/core/HoistAppModel.d.ts +81 -0
  177. package/build/types/core/HoistBase.d.ts +160 -0
  178. package/build/types/core/HoistBaseDecorators.d.ts +20 -0
  179. package/build/types/core/HoistComponent.d.ts +109 -0
  180. package/build/types/core/HoistProps.d.ts +91 -0
  181. package/build/types/core/HoistService.d.ts +56 -0
  182. package/build/types/core/RefreshContextView.d.ts +11 -0
  183. package/build/types/core/RouterModel.d.ts +41 -0
  184. package/build/types/core/TaskObserver.d.ts +75 -0
  185. package/build/types/core/XH.d.ts +358 -0
  186. package/build/types/core/elem.d.ts +55 -0
  187. package/build/types/core/enums/RefreshMode.d.ts +16 -0
  188. package/build/types/core/enums/RenderMode.d.ts +13 -0
  189. package/build/types/core/enums/SizingMode.d.ts +10 -0
  190. package/build/types/core/exception/Exception.d.ts +63 -0
  191. package/build/types/core/exception/ExceptionHandler.d.ts +121 -0
  192. package/build/types/core/exception/Types.d.ts +50 -0
  193. package/build/types/core/impl/InstallServices.d.ts +18 -0
  194. package/build/types/core/impl/InstanceManager.d.ts +19 -0
  195. package/build/types/core/impl/PlatformManager.d.ts +13 -0
  196. package/build/types/core/index.d.ts +24 -0
  197. package/build/types/core/load/LoadSpec.d.ts +50 -0
  198. package/build/types/core/load/LoadSupport.d.ts +36 -0
  199. package/build/types/core/load/Loadable.d.ts +48 -0
  200. package/build/types/core/load/index.d.ts +3 -0
  201. package/build/types/core/model/CreatesSpec.d.ts +29 -0
  202. package/build/types/core/model/HoistModel.d.ts +121 -0
  203. package/build/types/core/model/Hooks.d.ts +28 -0
  204. package/build/types/core/model/ManagedRefreshContextModel.d.ts +23 -0
  205. package/build/types/core/model/ModelLookup.d.ts +27 -0
  206. package/build/types/core/model/ModelSelector.d.ts +28 -0
  207. package/build/types/core/model/ModelSpec.d.ts +30 -0
  208. package/build/types/core/model/RefreshContextModel.d.ts +45 -0
  209. package/build/types/core/model/RootRefreshContextModel.d.ts +14 -0
  210. package/build/types/core/model/UsesSpec.d.ts +49 -0
  211. package/build/types/core/model/index.d.ts +10 -0
  212. package/build/types/core/persist/CustomProvider.d.ts +16 -0
  213. package/build/types/core/persist/DashViewProvider.d.ts +11 -0
  214. package/build/types/core/persist/LocalStorageProvider.d.ts +11 -0
  215. package/build/types/core/persist/PersistOptions.d.ts +31 -0
  216. package/build/types/core/persist/PersistenceProvider.d.ts +49 -0
  217. package/build/types/core/persist/PrefProvider.d.ts +11 -0
  218. package/build/types/core/persist/index.d.ts +6 -0
  219. package/build/types/core/types/Interfaces.d.ts +232 -0
  220. package/build/types/core/types/Types.d.ts +41 -0
  221. package/build/types/data/Field.d.ts +72 -0
  222. package/build/types/data/RecordAction.d.ts +114 -0
  223. package/build/types/data/Store.d.ts +386 -0
  224. package/build/types/data/StoreRecord.d.ts +167 -0
  225. package/build/types/data/StoreSelectionModel.d.ts +52 -0
  226. package/build/types/data/UrlStore.d.ts +26 -0
  227. package/build/types/data/cube/BucketSpec.d.ts +13 -0
  228. package/build/types/data/cube/Cube.d.ts +159 -0
  229. package/build/types/data/cube/CubeField.d.ts +52 -0
  230. package/build/types/data/cube/Query.d.ts +63 -0
  231. package/build/types/data/cube/View.d.ts +97 -0
  232. package/build/types/data/cube/aggregate/AggregationContext.d.ts +21 -0
  233. package/build/types/data/cube/aggregate/Aggregator.d.ts +40 -0
  234. package/build/types/data/cube/aggregate/AverageAggregator.d.ts +4 -0
  235. package/build/types/data/cube/aggregate/AverageStrictAggregator.d.ts +5 -0
  236. package/build/types/data/cube/aggregate/ChildCountAggregator.d.ts +5 -0
  237. package/build/types/data/cube/aggregate/LeafCountAggregator.d.ts +5 -0
  238. package/build/types/data/cube/aggregate/MaxAggregator.d.ts +5 -0
  239. package/build/types/data/cube/aggregate/MinAggregator.d.ts +5 -0
  240. package/build/types/data/cube/aggregate/NullAggregator.d.ts +4 -0
  241. package/build/types/data/cube/aggregate/SingleAggregator.d.ts +4 -0
  242. package/build/types/data/cube/aggregate/SumAggregator.d.ts +5 -0
  243. package/build/types/data/cube/aggregate/SumStrictAggregator.d.ts +5 -0
  244. package/build/types/data/cube/aggregate/UniqueAggregator.d.ts +5 -0
  245. package/build/types/data/cube/row/AggregateRow.d.ts +13 -0
  246. package/build/types/data/cube/row/BaseRow.d.ts +27 -0
  247. package/build/types/data/cube/row/BucketRow.d.ts +12 -0
  248. package/build/types/data/cube/row/LeafRow.d.ts +12 -0
  249. package/build/types/data/cube/row/RowUpdate.d.ts +10 -0
  250. package/build/types/data/filter/BaseFilterFieldSpec.d.ts +73 -0
  251. package/build/types/data/filter/CompoundFilter.d.ts +23 -0
  252. package/build/types/data/filter/FieldFilter.d.ts +32 -0
  253. package/build/types/data/filter/Filter.d.ts +25 -0
  254. package/build/types/data/filter/FunctionFilter.d.ts +20 -0
  255. package/build/types/data/filter/Types.d.ts +31 -0
  256. package/build/types/data/filter/Utils.d.ts +49 -0
  257. package/build/types/data/impl/RecordSet.d.ts +44 -0
  258. package/build/types/data/impl/RecordValidator.d.ts +39 -0
  259. package/build/types/data/impl/StoreValidator.d.ts +47 -0
  260. package/build/types/data/index.d.ts +31 -0
  261. package/build/types/data/validation/Rule.d.ts +51 -0
  262. package/build/types/data/validation/ValidationState.d.ts +6 -0
  263. package/build/types/data/validation/constraints.d.ts +64 -0
  264. package/build/types/deprecated/index.d.ts +0 -0
  265. package/build/types/desktop/appcontainer/AboutDialog.d.ts +11 -0
  266. package/build/types/desktop/appcontainer/AppContainer.d.ts +13 -0
  267. package/build/types/desktop/appcontainer/Banner.d.ts +8 -0
  268. package/build/types/desktop/appcontainer/ChangelogDialog.d.ts +3 -0
  269. package/build/types/desktop/appcontainer/ExceptionDialog.d.ts +13 -0
  270. package/build/types/desktop/appcontainer/ExceptionDialogDetails.d.ts +8 -0
  271. package/build/types/desktop/appcontainer/FeedbackDialog.d.ts +6 -0
  272. package/build/types/desktop/appcontainer/IdlePanel.d.ts +8 -0
  273. package/build/types/desktop/appcontainer/ImpersonationBar.d.ts +9 -0
  274. package/build/types/desktop/appcontainer/LockoutPanel.d.ts +8 -0
  275. package/build/types/desktop/appcontainer/LoginPanel.d.ts +9 -0
  276. package/build/types/desktop/appcontainer/Message.d.ts +8 -0
  277. package/build/types/desktop/appcontainer/MessageSource.d.ts +6 -0
  278. package/build/types/desktop/appcontainer/OptionsDialog.d.ts +9 -0
  279. package/build/types/desktop/appcontainer/SuspendPanel.d.ts +6 -0
  280. package/build/types/desktop/appcontainer/ToastSource.d.ts +8 -0
  281. package/build/types/desktop/appcontainer/VersionBar.d.ts +3 -0
  282. package/build/types/desktop/appcontainer/index.d.ts +1 -0
  283. package/build/types/desktop/cmp/appOption/AutoRefreshAppOption.d.ts +340 -0
  284. package/build/types/desktop/cmp/appOption/SizingModeAppOption.d.ts +17 -0
  285. package/build/types/desktop/cmp/appOption/ThemeAppOption.d.ts +340 -0
  286. package/build/types/desktop/cmp/appOption/index.d.ts +3 -0
  287. package/build/types/desktop/cmp/appbar/AppBar.d.ts +34 -0
  288. package/build/types/desktop/cmp/appbar/AppBarSeparator.d.ts +6 -0
  289. package/build/types/desktop/cmp/appbar/index.d.ts +2 -0
  290. package/build/types/desktop/cmp/button/AppMenuButton.d.ts +36 -0
  291. package/build/types/desktop/cmp/button/Button.d.ts +28 -0
  292. package/build/types/desktop/cmp/button/ButtonGroup.d.ts +17 -0
  293. package/build/types/desktop/cmp/button/ColAutosizeButton.d.ts +14 -0
  294. package/build/types/desktop/cmp/button/ColChooserButton.d.ts +19 -0
  295. package/build/types/desktop/cmp/button/DashCanvasAddViewButton.d.ts +11 -0
  296. package/build/types/desktop/cmp/button/ExportButton.d.ts +22 -0
  297. package/build/types/desktop/cmp/button/FeedbackButton.d.ts +9 -0
  298. package/build/types/desktop/cmp/button/LaunchAdminButton.d.ts +9 -0
  299. package/build/types/desktop/cmp/button/LogoutButton.d.ts +11 -0
  300. package/build/types/desktop/cmp/button/ModalToggleButton.d.ts +11 -0
  301. package/build/types/desktop/cmp/button/OptionsButton.d.ts +10 -0
  302. package/build/types/desktop/cmp/button/RefreshButton.d.ts +13 -0
  303. package/build/types/desktop/cmp/button/RestoreDefaultsButton.d.ts +16 -0
  304. package/build/types/desktop/cmp/button/ThemeToggleButton.d.ts +8 -0
  305. package/build/types/desktop/cmp/button/WhatsNewButton.d.ts +11 -0
  306. package/build/types/desktop/cmp/button/index.d.ts +15 -0
  307. package/build/types/desktop/cmp/clipboard/ClipboardButton.d.ts +13 -0
  308. package/build/types/desktop/cmp/clipboard/ClipboardMenuItem.d.ts +7 -0
  309. package/build/types/desktop/cmp/clipboard/index.d.ts +2 -0
  310. package/build/types/desktop/cmp/contextmenu/ContextMenu.d.ts +21 -0
  311. package/build/types/desktop/cmp/contextmenu/index.d.ts +1 -0
  312. package/build/types/desktop/cmp/dash/DashConfig.d.ts +33 -0
  313. package/build/types/desktop/cmp/dash/DashModel.d.ts +19 -0
  314. package/build/types/desktop/cmp/dash/DashViewModel.d.ts +52 -0
  315. package/build/types/desktop/cmp/dash/DashViewSpec.d.ts +41 -0
  316. package/build/types/desktop/cmp/dash/canvas/DashCanvas.d.ts +19 -0
  317. package/build/types/desktop/cmp/dash/canvas/DashCanvasModel.d.ts +104 -0
  318. package/build/types/desktop/cmp/dash/canvas/DashCanvasViewModel.d.ts +27 -0
  319. package/build/types/desktop/cmp/dash/canvas/DashCanvasViewSpec.d.ts +30 -0
  320. package/build/types/desktop/cmp/dash/canvas/impl/DashCanvasContextMenu.d.ts +8 -0
  321. package/build/types/desktop/cmp/dash/canvas/impl/DashCanvasView.d.ts +12 -0
  322. package/build/types/desktop/cmp/dash/canvas/impl/utils.d.ts +10 -0
  323. package/build/types/desktop/cmp/dash/container/DashContainer.d.ts +9 -0
  324. package/build/types/desktop/cmp/dash/container/DashContainerModel.d.ts +143 -0
  325. package/build/types/desktop/cmp/dash/container/DashContainerViewSpec.d.ts +17 -0
  326. package/build/types/desktop/cmp/dash/container/impl/DashContainerContextMenu.d.ts +15 -0
  327. package/build/types/desktop/cmp/dash/container/impl/DashContainerMenuButton.d.ts +7 -0
  328. package/build/types/desktop/cmp/dash/container/impl/DashContainerUtils.d.ts +14 -0
  329. package/build/types/desktop/cmp/dash/container/impl/DashContainerView.d.ts +12 -0
  330. package/build/types/desktop/cmp/dash/index.d.ts +11 -0
  331. package/build/types/desktop/cmp/dock/DockContainer.d.ts +26 -0
  332. package/build/types/desktop/cmp/dock/DockContainerModel.d.ts +33 -0
  333. package/build/types/desktop/cmp/dock/DockViewModel.d.ts +75 -0
  334. package/build/types/desktop/cmp/dock/impl/DockContainer.d.ts +10 -0
  335. package/build/types/desktop/cmp/dock/impl/DockView.d.ts +15 -0
  336. package/build/types/desktop/cmp/dock/index.d.ts +3 -0
  337. package/build/types/desktop/cmp/error/ErrorMessage.d.ts +33 -0
  338. package/build/types/desktop/cmp/error/index.d.ts +1 -0
  339. package/build/types/desktop/cmp/filechooser/FileChooser.d.ts +42 -0
  340. package/build/types/desktop/cmp/filechooser/FileChooserModel.d.ts +25 -0
  341. package/build/types/desktop/cmp/filechooser/index.d.ts +2 -0
  342. package/build/types/desktop/cmp/filter/FilterChooser.d.ts +28 -0
  343. package/build/types/desktop/cmp/filter/index.d.ts +2 -0
  344. package/build/types/desktop/cmp/form/FormField.d.ts +63 -0
  345. package/build/types/desktop/cmp/form/index.d.ts +1 -0
  346. package/build/types/desktop/cmp/grid/columns/Actions.d.ts +29 -0
  347. package/build/types/desktop/cmp/grid/editors/BooleanEditor.d.ts +16 -0
  348. package/build/types/desktop/cmp/grid/editors/DateEditor.d.ts +7 -0
  349. package/build/types/desktop/cmp/grid/editors/EditorProps.d.ts +17 -0
  350. package/build/types/desktop/cmp/grid/editors/NumberEditor.d.ts +7 -0
  351. package/build/types/desktop/cmp/grid/editors/SelectEditor.d.ts +7 -0
  352. package/build/types/desktop/cmp/grid/editors/TextAreaEditor.d.ts +7 -0
  353. package/build/types/desktop/cmp/grid/editors/TextEditor.d.ts +7 -0
  354. package/build/types/desktop/cmp/grid/editors/impl/InlineEditorModel.d.ts +15 -0
  355. package/build/types/desktop/cmp/grid/editors/index.d.ts +6 -0
  356. package/build/types/desktop/cmp/grid/find/GridFindField.d.ts +43 -0
  357. package/build/types/desktop/cmp/grid/find/impl/GridFindFieldImplModel.d.ts +37 -0
  358. package/build/types/desktop/cmp/grid/impl/colchooser/ColChooser.d.ts +18 -0
  359. package/build/types/desktop/cmp/grid/impl/colchooser/ColChooserDialog.d.ts +2 -0
  360. package/build/types/desktop/cmp/grid/impl/colchooser/ColChooserModel.d.ts +33 -0
  361. package/build/types/desktop/cmp/grid/impl/filter/ColumnHeaderFilter.d.ts +9 -0
  362. package/build/types/desktop/cmp/grid/impl/filter/ColumnHeaderFilterModel.d.ts +38 -0
  363. package/build/types/desktop/cmp/grid/impl/filter/GridFilterDialog.d.ts +11 -0
  364. package/build/types/desktop/cmp/grid/impl/filter/custom/CustomRow.d.ts +6 -0
  365. package/build/types/desktop/cmp/grid/impl/filter/custom/CustomRowModel.d.ts +28 -0
  366. package/build/types/desktop/cmp/grid/impl/filter/custom/CustomTab.d.ts +7 -0
  367. package/build/types/desktop/cmp/grid/impl/filter/custom/CustomTabModel.d.ts +21 -0
  368. package/build/types/desktop/cmp/grid/impl/filter/values/ValuesTab.d.ts +7 -0
  369. package/build/types/desktop/cmp/grid/impl/filter/values/ValuesTabModel.d.ts +33 -0
  370. package/build/types/desktop/cmp/grid/index.d.ts +3 -0
  371. package/build/types/desktop/cmp/grouping/GroupingChooser.d.ts +26 -0
  372. package/build/types/desktop/cmp/grouping/index.d.ts +2 -0
  373. package/build/types/desktop/cmp/input/ButtonGroupInput.d.ts +26 -0
  374. package/build/types/desktop/cmp/input/Checkbox.d.ts +28 -0
  375. package/build/types/desktop/cmp/input/CodeInput.d.ts +80 -0
  376. package/build/types/desktop/cmp/input/DateInput.d.ts +117 -0
  377. package/build/types/desktop/cmp/input/JsonInput.d.ts +9 -0
  378. package/build/types/desktop/cmp/input/NumberInput.d.ts +77 -0
  379. package/build/types/desktop/cmp/input/RadioInput.d.ts +22 -0
  380. package/build/types/desktop/cmp/input/Select.d.ts +139 -0
  381. package/build/types/desktop/cmp/input/Slider.d.ts +33 -0
  382. package/build/types/desktop/cmp/input/SwitchInput.d.ts +21 -0
  383. package/build/types/desktop/cmp/input/TextArea.d.ts +26 -0
  384. package/build/types/desktop/cmp/input/TextInput.d.ts +55 -0
  385. package/build/types/desktop/cmp/input/index.d.ts +12 -0
  386. package/build/types/desktop/cmp/leftrightchooser/LeftRightChooser.d.ts +14 -0
  387. package/build/types/desktop/cmp/leftrightchooser/LeftRightChooserFilter.d.ts +15 -0
  388. package/build/types/desktop/cmp/leftrightchooser/LeftRightChooserModel.d.ts +83 -0
  389. package/build/types/desktop/cmp/leftrightchooser/impl/ChooserToolbar.d.ts +3 -0
  390. package/build/types/desktop/cmp/leftrightchooser/impl/Description.d.ts +3 -0
  391. package/build/types/desktop/cmp/leftrightchooser/index.d.ts +3 -0
  392. package/build/types/desktop/cmp/loadingindicator/LoadingIndicator.d.ts +27 -0
  393. package/build/types/desktop/cmp/loadingindicator/index.d.ts +1 -0
  394. package/build/types/desktop/cmp/mask/Mask.d.ts +27 -0
  395. package/build/types/desktop/cmp/mask/index.d.ts +1 -0
  396. package/build/types/desktop/cmp/modalsupport/ModalSupport.d.ts +16 -0
  397. package/build/types/desktop/cmp/modalsupport/ModalSupportModel.d.ts +30 -0
  398. package/build/types/desktop/cmp/modalsupport/index.d.ts +2 -0
  399. package/build/types/desktop/cmp/panel/Panel.d.ts +60 -0
  400. package/build/types/desktop/cmp/panel/PanelModel.d.ts +112 -0
  401. package/build/types/desktop/cmp/panel/impl/PanelHeader.d.ts +2 -0
  402. package/build/types/desktop/cmp/panel/impl/ResizeContainer.d.ts +1 -0
  403. package/build/types/desktop/cmp/panel/impl/Splitter.d.ts +2 -0
  404. package/build/types/desktop/cmp/panel/impl/dragger/Dragger.d.ts +3 -0
  405. package/build/types/desktop/cmp/panel/impl/dragger/DraggerModel.d.ts +33 -0
  406. package/build/types/desktop/cmp/panel/index.d.ts +2 -0
  407. package/build/types/desktop/cmp/pinpad/impl/PinPad.d.ts +11 -0
  408. package/build/types/desktop/cmp/record/RecordActionBar.d.ts +33 -0
  409. package/build/types/desktop/cmp/record/impl/RecordActionButton.d.ts +21 -0
  410. package/build/types/desktop/cmp/record/index.d.ts +1 -0
  411. package/build/types/desktop/cmp/rest/Actions.d.ts +7 -0
  412. package/build/types/desktop/cmp/rest/RestGrid.d.ts +24 -0
  413. package/build/types/desktop/cmp/rest/RestGridModel.d.ts +98 -0
  414. package/build/types/desktop/cmp/rest/data/RestField.d.ts +37 -0
  415. package/build/types/desktop/cmp/rest/data/RestStore.d.ts +39 -0
  416. package/build/types/desktop/cmp/rest/impl/RestForm.d.ts +6 -0
  417. package/build/types/desktop/cmp/rest/impl/RestFormField.d.ts +5 -0
  418. package/build/types/desktop/cmp/rest/impl/RestFormModel.d.ts +48 -0
  419. package/build/types/desktop/cmp/rest/impl/RestGridToolbar.d.ts +5 -0
  420. package/build/types/desktop/cmp/rest/index.d.ts +4 -0
  421. package/build/types/desktop/cmp/store/impl/StoreFilterField.d.ts +7 -0
  422. package/build/types/desktop/cmp/tab/TabSwitcher.d.ts +15 -0
  423. package/build/types/desktop/cmp/tab/impl/Tab.d.ts +12 -0
  424. package/build/types/desktop/cmp/tab/impl/TabContainer.d.ts +8 -0
  425. package/build/types/desktop/cmp/tab/index.d.ts +1 -0
  426. package/build/types/desktop/cmp/toolbar/Toolbar.d.ts +31 -0
  427. package/build/types/desktop/cmp/toolbar/ToolbarSep.d.ts +11 -0
  428. package/build/types/desktop/cmp/toolbar/index.d.ts +2 -0
  429. package/build/types/desktop/cmp/treemap/SplitTreeMap.d.ts +11 -0
  430. package/build/types/desktop/cmp/treemap/SplitTreeMapModel.d.ts +79 -0
  431. package/build/types/desktop/cmp/treemap/TreeMap.d.ts +16 -0
  432. package/build/types/desktop/cmp/treemap/TreeMapModel.d.ts +182 -0
  433. package/build/types/desktop/cmp/treemap/impl/Splitter.d.ts +6 -0
  434. package/build/types/desktop/cmp/treemap/index.d.ts +4 -0
  435. package/build/types/desktop/hooks/UseContextMenu.d.ts +11 -0
  436. package/build/types/desktop/hooks/UseHotkeys.d.ts +14 -0
  437. package/build/types/desktop/hooks/index.d.ts +2 -0
  438. package/build/types/desktop/register.d.ts +1 -0
  439. package/build/types/dynamics/desktop.d.ts +27 -0
  440. package/build/types/dynamics/mobile.d.ts +21 -0
  441. package/build/types/format/FormatDate.d.ts +52 -0
  442. package/build/types/format/FormatMisc.d.ts +41 -0
  443. package/build/types/format/FormatNumber.d.ts +112 -0
  444. package/build/types/format/FormatUtils.d.ts +11 -0
  445. package/build/types/format/impl/Utils.d.ts +7 -0
  446. package/build/types/format/index.d.ts +4 -0
  447. package/build/types/icon/Icon.d.ts +340 -0
  448. package/build/types/icon/XHLogo.d.ts +4 -0
  449. package/build/types/icon/impl/IconCmp.d.ts +6 -0
  450. package/build/types/icon/impl/IconHtml.d.ts +13 -0
  451. package/build/types/icon/index.d.ts +2 -0
  452. package/build/types/inspector/InspectorPanel.d.ts +5 -0
  453. package/build/types/inspector/instances/InstancesModel.d.ts +48 -0
  454. package/build/types/inspector/instances/InstancesPanel.d.ts +2 -0
  455. package/build/types/inspector/stats/StatsModel.d.ts +19 -0
  456. package/build/types/inspector/stats/StatsPanel.d.ts +2 -0
  457. package/build/types/kit/ag-grid/index.d.ts +19 -0
  458. package/build/types/kit/blueprint/Dialog.d.ts +13 -0
  459. package/build/types/kit/blueprint/Wrappers.d.ts +5 -0
  460. package/build/types/kit/blueprint/index.d.ts +8 -0
  461. package/build/types/kit/highcharts/index.d.ts +6 -0
  462. package/build/types/kit/onsen/index.d.ts +8 -0
  463. package/build/types/kit/react-beautiful-dnd/index.d.ts +3 -0
  464. package/build/types/kit/react-dates/index.d.ts +5 -0
  465. package/build/types/kit/react-dropzone/index.d.ts +3 -0
  466. package/build/types/kit/react-select/index.d.ts +7 -0
  467. package/build/types/mobile/appcontainer/AboutDialog.d.ts +10 -0
  468. package/build/types/mobile/appcontainer/AppContainer.d.ts +13 -0
  469. package/build/types/mobile/appcontainer/Banner.d.ts +8 -0
  470. package/build/types/mobile/appcontainer/ExceptionDialog.d.ts +13 -0
  471. package/build/types/mobile/appcontainer/ExceptionDialogDetails.d.ts +7 -0
  472. package/build/types/mobile/appcontainer/FeedbackDialog.d.ts +6 -0
  473. package/build/types/mobile/appcontainer/IdlePanel.d.ts +8 -0
  474. package/build/types/mobile/appcontainer/ImpersonationBar.d.ts +9 -0
  475. package/build/types/mobile/appcontainer/LockoutPanel.d.ts +7 -0
  476. package/build/types/mobile/appcontainer/LoginPanel.d.ts +9 -0
  477. package/build/types/mobile/appcontainer/Message.d.ts +7 -0
  478. package/build/types/mobile/appcontainer/MessageSource.d.ts +6 -0
  479. package/build/types/mobile/appcontainer/OptionsDialog.d.ts +6 -0
  480. package/build/types/mobile/appcontainer/SuspendPanel.d.ts +6 -0
  481. package/build/types/mobile/appcontainer/Toast.d.ts +6 -0
  482. package/build/types/mobile/appcontainer/ToastSource.d.ts +7 -0
  483. package/build/types/mobile/appcontainer/VersionBar.d.ts +5 -0
  484. package/build/types/mobile/appcontainer/index.d.ts +1 -0
  485. package/build/types/mobile/cmp/appOption/AutoRefreshAppOption.d.ts +333 -0
  486. package/build/types/mobile/cmp/appOption/SizingModeAppOption.d.ts +336 -0
  487. package/build/types/mobile/cmp/appOption/ThemeAppOption.d.ts +333 -0
  488. package/build/types/mobile/cmp/appOption/index.d.ts +3 -0
  489. package/build/types/mobile/cmp/button/Button.d.ts +22 -0
  490. package/build/types/mobile/cmp/button/ButtonGroup.d.ts +13 -0
  491. package/build/types/mobile/cmp/button/ColAutosizeButton.d.ts +14 -0
  492. package/build/types/mobile/cmp/button/ColChooserButton.d.ts +15 -0
  493. package/build/types/mobile/cmp/button/ExpandCollapseButton.d.ts +12 -0
  494. package/build/types/mobile/cmp/button/FeedbackButton.d.ts +9 -0
  495. package/build/types/mobile/cmp/button/LogoutButton.d.ts +11 -0
  496. package/build/types/mobile/cmp/button/NavigatorBackButton.d.ts +8 -0
  497. package/build/types/mobile/cmp/button/OptionsButton.d.ts +10 -0
  498. package/build/types/mobile/cmp/button/RefreshButton.d.ts +13 -0
  499. package/build/types/mobile/cmp/button/RestoreDefaultsButton.d.ts +16 -0
  500. package/build/types/mobile/cmp/button/ThemeToggleButton.d.ts +8 -0
  501. package/build/types/mobile/cmp/button/index.d.ts +11 -0
  502. package/build/types/mobile/cmp/dialog/Dialog.d.ts +17 -0
  503. package/build/types/mobile/cmp/dialog/index.d.ts +1 -0
  504. package/build/types/mobile/cmp/error/ErrorMessage.d.ts +33 -0
  505. package/build/types/mobile/cmp/error/index.d.ts +1 -0
  506. package/build/types/mobile/cmp/form/FormField.d.ts +26 -0
  507. package/build/types/mobile/cmp/form/index.d.ts +1 -0
  508. package/build/types/mobile/cmp/grid/impl/ColChooser.d.ts +22 -0
  509. package/build/types/mobile/cmp/grid/impl/ColChooserModel.d.ts +46 -0
  510. package/build/types/mobile/cmp/grouping/GroupingChooser.d.ts +20 -0
  511. package/build/types/mobile/cmp/grouping/index.d.ts +2 -0
  512. package/build/types/mobile/cmp/header/AppBar.d.ts +39 -0
  513. package/build/types/mobile/cmp/header/AppMenuButton.d.ts +31 -0
  514. package/build/types/mobile/cmp/header/index.d.ts +2 -0
  515. package/build/types/mobile/cmp/input/ButtonGroupInput.d.ts +23 -0
  516. package/build/types/mobile/cmp/input/Checkbox.d.ts +14 -0
  517. package/build/types/mobile/cmp/input/DateInput.d.ts +53 -0
  518. package/build/types/mobile/cmp/input/Label.d.ts +11 -0
  519. package/build/types/mobile/cmp/input/NumberInput.d.ts +52 -0
  520. package/build/types/mobile/cmp/input/SearchInput.d.ts +24 -0
  521. package/build/types/mobile/cmp/input/Select.d.ts +122 -0
  522. package/build/types/mobile/cmp/input/SwitchInput.d.ts +14 -0
  523. package/build/types/mobile/cmp/input/TextArea.d.ts +22 -0
  524. package/build/types/mobile/cmp/input/TextInput.d.ts +39 -0
  525. package/build/types/mobile/cmp/input/index.d.ts +10 -0
  526. package/build/types/mobile/cmp/loadingindicator/LoadingIndicator.d.ts +27 -0
  527. package/build/types/mobile/cmp/loadingindicator/index.d.ts +1 -0
  528. package/build/types/mobile/cmp/mask/Mask.d.ts +25 -0
  529. package/build/types/mobile/cmp/mask/index.d.ts +1 -0
  530. package/build/types/mobile/cmp/menu/MenuButton.d.ts +21 -0
  531. package/build/types/mobile/cmp/menu/impl/Menu.d.ts +12 -0
  532. package/build/types/mobile/cmp/menu/index.d.ts +1 -0
  533. package/build/types/mobile/cmp/navigator/Navigator.d.ts +13 -0
  534. package/build/types/mobile/cmp/navigator/NavigatorModel.d.ts +55 -0
  535. package/build/types/mobile/cmp/navigator/PageModel.d.ts +60 -0
  536. package/build/types/mobile/cmp/navigator/impl/Page.d.ts +12 -0
  537. package/build/types/mobile/cmp/navigator/impl/swipe/BackIndicator.d.ts +6 -0
  538. package/build/types/mobile/cmp/navigator/impl/swipe/RefreshIndicator.d.ts +6 -0
  539. package/build/types/mobile/cmp/navigator/impl/swipe/Swiper.d.ts +8 -0
  540. package/build/types/mobile/cmp/navigator/impl/swipe/SwiperModel.d.ts +23 -0
  541. package/build/types/mobile/cmp/navigator/index.d.ts +2 -0
  542. package/build/types/mobile/cmp/panel/DialogPanel.d.ts +15 -0
  543. package/build/types/mobile/cmp/panel/Panel.d.ts +39 -0
  544. package/build/types/mobile/cmp/panel/impl/PanelHeader.d.ts +6 -0
  545. package/build/types/mobile/cmp/panel/index.d.ts +2 -0
  546. package/build/types/mobile/cmp/pinpad/impl/PinPad.d.ts +9 -0
  547. package/build/types/mobile/cmp/popover/Popover.d.ts +36 -0
  548. package/build/types/mobile/cmp/popover/index.d.ts +1 -0
  549. package/build/types/mobile/cmp/store/impl/StoreFilterField.d.ts +7 -0
  550. package/build/types/mobile/cmp/tab/impl/Tab.d.ts +13 -0
  551. package/build/types/mobile/cmp/tab/impl/TabContainer.d.ts +10 -0
  552. package/build/types/mobile/cmp/toolbar/Toolbar.d.ts +12 -0
  553. package/build/types/mobile/cmp/toolbar/ToolbarSeparator.d.ts +8 -0
  554. package/build/types/mobile/cmp/toolbar/index.d.ts +2 -0
  555. package/build/types/mobile/register.d.ts +1 -0
  556. package/build/types/mobx/decorators.d.ts +11 -0
  557. package/build/types/mobx/index.d.ts +5 -0
  558. package/build/types/mobx/overrides.d.ts +9 -0
  559. package/build/types/promise/Promise.d.ts +107 -0
  560. package/build/types/promise/index.d.ts +1 -0
  561. package/build/types/svc/AlertBannerService.d.ts +19 -0
  562. package/build/types/svc/AutoRefreshService.d.ts +28 -0
  563. package/build/types/svc/ChangelogService.d.ts +62 -0
  564. package/build/types/svc/ConfigService.d.ts +36 -0
  565. package/build/types/svc/EnvironmentService.d.ts +24 -0
  566. package/build/types/svc/FetchService.d.ts +139 -0
  567. package/build/types/svc/GridAutosizeService.d.ts +38 -0
  568. package/build/types/svc/GridExportService.d.ts +56 -0
  569. package/build/types/svc/IdentityService.d.ts +61 -0
  570. package/build/types/svc/IdleService.d.ts +21 -0
  571. package/build/types/svc/InspectorService.d.ts +74 -0
  572. package/build/types/svc/JsonBlobService.d.ts +35 -0
  573. package/build/types/svc/LocalStorageService.d.ts +24 -0
  574. package/build/types/svc/PrefService.d.ts +76 -0
  575. package/build/types/svc/TrackService.d.ts +15 -0
  576. package/build/types/svc/WebSocketService.d.ts +94 -0
  577. package/build/types/svc/index.d.ts +16 -0
  578. package/build/types/utils/async/AsyncUtils.d.ts +40 -0
  579. package/build/types/utils/async/Timer.d.ts +89 -0
  580. package/build/types/utils/async/index.d.ts +2 -0
  581. package/build/types/utils/datetime/DateTimeUtils.d.ts +10 -0
  582. package/build/types/utils/datetime/LocalDate.d.ts +94 -0
  583. package/build/types/utils/datetime/index.d.ts +2 -0
  584. package/build/types/utils/impl/Equals.d.ts +4 -0
  585. package/build/types/utils/impl/IsOmitted.d.ts +7 -0
  586. package/build/types/utils/impl/Separators.d.ts +10 -0
  587. package/build/types/utils/impl/TimeZone.d.ts +4 -0
  588. package/build/types/utils/impl/index.d.ts +4 -0
  589. package/build/types/utils/js/BrowserUtils.d.ts +4 -0
  590. package/build/types/utils/js/Decorators.d.ts +25 -0
  591. package/build/types/utils/js/DomUtils.d.ts +46 -0
  592. package/build/types/utils/js/HtmlUtils.d.ts +4 -0
  593. package/build/types/utils/js/LangUtils.d.ts +112 -0
  594. package/build/types/utils/js/LogUtils.d.ts +32 -0
  595. package/build/types/utils/js/VersionUtils.d.ts +17 -0
  596. package/build/types/utils/js/index.d.ts +7 -0
  597. package/build/types/utils/react/ClassName.d.ts +14 -0
  598. package/build/types/utils/react/Hooks.d.ts +47 -0
  599. package/build/types/utils/react/LayoutPropUtils.d.ts +42 -0
  600. package/build/types/utils/react/ObservableRef.d.ts +13 -0
  601. package/build/types/utils/react/ReactUtils.d.ts +19 -0
  602. package/build/types/utils/react/index.d.ts +5 -0
  603. package/package.json +2 -2
  604. package/tsconfig.json +14 -7
  605. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,148 @@
1
+ import { DefaultHoistProps, HoistModel, HoistModelClass } from '@xh/hoist/core';
2
+ import { FieldModel } from '@xh/hoist/cmp/form';
3
+ import { ForwardedRef, ReactElement, FocusEvent } from 'react';
4
+ import './HoistInput.scss';
5
+ /**
6
+ * A Local Model supporting Input components in Hoist. This class provides common functionality
7
+ * around reading, writing, converting, and displaying input values, including support for a "commit"
8
+ * lifecycle which determines when values being edited should be flushed to any bound model.
9
+ *
10
+ * If building a classic data-entry form (i.e. multiple labelled inputs used to enter or edit a
11
+ * chunk of data), please review and consider the use of Form and FormField components and their
12
+ * corresponding models. They work together as a system with child HoistInputs to provide
13
+ * consolidated data initialization and extraction, support for client-side validation, and more.
14
+ *
15
+ * HoistInputs can *either* operate in bound mode or in standard controlled mode.
16
+ * + If provided with `model` and `bind` props (either directly or via a parent FormField),
17
+ * they will will operate in bound mode, reading their value from the model and writing back
18
+ * to it on commit (as described below).
19
+ * + Otherwise, they will get their value directly via the `value` prop.
20
+ *
21
+ * Note that providing a model as a value source may allow for more efficient (re)rendering in a
22
+ * MobX context. The bound value is only read *within* this control, so that changes to its value
23
+ * do not cause the parent of this control to re-render.
24
+ *
25
+ * Regardless of mode, HoistInputs will call an `onChange` callback prop with the latest value
26
+ * as they are updated. They also introduce the notion of "committing" a value to the model when the
27
+ * user has completed a discrete act of data entry. This will vary by input but is commonly marked
28
+ * by the user blurring the input, selecting a record from a combo, or pressing the <enter> key.
29
+ * At this time, any specified `onCommit` callback prop will be called and the value will be flushed
30
+ * back to any bound model.
31
+ *
32
+ * For many inputs (e.g. checkbox, select, switchInput, slider) commit always fires at the same time
33
+ * as the change event. Other inputs such as textInput maintain the distinction described above,
34
+ * but expose a `commitOnChange` prop to force them to eagerly flush their values on every change.
35
+ *
36
+ * Note: Passing a ref to a HoistInput will give you a reference to its underlying HoistInputModel.
37
+ * This model is mostly used for implementation purposes, but it is also intended to
38
+ * provide a limited API for application use. It currently provides access to the underlying DOM
39
+ * element of the rendered input via its `domEl` property, as well as `focus()`, `blur()`, and
40
+ * `select()`.
41
+ *
42
+ * To create an instance of an Input component using this model use the hook
43
+ * {@link useHoistInputModel}.
44
+ */
45
+ export declare class HoistInputModel extends HoistModel {
46
+ /** Does this input have the focus? */
47
+ hasFocus: boolean;
48
+ /** Field (if any) associated with this control. */
49
+ getField(): FieldModel;
50
+ /**
51
+ * Ref to top-most rendered DOM element in this component.
52
+ *
53
+ * HoistInput implementations should implement this by placing the `domRef` ref on the
54
+ * root of the rendered component sub-tree.
55
+ */
56
+ get domEl(): HTMLElement;
57
+ /**
58
+ * DOM <Input> element on this control, if any.
59
+ *
60
+ * If multiple <Input> elements are present, this getter will return the first one.
61
+ *
62
+ * Implementations may target a specific input via placing the 'inputRef' ref
63
+ * on the appropriate element during rendering. Otherwise the dom will be
64
+ * searched for the first rendered <input>.
65
+ */
66
+ get inputEl(): HTMLInputElement | HTMLTextAreaElement;
67
+ /** Bound model, if any.*/
68
+ get model(): HoistModel;
69
+ internalValue: any;
70
+ inputRef: import("react").RefObject<HTMLElement> & ((instance: HTMLElement) => void);
71
+ domRef: import("react").RefObject<HTMLElement> & ((instance: HTMLElement) => void);
72
+ isDirty: boolean;
73
+ constructor();
74
+ afterLinked(): void;
75
+ /**
76
+ * Blur focus from this control, if supported.
77
+ */
78
+ blur(): void;
79
+ /**
80
+ * Bring focus to this control, if supported.
81
+ */
82
+ focus(): void;
83
+ /**
84
+ * Select all content on this input, if supported.
85
+ */
86
+ select(): void;
87
+ /**
88
+ * True if this input should commit immediately when its value is changed.
89
+ * Components can/do provide a prop to override this value.
90
+ */
91
+ get commitOnChange(): boolean;
92
+ /** The value to be rendered internally by control. **/
93
+ get renderValue(): any;
94
+ /**
95
+ * The external value associated with control.
96
+ * For bound controls, this is the most recent value committed to the Model.
97
+ */
98
+ get externalValue(): any;
99
+ setInternalValue(val: any): void;
100
+ /**
101
+ * Set normalized internal value and fire associated change events.
102
+ * This is the primary method for HoistInput implementations to call on value change.
103
+ */
104
+ noteValueChange(val: any): void;
105
+ /**
106
+ * Commit the internal value to the external value, fire commit handlers, and synchronize state.
107
+ */
108
+ doCommit(): void;
109
+ /** Hook to convert an internal representation of the value to an appropriate external one. */
110
+ toExternal(internal: any): any;
111
+ /** Hook to convert an external representation of the value to an appropriate internal one. */
112
+ toInternal(external: any): any;
113
+ /**
114
+ * To be called when the Component has lost focus. Direct subclasses must call
115
+ * via a handler on an appropriate rendered element. A default handler implementation is below.
116
+ */
117
+ noteBlurred(): void;
118
+ onBlur: (e: FocusEvent) => void;
119
+ /**
120
+ * To be called when the Component gains focus. Direct subclasses must call
121
+ * via a handler on an appropriate rendered element. A default handler implementation is below.
122
+ */
123
+ noteFocused(): void;
124
+ onFocus: (e: FocusEvent) => void;
125
+ isValid(externalValue: any): boolean;
126
+ internalFromExternal(): any;
127
+ externalFromInternal(): any;
128
+ externalValueReaction(): {
129
+ track: () => any;
130
+ run: (externalVal: any) => void;
131
+ fireImmediately: boolean;
132
+ };
133
+ doCommitOnChangeInternal(): void;
134
+ doCommitInternal(): void;
135
+ containsElement(elem: HTMLElement): boolean;
136
+ }
137
+ /**
138
+ * Hook to render a display component with a HoistInputModel in context.
139
+ *
140
+ * Places model in context and composes appropriate
141
+ * CSS class names for current model state.
142
+ *
143
+ * @param component - component to render
144
+ * @param props - props passed to containing component
145
+ * @param ref - forwardRef passed to containing component
146
+ * @param modelSpec - specify to use particular subclass of HoistInputModel
147
+ */
148
+ export declare function useHoistInputModel(component: any, props: DefaultHoistProps, ref: ForwardedRef<any>, modelSpec?: HoistModelClass<HoistInputModel>): ReactElement;
@@ -0,0 +1,19 @@
1
+ export interface HoistInputProps {
2
+ /**
3
+ * Field or model property name from which this component should read and write its value
4
+ * in controlled mode. Can be set by parent FormField.
5
+ */
6
+ bind?: string;
7
+ /** True to disable user interaction. Can be set by parent FormField. */
8
+ disabled?: boolean;
9
+ /** DOM ID of this input. */
10
+ id?: string;
11
+ /** Called when value changes - passed new and prior values. */
12
+ onChange?: (value: any, oldValue: any) => void;
13
+ /** Called when value is committed to backing model - passed new and prior values. */
14
+ onCommit?: (value: any, oldValue: any) => void;
15
+ /** Tab order for focus control, or -1 to skip. If unset, browser layout-based order. */
16
+ tabIndex?: number;
17
+ /** Value of the control, if provided directly. */
18
+ value?: any;
19
+ }
@@ -0,0 +1,2 @@
1
+ export * from './HoistInputModel';
2
+ export * from './HoistInputProps';
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ import { BoxProps, HoistProps } from '@xh/hoist/core';
3
+ export interface BoxComponentProps extends HoistProps, BoxProps {
4
+ }
5
+ /**
6
+ * A Component that supports flexbox-based layout of its contents.
7
+ *
8
+ * Box is the component that provides the core implementation of the LayoutSupport mixin.
9
+ * It renders a div and merges all layout props to that div's `style` property.
10
+ *
11
+ * Access to the internal div is provided via a ref argument.
12
+ *
13
+ * VBox and HBox variants support internal vertical (column) and horizontal (row) flex layouts.
14
+ */
15
+ export declare const Box: import("react").FC<BoxComponentProps>, box: import("@xh/hoist/core").ElementFactory<BoxComponentProps>;
16
+ export declare const VBox: import("react").FC<BoxComponentProps>, vbox: import("@xh/hoist/core").ElementFactory<BoxComponentProps>;
17
+ export declare const HBox: import("react").FC<BoxComponentProps>, hbox: import("@xh/hoist/core").ElementFactory<BoxComponentProps>;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { BoxProps, HoistProps } from '@xh/hoist/core';
3
+ export interface FrameProps extends HoistProps, BoxProps {
4
+ }
5
+ /**
6
+ * A Box class that flexes to grow and stretch within its *own* parent via flex:'auto', useful for
7
+ * creating nested layouts.
8
+ *
9
+ * Like Box, Frame provides access to its internal div via a ref argument.
10
+ *
11
+ * VFrame and HFrame variants support internal vertical (column) and horizontal (row) flex layouts.
12
+ */
13
+ export declare const Frame: import("react").FC<FrameProps>, frame: import("@xh/hoist/core").ElementFactory<FrameProps>;
14
+ export declare const VFrame: import("react").FC<FrameProps>, vframe: import("@xh/hoist/core").ElementFactory<FrameProps>;
15
+ export declare const HFrame: import("react").FC<FrameProps>, hframe: import("@xh/hoist/core").ElementFactory<FrameProps>;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { BoxProps, HoistProps } from '@xh/hoist/core';
3
+ import './Placeholder.scss';
4
+ export interface PlaceholderProps extends HoistProps, BoxProps {
5
+ }
6
+ /**
7
+ * A thin wrapper around `Box` with standardized, muted styling.
8
+ *
9
+ * Intended as an alternative to masking or other approaches when a portion of an application's
10
+ * layout is not yet ready to be rendered - e.g. a detail panel without a current record selection.
11
+ */
12
+ export declare const Placeholder: import("react").FC<PlaceholderProps>, placeholder: import("@xh/hoist/core").ElementFactory<PlaceholderProps>;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { BoxProps, HoistProps } from '@xh/hoist/core';
3
+ export interface SpacerProps extends HoistProps, BoxProps {
4
+ }
5
+ /**
6
+ * A component for inserting a fixed-sized spacer along the main axis of its parent container.
7
+ * Convenience ElemFactories hspacer() and vspacer() each take a pixel size directly.
8
+ */
9
+ export declare const Spacer: import("react").FC<SpacerProps>, spacer: import("@xh/hoist/core").ElementFactory<SpacerProps>;
10
+ /**
11
+ * A component that stretches to soak up space along the main axis of its parent container.
12
+ */
13
+ export declare const Filler: import("react").FC<BoxProps>, filler: import("@xh/hoist/core").ElementFactory<BoxProps>;
14
+ export declare function hspacer(width?: number): import("react").ReactElement<SpacerProps, any>;
15
+ export declare function vspacer(height?: number): import("react").ReactElement<SpacerProps, any>;
@@ -0,0 +1,32 @@
1
+ /// <reference types="react" />
2
+ export declare const fragment: import("@xh/hoist/core").ElementFactory<any>;
3
+ export declare const iframe: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>>;
4
+ export declare const img: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>>;
5
+ export declare const input: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
6
+ export declare const svg: import("@xh/hoist/core").ElementFactory<import("react").SVGProps<SVGSVGElement>>;
7
+ export declare const textarea: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>>;
8
+ export declare const a: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>>;
9
+ export declare const br: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLBRElement>, HTMLBRElement>>;
10
+ export declare const code: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
11
+ export declare const div: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
12
+ export declare const form: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>>;
13
+ export declare const h1: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>;
14
+ export declare const h2: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>;
15
+ export declare const h3: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>;
16
+ export declare const h4: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>;
17
+ export declare const label: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>>;
18
+ export declare const li: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>>;
19
+ export declare const nav: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
20
+ export declare const ol: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>>;
21
+ export declare const option: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>>;
22
+ export declare const p: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>>;
23
+ export declare const pre: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLPreElement>, HTMLPreElement>>;
24
+ export declare const span: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
25
+ export declare const strong: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>>;
26
+ export declare const table: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>>;
27
+ export declare const tbody: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>>;
28
+ export declare const td: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>>;
29
+ export declare const th: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>>;
30
+ export declare const thead: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>>;
31
+ export declare const tr: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>>;
32
+ export declare const ul: import("@xh/hoist/core").ElementFactory<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>>;
@@ -0,0 +1,38 @@
1
+ /// <reference types="react" />
2
+ import { HoistModel, BoxProps, HoistProps } from '@xh/hoist/core';
3
+ import './TileFrame.scss';
4
+ export interface TileFrameProps extends HoistProps, BoxProps {
5
+ /**
6
+ * Desired tile width / height ratio (i.e. desiredRatio: 2 == twice as wide as tall).
7
+ * The container will strive to meet this ratio, but the final ratio may vary.
8
+ * Defaults to 1 (i.e. square tiles)
9
+ */
10
+ desiredRatio?: number;
11
+ /** The space between tiles (in px) */
12
+ spacing?: number;
13
+ /** Min tile width (in px). */
14
+ minTileWidth?: number;
15
+ /** Max tile width (in px). */
16
+ maxTileWidth?: number;
17
+ /** Min tile height (in px).*/
18
+ minTileHeight?: number;
19
+ /** Max tile height (in px).*/
20
+ maxTileHeight?: number;
21
+ /** Callback triggered when the layout configuration changes.*/
22
+ onLayoutChange?: (layout: {
23
+ rows: number;
24
+ cols: number;
25
+ tileWidth: number;
26
+ tileHeight: number;
27
+ }) => any;
28
+ }
29
+ /**
30
+ * This component renders its children as equally-sized tiles, resized and arranged to fill the
31
+ * available space within the container while maintaining even padding between tiles and keeping
32
+ * tile width / height as close to a specified ratio as possible.
33
+ *
34
+ * Supports a number of optional constraints on tile dimensions that can be used to produce more
35
+ * stable layouts. These should be used judiciously, however, as each constraint limits the ability
36
+ * of the TileFrame to fill its available space.
37
+ */
38
+ export declare const TileFrame: import("react").FC<import("@xh/hoist/core").DefaultHoistProps<HoistModel>>, tileFrame: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<HoistModel>>;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { BoxProps, HoistProps } from '@xh/hoist/core';
3
+ export interface ViewportProps extends HoistProps, BoxProps {
4
+ }
5
+ /**
6
+ * A container for the top level of the application.
7
+ * Will stretch to encompass the entire browser.
8
+ */
9
+ export declare const Viewport: import("react").FC<ViewportProps>, viewport: import("@xh/hoist/core").ElementFactory<ViewportProps>;
@@ -0,0 +1,7 @@
1
+ export * from './Box';
2
+ export * from './Frame';
3
+ export * from './Placeholder';
4
+ export * from './Spacer';
5
+ export * from './Tags';
6
+ export * from './TileFrame';
7
+ export * from './Viewport';
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { PinPadModel } from './PinPadModel';
3
+ /**
4
+ * Displays a prompt used to get obtain a PIN from the user.
5
+ *
6
+ * Uses a custom key pad and digit display.
7
+ *
8
+ * @see PinPadModel
9
+ */
10
+ export declare const PinPad: import("react").FC<import("@xh/hoist/core").DefaultHoistProps<PinPadModel>>, pinPad: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<PinPadModel>>;
@@ -0,0 +1,35 @@
1
+ /// <reference types="react" />
2
+ import { HoistModel } from '@xh/hoist/core';
3
+ export interface PinPadConfig {
4
+ /** The length of the PIN to get from the user, default 4. */
5
+ pinLength?: number;
6
+ headerText?: string;
7
+ subHeaderText?: string;
8
+ }
9
+ export declare class PinPadModel extends HoistModel {
10
+ disabled: boolean;
11
+ headerText: string;
12
+ subHeaderText: string;
13
+ errorText: string;
14
+ ref: import("react").RefObject<unknown> & ((instance: unknown) => void);
15
+ private _enteredDigits;
16
+ private _deleteWasLast;
17
+ private _pinLength;
18
+ constructor(config?: PinPadConfig);
19
+ /**
20
+ * The completed PIN entered by the user. Observe this property to track the state
21
+ * of user progress.
22
+ *
23
+ * @returns null if the user has not finished entering a PIN, otherwise the PIN
24
+ * the user entered.
25
+ */
26
+ get completedPin(): string;
27
+ /**
28
+ * Clear everything entered by the user, allowing the user to start entering a new PIN.
29
+ */
30
+ clear(): void;
31
+ get activeIndex(): number;
32
+ enterDigit(digit: any): void;
33
+ deleteDigit(): void;
34
+ get displayedDigits(): any[];
35
+ }
@@ -0,0 +1,2 @@
1
+ export * from './PinPad';
2
+ export * from './PinPadModel';
@@ -0,0 +1,46 @@
1
+ /// <reference types="react" />
2
+ import { BoxProps, HoistProps } from '@xh/hoist/core';
3
+ interface RelativeTimestampProps extends HoistProps, BoxProps {
4
+ /**
5
+ * Property on context model containing timestamp.
6
+ * Specify as an alternative to direct `timestamp` prop (and minimize parent re-renders).
7
+ */
8
+ bind?: string;
9
+ /** Date or milliseconds representing the starting time / time to compare. See also `bind`. */
10
+ timestamp?: Date | number;
11
+ /** Formatting options */
12
+ options?: RelativeTimestampOptions;
13
+ }
14
+ export interface RelativeTimestampOptions {
15
+ /** Allow dates greater than Date.now().*/
16
+ allowFuture?: boolean;
17
+ /** Use shorter timestamp text, default true for mobile clients. */
18
+ short?: boolean;
19
+ /** Label preceding timestamp.*/
20
+ prefix?: string;
21
+ /** Appended to future timestamps. */
22
+ futureSuffix?: string;
23
+ /** Appended to past timestamps. */
24
+ pastSuffix?: string;
25
+ /** String to return when timestamps are within `epsilon`. */
26
+ equalString?: string;
27
+ /** Threshold interval (in seconds) for `equalString`. **/
28
+ epsilon?: number;
29
+ /** String to return when timestamp is empty/falsy. */
30
+ emptyResult?: string;
31
+ /** Time to which the input timestamp is compared. */
32
+ relativeTo?: Date | number;
33
+ }
34
+ /**
35
+ * A component to display the approximate amount of time between a given timestamp and now in a
36
+ * friendly, human readable format (e.g. '6 minutes ago' or 'two hours from now').
37
+ *
38
+ * Automatically updates on a regular interval to stay current.
39
+ */
40
+ export declare const RelativeTimestamp: import("react").FC<RelativeTimestampProps>, relativeTimestamp: import("@xh/hoist/core").ElementFactory<RelativeTimestampProps>;
41
+ /**
42
+ * Returns a string describing the approximate amount of time between a given timestamp and the
43
+ * present moment in a friendly, human readable format.
44
+ */
45
+ export declare function getRelativeTimestamp(timestamp: Date | number, options?: RelativeTimestampOptions): any;
46
+ export {};
@@ -0,0 +1 @@
1
+ export * from './RelativeTimestamp';
@@ -0,0 +1,16 @@
1
+ import { HoistProps } from '@xh/hoist/core';
2
+ import { ImgHTMLAttributes } from 'react';
3
+ export interface SpinnerProps extends HoistProps, ImgHTMLAttributes<HTMLImageElement> {
4
+ /** True to return a smaller 20px image vs default 50px. */
5
+ compact?: boolean;
6
+ }
7
+ /**
8
+ * Returns an img-based spinner in one of two sizes - default 50px spinner or smaller 20px spinner
9
+ * when `compact: true`. Used for the platform-specific `Mask` and `LoadingIndicator` components.
10
+ *
11
+ * Note that the source images are animated PNGs generated via https://loading.io. These are used
12
+ * in place of SVG-based options to reduce rendering overhead, especially when accessing an app
13
+ * via a remote desktop technology such as Citrix (where the spinners bundled with e.g. Blueprint
14
+ * were observed to cause unpredictable and unexpectedly severe performance issues).
15
+ */
16
+ export declare const Spinner: import("react").FC<SpinnerProps>, spinner: import("@xh/hoist/core").ElementFactory<SpinnerProps>;
@@ -0,0 +1 @@
1
+ export * from './Spinner';
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import { BoxProps, HoistProps } from '@xh/hoist/core';
3
+ import { Store } from '@xh/hoist/data';
4
+ export interface StoreCountLabelProps extends HoistProps, BoxProps {
5
+ /** Store to which this component should bind. */
6
+ store?: Store;
7
+ /**
8
+ * True to count nested child records.
9
+ * If false (default) only root records will be included in count.
10
+ */
11
+ includeChildren?: boolean;
12
+ /** Units label appropriate for records being counted (e.g. "user" yields "50 users"). */
13
+ unit?: string;
14
+ }
15
+ /**
16
+ * Displays the number of (post-filtered) records loaded into a Store.
17
+ */
18
+ export declare const StoreCountLabel: import("react").FC<StoreCountLabelProps>, storeCountLabel: import("@xh/hoist/core").ElementFactory<StoreCountLabelProps>;
@@ -0,0 +1,82 @@
1
+ /// <reference types="react" />
2
+ import { GridModel } from '@xh/hoist/cmp/grid';
3
+ import { DefaultHoistProps, HoistModel } from '@xh/hoist/core';
4
+ import { FilterTestFn, Store } from '@xh/hoist/data';
5
+ export interface StoreFilterFieldProps extends DefaultHoistProps {
6
+ /**
7
+ * Automatically apply the filter to bound store (default true). Applications that need to
8
+ * combine the filter generated by this component with other filters or run any other custom
9
+ * logic before filtering their bound store should set this to false.
10
+ */
11
+ autoApply?: boolean;
12
+ /**
13
+ * Field on optional model to which this component should bind its raw (text) value to persist
14
+ * across renders. Specify this field to control the state of this component directly or if
15
+ * deliberately not connecting this component to a Store/GridModel. These are both advanced
16
+ * use-cases - this prop is typically left unset.
17
+ */
18
+ bind?: string;
19
+ /** Names of field(s) to exclude from search. Cannot be used with `includeFields`. */
20
+ excludeFields?: string[];
21
+ /**
22
+ * Delay (in ms) to buffer filtering of the store after the value changes from user input.
23
+ * Default 200ms. Set to 0 to filter immediately on each keystroke. Applicable only when
24
+ * bound to a Store (directly or via a GridModel).
25
+ */
26
+ filterBuffer?: number;
27
+ /**
28
+ * GridModel whose Store this control should filter. When given a GridModel, this component
29
+ * will, by default, use the fields for all *visible* columns when matching, as well as any
30
+ * groupBy field. Do not configure this and `store` on the same component.
31
+ */
32
+ gridModel?: GridModel;
33
+ /**
34
+ * Names of field(s) to include in search. Required if neither a store nor gridModel are
35
+ * provided, as otherwise fields cannot be inferred.
36
+ *
37
+ * Can be used along with a gridModel to ensure a field is included, regardless of column
38
+ * visibility. Cannot be used with `excludeFields`.
39
+ */
40
+ includeFields?: string[];
41
+ /** Mode to use when filtering (default 'startWord'). */
42
+ matchMode?: 'start' | 'startWord' | 'any';
43
+ /** Optional model for raw value binding - see comments on the `bind` prop for details. */
44
+ model?: HoistModel;
45
+ /**
46
+ * Callback to receive an updated Filter. Typically used in conjunction with `autoApply: false`
47
+ * in order to manually apply the filter of this component to a store.
48
+ * NOTE that calls to this function are NOT buffered and will be made on each keystroke.
49
+ */
50
+ onFilterChange?: (filter: FilterTestFn) => any;
51
+ /** Text to display when the input is empty. */
52
+ placeholder?: string;
53
+ /**
54
+ * Store that this control should filter. By default, all fields configured on the Store
55
+ * will be used for matching. Do not configure this and `gridModel` on the same component.
56
+ */
57
+ store?: Store;
58
+ /** Width of the input in pixels. */
59
+ width?: number;
60
+ }
61
+ /**
62
+ * A text input Component that generates a filter function based on simple word-boundary matching of
63
+ * its value to the value of configured fields on a candidate object. If any field values match, the
64
+ * object itself is considered a match.
65
+ *
66
+ * This component is designed to be bound to a Store via either its `store` OR `gridModel` props.
67
+ * (If not configured to bind to a specific Store or GridModel, this component will bind by default
68
+ * to the store of the nearest GridModel found in context.) Binding in this way allows the component
69
+ * to auto-generate the fields in the store to be included in the filter and to automatically
70
+ * apply the filter to the Store.
71
+ *
72
+ * In cases where the application is combining this filter with other filters, or applying
73
+ * additional application logic, the filter can be managed manually by setting `autoApply` to
74
+ * `false` and using the `onFilterChange` callback instead.
75
+ *
76
+ * Fields to be searched can be automatically determined from the bound Store or GridModel, and/or
77
+ * customized via the include/excludeFields props. See prop comments for details.
78
+ *
79
+ * This component supports all props available to TextInput and will pass them along to its
80
+ * underlying TextInput.
81
+ */
82
+ export declare const StoreFilterField: import("react").FC<StoreFilterFieldProps>, storeFilterField: import("@xh/hoist/core").ElementFactory<StoreFilterFieldProps>;
@@ -0,0 +1,23 @@
1
+ import { HoistModel } from '@xh/hoist/core';
2
+ import { GridModel } from '@xh/hoist/cmp/grid';
3
+ import { Store } from '@xh/hoist/data';
4
+ /**
5
+ * @internal
6
+ */
7
+ export declare class StoreFilterFieldImplModel extends HoistModel {
8
+ xhImpl: boolean;
9
+ model: any;
10
+ gridModel: GridModel;
11
+ store: Store;
12
+ filter: any;
13
+ bufferedApplyFilter: any;
14
+ constructor();
15
+ onLinked(): void;
16
+ get filterText(): any;
17
+ setFilterText(v: any): void;
18
+ applyFilter(): void;
19
+ regenerateFilter(): void;
20
+ getRegex(searchTerm: any): RegExp;
21
+ getActiveFields(): string[];
22
+ getValGetters(fieldName: any): ((record: any) => any)[] | ((rec: any) => any);
23
+ }
@@ -0,0 +1,2 @@
1
+ export * from './StoreCountLabel';
2
+ export * from './StoreFilterField';
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ import { BoxProps, HoistProps } from '@xh/hoist/core';
3
+ import { TabContainerModel } from './TabContainerModel';
4
+ export type TabContainerProps = HoistProps<TabContainerModel> & BoxProps;
5
+ /**
6
+ * Display a set of child Tabs and (optionally) a switcher control.
7
+ *
8
+ * By default this TabContainer will install a TabSwitcher above the Tabs to control the currently
9
+ * displayed Tab. The 'TabContainerModel.switcher' property can be adjusted to place the switcher
10
+ * control on alternative edges of the container.
11
+ *
12
+ * If `switcher` is set to false then no TabSwitcher will be installed. This setting
13
+ * is useful for applications that wish to place an associated TabSwitcher elsewhere in the
14
+ * graphical hierarchy (e.g. a shared menu bar), or control the visible Tab directly via other
15
+ * means.
16
+ *
17
+ * This component's TabContainerModel configures all aspects of this container, including its
18
+ * children. See that class for more details.
19
+ */
20
+ export declare const TabContainer: import("react").FC<TabContainerProps>, tabContainer: import("@xh/hoist/core").ElementFactory<TabContainerProps>;