@xh/hoist 82.0.1 → 82.0.3
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 +14 -0
- package/build/types/admin/AdminUtils.d.ts +11 -0
- package/build/types/admin/AppComponent.d.ts +3 -0
- package/build/types/admin/AppModel.d.ts +19 -0
- package/build/types/admin/columns/Clients.d.ts +8 -0
- package/build/types/admin/columns/Core.d.ts +9 -0
- package/build/types/admin/columns/Rest.d.ts +6 -0
- package/build/types/admin/columns/Tracking.d.ts +32 -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 +6 -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 +52 -0
- package/build/types/admin/jsonsearch/JsonSearch.d.ts +17 -0
- package/build/types/admin/jsonsearch/impl/JsonSearchImplModel.d.ts +32 -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/BaseAdminTabModel.d.ts +5 -0
- package/build/types/admin/tabs/activity/aggregators/RangeAggregator.d.ts +8 -0
- package/build/types/admin/tabs/activity/tracking/ActivityTrackingModel.d.ts +62 -0
- package/build/types/admin/tabs/activity/tracking/ActivityTrackingPanel.d.ts +3 -0
- package/build/types/admin/tabs/activity/tracking/chart/AggChartModel.d.ts +34 -0
- package/build/types/admin/tabs/activity/tracking/chart/AggChartPanel.d.ts +2 -0
- package/build/types/admin/tabs/activity/tracking/datafields/DataFieldsEditor.d.ts +2 -0
- package/build/types/admin/tabs/activity/tracking/datafields/DataFieldsEditorModel.d.ts +46 -0
- package/build/types/admin/tabs/activity/tracking/detail/ActivityDetailModel.d.ts +41 -0
- package/build/types/admin/tabs/activity/tracking/detail/ActivityDetailView.d.ts +2 -0
- package/build/types/admin/tabs/clients/ClientsModel.d.ts +19 -0
- package/build/types/admin/tabs/clients/ClientsPanel.d.ts +2 -0
- package/build/types/admin/tabs/clients/activity/ClientDetailModel.d.ts +21 -0
- package/build/types/admin/tabs/clients/activity/ClientDetailPanel.d.ts +3 -0
- package/build/types/admin/tabs/cluster/index.d.ts +3 -0
- package/build/types/admin/tabs/cluster/instances/BaseInstanceModel.d.ts +9 -0
- package/build/types/admin/tabs/cluster/instances/InstancesTab.d.ts +4 -0
- package/build/types/admin/tabs/cluster/instances/InstancesTabModel.d.ts +27 -0
- package/build/types/admin/tabs/cluster/instances/connpool/ConnPoolMonitorModel.d.ts +15 -0
- package/build/types/admin/tabs/cluster/instances/connpool/ConnPoolMonitorPanel.d.ts +2 -0
- package/build/types/admin/tabs/cluster/instances/environment/ServerEnvModel.d.ts +12 -0
- package/build/types/admin/tabs/cluster/instances/environment/ServerEnvPanel.d.ts +2 -0
- package/build/types/admin/tabs/cluster/instances/logs/LogDisplay.d.ts +6 -0
- package/build/types/admin/tabs/cluster/instances/logs/LogDisplayModel.d.ts +34 -0
- package/build/types/admin/tabs/cluster/instances/logs/LogViewer.d.ts +3 -0
- package/build/types/admin/tabs/cluster/instances/logs/LogViewerModel.d.ts +24 -0
- package/build/types/admin/tabs/cluster/instances/logs/levels/LogLevelDialog.d.ts +2 -0
- package/build/types/admin/tabs/cluster/instances/logs/levels/LogLevelDialogModel.d.ts +13 -0
- package/build/types/admin/tabs/cluster/instances/memory/MemoryMonitorModel.d.ts +34 -0
- package/build/types/admin/tabs/cluster/instances/memory/MemoryMonitorPanel.d.ts +2 -0
- package/build/types/admin/tabs/cluster/instances/services/DetailsModel.d.ts +11 -0
- package/build/types/admin/tabs/cluster/instances/services/DetailsPanel.d.ts +2 -0
- package/build/types/admin/tabs/cluster/instances/services/ServiceModel.d.ts +16 -0
- package/build/types/admin/tabs/cluster/instances/services/ServicePanel.d.ts +2 -0
- package/build/types/admin/tabs/cluster/metrics/MetricsModel.d.ts +22 -0
- package/build/types/admin/tabs/cluster/metrics/MetricsPanel.d.ts +2 -0
- package/build/types/admin/tabs/cluster/objects/ClusterObjectsModel.d.ts +29 -0
- package/build/types/admin/tabs/cluster/objects/ClusterObjectsPanel.d.ts +3 -0
- package/build/types/admin/tabs/cluster/objects/DetailModel.d.ts +17 -0
- package/build/types/admin/tabs/cluster/objects/DetailPanel.d.ts +3 -0
- package/build/types/admin/tabs/general/about/AboutPanel.d.ts +2 -0
- package/build/types/admin/tabs/general/alertBanner/AlertBannerModel.d.ts +25 -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 +20 -0
- package/build/types/admin/tabs/general/index.d.ts +3 -0
- package/build/types/admin/tabs/monitor/MonitorColumns.d.ts +7 -0
- package/build/types/admin/tabs/monitor/MonitorTab.d.ts +3 -0
- package/build/types/admin/tabs/monitor/MonitorTabModel.d.ts +29 -0
- package/build/types/admin/tabs/monitor/Tile.d.ts +2 -0
- package/build/types/admin/tabs/monitor/Types.d.ts +25 -0
- package/build/types/admin/tabs/monitor/editor/MonitorEditorDialog.d.ts +2 -0
- package/build/types/admin/tabs/userData/index.d.ts +4 -0
- package/build/types/admin/tabs/userData/jsonblob/JsonBlobColumns.d.ts +8 -0
- package/build/types/admin/tabs/userData/jsonblob/JsonBlobModel.d.ts +14 -0
- package/build/types/admin/tabs/userData/jsonblob/JsonBlobPanel.d.ts +2 -0
- package/build/types/admin/tabs/userData/prefs/UserPreferenceModel.d.ts +8 -0
- package/build/types/admin/tabs/userData/prefs/UserPreferencePanel.d.ts +2 -0
- package/build/types/admin/tabs/userData/prefs/editor/PrefEditorDialog.d.ts +2 -0
- package/build/types/admin/tabs/userData/prefs/editor/PrefEditorModel.d.ts +16 -0
- package/build/types/admin/tabs/userData/roles/RoleModel.d.ts +44 -0
- package/build/types/admin/tabs/userData/roles/RolePanel.d.ts +2 -0
- package/build/types/admin/tabs/userData/roles/Types.d.ts +43 -0
- package/build/types/admin/tabs/userData/roles/details/RoleDetails.d.ts +3 -0
- package/build/types/admin/tabs/userData/roles/details/RoleDetailsModel.d.ts +15 -0
- package/build/types/admin/tabs/userData/roles/details/members/BaseMembersModel.d.ts +25 -0
- package/build/types/admin/tabs/userData/roles/details/members/DirectoryMembers.d.ts +13 -0
- package/build/types/admin/tabs/userData/roles/details/members/RoleMembers.d.ts +16 -0
- package/build/types/admin/tabs/userData/roles/details/members/UserMembers.d.ts +15 -0
- package/build/types/admin/tabs/userData/roles/editor/RoleEditor.d.ts +3 -0
- package/build/types/admin/tabs/userData/roles/editor/RoleEditorModel.d.ts +23 -0
- package/build/types/admin/tabs/userData/roles/editor/form/RoleForm.d.ts +3 -0
- package/build/types/admin/tabs/userData/roles/editor/form/RoleFormModel.d.ts +38 -0
- package/build/types/admin/tabs/userData/roles/graph/RoleGraph.d.ts +3 -0
- package/build/types/admin/tabs/userData/roles/graph/RoleGraphModel.d.ts +24 -0
- package/build/types/admin/tabs/userData/roles/recategorize/RecategorizeDialog.d.ts +2 -0
- package/build/types/admin/tabs/userData/roles/recategorize/RecategorizeDialogModel.d.ts +31 -0
- package/build/types/admin/tabs/userData/roles/warning/WarningBanner.d.ts +7 -0
- package/build/types/admin/tabs/userData/users/UserModel.d.ts +12 -0
- package/build/types/admin/tabs/userData/users/UserPanel.d.ts +2 -0
- package/build/types/appcontainer/AboutDialogModel.d.ts +14 -0
- package/build/types/appcontainer/AppContainerModel.d.ts +93 -0
- package/build/types/appcontainer/AppOption.d.ts +23 -0
- package/build/types/appcontainer/AppStateModel.d.ts +28 -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/ExceptionDialogModel.d.ts +30 -0
- package/build/types/appcontainer/FeedbackDialogModel.d.ts +21 -0
- package/build/types/appcontainer/ImpersonationBarModel.d.ts +22 -0
- package/build/types/appcontainer/MessageModel.d.ts +37 -0
- package/build/types/appcontainer/MessageSourceModel.d.ts +17 -0
- package/build/types/appcontainer/OptionsDialogModel.d.ts +25 -0
- package/build/types/appcontainer/PageStateModel.d.ts +16 -0
- package/build/types/appcontainer/RouterModel.d.ts +41 -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/UserAgentModel.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 +30 -0
- package/build/types/cmp/ag-grid/AgGridModel.d.ts +180 -0
- package/build/types/cmp/ag-grid/index.d.ts +2 -0
- package/build/types/cmp/badge/Badge.d.ts +12 -0
- package/build/types/cmp/badge/index.d.ts +1 -0
- package/build/types/cmp/card/Card.d.ts +23 -0
- package/build/types/cmp/card/CardModel.d.ts +29 -0
- package/build/types/cmp/card/index.d.ts +1 -0
- package/build/types/cmp/chart/Chart.d.ts +17 -0
- package/build/types/cmp/chart/ChartModel.d.ts +55 -0
- package/build/types/cmp/chart/Types.d.ts +20 -0
- package/build/types/cmp/chart/impl/ChartContextMenuItems.d.ts +4 -0
- package/build/types/cmp/chart/impl/copyToClipboard.d.ts +5 -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 +25 -0
- package/build/types/cmp/clock/index.d.ts +1 -0
- package/build/types/cmp/dataview/DataView.d.ts +21 -0
- package/build/types/cmp/dataview/DataViewModel.d.ts +117 -0
- package/build/types/cmp/dataview/index.d.ts +2 -0
- package/build/types/cmp/error/ErrorBoundary.d.ts +12 -0
- package/build/types/cmp/error/ErrorBoundaryModel.d.ts +43 -0
- package/build/types/cmp/error/ErrorMessage.d.ts +42 -0
- package/build/types/cmp/error/index.d.ts +3 -0
- package/build/types/cmp/filter/FilterChooserFieldSpec.d.ts +39 -0
- package/build/types/cmp/filter/FilterChooserModel.d.ts +147 -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 +41 -0
- package/build/types/cmp/form/FormModel.d.ts +130 -0
- package/build/types/cmp/form/field/BaseFieldModel.d.ts +159 -0
- package/build/types/cmp/form/field/FieldModel.d.ts +11 -0
- package/build/types/cmp/form/field/SubformsFieldModel.d.ts +70 -0
- package/build/types/cmp/form/formfieldset/FormFieldSet.d.ts +17 -0
- package/build/types/cmp/form/formfieldset/FormFieldSetModel.d.ts +40 -0
- package/build/types/cmp/form/index.d.ts +8 -0
- package/build/types/cmp/grid/Grid.d.ts +143 -0
- package/build/types/cmp/grid/GridAutosizeOptions.d.ts +49 -0
- package/build/types/cmp/grid/GridContextMenu.d.ts +28 -0
- package/build/types/cmp/grid/GridModel.d.ts +624 -0
- package/build/types/cmp/grid/GridSorter.d.ts +23 -0
- package/build/types/cmp/grid/Types.d.ts +285 -0
- package/build/types/cmp/grid/columns/Column.d.ts +380 -0
- package/build/types/cmp/grid/columns/ColumnGroup.d.ts +66 -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 +39 -0
- package/build/types/cmp/grid/filter/GridFilterModel.d.ts +44 -0
- package/build/types/cmp/grid/helpers/GridCountLabel.d.ts +24 -0
- package/build/types/cmp/grid/impl/ColumnGroupHeader.d.ts +24 -0
- package/build/types/cmp/grid/impl/ColumnHeader.d.ts +54 -0
- package/build/types/cmp/grid/impl/ColumnWidthCalculator.d.ts +41 -0
- package/build/types/cmp/grid/impl/GridHScrollbar.d.ts +10 -0
- package/build/types/cmp/grid/impl/InitPersist.d.ts +7 -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 +11 -0
- package/build/types/cmp/grid/index.d.ts +15 -0
- package/build/types/cmp/grid/renderers/CheckboxRenderer.d.ts +14 -0
- package/build/types/cmp/grid/renderers/TagsRenderer.d.ts +3 -0
- package/build/types/cmp/grouping/GroupingChooserModel.d.ts +103 -0
- package/build/types/cmp/grouping/impl/GroupingChooserLocalModel.d.ts +35 -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 +20 -0
- package/build/types/cmp/input/index.d.ts +2 -0
- package/build/types/cmp/layout/Box.d.ts +16 -0
- package/build/types/cmp/layout/Frame.d.ts +14 -0
- package/build/types/cmp/layout/Placeholder.d.ts +11 -0
- package/build/types/cmp/layout/Spacer.d.ts +14 -0
- package/build/types/cmp/layout/Tags.d.ts +38 -0
- package/build/types/cmp/layout/TileFrame.d.ts +37 -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/loadingindicator/LoadingIndicator.d.ts +25 -0
- package/build/types/cmp/loadingindicator/index.d.ts +1 -0
- package/build/types/cmp/markdown/Markdown.d.ts +18 -0
- package/build/types/cmp/markdown/index.d.ts +1 -0
- package/build/types/cmp/mask/Mask.d.ts +25 -0
- package/build/types/cmp/mask/index.d.ts +1 -0
- package/build/types/cmp/pinpad/PinPad.d.ts +9 -0
- package/build/types/cmp/pinpad/PinPadModel.d.ts +34 -0
- package/build/types/cmp/pinpad/index.d.ts +2 -0
- package/build/types/cmp/relativetimestamp/RelativeTimestamp.d.ts +58 -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 +17 -0
- package/build/types/cmp/store/StoreFilterField.d.ts +80 -0
- package/build/types/cmp/store/impl/StoreFilterFieldImplModel.d.ts +25 -0
- package/build/types/cmp/store/index.d.ts +2 -0
- package/build/types/cmp/tab/TabContainer.d.ts +34 -0
- package/build/types/cmp/tab/TabContainerModel.d.ts +137 -0
- package/build/types/cmp/tab/TabModel.d.ts +71 -0
- package/build/types/cmp/tab/Types.d.ts +61 -0
- package/build/types/cmp/tab/index.d.ts +4 -0
- package/build/types/cmp/treemap/SplitTreeMap.d.ts +9 -0
- package/build/types/cmp/treemap/SplitTreeMapModel.d.ts +78 -0
- package/build/types/cmp/treemap/TreeMap.d.ts +14 -0
- package/build/types/cmp/treemap/TreeMapModel.d.ts +181 -0
- package/build/types/cmp/treemap/index.d.ts +4 -0
- package/build/types/cmp/viewmanager/DataAccess.d.ts +28 -0
- package/build/types/cmp/viewmanager/View.d.ts +37 -0
- package/build/types/cmp/viewmanager/ViewInfo.d.ts +55 -0
- package/build/types/cmp/viewmanager/ViewManagerModel.d.ts +243 -0
- package/build/types/cmp/viewmanager/index.d.ts +4 -0
- package/build/types/cmp/websocket/WebSocketIndicator.d.ts +9 -0
- package/build/types/cmp/websocket/index.d.ts +1 -0
- package/build/types/cmp/zoneGrid/Types.d.ts +35 -0
- package/build/types/cmp/zoneGrid/ZoneGrid.d.ts +24 -0
- package/build/types/cmp/zoneGrid/ZoneGridModel.d.ts +256 -0
- package/build/types/cmp/zoneGrid/impl/InitPersist.d.ts +7 -0
- package/build/types/cmp/zoneGrid/impl/ZoneGridRenderer.d.ts +25 -0
- package/build/types/cmp/zoneGrid/impl/ZoneMapperModel.d.ts +67 -0
- package/build/types/cmp/zoneGrid/index.d.ts +3 -0
- package/build/types/core/AppSpec.d.ts +139 -0
- package/build/types/core/ExceptionHandler.d.ts +132 -0
- package/build/types/core/HoistAppModel.d.ts +72 -0
- package/build/types/core/HoistAuthModel.d.ts +70 -0
- package/build/types/core/HoistBase.d.ts +179 -0
- package/build/types/core/HoistBaseDecorators.d.ts +20 -0
- package/build/types/core/HoistComponent.d.ts +112 -0
- package/build/types/core/HoistProps.d.ts +116 -0
- package/build/types/core/HoistService.d.ts +57 -0
- package/build/types/core/RefreshContextView.d.ts +10 -0
- package/build/types/core/TaskObserver.d.ts +80 -0
- package/build/types/core/XH.d.ts +445 -0
- package/build/types/core/elem.d.ts +71 -0
- package/build/types/core/enums/RefreshMode.d.ts +16 -0
- package/build/types/core/enums/RenderMode.d.ts +14 -0
- package/build/types/core/enums/SizingMode.d.ts +10 -0
- package/build/types/core/impl/InstallServices.d.ts +18 -0
- package/build/types/core/impl/InstanceManager.d.ts +24 -0
- package/build/types/core/impl/PlatformManager.d.ts +13 -0
- package/build/types/core/index.d.ts +22 -0
- package/build/types/core/load/LoadSpec.d.ts +55 -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 +203 -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 +26 -0
- package/build/types/core/model/ModelSelector.d.ts +27 -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/PersistOptions.d.ts +46 -0
- package/build/types/core/persist/Persistable.d.ts +14 -0
- package/build/types/core/persist/PersistenceProvider.d.ts +69 -0
- package/build/types/core/persist/index.d.ts +9 -0
- package/build/types/core/persist/provider/CustomProvider.d.ts +15 -0
- package/build/types/core/persist/provider/DashViewProvider.d.ts +12 -0
- package/build/types/core/persist/provider/LocalStorageProvider.d.ts +10 -0
- package/build/types/core/persist/provider/PrefProvider.d.ts +10 -0
- package/build/types/core/persist/provider/SessionStorageProvider.d.ts +10 -0
- package/build/types/core/persist/provider/ViewManagerProvider.d.ts +9 -0
- package/build/types/core/types/AppState.d.ts +20 -0
- package/build/types/core/types/Interfaces.d.ts +303 -0
- package/build/types/core/types/Types.d.ts +72 -0
- package/build/types/data/Field.d.ts +90 -0
- package/build/types/data/RecordAction.d.ts +103 -0
- package/build/types/data/Store.d.ts +424 -0
- package/build/types/data/StoreRecord.d.ts +186 -0
- package/build/types/data/StoreSelectionModel.d.ts +52 -0
- package/build/types/data/UrlStore.d.ts +27 -0
- package/build/types/data/cube/BucketSpec.d.ts +31 -0
- package/build/types/data/cube/Cube.d.ts +180 -0
- package/build/types/data/cube/CubeField.d.ts +49 -0
- package/build/types/data/cube/Query.d.ts +121 -0
- package/build/types/data/cube/View.d.ts +106 -0
- package/build/types/data/cube/ViewRowData.d.ts +46 -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 +16 -0
- package/build/types/data/cube/row/BaseRow.d.ts +30 -0
- package/build/types/data/cube/row/BucketRow.d.ts +16 -0
- package/build/types/data/cube/row/LeafRow.d.ts +22 -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 +29 -0
- package/build/types/data/filter/FieldFilter.d.ts +34 -0
- package/build/types/data/filter/Filter.d.ts +30 -0
- package/build/types/data/filter/FunctionFilter.d.ts +24 -0
- package/build/types/data/filter/Types.d.ts +67 -0
- package/build/types/data/filter/Utils.d.ts +48 -0
- package/build/types/data/impl/RecordSet.d.ts +44 -0
- package/build/types/data/impl/RecordValidator.d.ts +38 -0
- package/build/types/data/impl/StoreValidator.d.ts +48 -0
- package/build/types/data/index.d.ts +34 -0
- package/build/types/data/validation/Rule.d.ts +16 -0
- package/build/types/data/validation/Types.d.ts +56 -0
- package/build/types/data/validation/ValidationState.d.ts +6 -0
- package/build/types/data/validation/constraints.d.ts +75 -0
- package/build/types/desktop/appcontainer/AboutDialog.d.ts +11 -0
- package/build/types/desktop/appcontainer/AppContainer.d.ts +12 -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/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/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/appcontainer/suspend/IdlePanel.d.ts +8 -0
- package/build/types/desktop/appcontainer/suspend/SuspendPanel.d.ts +7 -0
- package/build/types/desktop/cmp/appOption/AutoRefreshAppOption.d.ts +341 -0
- package/build/types/desktop/cmp/appOption/SizingModeAppOption.d.ts +17 -0
- package/build/types/desktop/cmp/appOption/ThemeAppOption.d.ts +341 -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 +5 -0
- package/build/types/desktop/cmp/appbar/index.d.ts +2 -0
- package/build/types/desktop/cmp/button/AppMenuButton.d.ts +44 -0
- package/build/types/desktop/cmp/button/Button.d.ts +28 -0
- package/build/types/desktop/cmp/button/ButtonGroup.d.ts +16 -0
- package/build/types/desktop/cmp/button/DashCanvasAddViewButton.d.ts +10 -0
- package/build/types/desktop/cmp/button/FeedbackButton.d.ts +8 -0
- package/build/types/desktop/cmp/button/LaunchAdminButton.d.ts +8 -0
- package/build/types/desktop/cmp/button/LogoutButton.d.ts +10 -0
- package/build/types/desktop/cmp/button/OptionsButton.d.ts +9 -0
- package/build/types/desktop/cmp/button/RefreshButton.d.ts +15 -0
- package/build/types/desktop/cmp/button/RestoreDefaultsButton.d.ts +16 -0
- package/build/types/desktop/cmp/button/ThemeToggleButton.d.ts +7 -0
- package/build/types/desktop/cmp/button/WhatsNewButton.d.ts +10 -0
- package/build/types/desktop/cmp/button/grid/ColAutosizeButton.d.ts +13 -0
- package/build/types/desktop/cmp/button/grid/ColChooserButton.d.ts +18 -0
- package/build/types/desktop/cmp/button/grid/ExpandToLevelButton.d.ts +18 -0
- package/build/types/desktop/cmp/button/grid/ExportButton.d.ts +21 -0
- package/build/types/desktop/cmp/button/index.d.ts +17 -0
- package/build/types/desktop/cmp/button/panel/ModalToggleButton.d.ts +10 -0
- package/build/types/desktop/cmp/button/zoneGrid/ZoneMapperButton.d.ts +15 -0
- package/build/types/desktop/cmp/card/impl/CardHeaderImpl.d.ts +6 -0
- package/build/types/desktop/cmp/clipboard/ClipboardButton.d.ts +20 -0
- package/build/types/desktop/cmp/clipboard/ClipboardMenuItem.d.ts +6 -0
- package/build/types/desktop/cmp/clipboard/index.d.ts +2 -0
- package/build/types/desktop/cmp/contextmenu/ContextMenu.d.ts +15 -0
- package/build/types/desktop/cmp/contextmenu/index.d.ts +1 -0
- package/build/types/desktop/cmp/dash/DashConfig.d.ts +36 -0
- package/build/types/desktop/cmp/dash/DashModel.d.ts +22 -0
- package/build/types/desktop/cmp/dash/DashViewModel.d.ts +81 -0
- package/build/types/desktop/cmp/dash/DashViewSpec.d.ts +41 -0
- package/build/types/desktop/cmp/dash/canvas/DashCanvas.d.ts +27 -0
- package/build/types/desktop/cmp/dash/canvas/DashCanvasModel.d.ts +166 -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 +11 -0
- package/build/types/desktop/cmp/dash/canvas/widgetchooser/DashCanvasWidgetChooser.d.ts +13 -0
- package/build/types/desktop/cmp/dash/canvas/widgetchooser/DashCanvasWidgetChooserModel.d.ts +12 -0
- package/build/types/desktop/cmp/dash/container/DashContainer.d.ts +8 -0
- package/build/types/desktop/cmp/dash/container/DashContainerModel.d.ts +162 -0
- package/build/types/desktop/cmp/dash/container/DashContainerViewModel.d.ts +14 -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 +16 -0
- package/build/types/desktop/cmp/dash/container/impl/DashContainerView.d.ts +12 -0
- package/build/types/desktop/cmp/dash/index.d.ts +12 -0
- package/build/types/desktop/cmp/dock/DockContainer.d.ts +25 -0
- package/build/types/desktop/cmp/dock/DockContainerModel.d.ts +33 -0
- package/build/types/desktop/cmp/dock/DockViewModel.d.ts +83 -0
- package/build/types/desktop/cmp/dock/impl/DockContainer.d.ts +9 -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/impl/ErrorMessage.d.ts +7 -0
- package/build/types/desktop/cmp/filechooser/FileChooser.d.ts +42 -0
- package/build/types/desktop/cmp/filechooser/FileChooserModel.d.ts +23 -0
- package/build/types/desktop/cmp/filechooser/index.d.ts +2 -0
- package/build/types/desktop/cmp/filter/FilterChooser.d.ts +32 -0
- package/build/types/desktop/cmp/filter/PopoverFilterChooser.d.ts +9 -0
- package/build/types/desktop/cmp/filter/index.d.ts +3 -0
- package/build/types/desktop/cmp/form/FormField.d.ts +64 -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 +15 -0
- package/build/types/desktop/cmp/grid/editors/DateEditor.d.ts +6 -0
- package/build/types/desktop/cmp/grid/editors/EditorProps.d.ts +17 -0
- package/build/types/desktop/cmp/grid/editors/NumberEditor.d.ts +6 -0
- package/build/types/desktop/cmp/grid/editors/SelectEditor.d.ts +6 -0
- package/build/types/desktop/cmp/grid/editors/TextAreaEditor.d.ts +6 -0
- package/build/types/desktop/cmp/grid/editors/TextEditor.d.ts +6 -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 +36 -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 +28 -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 +13 -0
- package/build/types/desktop/cmp/grid/impl/filter/GridFilterDialog.d.ts +11 -0
- package/build/types/desktop/cmp/grid/impl/filter/headerfilter/HeaderFilter.d.ts +7 -0
- package/build/types/desktop/cmp/grid/impl/filter/headerfilter/HeaderFilterModel.d.ts +37 -0
- package/build/types/desktop/cmp/grid/impl/filter/headerfilter/custom/CustomRow.d.ts +6 -0
- package/build/types/desktop/cmp/grid/impl/filter/headerfilter/custom/CustomRowModel.d.ts +28 -0
- package/build/types/desktop/cmp/grid/impl/filter/headerfilter/custom/CustomTab.d.ts +7 -0
- package/build/types/desktop/cmp/grid/impl/filter/headerfilter/custom/CustomTabModel.d.ts +21 -0
- package/build/types/desktop/cmp/grid/impl/filter/headerfilter/values/ValuesTab.d.ts +7 -0
- package/build/types/desktop/cmp/grid/impl/filter/headerfilter/values/ValuesTabModel.d.ts +43 -0
- package/build/types/desktop/cmp/grid/index.d.ts +3 -0
- package/build/types/desktop/cmp/grouping/GroupingChooser.d.ts +37 -0
- package/build/types/desktop/cmp/grouping/index.d.ts +2 -0
- package/build/types/desktop/cmp/input/ButtonGroupInput.d.ts +25 -0
- package/build/types/desktop/cmp/input/Checkbox.d.ts +29 -0
- package/build/types/desktop/cmp/input/CodeInput.d.ts +79 -0
- package/build/types/desktop/cmp/input/DateInput.d.ts +118 -0
- package/build/types/desktop/cmp/input/JsonInput.d.ts +8 -0
- package/build/types/desktop/cmp/input/NumberInput.d.ts +79 -0
- package/build/types/desktop/cmp/input/Picker.d.ts +125 -0
- package/build/types/desktop/cmp/input/RadioInput.d.ts +21 -0
- package/build/types/desktop/cmp/input/Select.d.ts +144 -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 +56 -0
- package/build/types/desktop/cmp/input/index.d.ts +13 -0
- package/build/types/desktop/cmp/leftrightchooser/LeftRightChooser.d.ts +13 -0
- package/build/types/desktop/cmp/leftrightchooser/LeftRightChooserFilter.d.ts +15 -0
- package/build/types/desktop/cmp/leftrightchooser/LeftRightChooserModel.d.ts +86 -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/mask/impl/Mask.d.ts +8 -0
- package/build/types/desktop/cmp/modalsupport/ModalSupport.d.ts +16 -0
- package/build/types/desktop/cmp/modalsupport/ModalSupportModel.d.ts +29 -0
- package/build/types/desktop/cmp/modalsupport/index.d.ts +2 -0
- package/build/types/desktop/cmp/panel/Panel.d.ts +69 -0
- package/build/types/desktop/cmp/panel/PanelModel.d.ts +129 -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 +34 -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 +32 -0
- package/build/types/desktop/cmp/record/impl/RecordActionButton.d.ts +20 -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 +33 -0
- package/build/types/desktop/cmp/rest/RestGridModel.d.ts +104 -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 +49 -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 +6 -0
- package/build/types/desktop/cmp/tab/TabSwitcher.d.ts +14 -0
- package/build/types/desktop/cmp/tab/dynamic/DynamicTabSwitcher.d.ts +7 -0
- package/build/types/desktop/cmp/tab/dynamic/DynamicTabSwitcherModel.d.ts +30 -0
- package/build/types/desktop/cmp/tab/dynamic/scroller/Scroller.d.ts +19 -0
- package/build/types/desktop/cmp/tab/dynamic/scroller/ScrollerModel.d.ts +23 -0
- package/build/types/desktop/cmp/tab/impl/Tab.d.ts +17 -0
- package/build/types/desktop/cmp/tab/impl/TabContainer.d.ts +7 -0
- package/build/types/desktop/cmp/tab/impl/TabContextMenuItems.d.ts +4 -0
- package/build/types/desktop/cmp/tab/index.d.ts +2 -0
- package/build/types/desktop/cmp/toolbar/Toolbar.d.ts +30 -0
- package/build/types/desktop/cmp/toolbar/ToolbarSep.d.ts +10 -0
- package/build/types/desktop/cmp/toolbar/index.d.ts +2 -0
- package/build/types/desktop/cmp/viewmanager/ViewManager.d.ts +46 -0
- package/build/types/desktop/cmp/viewmanager/ViewManagerLocalModel.d.ts +13 -0
- package/build/types/desktop/cmp/viewmanager/ViewMenu.d.ts +5 -0
- package/build/types/desktop/cmp/viewmanager/dialog/ManageDialog.d.ts +7 -0
- package/build/types/desktop/cmp/viewmanager/dialog/ManageDialogModel.d.ts +41 -0
- package/build/types/desktop/cmp/viewmanager/dialog/SaveAsDialog.d.ts +5 -0
- package/build/types/desktop/cmp/viewmanager/dialog/SaveAsDialogModel.d.ts +17 -0
- package/build/types/desktop/cmp/viewmanager/dialog/Utils.d.ts +11 -0
- package/build/types/desktop/cmp/viewmanager/dialog/ViewMultiPanel.d.ts +2 -0
- package/build/types/desktop/cmp/viewmanager/dialog/ViewPanel.d.ts +5 -0
- package/build/types/desktop/cmp/viewmanager/dialog/ViewPanelModel.d.ts +16 -0
- package/build/types/desktop/cmp/viewmanager/index.d.ts +1 -0
- package/build/types/desktop/cmp/zoneGrid/impl/ZoneMapper.d.ts +16 -0
- package/build/types/desktop/cmp/zoneGrid/impl/ZoneMapperDialog.d.ts +2 -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 +33 -0
- package/build/types/dynamics/mobile.d.ts +25 -0
- package/build/types/exception/Exception.d.ts +24 -0
- package/build/types/exception/Types.d.ts +35 -0
- package/build/types/exception/index.d.ts +2 -0
- package/build/types/format/FormatDate.d.ts +73 -0
- package/build/types/format/FormatMisc.d.ts +43 -0
- package/build/types/format/FormatNumber.d.ts +137 -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 +363 -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 +20 -0
- package/build/types/inspector/stats/StatsPanel.d.ts +2 -0
- package/build/types/kit/ag-grid/index.d.ts +22 -0
- package/build/types/kit/blueprint/ContextMenu.d.ts +7 -0
- package/build/types/kit/blueprint/Dialog.d.ts +12 -0
- package/build/types/kit/blueprint/Wrappers.d.ts +8 -0
- package/build/types/kit/blueprint/index.d.ts +9 -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-markdown/index.d.ts +4 -0
- package/build/types/kit/react-select/index.d.ts +10 -0
- package/build/types/kit/swiper/index.d.ts +97 -0
- package/build/types/mobile/appcontainer/AboutDialog.d.ts +10 -0
- package/build/types/mobile/appcontainer/AppContainer.d.ts +12 -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/ImpersonationBar.d.ts +9 -0
- package/build/types/mobile/appcontainer/LockoutPanel.d.ts +8 -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/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/appcontainer/suspend/IdlePanel.d.ts +8 -0
- package/build/types/mobile/appcontainer/suspend/SuspendPanel.d.ts +7 -0
- package/build/types/mobile/cmp/appOption/AutoRefreshAppOption.d.ts +15 -0
- package/build/types/mobile/cmp/appOption/SizingModeAppOption.d.ts +17 -0
- package/build/types/mobile/cmp/appOption/ThemeAppOption.d.ts +15 -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 +12 -0
- package/build/types/mobile/cmp/button/FeedbackButton.d.ts +8 -0
- package/build/types/mobile/cmp/button/LogoutButton.d.ts +10 -0
- package/build/types/mobile/cmp/button/NavigatorBackButton.d.ts +7 -0
- package/build/types/mobile/cmp/button/OptionsButton.d.ts +9 -0
- package/build/types/mobile/cmp/button/RefreshButton.d.ts +15 -0
- package/build/types/mobile/cmp/button/RestoreDefaultsButton.d.ts +16 -0
- package/build/types/mobile/cmp/button/ThemeToggleButton.d.ts +7 -0
- package/build/types/mobile/cmp/button/grid/ColAutosizeButton.d.ts +13 -0
- package/build/types/mobile/cmp/button/grid/ColChooserButton.d.ts +14 -0
- package/build/types/mobile/cmp/button/grid/ExpandCollapseButton.d.ts +14 -0
- package/build/types/mobile/cmp/button/grid/ExpandToLevelButton.d.ts +15 -0
- package/build/types/mobile/cmp/button/index.d.ts +13 -0
- package/build/types/mobile/cmp/button/zoneGrid/ZoneMapperButton.d.ts +12 -0
- package/build/types/mobile/cmp/card/impl/CardHeaderImpl.d.ts +6 -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/impl/ErrorMessage.d.ts +7 -0
- package/build/types/mobile/cmp/form/FormField.d.ts +27 -0
- package/build/types/mobile/cmp/form/index.d.ts +1 -0
- package/build/types/mobile/cmp/grid/impl/ColChooser.d.ts +21 -0
- package/build/types/mobile/cmp/grid/impl/ColChooserModel.d.ts +46 -0
- package/build/types/mobile/cmp/grouping/GroupingChooser.d.ts +15 -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 +41 -0
- package/build/types/mobile/cmp/header/index.d.ts +2 -0
- package/build/types/mobile/cmp/input/ButtonGroupInput.d.ts +22 -0
- package/build/types/mobile/cmp/input/Checkbox.d.ts +13 -0
- package/build/types/mobile/cmp/input/CheckboxButton.d.ts +13 -0
- package/build/types/mobile/cmp/input/DateInput.d.ts +54 -0
- package/build/types/mobile/cmp/input/Label.d.ts +10 -0
- package/build/types/mobile/cmp/input/NumberInput.d.ts +53 -0
- package/build/types/mobile/cmp/input/SearchInput.d.ts +24 -0
- package/build/types/mobile/cmp/input/Select.d.ts +127 -0
- package/build/types/mobile/cmp/input/SwitchInput.d.ts +13 -0
- package/build/types/mobile/cmp/input/TextArea.d.ts +21 -0
- package/build/types/mobile/cmp/input/TextInput.d.ts +46 -0
- package/build/types/mobile/cmp/input/index.d.ts +11 -0
- package/build/types/mobile/cmp/mask/impl/Mask.d.ts +8 -0
- package/build/types/mobile/cmp/menu/MenuButton.d.ts +23 -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 +8 -0
- package/build/types/mobile/cmp/navigator/NavigatorModel.d.ts +62 -0
- package/build/types/mobile/cmp/navigator/PageModel.d.ts +61 -0
- package/build/types/mobile/cmp/navigator/impl/GestureRefresh.d.ts +8 -0
- package/build/types/mobile/cmp/navigator/impl/GestureRefreshModel.d.ts +16 -0
- package/build/types/mobile/cmp/navigator/impl/Page.d.ts +12 -0
- package/build/types/mobile/cmp/navigator/impl/Utils.d.ts +9 -0
- package/build/types/mobile/cmp/navigator/index.d.ts +2 -0
- package/build/types/mobile/cmp/panel/DialogPanel.d.ts +16 -0
- package/build/types/mobile/cmp/panel/Panel.d.ts +43 -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 +33 -0
- package/build/types/mobile/cmp/popover/index.d.ts +1 -0
- package/build/types/mobile/cmp/store/impl/StoreFilterField.d.ts +6 -0
- package/build/types/mobile/cmp/tab/impl/Tab.d.ts +13 -0
- package/build/types/mobile/cmp/tab/impl/TabContainer.d.ts +9 -0
- package/build/types/mobile/cmp/toolbar/Toolbar.d.ts +11 -0
- package/build/types/mobile/cmp/toolbar/ToolbarSeparator.d.ts +7 -0
- package/build/types/mobile/cmp/toolbar/index.d.ts +2 -0
- package/build/types/mobile/cmp/zoneGrid/impl/ZoneMapper.d.ts +16 -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 +14 -0
- package/build/types/promise/Promise.d.ts +108 -0
- package/build/types/promise/index.d.ts +1 -0
- package/build/types/security/BaseOAuthClient.d.ts +172 -0
- package/build/types/security/Token.d.ts +11 -0
- package/build/types/security/Types.d.ts +14 -0
- package/build/types/security/authzero/AuthZeroClient.d.ts +57 -0
- package/build/types/security/authzero/index.d.ts +1 -0
- package/build/types/security/msal/MsalClient.d.ts +162 -0
- package/build/types/security/msal/index.d.ts +1 -0
- package/build/types/svc/AlertBannerService.d.ts +33 -0
- package/build/types/svc/AutoRefreshService.d.ts +28 -0
- package/build/types/svc/ChangelogService.d.ts +62 -0
- package/build/types/svc/ClientHealthService.d.ts +64 -0
- package/build/types/svc/ConfigService.d.ts +36 -0
- package/build/types/svc/EnvironmentService.d.ts +50 -0
- package/build/types/svc/FetchService.d.ts +269 -0
- package/build/types/svc/GridAutosizeService.d.ts +35 -0
- package/build/types/svc/GridExportService.d.ts +56 -0
- package/build/types/svc/IdentityService.d.ts +58 -0
- package/build/types/svc/IdleService.d.ts +21 -0
- package/build/types/svc/InspectorService.d.ts +75 -0
- package/build/types/svc/JsonBlobService.d.ts +60 -0
- package/build/types/svc/PrefService.d.ts +69 -0
- package/build/types/svc/TrackService.d.ts +42 -0
- package/build/types/svc/WebSocketService.d.ts +126 -0
- package/build/types/svc/index.d.ts +18 -0
- package/build/types/svc/storage/BaseStorageService.d.ts +21 -0
- package/build/types/svc/storage/LocalStorageService.d.ts +12 -0
- package/build/types/svc/storage/SessionStorageService.d.ts +12 -0
- package/build/types/utils/async/AsyncUtils.d.ts +40 -0
- package/build/types/utils/async/Timer.d.ts +87 -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 +92 -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/MenuItems.d.ts +13 -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 +5 -0
- package/build/types/utils/js/Decorators.d.ts +42 -0
- package/build/types/utils/js/DomUtils.d.ts +50 -0
- package/build/types/utils/js/HtmlUtils.d.ts +4 -0
- package/build/types/utils/js/LangUtils.d.ts +122 -0
- package/build/types/utils/js/LogUtils.d.ts +108 -0
- package/build/types/utils/js/TestUtils.d.ts +18 -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 +46 -0
- package/build/types/utils/react/LayoutPropUtils.d.ts +43 -0
- package/build/types/utils/react/ObservableRef.d.ts +13 -0
- package/build/types/utils/react/ReactUtils.d.ts +23 -0
- package/build/types/utils/react/index.d.ts +5 -0
- package/cmp/grouping/impl/GroupingChooserLocalModel.ts +6 -0
- package/desktop/cmp/dash/canvas/DashCanvasModel.ts +2 -1
- package/desktop/cmp/grouping/GroupingChooser.ts +4 -1
- package/package.json +2 -1
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { HoistModel, PlainObject, Theme } from '@xh/hoist/core';
|
|
2
|
+
import { Store, StoreRecord, StoreRecordId } from '@xh/hoist/data';
|
|
3
|
+
import { GridModel } from '@xh/hoist/cmp/grid';
|
|
4
|
+
import { FilterLike } from '@xh/hoist/data/filter/Types';
|
|
5
|
+
import { ReactNode } from 'react';
|
|
6
|
+
/**
|
|
7
|
+
* Core Model for a TreeMap.
|
|
8
|
+
*
|
|
9
|
+
* You should specify the TreeMap's data store, in addition to which StoreRecord fields should be
|
|
10
|
+
* mapped to label (a node's display name), value (a node's size), and heat (a node's color).
|
|
11
|
+
*
|
|
12
|
+
* Can also (optionally) be bound to a GridModel. This will enable selection syncing and
|
|
13
|
+
* expand / collapse syncing for GridModels in `treeMode`.
|
|
14
|
+
*
|
|
15
|
+
* Supports any Highcharts TreeMap algorithm ('squarified', 'sliceAndDice', 'stripes' or 'strip').
|
|
16
|
+
*
|
|
17
|
+
* Node colors are normalized to a 0-1 range and mapped to a colorAxis via the following colorModes:
|
|
18
|
+
* 'linear' distributes normalized color values across the colorAxis according to the heatField.
|
|
19
|
+
* 'wash' ignores the intensity of the heat value, applying a single positive and negative color.
|
|
20
|
+
* 'none' will ignore the colorAxis, and instead use the neutral color.
|
|
21
|
+
*
|
|
22
|
+
* Color customization can be managed by setting colorAxis stops via the `highchartsConfig`.
|
|
23
|
+
*
|
|
24
|
+
* @see https://www.highcharts.com/docs/chart-and-series-types/treemap for Highcharts config options
|
|
25
|
+
*/
|
|
26
|
+
export interface TreeMapConfig {
|
|
27
|
+
/** A store containing records to be displayed. */
|
|
28
|
+
store?: Store;
|
|
29
|
+
/** Optional GridModel to bind to. */
|
|
30
|
+
gridModel?: GridModel;
|
|
31
|
+
/** Maximum number of nodes to render. Be aware that increasing this can severely degrade performance. */
|
|
32
|
+
maxNodes?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Maximum number of node labels to attempt to render. Defaults to 250, based on the fact that
|
|
35
|
+
* the smaller boxes beyond that count are unlikely to be able to have enough room to render
|
|
36
|
+
* labels in any case. Be aware that increasing this can degrade performance.
|
|
37
|
+
*/
|
|
38
|
+
maxLabels?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Highcharts configuration object for the managed map.
|
|
41
|
+
* Will be recursively merged into the top-level HC config generated by this model, the component.
|
|
42
|
+
*/
|
|
43
|
+
highchartsConfig?: PlainObject;
|
|
44
|
+
/** StoreRecord field to use to determine node label. */
|
|
45
|
+
labelField?: string;
|
|
46
|
+
/** StoreRecord field to use to determine node size. */
|
|
47
|
+
valueField?: string;
|
|
48
|
+
/** StoreRecord field to use to determine node color. */
|
|
49
|
+
heatField?: string;
|
|
50
|
+
/** Renderer to use when displaying value in the default tooltip. Should return HTML. */
|
|
51
|
+
valueRenderer?: TreeMapValueRendererFn;
|
|
52
|
+
/** Renderer to use when displaying heat in the default tooltip. Should return HTML. */
|
|
53
|
+
heatRenderer?: TreeMapHeatRendererFn;
|
|
54
|
+
/**
|
|
55
|
+
* Value for providing a clamped, stable upper boundary on heat color intensity.
|
|
56
|
+
* If not provided, maxHeat will be determined by the dataset on each load.
|
|
57
|
+
*/
|
|
58
|
+
maxHeat?: number;
|
|
59
|
+
/** Maximum tree depth to render. */
|
|
60
|
+
maxDepth?: number;
|
|
61
|
+
/** Layout algorithm to use. */
|
|
62
|
+
algorithm?: TreeMapAlgorithm;
|
|
63
|
+
/** Heat color distribution mode. */
|
|
64
|
+
colorMode?: TreeMapColorMode;
|
|
65
|
+
/** Theme to use. Leave undefined to use the global theme. */
|
|
66
|
+
theme?: Theme;
|
|
67
|
+
/**
|
|
68
|
+
* Callback to call when a node is clicked.
|
|
69
|
+
* If not provided, by default will select a record when using a GridModel.
|
|
70
|
+
*/
|
|
71
|
+
onClick?: (StoreRecord: any, MouseEvent: any) => void;
|
|
72
|
+
/**
|
|
73
|
+
* Callback to call when a node is double-clicked.
|
|
74
|
+
* If not provided, by default will expand / collapse a record when using a GridModel.
|
|
75
|
+
*/
|
|
76
|
+
onDoubleClick?: (StoreRecord: any, MouseEvent: any) => void;
|
|
77
|
+
/** `true` to use the default tooltip renderer, or a custom tooltipFn. */
|
|
78
|
+
tooltip?: boolean | TreeMapTooltipFn;
|
|
79
|
+
/** Element/text to render if TreeMap has no records. */
|
|
80
|
+
emptyText?: ReactNode;
|
|
81
|
+
/** Data filter to apply to records. */
|
|
82
|
+
filter?: FilterLike;
|
|
83
|
+
}
|
|
84
|
+
export declare class TreeMapModel extends HoistModel {
|
|
85
|
+
store: Store;
|
|
86
|
+
gridModel: GridModel;
|
|
87
|
+
maxNodes: number;
|
|
88
|
+
maxLabels: number;
|
|
89
|
+
valueRenderer: TreeMapValueRendererFn;
|
|
90
|
+
heatRenderer: TreeMapHeatRendererFn;
|
|
91
|
+
onClick: (StoreRecord: any, MouseEvent: any) => void;
|
|
92
|
+
onDoubleClick: (StoreRecord: any, MouseEvent: any) => void;
|
|
93
|
+
tooltip: boolean | TreeMapTooltipFn;
|
|
94
|
+
emptyText: ReactNode;
|
|
95
|
+
highchartsConfig: any;
|
|
96
|
+
data: TreeMapRecord[];
|
|
97
|
+
labelField: string;
|
|
98
|
+
valueField: string;
|
|
99
|
+
heatField: string;
|
|
100
|
+
maxHeat: number;
|
|
101
|
+
maxDepth: number;
|
|
102
|
+
algorithm: TreeMapAlgorithm;
|
|
103
|
+
colorMode: TreeMapColorMode;
|
|
104
|
+
theme: Theme;
|
|
105
|
+
isMasking: boolean;
|
|
106
|
+
_filter: any;
|
|
107
|
+
constructor(config?: TreeMapConfig);
|
|
108
|
+
get total(): number;
|
|
109
|
+
get valueFieldLabel(): string;
|
|
110
|
+
get heatFieldLabel(): string;
|
|
111
|
+
get selectedIds(): StoreRecordId[];
|
|
112
|
+
get expandState(): PlainObject;
|
|
113
|
+
get empty(): boolean;
|
|
114
|
+
get error(): string;
|
|
115
|
+
processAndSetData(sourceRecords: any): void;
|
|
116
|
+
/**
|
|
117
|
+
* Create a flat list of TreeMapRecords from hierarchical store data, ready to be
|
|
118
|
+
* passed to HighCharts for rendering. Drilldown children are included according
|
|
119
|
+
* to the bound GridModel's expandState.
|
|
120
|
+
*/
|
|
121
|
+
processRecordsRecursive(sourceRecords: any, parentId?: any, depth?: number): Partial<TreeMapRecord>[];
|
|
122
|
+
/**
|
|
123
|
+
* Removes node labels if the number of nodes exceeds maxLabels.
|
|
124
|
+
* This is a performance optimisation to mitigate slow SVG text rendering. Labels are prioritized
|
|
125
|
+
* according to node size, from largest to smallest, on the basis that removed labels would
|
|
126
|
+
* likely be hidden due to the size of the node.
|
|
127
|
+
*/
|
|
128
|
+
limitLabels(data: any): any;
|
|
129
|
+
/**
|
|
130
|
+
* Normalizes heatValues to colorValues between 0-1, where 0 is the maximum negative heat,
|
|
131
|
+
* 1 is the maximum positive heat, and 0.5 is no heat. This allows the colorValue to map to
|
|
132
|
+
* the colorAxis provided to Highcharts.
|
|
133
|
+
*
|
|
134
|
+
* Takes the colorMode into account:
|
|
135
|
+
* a) 'linear' distributes normalized color values across the colorAxis.
|
|
136
|
+
* b) 'wash' ignores the intensity of the heat value, applying a flat positive or negative color.
|
|
137
|
+
* c) 'none' ignores the heat value altogether, coloring all nodes with the neutral color
|
|
138
|
+
*/
|
|
139
|
+
normaliseColorValues(data: any): any;
|
|
140
|
+
normalizeToRange(value: any, fromMin: any, fromMax: any, toMin: any, toMax: any): any;
|
|
141
|
+
valueIsValid(value: any): boolean;
|
|
142
|
+
nodeIsExpanded(treePath: any): any;
|
|
143
|
+
toggleNodeExpanded(treePath: any): void;
|
|
144
|
+
defaultOnClick: (record: any, e: any) => void;
|
|
145
|
+
defaultOnDoubleClick: (record: any) => void;
|
|
146
|
+
}
|
|
147
|
+
export interface TreeMapRecord {
|
|
148
|
+
/** StoreRecordId of the StoreRecord from which TreeMapRecord was created. */
|
|
149
|
+
id: StoreRecordId;
|
|
150
|
+
/** StoreRecord from which TreeMapRecord was created. */
|
|
151
|
+
record: StoreRecord;
|
|
152
|
+
/** Used by Highcharts to determine the node label. */
|
|
153
|
+
name: string;
|
|
154
|
+
/** Used by Highcharts to determine the node size. */
|
|
155
|
+
value: number;
|
|
156
|
+
/** Transient property used to determine the Highcharts colorValue. */
|
|
157
|
+
heatValue: number;
|
|
158
|
+
/** Used by Highcharts to determine the color in a heat map. */
|
|
159
|
+
colorValue: number;
|
|
160
|
+
/** StoreRecordId of parent StoreRecord in hierarchical data. */
|
|
161
|
+
parent?: StoreRecordId;
|
|
162
|
+
}
|
|
163
|
+
/** Layout algorithm to use. */
|
|
164
|
+
export type TreeMapAlgorithm = 'squarified' | 'sliceAndDice' | 'stripes' | 'strip';
|
|
165
|
+
/** Heat color distribution mode. */
|
|
166
|
+
export type TreeMapColorMode = 'linear' | 'wash' | 'none';
|
|
167
|
+
/**
|
|
168
|
+
* Normalized renderer function to display value in the tree map tooltip.
|
|
169
|
+
* @returns the formatted value (html) for display.
|
|
170
|
+
*/
|
|
171
|
+
export type TreeMapValueRendererFn = (value: any, record: StoreRecord) => string;
|
|
172
|
+
/**
|
|
173
|
+
* Normalized renderer function to display heat in the tree map tooltip.
|
|
174
|
+
* @returns the formatted value (html) for display.
|
|
175
|
+
*/
|
|
176
|
+
export type TreeMapHeatRendererFn = (value: any, record: StoreRecord) => string;
|
|
177
|
+
/**
|
|
178
|
+
* Normalized renderer function to produce a tree map tooltip.
|
|
179
|
+
* @returns the formatted value (html) for display.
|
|
180
|
+
*/
|
|
181
|
+
export type TreeMapTooltipFn = (record: StoreRecord) => string;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ViewInfo } from './ViewInfo';
|
|
2
|
+
import { View } from './View';
|
|
3
|
+
import { ViewManagerModel, ViewUserState, ViewUpdateSpec, ViewCreateSpec } from './ViewManagerModel';
|
|
4
|
+
/**
|
|
5
|
+
* Supporting class for accessing and updating ViewManager and View data.
|
|
6
|
+
*
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export declare class DataAccess<T> {
|
|
10
|
+
private readonly model;
|
|
11
|
+
constructor(model: ViewManagerModel<T>);
|
|
12
|
+
/** Fetch metadata for all views accessible by current user. */
|
|
13
|
+
fetchDataAsync(): Promise<{
|
|
14
|
+
views: ViewInfo[];
|
|
15
|
+
state: ViewUserState;
|
|
16
|
+
}>;
|
|
17
|
+
/** Fetch the latest version of a view, or the in-code default if token null/undefined/empty. */
|
|
18
|
+
fetchViewAsync(token: string): Promise<View<T>>;
|
|
19
|
+
/** Create a new view, owned by the current user.*/
|
|
20
|
+
createViewAsync(spec: ViewCreateSpec): Promise<View<T>>;
|
|
21
|
+
/** Update all aspects of a view's metadata.*/
|
|
22
|
+
updateViewInfoAsync(view: ViewInfo, updates: ViewUpdateSpec): Promise<View<T>>;
|
|
23
|
+
/** Update a view's value. */
|
|
24
|
+
updateViewValueAsync(view: View<T>, value: Partial<T>): Promise<View<T>>;
|
|
25
|
+
deleteViewsAsync(views: ViewInfo[]): Promise<void>;
|
|
26
|
+
updateStateAsync(update: Partial<ViewUserState>): Promise<ViewUserState>;
|
|
27
|
+
private ensureEditable;
|
|
28
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { PlainObject } from '@xh/hoist/core';
|
|
2
|
+
import { ViewManagerModel } from './ViewManagerModel';
|
|
3
|
+
import { ViewInfo } from './ViewInfo';
|
|
4
|
+
import { JsonBlob } from '@xh/hoist/svc';
|
|
5
|
+
/**
|
|
6
|
+
* A named saved bundle of state for components.
|
|
7
|
+
*/
|
|
8
|
+
export declare class View<T extends PlainObject = PlainObject> {
|
|
9
|
+
/**
|
|
10
|
+
* Default View representing code state of all contained components.
|
|
11
|
+
* Available for all view managers where `enableDefault` is true.
|
|
12
|
+
*/
|
|
13
|
+
/** Metadata about this View. Null for 'default' view */
|
|
14
|
+
readonly info: ViewInfo;
|
|
15
|
+
/**
|
|
16
|
+
* State for the components in the view. Only state that differs from the initial "code"
|
|
17
|
+
* state of the components is captured.
|
|
18
|
+
*/
|
|
19
|
+
readonly value: Partial<T>;
|
|
20
|
+
private readonly model;
|
|
21
|
+
get name(): string;
|
|
22
|
+
get group(): string;
|
|
23
|
+
get description(): string;
|
|
24
|
+
get token(): string;
|
|
25
|
+
get type(): string;
|
|
26
|
+
get isDefault(): boolean;
|
|
27
|
+
get isGlobal(): boolean;
|
|
28
|
+
get isShared(): boolean;
|
|
29
|
+
get isOwned(): boolean;
|
|
30
|
+
get isCurrentView(): boolean;
|
|
31
|
+
get lastUpdated(): number;
|
|
32
|
+
get typedName(): string;
|
|
33
|
+
static fromBlob<T>(blob: JsonBlob, model: ViewManagerModel): View<T>;
|
|
34
|
+
static createDefault<T>(model: ViewManagerModel): View<T>;
|
|
35
|
+
withUpdatedValue(value: Partial<T>): View<T>;
|
|
36
|
+
constructor(info: ViewInfo, value: Partial<T>, model: ViewManagerModel);
|
|
37
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ViewManagerModel } from './ViewManagerModel';
|
|
2
|
+
import { JsonBlob } from '@xh/hoist/svc';
|
|
3
|
+
import { PlainObject } from '@xh/hoist/core';
|
|
4
|
+
/**
|
|
5
|
+
* Metadata describing {@link View} managed by {@link ViewManagerModel}.
|
|
6
|
+
*/
|
|
7
|
+
export declare class ViewInfo {
|
|
8
|
+
/** Unique Id */
|
|
9
|
+
readonly token: string;
|
|
10
|
+
/** App-defined type discriminator. */
|
|
11
|
+
readonly type: string;
|
|
12
|
+
/** User-supplied descriptive name. */
|
|
13
|
+
readonly name: string;
|
|
14
|
+
/** Description of the view. **/
|
|
15
|
+
readonly description: string;
|
|
16
|
+
/** User owning this view. Null if the view is global.*/
|
|
17
|
+
readonly owner: string;
|
|
18
|
+
/**
|
|
19
|
+
* True if the owner (which can be the current user) has made this view accessible to all other
|
|
20
|
+
* users. Note always `false` for global views, to better distinguish the two sharing models.
|
|
21
|
+
*/
|
|
22
|
+
readonly isShared: boolean;
|
|
23
|
+
/** True if this view is global and visible to all users. */
|
|
24
|
+
readonly isGlobal: boolean;
|
|
25
|
+
/** Optional group name used for bucketing this view in display. */
|
|
26
|
+
readonly group: string;
|
|
27
|
+
/**
|
|
28
|
+
* Original meta-data on views associated JsonBlob.
|
|
29
|
+
* Not typically used by applications.
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
readonly meta: PlainObject;
|
|
33
|
+
dateCreated: number;
|
|
34
|
+
lastUpdated: number;
|
|
35
|
+
lastUpdatedBy: string;
|
|
36
|
+
readonly model: ViewManagerModel;
|
|
37
|
+
constructor(blob: JsonBlob, model: ViewManagerModel);
|
|
38
|
+
get isOwned(): boolean;
|
|
39
|
+
get isEditable(): boolean;
|
|
40
|
+
get isCurrentView(): boolean;
|
|
41
|
+
/**
|
|
42
|
+
* True if this view should appear on the users easy access menu.
|
|
43
|
+
*
|
|
44
|
+
* This value is computed with the user persisted state for the view.
|
|
45
|
+
*
|
|
46
|
+
* If the user has not set pinning state for the view, global views and
|
|
47
|
+
* owned views are pinned by default.
|
|
48
|
+
*/
|
|
49
|
+
get isPinned(): boolean;
|
|
50
|
+
/**
|
|
51
|
+
* The user indicated pin state for this view, or null if user has not indicated a preference.
|
|
52
|
+
*/
|
|
53
|
+
get isUserPinned(): boolean | null;
|
|
54
|
+
get typedName(): string;
|
|
55
|
+
}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import { HoistModel, LoadSpec, PlainObject, TaskObserver, Thunkable } from '@xh/hoist/core';
|
|
2
|
+
import type { ViewManagerProvider } from '@xh/hoist/core';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
import { ViewInfo } from './ViewInfo';
|
|
5
|
+
import { View } from './View';
|
|
6
|
+
export interface ViewCreateSpec {
|
|
7
|
+
name: string;
|
|
8
|
+
group: string;
|
|
9
|
+
description: string;
|
|
10
|
+
isShared: boolean;
|
|
11
|
+
isGlobal: boolean;
|
|
12
|
+
isPinned?: boolean;
|
|
13
|
+
value: PlainObject;
|
|
14
|
+
}
|
|
15
|
+
export type ViewUpdateSpec = Partial<Omit<ViewCreateSpec, 'value'>>;
|
|
16
|
+
export interface ViewUserState {
|
|
17
|
+
currentView?: string;
|
|
18
|
+
userPinned: Record<string, boolean>;
|
|
19
|
+
autoSave: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface ViewManagerConfig {
|
|
22
|
+
/**
|
|
23
|
+
* Required discriminator for the particular class of views to be loaded and managed by this
|
|
24
|
+
* model. Used to set the `type` property on all JSONBlobs persisted by this model.
|
|
25
|
+
*
|
|
26
|
+
* Choose something descriptive and specific enough to be identifiable and allow for different
|
|
27
|
+
* ViewManagers to be added to your app in the future - e.g. `portfolioGridView` or
|
|
28
|
+
* `tradeBlotterDashboard`.
|
|
29
|
+
*/
|
|
30
|
+
type: string;
|
|
31
|
+
/**
|
|
32
|
+
* Optional user-facing qualifier (default "default") for the special in-code default view
|
|
33
|
+
* option, if enabled. Will be prepended to `typeDisplayName`.
|
|
34
|
+
*
|
|
35
|
+
* A use case is to support a ViewManager persisted Dashboard, where the in-code default is an
|
|
36
|
+
* empty layout, this config is set to "New", and the `typeDisplayName` is set to "Dashboard".
|
|
37
|
+
* This results in a "New Dashboard" option in the menu, allowing users to quickly access a
|
|
38
|
+
* blank dashboard to start building from scratch, while forcing a save-as to persist.
|
|
39
|
+
*/
|
|
40
|
+
defaultDisplayName?: string;
|
|
41
|
+
/** True (default) to allow users to opt-in to auto-saving changes to their current view. */
|
|
42
|
+
enableAutoSave?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* True (default) to allow the user to select a special view from the menu that restores all
|
|
45
|
+
* persisted objects to their in-code defaults. If not enabled, at least one globally shared
|
|
46
|
+
* view should be added to provide an initial selection for users without any private views.
|
|
47
|
+
*/
|
|
48
|
+
enableDefault?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* True (default) to enable "global" views - i.e. views that are not owned by a user and are
|
|
51
|
+
* available to all. At least some users should have `manageGlobal` set to true to allow
|
|
52
|
+
* creation and management of these views.
|
|
53
|
+
*/
|
|
54
|
+
enableGlobal?: boolean;
|
|
55
|
+
/** True (default) to allow users to share their views with other users. */
|
|
56
|
+
enableSharing?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* User-facing qualifier for labelling globally shared views - default "global". A use case
|
|
59
|
+
* would be to set to the name of the company/team that manages these canonical views, e.g.
|
|
60
|
+
* "Acme Corp".
|
|
61
|
+
*/
|
|
62
|
+
globalDisplayName?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Function to determine the initial view for a user, when they have no prior view already
|
|
65
|
+
* persisted. Called with a list of views available to the current user.
|
|
66
|
+
*
|
|
67
|
+
* Must be set when `enableDefault: false`. Developers should take care to return *some* view
|
|
68
|
+
* in this case, if any are available. If no view is returned, the control will be forced to
|
|
69
|
+
* fall back to the in-code default.
|
|
70
|
+
*/
|
|
71
|
+
initialViewSpec?: (views: ViewInfo[]) => ViewInfo;
|
|
72
|
+
/**
|
|
73
|
+
* Optional discriminator for the particular area of an app in which this instance of the
|
|
74
|
+
* ViewManager appears, for apps that have multiple manager instances that load the same `type`
|
|
75
|
+
* of views. A particular `currentView` and `pendingValue` will be maintained for each instance,
|
|
76
|
+
* but all other options and the available library of views will be shared across the `type`.
|
|
77
|
+
*/
|
|
78
|
+
instance?: string;
|
|
79
|
+
/**
|
|
80
|
+
* True to allow the user to creat and manage Global views. Apps are expected to commonly set
|
|
81
|
+
* this based on user roles - e.g. `XH.getUser().hasRole('MANAGE_GRID_VIEWS')`.
|
|
82
|
+
*/
|
|
83
|
+
manageGlobal?: Thunkable<boolean>;
|
|
84
|
+
/**
|
|
85
|
+
* True (default) to save pending state to SessionStorage so that it can be restored across
|
|
86
|
+
* browser refreshes. Unlike auto-save, this does not write to the database.
|
|
87
|
+
*/
|
|
88
|
+
preserveUnsavedChanges?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* User-facing display name for the type of views being managed - e.g. "report" or "dashboard".
|
|
91
|
+
* Displayed in the `ViewManager` menu and associated management dialogs and prompts.
|
|
92
|
+
* Defaulted from `type` if not provided.
|
|
93
|
+
*/
|
|
94
|
+
typeDisplayName?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Optional render function to customize the BlueprintJS `menuItem` shown for each view in the
|
|
97
|
+
* ViewManager menu.
|
|
98
|
+
*/
|
|
99
|
+
viewMenuItemFn?: (view: ViewInfo, model: ViewManagerModel) => ReactNode;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* ViewManagerModel coordinates the loading, saving, and management of user-defined bundles of
|
|
103
|
+
* {@link Persistable} component/model state.
|
|
104
|
+
*
|
|
105
|
+
* - Models to be persisted are bound to this model via their `persistWith` config. One or more
|
|
106
|
+
* models can be bound to a single ViewManagerModel, allowing a single view to capture the state
|
|
107
|
+
* of multiple components - e.g. grouping and filtering options along with grid state.
|
|
108
|
+
* - Views are persisted back to the server as JsonBlob objects.
|
|
109
|
+
* - Views can be private to their owner, or optionally enabled for sharing to (all) other users.
|
|
110
|
+
* - Views can be marked as pinned for quick access.
|
|
111
|
+
* - See the desktop {@link ViewManager} component - the initial Hoist UI for this model.
|
|
112
|
+
*/
|
|
113
|
+
export declare class ViewManagerModel<T = PlainObject> extends HoistModel {
|
|
114
|
+
/**
|
|
115
|
+
* Factory to create new instances of this model and await its initial load before binding to
|
|
116
|
+
* any persistable component models. This ensures that bound models will have the expected
|
|
117
|
+
* initial persisted state applied within their constructor, before their components have
|
|
118
|
+
* rendered, and avoids thrashing of component state during initial load.
|
|
119
|
+
*
|
|
120
|
+
* To minimize the impact this async requirement has on the design and lifecycle of individual
|
|
121
|
+
* components within an app, consider eagerly constructing any viewManagerModels required within
|
|
122
|
+
* your `AppModel.initAsync` method and saving a reference to them there for component models
|
|
123
|
+
* to then use when they are mounted. The VM model instances will then be "ready to go" and
|
|
124
|
+
* usable within model constructors. (Initializing and referencing from one or more app
|
|
125
|
+
* services would be another, similar option.)
|
|
126
|
+
*
|
|
127
|
+
* Note that this method may throw if the ViewManager cannot be initialized successfully,
|
|
128
|
+
* but should generally fail quietly due to the early instantiation.
|
|
129
|
+
*/
|
|
130
|
+
static createAsync(config: ViewManagerConfig): Promise<ViewManagerModel>;
|
|
131
|
+
/** Immutable configuration for this model. */
|
|
132
|
+
readonly type: string;
|
|
133
|
+
readonly instance: string;
|
|
134
|
+
readonly typeDisplayName: string;
|
|
135
|
+
readonly defaultDisplayName: string;
|
|
136
|
+
readonly globalDisplayName: string;
|
|
137
|
+
readonly viewMenuItemFn: (view: ViewInfo, model: ViewManagerModel) => ReactNode;
|
|
138
|
+
readonly enableAutoSave: boolean;
|
|
139
|
+
readonly enableDefault: boolean;
|
|
140
|
+
readonly enableGlobal: boolean;
|
|
141
|
+
readonly enableSharing: boolean;
|
|
142
|
+
readonly preserveUnsavedChanges: boolean;
|
|
143
|
+
readonly manageGlobal: boolean;
|
|
144
|
+
readonly initialViewSpec: (views: ViewInfo[]) => ViewInfo;
|
|
145
|
+
/** Current view. Will not include uncommitted changes */
|
|
146
|
+
view: View<T>;
|
|
147
|
+
/** Loaded saved view library - both private and global */
|
|
148
|
+
views: ViewInfo[];
|
|
149
|
+
/**
|
|
150
|
+
* Map of user's preferred pinned state for views.
|
|
151
|
+
*
|
|
152
|
+
* Note that the actual pinned state for the views is determined by this value, layered
|
|
153
|
+
* over the default state of the views themselves.
|
|
154
|
+
*/
|
|
155
|
+
userPinned: Record<string, boolean>;
|
|
156
|
+
/**
|
|
157
|
+
* True if user has opted-in to automatically saving changes to personal views (if auto-save
|
|
158
|
+
* generally available as per `enableAutoSave`).
|
|
159
|
+
*/
|
|
160
|
+
autoSave: boolean;
|
|
161
|
+
/**
|
|
162
|
+
* TaskObserver linked to {@link selectViewAsync}. If a change to the active view is likely to
|
|
163
|
+
* require intensive layout/grid work, consider masking affected components with this task.
|
|
164
|
+
*/
|
|
165
|
+
selectTask: TaskObserver;
|
|
166
|
+
/** TaskObserver linked to {@link saveAsync}. */
|
|
167
|
+
saveTask: TaskObserver;
|
|
168
|
+
/** Unsaved changes on the current view.*/
|
|
169
|
+
private pendingValue;
|
|
170
|
+
/**
|
|
171
|
+
* Array of {@link ViewManagerProvider} instances bound to this model. Used to proactively push
|
|
172
|
+
* state to the target components when the model's selected `value` changes.
|
|
173
|
+
*/
|
|
174
|
+
private providers;
|
|
175
|
+
/** Data access for persisting views. */
|
|
176
|
+
private dataAccess;
|
|
177
|
+
get isValueDirty(): boolean;
|
|
178
|
+
get isViewSavable(): boolean;
|
|
179
|
+
get isViewAutoSavable(): boolean;
|
|
180
|
+
get autoSaveUnavailableReason(): string;
|
|
181
|
+
get pinnedViews(): ViewInfo[];
|
|
182
|
+
/** Views owned by me */
|
|
183
|
+
get ownedViews(): ViewInfo[];
|
|
184
|
+
/** Views shared *with* me */
|
|
185
|
+
get sharedViews(): ViewInfo[];
|
|
186
|
+
/** Global views */
|
|
187
|
+
get globalViews(): ViewInfo[];
|
|
188
|
+
/** True if any async tasks are pending. */
|
|
189
|
+
get isLoading(): boolean;
|
|
190
|
+
/**
|
|
191
|
+
* Use the static {@link createAsync} factory to create an instance of this model and await its
|
|
192
|
+
* initial load before binding to persistable components.
|
|
193
|
+
*/
|
|
194
|
+
private constructor();
|
|
195
|
+
doLoadAsync(loadSpec: LoadSpec): Promise<void>;
|
|
196
|
+
selectViewAsync(view: string | ViewInfo, opts?: {
|
|
197
|
+
alertUnsavedChanges: boolean;
|
|
198
|
+
}): Promise<void>;
|
|
199
|
+
saveAsAsync(spec: ViewCreateSpec): Promise<void>;
|
|
200
|
+
saveAsync(): Promise<void>;
|
|
201
|
+
resetAsync(): Promise<void>;
|
|
202
|
+
getValue(): Partial<T>;
|
|
203
|
+
setValue(value: Partial<T>): void;
|
|
204
|
+
userPin(view: ViewInfo): void;
|
|
205
|
+
userUnpin(view: ViewInfo): void;
|
|
206
|
+
isUserPinned(view: ViewInfo): boolean | null;
|
|
207
|
+
/**
|
|
208
|
+
* Validate a name for a view.
|
|
209
|
+
* @param name - candidate name to validate
|
|
210
|
+
* @param existing - existing view that will have the name. null if the name is for a new view.
|
|
211
|
+
* @param isGlobal - true if the name is for a global view.
|
|
212
|
+
*/
|
|
213
|
+
validateViewNameAsync(name: string, existing: ViewInfo, isGlobal: boolean): Promise<string>;
|
|
214
|
+
/** Update all aspects of a view's metadata.*/
|
|
215
|
+
updateViewInfoAsync(view: ViewInfo, updates: ViewUpdateSpec): Promise<View<T>>;
|
|
216
|
+
deleteViewsAsync(toDelete: ViewInfo[]): Promise<void>;
|
|
217
|
+
/**
|
|
218
|
+
* Called by {@link ViewManagerProvider} to receive state changes from this model.
|
|
219
|
+
* @internal
|
|
220
|
+
*/
|
|
221
|
+
registerProvider(provider: ViewManagerProvider<any>): void;
|
|
222
|
+
/**
|
|
223
|
+
* Called by {@link ViewManagerProvider} to stop receiving state changes.
|
|
224
|
+
* @internal
|
|
225
|
+
*/
|
|
226
|
+
unregisterProvider(provider: ViewManagerProvider<any>): void;
|
|
227
|
+
private initAsync;
|
|
228
|
+
private unsavedChangesReaction;
|
|
229
|
+
private autoSaveReaction;
|
|
230
|
+
private stateReactions;
|
|
231
|
+
private loadViewAsync;
|
|
232
|
+
private maybeAutoSaveAsync;
|
|
233
|
+
private setAsView;
|
|
234
|
+
private handleException;
|
|
235
|
+
private noteSuccess;
|
|
236
|
+
private get pendingValueStorageKey();
|
|
237
|
+
/**
|
|
238
|
+
* Stringify and parse to ensure that any value set here is valid, serializable JSON.
|
|
239
|
+
*/
|
|
240
|
+
private cleanState;
|
|
241
|
+
private confirmDiscardChangesAsync;
|
|
242
|
+
private maybeConfirmSaveAsync;
|
|
243
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BoxProps, HoistProps } from '@xh/hoist/core';
|
|
2
|
+
export interface WebSocketIndicatorProps extends HoistProps, BoxProps {
|
|
3
|
+
/** True to display status as an icon only, without text label. */
|
|
4
|
+
iconOnly?: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Provides a visual indicator of connection status for @see {@link WebSocketService}.
|
|
8
|
+
*/
|
|
9
|
+
export declare const WebSocketIndicator: import("react").FC<WebSocketIndicatorProps>, webSocketIndicator: import("@xh/hoist/core").ElementFactory<WebSocketIndicatorProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './WebSocketIndicator';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Column, ColumnRenderer, ColumnSortSpec } from '@xh/hoist/cmp/grid';
|
|
2
|
+
import { PersistOptions } from '@xh/hoist/core';
|
|
3
|
+
export type Zone = 'tl' | 'tr' | 'bl' | 'br';
|
|
4
|
+
export interface ZoneMapping {
|
|
5
|
+
/** Field to display. Must match a Field found in the Store */
|
|
6
|
+
field: string;
|
|
7
|
+
/** True to prefix the field value with its name */
|
|
8
|
+
showLabel?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface ZoneLimit {
|
|
11
|
+
/** Min number of fields that should be mapped to the zone */
|
|
12
|
+
min?: number;
|
|
13
|
+
/** Max number of fields that should be mapped to the zone */
|
|
14
|
+
max?: number;
|
|
15
|
+
/** Array of allowed fields for the zone */
|
|
16
|
+
only?: string[];
|
|
17
|
+
}
|
|
18
|
+
export interface ZoneField {
|
|
19
|
+
field: string;
|
|
20
|
+
displayName: string;
|
|
21
|
+
label: string;
|
|
22
|
+
renderer: ColumnRenderer;
|
|
23
|
+
column: Column;
|
|
24
|
+
chooserGroup: string;
|
|
25
|
+
sortable: boolean;
|
|
26
|
+
sortingOrder: ColumnSortSpec[];
|
|
27
|
+
}
|
|
28
|
+
export interface ZoneGridModelPersistOptions extends PersistOptions {
|
|
29
|
+
/** True (default) to include mapping state or provide mapping-specific PersistOptions. */
|
|
30
|
+
persistMappings?: boolean | PersistOptions;
|
|
31
|
+
/** True (default) to include grouping state or provide grouping-specific PersistOptions. */
|
|
32
|
+
persistGrouping?: boolean | PersistOptions;
|
|
33
|
+
/** True (default) to include sort state or provide sort-specific PersistOptions. */
|
|
34
|
+
persistSort?: boolean | PersistOptions;
|
|
35
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { HoistProps, LayoutProps, TestSupportProps } from '@xh/hoist/core';
|
|
2
|
+
import { GridOptions } from '@xh/hoist/kit/ag-grid';
|
|
3
|
+
import { ZoneGridModel } from './ZoneGridModel';
|
|
4
|
+
import './ZoneGrid.scss';
|
|
5
|
+
export interface ZoneGridProps<M extends ZoneGridModel = ZoneGridModel> extends HoistProps<M>, LayoutProps, TestSupportProps {
|
|
6
|
+
/**
|
|
7
|
+
* Options for ag-Grid's API.
|
|
8
|
+
*
|
|
9
|
+
* This constitutes an 'escape hatch' for applications that need to get to the underlying
|
|
10
|
+
* ag-Grid API. It should be used with care. Settings made here might be overwritten and/or
|
|
11
|
+
* interfere with the implementation of this component and its use of the ag-Grid API.
|
|
12
|
+
*
|
|
13
|
+
* Note that changes to these options after the component's initial render will be ignored.
|
|
14
|
+
*/
|
|
15
|
+
agOptions?: GridOptions;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A ZoneGrid is a specialized version of the Grid component.
|
|
19
|
+
*
|
|
20
|
+
* It displays its data with multi-line full-width rows, each broken into four zones for
|
|
21
|
+
* top/bottom and left/right - (tl, tr, bl, br). Zone mappings determine which of the
|
|
22
|
+
* available fields should be extracted from the record and rendered into each zone.
|
|
23
|
+
*/
|
|
24
|
+
export declare const ZoneGrid: import("react").FC<ZoneGridProps<ZoneGridModel>>, zoneGrid: import("@xh/hoist/core").ElementFactory<ZoneGridProps<ZoneGridModel>>;
|