@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,50 @@
|
|
|
1
|
+
import { HoistService } from '@xh/hoist/core';
|
|
2
|
+
/**
|
|
3
|
+
* Load and report on the client and server environment, including software versions, timezones, and
|
|
4
|
+
* other technical information.
|
|
5
|
+
*/
|
|
6
|
+
export declare class EnvironmentService extends HoistService {
|
|
7
|
+
static instance: EnvironmentService;
|
|
8
|
+
/**
|
|
9
|
+
* Version of this application currently running on the Hoist UI server.
|
|
10
|
+
* Unlike most other EnvironmentService state, this is refreshed on a timer and observable.
|
|
11
|
+
*/
|
|
12
|
+
serverVersion: string;
|
|
13
|
+
/**
|
|
14
|
+
* Build of this application currently running on the Hoist UI server.
|
|
15
|
+
* Unlike most other EnvironmentService state, this is refreshed on a timer and observable.
|
|
16
|
+
*/
|
|
17
|
+
serverBuild: string;
|
|
18
|
+
/**
|
|
19
|
+
* Instance of Hoist UI server currently delivering content to this client.
|
|
20
|
+
* Unlike most other EnvironmentService state, this is refreshed on a timer and observable.
|
|
21
|
+
*/
|
|
22
|
+
serverInstance: string;
|
|
23
|
+
private data;
|
|
24
|
+
private pollConfig;
|
|
25
|
+
private pollTimer;
|
|
26
|
+
initAsync(): Promise<void>;
|
|
27
|
+
get(key: string): any;
|
|
28
|
+
get appEnvironment(): AppEnvironment;
|
|
29
|
+
isProduction(): boolean;
|
|
30
|
+
isTest(): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Update critical environment information from server, including current app version + build,
|
|
33
|
+
* upgrade prompt mode, and alert banner.
|
|
34
|
+
*
|
|
35
|
+
* @internal - not for app use. Called by `pollTimer` and as needed by Hoist code.
|
|
36
|
+
*/
|
|
37
|
+
pollServerAsync(): Promise<void>;
|
|
38
|
+
constructor();
|
|
39
|
+
private ensureVersionRunnable;
|
|
40
|
+
private startPolling;
|
|
41
|
+
private setServerInfo;
|
|
42
|
+
private get pollIntervalMs();
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Available application deployment environments, as defined by Hoist Core `AppEnvironment.groovy`.
|
|
46
|
+
*
|
|
47
|
+
* Note that this is distinct from node's `process.env.NODE_ENV`, which will be "production" at
|
|
48
|
+
* runtime on any built/deployed instances of the app, including on Dev/UAT servers.
|
|
49
|
+
*/
|
|
50
|
+
export type AppEnvironment = 'Production' | 'Beta' | 'Staging' | 'Development' | 'Test' | 'UAT' | 'BCP';
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import { Awaitable, HoistService, LoadSpec, LoadSpecConfig, PlainObject, TrackOptions } from '@xh/hoist/core';
|
|
2
|
+
import { HoistException } from '@xh/hoist/exception';
|
|
3
|
+
import { PromiseTimeoutSpec } from '@xh/hoist/promise';
|
|
4
|
+
import { StatusCodes } from 'http-status-codes';
|
|
5
|
+
import { IStringifyOptions } from 'qs';
|
|
6
|
+
/**
|
|
7
|
+
* Service for making managed HTTP requests, both to the app's own Hoist server and to remote APIs.
|
|
8
|
+
*
|
|
9
|
+
* Wrapper around the standard Fetch API with some enhancements to streamline the process for
|
|
10
|
+
* the most common use-cases. The Fetch API will be called with CORS enabled, credentials
|
|
11
|
+
* included, and redirects followed.
|
|
12
|
+
*
|
|
13
|
+
* Set {@link FetchService.autoGenCorrelationIds} to enable auto-generation of Correlation IDs
|
|
14
|
+
* for requests issued by this service. Best configured in the app's `Bootstrap` module to ensure
|
|
15
|
+
* coverage of early hoist core init requests. Can also be set on a per-request basis via
|
|
16
|
+
* {@link FetchOptions.correlationId}.
|
|
17
|
+
*
|
|
18
|
+
* Custom headers can be set on a request via {@link FetchOptions.headers}. Default headers for all
|
|
19
|
+
* requests can be set / customized using {@link addDefaultHeaders}.
|
|
20
|
+
*
|
|
21
|
+
* Also see the {@link https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API | Fetch API Docs}.
|
|
22
|
+
*
|
|
23
|
+
* Note that the convenience methods `fetchJson`, `postJson`, `putJson` all accept the same options
|
|
24
|
+
* as the main entry point `fetch`, as they delegate to fetch after setting additional defaults.
|
|
25
|
+
*/
|
|
26
|
+
export declare class FetchService extends HoistService {
|
|
27
|
+
static instance: FetchService;
|
|
28
|
+
NO_JSON_RESPONSES: StatusCodes[];
|
|
29
|
+
/**
|
|
30
|
+
* Regex applied during failed response handling to determine if contentType indicates JSON.
|
|
31
|
+
* Matches `application/json` as well as variants such as `application/problem+json`
|
|
32
|
+
*/
|
|
33
|
+
JSON_CONTENT_TYPE_RE: RegExp;
|
|
34
|
+
private autoAborters;
|
|
35
|
+
private _defaultHeaders;
|
|
36
|
+
private _interceptors;
|
|
37
|
+
/**
|
|
38
|
+
* Should hoist auto-generate a Correlation ID for a request when not otherwise specified?
|
|
39
|
+
* Set to `true` or a dynamic per-request function to enable. Default false.
|
|
40
|
+
*
|
|
41
|
+
* Static property — best configured in the app's `Bootstrap` module to ensure correlation
|
|
42
|
+
* IDs are active from the very first request.
|
|
43
|
+
*/
|
|
44
|
+
static autoGenCorrelationIds: boolean | ((opts: FetchOptions) => boolean);
|
|
45
|
+
/**
|
|
46
|
+
* Method for generating Correlation IDs. Defaults to a 16 character random string with
|
|
47
|
+
* an extremely low probability of collisions. Applications may customize to improve
|
|
48
|
+
* readability or provide a stronger uniqueness guarantee.
|
|
49
|
+
*
|
|
50
|
+
* Static property — best configured in the app's `Bootstrap` module.
|
|
51
|
+
*/
|
|
52
|
+
static genCorrelationId: () => string;
|
|
53
|
+
/**
|
|
54
|
+
* Request header name to be used for Correlation ID tracking.
|
|
55
|
+
*
|
|
56
|
+
* Static property — best configured in the app's `Bootstrap` module.
|
|
57
|
+
*/
|
|
58
|
+
static correlationIdHeaderKey: string;
|
|
59
|
+
/** Default timeout to be used for all requests made via this service */
|
|
60
|
+
defaultTimeout: PromiseTimeoutSpec;
|
|
61
|
+
/** Default headers to be sent with all subsequent requests. */
|
|
62
|
+
get defaultHeaders(): DefaultHeaders[];
|
|
63
|
+
/**
|
|
64
|
+
* Promise handlers to be executed before fufilling or rejecting returned Promise.
|
|
65
|
+
*
|
|
66
|
+
* Use the `onRejected` handler for apps requiring common handling for particular exceptions.
|
|
67
|
+
* Useful for recognizing 401s (i.e. session end), or wrapping, logging, or enhancing exceptions.
|
|
68
|
+
* The simplest onRejected handler will simply rethrow the passed exception, or a wrapped version of it.
|
|
69
|
+
* Such handlers may also return `never()` to prevent further processing of the request -- this
|
|
70
|
+
* is useful, i.e. if the handler is going to redirect the entire app, or otherwise end normal
|
|
71
|
+
* app processing. Rejected handlers may also be able to retry and return valid results via
|
|
72
|
+
* another call to fetch.
|
|
73
|
+
*
|
|
74
|
+
* Use the `onFulfilled` hander for enhancing, tracking, or even rejecting "successful" returns.
|
|
75
|
+
* For example, a handler of this form could be used to transform a 200 response returned by
|
|
76
|
+
* an API with an "error" flag into a proper client-side exception.
|
|
77
|
+
*/
|
|
78
|
+
addInterceptor(handler: FetchInterceptor): void;
|
|
79
|
+
/**
|
|
80
|
+
* Add default headers to be sent with all subsequent requests.
|
|
81
|
+
* @param headers - to be sent with all fetch requests, or a function to generate.
|
|
82
|
+
*/
|
|
83
|
+
addDefaultHeaders(headers: DefaultHeaders): void;
|
|
84
|
+
/**
|
|
85
|
+
* Send a request via the underlying fetch API.
|
|
86
|
+
*
|
|
87
|
+
* This is the main entry point for this API, and can be used to satisfy all
|
|
88
|
+
* requests. Other shortcut variants will delegate to this method, after setting
|
|
89
|
+
* default options and pre-processing content.
|
|
90
|
+
*
|
|
91
|
+
* Set `asJson` to true return a parsed JSON result, rather than the raw Response.
|
|
92
|
+
* Note that shortcut variant of this method (e.g. `fetchJson`, `postJson`) will set this
|
|
93
|
+
* flag for you.
|
|
94
|
+
*
|
|
95
|
+
* @returns Promise which resolves to a Response or JSON.
|
|
96
|
+
*/
|
|
97
|
+
fetch(opts: FetchOptions): Promise<any>;
|
|
98
|
+
/**
|
|
99
|
+
* Send an HTTP request and decode the response as JSON.
|
|
100
|
+
* @returns the decoded JSON object, or null if the response has status in {@link NO_JSON_RESPONSES}.
|
|
101
|
+
*/
|
|
102
|
+
fetchJson(opts: FetchOptions): Promise<any>;
|
|
103
|
+
/**
|
|
104
|
+
* Send a GET request and decode the response as JSON.
|
|
105
|
+
* @returns the decoded JSON object, or null if the response status is in {@link NO_JSON_RESPONSES}.
|
|
106
|
+
*/
|
|
107
|
+
getJson(opts: FetchOptions): Promise<any>;
|
|
108
|
+
/**
|
|
109
|
+
* Send a POST request with a JSON body and decode the response as JSON.
|
|
110
|
+
* @returns the decoded JSON object, or null if the response status is in {@link NO_JSON_RESPONSES}.
|
|
111
|
+
*/
|
|
112
|
+
postJson(opts: FetchOptions): Promise<any>;
|
|
113
|
+
/**
|
|
114
|
+
* Send a PUT request with a JSON body and decode the response as JSON.
|
|
115
|
+
* @returns the decoded JSON object, or null if the response status is in {@link NO_JSON_RESPONSES}.
|
|
116
|
+
*/
|
|
117
|
+
putJson(opts: FetchOptions): Promise<any>;
|
|
118
|
+
/**
|
|
119
|
+
* Send a PATCH request with a JSON body and decode the response as JSON.
|
|
120
|
+
* @returns the decoded JSON object, or null if the response status is in {@link NO_JSON_RESPONSES}.
|
|
121
|
+
*/
|
|
122
|
+
patchJson(opts: FetchOptions): Promise<any>;
|
|
123
|
+
/**
|
|
124
|
+
* Send a DELETE request with optional JSON body and decode the optional response as JSON.
|
|
125
|
+
* @returns the decoded JSON object, or null if the response status is in {@link NO_JSON_RESPONSES}.
|
|
126
|
+
*/
|
|
127
|
+
deleteJson(opts: FetchOptions): Promise<any>;
|
|
128
|
+
/**
|
|
129
|
+
* Manually abort any pending request for a given autoAbortKey.
|
|
130
|
+
* @returns false if no request pending for the given key.
|
|
131
|
+
*/
|
|
132
|
+
abort(autoAbortKey: string): boolean;
|
|
133
|
+
private fetchInternalAsync;
|
|
134
|
+
private sendJsonInternalAsync;
|
|
135
|
+
private withCorrelationId;
|
|
136
|
+
private withDefaultHeadersAsync;
|
|
137
|
+
private managedFetchAsync;
|
|
138
|
+
private abortableFetchAsync;
|
|
139
|
+
private parseJsonAsync;
|
|
140
|
+
private safeResponseTextAsync;
|
|
141
|
+
private qsFilterFn;
|
|
142
|
+
/**
|
|
143
|
+
* Create an Error to throw when a fetch call returns a !ok response.
|
|
144
|
+
* @param fetchOptions - original options passed to FetchService.
|
|
145
|
+
* @param response - return value of native fetch.
|
|
146
|
+
* @param responseText - optional additional details from the server.
|
|
147
|
+
*/
|
|
148
|
+
private exceptionFromResponse;
|
|
149
|
+
/**
|
|
150
|
+
* Create an Error to throw when a fetchJson call encounters a SyntaxError.
|
|
151
|
+
* @param fetchOptions - original options passed to FetchService.
|
|
152
|
+
* @param cause - object thrown by native {@link response.json}.
|
|
153
|
+
*/
|
|
154
|
+
private jsonParseException;
|
|
155
|
+
/**
|
|
156
|
+
* Create an Error to throw when a fetch call is aborted.
|
|
157
|
+
* @param fetchOptions - original options passed to FetchService.
|
|
158
|
+
* @param cause - object thrown by native fetch
|
|
159
|
+
*/
|
|
160
|
+
private abortedException;
|
|
161
|
+
/**
|
|
162
|
+
* Create an Error to throw when a fetch call times out.
|
|
163
|
+
* @param fetchOptions - original options the app passed when calling FetchService.
|
|
164
|
+
* @param cause - underlying timeout exception
|
|
165
|
+
* @param message - optional custom message
|
|
166
|
+
*
|
|
167
|
+
* @returns an exception that is both a TimeoutException, and a FetchException, with the
|
|
168
|
+
* underlying TimeoutException as its cause.
|
|
169
|
+
*/
|
|
170
|
+
private timeoutException;
|
|
171
|
+
/**
|
|
172
|
+
* Create an Error for when the server called by fetch does not respond
|
|
173
|
+
* @param fetchOptions - original options the app passed to FetchService.fetch
|
|
174
|
+
* @param cause - object thrown by native fetch
|
|
175
|
+
*/
|
|
176
|
+
private serverUnavailableException;
|
|
177
|
+
private createException;
|
|
178
|
+
private safeParseJson;
|
|
179
|
+
private extractMessage;
|
|
180
|
+
}
|
|
181
|
+
/** Headers to be applied to all requests. Specified as object, or dynamic function to create. */
|
|
182
|
+
export type DefaultHeaders = PlainObject | ((opts: FetchOptions) => Awaitable<PlainObject>);
|
|
183
|
+
/** Handlers to be executed before fufilling or rejecting any exception to caller. */
|
|
184
|
+
export interface FetchInterceptor {
|
|
185
|
+
onFulfilled: (opts: FetchOptions, value: any) => Promise<any>;
|
|
186
|
+
onRejected: (opts: FetchOptions, cause: unknown) => Promise<any>;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Standard options to pass through to fetch, with some additions.
|
|
190
|
+
* See MDN for available options - {@link https://developer.mozilla.org/en-US/docs/Web/API/Request}.
|
|
191
|
+
*/
|
|
192
|
+
export interface FetchOptions {
|
|
193
|
+
/** URL for the request. Relative urls will be appended to XH.baseUrl. */
|
|
194
|
+
url: string;
|
|
195
|
+
/**
|
|
196
|
+
* Data to send in the request body (for POSTs/PUTs of JSON).
|
|
197
|
+
* When using `fetch`, provide a string. Otherwise, provide a JSON Serializable object
|
|
198
|
+
*/
|
|
199
|
+
body?: any;
|
|
200
|
+
/**
|
|
201
|
+
* Unique identifier for this request, used for tracking and logging. If `false`, no
|
|
202
|
+
* `correlationId` will be set. If `true`, one will be auto-generated.
|
|
203
|
+
*/
|
|
204
|
+
correlationId?: string | boolean;
|
|
205
|
+
/**
|
|
206
|
+
* Parameters to encode and append as a query string, or send with the request body
|
|
207
|
+
* (for POSTs/PUTs sending form-url-encoded).
|
|
208
|
+
*/
|
|
209
|
+
params?: PlainObject;
|
|
210
|
+
/**
|
|
211
|
+
* HTTP Request method to use for the request. If not specified, the method will be set to POST
|
|
212
|
+
* if there are params, otherwise GET.
|
|
213
|
+
*/
|
|
214
|
+
method?: string;
|
|
215
|
+
/**
|
|
216
|
+
* Headers to send with this request. A Content-Type header will be set if not provided by
|
|
217
|
+
* the caller directly or via one of the xxxJson convenience methods.
|
|
218
|
+
*/
|
|
219
|
+
headers?: PlainObject;
|
|
220
|
+
/**
|
|
221
|
+
* MS to wait for response before rejecting with a timeout exception. Defaults to 30 seconds,
|
|
222
|
+
* but may be specified as null to specify no timeout.
|
|
223
|
+
*/
|
|
224
|
+
timeout?: PromiseTimeoutSpec;
|
|
225
|
+
/**
|
|
226
|
+
* Optional metadata about the underlying request. Passed through for downstream processing by
|
|
227
|
+
* utils such as {@link ExceptionHandler}.
|
|
228
|
+
*/
|
|
229
|
+
loadSpec?: LoadSpec | LoadSpecConfig;
|
|
230
|
+
/**
|
|
231
|
+
* Options to pass to the underlying fetch request.
|
|
232
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch
|
|
233
|
+
*/
|
|
234
|
+
fetchOpts?: PlainObject;
|
|
235
|
+
/**
|
|
236
|
+
* Options for qs, the library used to encode query strings.
|
|
237
|
+
*/
|
|
238
|
+
qsOpts?: Partial<IStringifyOptions>;
|
|
239
|
+
/**
|
|
240
|
+
* If set, any pending requests made with the same autoAbortKey will be immediately
|
|
241
|
+
* aborted in favor of the new request.
|
|
242
|
+
*/
|
|
243
|
+
autoAbortKey?: string;
|
|
244
|
+
/**
|
|
245
|
+
* True to decode the HTTP response as JSON. Default false.
|
|
246
|
+
*/
|
|
247
|
+
asJson?: boolean;
|
|
248
|
+
/**
|
|
249
|
+
* If set, the request will be tracked via Hoist activity tracking. (Do not set `correlationId`
|
|
250
|
+
* here - use the top-level `correlationId` property instead.)
|
|
251
|
+
*/
|
|
252
|
+
track?: string | TrackOptions;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Exception thrown to indicate an HTTP error resulting from a call to FetchService.
|
|
256
|
+
*/
|
|
257
|
+
export interface FetchException extends HoistException {
|
|
258
|
+
/** Http Status code associated with exception. 0 if no response received. */
|
|
259
|
+
httpStatus: number;
|
|
260
|
+
/** Rich object or string containing details about the exception as sent by server. */
|
|
261
|
+
serverDetails: string | PlainObject;
|
|
262
|
+
/** Options of underlying fetch call. */
|
|
263
|
+
fetchOptions: FetchOptions;
|
|
264
|
+
/**
|
|
265
|
+
* True if exception resulted from the fetch being aborted by fetchService, or the application.
|
|
266
|
+
* @see FetchService.abort and FetchOptions.autoAbortKey.
|
|
267
|
+
*/
|
|
268
|
+
isFetchAborted: boolean;
|
|
269
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { GridAutosizeOptions, GridModel } from '@xh/hoist/cmp/grid';
|
|
2
|
+
import { HoistService } from '@xh/hoist/core';
|
|
3
|
+
/**
|
|
4
|
+
* Sets appropriate column widths for a grid based on its contents. Generally seeks to make columns
|
|
5
|
+
* at least as wide as all of their contents, including headers.
|
|
6
|
+
*
|
|
7
|
+
* Unlike the native ag-Grid autosizing, this service will compute a size based on all data in the
|
|
8
|
+
* grid, including off-screen rows and columns and (if requested) collapsed rows.
|
|
9
|
+
*
|
|
10
|
+
* In order to do this efficiently, this service uses heuristics and generally assumes each
|
|
11
|
+
* column consists of similarly formatted strings.
|
|
12
|
+
*
|
|
13
|
+
* @see GridAutosizeOptions
|
|
14
|
+
*/
|
|
15
|
+
export declare class GridAutosizeService extends HoistService {
|
|
16
|
+
xhImpl: boolean;
|
|
17
|
+
static instance: GridAutosizeService;
|
|
18
|
+
private _columnWidthCalculator;
|
|
19
|
+
/**
|
|
20
|
+
* Calculate and apply autosized column widths.
|
|
21
|
+
*
|
|
22
|
+
* @param gridModel - GridModel to autosize.
|
|
23
|
+
* @param colIds - array of columns in model to compute sizing for.
|
|
24
|
+
* @param options - options to use for this autosize.
|
|
25
|
+
*/
|
|
26
|
+
autosizeAsync(gridModel: GridModel, colIds: string[], options: Omit<GridAutosizeOptions, 'columns'>): Promise<void>;
|
|
27
|
+
private calcRequiredWidthsAsync;
|
|
28
|
+
private gatherRecordsToBeSized;
|
|
29
|
+
private calcFillWidths;
|
|
30
|
+
private fillEvenly;
|
|
31
|
+
private fillSequentially;
|
|
32
|
+
private getFillState;
|
|
33
|
+
private getColFillSpec;
|
|
34
|
+
private getTotalColumnWidth;
|
|
35
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { HoistService, TrackOptions } from '@xh/hoist/core';
|
|
2
|
+
import { GridModel, Column } from '@xh/hoist/cmp/grid';
|
|
3
|
+
import { StoreRecord } from '@xh/hoist/data';
|
|
4
|
+
/**
|
|
5
|
+
* Exports Grid data to either Excel or CSV via Hoist's server-side export capabilities.
|
|
6
|
+
* See the Column API for options to control exported values and formats.
|
|
7
|
+
*/
|
|
8
|
+
export declare class GridExportService extends HoistService {
|
|
9
|
+
xhImpl: boolean;
|
|
10
|
+
static instance: GridExportService;
|
|
11
|
+
/**
|
|
12
|
+
* Export the data within a GridModel to a file. Typically called via `GridModel.exportAsync()`.
|
|
13
|
+
*/
|
|
14
|
+
exportAsync(gridModel: GridModel, { filename, type, columns, track, timeout }?: ExportOptions): Promise<void>;
|
|
15
|
+
/**
|
|
16
|
+
* Get the exportable value for a given cell.
|
|
17
|
+
* Used internally by this service + public to support Grid's "copy cell" context menu action.
|
|
18
|
+
*/
|
|
19
|
+
getExportableValueForCell({ gridModel, record, column, node, forExcel }: {
|
|
20
|
+
gridModel: GridModel;
|
|
21
|
+
record: StoreRecord;
|
|
22
|
+
column: Column;
|
|
23
|
+
node?: any;
|
|
24
|
+
forExcel?: boolean;
|
|
25
|
+
}): any;
|
|
26
|
+
private showFailToast;
|
|
27
|
+
private getExportableColumns;
|
|
28
|
+
private getExportFieldType;
|
|
29
|
+
private getColumnMetadata;
|
|
30
|
+
private getHeaderRow;
|
|
31
|
+
private getRecordRowsRecursive;
|
|
32
|
+
private getRecordRow;
|
|
33
|
+
private getContentType;
|
|
34
|
+
private getFileExtension;
|
|
35
|
+
private minWait;
|
|
36
|
+
private getCellSpecificType;
|
|
37
|
+
}
|
|
38
|
+
export interface ExportOptions {
|
|
39
|
+
/**
|
|
40
|
+
* Name for export file, or closure to generate.
|
|
41
|
+
* Do not include the file extension - that will be appended based on the specified type.
|
|
42
|
+
*/
|
|
43
|
+
filename?: string | ((g: GridModel) => string);
|
|
44
|
+
/** Type of export. */
|
|
45
|
+
type?: 'excel' | 'excelTable' | 'csv';
|
|
46
|
+
/**
|
|
47
|
+
* Columns to include in export. Supports tokens 'VISIBLE' (default - all currently visible cols),
|
|
48
|
+
* 'ALL', or specific column IDs to include (can be used in conjunction with VISIBLE to export
|
|
49
|
+
* all visible and enumerated columns). Also supports a function returning column IDs to include.
|
|
50
|
+
*/
|
|
51
|
+
columns?: 'VISIBLE' | 'ALL' | string[] | ((g: GridModel) => string[]);
|
|
52
|
+
/** True to enable activity tracking of exports (default false). */
|
|
53
|
+
track?: boolean | Partial<TrackOptions>;
|
|
54
|
+
/** Timeout (in ms) for export request - defaults to 30 seconds. */
|
|
55
|
+
timeout?: number;
|
|
56
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { HoistService, HoistUser, IdentityInfo } from '@xh/hoist/core';
|
|
2
|
+
/**
|
|
3
|
+
* Provides basic information related to the authenticated user, including application roles.
|
|
4
|
+
* This service loads its data from Hoist Core's server-side identity service.
|
|
5
|
+
*
|
|
6
|
+
* Also provides support for recognizing impersonation and distinguishing between the apparent and
|
|
7
|
+
* actual underlying user.
|
|
8
|
+
*/
|
|
9
|
+
export declare class IdentityService extends HoistService {
|
|
10
|
+
static instance: IdentityService;
|
|
11
|
+
private identity;
|
|
12
|
+
/** @returns current acting user (see authUser for notes on impersonation) */
|
|
13
|
+
get user(): HoistUser;
|
|
14
|
+
/** @returns current acting user's username. */
|
|
15
|
+
get username(): string;
|
|
16
|
+
/** @returns current acting user's initials, based on displayName. */
|
|
17
|
+
get userInitials(): string;
|
|
18
|
+
/**
|
|
19
|
+
* Actual user who authenticated to the web application.
|
|
20
|
+
* This will be the same as the user except when an administrator is impersonation another
|
|
21
|
+
* user for troubleshooting or testing. In those cases, this getter will return the actual
|
|
22
|
+
* administrator, whereas `this.user` will return the user they are impersonating.
|
|
23
|
+
*/
|
|
24
|
+
get authUser(): HoistUser;
|
|
25
|
+
get authUsername(): string;
|
|
26
|
+
/** Is an impersonation session currently active? */
|
|
27
|
+
get isImpersonating(): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Can the user impersonate other users?
|
|
30
|
+
*
|
|
31
|
+
* See also canAuthUserImpersonate() which should be consulted before actually
|
|
32
|
+
* triggering any impersonation attempts.
|
|
33
|
+
*/
|
|
34
|
+
get canImpersonate(): boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Can the underlying authenticated user impersonate other users?
|
|
37
|
+
*
|
|
38
|
+
* Use this getter to determine if Hoist should allow the client to show impersonation
|
|
39
|
+
* affordances and to trigger impersonation actions.
|
|
40
|
+
*/
|
|
41
|
+
get canAuthUserImpersonate(): boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Begin an impersonation session to act as another user. The UI server will allow this only
|
|
44
|
+
* if the actual authenticated user has the rights to do, and is attempting to impersonate
|
|
45
|
+
* a known user who has permission to and has accessed the app themselves. If successful,
|
|
46
|
+
* the application will reload and the admin will now be acting as the other user.
|
|
47
|
+
*
|
|
48
|
+
* @param username - the end-user to impersonate
|
|
49
|
+
*/
|
|
50
|
+
impersonateAsync(username: string): Promise<void>;
|
|
51
|
+
/** Exit any active impersonation, reloading the app to resume accessing it as yourself. */
|
|
52
|
+
endImpersonateAsync(): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* @internal -- for framework use onlu.
|
|
55
|
+
*/
|
|
56
|
+
initIdentity(identity: IdentityInfo): void;
|
|
57
|
+
private canUserImpersonate;
|
|
58
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HoistService } from '@xh/hoist/core';
|
|
2
|
+
/**
|
|
3
|
+
* Manage the idling/suspension of this application after a certain period of user inactivity
|
|
4
|
+
* to cancel background tasks and prompt the user to reload the page when they wish to resume
|
|
5
|
+
* using the app. This approach is typically employed to reduce potential load on back-end
|
|
6
|
+
* system from unattended clients and/or as a "belt-and-suspenders" defence against memory
|
|
7
|
+
* leaks or other performance issues that can arise with long-running sessions.
|
|
8
|
+
*
|
|
9
|
+
* This service consults the `xhIdleConfig` soft-config and the `xhIdleDetectionDisabled`
|
|
10
|
+
* user preference to determine if and when it should suspend the app.
|
|
11
|
+
*/
|
|
12
|
+
export declare class IdleService extends HoistService {
|
|
13
|
+
xhImpl: boolean;
|
|
14
|
+
static instance: IdleService;
|
|
15
|
+
private timer;
|
|
16
|
+
private timeout;
|
|
17
|
+
constructor();
|
|
18
|
+
private startMonitoring;
|
|
19
|
+
private createTimer;
|
|
20
|
+
private checkInactivityTimeout;
|
|
21
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { HoistService } from '@xh/hoist/core';
|
|
2
|
+
import { Timer } from '@xh/hoist/utils/async';
|
|
3
|
+
/**
|
|
4
|
+
* Developer/Admin focused service to provide additional processing and stats related to the
|
|
5
|
+
* running application, specifically its current HoistModel, HoistService, and Store instances.
|
|
6
|
+
*
|
|
7
|
+
* Activating this service will cause it to maintain an observable array of summary data synced
|
|
8
|
+
* (with a minimal throttle) on each change to the Hoist registry, as well as an array of model
|
|
9
|
+
* count / memory usage stats, also updated on model changes and periodically in the background.
|
|
10
|
+
*
|
|
11
|
+
* When running in a Desktop application, activating this service will trigger the display of the
|
|
12
|
+
* Hoist Inspector UI - {@link inspectorPanel}. A built-in control to activate/deactivate this
|
|
13
|
+
* service is provided within the Desktop versionBar component.
|
|
14
|
+
*
|
|
15
|
+
* This service may be completely disabled via an optional `xhInspectorConfig` appConfig, although
|
|
16
|
+
* note that this config does *not* disable the backing registry within XH. Access to Inspector can
|
|
17
|
+
* also be limited to users with a particular app role, using the same config.
|
|
18
|
+
*/
|
|
19
|
+
export declare class InspectorService extends HoistService {
|
|
20
|
+
xhImpl: boolean;
|
|
21
|
+
static instance: InspectorService;
|
|
22
|
+
persistWith: {
|
|
23
|
+
localStorageKey: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* True if Inspector is generally enabled via config.
|
|
27
|
+
* If enabled but !active, this service won't do any work, but can be activated on demand.
|
|
28
|
+
*/
|
|
29
|
+
get enabled(): boolean;
|
|
30
|
+
/** True to start processing model stats and show the Inspector UI. */
|
|
31
|
+
active: boolean;
|
|
32
|
+
/** Info on current services/models/stores (when active). */
|
|
33
|
+
activeInstances: InspectorInstanceData[];
|
|
34
|
+
/** Timestamped model counts w/memory usage (when active). */
|
|
35
|
+
stats: InspectorStat[];
|
|
36
|
+
statsUpdateTimer: Timer;
|
|
37
|
+
private _syncRun;
|
|
38
|
+
private _idToSyncRun;
|
|
39
|
+
constructor();
|
|
40
|
+
initAsync(): Promise<void>;
|
|
41
|
+
toggleActive(): void;
|
|
42
|
+
activate(): void;
|
|
43
|
+
deactivate(): void;
|
|
44
|
+
updateStats(): void;
|
|
45
|
+
clearStats(): void;
|
|
46
|
+
restoreDefaultsAsync(): Promise<void>;
|
|
47
|
+
private sync;
|
|
48
|
+
setActiveInstances(ai: InspectorInstanceData[]): void;
|
|
49
|
+
_prevModelCount: number;
|
|
50
|
+
get conf(): any;
|
|
51
|
+
}
|
|
52
|
+
interface InspectorInstanceData {
|
|
53
|
+
className: string;
|
|
54
|
+
created: number;
|
|
55
|
+
isHoistModel: boolean;
|
|
56
|
+
isHoistService: boolean;
|
|
57
|
+
isStore: boolean;
|
|
58
|
+
isLinked: boolean;
|
|
59
|
+
isXhImpl: boolean;
|
|
60
|
+
hasLoadSupport: boolean;
|
|
61
|
+
lastLoadCompleted: Date;
|
|
62
|
+
lastLoadException: any;
|
|
63
|
+
syncRun: number;
|
|
64
|
+
}
|
|
65
|
+
interface InspectorStat {
|
|
66
|
+
id: number;
|
|
67
|
+
timestamp: number;
|
|
68
|
+
modelCount: number;
|
|
69
|
+
modelCountChange: number;
|
|
70
|
+
totalJSHeapSize: number;
|
|
71
|
+
usedJSHeapSize: number;
|
|
72
|
+
jsHeapSizeLimit: number;
|
|
73
|
+
syncRun: number;
|
|
74
|
+
}
|
|
75
|
+
export {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { HoistService, LoadSpec, PlainObject } from '@xh/hoist/core';
|
|
2
|
+
export interface JsonBlob {
|
|
3
|
+
/** Either null for private blobs or special token "*" for globally shared blobs. */
|
|
4
|
+
acl: '*';
|
|
5
|
+
/** True if this blob has been archived (soft-deleted). */
|
|
6
|
+
archived: boolean;
|
|
7
|
+
/** Timestamp indicating when this blob was archived, or special value `0` if not archived. */
|
|
8
|
+
archivedDate: number;
|
|
9
|
+
dateCreated: number;
|
|
10
|
+
description: string;
|
|
11
|
+
/** @internal database ID for this blob. Favor token instead. */
|
|
12
|
+
id: number;
|
|
13
|
+
lastUpdated: number;
|
|
14
|
+
lastUpdatedBy: string;
|
|
15
|
+
/** Optional application-specific metadata. */
|
|
16
|
+
meta: PlainObject | unknown[];
|
|
17
|
+
name: string;
|
|
18
|
+
/** Username of the blob's creator / owner. */
|
|
19
|
+
owner: string;
|
|
20
|
+
/** Primary unique identifier for getting, updating, and archiving blobs. */
|
|
21
|
+
token: string;
|
|
22
|
+
/**
|
|
23
|
+
* Application defined type for this blob. Used as a discriminator when querying blobs related
|
|
24
|
+
* to a particular use-case within an application.
|
|
25
|
+
*/
|
|
26
|
+
type: string;
|
|
27
|
+
/**
|
|
28
|
+
* Current JSON value of this blob - its contents or data. Will be undefined for blob stubs
|
|
29
|
+
* returned by `listAsync` if `includeValue` was false.
|
|
30
|
+
*/
|
|
31
|
+
value?: any;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Service to read and set chunks of user-specific JSON persisted via Hoist Core's JSONBlob class.
|
|
35
|
+
*
|
|
36
|
+
* This service is intended as a general, lightweight utility for persisting small bundles of
|
|
37
|
+
* unstructured data that might not warrant a full-blown domain object, but which still need to be
|
|
38
|
+
* persisted back to the database.
|
|
39
|
+
*/
|
|
40
|
+
export declare class JsonBlobService extends HoistService {
|
|
41
|
+
static instance: JsonBlobService;
|
|
42
|
+
/** Retrieve a single JSONBlob by its unique token. */
|
|
43
|
+
getAsync(token: string): Promise<JsonBlob>;
|
|
44
|
+
/** Retrieve all blobs of a particular type that are visible to the current user. */
|
|
45
|
+
listAsync(spec: {
|
|
46
|
+
type: string;
|
|
47
|
+
includeValue?: boolean;
|
|
48
|
+
loadSpec?: LoadSpec;
|
|
49
|
+
}): Promise<JsonBlob[]>;
|
|
50
|
+
/** Persist a new JSONBlob back to the server. */
|
|
51
|
+
createAsync({ acl, description, type, meta, name, value }: Partial<JsonBlob>): Promise<JsonBlob>;
|
|
52
|
+
/** Modify mutable properties of an existing JSONBlob, as identified by its unique token. */
|
|
53
|
+
updateAsync(token: string, update: Partial<JsonBlob>): Promise<JsonBlob>;
|
|
54
|
+
/** Create or update a blob for a user with the existing type and name. */
|
|
55
|
+
createOrUpdateAsync(type: string, name: string, data: Partial<JsonBlob>): Promise<JsonBlob>;
|
|
56
|
+
/** Find a blob owned by this user with a specific type and name. If none exists, return null. */
|
|
57
|
+
findAsync(type: string, name: string): Promise<JsonBlob>;
|
|
58
|
+
/** Archive (soft-delete) an existing JSONBlob, as identified by its unique token. */
|
|
59
|
+
archiveAsync(token: string): Promise<JsonBlob>;
|
|
60
|
+
}
|