@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,27 @@
|
|
|
1
|
+
import { Loadable, LoadSpec, LoadSupport, PlainObject, TaskObserver } from '@xh/hoist/core';
|
|
2
|
+
import { Store, StoreConfig } from './Store';
|
|
3
|
+
export interface UrlStoreConfig extends StoreConfig {
|
|
4
|
+
/** URL from which to load data. */
|
|
5
|
+
url: string;
|
|
6
|
+
/** Property name (key) of the object returned by URL from which to extract record data. */
|
|
7
|
+
dataRoot?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* A store with built-in support for loading data from a URL.
|
|
11
|
+
*/
|
|
12
|
+
export declare class UrlStore extends Store implements Loadable {
|
|
13
|
+
url: string;
|
|
14
|
+
dataRoot: string;
|
|
15
|
+
loadSupport: LoadSupport;
|
|
16
|
+
constructor({ url, dataRoot, ...storeConfig }: UrlStoreConfig);
|
|
17
|
+
get loadObserver(): TaskObserver;
|
|
18
|
+
get loadModel(): TaskObserver;
|
|
19
|
+
get lastLoadRequested(): Date;
|
|
20
|
+
get lastLoadCompleted(): Date;
|
|
21
|
+
get lastLoadException(): any;
|
|
22
|
+
refreshAsync(meta?: PlainObject): Promise<void>;
|
|
23
|
+
autoRefreshAsync(meta?: PlainObject): Promise<void>;
|
|
24
|
+
loadAsync(loadSpec?: LoadSpec | Partial<LoadSpec>): Promise<void>;
|
|
25
|
+
/** @internal - call loadAsync() instead. */
|
|
26
|
+
doLoadAsync(loadSpec: LoadSpec): Promise<void>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { BaseRow } from './row/BaseRow';
|
|
2
|
+
import { SetOptional } from '@xh/hoist/core';
|
|
3
|
+
/**
|
|
4
|
+
* Spec to define a bucketing level within the hierarchy of data returned by a Query, as identified
|
|
5
|
+
* by a set of rows passed to a {@link BucketSpecFn} configured on that Query (or defaulted from
|
|
6
|
+
* the Cube). If this object is returned for a candidate set of rows, each row is evaluated by the
|
|
7
|
+
* spec's `bucketFn` to determine if it should yield a value for the bucket, causing the row to be
|
|
8
|
+
* nested underneath a new {@link BucketRow} created to hold all rows with that value.
|
|
9
|
+
*/
|
|
10
|
+
export declare class BucketSpec {
|
|
11
|
+
/** Name for the bucketing level configured by this spec - equivalent to a dimension name. */
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* Function returning the bucketed value (if any) into which the given row should be placed -
|
|
15
|
+
* equivalent to a dimension value. Return null/undefined to exclude the row from bucketing.
|
|
16
|
+
*/
|
|
17
|
+
bucketFn: (row: BaseRow) => string;
|
|
18
|
+
/**
|
|
19
|
+
* Function returning bucket row label from the bucket value string returned by bucketFn.
|
|
20
|
+
* Defaults to using the value directly.
|
|
21
|
+
*/
|
|
22
|
+
labelFn: (bucket: string) => string;
|
|
23
|
+
/**
|
|
24
|
+
* Fields on which the `bucketFn` depends, to ensure rows are re-bucketed if dependent field
|
|
25
|
+
* values change. If not provided or does not cover all fields potentially accessed by
|
|
26
|
+
* `bucketFn`, an incremental "data only" update that should have changed a row's bucket can
|
|
27
|
+
* fail to do so.
|
|
28
|
+
*/
|
|
29
|
+
dependentFields: string[];
|
|
30
|
+
constructor(config: SetOptional<BucketSpec, 'labelFn' | 'dependentFields'>);
|
|
31
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { HoistBase, PlainObject, Some } from '@xh/hoist/core';
|
|
2
|
+
import { Store, StoreRecordIdSpec, StoreTransaction } from '../Store';
|
|
3
|
+
import { StoreRecord } from '../StoreRecord';
|
|
4
|
+
import { BucketSpec } from './BucketSpec';
|
|
5
|
+
import { CubeField, CubeFieldSpec } from './CubeField';
|
|
6
|
+
import { QueryConfig } from './Query';
|
|
7
|
+
import { AggregateRow } from './row/AggregateRow';
|
|
8
|
+
import { BaseRow } from './row/BaseRow';
|
|
9
|
+
import { BucketRow } from './row/BucketRow';
|
|
10
|
+
import { View } from './View';
|
|
11
|
+
import { ViewRowData } from './ViewRowData';
|
|
12
|
+
export interface CubeConfig {
|
|
13
|
+
fields: CubeField[] | CubeFieldSpec[];
|
|
14
|
+
/** Default configs applied to all `CubeField`s constructed internally by this Cube. */
|
|
15
|
+
fieldDefaults?: Partial<CubeFieldSpec>;
|
|
16
|
+
/** Array of initial raw data. */
|
|
17
|
+
data?: PlainObject[];
|
|
18
|
+
/** See {@link StoreConfig.idSpec} */
|
|
19
|
+
idSpec?: StoreRecordIdSpec;
|
|
20
|
+
/** See {@link StoreConfig.processRawData} */
|
|
21
|
+
processRawData?: (data: PlainObject) => PlainObject;
|
|
22
|
+
/** Convenience bucket for app-specific metadata associated with the loaded dataset. */
|
|
23
|
+
info?: PlainObject;
|
|
24
|
+
/**
|
|
25
|
+
* Optional function to be called for each aggregate node to determine if it should be "locked",
|
|
26
|
+
* preventing drill-down into its children.
|
|
27
|
+
*/
|
|
28
|
+
lockFn?: LockFn;
|
|
29
|
+
/**
|
|
30
|
+
* Optional function to be called for each dimension during row generation to determine if the
|
|
31
|
+
* children of that dimension should be bucketed into additional dynamic dimensions.
|
|
32
|
+
*/
|
|
33
|
+
bucketSpecFn?: BucketSpecFn;
|
|
34
|
+
/**
|
|
35
|
+
* Optional function to be called on all single child rows during view processing.
|
|
36
|
+
* Return true to omit the row.
|
|
37
|
+
*/
|
|
38
|
+
omitFn?: OmitFn;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Function to be called for each node to aggregate to determine if it should be "locked",
|
|
42
|
+
* preventing drilldown into its children. If true returned for a node, no drilldown will be
|
|
43
|
+
* allowed, and the row will be marked with a boolean "locked" property.
|
|
44
|
+
*/
|
|
45
|
+
export type LockFn = (row: AggregateRow | BucketRow) => boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Function to be called for each node during row generation to determine if it should be
|
|
48
|
+
* skipped in tree output. Useful for removing aggregates that are degenerate due to context.
|
|
49
|
+
* Note that skipping in this way has no effect on aggregations -- all children of this node are
|
|
50
|
+
* simply promoted to their parent node.
|
|
51
|
+
*/
|
|
52
|
+
export type OmitFn = (row: AggregateRow | BucketRow) => boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Function to be called for rows making up an aggregated dimension to determine if the children of
|
|
55
|
+
* that dimension should be dynamically bucketed into additional sub-groupings.
|
|
56
|
+
*
|
|
57
|
+
* An example use case would be a grouped collection of portfolio positions, where any closed
|
|
58
|
+
* positions are identified as such by this function and bucketed into a "Closed" sub-grouping,
|
|
59
|
+
* without having to add something like an "openClosed" dimension that would apply to all
|
|
60
|
+
* aggregations and create an unwanted "Open" grouping.
|
|
61
|
+
*
|
|
62
|
+
* @param rows - the rows being checked for bucketing
|
|
63
|
+
* @returns {@link BucketSpec} for dynamic sub-aggregations, or null to perform no bucketing.
|
|
64
|
+
*/
|
|
65
|
+
export type BucketSpecFn = (rows: BaseRow[]) => BucketSpec;
|
|
66
|
+
/**
|
|
67
|
+
* A data store that supports grouping, aggregating, and filtering data on multiple dimensions.
|
|
68
|
+
*
|
|
69
|
+
* This object is a wrapper around a "flat" Store containing leaf-level facts. It supports creating
|
|
70
|
+
* Views on that data via structured Queries that can filter, group, and aggregate the flat source
|
|
71
|
+
* data and produce a hierarchical result ready for use in (e.g.) tree grids and maps. Views can
|
|
72
|
+
* be transiently created to run a Query once, on demand, or can be retained to provide efficient,
|
|
73
|
+
* auto-updating results in response to updates to the underlying data.
|
|
74
|
+
*/
|
|
75
|
+
export declare class Cube extends HoistBase {
|
|
76
|
+
static RECORD_ID_DELIMITER: string;
|
|
77
|
+
store: Store;
|
|
78
|
+
lockFn: LockFn;
|
|
79
|
+
bucketSpecFn: BucketSpecFn;
|
|
80
|
+
omitFn: OmitFn;
|
|
81
|
+
info: any;
|
|
82
|
+
_connectedViews: Set<View>;
|
|
83
|
+
constructor({ fields, fieldDefaults, data, idSpec, processRawData, info, lockFn, bucketSpecFn, omitFn }: CubeConfig);
|
|
84
|
+
/** Fields configured for this Cube. */
|
|
85
|
+
get fields(): CubeField[];
|
|
86
|
+
/** Dimension Fields configured for this Cube. */
|
|
87
|
+
get dimensions(): CubeField[];
|
|
88
|
+
/** Records loaded in to this Cube. */
|
|
89
|
+
get records(): StoreRecord[];
|
|
90
|
+
/** True if this Cube contains no data / records. */
|
|
91
|
+
get empty(): boolean;
|
|
92
|
+
/** Timestamp (ms) of when the Cube data was last updated */
|
|
93
|
+
get lastUpdated(): number;
|
|
94
|
+
/** Count of currently connected, auto-updating Views. */
|
|
95
|
+
get connectedViewCount(): number;
|
|
96
|
+
getField(name: string): CubeField;
|
|
97
|
+
/**
|
|
98
|
+
* Query the cube.
|
|
99
|
+
*
|
|
100
|
+
* This method will return a snapshot of javascript objects representing the filtered
|
|
101
|
+
* and aggregated data in the query. In addition to the fields specified in Query, nodes will
|
|
102
|
+
* each contain a 'cubeLabel' and a 'cubeDimension' property.
|
|
103
|
+
*
|
|
104
|
+
* @param query - Config for query defining the shape of the view.
|
|
105
|
+
* @returns data containing the results of the query as a hierarchical set of rows.
|
|
106
|
+
*/
|
|
107
|
+
executeQuery(query: QueryConfig): ViewRowData[];
|
|
108
|
+
/**
|
|
109
|
+
* Create a dynamic {@link View} of the cube data based on a query. Unlike the static snapshot
|
|
110
|
+
* returned by {@link Cube.executeQuery}, a View created with this method can be configured
|
|
111
|
+
* with `connect:true` to automatically update as the underlying data in the Cube changes.
|
|
112
|
+
*
|
|
113
|
+
* Provide one or more `stores` to automatically populate them with the aggregated data returned
|
|
114
|
+
* by the query, or read the returned {@link View.result} directly.
|
|
115
|
+
*
|
|
116
|
+
* When the returned View is no longer needed, call {@link View.destroy} (or save a reference
|
|
117
|
+
* via an `@managed` model property) to avoid unnecessary processing.
|
|
118
|
+
*
|
|
119
|
+
* @param query - query to be used to construct this view.
|
|
120
|
+
* @param stores - Stores to be automatically loaded/reloaded with View results.
|
|
121
|
+
* @param connect - true to update View automatically when data in the underlying Cube changes.
|
|
122
|
+
*/
|
|
123
|
+
createView({ query, stores, connect }: {
|
|
124
|
+
query: QueryConfig;
|
|
125
|
+
stores?: Store[] | Store;
|
|
126
|
+
connect?: boolean;
|
|
127
|
+
}): View;
|
|
128
|
+
/** True if the provided view is connected to this Cube for live updates. */
|
|
129
|
+
viewIsConnected(view: View): boolean;
|
|
130
|
+
/** Cease pushing further updates to this Cube's data into a previously connected View. */
|
|
131
|
+
disconnectView(view: View): void;
|
|
132
|
+
/** Connect a View to this Cube for live updates. */
|
|
133
|
+
connectView(view: View): void;
|
|
134
|
+
/**
|
|
135
|
+
* Populate this cube with a new dataset.
|
|
136
|
+
* This method largely delegates to {@link Store.loadData} - see that method for more info.
|
|
137
|
+
*
|
|
138
|
+
* Note that this method will update its views asynchronously in order to avoid locking up the
|
|
139
|
+
* browser when attached to multiple expensive views.
|
|
140
|
+
*
|
|
141
|
+
* @param rawData - flat array of lowest/leaf level data rows.
|
|
142
|
+
* @param info - optional metadata to associate with this cube/dataset.
|
|
143
|
+
*/
|
|
144
|
+
loadDataAsync(rawData: PlainObject[], info?: PlainObject): Promise<void>;
|
|
145
|
+
/**
|
|
146
|
+
* Update this cube with incremental data set changes and/or info.
|
|
147
|
+
* This method largely delegates to {@link Store.updateData} - see that method for more info.
|
|
148
|
+
*
|
|
149
|
+
* Note that this method will update its views asynchronously in order to avoid locking
|
|
150
|
+
* up the browser when attached to multiple expensive views.
|
|
151
|
+
*
|
|
152
|
+
* @param rawData - data changes to process. If provided as an array, rawData will be processed
|
|
153
|
+
* into adds and updates, with updates determined by matching existing records by ID.
|
|
154
|
+
* @param infoUpdates - new key-value pairs to be applied to existing info on this cube.
|
|
155
|
+
*/
|
|
156
|
+
updateDataAsync(rawData: PlainObject[] | StoreTransaction, infoUpdates?: PlainObject): Promise<void>;
|
|
157
|
+
/**
|
|
158
|
+
* Similar to `updateDataAsync`, but intended for modifying individual field values in a local
|
|
159
|
+
* uncommitted state - i.e. when updating via an inline grid editor or similar control. Like
|
|
160
|
+
* `updateDataAsync`, this method will update its views asynchronously.
|
|
161
|
+
*
|
|
162
|
+
* This method largely delegates to {@link Store.modifyRecords} - see that method for more info.
|
|
163
|
+
*
|
|
164
|
+
* @param modifications - field-level modifications to apply to existing
|
|
165
|
+
* Records in this Cube. Each object in the list must have an `id` property identifying
|
|
166
|
+
* the StoreRecord to modify, plus any other properties with updated field values to apply,
|
|
167
|
+
* e.g. `{id: 4, quantity: 100}, {id: 5, quantity: 99, customer: 'bob'}`.
|
|
168
|
+
*/
|
|
169
|
+
modifyRecordsAsync(modifications: Some<PlainObject>): Promise<void>;
|
|
170
|
+
/** Clear any/all data and info from this Cube. */
|
|
171
|
+
clearAsync(): Promise<void>;
|
|
172
|
+
/**
|
|
173
|
+
* Populate the metadata associated with this cube.
|
|
174
|
+
* @param infoUpdates - new key-value pairs to be applied to existing info on this cube.
|
|
175
|
+
*/
|
|
176
|
+
updateInfo(infoUpdates?: PlainObject): void;
|
|
177
|
+
private setInfo;
|
|
178
|
+
private parseFields;
|
|
179
|
+
destroy(): void;
|
|
180
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { PlainObject } from '@xh/hoist/core';
|
|
2
|
+
import { AggregationContext, Aggregator, AverageAggregator, AverageStrictAggregator, ChildCountAggregator, Field, FieldSpec, LeafCountAggregator, MaxAggregator, MinAggregator, NullAggregator, SingleAggregator, SumAggregator, SumStrictAggregator, UniqueAggregator } from '@xh/hoist/data';
|
|
3
|
+
export interface CubeFieldSpec extends FieldSpec {
|
|
4
|
+
/** Instance of a Hoist Cube {@link Aggregator} or string token alias for one. */
|
|
5
|
+
aggregator?: Aggregator | AggregatorToken;
|
|
6
|
+
/** Function to determine if aggregation should be performed at a given level of a query result. */
|
|
7
|
+
canAggregateFn?: CanAggregateFn;
|
|
8
|
+
/** True if any further groupings below this dimension would be derivative (have only one member). */
|
|
9
|
+
isLeafDimension?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Name of field that is a 'parent' dimension of this dimension. This marks this dimension as a
|
|
12
|
+
* sub-dimension of the parent dimension (e.g. 'asset group' and 'asset'). This allows the view
|
|
13
|
+
* to skip creating derivative nodes when a parent node has a single identical child node.
|
|
14
|
+
*/
|
|
15
|
+
parentDimension?: string;
|
|
16
|
+
}
|
|
17
|
+
/** Convenient (and serializable) alias for one of Hoist's Cube {@link Aggregator} classes. */
|
|
18
|
+
export type AggregatorToken = 'AVG' | 'AVG_STRICT' | 'CHILD_COUNT' | 'LEAF_COUNT' | 'MAX' | 'MIN' | 'NULL' | 'SINGLE' | 'SUM' | 'SUM_STRICT' | 'UNIQUE';
|
|
19
|
+
/**
|
|
20
|
+
* @param dimension - dimension of aggregation
|
|
21
|
+
* @param value - value of record on dimension
|
|
22
|
+
* @param appliedDims - *all* applied dimension values for this record
|
|
23
|
+
* @param context - current aggregation context
|
|
24
|
+
*/
|
|
25
|
+
export type CanAggregateFn = (dimension: string, value: any, appliedDims: PlainObject, context: AggregationContext) => boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Metadata used to define a measure or dimension in Cube. For properties present on raw data source
|
|
28
|
+
* objects to be included in a Cube, the Cube must be configured with a matching Field that tells
|
|
29
|
+
* it to extract the data from the source objects and how to aggregate or filter on that data.
|
|
30
|
+
*/
|
|
31
|
+
export declare class CubeField extends Field {
|
|
32
|
+
aggregator: Aggregator;
|
|
33
|
+
canAggregateFn: CanAggregateFn;
|
|
34
|
+
isLeafDimension: boolean;
|
|
35
|
+
parentDimension: string;
|
|
36
|
+
static averageAggregator: AverageAggregator;
|
|
37
|
+
static averageStrictAggregator: AverageStrictAggregator;
|
|
38
|
+
static childCountAggregator: ChildCountAggregator;
|
|
39
|
+
static leafCountAggregator: LeafCountAggregator;
|
|
40
|
+
static maxAggregator: MaxAggregator;
|
|
41
|
+
static minAggregator: MinAggregator;
|
|
42
|
+
static nullAggregator: NullAggregator;
|
|
43
|
+
static singleAggregator: SingleAggregator;
|
|
44
|
+
static sumAggregator: SumAggregator;
|
|
45
|
+
static sumStrictAggregator: SumStrictAggregator;
|
|
46
|
+
static uniqueAggregator: UniqueAggregator;
|
|
47
|
+
constructor({ aggregator, canAggregateFn, isLeafDimension, parentDimension, ...fieldArgs }: CubeFieldSpec);
|
|
48
|
+
private parseAggregator;
|
|
49
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { BucketSpecFn, Filter, FilterLike, LockFn, OmitFn, StoreRecord } from '@xh/hoist/data';
|
|
2
|
+
import { Cube } from './Cube';
|
|
3
|
+
import { CubeField } from './CubeField';
|
|
4
|
+
/**
|
|
5
|
+
* Queries determine what data is extracted, grouped, and aggregated from a {@link Cube}.
|
|
6
|
+
*/
|
|
7
|
+
export interface QueryConfig {
|
|
8
|
+
/**
|
|
9
|
+
* The Cube to query. Required, but note that the preferred {@link Cube.executeQuery} API will
|
|
10
|
+
* install a reference to itself on the query config (automatically).
|
|
11
|
+
*/
|
|
12
|
+
cube?: Cube;
|
|
13
|
+
/**
|
|
14
|
+
* Fields or field names. If unspecified will include all available {@link Cube.fields}.
|
|
15
|
+
* Specify a subset to optimize aggregation performance.
|
|
16
|
+
*/
|
|
17
|
+
fields?: string[] | CubeField[];
|
|
18
|
+
/**
|
|
19
|
+
* Fields or field names on which data should be grouped and aggregated. These are the ordered
|
|
20
|
+
* grouping levels in the resulting hierarchy - e.g. ['Country', 'State', 'City'].
|
|
21
|
+
*
|
|
22
|
+
* If not provided or empty, the resulting data will not be grouped. Specify 'includeRoot' or
|
|
23
|
+
* 'includeLeaves' in that case, otherwise no data will be returned.
|
|
24
|
+
*/
|
|
25
|
+
dimensions?: string[] | CubeField[];
|
|
26
|
+
/**
|
|
27
|
+
* Filters to apply to leaf data, or configs to create. Note that leaf data will be filtered
|
|
28
|
+
* and then aggregated - i.e. the filters provided here will filter in/out the lowest level
|
|
29
|
+
* facts and _won't_ operate directly on any aggregates.
|
|
30
|
+
*
|
|
31
|
+
* Arrays will be combined into a single 'AND' CompoundFilter.
|
|
32
|
+
*/
|
|
33
|
+
filter?: FilterLike;
|
|
34
|
+
/**
|
|
35
|
+
* True to include a synthetic root node in the return with grand totals (aggregations across
|
|
36
|
+
* all data returned by the query). Pairs well with {@link StoreConfig.loadRootAsSummary} and
|
|
37
|
+
* {@link GridConfig.showSummary} to display a docked grand total row for grids rendering
|
|
38
|
+
* Cube results.
|
|
39
|
+
*/
|
|
40
|
+
includeRoot?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* True to include leaf nodes (the "flat" facts originally loaded into the Cube) as the
|
|
43
|
+
* {@link ViewRowData.children} of the lowest level of aggregated `dimensions`.
|
|
44
|
+
*
|
|
45
|
+
* False (the default) to only return aggregate rows based on requested `dimensions`.
|
|
46
|
+
*
|
|
47
|
+
* Useful when you wish to e.g. load Cube results into a tree grid and allow users to expand
|
|
48
|
+
* aggregated groups all the way out to see the source data. See also `provideLeaves`, which
|
|
49
|
+
* will provide access to these nodes without exposing as `children`.
|
|
50
|
+
*/
|
|
51
|
+
includeLeaves?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* True to provide access to leaf nodes via the {@link ViewRowData.cubeLeaves} getter on the
|
|
54
|
+
* lowest level of aggregated `dimensions`. This will allow programmatic access to the leaves
|
|
55
|
+
* used to produce a given aggregation, without exposing them as `children` in a way that would
|
|
56
|
+
* cause them to be rendered in a tree grid.
|
|
57
|
+
*
|
|
58
|
+
* Useful when e.g. a full leaf-level drill-down is not desired, but the app still needs
|
|
59
|
+
* access to those leaves to display in a separate view or for further processing.
|
|
60
|
+
*
|
|
61
|
+
* See also the more common `includeLeaves`.
|
|
62
|
+
*/
|
|
63
|
+
provideLeaves?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* True (default) to recursively omit single-child parents in the hierarchy.
|
|
66
|
+
* Apps can implement further omit logic using `omitFn`.
|
|
67
|
+
*/
|
|
68
|
+
omitRedundantNodes?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Optional function to be called for each aggregate node to determine if it should be "locked",
|
|
71
|
+
* preventing drill-down into its children.
|
|
72
|
+
*
|
|
73
|
+
* Defaults to {@link Cube.lockFn}.
|
|
74
|
+
*/
|
|
75
|
+
lockFn?: LockFn;
|
|
76
|
+
/**
|
|
77
|
+
* Optional function to be called for each dimension during row generation to determine if the
|
|
78
|
+
* children of that dimension should be bucketed into additional dynamic dimensions.
|
|
79
|
+
*
|
|
80
|
+
* This can be used to break selected aggregations into sub-groups dynamically, without having
|
|
81
|
+
* to define another dimension in the Cube and have it apply to all aggregations. See the
|
|
82
|
+
* {@link BucketSpecFn} type and {@link BucketSpec} interface for additional information.
|
|
83
|
+
*
|
|
84
|
+
* Defaults to {@link Cube.bucketSpecFn}.
|
|
85
|
+
*/
|
|
86
|
+
bucketSpecFn?: BucketSpecFn;
|
|
87
|
+
/**
|
|
88
|
+
* Optional function to be called on all single child rows during view processing.
|
|
89
|
+
* Return true to omit the row. Defaults to Cube.omitFn.
|
|
90
|
+
*/
|
|
91
|
+
omitFn?: OmitFn;
|
|
92
|
+
}
|
|
93
|
+
/** {@inheritDoc QueryConfig} */
|
|
94
|
+
export declare class Query {
|
|
95
|
+
readonly fields: CubeField[];
|
|
96
|
+
readonly dimensions: CubeField[];
|
|
97
|
+
readonly filter: Filter;
|
|
98
|
+
readonly hasFilter: boolean;
|
|
99
|
+
readonly includeRoot: boolean;
|
|
100
|
+
readonly includeLeaves: boolean;
|
|
101
|
+
readonly provideLeaves: boolean;
|
|
102
|
+
readonly omitRedundantNodes: boolean;
|
|
103
|
+
readonly cube: Cube;
|
|
104
|
+
readonly lockFn: LockFn;
|
|
105
|
+
readonly bucketSpecFn: BucketSpecFn;
|
|
106
|
+
readonly omitFn: OmitFn;
|
|
107
|
+
private readonly _testFn;
|
|
108
|
+
constructor({ cube, fields, dimensions, filter, includeRoot, includeLeaves, provideLeaves, omitRedundantNodes, lockFn, bucketSpecFn, omitFn }: QueryConfig);
|
|
109
|
+
clone(overrides: Partial<QueryConfig>): Query;
|
|
110
|
+
test(record: StoreRecord): boolean;
|
|
111
|
+
/**
|
|
112
|
+
* True if the provided other Query is equivalent to this instance.
|
|
113
|
+
*/
|
|
114
|
+
equals(other: Query): boolean;
|
|
115
|
+
/**
|
|
116
|
+
* True if the provided other Query is equivalent to this instance, not considering the filter.
|
|
117
|
+
*/
|
|
118
|
+
equalsExcludingFilter(other: Query): boolean;
|
|
119
|
+
private parseFields;
|
|
120
|
+
private parseDimensions;
|
|
121
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { GridFilterBindTarget } from '@xh/hoist/cmp/grid';
|
|
2
|
+
import { HoistBase, PlainObject, Some } from '@xh/hoist/core';
|
|
3
|
+
import { Cube, CubeField, Filter, FilterBindTarget, FilterLike, FilterValueSource, Query, QueryConfig, Store, StoreChangeLog, StoreRecordId } from '@xh/hoist/data';
|
|
4
|
+
import { ViewRowData } from '@xh/hoist/data/cube/ViewRowData';
|
|
5
|
+
import { AggregationContext } from './aggregate/AggregationContext';
|
|
6
|
+
import { BaseRow } from './row/BaseRow';
|
|
7
|
+
import { LeafRow } from './row/LeafRow';
|
|
8
|
+
export interface ViewConfig {
|
|
9
|
+
/** Query to be used to construct this view. */
|
|
10
|
+
query: Query;
|
|
11
|
+
/**
|
|
12
|
+
* Store(s) to be automatically (re)loaded with data from this view.
|
|
13
|
+
* Optional - read {@link View.result} directly to use without a Store.
|
|
14
|
+
*/
|
|
15
|
+
stores?: Store[] | Store;
|
|
16
|
+
/**
|
|
17
|
+
* True to reactively update the View's {@link View.result} and any connected store(s) when data
|
|
18
|
+
* in the underlying Cube changes. False (default) to have this view run its query once to
|
|
19
|
+
* capture a snapshot without further (automatic) updates.
|
|
20
|
+
*/
|
|
21
|
+
connect?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface ViewResult {
|
|
24
|
+
rows: ViewRowData[];
|
|
25
|
+
leafMap: Map<StoreRecordId, LeafRow>;
|
|
26
|
+
}
|
|
27
|
+
export interface DimensionValue {
|
|
28
|
+
/** Dimension field. */
|
|
29
|
+
field: CubeField;
|
|
30
|
+
/** Unique non-null values for the dimension */
|
|
31
|
+
values: Set<any>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Primary interface for consuming grouped and aggregated data from the cube.
|
|
35
|
+
* Applications should create via the {@link Cube.createView} factory.
|
|
36
|
+
*/
|
|
37
|
+
export declare class View extends HoistBase implements FilterBindTarget, FilterValueSource, GridFilterBindTarget {
|
|
38
|
+
static isView(obj: unknown): obj is View;
|
|
39
|
+
readonly isFilterValueSource = true;
|
|
40
|
+
/** Query defining this View. Update via {@link updateQuery}. */
|
|
41
|
+
query: Query;
|
|
42
|
+
/**
|
|
43
|
+
* Results of this view, an observable object with a `rows` property containing an array of
|
|
44
|
+
* hierarchical {@link ViewRowData} objects.
|
|
45
|
+
*/
|
|
46
|
+
result: ViewResult;
|
|
47
|
+
/** Stores to which results of this view should be (re)loaded. */
|
|
48
|
+
stores: Store[];
|
|
49
|
+
/** The source {@link Cube.info} as of the last time the view was updated. */
|
|
50
|
+
info: PlainObject;
|
|
51
|
+
/** The source {@link Cube.lastUpdated} as of the last time the view was updated. */
|
|
52
|
+
cubeUpdated: number;
|
|
53
|
+
/** Timestamp (ms) when the view was last updated. */
|
|
54
|
+
lastUpdated: number;
|
|
55
|
+
private _rowDatas;
|
|
56
|
+
private _leafMap;
|
|
57
|
+
private _recordMap;
|
|
58
|
+
private _bucketDependentFields;
|
|
59
|
+
_aggContext: AggregationContext;
|
|
60
|
+
_rowCache: Map<string, BaseRow>;
|
|
61
|
+
/** @internal - applications should use {@link Cube.createView} */
|
|
62
|
+
constructor(config: ViewConfig);
|
|
63
|
+
get cube(): Cube;
|
|
64
|
+
get fields(): CubeField[];
|
|
65
|
+
get fieldNames(): string[];
|
|
66
|
+
get filter(): Filter;
|
|
67
|
+
get isConnected(): boolean;
|
|
68
|
+
get isFiltered(): boolean;
|
|
69
|
+
/** Stop receiving live updates into this view when the linked Cube data changes. */
|
|
70
|
+
disconnect(): void;
|
|
71
|
+
/** Connect to the associated Cube to begin receiving live updates. */
|
|
72
|
+
connect(): void;
|
|
73
|
+
/**
|
|
74
|
+
* Change the query in some way, re-computing the data in this View to reflect the new query.
|
|
75
|
+
*
|
|
76
|
+
* @param overrides - changes to be applied to the query. If changing the `cube` and currently
|
|
77
|
+
* connected, then we will disconnect from the old cube and connect to the new one.
|
|
78
|
+
*/
|
|
79
|
+
updateQuery(overrides: Partial<QueryConfig>): void;
|
|
80
|
+
/** Gather all unique values for each dimension field in the query. */
|
|
81
|
+
getDimensionValues(): DimensionValue[];
|
|
82
|
+
/** Get a specific Field by name.*/
|
|
83
|
+
getField(name: string): CubeField;
|
|
84
|
+
/** Set stores to be loaded/reloaded with data from this view. */
|
|
85
|
+
setStores(stores: Some<Store>): void;
|
|
86
|
+
/** Update the filter on the current Query.*/
|
|
87
|
+
setFilter(filter: FilterLike): void;
|
|
88
|
+
noteCubeLoaded(): void;
|
|
89
|
+
noteCubeUpdated(changeLog: StoreChangeLog): void;
|
|
90
|
+
getValuesForFieldFilter(fieldName: string, filter?: Filter): any[];
|
|
91
|
+
private fullUpdate;
|
|
92
|
+
private dataOnlyUpdate;
|
|
93
|
+
private loadStores;
|
|
94
|
+
private updateResults;
|
|
95
|
+
private generateRows;
|
|
96
|
+
private groupAndInsertRecords;
|
|
97
|
+
private bucketRows;
|
|
98
|
+
private getSimpleUpdates;
|
|
99
|
+
private hasDimOrBucketUpdates;
|
|
100
|
+
private cachedRow;
|
|
101
|
+
private filterRecords;
|
|
102
|
+
private createAggregationContext;
|
|
103
|
+
private get aggregatorsAreSimple();
|
|
104
|
+
private parseStores;
|
|
105
|
+
destroy(): void;
|
|
106
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Some } from '@xh/hoist/core';
|
|
2
|
+
/**
|
|
3
|
+
* Grouped node data, as returned by {@link Cube.executeQuery} or exposed via {@link View.result}.
|
|
4
|
+
* Designed for direct consumption by hierarchical stores and their associated tree grids.
|
|
5
|
+
*/
|
|
6
|
+
export declare class ViewRowData {
|
|
7
|
+
constructor(id: string);
|
|
8
|
+
/** Unique id. */
|
|
9
|
+
id: string;
|
|
10
|
+
/** Denotes a type for the row */
|
|
11
|
+
cubeRowType: 'leaf' | 'aggregate' | 'bucket';
|
|
12
|
+
/**
|
|
13
|
+
* Label of the row. The dimension value or, for leaf rows. the underlying cubeId.
|
|
14
|
+
* Suitable for display, although apps will typically wish to customize leaf row rendering.
|
|
15
|
+
*/
|
|
16
|
+
cubeLabel: string;
|
|
17
|
+
/** Dimension on which this row was computed, or null for leaf rows. */
|
|
18
|
+
cubeDimension: string;
|
|
19
|
+
/**
|
|
20
|
+
* Buckets this row appears in
|
|
21
|
+
*/
|
|
22
|
+
cubeBuckets: Record<string, any>;
|
|
23
|
+
/**
|
|
24
|
+
* Visible children of this row.
|
|
25
|
+
*
|
|
26
|
+
* Note that this may not be the same as the simple aggregation children of this row. In
|
|
27
|
+
* particular, this property is subject to the semantics of row locking, redundant row omission,
|
|
28
|
+
* and bucketing as defined by the Query.
|
|
29
|
+
*/
|
|
30
|
+
children: ViewRowData[];
|
|
31
|
+
/** True for leaf rows loaded into the cube (i.e. not a grouped aggregation). */
|
|
32
|
+
get isCubeLeaf(): boolean;
|
|
33
|
+
/**
|
|
34
|
+
* All visible (i.e. non-locked) cube leaves associated with this row.
|
|
35
|
+
*
|
|
36
|
+
* For this to be populated, either {@link Query.includeLeaves} or {@link Query.provideLeaves}
|
|
37
|
+
* must have been set on the underlying Query.
|
|
38
|
+
*/
|
|
39
|
+
get cubeLeaves(): Some<ViewRowData>;
|
|
40
|
+
/**
|
|
41
|
+
* Support all other string keys for application fields in source data.
|
|
42
|
+
*/
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
/** @internal */
|
|
45
|
+
_cubeLeafChildren: ViewRowData[];
|
|
46
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { StoreRecord } from '../../StoreRecord';
|
|
2
|
+
import { View } from '../View';
|
|
3
|
+
/**
|
|
4
|
+
* Context provided to aggregators.
|
|
5
|
+
*
|
|
6
|
+
* This context will remain over the lifetime of an aggregation update of a view, and can therefore
|
|
7
|
+
* be used by aggregators to accumulate or cache values needed for the current set of records.
|
|
8
|
+
* It will be replaced if the current set of records is being changed in any way.
|
|
9
|
+
*/
|
|
10
|
+
export declare class AggregationContext {
|
|
11
|
+
/** View being aggregated. */
|
|
12
|
+
view: View;
|
|
13
|
+
/** All records currently meeting the filter for this view.*/
|
|
14
|
+
filteredRecords: StoreRecord[];
|
|
15
|
+
/**
|
|
16
|
+
* Custom aggregators may use to store pre-computed values. Custom aggregators should
|
|
17
|
+
* take care to appropriately namespace any data stored within this object.
|
|
18
|
+
*/
|
|
19
|
+
appData: any;
|
|
20
|
+
constructor(view: View, filteredRecords: StoreRecord[]);
|
|
21
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { AggregationContext } from './AggregationContext';
|
|
2
|
+
import { BaseRow } from '../row/BaseRow';
|
|
3
|
+
import { LeafRow } from '../row/LeafRow';
|
|
4
|
+
import { RowUpdate } from '../row/RowUpdate';
|
|
5
|
+
export declare abstract class Aggregator {
|
|
6
|
+
/**
|
|
7
|
+
* Does this aggregator depend only on leaf nodes contained by the node being aggregated?
|
|
8
|
+
*
|
|
9
|
+
* By default this property returns true, indicating to the cube that if all children of a
|
|
10
|
+
* given node are the same, the node does not need to be re-aggregated. Aggregators that
|
|
11
|
+
* depend on global values (e.g. % of total) should return false for this value.
|
|
12
|
+
*/
|
|
13
|
+
get dependsOnChildrenOnly(): boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Aggregate values
|
|
16
|
+
* @param rows - current rows in aggregation. Will never be empty.
|
|
17
|
+
* @param fieldName - name of field to perform the aggregation on.
|
|
18
|
+
* @param context - current aggregation context
|
|
19
|
+
*/
|
|
20
|
+
abstract aggregate(rows: BaseRow[], fieldName: string, context: AggregationContext): any;
|
|
21
|
+
/**
|
|
22
|
+
* Adjust an aggregated value, by replacing one of its constituent components.
|
|
23
|
+
*
|
|
24
|
+
* @param rows - current rows in aggregation. Will never be empty.
|
|
25
|
+
* @param currVal - current value of aggregation
|
|
26
|
+
* @param update - update that occurred to child of this aggregation.
|
|
27
|
+
* Sub-classes may use this method to provide efficient implementations for dynamic changes
|
|
28
|
+
* to an aggregation. The default implementation will simply re-aggregate.
|
|
29
|
+
* @param context - current aggregation context
|
|
30
|
+
* @returns new aggregate value
|
|
31
|
+
*/
|
|
32
|
+
replace(rows: BaseRow[], currVal: any, update: RowUpdate, context: AggregationContext): any;
|
|
33
|
+
/**
|
|
34
|
+
* Call function on all *leaf* children of a set of children.
|
|
35
|
+
*
|
|
36
|
+
* @param rows - array of child rows
|
|
37
|
+
* @param fn - the function to call on each leaf.
|
|
38
|
+
*/
|
|
39
|
+
protected forEachLeaf(rows: BaseRow[], fn: (leaf: LeafRow) => boolean | void): boolean;
|
|
40
|
+
}
|