@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,18 @@
1
+ import { HoistProps } from '@xh/hoist/core';
2
+ import { ColChooserModel } from './ColChooserModel';
3
+ export interface ColChooserProps extends HoistProps<ColChooserModel> {
4
+ }
5
+ /**
6
+ * Hoist UI for user selection and discovery of available Grid columns, enabled via the
7
+ * GridModel.colChooserModel config option.
8
+ *
9
+ * This component displays both available and currently visible columns in two left/right
10
+ * grids, allowing users to toggle columns on and off within its associated grid.
11
+ *
12
+ * It derives its configuration primary from the Grid's Column definitions, supporting features such
13
+ * as custom column display names and descriptions, grouped display of the available column library,
14
+ * and a quick filter for long lists.
15
+ *
16
+ * @internal
17
+ */
18
+ export declare const colChooser: import("@xh/hoist/core").ElementFactory<ColChooserProps>;
@@ -0,0 +1,2 @@
1
+ import { ColChooserModel } from './ColChooserModel';
2
+ export declare const colChooserDialog: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<ColChooserModel>>;
@@ -0,0 +1,33 @@
1
+ import { GridModel } from '@xh/hoist/cmp/grid';
2
+ import { HoistModel } from '@xh/hoist/core';
3
+ import { LeftRightChooserModel } from '@xh/hoist/desktop/cmp/leftrightchooser';
4
+ /**
5
+ * State management for the ColChooser component.
6
+ * @internal
7
+ */
8
+ export declare class ColChooserModel extends HoistModel {
9
+ xhImpl: boolean;
10
+ gridModel: GridModel;
11
+ lrModel: LeftRightChooserModel;
12
+ isOpen: boolean;
13
+ isPopoverOpen: boolean;
14
+ commitOnChange: boolean;
15
+ showRestoreDefaults: boolean;
16
+ autosizeOnCommit: boolean;
17
+ width: number;
18
+ height: number;
19
+ constructor({ gridModel, commitOnChange, showRestoreDefaults, autosizeOnCommit, width, height }: {
20
+ gridModel: any;
21
+ commitOnChange?: boolean;
22
+ showRestoreDefaults?: boolean;
23
+ autosizeOnCommit?: boolean;
24
+ width?: number;
25
+ height?: number;
26
+ });
27
+ open(): void;
28
+ openPopover(): void;
29
+ close(): void;
30
+ commit(): void;
31
+ restoreDefaultsAsync(): Promise<void>;
32
+ syncChooserData(): void;
33
+ }
@@ -0,0 +1,9 @@
1
+ import './ColumnHeaderFilter.scss';
2
+ import { ColumnHeaderFilterModel } from './ColumnHeaderFilterModel';
3
+ /**
4
+ * Component to manage column filters from header. Will appear as a "filter" icon if filters are
5
+ * present and provides an appropriate dialog UI for managing the filters when clicked.
6
+ *
7
+ * @internal
8
+ */
9
+ export declare const columnHeaderFilter: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<ColumnHeaderFilterModel>>;
@@ -0,0 +1,38 @@
1
+ import { Column } from '@xh/hoist/cmp/grid';
2
+ import { TabContainerModel } from '@xh/hoist/cmp/tab';
3
+ import { HoistModel } from '@xh/hoist/core';
4
+ import { GridFilterModel, GridFilterFieldSpec } from '@xh/hoist/cmp/grid';
5
+ import { CustomTabModel } from './custom/CustomTabModel';
6
+ import { ValuesTabModel } from './values/ValuesTabModel';
7
+ export declare class ColumnHeaderFilterModel extends HoistModel {
8
+ xhImpl: boolean;
9
+ column: Column;
10
+ gridFilterModel: GridFilterModel;
11
+ fieldSpec: GridFilterFieldSpec;
12
+ isOpen: boolean;
13
+ tabContainerModel: TabContainerModel;
14
+ valuesTabModel: ValuesTabModel;
15
+ customTabModel: CustomTabModel;
16
+ get field(): string;
17
+ get store(): import("../../../../../data").Store;
18
+ get fieldType(): import("../../../../../data").FieldType;
19
+ get currentGridFilter(): import("../../../../../data").Filter;
20
+ get columnFilters(): import("../../../../../data").FieldFilter[];
21
+ get columnCompoundFilter(): import("../../../../../data").CompoundFilter;
22
+ get hasFilter(): boolean;
23
+ get hasPendingFilter(): boolean;
24
+ get isCustomFilter(): boolean;
25
+ get commitOnChange(): boolean;
26
+ constructor({ filterModel, column }: {
27
+ filterModel: any;
28
+ column: any;
29
+ });
30
+ commit(close?: boolean): void;
31
+ clear(close?: boolean): void;
32
+ openMenu(): void;
33
+ closeMenu(): void;
34
+ private syncWithFilter;
35
+ private setColumnFilters;
36
+ private doCommitOnChange;
37
+ private resetTabModels;
38
+ }
@@ -0,0 +1,11 @@
1
+ import { GridFilterModel } from '@xh/hoist/cmp/grid';
2
+ import './GridFilterDialog.scss';
3
+ /**
4
+ * Dialog for showing a read-only JSON representation of the currently applied grid filters.
5
+ *
6
+ * Applications should not create this component - it is created automatically for Grids with
7
+ * a GridFilterModel, and is available via the `gridFilter` action.
8
+ *
9
+ * @internal
10
+ */
11
+ export declare const gridFilterDialog: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<GridFilterModel>>;
@@ -0,0 +1,6 @@
1
+ import { CustomRowModel } from './CustomRowModel';
2
+ /**
3
+ * Row with operator and value combination for CustomTab.
4
+ * @internal
5
+ */
6
+ export declare const customRow: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<CustomRowModel>>;
@@ -0,0 +1,28 @@
1
+ import { HoistModel } from '@xh/hoist/core';
2
+ import { FieldFilterOperator, FieldFilterSpec } from '@xh/hoist/data';
3
+ import { ColumnHeaderFilterModel } from '@xh/hoist/desktop/cmp/grid/impl/filter/ColumnHeaderFilterModel';
4
+ import { CustomTabModel } from './CustomTabModel';
5
+ type OperatorOptionValue = 'blank' | 'not blank' | FieldFilterOperator;
6
+ /**
7
+ * @internal
8
+ */
9
+ export declare class CustomRowModel extends HoistModel {
10
+ xhImpl: boolean;
11
+ parentModel: CustomTabModel;
12
+ headerFilterModel: ColumnHeaderFilterModel;
13
+ op: OperatorOptionValue;
14
+ inputVal: any;
15
+ /** FieldFilter config output of this row. */
16
+ get value(): FieldFilterSpec;
17
+ get fieldSpec(): import("../../../../../../cmp/grid").GridFilterFieldSpec;
18
+ get options(): {
19
+ label: string;
20
+ value: OperatorOptionValue;
21
+ }[];
22
+ get commitOnChange(): boolean;
23
+ get hideInput(): boolean;
24
+ constructor(parentModel: CustomTabModel, op?: FieldFilterOperator, value?: any);
25
+ removeRow(): void;
26
+ getOperatorLabel(op: FieldFilterOperator): "includes" | "excludes" | "Equals" | "Not equals" | "Greater than" | "Greater than or equals" | "Less than" | "Less than or equals" | "Like" | "Not like" | "Begins with" | "Ends with";
27
+ }
28
+ export {};
@@ -0,0 +1,7 @@
1
+ import './CustomTab.scss';
2
+ import { CustomTabModel } from './CustomTabModel';
3
+ /**
4
+ * Tab for managing value based filters for Column.
5
+ * @internal
6
+ */
7
+ export declare const customTab: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<CustomTabModel>>;
@@ -0,0 +1,21 @@
1
+ import { HoistModel } from '@xh/hoist/core';
2
+ import { CompoundFilterOperator, FilterLike } from '@xh/hoist/data';
3
+ import { ColumnHeaderFilterModel } from '../ColumnHeaderFilterModel';
4
+ import { CustomRowModel } from './CustomRowModel';
5
+ export declare class CustomTabModel extends HoistModel {
6
+ xhImpl: boolean;
7
+ headerFilterModel: ColumnHeaderFilterModel;
8
+ op: CompoundFilterOperator;
9
+ rowModels: CustomRowModel[];
10
+ /** Filter config output by this model. */
11
+ get filter(): FilterLike;
12
+ get fieldSpec(): import("../../../../../../cmp/grid").GridFilterFieldSpec;
13
+ get currentGridFilter(): import("@xh/hoist/data").Filter;
14
+ get columnFilters(): import("@xh/hoist/data").FieldFilter[];
15
+ constructor(headerFilterModel: ColumnHeaderFilterModel);
16
+ syncWithFilter(): void;
17
+ reset(): void;
18
+ addEmptyRow(): void;
19
+ removeRow(model: any): void;
20
+ private doSyncWithFilter;
21
+ }
@@ -0,0 +1,7 @@
1
+ import './ValuesTab.scss';
2
+ import { ValuesTabModel } from './ValuesTabModel';
3
+ /**
4
+ * Tab for managing value based filters for Column.
5
+ * @internal
6
+ */
7
+ export declare const valuesTab: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<ValuesTabModel>>;
@@ -0,0 +1,33 @@
1
+ import { GridFilterModel, GridModel } from '@xh/hoist/cmp/grid';
2
+ import { HoistModel } from '@xh/hoist/core';
3
+ import { FieldFilterSpec } from '@xh/hoist/data';
4
+ import { ColumnHeaderFilterModel } from '../ColumnHeaderFilterModel';
5
+ export declare class ValuesTabModel extends HoistModel {
6
+ xhImpl: boolean;
7
+ headerFilterModel: ColumnHeaderFilterModel;
8
+ /** Checkbox grid to display enumerated set of values */
9
+ gridModel: GridModel;
10
+ /** List of currently checked values in the list*/
11
+ pendingValues: any[];
12
+ /** Bound search term for `StoreFilterField` */
13
+ filterText: string;
14
+ /** FieldFilter output by this model. */
15
+ get filter(): FieldFilterSpec;
16
+ get allVisibleRecsChecked(): boolean;
17
+ get field(): string;
18
+ get fieldSpec(): import("@xh/hoist/cmp/grid").GridFilterFieldSpec;
19
+ get columnFilters(): import("@xh/hoist/data").FieldFilter[];
20
+ get gridFilterModel(): GridFilterModel;
21
+ get values(): any[];
22
+ get valueCount(): number;
23
+ get hasHiddenValues(): boolean;
24
+ constructor(headerFilterModel: ColumnHeaderFilterModel);
25
+ syncWithFilter(): void;
26
+ reset(): void;
27
+ setRecsChecked(isChecked: boolean, values: any[]): void;
28
+ toggleAllRecsChecked(): void;
29
+ private getFilter;
30
+ private doSyncWithFilter;
31
+ private syncGrid;
32
+ private createGridModel;
33
+ }
@@ -0,0 +1,3 @@
1
+ export * from './columns/Actions';
2
+ export * from './find/GridFindField';
3
+ export * from './editors';
@@ -0,0 +1,26 @@
1
+ /// <reference types="react" />
2
+ import { GroupingChooserModel } from '@xh/hoist/cmp/grouping';
3
+ import { ButtonProps } from '@xh/hoist/desktop/cmp/button';
4
+ import '@xh/hoist/desktop/register';
5
+ import './GroupingChooser.scss';
6
+ export interface GroupingChooserProps extends ButtonProps<GroupingChooserModel> {
7
+ /** Text to represent empty state (i.e. value = null or []) */
8
+ emptyText?: string;
9
+ /** Min height in pixels of the popover menu itself. */
10
+ popoverMinHeight?: number;
11
+ /** Position of popover relative to target button. */
12
+ popoverPosition?: 'bottom' | 'top';
13
+ /** Title for popover (default "GROUP BY") or null to suppress. */
14
+ popoverTitle?: string;
15
+ /** Width in pixels of the popover menu itself. */
16
+ popoverWidth?: number;
17
+ /** True (default) to style target button as an input field - blends better in toolbars. */
18
+ styleButtonAsInput?: boolean;
19
+ }
20
+ /**
21
+ * Control for selecting a list of dimensions for grouping APIs, with built-in support for
22
+ * drag-and-drop reordering and user-managed favorites.
23
+ *
24
+ * @see GroupingChooserModel
25
+ */
26
+ export declare const GroupingChooser: import("react").FC<GroupingChooserProps>, groupingChooser: import("@xh/hoist/core").ElementFactory<GroupingChooserProps>;
@@ -0,0 +1,2 @@
1
+ export * from './GroupingChooser';
2
+ export * from '@xh/hoist/cmp/grouping/GroupingChooserModel';
@@ -0,0 +1,26 @@
1
+ /// <reference types="react" />
2
+ import { HoistInputProps } from '@xh/hoist/cmp/input';
3
+ import { HoistModel, Intent } from '@xh/hoist/core';
4
+ import { ButtonGroupProps } from '@xh/hoist/desktop/cmp/button';
5
+ import '@xh/hoist/desktop/register';
6
+ export interface ButtonGroupInputProps extends Omit<ButtonGroupProps<HoistModel>, 'onChange'>, HoistInputProps {
7
+ /**
8
+ * True to allow buttons to be unselected (aka inactivated). Defaults to false.
9
+ * Does not apply when enableMulti: true.
10
+ */
11
+ enableClear?: boolean;
12
+ /** True to allow entry/selection of multiple values - "tag picker" style. Defaults to false.*/
13
+ enableMulti?: boolean;
14
+ /** Intent applied to each button. */
15
+ intent?: Intent;
16
+ /** True to create outlined-style buttons. */
17
+ outlined?: boolean;
18
+ }
19
+ /**
20
+ * A segmented group of buttons, one of which is depressed to indicate the input's current value.
21
+ *
22
+ * Should receive a list of Buttons as a children. Each Button requires a 'value' prop.
23
+ * The buttons are automatically configured to set this value on click and appear pressed if the
24
+ * ButtonGroupInput's value matches.
25
+ */
26
+ export declare const ButtonGroupInput: import("react").FC<ButtonGroupInputProps>, buttonGroupInput: import("@xh/hoist/core").ElementFactory<ButtonGroupInputProps>;
@@ -0,0 +1,28 @@
1
+ import { HoistInputProps } from '@xh/hoist/cmp/input';
2
+ import { StyleProps, HoistProps, HSide } from '@xh/hoist/core';
3
+ import '@xh/hoist/desktop/register';
4
+ import { ReactNode } from 'react';
5
+ export interface CheckboxProps extends HoistProps, HoistInputProps, StyleProps {
6
+ value?: boolean;
7
+ /** True to focus the control on render. */
8
+ autoFocus?: boolean;
9
+ /** True (default) if the control should appear as an inline element. */
10
+ inline?: boolean;
11
+ /**
12
+ * Label displayed adjacent to the control itself.
13
+ * Can be used with or without an additional overall label as provided by FormField.
14
+ */
15
+ label?: ReactNode;
16
+ /**
17
+ * True to render null or undefined as a distinct visual state. If false (default),
18
+ * these values will appear unchecked and visually indistinct from false.
19
+ */
20
+ displayUnsetState?: boolean;
21
+ /** Placement of the inline label relative to the control itself, default 'right'. */
22
+ labelSide?: HSide;
23
+ }
24
+ /**
25
+ * Checkbox control for boolean values.
26
+ * Renders null with an "indeterminate" [-] display.
27
+ */
28
+ export declare const Checkbox: import("react").FC<CheckboxProps>, checkbox: import("@xh/hoist/core").ElementFactory<CheckboxProps>;
@@ -0,0 +1,80 @@
1
+ /// <reference types="react" />
2
+ import { HoistInputProps } from '@xh/hoist/cmp/input';
3
+ import { HoistProps, LayoutProps, PlainObject } from '@xh/hoist/core';
4
+ import '@xh/hoist/desktop/register';
5
+ import 'codemirror/addon/fold/brace-fold.js';
6
+ import 'codemirror/addon/fold/foldcode.js';
7
+ import 'codemirror/addon/fold/foldgutter.css';
8
+ import 'codemirror/addon/fold/foldgutter.js';
9
+ import 'codemirror/addon/lint/lint.css';
10
+ import 'codemirror/addon/lint/lint.js';
11
+ import 'codemirror/addon/scroll/simplescrollbars.css';
12
+ import 'codemirror/addon/scroll/simplescrollbars.js';
13
+ import 'codemirror/addon/search/searchcursor.js';
14
+ import 'codemirror/addon/selection/mark-selection.js';
15
+ import 'codemirror/lib/codemirror.css';
16
+ import 'codemirror/theme/dracula.css';
17
+ import './CodeInput.scss';
18
+ export interface CodeInputProps extends HoistProps, HoistInputProps, LayoutProps {
19
+ /** True to focus the control on render. */
20
+ autoFocus?: boolean;
21
+ /** True to commit on every change/keystroke, default false. */
22
+ commitOnChange?: boolean;
23
+ /**
24
+ * Configuration object with any properties supported by the CodeMirror API.
25
+ * @see {@link https://codemirror.net/doc/manual.html#api_configuration|CodeMirror Docs}
26
+ */
27
+ editorProps?: PlainObject;
28
+ /**
29
+ * True to enable case-insensitive searching within the input. Default false, except in
30
+ * fullscreen mode, where search will be shown unless explicitly *disabled*. Note that
31
+ * enabling search forces the display of a toolbar, regardless of `showToolbar` prop.
32
+ */
33
+ enableSearch?: boolean;
34
+ /**
35
+ * Callback to autoformat the code. Given the unformatted code, this should return a
36
+ * properly-formatted copy.
37
+ */
38
+ formatter?: (str: string) => string;
39
+ /**
40
+ * A CodeMirror linter to provide error detection and hinting in the gutter.
41
+ */
42
+ linter?: (text: string) => any[];
43
+ /**
44
+ * A CodeMirror language mode - default none (plain-text). See the CodeMirror docs
45
+ * ({@link https://codemirror.net/mode/}) regarding available modes.
46
+ * Applications must import any mode they wish to enable.
47
+ */
48
+ mode?: string;
49
+ /**
50
+ * True to prevent user modification of editor contents, while still allowing user to
51
+ * focus, select, and copy contents.
52
+ */
53
+ readonly?: boolean;
54
+ /** True (default) to display a copy button at bottom-right of input. */
55
+ showCopyButton?: boolean;
56
+ /**
57
+ * True (default) to display autoformat button at bottom-right of input. Requires a
58
+ * `formatter` to be configured and content to be editable (!readonly, !disabled).
59
+ */
60
+ showFormatButton?: boolean;
61
+ /** True (default) to display fullscreen button at bottom-right of input. */
62
+ showFullscreenButton?: boolean;
63
+ /**
64
+ * True to display action buttons and/or find functionality in a dedicated bottom toolbar.
65
+ * Default is false unless enableSearch==true or in fullscreen mode. When false, enabled
66
+ * action buttons show only when the input focused and float in the bottom-right corner.
67
+ */
68
+ showToolbar?: boolean;
69
+ }
70
+ /**
71
+ * Code-editor style input, powered by CodeMirror. Displays a gutter with line numbers, mono-spaced
72
+ * styling, and custom key handlers (e.g. tab to indent). Can be customized with options and
73
+ * language modes supported by the underlying CodeMirror library {@link https://codemirror.net/}.
74
+ *
75
+ * Note Hoist also provides a preconfigured {@link JsonInput} component for editing JSON.
76
+ *
77
+ * TODO - understanding sizing spec / requirements for component vs. generated CodeMirror.
78
+ * Reconcile LayoutSupport with width/height props. https://github.com/xh/hoist-react/issues/327
79
+ */
80
+ export declare const CodeInput: import("react").FC<CodeInputProps>, codeInput: import("@xh/hoist/core").ElementFactory<CodeInputProps>;
@@ -0,0 +1,117 @@
1
+ import { HoistInputProps } from '@xh/hoist/cmp/input';
2
+ import { HSide, Some, HoistProps, LayoutProps } from '@xh/hoist/core';
3
+ import '@xh/hoist/desktop/register';
4
+ import { Position } from '@xh/hoist/kit/blueprint';
5
+ import { LocalDate } from '@xh/hoist/utils/datetime';
6
+ import { ReactElement, ReactNode } from 'react';
7
+ import './DateInput.scss';
8
+ import { PopperBoundary, PopperModifiers } from '@blueprintjs/core';
9
+ import { ITimePickerProps } from '@blueprintjs/datetime';
10
+ import { DayPickerProps } from 'react-day-picker';
11
+ export interface DateInputProps extends HoistProps, LayoutProps, HoistInputProps {
12
+ value?: Date | LocalDate;
13
+ /** Props passed to ReactDayPicker component, as per DayPicker docs. */
14
+ dayPickerProps?: DayPickerProps;
15
+ /** Enable using the DatePicker popover. Default true. */
16
+ enablePicker?: boolean;
17
+ /** Enable using the text control to enter date as text. Default true. */
18
+ enableTextInput?: boolean;
19
+ /** True to show a "clear" button aligned to the right of the control. Default false. */
20
+ enableClear?: boolean;
21
+ /**
22
+ * MomentJS format string for date display. Defaults to `YYYY-MM-DD HH:mm:ss`,
23
+ * with default presence of time components determined by the timePrecision prop.
24
+ */
25
+ formatString?: string;
26
+ /**
27
+ * MomentJS format string(s) for date parsing. Defaults to the format string, followed by an
28
+ * additional set of common variants. Default presence of time components in these strings is
29
+ * determined by the timePrecision prop. Formats will be evaluated in priority order specified
30
+ * as described here: https://momentjs.com/guides/#/parsing/multiple-formats/
31
+ */
32
+ parseStrings?: Some<string>;
33
+ /**
34
+ * Month to display in calendar popover on first render.
35
+ *
36
+ * If unspecified will default to the month of the current value (if present) or closest
37
+ * valid value.
38
+ */
39
+ initialMonth?: Date | LocalDate;
40
+ /** Icon to display inline on the left side of the input. */
41
+ leftIcon?: ReactElement;
42
+ /**
43
+ * Element to display inline on the right side of the input. Note if provided, this will
44
+ * take the place of the (default) calendar-picker button and (optional) clear button.
45
+ */
46
+ rightElement?: ReactNode;
47
+ /**
48
+ * Maximum (inclusive) valid date that can be entered by the user via the calendar picker or
49
+ * keyboard. Will reset any out-of-bounds manually entered input to `null`.
50
+ *
51
+ * Note that this does not prevent the application from setting a value for this control
52
+ * programmatically out of this range. It is also distinct from FormModel based validation,
53
+ * which will flag an invalid date in a Form. For Form usages, it may be advisable to set
54
+ * validation constraints in addition to this property.
55
+ */
56
+ maxDate?: Date | LocalDate;
57
+ /**
58
+ * Maximum (inclusive) valid date that can be entered by the user via the calendar picker or
59
+ * keyboard. Will reset any out-of-bounds manually entered input to `null`.
60
+ *
61
+ * See note re. validation on maxDate, above.
62
+ */
63
+ minDate?: Date | LocalDate;
64
+ /** Text to display when control is empty. */
65
+ placeholder?: string;
66
+ /**
67
+ * Position for calendar popover, as per Blueprint docs.
68
+ * @see https://blueprintjs.com/docs/#datetime/dateinput
69
+ */
70
+ popoverPosition?: Position;
71
+ /** Boundary for calendar popover, as per Popper.js docs. Defaults to viewport. */
72
+ popoverBoundary?: PopperBoundary;
73
+ /** Modifiers for calendar popover, as per Blueprint docs. Defaults to null */
74
+ popoverModifiers?: PopperModifiers;
75
+ /** Container DOM element to render the calendar popover inside. Defaults to document body. */
76
+ portalContainer?: HTMLElement;
77
+ /** True to select contents when control receives focus. */
78
+ selectOnFocus?: boolean;
79
+ /** True to show a bar with Today + Clear buttons at bottom of date picker popover. */
80
+ showActionsBar?: boolean;
81
+ /** True to show the picker upon focusing the input. */
82
+ showPickerOnFocus?: boolean;
83
+ /**
84
+ * True to parse any dates entered via the text input with moment's "strict" mode enabled.
85
+ * This ensures that the input entry matches the format(s) specified by `parseStrings` exactly.
86
+ * If it does not, the input will be considered invalid and the value set to `null`.
87
+ * @see https://momentjs.com/guides/#/parsing/strict-mode/
88
+ */
89
+ strictInputParsing?: boolean;
90
+ /** Alignment of entry text within control, default 'left'. */
91
+ textAlign?: HSide;
92
+ /**
93
+ * Props passed to the TimePicker, as per Blueprint docs.
94
+ * @see https://blueprintjs.com/docs/#datetime/dateinput
95
+ */
96
+ timePickerProps?: ITimePickerProps;
97
+ /**
98
+ * The precision of time selection that accompanies the calendar.
99
+ * If undefined, control will not show time. Ignored when valueType is localDate.
100
+ */
101
+ timePrecision?: 'second' | 'minute';
102
+ /**
103
+ * Type of value to publish. Defaults to 'date'. The use of 'localDate' is often a good
104
+ * choice for use cases where there is no time component.
105
+ * @see LocalDate - the class that will be published when localDate mode.
106
+ */
107
+ valueType?: 'date' | 'localDate';
108
+ }
109
+ /**
110
+ * A Calendar Control for choosing a Date.
111
+ *
112
+ * By default this control emits dates with the time component cleared (set to midnight), but this
113
+ * can be customized via the timePrecision prop to support editing of a date and time together.
114
+ *
115
+ * The calendar popover can be opened via the built-in button or up/down arrow keyboard shortcuts.
116
+ */
117
+ export declare const DateInput: import("react").FC<DateInputProps>, dateInput: import("@xh/hoist/core").ElementFactory<DateInputProps>;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import '@xh/hoist/desktop/register';
3
+ import 'codemirror/mode/javascript/javascript';
4
+ import { CodeInputProps } from './CodeInput';
5
+ export type JsonInputProps = CodeInputProps;
6
+ /**
7
+ * Code-editor style input for editing and validating JSON, powered by CodeMirror.
8
+ */
9
+ export declare const JsonInput: import("react").FC<CodeInputProps>, jsonInput: import("@xh/hoist/core").ElementFactory<CodeInputProps>;
@@ -0,0 +1,77 @@
1
+ import { HoistInputProps } from '@xh/hoist/cmp/input';
2
+ import { HoistProps, StyleProps, LayoutProps, HSide } from '@xh/hoist/core';
3
+ import '@xh/hoist/desktop/register';
4
+ import { ReactElement, ReactNode, Ref } from 'react';
5
+ export interface NumberInputProps extends HoistProps, LayoutProps, StyleProps, HoistInputProps {
6
+ value?: number;
7
+ /** True to focus the control on render. */
8
+ autoFocus?: boolean;
9
+ /** True to commit on every change/keystroke, default false. */
10
+ commitOnChange?: boolean;
11
+ /** True to insert commas in displayed value. */
12
+ displayWithCommas?: boolean;
13
+ /** True to convert entries suffixed with k/m/b to thousands/millions/billions. */
14
+ enableShorthandUnits?: boolean;
15
+ /** Ref handler that receives HTML <input> element backing this component. */
16
+ inputRef?: Ref<HTMLInputElement>;
17
+ /** Icon to display inline on the left side of the input. */
18
+ leftIcon?: ReactElement;
19
+ /**
20
+ * Minimum value. Note that this will govern the smallest value that this control can produce
21
+ * via user input. Smaller values passed to it via props or a bound model will still be displayed.
22
+ */
23
+ min?: number;
24
+ /**
25
+ * Maximum value. Note that this will govern the largest value that this control can produce
26
+ * via user input. Larger values passed to it via props or a bound model will still be displayed.
27
+ */
28
+ max?: number;
29
+ /** Minor step size for increment/decrement handling. */
30
+ minorStepSize?: number;
31
+ /** Major step size for increment/decrement handling. */
32
+ majorStepSize?: number;
33
+ /** Callback for normalized keydown event. */
34
+ onKeyDown?: (e: KeyboardEvent) => void;
35
+ /** Text to display when control is empty. */
36
+ placeholder?: string;
37
+ /** Max decimal precision of the value, defaults to 4. */
38
+ precision?: number;
39
+ /** Element to display inline on the right side of the input. */
40
+ rightElement?: ReactNode;
41
+ /**
42
+ * Scale factor to apply when converting between the internal and external value. Useful for
43
+ * cases such as handling a percentage value where the user would expect to see or input 20 but
44
+ * the external value the input is bound to should be 0.2. Must be a factor of 10.
45
+ * Defaults to 1 (no scaling applied).
46
+ */
47
+ scaleFactor?: number;
48
+ /** True to select contents when control receives focus. */
49
+ selectOnFocus?: boolean;
50
+ /** Standard step size for increment/decrement handling. */
51
+ stepSize?: number;
52
+ /** Alignment of entry text within control, default 'right'. */
53
+ textAlign?: HSide;
54
+ /**
55
+ * Text appended to the rendered value within control when not editing.
56
+ * Can be used to append e.g. "%" or a unit without need for an external right label.
57
+ */
58
+ valueLabel?: string;
59
+ /** True to pad with trailing zeros out to precision, default false. */
60
+ zeroPad?: boolean;
61
+ }
62
+ /**
63
+ * Number input, with optional support for formatting of display value, shorthand units, and more.
64
+ *
65
+ * This component is built on the Blueprint NumericInput and gets default increment/decrement
66
+ * functionality from that component, based on the three stepSize props.
67
+ *
68
+ * This Hoist component hides the up/down buttons by default but keeps the keyboard handling.
69
+ * Users can use the following keys to increment/decrement:
70
+ *
71
+ * ↑/↓ by one step
72
+ * Shift + ↑/↓ by one major step
73
+ * Alt + ↑/↓ by one minor step
74
+ *
75
+ * Set the corresponding stepSize prop(s) to null to disable this feature.
76
+ */
77
+ export declare const NumberInput: import("react").FC<NumberInputProps>, numberInput: import("@xh/hoist/core").ElementFactory<NumberInputProps>;
@@ -0,0 +1,22 @@
1
+ /// <reference types="react" />
2
+ import { HoistInputProps } from '@xh/hoist/cmp/input';
3
+ import { HoistProps, HSide } from '@xh/hoist/core';
4
+ import '@xh/hoist/desktop/register';
5
+ import './RadioInput.scss';
6
+ export interface RadioInputProps extends HoistProps, HoistInputProps {
7
+ /** True to display each radio button inline with each other. */
8
+ inline?: boolean;
9
+ /** Placement of each option's label relative its radio button, default 'right'. */
10
+ labelSide?: HSide;
11
+ /** Array of available options */
12
+ options: (RadioOption | any)[];
13
+ }
14
+ export interface RadioOption {
15
+ value: any;
16
+ label?: string;
17
+ disabled?: boolean;
18
+ }
19
+ /**
20
+ * An input for managing Radio Buttons.
21
+ */
22
+ export declare const RadioInput: import("react").FC<RadioInputProps>, radioInput: import("@xh/hoist/core").ElementFactory<RadioInputProps>;