@xh/hoist 57.0.0 → 57.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 (606) hide show
  1. package/CHANGELOG.md +22 -3
  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/static/preflight.js +15 -13
  605. package/tsconfig.json +14 -7
  606. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,139 @@
1
+ import { HoistInputProps } from '@xh/hoist/cmp/input';
2
+ import { HoistProps, LayoutProps, PlainObject, Awaitable, SelectOption } from '@xh/hoist/core';
3
+ import '@xh/hoist/desktop/register';
4
+ import { ReactElement, ReactNode } from 'react';
5
+ import './Select.scss';
6
+ export declare const MENU_PORTAL_ID = "xh-select-input-portal";
7
+ export interface SelectProps extends HoistProps, HoistInputProps, LayoutProps {
8
+ /** True to focus the control on render. */
9
+ autoFocus?: boolean;
10
+ /**
11
+ * Function to return a "create a new option" string prompt. Requires `enableCreate` true.
12
+ * Passed current query input.
13
+ */
14
+ createMessageFn?: (query: string) => string;
15
+ /** True (default) to close the menu after each selection. */
16
+ closeMenuOnSelect?: boolean;
17
+ /** True to show a "clear" button at the right of the control. */
18
+ enableClear?: boolean;
19
+ /** True to accept and commit input values not present in options or returned by a query. */
20
+ enableCreate?: boolean;
21
+ /**
22
+ * True (default) to enable type-to-search keyboard input. False to disable keyboard input,
23
+ * showing the dropdown menu on click.
24
+ */
25
+ enableFilter?: boolean;
26
+ /** True to allow entry/selection of multiple values - "tag picker" style. */
27
+ enableMulti?: boolean;
28
+ /**
29
+ * True to enable tooltips on selected values. Enable when the space
30
+ * available to the select component might not support showing the value's full text.
31
+ */
32
+ enableTooltips?: boolean;
33
+ /**
34
+ * True to use react-windowed-select for improved performance on large option lists.
35
+ * See https://github.com/jacobworrel/react-windowed-select/.
36
+ *
37
+ * Currently only supported when the enableCreate and queryFn props are not specified.
38
+ * These options require the use of specialized 'Async' or 'Creatable' selects from the
39
+ * underlying react-select library which are not fully implemented in react-windowed-select.
40
+ *
41
+ * Applications should use this option with care.
42
+ */
43
+ enableWindowed?: boolean;
44
+ /**
45
+ * Function called to filter available options for a given query string input.
46
+ * Used for filtering of options provided by `options` prop when `enableFilter` is true.
47
+ * Not to be confused with `queryFn` prop, used in asynchronous mode.
48
+ *
49
+ * Provided function should take an option and a query value and return a boolean.
50
+ * Defaults to a case-insensitive match on word starts.
51
+ */
52
+ filterFn?: (opt: SelectOption, inputVal: string) => boolean;
53
+ /**
54
+ * True to hide the dropdown indicator, i.e. the down-facing arrow at the right of the Select.
55
+ * Defaults to true on tablets, false on desktop.
56
+ */
57
+ hideDropdownIndicator?: boolean;
58
+ /** True to suppress the default check icon rendered for the currently selected option. */
59
+ hideSelectedOptionCheck?: boolean;
60
+ /**
61
+ * True to hide options in the drop down menu if they have been selected.
62
+ * Defaults to same as enableMulti.
63
+ */
64
+ hideSelectedOptions?: boolean;
65
+ /** Field on provided options for sourcing each option's display text (default `label`). */
66
+ labelField?: string;
67
+ /** Icon to display inline on the left side of the input. */
68
+ leftIcon?: ReactElement;
69
+ /** Function to return loading message during an async query. Passed current query input. */
70
+ loadingMessageFn?: (query: string) => string;
71
+ /** Maximum height of the menu before scrolling. Defaults to 300px. */
72
+ maxMenuHeight?: number;
73
+ /** Placement of the dropdown menu relative to the input control. */
74
+ menuPlacement?: 'auto' | 'top' | 'bottom';
75
+ /** Width in pixels for the dropdown menu - if unspecified, defaults to control width. */
76
+ menuWidth?: number;
77
+ /** Function to return message indicating no options loaded. Passed current query input. */
78
+ noOptionsMessageFn?: (query: string) => string;
79
+ /** True to auto-open the dropdown menu on input focus. */
80
+ openMenuOnFocus?: boolean;
81
+ /**
82
+ * Function to render options in the dropdown list. Called for each option object (which
83
+ * will contain at minimum a value and label field, as well as any other fields present in
84
+ * the source objects).
85
+ */
86
+ optionRenderer?: (SelectOption: any) => ReactNode;
87
+ /**
88
+ * Preset list of options for selection. Elements can be either a primitive or an object.
89
+ * Primitives will be displayed via toString().
90
+ * Objects must have either:
91
+ * + A `label` property for display and a `value` property
92
+ * + A `label` property and an `options` property containing an array of sub-options
93
+ * to be grouped beneath the option. These sub-options must be either primitives or
94
+ * `label`:`value` pairs. Deeper nesting is unsupported.
95
+ *
96
+ * See also `queryFn` to supply options via an async query (i.e. from the server) instead
97
+ * of up-front in this prop.
98
+ */
99
+ options?: Array<SelectOption | any>;
100
+ /** Text to display when control is empty. */
101
+ placeholder?: string;
102
+ /**
103
+ * Delay (in ms) to buffer calls to the async queryFn. Defaults to 300.
104
+ */
105
+ queryBuffer?: number;
106
+ /**
107
+ * Async function to return a list of options for a given query string input.
108
+ * Replaces the `options` prop - use one or the other.
109
+ *
110
+ * For providing external (e.g. server-side) options based on user inputs. Not to be
111
+ * confused with `filterFn`, which should be used to filter through local options when
112
+ * not in async mode.
113
+ */
114
+ queryFn?: (query: string) => Awaitable<Array<SelectOption | any>>;
115
+ /**
116
+ * Escape-hatch props passed directly to react-select. Use with care - not all props
117
+ * in the react-select API are guaranteed to be supported by this Hoist component,
118
+ * and providing them directly can interfere with the implementation of this class.
119
+ */
120
+ rsOptions?: PlainObject;
121
+ /** True to select contents when control receives focus. */
122
+ selectOnFocus?: boolean;
123
+ /** Field on provided options for sourcing each option's value (default `value`). */
124
+ valueField?: string;
125
+ }
126
+ /**
127
+ * A managed wrapper around the React-Select combobox/dropdown component.
128
+ *
129
+ * Supports advanced options such as:
130
+ * + Asynchronous queries
131
+ * + Multiple selection
132
+ * + Custom dropdown option renderers
133
+ * + User-created ad-hoc entries
134
+ * + Use of the library react-windowed-select for improved performance on large option lists.
135
+ *
136
+ * See {@link https://react-select.com|React}
137
+ * See {@link https://github.com/jacobworrel/react-windowed-select}
138
+ */
139
+ export declare const Select: import("react").FC<SelectProps>, select: import("@xh/hoist/core").ElementFactory<SelectProps>;
@@ -0,0 +1,33 @@
1
+ import { HoistInputProps } from '@xh/hoist/cmp/input';
2
+ import { HoistProps, LayoutProps, Some } from '@xh/hoist/core';
3
+ import '@xh/hoist/desktop/register';
4
+ import { ReactNode } from 'react';
5
+ import './Slider.scss';
6
+ export interface SliderProps extends HoistProps, HoistInputProps, LayoutProps {
7
+ value?: Some<number>;
8
+ /** Maximum value */
9
+ max?: number;
10
+ /** Minimum value */
11
+ min?: number;
12
+ /**
13
+ * Callback to render each label, passed the number value for that label point.
14
+ * If true, labels will use number value formatted to labelStepSize decimal places.
15
+ * If false, labels will not be shown.
16
+ */
17
+ labelRenderer?: boolean | ((value: number) => ReactNode);
18
+ /** Increment between successive labels. Must be greater than zero. Defaults to 1. */
19
+ labelStepSize?: number;
20
+ /** Increment between values. Must be greater than zero. Defaults to 1. */
21
+ stepSize?: number;
22
+ /**
23
+ * True to render a solid bar between min and current values (for simple slider) or between
24
+ * handles (for range slider). Defaults to true.
25
+ */
26
+ showTrackFill?: boolean;
27
+ /** True to render in a vertical orientation. */
28
+ vertical?: boolean;
29
+ }
30
+ /**
31
+ * A slider input to edit either a single number or an array of two (for a range).
32
+ */
33
+ export declare const Slider: import("react").FC<SliderProps>, slider: import("@xh/hoist/core").ElementFactory<SliderProps>;
@@ -0,0 +1,21 @@
1
+ import { HoistInputProps } from '@xh/hoist/cmp/input';
2
+ import { HoistProps, HSide, StyleProps } from '@xh/hoist/core';
3
+ import '@xh/hoist/desktop/register';
4
+ import { ReactNode } from 'react';
5
+ import './SwitchInput.scss';
6
+ export interface SwitchInputProps extends HoistProps, HoistInputProps, StyleProps {
7
+ value?: boolean;
8
+ /** True if the control should appear as an inline element (defaults to true). */
9
+ inline?: boolean;
10
+ /**
11
+ * Label displayed adjacent to the control itself.
12
+ * Can be used with or without an additional overall label as provided by FormField.
13
+ */
14
+ label?: ReactNode;
15
+ /** Placement of the inline label relative to the control itself, default 'right'. */
16
+ labelSide?: HSide;
17
+ }
18
+ /**
19
+ * Switch (toggle) control for non-nullable boolean values.
20
+ */
21
+ export declare const SwitchInput: import("react").FC<SwitchInputProps>, switchInput: import("@xh/hoist/core").ElementFactory<SwitchInputProps>;
@@ -0,0 +1,26 @@
1
+ import { HoistInputProps } from '@xh/hoist/cmp/input';
2
+ import { LayoutProps, HoistProps, StyleProps } from '@xh/hoist/core';
3
+ import '@xh/hoist/desktop/register';
4
+ import { Ref } from 'react';
5
+ import './TextArea.scss';
6
+ export interface TextAreaProps extends HoistProps, HoistInputProps, LayoutProps, StyleProps {
7
+ value?: string;
8
+ /** True to focus the control on render. */
9
+ autoFocus?: boolean;
10
+ /** True to commit on every change/keystroke, default false. */
11
+ commitOnChange?: boolean;
12
+ /** Ref handler that receives HTML <input> element backing this component. */
13
+ inputRef?: Ref<HTMLInputElement>;
14
+ /** Callback for normalized keydown event. */
15
+ onKeyDown?: (e: KeyboardEvent) => void;
16
+ /** True to select contents when control receives focus. */
17
+ selectOnFocus?: boolean;
18
+ /** True to allow browser spell check, default false. */
19
+ spellCheck?: boolean;
20
+ /** Text to display when control is empty. */
21
+ placeholder?: string;
22
+ }
23
+ /**
24
+ * A multi-line text input.
25
+ */
26
+ export declare const TextArea: import("react").FC<TextAreaProps>, textArea: import("@xh/hoist/core").ElementFactory<TextAreaProps>;
@@ -0,0 +1,55 @@
1
+ import { HoistInputModel, HoistInputProps } from '@xh/hoist/cmp/input';
2
+ import { HoistProps, HSide, LayoutProps, StyleProps } from '@xh/hoist/core';
3
+ import '@xh/hoist/desktop/register';
4
+ import { ReactElement, ReactNode, Ref, FocusEvent } from 'react';
5
+ export interface TextInputProps extends HoistProps, HoistInputProps, LayoutProps, StyleProps {
6
+ value?: string;
7
+ /**
8
+ * HTML `autocomplete` attribute to set on underlying <input> element.
9
+ *
10
+ * Defaults to 'off' for fields of type text and 'new-password' for fields of type 'password'
11
+ * to defeat browser auto-completion, which is typically not desired in Hoist applications.
12
+ * Set to 'on' or a more specific autocomplete token to enable.
13
+ *
14
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofilling-form-controls%3A-the-autocomplete-attribute
15
+ * @see https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
16
+ */
17
+ autoComplete?: string;
18
+ /** True to focus the control on render. */
19
+ autoFocus?: boolean;
20
+ /** True to commit on every change/keystroke, default false. */
21
+ commitOnChange?: boolean;
22
+ /** True to show a "clear" button as the right element. default false */
23
+ enableClear?: boolean;
24
+ /** Ref handler that receives HTML <input> element backing this component. */
25
+ inputRef?: Ref<HTMLInputElement>;
26
+ /** Icon to display inline on the left side of the input. */
27
+ leftIcon?: ReactElement;
28
+ /** Callback for normalized keydown event. */
29
+ onKeyDown?: (e: KeyboardEvent) => void;
30
+ /** Text to display when control is empty. */
31
+ placeholder?: string;
32
+ /** Element to display inline on the right side of the input. */
33
+ rightElement?: ReactNode;
34
+ /** True to display with rounded caps. */
35
+ round?: boolean;
36
+ /** True to select contents when control receives focus. */
37
+ selectOnFocus?: boolean;
38
+ /** Alignment of entry text within control, default 'left'. */
39
+ textAlign?: HSide;
40
+ /** True to allow browser spell check, default false. */
41
+ spellCheck?: boolean;
42
+ /** Underlying HTML <input> element type. */
43
+ type?: 'text' | 'password';
44
+ }
45
+ /**
46
+ * A single-line text input with additional support for embedded icons/elements.
47
+ */
48
+ export declare const TextInput: import("react").FC<TextInputProps>, textInput: import("@xh/hoist/core").ElementFactory<TextInputProps>;
49
+ export declare class TextInputModel extends HoistInputModel {
50
+ xhImpl: boolean;
51
+ get commitOnChange(): any;
52
+ onChange: (ev: any) => void;
53
+ onKeyDown: (ev: KeyboardEvent) => void;
54
+ onFocus: (ev: FocusEvent) => void;
55
+ }
@@ -0,0 +1,12 @@
1
+ export * from './ButtonGroupInput';
2
+ export * from './Checkbox';
3
+ export * from './CodeInput';
4
+ export * from './DateInput';
5
+ export * from './JsonInput';
6
+ export * from './NumberInput';
7
+ export * from './RadioInput';
8
+ export * from './Select';
9
+ export * from './Slider';
10
+ export * from './SwitchInput';
11
+ export * from './TextArea';
12
+ export * from './TextInput';
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { BoxProps, HoistProps } from '@xh/hoist/core';
3
+ import '@xh/hoist/desktop/register';
4
+ import './LeftRightChooser.scss';
5
+ import { LeftRightChooserModel } from './LeftRightChooserModel';
6
+ export interface LeftRightChooserProps extends HoistProps<LeftRightChooserModel>, BoxProps {
7
+ }
8
+ /**
9
+ * A component for moving a list of items between two arbitrary groups. By convention, the left
10
+ * group represents 'available' items and the right group represents 'selected' items.
11
+ * A nested panel is also available to display a more in-depth description for any selected item.
12
+ * @see LeftRightChooserModel
13
+ */
14
+ export declare const LeftRightChooser: import("react").FC<LeftRightChooserProps>, leftRightChooser: import("@xh/hoist/core").ElementFactory<LeftRightChooserProps>;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { HoistProps } from '@xh/hoist/core';
3
+ import '@xh/hoist/desktop/register';
4
+ import { LeftRightChooserModel } from './LeftRightChooserModel';
5
+ export interface LeftRightChooserFilterProps extends HoistProps<LeftRightChooserModel> {
6
+ /** Names of fields in chooser on which to filter. Defaults to ['text', 'group'] */
7
+ fields?: string[];
8
+ /** True to prevent regex start line anchor from being added. */
9
+ anyMatch?: boolean;
10
+ }
11
+ /**
12
+ * A Component that can bind to a LeftRightChooser and filter both lists
13
+ * based on simple text matching in selected fields.
14
+ */
15
+ export declare const LeftRightChooserFilter: import("react").FC<LeftRightChooserFilterProps>, leftRightChooserFilter: import("@xh/hoist/core").ElementFactory<LeftRightChooserFilterProps>;
@@ -0,0 +1,83 @@
1
+ import { GridModel } from '@xh/hoist/cmp/grid';
2
+ import { HoistModel, HSide } from '@xh/hoist/core';
3
+ import '@xh/hoist/desktop/register';
4
+ import { FilterTestFn, StoreRecord } from '@xh/hoist/data';
5
+ export interface LeftRightChooserConfig {
6
+ data?: LeftRightChooserItem[];
7
+ /** True to globally prevent the user from moving items between sides. */
8
+ readonly?: boolean;
9
+ /** Callback for when items change sides. */
10
+ onChange?: () => void;
11
+ /** Placeholder group value when an item has no group. */
12
+ ungroupedName?: string;
13
+ /** True to display the count of items on each side in the header. */
14
+ showCounts?: boolean;
15
+ leftTitle?: string;
16
+ leftSorted?: boolean;
17
+ leftGroupingEnabled?: boolean;
18
+ leftGroupingExpanded?: boolean;
19
+ leftEmptyText?: string;
20
+ rightTitle?: string;
21
+ rightSorted?: boolean;
22
+ rightGroupingEnabled?: boolean;
23
+ rightGroupingExpanded?: boolean;
24
+ rightEmptyText?: string;
25
+ xhImpl?: boolean;
26
+ }
27
+ /** Data record object for a LeftRightChooser value item. */
28
+ export interface LeftRightChooserItem {
29
+ /** Primary label for the item. */
30
+ text: string;
31
+ /** Value that the item represents. */
32
+ value: any;
33
+ /** User-friendly, longer description of the item. */
34
+ description?: string;
35
+ /** Grid group in which to show the item. */
36
+ group?: string;
37
+ /** Initial side of the item - default 'left'. */
38
+ side?: HSide;
39
+ /** True to prevent the user from moving the item between sides. */
40
+ locked?: boolean;
41
+ exclude?: boolean;
42
+ }
43
+ /**
44
+ * A Model for managing the state of a LeftRightChooser.
45
+ */
46
+ export declare class LeftRightChooserModel extends HoistModel {
47
+ leftModel: GridModel;
48
+ rightModel: GridModel;
49
+ readonly: boolean;
50
+ onChange: () => void;
51
+ hasDescription: boolean;
52
+ leftGroupingEnabled: boolean;
53
+ rightGroupingEnabled: boolean;
54
+ leftGroupingExpanded: boolean;
55
+ rightGroupingExpanded: boolean;
56
+ private _hasGrouping;
57
+ private _ungroupedName;
58
+ private _data;
59
+ private _lastSelectedSide;
60
+ /**
61
+ * Filter for data rows to determine if they should be shown.
62
+ * Useful for helping users find values of interest in a large pool of rows.
63
+ *
64
+ * Note that this will *not* affect the actual 'value' property, which will continue
65
+ * to include unfiltered records.
66
+ *
67
+ * @see LeftRightChooserFilter - a component to easily control this field.
68
+ * @param fn - predicate function for filtering.
69
+ */
70
+ setDisplayFilter(fn: FilterTestFn): void;
71
+ /** Currently 'selected' values on the right hand side. */
72
+ get rightValues(): any[];
73
+ /** Currently 'selected' values on the left hand side. */
74
+ get leftValues(): any[];
75
+ constructor({ data, onChange, ungroupedName, leftTitle, leftSorted, leftGroupingEnabled, leftGroupingExpanded, leftEmptyText, readonly, rightTitle, rightSorted, rightGroupingEnabled, rightGroupingExpanded, rightEmptyText, showCounts, xhImpl }: LeftRightChooserConfig);
76
+ setData(data: LeftRightChooserItem[]): void;
77
+ moveRows(rows: StoreRecord[]): void;
78
+ private getTextColRenderer;
79
+ private preprocessData;
80
+ private onRowDoubleClicked;
81
+ private syncSelectionReaction;
82
+ private refreshStores;
83
+ }
@@ -0,0 +1,3 @@
1
+ import { LeftRightChooserModel } from '../LeftRightChooserModel';
2
+ /** @internal */
3
+ export declare const chooserToolbar: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<LeftRightChooserModel>>;
@@ -0,0 +1,3 @@
1
+ import { LeftRightChooserModel } from '../LeftRightChooserModel';
2
+ /** @internal */
3
+ export declare const description: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<LeftRightChooserModel>>;
@@ -0,0 +1,3 @@
1
+ export * from './LeftRightChooser';
2
+ export * from './LeftRightChooserModel';
3
+ export * from './LeftRightChooserFilter';
@@ -0,0 +1,27 @@
1
+ /// <reference types="react" />
2
+ import { Corner, HoistProps, Some, TaskObserver } from '@xh/hoist/core';
3
+ import '@xh/hoist/desktop/register';
4
+ import './LoadingIndicator.scss';
5
+ export interface LoadingIndicatorProps extends HoistProps {
6
+ /** TaskObserver(s) that should be monitored to determine if the Indicator should be displayed. */
7
+ bind?: Some<TaskObserver>;
8
+ /** Position of the indicator relative to its containing component. */
9
+ corner?: Corner;
10
+ /** True to display the indicator. */
11
+ isDisplayed?: boolean;
12
+ /** Max characters allowed in message, after which it will be elided. Default 30. */
13
+ maxMessageLength?: number;
14
+ /** Optional text to be displayed - can also be sourced from bound TaskObserver. */
15
+ message?: string;
16
+ /** True (default) to display with an animated spinner. */
17
+ spinner?: boolean;
18
+ }
19
+ /**
20
+ * A minimal / unobtrusive LoadingIndicator displaying an optional spinner and/or message to signal
21
+ * that a longer-running operation is in progress, without using a modal Mask. Can be explicitly
22
+ * shown or bound to one or more TaskObservers
23
+ *
24
+ * Note that the Panel component's `loadingIndicator` prop provides a common and convenient way to
25
+ * add an indicator to a Panel without needing to manually create or manage this component.
26
+ */
27
+ export declare const LoadingIndicator: import("react").FC<LoadingIndicatorProps>, loadingIndicator: import("@xh/hoist/core").ElementFactory<LoadingIndicatorProps>;
@@ -0,0 +1 @@
1
+ export * from './LoadingIndicator';
@@ -0,0 +1,27 @@
1
+ import { HoistProps, Some, TaskObserver } from '@xh/hoist/core';
2
+ import '@xh/hoist/desktop/register';
3
+ import { ReactNode, MouseEvent } from 'react';
4
+ import './Mask.scss';
5
+ export interface MaskProps extends HoistProps {
6
+ /** Task(s) that should be monitored to determine if the mask should be displayed. */
7
+ bind?: Some<TaskObserver>;
8
+ /** True (default) to contain mask within its parent, false to fill the viewport. */
9
+ inline?: boolean;
10
+ /** True to display mask. */
11
+ isDisplayed?: boolean;
12
+ /** Optional text to be displayed. */
13
+ message?: ReactNode;
14
+ /** Click handler **/
15
+ onClick?: (e: MouseEvent) => void;
16
+ /** True to display a spinning image. Default false. */
17
+ spinner?: boolean;
18
+ }
19
+ /**
20
+ * Mask with optional spinner and text.
21
+ *
22
+ * The mask can be explicitly controlled via props or bound to a Task.
23
+ *
24
+ * Note that the Panel component's `mask` prop provides a common and convenient method for masking
25
+ * sections of the UI without needing to manually create or manage this component.
26
+ */
27
+ export declare const Mask: import("react").FC<MaskProps>, mask: import("@xh/hoist/core").ElementFactory<MaskProps>;
@@ -0,0 +1 @@
1
+ export * from './Mask';
@@ -0,0 +1,16 @@
1
+ import '@xh/hoist/desktop/register';
2
+ import './ModalSupport.scss';
3
+ import { ModalSupportModel } from './ModalSupportModel';
4
+ /**
5
+ * A ModalSupport container provides the ability for its child component to expand into a modal
6
+ * state, without requiring its contents to re-render. All of the child component's state is
7
+ * preserved when toggling between inline and modal views.
8
+ *
9
+ * State and DOM refs are managed via a ModalSupportModel, which must be provided.
10
+ *
11
+ * Not intended for application use. Instead, make use of the modal support provided by
12
+ * {@link Panel}
13
+ *
14
+ * @internal
15
+ */
16
+ export declare const modalSupport: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<ModalSupportModel>>;
@@ -0,0 +1,30 @@
1
+ /// <reference types="react" />
2
+ import { HoistModel } from '@xh/hoist/core';
3
+ import '@xh/hoist/desktop/register';
4
+ export interface ModalSupportConfig {
5
+ width?: string | number;
6
+ height?: string | number;
7
+ defaultModal?: boolean;
8
+ canOutsideClickClose?: boolean;
9
+ }
10
+ /**
11
+ * Core Model for a ModalSupport component.
12
+ * This model will place its component's child in 1 of 2 managed DOM nodes (either modal or inline)
13
+ */
14
+ export declare class ModalSupportModel extends HoistModel {
15
+ xhImpl: boolean;
16
+ isModal: boolean;
17
+ width: string | number;
18
+ height: string | number;
19
+ canOutsideClickClose: boolean;
20
+ inlineRef: import("react").RefObject<HTMLElement> & ((instance: HTMLElement) => void);
21
+ modalRef: import("react").RefObject<HTMLElement> & ((instance: HTMLElement) => void);
22
+ hostNode: HTMLElement;
23
+ constructor({ width, height, defaultModal, canOutsideClickClose }?: ModalSupportConfig);
24
+ /**
25
+ * @returns Empty div set to inherit all styling from its parent
26
+ */
27
+ createHostNode(): HTMLElement;
28
+ toggleIsModal(): void;
29
+ destroy(): void;
30
+ }
@@ -0,0 +1,2 @@
1
+ export * from './ModalSupport';
2
+ export * from './ModalSupportModel';
@@ -0,0 +1,60 @@
1
+ import { BoxProps, HoistProps, Some, TaskObserver } from '@xh/hoist/core';
2
+ import '@xh/hoist/desktop/register';
3
+ import { ReactElement, ReactNode } from 'react';
4
+ import './Panel.scss';
5
+ import { PanelModel } from './PanelModel';
6
+ import { HotkeyConfig } from '@xh/hoist/kit/blueprint';
7
+ import { ContextMenuSpec } from '../contextmenu/ContextMenu';
8
+ export interface PanelProps extends HoistProps<PanelModel>, Omit<BoxProps, 'title'> {
9
+ /** True to style panel header (if displayed) with reduced padding and font-size. */
10
+ compactHeader?: boolean;
11
+ /** Items to be added to the right-side of the panel's header. */
12
+ headerItems?: ReactNode[];
13
+ /** An icon placed at the left-side of the panel's header. */
14
+ icon?: ReactElement;
15
+ /** Context Menu to show on context clicking this panel. */
16
+ contextMenu?: ContextMenuSpec;
17
+ /**
18
+ * Specification of hotkeys as prescribed by blueprint.
19
+ * @see useHotkeys() for more information on accepted values for this prop.
20
+ */
21
+ hotkeys?: HotkeyConfig[];
22
+ /**
23
+ * LoadingIndicator to render on this panel. Set to:
24
+ * + a ReactElement specifying a LoadingIndicator,
25
+ * + true for a default LoadingIndicator,
26
+ * + one or more tasks for a default LoadingIndicator bound to the tasks
27
+ * + the string 'onLoad' for a default LoadingIndicator bound to the loading of the current model.
28
+ */
29
+ loadingIndicator?: Some<TaskObserver> | ReactElement | boolean | 'onLoad';
30
+ /**
31
+ * Mask to render on this panel. Set to:
32
+ * + a ReactElement specifying a Mask instance,
33
+ * + true for a default mask,
34
+ * + one or more tasks for a default load mask bound to the tasks
35
+ * + the string 'onLoad' for a default load mask bound to the loading of the current model.
36
+ */
37
+ mask?: Some<TaskObserver> | ReactElement | boolean | 'onLoad';
38
+ /**
39
+ * A toolbar to be docked at the top of the panel.
40
+ * If specified as an array, items will be passed as children to a Toolbar component.
41
+ */
42
+ tbar?: Some<ReactNode>;
43
+ /**
44
+ * A toolbar to be docked at the top of the panel.
45
+ * If specified as an array, items will be passed as children to a Toolbar component.
46
+ */
47
+ bbar?: Some<ReactNode>;
48
+ /** Title text added to the panel's header. */
49
+ title?: ReactNode;
50
+ }
51
+ /**
52
+ * A Panel container builds on the lower-level layout components to offer a header element
53
+ * w/standardized styling, title, and Icon as well as support for top and bottom toolbars.
54
+ *
55
+ * Panels also support resizing and collapsing their contents via its `model` prop. Provide an
56
+ * optional `PanelModel` config as a prop to enable and customize these features.
57
+ *
58
+ * A Panel will accept a ref argument to provide access to its top level DOM element.
59
+ */
60
+ export declare const Panel: import("react").FC<PanelProps>, panel: import("@xh/hoist/core").ElementFactory<PanelProps>;