@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.
- package/CHANGELOG.md +22 -3
- package/build/types/admin/AppComponent.d.ts +4 -0
- package/build/types/admin/AppModel.d.ts +13 -0
- package/build/types/admin/columns/Core.d.ts +6 -0
- package/build/types/admin/columns/Rest.d.ts +5 -0
- package/build/types/admin/columns/Tracking.d.ts +18 -0
- package/build/types/admin/columns/User.d.ts +9 -0
- package/build/types/admin/columns/UserData.d.ts +7 -0
- package/build/types/admin/columns/index.d.ts +5 -0
- package/build/types/admin/differ/Differ.d.ts +2 -0
- package/build/types/admin/differ/DifferDetail.d.ts +3 -0
- package/build/types/admin/differ/DifferDetailModel.d.ts +17 -0
- package/build/types/admin/differ/DifferModel.d.ts +43 -0
- package/build/types/admin/regroup/RegroupDialog.d.ts +2 -0
- package/build/types/admin/regroup/RegroupDialogModel.d.ts +20 -0
- package/build/types/admin/tabs/activity/ActivityTab.d.ts +2 -0
- package/build/types/admin/tabs/activity/aggregators/RangeAggregator.d.ts +8 -0
- package/build/types/admin/tabs/activity/clienterrors/ClientErrorDetail.d.ts +2 -0
- package/build/types/admin/tabs/activity/clienterrors/ClientErrorsModel.d.ts +30 -0
- package/build/types/admin/tabs/activity/clienterrors/ClientErrorsPanel.d.ts +2 -0
- package/build/types/admin/tabs/activity/feedback/FeedbackPanel.d.ts +1 -0
- package/build/types/admin/tabs/activity/tracking/ActivityTrackingModel.d.ts +50 -0
- package/build/types/admin/tabs/activity/tracking/ActivityTrackingPanel.d.ts +2 -0
- package/build/types/admin/tabs/activity/tracking/charts/ChartsModel.d.ts +32 -0
- package/build/types/admin/tabs/activity/tracking/charts/ChartsPanel.d.ts +2 -0
- package/build/types/admin/tabs/activity/tracking/detail/ActivityDetailModel.d.ts +15 -0
- package/build/types/admin/tabs/activity/tracking/detail/ActivityDetailView.d.ts +2 -0
- package/build/types/admin/tabs/general/GeneralTab.d.ts +1 -0
- package/build/types/admin/tabs/general/about/AboutPanel.d.ts +2 -0
- package/build/types/admin/tabs/general/alertBanner/AlertBannerModel.d.ts +24 -0
- package/build/types/admin/tabs/general/alertBanner/AlertBannerPanel.d.ts +3 -0
- package/build/types/admin/tabs/general/config/ConfigPanel.d.ts +2 -0
- package/build/types/admin/tabs/general/config/ConfigPanelModel.d.ts +19 -0
- package/build/types/admin/tabs/general/users/UserModel.d.ts +12 -0
- package/build/types/admin/tabs/general/users/UserPanel.d.ts +2 -0
- package/build/types/admin/tabs/monitor/MonitorColumns.d.ts +15 -0
- package/build/types/admin/tabs/monitor/MonitorEditorPanel.d.ts +1 -0
- package/build/types/admin/tabs/monitor/MonitorResultsModel.d.ts +17 -0
- package/build/types/admin/tabs/monitor/MonitorResultsPanel.d.ts +3 -0
- package/build/types/admin/tabs/monitor/MonitorResultsToolbar.d.ts +2 -0
- package/build/types/admin/tabs/monitor/MonitorTab.d.ts +1 -0
- package/build/types/admin/tabs/monitor/Tile.d.ts +2 -0
- package/build/types/admin/tabs/server/ServerTab.d.ts +1 -0
- package/build/types/admin/tabs/server/ehcache/EhCacheModel.d.ts +10 -0
- package/build/types/admin/tabs/server/ehcache/EhCachePanel.d.ts +2 -0
- package/build/types/admin/tabs/server/environment/ServerEnvModel.d.ts +11 -0
- package/build/types/admin/tabs/server/environment/ServerEnvPanel.d.ts +2 -0
- package/build/types/admin/tabs/server/logLevel/LogLevelColumns.d.ts +5 -0
- package/build/types/admin/tabs/server/logLevel/LogLevelPanel.d.ts +1 -0
- package/build/types/admin/tabs/server/logViewer/LogDisplay.d.ts +6 -0
- package/build/types/admin/tabs/server/logViewer/LogDisplayModel.d.ts +29 -0
- package/build/types/admin/tabs/server/logViewer/LogViewer.d.ts +3 -0
- package/build/types/admin/tabs/server/logViewer/LogViewerModel.d.ts +23 -0
- package/build/types/admin/tabs/server/memory/MemoryMonitorModel.d.ts +15 -0
- package/build/types/admin/tabs/server/memory/MemoryMonitorPanel.d.ts +2 -0
- package/build/types/admin/tabs/server/services/ServiceModel.d.ts +8 -0
- package/build/types/admin/tabs/server/services/ServicePanel.d.ts +2 -0
- package/build/types/admin/tabs/server/websocket/WebSocketColumns.d.ts +8 -0
- package/build/types/admin/tabs/server/websocket/WebSocketModel.d.ts +12 -0
- package/build/types/admin/tabs/server/websocket/WebSocketPanel.d.ts +2 -0
- package/build/types/admin/tabs/userData/JsonBlobColumns.d.ts +9 -0
- package/build/types/admin/tabs/userData/JsonBlobModel.d.ts +15 -0
- package/build/types/admin/tabs/userData/JsonBlobPanel.d.ts +2 -0
- package/build/types/admin/tabs/userData/PreferenceModel.d.ts +16 -0
- package/build/types/admin/tabs/userData/PreferencePanel.d.ts +2 -0
- package/build/types/admin/tabs/userData/UserDataTab.d.ts +1 -0
- package/build/types/admin/tabs/userData/UserPreferencePanel.d.ts +1 -0
- package/build/types/appcontainer/AboutDialogModel.d.ts +15 -0
- package/build/types/appcontainer/AppContainerModel.d.ts +43 -0
- package/build/types/appcontainer/AppOption.d.ts +23 -0
- package/build/types/appcontainer/BannerModel.d.ts +26 -0
- package/build/types/appcontainer/BannerSourceModel.d.ts +15 -0
- package/build/types/appcontainer/ChangelogDialogModel.d.ts +9 -0
- package/build/types/appcontainer/ErrorBoundary.d.ts +16 -0
- package/build/types/appcontainer/ExceptionDialogModel.d.ts +28 -0
- package/build/types/appcontainer/FeedbackDialogModel.d.ts +24 -0
- package/build/types/appcontainer/ImpersonationBarModel.d.ts +20 -0
- package/build/types/appcontainer/MessageModel.d.ts +35 -0
- package/build/types/appcontainer/MessageSourceModel.d.ts +18 -0
- package/build/types/appcontainer/OptionsDialogModel.d.ts +23 -0
- package/build/types/appcontainer/SizingModeModel.d.ts +13 -0
- package/build/types/appcontainer/ThemeModel.d.ts +13 -0
- package/build/types/appcontainer/ToastModel.d.ts +27 -0
- package/build/types/appcontainer/ToastSourceModel.d.ts +13 -0
- package/build/types/appcontainer/ViewportSizeModel.d.ts +19 -0
- package/build/types/appcontainer/login/LoginPanelModel.d.ts +15 -0
- package/build/types/cmp/ag-grid/AgGrid.d.ts +31 -0
- package/build/types/cmp/ag-grid/AgGridModel.d.ts +183 -0
- package/build/types/cmp/ag-grid/index.d.ts +2 -0
- package/build/types/cmp/badge/Badge.d.ts +13 -0
- package/build/types/cmp/badge/index.d.ts +1 -0
- package/build/types/cmp/chart/Chart.d.ts +18 -0
- package/build/types/cmp/chart/ChartModel.d.ts +48 -0
- package/build/types/cmp/chart/impl/copyToClipboard.d.ts +6 -0
- package/build/types/cmp/chart/impl/zoomout.d.ts +5 -0
- package/build/types/cmp/chart/index.d.ts +2 -0
- package/build/types/cmp/chart/theme/Dark.d.ts +216 -0
- package/build/types/cmp/chart/theme/Light.d.ts +193 -0
- package/build/types/cmp/clock/Clock.d.ts +26 -0
- package/build/types/cmp/clock/index.d.ts +1 -0
- package/build/types/cmp/dataview/DataView.d.ts +22 -0
- package/build/types/cmp/dataview/DataViewModel.d.ts +103 -0
- package/build/types/cmp/dataview/index.d.ts +2 -0
- package/build/types/cmp/filter/FilterChooserFieldSpec.d.ts +39 -0
- package/build/types/cmp/filter/FilterChooserModel.d.ts +130 -0
- package/build/types/cmp/filter/impl/Option.d.ts +47 -0
- package/build/types/cmp/filter/impl/QueryEngine.d.ts +29 -0
- package/build/types/cmp/filter/index.d.ts +1 -0
- package/build/types/cmp/form/BaseFormFieldProps.d.ts +33 -0
- package/build/types/cmp/form/Form.d.ts +35 -0
- package/build/types/cmp/form/FormModel.d.ts +130 -0
- package/build/types/cmp/form/field/BaseFieldModel.d.ts +156 -0
- package/build/types/cmp/form/field/FieldModel.d.ts +11 -0
- package/build/types/cmp/form/field/SubformsFieldModel.d.ts +65 -0
- package/build/types/cmp/form/index.d.ts +6 -0
- package/build/types/cmp/grid/Grid.d.ts +39 -0
- package/build/types/cmp/grid/GridAutosizeOptions.d.ts +44 -0
- package/build/types/cmp/grid/GridContextMenu.d.ts +28 -0
- package/build/types/cmp/grid/GridModel.d.ts +556 -0
- package/build/types/cmp/grid/GridSorter.d.ts +23 -0
- package/build/types/cmp/grid/Types.d.ts +274 -0
- package/build/types/cmp/grid/columns/Column.d.ts +362 -0
- package/build/types/cmp/grid/columns/ColumnGroup.d.ts +56 -0
- package/build/types/cmp/grid/columns/Core.d.ts +9 -0
- package/build/types/cmp/grid/columns/DatesTimes.d.ts +12 -0
- package/build/types/cmp/grid/columns/index.d.ts +4 -0
- package/build/types/cmp/grid/enums/ExcelFormat.d.ts +33 -0
- package/build/types/cmp/grid/enums/GridAutosizeMode.d.ts +24 -0
- package/build/types/cmp/grid/enums/TreeStyle.d.ts +15 -0
- package/build/types/cmp/grid/filter/GridFilterFieldSpec.d.ts +38 -0
- package/build/types/cmp/grid/filter/GridFilterModel.d.ts +44 -0
- package/build/types/cmp/grid/helpers/GridCountLabel.d.ts +25 -0
- package/build/types/cmp/grid/impl/ColumnGroupHeader.d.ts +24 -0
- package/build/types/cmp/grid/impl/ColumnHeader.d.ts +55 -0
- package/build/types/cmp/grid/impl/ColumnWidthCalculator.d.ts +41 -0
- package/build/types/cmp/grid/impl/GridPersistenceModel.d.ts +34 -0
- package/build/types/cmp/grid/impl/MenuSupport.d.ts +7 -0
- package/build/types/cmp/grid/impl/RowKeyNavSupport.d.ts +11 -0
- package/build/types/cmp/grid/impl/Utils.d.ts +5 -0
- package/build/types/cmp/grid/index.d.ts +15 -0
- package/build/types/cmp/grid/renderers/MultiFieldRenderer.d.ts +27 -0
- package/build/types/cmp/grid/renderers/TagsRenderer.d.ts +3 -0
- package/build/types/cmp/grouping/GroupingChooserModel.d.ts +89 -0
- package/build/types/cmp/grouping/index.d.ts +1 -0
- package/build/types/cmp/input/HoistInputModel.d.ts +148 -0
- package/build/types/cmp/input/HoistInputProps.d.ts +19 -0
- package/build/types/cmp/input/index.d.ts +2 -0
- package/build/types/cmp/layout/Box.d.ts +17 -0
- package/build/types/cmp/layout/Frame.d.ts +15 -0
- package/build/types/cmp/layout/Placeholder.d.ts +12 -0
- package/build/types/cmp/layout/Spacer.d.ts +15 -0
- package/build/types/cmp/layout/Tags.d.ts +32 -0
- package/build/types/cmp/layout/TileFrame.d.ts +38 -0
- package/build/types/cmp/layout/Viewport.d.ts +9 -0
- package/build/types/cmp/layout/index.d.ts +7 -0
- package/build/types/cmp/pinpad/PinPad.d.ts +10 -0
- package/build/types/cmp/pinpad/PinPadModel.d.ts +35 -0
- package/build/types/cmp/pinpad/index.d.ts +2 -0
- package/build/types/cmp/relativetimestamp/RelativeTimestamp.d.ts +46 -0
- package/build/types/cmp/relativetimestamp/index.d.ts +1 -0
- package/build/types/cmp/spinner/Spinner.d.ts +16 -0
- package/build/types/cmp/spinner/index.d.ts +1 -0
- package/build/types/cmp/store/StoreCountLabel.d.ts +18 -0
- package/build/types/cmp/store/StoreFilterField.d.ts +82 -0
- package/build/types/cmp/store/impl/StoreFilterFieldImplModel.d.ts +23 -0
- package/build/types/cmp/store/index.d.ts +2 -0
- package/build/types/cmp/tab/TabContainer.d.ts +20 -0
- package/build/types/cmp/tab/TabContainerModel.d.ts +114 -0
- package/build/types/cmp/tab/TabModel.d.ts +71 -0
- package/build/types/cmp/tab/TabSwitcherProps.d.ts +16 -0
- package/build/types/cmp/tab/index.d.ts +4 -0
- package/build/types/cmp/websocket/WebSocketIndicator.d.ts +10 -0
- package/build/types/cmp/websocket/index.d.ts +1 -0
- package/build/types/core/AppSpec.d.ts +106 -0
- package/build/types/core/AppState.d.ts +13 -0
- package/build/types/core/HoistAppModel.d.ts +81 -0
- package/build/types/core/HoistBase.d.ts +160 -0
- package/build/types/core/HoistBaseDecorators.d.ts +20 -0
- package/build/types/core/HoistComponent.d.ts +109 -0
- package/build/types/core/HoistProps.d.ts +91 -0
- package/build/types/core/HoistService.d.ts +56 -0
- package/build/types/core/RefreshContextView.d.ts +11 -0
- package/build/types/core/RouterModel.d.ts +41 -0
- package/build/types/core/TaskObserver.d.ts +75 -0
- package/build/types/core/XH.d.ts +358 -0
- package/build/types/core/elem.d.ts +55 -0
- package/build/types/core/enums/RefreshMode.d.ts +16 -0
- package/build/types/core/enums/RenderMode.d.ts +13 -0
- package/build/types/core/enums/SizingMode.d.ts +10 -0
- package/build/types/core/exception/Exception.d.ts +63 -0
- package/build/types/core/exception/ExceptionHandler.d.ts +121 -0
- package/build/types/core/exception/Types.d.ts +50 -0
- package/build/types/core/impl/InstallServices.d.ts +18 -0
- package/build/types/core/impl/InstanceManager.d.ts +19 -0
- package/build/types/core/impl/PlatformManager.d.ts +13 -0
- package/build/types/core/index.d.ts +24 -0
- package/build/types/core/load/LoadSpec.d.ts +50 -0
- package/build/types/core/load/LoadSupport.d.ts +36 -0
- package/build/types/core/load/Loadable.d.ts +48 -0
- package/build/types/core/load/index.d.ts +3 -0
- package/build/types/core/model/CreatesSpec.d.ts +29 -0
- package/build/types/core/model/HoistModel.d.ts +121 -0
- package/build/types/core/model/Hooks.d.ts +28 -0
- package/build/types/core/model/ManagedRefreshContextModel.d.ts +23 -0
- package/build/types/core/model/ModelLookup.d.ts +27 -0
- package/build/types/core/model/ModelSelector.d.ts +28 -0
- package/build/types/core/model/ModelSpec.d.ts +30 -0
- package/build/types/core/model/RefreshContextModel.d.ts +45 -0
- package/build/types/core/model/RootRefreshContextModel.d.ts +14 -0
- package/build/types/core/model/UsesSpec.d.ts +49 -0
- package/build/types/core/model/index.d.ts +10 -0
- package/build/types/core/persist/CustomProvider.d.ts +16 -0
- package/build/types/core/persist/DashViewProvider.d.ts +11 -0
- package/build/types/core/persist/LocalStorageProvider.d.ts +11 -0
- package/build/types/core/persist/PersistOptions.d.ts +31 -0
- package/build/types/core/persist/PersistenceProvider.d.ts +49 -0
- package/build/types/core/persist/PrefProvider.d.ts +11 -0
- package/build/types/core/persist/index.d.ts +6 -0
- package/build/types/core/types/Interfaces.d.ts +232 -0
- package/build/types/core/types/Types.d.ts +41 -0
- package/build/types/data/Field.d.ts +72 -0
- package/build/types/data/RecordAction.d.ts +114 -0
- package/build/types/data/Store.d.ts +386 -0
- package/build/types/data/StoreRecord.d.ts +167 -0
- package/build/types/data/StoreSelectionModel.d.ts +52 -0
- package/build/types/data/UrlStore.d.ts +26 -0
- package/build/types/data/cube/BucketSpec.d.ts +13 -0
- package/build/types/data/cube/Cube.d.ts +159 -0
- package/build/types/data/cube/CubeField.d.ts +52 -0
- package/build/types/data/cube/Query.d.ts +63 -0
- package/build/types/data/cube/View.d.ts +97 -0
- package/build/types/data/cube/aggregate/AggregationContext.d.ts +21 -0
- package/build/types/data/cube/aggregate/Aggregator.d.ts +40 -0
- package/build/types/data/cube/aggregate/AverageAggregator.d.ts +4 -0
- package/build/types/data/cube/aggregate/AverageStrictAggregator.d.ts +5 -0
- package/build/types/data/cube/aggregate/ChildCountAggregator.d.ts +5 -0
- package/build/types/data/cube/aggregate/LeafCountAggregator.d.ts +5 -0
- package/build/types/data/cube/aggregate/MaxAggregator.d.ts +5 -0
- package/build/types/data/cube/aggregate/MinAggregator.d.ts +5 -0
- package/build/types/data/cube/aggregate/NullAggregator.d.ts +4 -0
- package/build/types/data/cube/aggregate/SingleAggregator.d.ts +4 -0
- package/build/types/data/cube/aggregate/SumAggregator.d.ts +5 -0
- package/build/types/data/cube/aggregate/SumStrictAggregator.d.ts +5 -0
- package/build/types/data/cube/aggregate/UniqueAggregator.d.ts +5 -0
- package/build/types/data/cube/row/AggregateRow.d.ts +13 -0
- package/build/types/data/cube/row/BaseRow.d.ts +27 -0
- package/build/types/data/cube/row/BucketRow.d.ts +12 -0
- package/build/types/data/cube/row/LeafRow.d.ts +12 -0
- package/build/types/data/cube/row/RowUpdate.d.ts +10 -0
- package/build/types/data/filter/BaseFilterFieldSpec.d.ts +73 -0
- package/build/types/data/filter/CompoundFilter.d.ts +23 -0
- package/build/types/data/filter/FieldFilter.d.ts +32 -0
- package/build/types/data/filter/Filter.d.ts +25 -0
- package/build/types/data/filter/FunctionFilter.d.ts +20 -0
- package/build/types/data/filter/Types.d.ts +31 -0
- package/build/types/data/filter/Utils.d.ts +49 -0
- package/build/types/data/impl/RecordSet.d.ts +44 -0
- package/build/types/data/impl/RecordValidator.d.ts +39 -0
- package/build/types/data/impl/StoreValidator.d.ts +47 -0
- package/build/types/data/index.d.ts +31 -0
- package/build/types/data/validation/Rule.d.ts +51 -0
- package/build/types/data/validation/ValidationState.d.ts +6 -0
- package/build/types/data/validation/constraints.d.ts +64 -0
- package/build/types/deprecated/index.d.ts +0 -0
- package/build/types/desktop/appcontainer/AboutDialog.d.ts +11 -0
- package/build/types/desktop/appcontainer/AppContainer.d.ts +13 -0
- package/build/types/desktop/appcontainer/Banner.d.ts +8 -0
- package/build/types/desktop/appcontainer/ChangelogDialog.d.ts +3 -0
- package/build/types/desktop/appcontainer/ExceptionDialog.d.ts +13 -0
- package/build/types/desktop/appcontainer/ExceptionDialogDetails.d.ts +8 -0
- package/build/types/desktop/appcontainer/FeedbackDialog.d.ts +6 -0
- package/build/types/desktop/appcontainer/IdlePanel.d.ts +8 -0
- package/build/types/desktop/appcontainer/ImpersonationBar.d.ts +9 -0
- package/build/types/desktop/appcontainer/LockoutPanel.d.ts +8 -0
- package/build/types/desktop/appcontainer/LoginPanel.d.ts +9 -0
- package/build/types/desktop/appcontainer/Message.d.ts +8 -0
- package/build/types/desktop/appcontainer/MessageSource.d.ts +6 -0
- package/build/types/desktop/appcontainer/OptionsDialog.d.ts +9 -0
- package/build/types/desktop/appcontainer/SuspendPanel.d.ts +6 -0
- package/build/types/desktop/appcontainer/ToastSource.d.ts +8 -0
- package/build/types/desktop/appcontainer/VersionBar.d.ts +3 -0
- package/build/types/desktop/appcontainer/index.d.ts +1 -0
- package/build/types/desktop/cmp/appOption/AutoRefreshAppOption.d.ts +340 -0
- package/build/types/desktop/cmp/appOption/SizingModeAppOption.d.ts +17 -0
- package/build/types/desktop/cmp/appOption/ThemeAppOption.d.ts +340 -0
- package/build/types/desktop/cmp/appOption/index.d.ts +3 -0
- package/build/types/desktop/cmp/appbar/AppBar.d.ts +34 -0
- package/build/types/desktop/cmp/appbar/AppBarSeparator.d.ts +6 -0
- package/build/types/desktop/cmp/appbar/index.d.ts +2 -0
- package/build/types/desktop/cmp/button/AppMenuButton.d.ts +36 -0
- package/build/types/desktop/cmp/button/Button.d.ts +28 -0
- package/build/types/desktop/cmp/button/ButtonGroup.d.ts +17 -0
- package/build/types/desktop/cmp/button/ColAutosizeButton.d.ts +14 -0
- package/build/types/desktop/cmp/button/ColChooserButton.d.ts +19 -0
- package/build/types/desktop/cmp/button/DashCanvasAddViewButton.d.ts +11 -0
- package/build/types/desktop/cmp/button/ExportButton.d.ts +22 -0
- package/build/types/desktop/cmp/button/FeedbackButton.d.ts +9 -0
- package/build/types/desktop/cmp/button/LaunchAdminButton.d.ts +9 -0
- package/build/types/desktop/cmp/button/LogoutButton.d.ts +11 -0
- package/build/types/desktop/cmp/button/ModalToggleButton.d.ts +11 -0
- package/build/types/desktop/cmp/button/OptionsButton.d.ts +10 -0
- package/build/types/desktop/cmp/button/RefreshButton.d.ts +13 -0
- package/build/types/desktop/cmp/button/RestoreDefaultsButton.d.ts +16 -0
- package/build/types/desktop/cmp/button/ThemeToggleButton.d.ts +8 -0
- package/build/types/desktop/cmp/button/WhatsNewButton.d.ts +11 -0
- package/build/types/desktop/cmp/button/index.d.ts +15 -0
- package/build/types/desktop/cmp/clipboard/ClipboardButton.d.ts +13 -0
- package/build/types/desktop/cmp/clipboard/ClipboardMenuItem.d.ts +7 -0
- package/build/types/desktop/cmp/clipboard/index.d.ts +2 -0
- package/build/types/desktop/cmp/contextmenu/ContextMenu.d.ts +21 -0
- package/build/types/desktop/cmp/contextmenu/index.d.ts +1 -0
- package/build/types/desktop/cmp/dash/DashConfig.d.ts +33 -0
- package/build/types/desktop/cmp/dash/DashModel.d.ts +19 -0
- package/build/types/desktop/cmp/dash/DashViewModel.d.ts +52 -0
- package/build/types/desktop/cmp/dash/DashViewSpec.d.ts +41 -0
- package/build/types/desktop/cmp/dash/canvas/DashCanvas.d.ts +19 -0
- package/build/types/desktop/cmp/dash/canvas/DashCanvasModel.d.ts +104 -0
- package/build/types/desktop/cmp/dash/canvas/DashCanvasViewModel.d.ts +27 -0
- package/build/types/desktop/cmp/dash/canvas/DashCanvasViewSpec.d.ts +30 -0
- package/build/types/desktop/cmp/dash/canvas/impl/DashCanvasContextMenu.d.ts +8 -0
- package/build/types/desktop/cmp/dash/canvas/impl/DashCanvasView.d.ts +12 -0
- package/build/types/desktop/cmp/dash/canvas/impl/utils.d.ts +10 -0
- package/build/types/desktop/cmp/dash/container/DashContainer.d.ts +9 -0
- package/build/types/desktop/cmp/dash/container/DashContainerModel.d.ts +143 -0
- package/build/types/desktop/cmp/dash/container/DashContainerViewSpec.d.ts +17 -0
- package/build/types/desktop/cmp/dash/container/impl/DashContainerContextMenu.d.ts +15 -0
- package/build/types/desktop/cmp/dash/container/impl/DashContainerMenuButton.d.ts +7 -0
- package/build/types/desktop/cmp/dash/container/impl/DashContainerUtils.d.ts +14 -0
- package/build/types/desktop/cmp/dash/container/impl/DashContainerView.d.ts +12 -0
- package/build/types/desktop/cmp/dash/index.d.ts +11 -0
- package/build/types/desktop/cmp/dock/DockContainer.d.ts +26 -0
- package/build/types/desktop/cmp/dock/DockContainerModel.d.ts +33 -0
- package/build/types/desktop/cmp/dock/DockViewModel.d.ts +75 -0
- package/build/types/desktop/cmp/dock/impl/DockContainer.d.ts +10 -0
- package/build/types/desktop/cmp/dock/impl/DockView.d.ts +15 -0
- package/build/types/desktop/cmp/dock/index.d.ts +3 -0
- package/build/types/desktop/cmp/error/ErrorMessage.d.ts +33 -0
- package/build/types/desktop/cmp/error/index.d.ts +1 -0
- package/build/types/desktop/cmp/filechooser/FileChooser.d.ts +42 -0
- package/build/types/desktop/cmp/filechooser/FileChooserModel.d.ts +25 -0
- package/build/types/desktop/cmp/filechooser/index.d.ts +2 -0
- package/build/types/desktop/cmp/filter/FilterChooser.d.ts +28 -0
- package/build/types/desktop/cmp/filter/index.d.ts +2 -0
- package/build/types/desktop/cmp/form/FormField.d.ts +63 -0
- package/build/types/desktop/cmp/form/index.d.ts +1 -0
- package/build/types/desktop/cmp/grid/columns/Actions.d.ts +29 -0
- package/build/types/desktop/cmp/grid/editors/BooleanEditor.d.ts +16 -0
- package/build/types/desktop/cmp/grid/editors/DateEditor.d.ts +7 -0
- package/build/types/desktop/cmp/grid/editors/EditorProps.d.ts +17 -0
- package/build/types/desktop/cmp/grid/editors/NumberEditor.d.ts +7 -0
- package/build/types/desktop/cmp/grid/editors/SelectEditor.d.ts +7 -0
- package/build/types/desktop/cmp/grid/editors/TextAreaEditor.d.ts +7 -0
- package/build/types/desktop/cmp/grid/editors/TextEditor.d.ts +7 -0
- package/build/types/desktop/cmp/grid/editors/impl/InlineEditorModel.d.ts +15 -0
- package/build/types/desktop/cmp/grid/editors/index.d.ts +6 -0
- package/build/types/desktop/cmp/grid/find/GridFindField.d.ts +43 -0
- package/build/types/desktop/cmp/grid/find/impl/GridFindFieldImplModel.d.ts +37 -0
- package/build/types/desktop/cmp/grid/impl/colchooser/ColChooser.d.ts +18 -0
- package/build/types/desktop/cmp/grid/impl/colchooser/ColChooserDialog.d.ts +2 -0
- package/build/types/desktop/cmp/grid/impl/colchooser/ColChooserModel.d.ts +33 -0
- package/build/types/desktop/cmp/grid/impl/filter/ColumnHeaderFilter.d.ts +9 -0
- package/build/types/desktop/cmp/grid/impl/filter/ColumnHeaderFilterModel.d.ts +38 -0
- package/build/types/desktop/cmp/grid/impl/filter/GridFilterDialog.d.ts +11 -0
- package/build/types/desktop/cmp/grid/impl/filter/custom/CustomRow.d.ts +6 -0
- package/build/types/desktop/cmp/grid/impl/filter/custom/CustomRowModel.d.ts +28 -0
- package/build/types/desktop/cmp/grid/impl/filter/custom/CustomTab.d.ts +7 -0
- package/build/types/desktop/cmp/grid/impl/filter/custom/CustomTabModel.d.ts +21 -0
- package/build/types/desktop/cmp/grid/impl/filter/values/ValuesTab.d.ts +7 -0
- package/build/types/desktop/cmp/grid/impl/filter/values/ValuesTabModel.d.ts +33 -0
- package/build/types/desktop/cmp/grid/index.d.ts +3 -0
- package/build/types/desktop/cmp/grouping/GroupingChooser.d.ts +26 -0
- package/build/types/desktop/cmp/grouping/index.d.ts +2 -0
- package/build/types/desktop/cmp/input/ButtonGroupInput.d.ts +26 -0
- package/build/types/desktop/cmp/input/Checkbox.d.ts +28 -0
- package/build/types/desktop/cmp/input/CodeInput.d.ts +80 -0
- package/build/types/desktop/cmp/input/DateInput.d.ts +117 -0
- package/build/types/desktop/cmp/input/JsonInput.d.ts +9 -0
- package/build/types/desktop/cmp/input/NumberInput.d.ts +77 -0
- package/build/types/desktop/cmp/input/RadioInput.d.ts +22 -0
- package/build/types/desktop/cmp/input/Select.d.ts +139 -0
- package/build/types/desktop/cmp/input/Slider.d.ts +33 -0
- package/build/types/desktop/cmp/input/SwitchInput.d.ts +21 -0
- package/build/types/desktop/cmp/input/TextArea.d.ts +26 -0
- package/build/types/desktop/cmp/input/TextInput.d.ts +55 -0
- package/build/types/desktop/cmp/input/index.d.ts +12 -0
- package/build/types/desktop/cmp/leftrightchooser/LeftRightChooser.d.ts +14 -0
- package/build/types/desktop/cmp/leftrightchooser/LeftRightChooserFilter.d.ts +15 -0
- package/build/types/desktop/cmp/leftrightchooser/LeftRightChooserModel.d.ts +83 -0
- package/build/types/desktop/cmp/leftrightchooser/impl/ChooserToolbar.d.ts +3 -0
- package/build/types/desktop/cmp/leftrightchooser/impl/Description.d.ts +3 -0
- package/build/types/desktop/cmp/leftrightchooser/index.d.ts +3 -0
- package/build/types/desktop/cmp/loadingindicator/LoadingIndicator.d.ts +27 -0
- package/build/types/desktop/cmp/loadingindicator/index.d.ts +1 -0
- package/build/types/desktop/cmp/mask/Mask.d.ts +27 -0
- package/build/types/desktop/cmp/mask/index.d.ts +1 -0
- package/build/types/desktop/cmp/modalsupport/ModalSupport.d.ts +16 -0
- package/build/types/desktop/cmp/modalsupport/ModalSupportModel.d.ts +30 -0
- package/build/types/desktop/cmp/modalsupport/index.d.ts +2 -0
- package/build/types/desktop/cmp/panel/Panel.d.ts +60 -0
- package/build/types/desktop/cmp/panel/PanelModel.d.ts +112 -0
- package/build/types/desktop/cmp/panel/impl/PanelHeader.d.ts +2 -0
- package/build/types/desktop/cmp/panel/impl/ResizeContainer.d.ts +1 -0
- package/build/types/desktop/cmp/panel/impl/Splitter.d.ts +2 -0
- package/build/types/desktop/cmp/panel/impl/dragger/Dragger.d.ts +3 -0
- package/build/types/desktop/cmp/panel/impl/dragger/DraggerModel.d.ts +33 -0
- package/build/types/desktop/cmp/panel/index.d.ts +2 -0
- package/build/types/desktop/cmp/pinpad/impl/PinPad.d.ts +11 -0
- package/build/types/desktop/cmp/record/RecordActionBar.d.ts +33 -0
- package/build/types/desktop/cmp/record/impl/RecordActionButton.d.ts +21 -0
- package/build/types/desktop/cmp/record/index.d.ts +1 -0
- package/build/types/desktop/cmp/rest/Actions.d.ts +7 -0
- package/build/types/desktop/cmp/rest/RestGrid.d.ts +24 -0
- package/build/types/desktop/cmp/rest/RestGridModel.d.ts +98 -0
- package/build/types/desktop/cmp/rest/data/RestField.d.ts +37 -0
- package/build/types/desktop/cmp/rest/data/RestStore.d.ts +39 -0
- package/build/types/desktop/cmp/rest/impl/RestForm.d.ts +6 -0
- package/build/types/desktop/cmp/rest/impl/RestFormField.d.ts +5 -0
- package/build/types/desktop/cmp/rest/impl/RestFormModel.d.ts +48 -0
- package/build/types/desktop/cmp/rest/impl/RestGridToolbar.d.ts +5 -0
- package/build/types/desktop/cmp/rest/index.d.ts +4 -0
- package/build/types/desktop/cmp/store/impl/StoreFilterField.d.ts +7 -0
- package/build/types/desktop/cmp/tab/TabSwitcher.d.ts +15 -0
- package/build/types/desktop/cmp/tab/impl/Tab.d.ts +12 -0
- package/build/types/desktop/cmp/tab/impl/TabContainer.d.ts +8 -0
- package/build/types/desktop/cmp/tab/index.d.ts +1 -0
- package/build/types/desktop/cmp/toolbar/Toolbar.d.ts +31 -0
- package/build/types/desktop/cmp/toolbar/ToolbarSep.d.ts +11 -0
- package/build/types/desktop/cmp/toolbar/index.d.ts +2 -0
- package/build/types/desktop/cmp/treemap/SplitTreeMap.d.ts +11 -0
- package/build/types/desktop/cmp/treemap/SplitTreeMapModel.d.ts +79 -0
- package/build/types/desktop/cmp/treemap/TreeMap.d.ts +16 -0
- package/build/types/desktop/cmp/treemap/TreeMapModel.d.ts +182 -0
- package/build/types/desktop/cmp/treemap/impl/Splitter.d.ts +6 -0
- package/build/types/desktop/cmp/treemap/index.d.ts +4 -0
- package/build/types/desktop/hooks/UseContextMenu.d.ts +11 -0
- package/build/types/desktop/hooks/UseHotkeys.d.ts +14 -0
- package/build/types/desktop/hooks/index.d.ts +2 -0
- package/build/types/desktop/register.d.ts +1 -0
- package/build/types/dynamics/desktop.d.ts +27 -0
- package/build/types/dynamics/mobile.d.ts +21 -0
- package/build/types/format/FormatDate.d.ts +52 -0
- package/build/types/format/FormatMisc.d.ts +41 -0
- package/build/types/format/FormatNumber.d.ts +112 -0
- package/build/types/format/FormatUtils.d.ts +11 -0
- package/build/types/format/impl/Utils.d.ts +7 -0
- package/build/types/format/index.d.ts +4 -0
- package/build/types/icon/Icon.d.ts +340 -0
- package/build/types/icon/XHLogo.d.ts +4 -0
- package/build/types/icon/impl/IconCmp.d.ts +6 -0
- package/build/types/icon/impl/IconHtml.d.ts +13 -0
- package/build/types/icon/index.d.ts +2 -0
- package/build/types/inspector/InspectorPanel.d.ts +5 -0
- package/build/types/inspector/instances/InstancesModel.d.ts +48 -0
- package/build/types/inspector/instances/InstancesPanel.d.ts +2 -0
- package/build/types/inspector/stats/StatsModel.d.ts +19 -0
- package/build/types/inspector/stats/StatsPanel.d.ts +2 -0
- package/build/types/kit/ag-grid/index.d.ts +19 -0
- package/build/types/kit/blueprint/Dialog.d.ts +13 -0
- package/build/types/kit/blueprint/Wrappers.d.ts +5 -0
- package/build/types/kit/blueprint/index.d.ts +8 -0
- package/build/types/kit/highcharts/index.d.ts +6 -0
- package/build/types/kit/onsen/index.d.ts +8 -0
- package/build/types/kit/react-beautiful-dnd/index.d.ts +3 -0
- package/build/types/kit/react-dates/index.d.ts +5 -0
- package/build/types/kit/react-dropzone/index.d.ts +3 -0
- package/build/types/kit/react-select/index.d.ts +7 -0
- package/build/types/mobile/appcontainer/AboutDialog.d.ts +10 -0
- package/build/types/mobile/appcontainer/AppContainer.d.ts +13 -0
- package/build/types/mobile/appcontainer/Banner.d.ts +8 -0
- package/build/types/mobile/appcontainer/ExceptionDialog.d.ts +13 -0
- package/build/types/mobile/appcontainer/ExceptionDialogDetails.d.ts +7 -0
- package/build/types/mobile/appcontainer/FeedbackDialog.d.ts +6 -0
- package/build/types/mobile/appcontainer/IdlePanel.d.ts +8 -0
- package/build/types/mobile/appcontainer/ImpersonationBar.d.ts +9 -0
- package/build/types/mobile/appcontainer/LockoutPanel.d.ts +7 -0
- package/build/types/mobile/appcontainer/LoginPanel.d.ts +9 -0
- package/build/types/mobile/appcontainer/Message.d.ts +7 -0
- package/build/types/mobile/appcontainer/MessageSource.d.ts +6 -0
- package/build/types/mobile/appcontainer/OptionsDialog.d.ts +6 -0
- package/build/types/mobile/appcontainer/SuspendPanel.d.ts +6 -0
- package/build/types/mobile/appcontainer/Toast.d.ts +6 -0
- package/build/types/mobile/appcontainer/ToastSource.d.ts +7 -0
- package/build/types/mobile/appcontainer/VersionBar.d.ts +5 -0
- package/build/types/mobile/appcontainer/index.d.ts +1 -0
- package/build/types/mobile/cmp/appOption/AutoRefreshAppOption.d.ts +333 -0
- package/build/types/mobile/cmp/appOption/SizingModeAppOption.d.ts +336 -0
- package/build/types/mobile/cmp/appOption/ThemeAppOption.d.ts +333 -0
- package/build/types/mobile/cmp/appOption/index.d.ts +3 -0
- package/build/types/mobile/cmp/button/Button.d.ts +22 -0
- package/build/types/mobile/cmp/button/ButtonGroup.d.ts +13 -0
- package/build/types/mobile/cmp/button/ColAutosizeButton.d.ts +14 -0
- package/build/types/mobile/cmp/button/ColChooserButton.d.ts +15 -0
- package/build/types/mobile/cmp/button/ExpandCollapseButton.d.ts +12 -0
- package/build/types/mobile/cmp/button/FeedbackButton.d.ts +9 -0
- package/build/types/mobile/cmp/button/LogoutButton.d.ts +11 -0
- package/build/types/mobile/cmp/button/NavigatorBackButton.d.ts +8 -0
- package/build/types/mobile/cmp/button/OptionsButton.d.ts +10 -0
- package/build/types/mobile/cmp/button/RefreshButton.d.ts +13 -0
- package/build/types/mobile/cmp/button/RestoreDefaultsButton.d.ts +16 -0
- package/build/types/mobile/cmp/button/ThemeToggleButton.d.ts +8 -0
- package/build/types/mobile/cmp/button/index.d.ts +11 -0
- package/build/types/mobile/cmp/dialog/Dialog.d.ts +17 -0
- package/build/types/mobile/cmp/dialog/index.d.ts +1 -0
- package/build/types/mobile/cmp/error/ErrorMessage.d.ts +33 -0
- package/build/types/mobile/cmp/error/index.d.ts +1 -0
- package/build/types/mobile/cmp/form/FormField.d.ts +26 -0
- package/build/types/mobile/cmp/form/index.d.ts +1 -0
- package/build/types/mobile/cmp/grid/impl/ColChooser.d.ts +22 -0
- package/build/types/mobile/cmp/grid/impl/ColChooserModel.d.ts +46 -0
- package/build/types/mobile/cmp/grouping/GroupingChooser.d.ts +20 -0
- package/build/types/mobile/cmp/grouping/index.d.ts +2 -0
- package/build/types/mobile/cmp/header/AppBar.d.ts +39 -0
- package/build/types/mobile/cmp/header/AppMenuButton.d.ts +31 -0
- package/build/types/mobile/cmp/header/index.d.ts +2 -0
- package/build/types/mobile/cmp/input/ButtonGroupInput.d.ts +23 -0
- package/build/types/mobile/cmp/input/Checkbox.d.ts +14 -0
- package/build/types/mobile/cmp/input/DateInput.d.ts +53 -0
- package/build/types/mobile/cmp/input/Label.d.ts +11 -0
- package/build/types/mobile/cmp/input/NumberInput.d.ts +52 -0
- package/build/types/mobile/cmp/input/SearchInput.d.ts +24 -0
- package/build/types/mobile/cmp/input/Select.d.ts +122 -0
- package/build/types/mobile/cmp/input/SwitchInput.d.ts +14 -0
- package/build/types/mobile/cmp/input/TextArea.d.ts +22 -0
- package/build/types/mobile/cmp/input/TextInput.d.ts +39 -0
- package/build/types/mobile/cmp/input/index.d.ts +10 -0
- package/build/types/mobile/cmp/loadingindicator/LoadingIndicator.d.ts +27 -0
- package/build/types/mobile/cmp/loadingindicator/index.d.ts +1 -0
- package/build/types/mobile/cmp/mask/Mask.d.ts +25 -0
- package/build/types/mobile/cmp/mask/index.d.ts +1 -0
- package/build/types/mobile/cmp/menu/MenuButton.d.ts +21 -0
- package/build/types/mobile/cmp/menu/impl/Menu.d.ts +12 -0
- package/build/types/mobile/cmp/menu/index.d.ts +1 -0
- package/build/types/mobile/cmp/navigator/Navigator.d.ts +13 -0
- package/build/types/mobile/cmp/navigator/NavigatorModel.d.ts +55 -0
- package/build/types/mobile/cmp/navigator/PageModel.d.ts +60 -0
- package/build/types/mobile/cmp/navigator/impl/Page.d.ts +12 -0
- package/build/types/mobile/cmp/navigator/impl/swipe/BackIndicator.d.ts +6 -0
- package/build/types/mobile/cmp/navigator/impl/swipe/RefreshIndicator.d.ts +6 -0
- package/build/types/mobile/cmp/navigator/impl/swipe/Swiper.d.ts +8 -0
- package/build/types/mobile/cmp/navigator/impl/swipe/SwiperModel.d.ts +23 -0
- package/build/types/mobile/cmp/navigator/index.d.ts +2 -0
- package/build/types/mobile/cmp/panel/DialogPanel.d.ts +15 -0
- package/build/types/mobile/cmp/panel/Panel.d.ts +39 -0
- package/build/types/mobile/cmp/panel/impl/PanelHeader.d.ts +6 -0
- package/build/types/mobile/cmp/panel/index.d.ts +2 -0
- package/build/types/mobile/cmp/pinpad/impl/PinPad.d.ts +9 -0
- package/build/types/mobile/cmp/popover/Popover.d.ts +36 -0
- package/build/types/mobile/cmp/popover/index.d.ts +1 -0
- package/build/types/mobile/cmp/store/impl/StoreFilterField.d.ts +7 -0
- package/build/types/mobile/cmp/tab/impl/Tab.d.ts +13 -0
- package/build/types/mobile/cmp/tab/impl/TabContainer.d.ts +10 -0
- package/build/types/mobile/cmp/toolbar/Toolbar.d.ts +12 -0
- package/build/types/mobile/cmp/toolbar/ToolbarSeparator.d.ts +8 -0
- package/build/types/mobile/cmp/toolbar/index.d.ts +2 -0
- package/build/types/mobile/register.d.ts +1 -0
- package/build/types/mobx/decorators.d.ts +11 -0
- package/build/types/mobx/index.d.ts +5 -0
- package/build/types/mobx/overrides.d.ts +9 -0
- package/build/types/promise/Promise.d.ts +107 -0
- package/build/types/promise/index.d.ts +1 -0
- package/build/types/svc/AlertBannerService.d.ts +19 -0
- package/build/types/svc/AutoRefreshService.d.ts +28 -0
- package/build/types/svc/ChangelogService.d.ts +62 -0
- package/build/types/svc/ConfigService.d.ts +36 -0
- package/build/types/svc/EnvironmentService.d.ts +24 -0
- package/build/types/svc/FetchService.d.ts +139 -0
- package/build/types/svc/GridAutosizeService.d.ts +38 -0
- package/build/types/svc/GridExportService.d.ts +56 -0
- package/build/types/svc/IdentityService.d.ts +61 -0
- package/build/types/svc/IdleService.d.ts +21 -0
- package/build/types/svc/InspectorService.d.ts +74 -0
- package/build/types/svc/JsonBlobService.d.ts +35 -0
- package/build/types/svc/LocalStorageService.d.ts +24 -0
- package/build/types/svc/PrefService.d.ts +76 -0
- package/build/types/svc/TrackService.d.ts +15 -0
- package/build/types/svc/WebSocketService.d.ts +94 -0
- package/build/types/svc/index.d.ts +16 -0
- package/build/types/utils/async/AsyncUtils.d.ts +40 -0
- package/build/types/utils/async/Timer.d.ts +89 -0
- package/build/types/utils/async/index.d.ts +2 -0
- package/build/types/utils/datetime/DateTimeUtils.d.ts +10 -0
- package/build/types/utils/datetime/LocalDate.d.ts +94 -0
- package/build/types/utils/datetime/index.d.ts +2 -0
- package/build/types/utils/impl/Equals.d.ts +4 -0
- package/build/types/utils/impl/IsOmitted.d.ts +7 -0
- package/build/types/utils/impl/Separators.d.ts +10 -0
- package/build/types/utils/impl/TimeZone.d.ts +4 -0
- package/build/types/utils/impl/index.d.ts +4 -0
- package/build/types/utils/js/BrowserUtils.d.ts +4 -0
- package/build/types/utils/js/Decorators.d.ts +25 -0
- package/build/types/utils/js/DomUtils.d.ts +46 -0
- package/build/types/utils/js/HtmlUtils.d.ts +4 -0
- package/build/types/utils/js/LangUtils.d.ts +112 -0
- package/build/types/utils/js/LogUtils.d.ts +32 -0
- package/build/types/utils/js/VersionUtils.d.ts +17 -0
- package/build/types/utils/js/index.d.ts +7 -0
- package/build/types/utils/react/ClassName.d.ts +14 -0
- package/build/types/utils/react/Hooks.d.ts +47 -0
- package/build/types/utils/react/LayoutPropUtils.d.ts +42 -0
- package/build/types/utils/react/ObservableRef.d.ts +13 -0
- package/build/types/utils/react/ReactUtils.d.ts +19 -0
- package/build/types/utils/react/index.d.ts +5 -0
- package/package.json +2 -2
- package/static/preflight.js +15 -13
- package/tsconfig.json +14 -7
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { GridModel } from '@xh/hoist/cmp/grid';
|
|
2
|
+
import { HoistModel, HSide } from '@xh/hoist/core';
|
|
3
|
+
import '@xh/hoist/mobile/register';
|
|
4
|
+
/**
|
|
5
|
+
* State management for the ColChooser component.
|
|
6
|
+
*
|
|
7
|
+
* It is not necessary to manually create instances of this class within an application.
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
export declare class ColChooserModel extends HoistModel {
|
|
11
|
+
xhImpl: boolean;
|
|
12
|
+
gridModel: GridModel;
|
|
13
|
+
showRestoreDefaults: boolean;
|
|
14
|
+
autosizeOnCommit: boolean;
|
|
15
|
+
columns: ColMeta[];
|
|
16
|
+
pinFirst: boolean;
|
|
17
|
+
isOpen: boolean;
|
|
18
|
+
get pinnedColumn(): ColMeta;
|
|
19
|
+
get visibleColumns(): any;
|
|
20
|
+
get hiddenColumns(): any[];
|
|
21
|
+
constructor({ gridModel, showRestoreDefaults, autosizeOnCommit }: {
|
|
22
|
+
gridModel: any;
|
|
23
|
+
showRestoreDefaults?: boolean;
|
|
24
|
+
autosizeOnCommit?: boolean;
|
|
25
|
+
});
|
|
26
|
+
restoreDefaultsAsync(): Promise<void>;
|
|
27
|
+
open(): void;
|
|
28
|
+
close(): void;
|
|
29
|
+
updatePinnedColumn(): void;
|
|
30
|
+
setHidden(colId: string, hidden: boolean): void;
|
|
31
|
+
moveToIndex(colId: string, toIdx: number): void;
|
|
32
|
+
commit(): void;
|
|
33
|
+
private syncChooserData;
|
|
34
|
+
private getVisible;
|
|
35
|
+
private getHidden;
|
|
36
|
+
}
|
|
37
|
+
interface ColMeta {
|
|
38
|
+
originalIdx: number;
|
|
39
|
+
colId: string;
|
|
40
|
+
text: string;
|
|
41
|
+
hidden: boolean;
|
|
42
|
+
exclude: boolean;
|
|
43
|
+
locked: boolean;
|
|
44
|
+
pinned: HSide;
|
|
45
|
+
}
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GroupingChooserModel } from '@xh/hoist/cmp/grouping';
|
|
3
|
+
import { ButtonProps } from '@xh/hoist/mobile/cmp/button';
|
|
4
|
+
import '@xh/hoist/mobile/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
|
+
/** Title for popover (default "GROUP BY") or null to suppress. */
|
|
10
|
+
popoverTitle?: string;
|
|
11
|
+
/** Min height in pixels of the popover inner content (excl. header & toolbar). */
|
|
12
|
+
popoverMinHeight?: number;
|
|
13
|
+
/** Width in pixels of the popover menu itself. */
|
|
14
|
+
popoverWidth?: number;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Control for selecting a list of dimensions for grouping APIs.
|
|
18
|
+
* @see GroupingChooserModel
|
|
19
|
+
*/
|
|
20
|
+
export declare const GroupingChooser: import("react").FC<GroupingChooserProps>, groupingChooser: import("@xh/hoist/core").ElementFactory<GroupingChooserProps>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { HoistProps, HSide } from '@xh/hoist/core';
|
|
2
|
+
import { NavigatorBackButtonProps, RefreshButtonProps } from '@xh/hoist/mobile/cmp/button';
|
|
3
|
+
import '@xh/hoist/mobile/register';
|
|
4
|
+
import { ReactElement, ReactNode } from 'react';
|
|
5
|
+
import './AppBar.scss';
|
|
6
|
+
import { AppMenuButtonProps } from './AppMenuButton';
|
|
7
|
+
export interface AppBarProps extends HoistProps {
|
|
8
|
+
/** App icon to display to the left of the title. */
|
|
9
|
+
icon?: ReactElement;
|
|
10
|
+
/** Title to display to the center the AppBar. Defaults to XH.clientAppName. */
|
|
11
|
+
title?: ReactNode;
|
|
12
|
+
/** Items to be added to the left side of the AppBar, before the title buttons. */
|
|
13
|
+
leftItems?: ReactNode[];
|
|
14
|
+
/** Items to be added to the right side of the AppBar, before the refresh button. */
|
|
15
|
+
rightItems?: ReactNode[];
|
|
16
|
+
/** True to hide the AppMenuButton. */
|
|
17
|
+
hideAppMenuButton?: boolean;
|
|
18
|
+
/** Set to true to hide the Back button. */
|
|
19
|
+
hideBackButton?: boolean;
|
|
20
|
+
/** Set to true to hide the Refresh button. */
|
|
21
|
+
hideRefreshButton?: boolean;
|
|
22
|
+
/** Allows overriding the default properties of the App Menu button. @see MenuButton */
|
|
23
|
+
appMenuButtonProps?: AppMenuButtonProps;
|
|
24
|
+
/** Position of the AppMenuButton. */
|
|
25
|
+
appMenuButtonPosition?: HSide;
|
|
26
|
+
/** Allows overriding the default properties of the Back button. @see NavigatorBackButton */
|
|
27
|
+
backButtonProps?: NavigatorBackButtonProps;
|
|
28
|
+
/** Allows overriding the default properties of the Refresh button. @see RefreshButton */
|
|
29
|
+
refreshButtonProps?: RefreshButtonProps;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* A standard application navigation bar which displays the current page title and a standard set of
|
|
33
|
+
* buttons for common application actions. Application specific items can be displayed on the left
|
|
34
|
+
* or right sides of the AppBar.
|
|
35
|
+
*
|
|
36
|
+
* The standard buttons which are visible will be based on user roles and application configuration,
|
|
37
|
+
* or they can each be explicitly hidden.
|
|
38
|
+
*/
|
|
39
|
+
export declare const AppBar: import("react").FC<AppBarProps>, appBar: import("@xh/hoist/core").ElementFactory<AppBarProps>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MenuItemLike } from '@xh/hoist/core';
|
|
3
|
+
import { MenuButtonProps } from '@xh/hoist/mobile/cmp/menu';
|
|
4
|
+
import '@xh/hoist/mobile/register';
|
|
5
|
+
export interface AppMenuButtonProps extends MenuButtonProps {
|
|
6
|
+
/** Array of app-specific MenuItems or configs to create them. */
|
|
7
|
+
extraItems?: MenuItemLike[];
|
|
8
|
+
/**
|
|
9
|
+
* True to hide the Impersonate item. Always hidden for users w/o HOIST_ADMIN role or
|
|
10
|
+
* if impersonation is disabled.
|
|
11
|
+
*/
|
|
12
|
+
hideImpersonateItem?: boolean;
|
|
13
|
+
/** True to hide the Feedback item. */
|
|
14
|
+
hideFeedbackItem?: boolean;
|
|
15
|
+
/** True to hide the Logout button. Defaulted to appSpec.isSSO. */
|
|
16
|
+
hideLogoutItem?: boolean;
|
|
17
|
+
/** True to hide the Options button. */
|
|
18
|
+
hideOptionsItem?: boolean;
|
|
19
|
+
/** True to hide the Theme Toggle button. */
|
|
20
|
+
hideThemeItem?: boolean;
|
|
21
|
+
/** True to hide the About button */
|
|
22
|
+
hideAboutItem?: boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A top-level application drop down menu, which installs a standard set of menu items for common
|
|
26
|
+
* application actions. Application specific items can be displayed before these standard items.
|
|
27
|
+
*
|
|
28
|
+
* The standard items which are visible will be based on user roles and application configuration,
|
|
29
|
+
* or they can each be explicitly hidden.
|
|
30
|
+
*/
|
|
31
|
+
export declare const AppMenuButton: import("react").FC<AppMenuButtonProps>, appMenuButton: import("@xh/hoist/core").ElementFactory<AppMenuButtonProps>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HoistInputProps } from '@xh/hoist/cmp/input';
|
|
3
|
+
import { HoistProps } from '@xh/hoist/core';
|
|
4
|
+
import { ButtonGroupProps } from '@xh/hoist/mobile/cmp/button';
|
|
5
|
+
import '@xh/hoist/mobile/register';
|
|
6
|
+
import './ButtonGroupInput.scss';
|
|
7
|
+
export interface ButtonGroupInputProps extends HoistProps, HoistInputProps, ButtonGroupProps {
|
|
8
|
+
/**
|
|
9
|
+
* True to allow buttons to be unselected (aka inactivated). Used when enableMulti is false.
|
|
10
|
+
* Defaults to false.
|
|
11
|
+
*/
|
|
12
|
+
enableClear?: boolean;
|
|
13
|
+
/** True to allow entry/selection of multiple values - "tag picker" style. Defaults to false.*/
|
|
14
|
+
enableMulti?: boolean;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A segmented group of buttons, one of which is depressed to indicate the input's current value.
|
|
18
|
+
*
|
|
19
|
+
* Should receive a list of Buttons as a children. Each Button requires a 'value' prop.
|
|
20
|
+
* The buttons are automatically configured to set this value on click and appear pressed if the
|
|
21
|
+
* ButtonGroupInput's value matches.
|
|
22
|
+
*/
|
|
23
|
+
export declare const ButtonGroupInput: import("react").FC<ButtonGroupInputProps>, buttonGroupInput: import("@xh/hoist/core").ElementFactory<ButtonGroupInputProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HoistInputProps } from '@xh/hoist/cmp/input';
|
|
3
|
+
import { HoistProps } from '@xh/hoist/core';
|
|
4
|
+
import '@xh/hoist/mobile/register';
|
|
5
|
+
import './Checkbox.scss';
|
|
6
|
+
export interface CheckboxProps extends HoistProps, HoistInputProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
/** Onsen modifier string */
|
|
9
|
+
modifier?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Checkbox control for boolean values.
|
|
13
|
+
*/
|
|
14
|
+
export declare const Checkbox: import("react").FC<CheckboxProps>, checkbox: import("@xh/hoist/core").ElementFactory<CheckboxProps>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { HoistInputProps } from '@xh/hoist/cmp/input';
|
|
2
|
+
import { HoistProps, StyleProps, LayoutProps, HSide, PlainObject } from '@xh/hoist/core';
|
|
3
|
+
import '@xh/hoist/mobile/register';
|
|
4
|
+
import { LocalDate } from '@xh/hoist/utils/datetime';
|
|
5
|
+
import './DateInput.scss';
|
|
6
|
+
import { ReactElement } from 'react';
|
|
7
|
+
export interface DateInputProps extends HoistProps, HoistInputProps, StyleProps, LayoutProps {
|
|
8
|
+
value?: Date | LocalDate;
|
|
9
|
+
/** True to show a "clear" button aligned to the right of the control. Default false. */
|
|
10
|
+
enableClear?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* MomentJS format string for date display and parsing. Defaults to `YYYY-MM-DD`.
|
|
13
|
+
*/
|
|
14
|
+
formatString?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Month to display in calendar popover on first render.
|
|
17
|
+
*
|
|
18
|
+
* If unspecified, will default to the month of the current value (if present), or today.
|
|
19
|
+
*/
|
|
20
|
+
initialMonth?: Date | LocalDate;
|
|
21
|
+
/** Icon to display inline on the left side of the input. */
|
|
22
|
+
leftIcon?: ReactElement;
|
|
23
|
+
/** Icon to display inline on the right side of the input. Defaults to a calendar icon */
|
|
24
|
+
rightIcon?: ReactElement;
|
|
25
|
+
/**
|
|
26
|
+
* Maximum (inclusive) valid date. Controls which dates can be selected via the calendar
|
|
27
|
+
* picker. Will reset any out-of-bounds manually entered input to `null`.
|
|
28
|
+
*
|
|
29
|
+
* Note this is distinct in these ways from FormModel based validation, which will leave an
|
|
30
|
+
* invalid date entry in place but flag as invalid via FormField. For cases where it is
|
|
31
|
+
* possible to use FormField, that is often a better choice.
|
|
32
|
+
*/
|
|
33
|
+
maxDate?: Date | LocalDate;
|
|
34
|
+
/**
|
|
35
|
+
* Minimum (inclusive) valid date. Controls which dates can be selected via the calendar
|
|
36
|
+
* picker. Will reset any out-of-bounds manually entered input to `null`.
|
|
37
|
+
*
|
|
38
|
+
* See note re. validation on maxDate, above.
|
|
39
|
+
*/
|
|
40
|
+
minDate?: Date | LocalDate;
|
|
41
|
+
/** Text to display when control is empty. */
|
|
42
|
+
placeholder?: string;
|
|
43
|
+
/** Props passed to SingleDatePicker component, as per SingleDatePicker docs. */
|
|
44
|
+
singleDatePickerProps?: PlainObject;
|
|
45
|
+
/** Alignment of entry text within control, default 'left'. */
|
|
46
|
+
textAlign?: HSide;
|
|
47
|
+
/** Type of value to publish. Defaults to 'date'. */
|
|
48
|
+
valueType?: 'date' | 'localDate';
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* A Calendar Control for choosing a Date.
|
|
52
|
+
*/
|
|
53
|
+
export declare const DateInput: import("react").FC<DateInputProps>, dateInput: import("@xh/hoist/core").ElementFactory<DateInputProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HoistInputProps } from '@xh/hoist/cmp/input';
|
|
3
|
+
import { HoistProps, StyleProps } from '@xh/hoist/core';
|
|
4
|
+
import '@xh/hoist/mobile/register';
|
|
5
|
+
import './Label.scss';
|
|
6
|
+
export interface LabelProps extends HoistProps, HoistInputProps, StyleProps {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A simple label for a form.
|
|
10
|
+
*/
|
|
11
|
+
export declare const Label: import("react").FC<LabelProps>, label: import("@xh/hoist/core").ElementFactory<LabelProps>;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HoistInputProps } from '@xh/hoist/cmp/input';
|
|
3
|
+
import { HoistProps, StyleProps, LayoutProps, HSide } from '@xh/hoist/core';
|
|
4
|
+
import '@xh/hoist/mobile/register';
|
|
5
|
+
import './NumberInput.scss';
|
|
6
|
+
export interface NumberInputProps extends HoistProps, HoistInputProps, StyleProps, LayoutProps {
|
|
7
|
+
value?: number;
|
|
8
|
+
/** True to commit on every change/keystroke, default false. */
|
|
9
|
+
commitOnChange?: boolean;
|
|
10
|
+
/** True to insert commas in displayed value. */
|
|
11
|
+
displayWithCommas?: boolean;
|
|
12
|
+
/** True to convert entries suffixed with k/m/b to thousands/millions/billions. */
|
|
13
|
+
enableShorthandUnits?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Minimum value. Note that this will govern the smallest value that this control can produce
|
|
16
|
+
* via user input. Smaller values passed to it via props or a bound model will still be displayed.
|
|
17
|
+
*/
|
|
18
|
+
min?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Maximum value. Note that this will govern the largest value that this control can produce
|
|
21
|
+
* via user input. Larger values passed to it via props or a bound model will still be displayed.
|
|
22
|
+
*/
|
|
23
|
+
max?: number;
|
|
24
|
+
/** Onsen modifier string. */
|
|
25
|
+
modifier?: string;
|
|
26
|
+
/** Text to display when control is empty. */
|
|
27
|
+
placeholder?: string;
|
|
28
|
+
/** Max decimal precision of the value, defaults to 4. */
|
|
29
|
+
precision?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Scale factor to apply when converting between the internal and external value. Useful for
|
|
32
|
+
* cases such as handling a percentage value where the user would expect to see or input 20 but
|
|
33
|
+
* the external value the input is bound to should be 0.2. Must be a factor of 10.
|
|
34
|
+
* Defaults to 1 (no scaling applied).
|
|
35
|
+
*/
|
|
36
|
+
scaleFactor?: number;
|
|
37
|
+
/** True to select contents when control receives focus. */
|
|
38
|
+
selectOnFocus?: boolean;
|
|
39
|
+
/** Alignment of entry text within control, default 'right'. */
|
|
40
|
+
textAlign?: HSide;
|
|
41
|
+
/**
|
|
42
|
+
* Text appended to the rendered value within control when not editing.
|
|
43
|
+
* Can be used to append e.g. "%" or a unit without need for an external right label.
|
|
44
|
+
*/
|
|
45
|
+
valueLabel?: string;
|
|
46
|
+
/** True to pad with trailing zeros out to precision, default false. */
|
|
47
|
+
zeroPad?: boolean;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Number input, with optional support for formatting of display value, shorthand units, and more.
|
|
51
|
+
*/
|
|
52
|
+
export declare const NumberInput: import("react").FC<NumberInputProps>, numberInput: import("@xh/hoist/core").ElementFactory<NumberInputProps>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HoistInputProps } from '@xh/hoist/cmp/input';
|
|
3
|
+
import { HoistProps, HSide } from '@xh/hoist/core';
|
|
4
|
+
import '@xh/hoist/mobile/register';
|
|
5
|
+
import './SearchInput.scss';
|
|
6
|
+
export interface SearchInputProps extends HoistProps, HoistInputProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
/** True to commit on every change/keystroke, default false. */
|
|
9
|
+
commitOnChange?: boolean;
|
|
10
|
+
/** Onsen modifier string */
|
|
11
|
+
modifier?: string;
|
|
12
|
+
/** Text to display when control is empty */
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
/** Whether text in field is selected when field receives focus */
|
|
15
|
+
selectOnFocus?: boolean;
|
|
16
|
+
/** Whether to allow browser spell check, defaults to false */
|
|
17
|
+
spellCheck?: boolean;
|
|
18
|
+
/** Alignment of entry text within control, default 'left'. */
|
|
19
|
+
textAlign?: HSide;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A Search Input
|
|
23
|
+
*/
|
|
24
|
+
export declare const SearchInput: import("react").FC<SearchInputProps>, searchInput: import("@xh/hoist/core").ElementFactory<SearchInputProps>;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { HoistInputProps } from '@xh/hoist/cmp/input';
|
|
2
|
+
import { HoistProps, LayoutProps, PlainObject, SelectOption } from '@xh/hoist/core';
|
|
3
|
+
import '@xh/hoist/mobile/register';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
5
|
+
import './Select.scss';
|
|
6
|
+
export interface SelectProps extends HoistProps, HoistInputProps, LayoutProps {
|
|
7
|
+
/**
|
|
8
|
+
* Function to return a "create a new option" string prompt. Requires `allowCreate` true.
|
|
9
|
+
* Passed current query input.
|
|
10
|
+
*/
|
|
11
|
+
createMessageFn?: (query: string) => string;
|
|
12
|
+
/** True (default) to close the menu after each selection. */
|
|
13
|
+
closeMenuOnSelect?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* True to accept and commit input values not present in options or returned by a query.
|
|
16
|
+
* Usually used with enableFullscreen, to ensure access to the mobile device keyboard.
|
|
17
|
+
*/
|
|
18
|
+
enableCreate?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* True to enable type-to-search keyboard input. Defaults to false to disable keyboard input,
|
|
21
|
+
* showing the dropdown menu on click. Usually used with enableFullscreen, to ensure access
|
|
22
|
+
* to the mobile device keyboard.
|
|
23
|
+
*/
|
|
24
|
+
enableFilter?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* True to render the select control in a full-screen modal dialog when focused.
|
|
27
|
+
* Recommended for use with enableCreate|enableFilter, as we can guarantee the control
|
|
28
|
+
* will be rendered in the top half of the viewport, above the mobile keyboard.
|
|
29
|
+
*/
|
|
30
|
+
enableFullscreen?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Function called to filter available options for a given query string input.
|
|
33
|
+
* Used for filtering of options provided by `options` prop when `enableFilter` is true.
|
|
34
|
+
* Not to be confused with `queryFn` prop, used in asynchronous mode.
|
|
35
|
+
*
|
|
36
|
+
* Provided function should take an option and a query value and return a boolean.
|
|
37
|
+
* Defaults to a case-insensitive match on word starts.
|
|
38
|
+
*/
|
|
39
|
+
filterFn?: (opt: SelectOption, inputVal: string) => boolean;
|
|
40
|
+
/** True to hide the dropdown indicator, i.e. the down-facing arrow at the right of the Select. */
|
|
41
|
+
hideDropdownIndicator?: boolean;
|
|
42
|
+
/** True to suppress the default check icon rendered for the currently selected option. */
|
|
43
|
+
hideSelectedOptionCheck?: boolean;
|
|
44
|
+
/** True to hide options in the drop down menu if they have been selected.*/
|
|
45
|
+
hideSelectedOptions?: boolean;
|
|
46
|
+
/** Field on provided options for sourcing each option's display text (default `label`). */
|
|
47
|
+
labelField?: string;
|
|
48
|
+
/** Function to return loading message during an async query. Passed current query input. */
|
|
49
|
+
loadingMessageFn?: (query: string) => string;
|
|
50
|
+
/** Maximum height of the menu before scrolling. Defaults to 300px. */
|
|
51
|
+
maxMenuHeight?: number;
|
|
52
|
+
/** Placement of the dropdown menu relative to the input control. */
|
|
53
|
+
menuPlacement?: 'auto' | 'top' | 'bottom';
|
|
54
|
+
/** Width in pixels for the dropdown menu - if unspecified, defaults to control width. */
|
|
55
|
+
menuWidth?: number;
|
|
56
|
+
/** Function to return message indicating no options loaded. Passed current query input. */
|
|
57
|
+
noOptionsMessageFn?: (query: string) => string;
|
|
58
|
+
/** True to auto-open the dropdown menu on input focus. */
|
|
59
|
+
openMenuOnFocus?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Function to render options in the dropdown list. Called for each option object (which
|
|
62
|
+
* will contain at minimum a value and label field, as well as any other fields present in
|
|
63
|
+
* the source objects).
|
|
64
|
+
*/
|
|
65
|
+
optionRenderer?: (SelectOption: any) => ReactNode;
|
|
66
|
+
/**
|
|
67
|
+
* Preset list of options for selection. Elements can be either a primitive or an object.
|
|
68
|
+
* Primitives will be displayed via toString().
|
|
69
|
+
* Objects must have either:
|
|
70
|
+
* + A `label` property for display and a `value` property
|
|
71
|
+
* + A `label` property and an `options` property containing an array of sub-options
|
|
72
|
+
* to be grouped beneath the option. These sub-options must be either primitives or
|
|
73
|
+
* `label`:`value` pairs. Deeper nesting is unsupported.
|
|
74
|
+
*
|
|
75
|
+
* See also `queryFn` to supply options via an async query (i.e. from the server) instead
|
|
76
|
+
* of up-front in this prop.
|
|
77
|
+
*/
|
|
78
|
+
options?: Array<SelectOption | any>;
|
|
79
|
+
/** Text to display when control is empty. */
|
|
80
|
+
placeholder?: string;
|
|
81
|
+
/** Delay (in ms) to buffer calls to the async queryFn. Defaults to 300.*/
|
|
82
|
+
queryBuffer?: number;
|
|
83
|
+
/**
|
|
84
|
+
* Async function to return a list of options for a given query string input.
|
|
85
|
+
* Replaces the `options` prop - use one or the other.
|
|
86
|
+
*
|
|
87
|
+
* For providing external (e.g. server-side) options based on user inputs. Not to be
|
|
88
|
+
* confused with `filterFn`, which should be used to filter through local options when
|
|
89
|
+
* not in async mode.
|
|
90
|
+
*
|
|
91
|
+
* Provided function should take a query value and return a Promise resolving to a
|
|
92
|
+
* list of options.
|
|
93
|
+
*/
|
|
94
|
+
queryFn?: (query: string) => Promise<SelectOption[]>;
|
|
95
|
+
/**
|
|
96
|
+
* Escape-hatch props passed directly to react-select. Use with care - not all props
|
|
97
|
+
* in the react-select API are guaranteed to be supported by this Hoist component,
|
|
98
|
+
* and providing them directly can interfere with the implementation of this class.
|
|
99
|
+
*/
|
|
100
|
+
rsOptions?: PlainObject;
|
|
101
|
+
/** True to select contents when control receives focus. */
|
|
102
|
+
selectOnFocus?: boolean;
|
|
103
|
+
/** Text to display in header when in fullscreen mode. */
|
|
104
|
+
title?: string;
|
|
105
|
+
/** Field on provided options for sourcing each option's value (default `value`). */
|
|
106
|
+
valueField?: string;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* A managed wrapper around the React-Select combobox/dropdown component.
|
|
110
|
+
*
|
|
111
|
+
* Supports advanced options such as:
|
|
112
|
+
* + Asynchronous queries
|
|
113
|
+
* + Custom dropdown option renderers
|
|
114
|
+
* + User-created ad-hoc entries
|
|
115
|
+
* + Full-screen mode
|
|
116
|
+
*
|
|
117
|
+
* Unlike the desktop version, multiple selection and use of react-windowed-select are not
|
|
118
|
+
* currently supported.
|
|
119
|
+
*
|
|
120
|
+
* @see {@link https://react-select.com|React Select Docs}
|
|
121
|
+
*/
|
|
122
|
+
export declare const Select: import("react").FC<SelectProps>, select: import("@xh/hoist/core").ElementFactory<SelectProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HoistInputProps } from '@xh/hoist/cmp/input';
|
|
3
|
+
import { HoistProps, StyleProps } from '@xh/hoist/core';
|
|
4
|
+
import '@xh/hoist/mobile/register';
|
|
5
|
+
import './SwitchInput.scss';
|
|
6
|
+
export interface SwitchInputProps extends HoistProps, HoistInputProps, StyleProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
/** Onsen modifier string */
|
|
9
|
+
modifier?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Switch (toggle) control for non-nullable boolean values.
|
|
13
|
+
*/
|
|
14
|
+
export declare const SwitchInput: import("react").FC<SwitchInputProps>, switchInput: import("@xh/hoist/core").ElementFactory<SwitchInputProps>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HoistInputProps } from '@xh/hoist/cmp/input';
|
|
3
|
+
import { HoistProps, LayoutProps, StyleProps } from '@xh/hoist/core';
|
|
4
|
+
import '@xh/hoist/mobile/register';
|
|
5
|
+
import './TextArea.scss';
|
|
6
|
+
export interface TextAreaProps extends HoistProps, HoistInputProps, StyleProps, LayoutProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
/** True to commit on every change/keystroke, default false. */
|
|
9
|
+
commitOnChange?: boolean;
|
|
10
|
+
/** Height of the control in pixels. */
|
|
11
|
+
height?: number;
|
|
12
|
+
/** Text to display when control is empty */
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
/** Whether text in field is selected when field receives focus */
|
|
15
|
+
selectOnFocus?: boolean;
|
|
16
|
+
/** Whether to allow browser spell check, defaults to true */
|
|
17
|
+
spellCheck?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* A multi-line text input.
|
|
21
|
+
*/
|
|
22
|
+
export declare const TextArea: import("react").FC<TextAreaProps>, textArea: import("@xh/hoist/core").ElementFactory<TextAreaProps>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HoistInputProps } from '@xh/hoist/cmp/input';
|
|
3
|
+
import { HoistProps, HSide, LayoutProps, StyleProps } from '@xh/hoist/core';
|
|
4
|
+
import '@xh/hoist/mobile/register';
|
|
5
|
+
import './TextInput.scss';
|
|
6
|
+
export interface TextInputProps extends HoistProps, HoistInputProps, StyleProps, LayoutProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
/**
|
|
9
|
+
* HTML `autocomplete` attribute to set on underlying <input> element.
|
|
10
|
+
*
|
|
11
|
+
* Defaults to 'off' for fields of type text and 'new-password' for fields of type 'password'
|
|
12
|
+
* to defeat browser auto-completion, which is typically not desired in Hoist applications.
|
|
13
|
+
* Set to 'on' or a more specific autocomplete token to enable.
|
|
14
|
+
*
|
|
15
|
+
* @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofilling-form-controls%3A-the-autocomplete-attribute
|
|
16
|
+
* See https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
|
|
17
|
+
*/
|
|
18
|
+
autoComplete?: string;
|
|
19
|
+
/** True to commit on every change/keystroke, default false. */
|
|
20
|
+
commitOnChange?: boolean;
|
|
21
|
+
/** True to show a "clear" button aligned to the right of the control. Defaults to false. */
|
|
22
|
+
enableClear?: boolean;
|
|
23
|
+
/** Onsen modifier string */
|
|
24
|
+
modifier?: string;
|
|
25
|
+
/** Text to display when control is empty */
|
|
26
|
+
placeholder?: string;
|
|
27
|
+
/** Whether text in field is selected when field receives focus */
|
|
28
|
+
selectOnFocus?: boolean;
|
|
29
|
+
/** Whether to allow browser spell check, defaults to false */
|
|
30
|
+
spellCheck?: boolean;
|
|
31
|
+
/** Alignment of entry text within control, default 'left'. */
|
|
32
|
+
textAlign?: HSide;
|
|
33
|
+
/** Underlying HTML <input> element type. */
|
|
34
|
+
type?: 'text' | 'password';
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A Text Input
|
|
38
|
+
*/
|
|
39
|
+
export declare const TextInput: import("react").FC<TextInputProps>, textInput: import("@xh/hoist/core").ElementFactory<TextInputProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './Label';
|
|
2
|
+
export * from './ButtonGroupInput';
|
|
3
|
+
export * from './Checkbox';
|
|
4
|
+
export * from './DateInput';
|
|
5
|
+
export * from './NumberInput';
|
|
6
|
+
export * from './SearchInput';
|
|
7
|
+
export * from './Select';
|
|
8
|
+
export * from './SwitchInput';
|
|
9
|
+
export * from './TextInput';
|
|
10
|
+
export * from './TextArea';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HoistProps, Some, TaskObserver } from '@xh/hoist/core';
|
|
3
|
+
import '@xh/hoist/mobile/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?: 'tl' | 'tr' | 'bl' | 'br';
|
|
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 tasks.
|
|
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,25 @@
|
|
|
1
|
+
import { HoistProps, Some, TaskObserver } from '@xh/hoist/core';
|
|
2
|
+
import '@xh/hoist/mobile/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 to display the mask. */
|
|
9
|
+
isDisplayed?: boolean;
|
|
10
|
+
/** Text to be displayed under the loading spinner image */
|
|
11
|
+
message?: ReactNode;
|
|
12
|
+
/** Callback when mask is tapped, relayed to underlying div element. */
|
|
13
|
+
onClick?: (e: MouseEvent) => void;
|
|
14
|
+
/** True (default) to display a spinning image. */
|
|
15
|
+
spinner?: boolean;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Mask with optional spinner and text.
|
|
19
|
+
*
|
|
20
|
+
* The mask can be explicitly controlled via props or bound to a TaskObserver.
|
|
21
|
+
*
|
|
22
|
+
* Note that the Panel component's `mask` prop provides a common and convenient method for masking
|
|
23
|
+
* sections of the UI without needing to manually create or manage this component.
|
|
24
|
+
*/
|
|
25
|
+
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,21 @@
|
|
|
1
|
+
import { MenuItemLike } from '@xh/hoist/core';
|
|
2
|
+
import { ButtonProps } from '@xh/hoist/mobile/cmp/button';
|
|
3
|
+
import { PopoverProps } from '@xh/hoist/mobile/cmp/popover';
|
|
4
|
+
import '@xh/hoist/mobile/register';
|
|
5
|
+
import { ReactNode } from 'react';
|
|
6
|
+
export interface MenuButtonProps extends Omit<ButtonProps, 'title'> {
|
|
7
|
+
/** Array of MenuItems or spacers. */
|
|
8
|
+
menuItems?: MenuItemLike[];
|
|
9
|
+
/** Position of menu relative to button */
|
|
10
|
+
menuPosition?: 'top-left' | 'top' | 'top-right' | 'right-top' | 'right' | 'right-bottom' | 'bottom-right' | 'bottom' | 'bottom-left' | 'left-bottom' | 'left' | 'left-top' | 'auto';
|
|
11
|
+
/** Optional title to display above the menu. */
|
|
12
|
+
title?: ReactNode;
|
|
13
|
+
/** True to disable user interaction. */
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
/** Props passed to the internal popover. */
|
|
16
|
+
popoverProps?: Partial<PopoverProps>;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Convenience Button preconfigured for use as a trigger for a dropdown menu operation.
|
|
20
|
+
*/
|
|
21
|
+
export declare const MenuButton: import("react").FC<MenuButtonProps>, menuButton: import("@xh/hoist/core").ElementFactory<MenuButtonProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HoistModel } from '@xh/hoist/core';
|
|
2
|
+
import './Menu.scss';
|
|
3
|
+
/**
|
|
4
|
+
* Internal Menu Component for MenuButton.
|
|
5
|
+
*
|
|
6
|
+
* Note that the Menu itself does not maintain open / close state - it is the responsibility
|
|
7
|
+
* of the triggering component to manage this state. Requires an `onDismiss` callback to
|
|
8
|
+
* facilitate closing the menu from within this component.
|
|
9
|
+
*
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export declare const menu: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<HoistModel>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MenuButton';
|