@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,112 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HoistModel, PersistenceProvider, PersistOptions, RefreshContextModel, RefreshMode, RenderMode, Side } from '@xh/hoist/core';
|
|
3
|
+
import '@xh/hoist/desktop/register';
|
|
4
|
+
import { ModalSupportConfig, ModalSupportModel } from '../modalsupport/';
|
|
5
|
+
export interface PanelConfig {
|
|
6
|
+
/** Can panel be resized? */
|
|
7
|
+
resizable?: boolean;
|
|
8
|
+
/** Redraw panel as resize happens? */
|
|
9
|
+
resizeWhileDragging?: boolean;
|
|
10
|
+
/** Can panel be collapsed, showing only its header? */
|
|
11
|
+
collapsible?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Default size (in px or %) of the panel.
|
|
14
|
+
* Supported formats:
|
|
15
|
+
* 1. Pixels, as a number
|
|
16
|
+
* 2. Pixels, as a string 'Npx'
|
|
17
|
+
* 3. Percent, as a string 'N%'
|
|
18
|
+
*/
|
|
19
|
+
defaultSize?: number | string;
|
|
20
|
+
/** Minimum size (in px) to which the panel can be resized. */
|
|
21
|
+
minSize?: number;
|
|
22
|
+
/** Maximum size (in px) to which the panel can be resized. */
|
|
23
|
+
maxSize?: number;
|
|
24
|
+
/** Default collapsed state. */
|
|
25
|
+
defaultCollapsed?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Side towards which the panel collapses or shrinks. This relates
|
|
28
|
+
* to the position within a parent vbox or hbox in which the panel should be placed.
|
|
29
|
+
*/
|
|
30
|
+
side?: Side;
|
|
31
|
+
/**
|
|
32
|
+
* Set to true to enable built-in support for showing panel contents in a modal, or provide a
|
|
33
|
+
* config to further configure.
|
|
34
|
+
*/
|
|
35
|
+
modalSupport?: boolean | ModalSupportConfig;
|
|
36
|
+
/** How should collapsed content be rendered? Ignored if collapsible is false. */
|
|
37
|
+
renderMode?: RenderMode;
|
|
38
|
+
/** How should collapsed content be refreshed? Ignored if collapsible is false. */
|
|
39
|
+
refreshMode?: RefreshMode;
|
|
40
|
+
/** Options governing persistence. */
|
|
41
|
+
persistWith?: PersistOptions;
|
|
42
|
+
/** Should a splitter be rendered at the panel edge? */
|
|
43
|
+
showSplitter?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Should the collapse button be visible on the splitter? Only applicable if the splitter
|
|
46
|
+
* is visible and the panel is collapsible.
|
|
47
|
+
*/
|
|
48
|
+
showSplitterCollapseButton?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Should a collapse button be added to the end of the panel header? Only applicable if the
|
|
51
|
+
* panel is collapsible.
|
|
52
|
+
*/
|
|
53
|
+
showHeaderCollapseButton?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Should a modal toggle button be added to the end of the panel header? Only applicable if
|
|
56
|
+
* the panel has modal support.
|
|
57
|
+
*/
|
|
58
|
+
showModalToggleButton?: boolean;
|
|
59
|
+
/** @internal */
|
|
60
|
+
xhImpl?: any;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* PanelModel supports configuration and state-management for user-driven Panel resizing and
|
|
64
|
+
* expand/collapse, along with support for saving this state via a configured PersistenceProvider.
|
|
65
|
+
*/
|
|
66
|
+
export declare class PanelModel extends HoistModel {
|
|
67
|
+
config: PanelConfig;
|
|
68
|
+
readonly resizable: boolean;
|
|
69
|
+
readonly collapsible: boolean;
|
|
70
|
+
readonly defaultSize: number | string;
|
|
71
|
+
readonly minSize: number;
|
|
72
|
+
readonly maxSize: number;
|
|
73
|
+
readonly defaultCollapsed: boolean;
|
|
74
|
+
readonly side: Side;
|
|
75
|
+
readonly renderMode: RenderMode;
|
|
76
|
+
readonly refreshMode: RefreshMode;
|
|
77
|
+
readonly showSplitter: boolean;
|
|
78
|
+
readonly showSplitterCollapseButton: boolean;
|
|
79
|
+
readonly showHeaderCollapseButton: boolean;
|
|
80
|
+
readonly showModalToggleButton: boolean;
|
|
81
|
+
modalSupportModel: ModalSupportModel;
|
|
82
|
+
refreshContextModel: RefreshContextModel;
|
|
83
|
+
provider: PersistenceProvider;
|
|
84
|
+
resizeWhileDragging: boolean;
|
|
85
|
+
/** Is the Panel rendering in a collapsed state? */
|
|
86
|
+
collapsed: boolean;
|
|
87
|
+
/** Size in pixels or percents along sizing dimension. Used when object is *not* collapsed. */
|
|
88
|
+
size: number | string;
|
|
89
|
+
/** Is this panel currently resizing? */
|
|
90
|
+
isResizing: boolean;
|
|
91
|
+
/** Is the panel rendering in its modal view state? Observable property. */
|
|
92
|
+
get isModal(): boolean;
|
|
93
|
+
get hasModalSupport(): boolean;
|
|
94
|
+
get isActive(): boolean;
|
|
95
|
+
_resizeRef: React.RefObject<HTMLDivElement>;
|
|
96
|
+
splitterRef: React.RefObject<HTMLDivElement>;
|
|
97
|
+
constructor({ collapsible, resizable, resizeWhileDragging, defaultSize, minSize, maxSize, defaultCollapsed, side, modalSupport, renderMode, refreshMode, persistWith, showSplitter, showSplitterCollapseButton, showHeaderCollapseButton, showModalToggleButton, xhImpl }: PanelConfig);
|
|
98
|
+
setCollapsed(collapsed: boolean): void;
|
|
99
|
+
toggleCollapsed(): void;
|
|
100
|
+
setIsModal(isModal: boolean): void;
|
|
101
|
+
toggleIsModal(): void;
|
|
102
|
+
setIsResizing(v: boolean): void;
|
|
103
|
+
/**
|
|
104
|
+
* Enable/disable dynamic re-rendering of contents while dragging to resize.
|
|
105
|
+
*/
|
|
106
|
+
setResizeWhileDragging(v: boolean): void;
|
|
107
|
+
get vertical(): boolean;
|
|
108
|
+
get contentFirst(): boolean;
|
|
109
|
+
enforceSizeLimits(): void;
|
|
110
|
+
private legacyState;
|
|
111
|
+
private dispatchResize;
|
|
112
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const resizeContainer: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<import("@xh/hoist/core").HoistModel>>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HoistModel } from '@xh/hoist/core';
|
|
3
|
+
import { PanelModel } from '../../PanelModel';
|
|
4
|
+
export declare class DraggerModel extends HoistModel {
|
|
5
|
+
xhImpl: boolean;
|
|
6
|
+
panelModel: PanelModel;
|
|
7
|
+
ref: import("react").RefObject<unknown> & ((instance: unknown) => void);
|
|
8
|
+
resizeState: any;
|
|
9
|
+
startSize: any;
|
|
10
|
+
diff: any;
|
|
11
|
+
panelEl: any;
|
|
12
|
+
panelParent: any;
|
|
13
|
+
dragBar: any;
|
|
14
|
+
maxSize: any;
|
|
15
|
+
throttledSetSize: any;
|
|
16
|
+
onLinked(): void;
|
|
17
|
+
private addListeners;
|
|
18
|
+
private onDragStart;
|
|
19
|
+
private onDrag;
|
|
20
|
+
private onDragEnd;
|
|
21
|
+
private updateSize;
|
|
22
|
+
private getDraggableSplitter;
|
|
23
|
+
private moveDragBar;
|
|
24
|
+
private getSiblingAvailSize;
|
|
25
|
+
private parseEventPositions;
|
|
26
|
+
private isValidMouseEvent;
|
|
27
|
+
private isValidTouchEvent;
|
|
28
|
+
/**
|
|
29
|
+
* @param v - Workaround to allow dragging over iframe, which is its own
|
|
30
|
+
* separate document and cannot listen for events from main document.
|
|
31
|
+
*/
|
|
32
|
+
setIframePointerEvents(v: 'none' | 'auto'): void;
|
|
33
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import '@xh/hoist/desktop/register';
|
|
3
|
+
import './PinPad.scss';
|
|
4
|
+
/**
|
|
5
|
+
* Desktop Implementation of PinPad.
|
|
6
|
+
*
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export declare function pinPadImpl({ model }: {
|
|
10
|
+
model: any;
|
|
11
|
+
}, ref: any): import("react").ReactElement<import("@xh/hoist/cmp/layout").FrameProps, any>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Column, GridModel } from '@xh/hoist/cmp/grid';
|
|
3
|
+
import { RecordActionSpec, RecordAction, StoreRecord, StoreSelectionModel } from '@xh/hoist/data';
|
|
4
|
+
import { ButtonGroupProps } from '@xh/hoist/desktop/cmp/button';
|
|
5
|
+
import '@xh/hoist/desktop/register';
|
|
6
|
+
import { RecordActionButtonProps } from './impl/RecordActionButton';
|
|
7
|
+
export interface RecordActionBarProps extends ButtonGroupProps {
|
|
8
|
+
/** Actions to include. */
|
|
9
|
+
actions: Array<RecordActionSpec | RecordAction>;
|
|
10
|
+
/** The StoreRecord to associate with the actions. Required if selModel is omitted. */
|
|
11
|
+
record?: StoreRecord;
|
|
12
|
+
/** The selection model used to determine the selected records. Required if record is omitted. */
|
|
13
|
+
selModel?: StoreSelectionModel;
|
|
14
|
+
/** The grid model which contains the records we may act on. */
|
|
15
|
+
gridModel?: GridModel;
|
|
16
|
+
/** The column in a grid where this button is displayed. */
|
|
17
|
+
column?: Column;
|
|
18
|
+
/** Props to pass to the button components. */
|
|
19
|
+
buttonProps?: RecordActionButtonProps;
|
|
20
|
+
/** Set to true to stack the buttons vertically. */
|
|
21
|
+
vertical?: boolean;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Component that accepts an array of one or more RecordActions, which it renders as buttons in a
|
|
25
|
+
* ButtonGroup.
|
|
26
|
+
*
|
|
27
|
+
* The component must be provided either the `record` or the `selModel` to determine which record
|
|
28
|
+
* to pass to the RecordAction callbacks. If provided, the `gridModel` and `column` will also be
|
|
29
|
+
* passed to the RecordAction callbacks.
|
|
30
|
+
*
|
|
31
|
+
* @see RecordAction
|
|
32
|
+
*/
|
|
33
|
+
export declare const RecordActionBar: import("react").FC<RecordActionBarProps>, recordActionBar: import("@xh/hoist/core").ElementFactory<RecordActionBarProps>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Column, GridModel } from '@xh/hoist/cmp/grid';
|
|
3
|
+
import { RecordAction, StoreRecord, StoreSelectionModel } from '@xh/hoist/data';
|
|
4
|
+
import { ButtonProps } from '@xh/hoist/desktop/cmp/button';
|
|
5
|
+
/** @internal */
|
|
6
|
+
export interface RecordActionButtonProps extends ButtonProps {
|
|
7
|
+
/** The action to run. */
|
|
8
|
+
action?: RecordAction;
|
|
9
|
+
/** Set to true to use minimal button style and hide action text */
|
|
10
|
+
minimal?: boolean;
|
|
11
|
+
record?: StoreRecord;
|
|
12
|
+
selModel?: StoreSelectionModel;
|
|
13
|
+
gridModel?: GridModel;
|
|
14
|
+
column?: Column;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Button component used by RecordActionBar and in grid action columns.
|
|
18
|
+
*
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
21
|
+
export declare const RecordActionButton: import("react").FC<RecordActionButtonProps>, recordActionButton: import("@xh/hoist/core").ElementFactory<RecordActionButtonProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RecordActionBar';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import '@xh/hoist/desktop/register';
|
|
2
|
+
import { RecordActionSpec } from '@xh/hoist/data';
|
|
3
|
+
export declare const addAction: RecordActionSpec;
|
|
4
|
+
export declare const editAction: RecordActionSpec;
|
|
5
|
+
export declare const viewAction: RecordActionSpec;
|
|
6
|
+
export declare const cloneAction: RecordActionSpec;
|
|
7
|
+
export declare const deleteAction: RecordActionSpec;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { HoistProps, PlainObject, Some } from '@xh/hoist/core';
|
|
2
|
+
import { PanelProps } from '@xh/hoist/desktop/cmp/panel';
|
|
3
|
+
import '@xh/hoist/desktop/register';
|
|
4
|
+
import { ReactElement, ReactNode } from 'react';
|
|
5
|
+
import { RestGridModel } from './RestGridModel';
|
|
6
|
+
export interface RestGridProps extends HoistProps<RestGridModel>, Omit<PanelProps, 'model' | 'modelConfig' | 'modelRef'> {
|
|
7
|
+
/**
|
|
8
|
+
* This constitutes an 'escape hatch' for applications that need to get to the underlying
|
|
9
|
+
* ag-Grid API. It should be used with care. Settings made here might be overwritten and/or
|
|
10
|
+
* interfere with the implementation of this component and its use of the ag-Grid API.
|
|
11
|
+
*/
|
|
12
|
+
agOptions?: PlainObject;
|
|
13
|
+
/** Optional components rendered adjacent to the top toolbar's action buttons */
|
|
14
|
+
extraToolbarItems?: Some<ReactNode> | (() => Some<ReactNode>);
|
|
15
|
+
/**
|
|
16
|
+
* Mask to render on this Component. Defaults to true, which renders a standard
|
|
17
|
+
* Hoist mask. Also can be set to false for no mask, or passed an element
|
|
18
|
+
* specifying a Mask instance.
|
|
19
|
+
*/
|
|
20
|
+
mask?: ReactElement | boolean;
|
|
21
|
+
/** Classname to be passed to RestForm. */
|
|
22
|
+
formClassName?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare const RestGrid: import("react").FC<RestGridProps>, restGrid: import("@xh/hoist/core").ElementFactory<RestGridProps>;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { BaseFieldConfig } from '@xh/hoist/cmp/form';
|
|
2
|
+
import { GridConfig, GridModel } from '@xh/hoist/cmp/grid';
|
|
3
|
+
import { HoistModel, PlainObject, ElementSpec } from '@xh/hoist/core';
|
|
4
|
+
import '@xh/hoist/desktop/register';
|
|
5
|
+
import { RecordAction, RecordActionSpec, StoreRecord } from '@xh/hoist/data';
|
|
6
|
+
import { RestStore, RestStoreConfig } from './data/RestStore';
|
|
7
|
+
import { RestFormModel } from './impl/RestFormModel';
|
|
8
|
+
import { FormFieldProps } from '../form';
|
|
9
|
+
import { ExportOptions } from '@xh/hoist/svc';
|
|
10
|
+
export interface RestGridConfig extends GridConfig {
|
|
11
|
+
store?: RestStore | RestStoreConfig;
|
|
12
|
+
/** Prevent users from creating, updating, or destroying a record. Defaults to false. */
|
|
13
|
+
readonly?: boolean;
|
|
14
|
+
/** Actions to display in the toolbar. Defaults to add, edit, delete. */
|
|
15
|
+
toolbarActions?: Array<RecordAction | RecordActionSpec>;
|
|
16
|
+
/** actions to display in the grid context menu. Defaults to add, edit, delete. */
|
|
17
|
+
menuActions?: Array<RecordAction | RecordActionSpec>;
|
|
18
|
+
/** Actions to display in the form toolbar. Defaults to delete. */
|
|
19
|
+
formActions?: Array<RecordAction | RecordActionSpec>;
|
|
20
|
+
/** Warning to display before actions on a selection of records. */
|
|
21
|
+
actionWarning?: {
|
|
22
|
+
add?: string | ((recs: StoreRecord[]) => string);
|
|
23
|
+
del?: string | ((recs: StoreRecord[]) => string);
|
|
24
|
+
edit?: string | ((recs: StoreRecord[]) => string);
|
|
25
|
+
};
|
|
26
|
+
/** Name that describes records in this grid. */
|
|
27
|
+
unit?: string;
|
|
28
|
+
/** Names of fields to include in this grid's quick filter logic. */
|
|
29
|
+
filterFields?: string[];
|
|
30
|
+
/** Called prior to passing the original record and cloned record to the editor form. */
|
|
31
|
+
prepareCloneFn?: (input: {
|
|
32
|
+
record: StoreRecord;
|
|
33
|
+
clone: PlainObject;
|
|
34
|
+
}) => void;
|
|
35
|
+
/** Specifications for fields to be displayed in editor form. */
|
|
36
|
+
editors?: RestGridEditor[];
|
|
37
|
+
/** Callback to call when a row is double clicked. */
|
|
38
|
+
onRowDoubleClicked?: (e: any) => void;
|
|
39
|
+
}
|
|
40
|
+
export interface RestGridEditor {
|
|
41
|
+
/**
|
|
42
|
+
* Name of field to appear in the editor form - should match name of a Store Field
|
|
43
|
+
* configured for this RestGridModel.
|
|
44
|
+
*/
|
|
45
|
+
field: string;
|
|
46
|
+
/**
|
|
47
|
+
* Partial config for FormField to be used to display this field. Can be used to specify or
|
|
48
|
+
* customize the input used for editing/displaying this Field.
|
|
49
|
+
*/
|
|
50
|
+
formField?: ElementSpec<Partial<FormFieldProps>>;
|
|
51
|
+
/**
|
|
52
|
+
* Partial config for underlying FieldModel to be used for form display. Can be used to
|
|
53
|
+
* specify additional validation requirements.
|
|
54
|
+
*/
|
|
55
|
+
fieldModel?: Partial<BaseFieldConfig>;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Core Model for a RestGrid.
|
|
59
|
+
*/
|
|
60
|
+
export declare class RestGridModel extends HoistModel {
|
|
61
|
+
config: RestGridConfig;
|
|
62
|
+
readonly: boolean;
|
|
63
|
+
editors: RestGridEditor[];
|
|
64
|
+
toolbarActions: Array<RecordAction | RecordActionSpec>;
|
|
65
|
+
menuActions: Array<RecordAction | RecordActionSpec>;
|
|
66
|
+
formActions: Array<RecordAction | RecordActionSpec>;
|
|
67
|
+
prepareCloneFn: (input: {
|
|
68
|
+
record: StoreRecord;
|
|
69
|
+
clone: PlainObject;
|
|
70
|
+
}) => void;
|
|
71
|
+
unit: string;
|
|
72
|
+
filterFields: string[];
|
|
73
|
+
actionWarning: {
|
|
74
|
+
add: any;
|
|
75
|
+
edit: any;
|
|
76
|
+
del: (recs: any) => string;
|
|
77
|
+
};
|
|
78
|
+
gridModel: GridModel;
|
|
79
|
+
formModel: RestFormModel;
|
|
80
|
+
get store(): RestStore;
|
|
81
|
+
get selModel(): import("@xh/hoist/data").StoreSelectionModel;
|
|
82
|
+
get selectedRecords(): StoreRecord[];
|
|
83
|
+
get selectedRecord(): StoreRecord;
|
|
84
|
+
constructor({ readonly, toolbarActions, menuActions, formActions, actionWarning, prepareCloneFn, unit, filterFields, editors, onRowDoubleClicked, store, appData, ...rest }: RestGridConfig);
|
|
85
|
+
/** Load the underlying store. */
|
|
86
|
+
doLoadAsync(loadSpec: any): Promise<void>;
|
|
87
|
+
/** Load the underlying store. */
|
|
88
|
+
loadData(rawData: PlainObject[], rawSummaryData?: PlainObject): void;
|
|
89
|
+
addRecord(): void;
|
|
90
|
+
cloneRecord(record: StoreRecord): void;
|
|
91
|
+
deleteRecordAsync(record: StoreRecord): Promise<any>;
|
|
92
|
+
bulkDeleteRecordsAsync(records: StoreRecord[]): Promise<any>;
|
|
93
|
+
editRecord(record: StoreRecord): void;
|
|
94
|
+
viewRecord(record: StoreRecord): void;
|
|
95
|
+
confirmDeleteRecords(): void;
|
|
96
|
+
exportAsync(options?: ExportOptions): Promise<void>;
|
|
97
|
+
private parseStore;
|
|
98
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Field, FieldSpec } from '@xh/hoist/data';
|
|
2
|
+
import '@xh/hoist/desktop/register';
|
|
3
|
+
import { PlainObject } from '@xh/hoist/core';
|
|
4
|
+
export interface RestFieldSpec extends FieldSpec {
|
|
5
|
+
/**
|
|
6
|
+
* False to disable editing and present field as readonly data. True (default) to enable
|
|
7
|
+
* editing, or token 'onAdd' to enable editing only when first creating a record.
|
|
8
|
+
*/
|
|
9
|
+
editable?: boolean | 'onAdd';
|
|
10
|
+
/** True to require a non-null value for additions and edits.*/
|
|
11
|
+
required?: boolean;
|
|
12
|
+
/** Array of available option values. */
|
|
13
|
+
lookup?: PlainObject[] | string[];
|
|
14
|
+
/** Name of server-provided options to populate lookup.*/
|
|
15
|
+
lookupName?: string;
|
|
16
|
+
/** For lookups, true to accept custom values not found within provided lookup options. */
|
|
17
|
+
enableCreate?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Name of another field within this this record that specifies the value type for this field.
|
|
20
|
+
* (See `Field.type`.)
|
|
21
|
+
*/
|
|
22
|
+
typeField?: string;
|
|
23
|
+
/** All Arguments for the field*/
|
|
24
|
+
fieldArgs?: PlainObject;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Extended field for RestGrid.
|
|
28
|
+
*/
|
|
29
|
+
export declare class RestField extends Field {
|
|
30
|
+
editable: boolean | string;
|
|
31
|
+
required: boolean;
|
|
32
|
+
lookup: PlainObject[] | string[];
|
|
33
|
+
lookupName: string;
|
|
34
|
+
enableCreate: boolean;
|
|
35
|
+
typeField: string;
|
|
36
|
+
constructor({ editable, required, lookup, lookupName, enableCreate, typeField, ...rest }: RestFieldSpec);
|
|
37
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { PlainObject } from '@xh/hoist/core';
|
|
2
|
+
import { StoreRecord, StoreRecordId, UrlStore, UrlStoreConfig } from '@xh/hoist/data';
|
|
3
|
+
import '@xh/hoist/desktop/register';
|
|
4
|
+
import { RestField, RestFieldSpec } from './RestField';
|
|
5
|
+
export interface RestStoreConfig extends UrlStoreConfig {
|
|
6
|
+
/** Field names, configs, or instances. */
|
|
7
|
+
fields?: Array<string | RestFieldSpec | RestField>;
|
|
8
|
+
/** Whether lookups should be loaded each time new data is loaded or updated by this client. */
|
|
9
|
+
reloadLookupsOnLoad?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Store with additional support for RestGrid.
|
|
13
|
+
* Provides support for lookups, and CRUD operations on records.
|
|
14
|
+
*/
|
|
15
|
+
export declare class RestStore extends UrlStore {
|
|
16
|
+
fields: RestField[];
|
|
17
|
+
reloadLookupsOnLoad: boolean;
|
|
18
|
+
private lookupsLoaded;
|
|
19
|
+
constructor({ url, dataRoot, reloadLookupsOnLoad, ...rest }: RestStoreConfig);
|
|
20
|
+
get defaultFieldClass(): typeof RestField;
|
|
21
|
+
doLoadAsync(loadSpec: any): Promise<void>;
|
|
22
|
+
deleteRecordAsync(rec: StoreRecord): Promise<void>;
|
|
23
|
+
bulkDeleteRecordsAsync(records: StoreRecord[]): Promise<any>;
|
|
24
|
+
addRecordAsync(rec: {
|
|
25
|
+
id?: StoreRecordId;
|
|
26
|
+
data: PlainObject;
|
|
27
|
+
}): Promise<StoreRecord>;
|
|
28
|
+
saveRecordAsync(rec: {
|
|
29
|
+
id: StoreRecordId;
|
|
30
|
+
data: PlainObject;
|
|
31
|
+
}): Promise<StoreRecord>;
|
|
32
|
+
bulkUpdateRecordsAsync(ids: StoreRecordId[], newParams: PlainObject): Promise<any>;
|
|
33
|
+
editableDataForRecord(record: {
|
|
34
|
+
data: PlainObject;
|
|
35
|
+
}): PlainObject;
|
|
36
|
+
getField(name: string): RestField;
|
|
37
|
+
private saveRecordInternalAsync;
|
|
38
|
+
private ensureLookupsLoadedAsync;
|
|
39
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormModel } from '@xh/hoist/cmp/form';
|
|
3
|
+
import { HoistModel, PlainObject } from '@xh/hoist/core';
|
|
4
|
+
import { RestGridEditor, RestGridModel } from '@xh/hoist/desktop/cmp/rest';
|
|
5
|
+
import { RestField } from '../data/RestField';
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export declare class RestFormModel extends HoistModel {
|
|
10
|
+
parent: RestGridModel;
|
|
11
|
+
currentRecord: any;
|
|
12
|
+
readonly: boolean;
|
|
13
|
+
isAdd: boolean;
|
|
14
|
+
isOpen: boolean;
|
|
15
|
+
formModel: FormModel;
|
|
16
|
+
types: PlainObject;
|
|
17
|
+
dialogRef: import("react").RefObject<HTMLElement>;
|
|
18
|
+
get actionWarning(): {
|
|
19
|
+
add: any;
|
|
20
|
+
edit: any;
|
|
21
|
+
del: (recs: any) => string;
|
|
22
|
+
};
|
|
23
|
+
get actions(): (import("@xh/hoist/data").RecordAction | import("@xh/hoist/data").RecordActionSpec)[];
|
|
24
|
+
get editors(): RestGridEditor[];
|
|
25
|
+
get gridModel(): import("../../../../cmp/grid").GridModel;
|
|
26
|
+
get store(): import("@xh/hoist/desktop/cmp/rest").RestStore;
|
|
27
|
+
get loadModel(): import("@xh/hoist/core").TaskObserver;
|
|
28
|
+
constructor(parent: RestGridModel);
|
|
29
|
+
getStoreField(field: string): RestField;
|
|
30
|
+
getFormFieldModel(field: string): import("@xh/hoist/cmp/form").BaseFieldModel;
|
|
31
|
+
close(): void;
|
|
32
|
+
openAdd(): void;
|
|
33
|
+
openEdit(rec: any): void;
|
|
34
|
+
openClone(data: any): void;
|
|
35
|
+
openView(rec: any): void;
|
|
36
|
+
validateAndSaveAsync(): Promise<any>;
|
|
37
|
+
private initForm;
|
|
38
|
+
private saveRecordAsync;
|
|
39
|
+
fieldModelConfig(editor: RestGridEditor): {
|
|
40
|
+
name: string;
|
|
41
|
+
rules: import("@xh/hoist/data").Constraint<any>[];
|
|
42
|
+
displayName: string;
|
|
43
|
+
readonly: boolean;
|
|
44
|
+
initialValue: any;
|
|
45
|
+
} & Partial<import("@xh/hoist/cmp/form").BaseFieldConfig>;
|
|
46
|
+
private calcType;
|
|
47
|
+
private getDynamicType;
|
|
48
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import '@xh/hoist/desktop/register';
|
|
3
|
+
/**
|
|
4
|
+
* Desktop implementation of StoreFilterField.
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export declare function storeFilterFieldImpl(props: any): import("react").ReactElement<import("@xh/hoist/desktop/cmp/input").TextInputProps, any>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TabSwitcherProps } from '@xh/hoist/cmp/tab';
|
|
3
|
+
import '@xh/hoist/desktop/register';
|
|
4
|
+
/**
|
|
5
|
+
* Component to indicate and control the active tab of a TabContainer.
|
|
6
|
+
*
|
|
7
|
+
* The orientation property controls how this switcher will be rendered.
|
|
8
|
+
* For 'top' or 'bottom' orientations this switcher will be rendered in horizontal mode.
|
|
9
|
+
* For 'left' or 'right' orientations this switcher will be rendered in vertical mode.
|
|
10
|
+
*
|
|
11
|
+
* Overflowing tabs can be displayed in a dropdown menu if `enableOverflow` is true.
|
|
12
|
+
* Note that in order for tabs to overflow, the TabSwitcher or it's wrapper must have a
|
|
13
|
+
* a maximum width.
|
|
14
|
+
*/
|
|
15
|
+
export declare const TabSwitcher: import("react").FC<TabSwitcherProps>, tabSwitcher: import("@xh/hoist/core").ElementFactory<TabSwitcherProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TabModel } from '@xh/hoist/cmp/tab';
|
|
2
|
+
/**
|
|
3
|
+
* Wrapper for contents to be shown within a TabContainer. This Component is used by TabContainer's
|
|
4
|
+
* internal implementation to:
|
|
5
|
+
*
|
|
6
|
+
* - Mount/unmount its contents according to {@link TabModel.renderMode}.
|
|
7
|
+
* - Track and trigger refreshes according to {@link TabModel.refreshMode}.
|
|
8
|
+
* - Stretch its contents using a flex layout.
|
|
9
|
+
*
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export declare const tab: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<TabModel>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import '../Tabs.scss';
|
|
3
|
+
import { TabContainerProps } from '@xh/hoist/cmp/tab';
|
|
4
|
+
/**
|
|
5
|
+
* Desktop implementation of TabContainer.
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export declare function tabContainerImpl({ model, className, ...props }: TabContainerProps): import("react").ReactElement<import("@xh/hoist/cmp/layout").BoxComponentProps, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TabSwitcher';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BoxProps, HoistProps } from '@xh/hoist/core';
|
|
3
|
+
import '@xh/hoist/desktop/register';
|
|
4
|
+
import './Toolbar.scss';
|
|
5
|
+
export interface ToolbarProps extends HoistProps, BoxProps {
|
|
6
|
+
/** Set to true to style toolbar with reduced height and font-size. */
|
|
7
|
+
compact?: boolean;
|
|
8
|
+
/** Set to true to vertically align the items of this toolbar. */
|
|
9
|
+
vertical?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Place items that overflow in a menu. Only available for horizontal toolbars.
|
|
12
|
+
* Default to false. NOTE, the move of components into a menu when they overflow will trigger a
|
|
13
|
+
* remount of those components.
|
|
14
|
+
*/
|
|
15
|
+
enableOverflowMenu?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* For horizontal toolbars that overflow, manages which direction the items collapse from.
|
|
18
|
+
* Defaults to 'end'.
|
|
19
|
+
*/
|
|
20
|
+
collapseFrom?: 'start' | 'end';
|
|
21
|
+
/**
|
|
22
|
+
* For horizontal toolbars that overflow, manages the minimum number of visible items
|
|
23
|
+
* that should never collapse into the overflow menu.
|
|
24
|
+
*/
|
|
25
|
+
minVisibleItems?: number;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A toolbar with built-in styling and padding.
|
|
29
|
+
* In horizontal toolbars, items which overflow can be collapsed into a drop-down menu.
|
|
30
|
+
*/
|
|
31
|
+
export declare const Toolbar: import("react").FC<ToolbarProps>, toolbar: import("@xh/hoist/core").ElementFactory<ToolbarProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import '@xh/hoist/desktop/register';
|
|
3
|
+
import './Toolbar.scss';
|
|
4
|
+
/**
|
|
5
|
+
* Convenience component to insert a pre-styled separator | between Toolbar items.
|
|
6
|
+
*/
|
|
7
|
+
export declare const ToolbarSeparator: import("react").FC<import("@xh/hoist/core").DefaultHoistProps<import("@xh/hoist/core").HoistModel>>, toolbarSeparator: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<import("@xh/hoist/core").HoistModel>>;
|
|
8
|
+
/**
|
|
9
|
+
* Abbreviated alias for ToolbarSeparator
|
|
10
|
+
*/
|
|
11
|
+
export declare const ToolbarSep: import("react").FC<import("@xh/hoist/core").DefaultHoistProps<import("@xh/hoist/core").HoistModel>>, toolbarSep: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<import("@xh/hoist/core").HoistModel>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BoxProps, HoistProps } from '@xh/hoist/core';
|
|
3
|
+
import '@xh/hoist/desktop/register';
|
|
4
|
+
import './SplitTreeMap.scss';
|
|
5
|
+
import { SplitTreeMapModel } from './SplitTreeMapModel';
|
|
6
|
+
export interface SplitTreeMapProps extends HoistProps<SplitTreeMapModel>, BoxProps {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A component which divides data across two TreeMaps.
|
|
10
|
+
*/
|
|
11
|
+
export declare const SplitTreeMap: import("react").FC<SplitTreeMapProps>, splitTreeMap: import("@xh/hoist/core").ElementFactory<SplitTreeMapProps>;
|