@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,16 @@
|
|
|
1
|
+
import '@xh/hoist/desktop/register';
|
|
2
|
+
import './ZoneMapper.scss';
|
|
3
|
+
import { ZoneMapperModel } from '@xh/hoist/cmp/zoneGrid/impl/ZoneMapperModel';
|
|
4
|
+
/**
|
|
5
|
+
* Hoist UI for user selection and discovery of available ZoneGrid columns, enabled via the
|
|
6
|
+
* `ZoneGridModel.zoneMapperModel` config option.
|
|
7
|
+
*
|
|
8
|
+
* This component displays an example of each of the four zones, with the available columns for
|
|
9
|
+
* the currently selected zone displayed in a list below. Users can toggle column visibility
|
|
10
|
+
* and labels for each zone to construct a custom layout for the grid rows.
|
|
11
|
+
*
|
|
12
|
+
* It is not necessary to manually create instances of this component within an application.
|
|
13
|
+
*
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
export declare const ZoneMapper: import("react").FC<import("@xh/hoist/core").DefaultHoistProps<ZoneMapperModel>>, zoneMapper: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<ZoneMapperModel>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ContextMenuSpec } from '@xh/hoist/core';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Hook to add a right-click context menu to a component.
|
|
5
|
+
*
|
|
6
|
+
* @param child - element to be given context menu support. Must specify a component that takes
|
|
7
|
+
* the React `onContextMenu` event as a prop (e.g. boxes, panel, div, etc.)
|
|
8
|
+
* @param spec - spec the menu to be shown. If null, or the number of items is empty, no menu will
|
|
9
|
+
* be rendered and the event will be consumed.
|
|
10
|
+
*/
|
|
11
|
+
export declare function useContextMenu(child?: ReactElement, spec?: ContextMenuSpec): ReactElement;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { HotkeyConfig } from '@blueprintjs/core/src/hooks/hotkeys/hotkeyConfig';
|
|
3
|
+
/**
|
|
4
|
+
* Hook to add Key handling support to a component.
|
|
5
|
+
*
|
|
6
|
+
* The implementation of this hook is based on BlueprintJS.
|
|
7
|
+
* See their docs {@link https://blueprintjs.com/docs/#core/components/hotkeys} for more info.
|
|
8
|
+
*
|
|
9
|
+
* @param child - element to be given hotkey support. Must specify Component
|
|
10
|
+
* that takes react key events as props (e.g. boxes, panel, div, etc).
|
|
11
|
+
* @param hotkeys - An array of hotkeys, or configs for hotkeys,
|
|
12
|
+
* as prescribed by blueprint. A Hotkeys element may also be provided.
|
|
13
|
+
*/
|
|
14
|
+
export declare function useHotkeys(child?: ReactElement, hotkeys?: HotkeyConfig[]): ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The exports below are platform specific classes we would like to use (carefully!) in our
|
|
3
|
+
* cross-platform code.
|
|
4
|
+
*
|
|
5
|
+
* These are dynamically bound in the method below. This dynamic binding ensures that they are
|
|
6
|
+
* included only on the intended platform to avoid platform specific code contaminating the builds
|
|
7
|
+
* of other platforms.
|
|
8
|
+
*
|
|
9
|
+
* See the platform specific AppContainer where these implementations are actually provided.
|
|
10
|
+
*/
|
|
11
|
+
export declare let ColChooserModel: any;
|
|
12
|
+
export declare let ColumnHeaderFilterModel: any;
|
|
13
|
+
export declare let ModalSupportModel: any;
|
|
14
|
+
export declare let DashContainerViewModel: any;
|
|
15
|
+
export declare let colChooser: any;
|
|
16
|
+
export declare let zoneMapper: any;
|
|
17
|
+
export declare let columnHeaderFilter: any;
|
|
18
|
+
export declare let dockContainerImpl: any;
|
|
19
|
+
export declare let gridFilterDialog: any;
|
|
20
|
+
export declare let pinPadImpl: any;
|
|
21
|
+
export declare let storeFilterFieldImpl: any;
|
|
22
|
+
export declare let tabContainerImpl: any;
|
|
23
|
+
export declare let useContextMenu: any;
|
|
24
|
+
export declare let errorMessageImpl: any;
|
|
25
|
+
export declare let maskImpl: any;
|
|
26
|
+
export declare let DynamicTabSwitcherModel: any;
|
|
27
|
+
export declare let cardHeaderImpl: any;
|
|
28
|
+
/**
|
|
29
|
+
* Provide implementations of functions and classes exported in this file.
|
|
30
|
+
*
|
|
31
|
+
* Not for Application use.
|
|
32
|
+
*/
|
|
33
|
+
export declare function installDesktopImpls(impls: any): void;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The exports below are platform specific classes we would like to use (carefully!) in our
|
|
3
|
+
* cross-platform code.
|
|
4
|
+
*
|
|
5
|
+
* These are dynamically bound in the method below. This dynamic binding ensures that they are
|
|
6
|
+
* included only on the intended platform to avoid platform specific code contaminating the builds
|
|
7
|
+
* of other platforms.
|
|
8
|
+
*
|
|
9
|
+
* See the platform specific AppContainer where these implementations are actually provided.
|
|
10
|
+
*/
|
|
11
|
+
export declare let ColChooserModel: any;
|
|
12
|
+
export declare let colChooser: any;
|
|
13
|
+
export declare let zoneMapper: any;
|
|
14
|
+
export declare let pinPadImpl: any;
|
|
15
|
+
export declare let storeFilterFieldImpl: any;
|
|
16
|
+
export declare let tabContainerImpl: any;
|
|
17
|
+
export declare let errorMessageImpl: any;
|
|
18
|
+
export declare let maskImpl: any;
|
|
19
|
+
export declare let cardHeaderImpl: any;
|
|
20
|
+
/**
|
|
21
|
+
* Provide implementations of functions and classes exported in this file.
|
|
22
|
+
*
|
|
23
|
+
* Not for Application use.
|
|
24
|
+
*/
|
|
25
|
+
export declare function installMobileImpls(impls: any): void;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { HoistException, TimeoutException, TimeoutExceptionConfig } from './Types';
|
|
2
|
+
/**
|
|
3
|
+
* Standardized Exception/Error objects.
|
|
4
|
+
*
|
|
5
|
+
* The main entry point for this class is the create() method.
|
|
6
|
+
* Applications can use this method to create various generic runtime exceptions.
|
|
7
|
+
* @see ExceptionHandler.handleException
|
|
8
|
+
*/
|
|
9
|
+
export declare class Exception {
|
|
10
|
+
/**
|
|
11
|
+
* Create and return a HoistException
|
|
12
|
+
*
|
|
13
|
+
* See {@link XH.exception} - an alias for this factory off of `XH`.
|
|
14
|
+
*
|
|
15
|
+
* @param src - If a native JS Error, it will be enhanced into a HoistException and returned.
|
|
16
|
+
* If a plain object, all properties will be set on a new HoistException.
|
|
17
|
+
* Other inputs will be treated as the `message` of a new HoistException.
|
|
18
|
+
*/
|
|
19
|
+
static create(src: unknown): HoistException;
|
|
20
|
+
/** Create an Error for when an operation (e.g. a Promise) times out. */
|
|
21
|
+
static timeout(config: TimeoutExceptionConfig): TimeoutException;
|
|
22
|
+
private static createInternal;
|
|
23
|
+
}
|
|
24
|
+
export declare function isHoistException(src: unknown): src is HoistException;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { PlainObject } from '@xh/hoist/core';
|
|
2
|
+
/**
|
|
3
|
+
* A Hoist optimized Javascript Error object.
|
|
4
|
+
*/
|
|
5
|
+
export interface HoistException extends Error {
|
|
6
|
+
isHoistException: true;
|
|
7
|
+
/** Correlation ID associated with this exception, if any. */
|
|
8
|
+
correlationId?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Is the exception an expected, normal behavior of the app?
|
|
11
|
+
*
|
|
12
|
+
* Set to true for exceptions that should not be treated or logged as technical 'errors'.
|
|
13
|
+
* (e.g. validation errors, permission errors, time-of-day errors). Default false.
|
|
14
|
+
*/
|
|
15
|
+
isRoutine: boolean;
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Exception thrown to indicate a timeout.
|
|
20
|
+
*
|
|
21
|
+
* Typically generated by the `Promise.timeout()` extension or calls to FetchService.
|
|
22
|
+
*/
|
|
23
|
+
export interface TimeoutException extends HoistException {
|
|
24
|
+
isTimeout: true;
|
|
25
|
+
/** Time in Milliseconds that was waited before exception was thrown. */
|
|
26
|
+
interval: number;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Configuration for generating a timeout exception.
|
|
30
|
+
*
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
export interface TimeoutExceptionConfig extends PlainObject {
|
|
34
|
+
interval: number;
|
|
35
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { DateLike, PlainObject } from '../core/types/Types';
|
|
3
|
+
import { FormatOptions } from './FormatMisc';
|
|
4
|
+
export declare const DATE_FMT = "YYYY-MM-DD", DATETIME_FMT = "YYYY-MM-DD h:mma", DATETIMESEC_FMT = "YYYY-MM-DD h:mm:ssa", TIME_FMT = "h:mma", MONTH_DAY_FMT = "MMM D";
|
|
5
|
+
/**
|
|
6
|
+
* An object specifying how a date should be formatted.
|
|
7
|
+
*/
|
|
8
|
+
export interface DateFormatOptions extends FormatOptions<DateLike> {
|
|
9
|
+
/** Display value for null values. */
|
|
10
|
+
nullDisplay?: ReactNode;
|
|
11
|
+
/** A MomentJs format string. */
|
|
12
|
+
fmt?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Render a date like value with a default format of {@link DATE_FMT}.
|
|
16
|
+
*/
|
|
17
|
+
export declare function fmtDate(v: DateLike, opts?: DateFormatOptions | string): ReactNode;
|
|
18
|
+
/**
|
|
19
|
+
* Render dates with a default format of {@link DATETIME_FMT}.
|
|
20
|
+
*/
|
|
21
|
+
export declare function fmtDateTime(v: any, opts?: DateFormatOptions | string): ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* Render dates with a default format of {@link DATETIMESEC_FMT}.
|
|
24
|
+
*/
|
|
25
|
+
export declare function fmtDateTimeSec(v: DateLike, opts?: DateFormatOptions | string): ReactNode;
|
|
26
|
+
/**
|
|
27
|
+
* Render dates with a default format of {@link TIME_FMT}.
|
|
28
|
+
*/
|
|
29
|
+
export declare function fmtTime(v: DateLike, opts?: DateFormatOptions | string): ReactNode;
|
|
30
|
+
export interface CompactDateFormatOptions extends FormatOptions<DateLike> {
|
|
31
|
+
/**
|
|
32
|
+
* Format for date matching current day, defaults to 'hh:mma' for dates, 'MMM D' for LocalDates.
|
|
33
|
+
*/
|
|
34
|
+
sameDayFmt?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Format for dates within the number of months specified by the distantThreshold, defaults
|
|
37
|
+
* to 'MMM D'.
|
|
38
|
+
*/
|
|
39
|
+
nearFmt?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Format for dates beyond number of months specified by the distantThreshold, defaults to
|
|
42
|
+
* 'YYYY-MM-DD'.
|
|
43
|
+
*/
|
|
44
|
+
distantFmt?: string;
|
|
45
|
+
/** Number of months away from the current month to be considered 'recent' or 'near'. */
|
|
46
|
+
distantThreshold?: number;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Render dates formatted based on distance in time from current day.
|
|
50
|
+
*/
|
|
51
|
+
export declare function fmtCompactDate(v: DateLike, opts?: CompactDateFormatOptions): ReactNode;
|
|
52
|
+
export interface TimestampReplacerConfig {
|
|
53
|
+
/**
|
|
54
|
+
* Suffixes used to identify keys that may hold timestamps.
|
|
55
|
+
* Defaults to ['time', 'date', 'timestamp']
|
|
56
|
+
*/
|
|
57
|
+
suffixes?: string[];
|
|
58
|
+
/**
|
|
59
|
+
* Format for replaced timestamp.
|
|
60
|
+
* Defaults to 'MMM DD HH:mm:ss.SSS'
|
|
61
|
+
*/
|
|
62
|
+
format?: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Replace timestamps in an Object with formatted strings.
|
|
66
|
+
*/
|
|
67
|
+
export declare function withFormattedTimestamps(obj: PlainObject, config?: TimestampReplacerConfig): PlainObject;
|
|
68
|
+
/**
|
|
69
|
+
* Create a replacer, suitable for JSON.stringify, that will replace timestamps with
|
|
70
|
+
* formatted strings.
|
|
71
|
+
*/
|
|
72
|
+
export declare function timestampReplacer(config?: TimestampReplacerConfig): (k: string, v: any) => any;
|
|
73
|
+
export declare const dateRenderer: (obj?: string | DateFormatOptions) => (v: DateLike) => ReactNode, dateTimeRenderer: (obj?: string | DateFormatOptions) => (v: any) => ReactNode, dateTimeSecRenderer: (obj?: string | DateFormatOptions) => (v: DateLike) => ReactNode, timeRenderer: (obj?: string | DateFormatOptions) => (v: DateLike) => ReactNode, compactDateRenderer: (obj?: CompactDateFormatOptions) => (v: DateLike) => ReactNode;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { PlainObject } from '@xh/hoist/core';
|
|
3
|
+
export interface FormatOptions<T = any> {
|
|
4
|
+
/** Display value for null values. */
|
|
5
|
+
nullDisplay?: ReactNode;
|
|
6
|
+
/** Function to generate a tooltip string. */
|
|
7
|
+
tooltip?: (v: T) => string;
|
|
8
|
+
/** Return an HTML string rather than a React element (default false).*/
|
|
9
|
+
asHtml?: boolean;
|
|
10
|
+
/** The unaltered original value to be formatted. Not typically used by applications.*/
|
|
11
|
+
originalValue?: T;
|
|
12
|
+
}
|
|
13
|
+
export interface SpanFormatOptions extends FormatOptions {
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: CSSProperties;
|
|
16
|
+
title?: string;
|
|
17
|
+
/** Set to true to add a space before the v to be wrapped.*/
|
|
18
|
+
leadSpc?: boolean;
|
|
19
|
+
/** Set to true to add a space after the span to be returned. */
|
|
20
|
+
trailSpc?: boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Wrap values in a custom span
|
|
24
|
+
*
|
|
25
|
+
* @param v - value to be placed in span, will be coerced into a string
|
|
26
|
+
* @param opts - an options object
|
|
27
|
+
*/
|
|
28
|
+
export declare function fmtSpan(v: any, opts?: SpanFormatOptions): ReactNode;
|
|
29
|
+
export interface JSONFormatOptions {
|
|
30
|
+
/** Method or array pattern for replacing/skipping nodes to pass to `stringify` */
|
|
31
|
+
replacer?: any;
|
|
32
|
+
/** Indentation amount to pass to `stringify`*/
|
|
33
|
+
space?: number | string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Pretty-print a JSON string or (JSON Object), adding line breaks and indentation.
|
|
37
|
+
*/
|
|
38
|
+
export declare function fmtJson(v: string | PlainObject, opts?: JSONFormatOptions): string;
|
|
39
|
+
/**
|
|
40
|
+
* Basic util for splitting a string (via ' ') and capitalizing each word - e.g. for names.
|
|
41
|
+
* Not intended to handle more advanced usages such as HTML or other word boundary characters.
|
|
42
|
+
*/
|
|
43
|
+
export declare function capitalizeWords(str: string): string;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import Numbro from 'numbro';
|
|
2
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
3
|
+
import { IntRange } from 'type-fest';
|
|
4
|
+
import { FormatOptions } from './FormatMisc';
|
|
5
|
+
export type NumericPrecision = IntRange<0, 13>;
|
|
6
|
+
export type Precision = NumericPrecision | 'auto';
|
|
7
|
+
export type ZeroPad = NumericPrecision | boolean;
|
|
8
|
+
export interface NumberFormatOptions extends Omit<FormatOptions<number>, 'tooltip'> {
|
|
9
|
+
/**
|
|
10
|
+
* Color output based on the sign of the value. True to use red/green/grey defaults, or provide
|
|
11
|
+
* an object with alternate CSS classes or properties.
|
|
12
|
+
*/
|
|
13
|
+
colorSpec?: boolean | ColorSpec;
|
|
14
|
+
/**
|
|
15
|
+
* True to add placeholder after positive ledgers to ensure columns of mixed positive and
|
|
16
|
+
* negative numbers vertically align their digits, avoiding shift due to ")" on negative values.
|
|
17
|
+
*/
|
|
18
|
+
forceLedgerAlign?: boolean;
|
|
19
|
+
/** A valid numbro format object or string. */
|
|
20
|
+
formatConfig?: Numbro.Format | string;
|
|
21
|
+
/**
|
|
22
|
+
* Label to append to value, or true to append a default label for the formatter -
|
|
23
|
+
* e.g. 'm' for fmtMillions.
|
|
24
|
+
*/
|
|
25
|
+
label?: string | boolean;
|
|
26
|
+
/** CSS class of label span. */
|
|
27
|
+
labelCls?: string;
|
|
28
|
+
/** True to use ledger format. */
|
|
29
|
+
ledger?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Set to true to omit thousands-separator comma if value is to be formatted as a whole number
|
|
32
|
+
* with exactly 4 digits (e.g. 1,500).
|
|
33
|
+
*/
|
|
34
|
+
omitFourDigitComma?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Desired number of decimal places, or 'auto' (default) to adjust the displayed precision
|
|
37
|
+
* automatically based on the scale of the value.
|
|
38
|
+
*/
|
|
39
|
+
precision?: Precision;
|
|
40
|
+
/** Prefix to prepend to value (between the number and its sign). */
|
|
41
|
+
prefix?: string;
|
|
42
|
+
/**
|
|
43
|
+
* If set to false, small numbers that would show only digits of zero due to precision will be
|
|
44
|
+
* formatted as exactly zero. In particular, if a zeroDisplay is specified it will be used and
|
|
45
|
+
* sign-based glyphs, '+/-' characters, and colors will not be shown. Default true.
|
|
46
|
+
*/
|
|
47
|
+
strictZero?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* True to enable default tooltip with minimally formatted original value, or a function to
|
|
50
|
+
* generate a custom tooltip string.
|
|
51
|
+
*/
|
|
52
|
+
tooltip?: boolean | ((v: number) => string);
|
|
53
|
+
/** True to include comma delimiters. */
|
|
54
|
+
withCommas?: boolean;
|
|
55
|
+
/** True to prepend positive numbers with a '+'. */
|
|
56
|
+
withPlusSign?: boolean;
|
|
57
|
+
/** True to prepend an up / down arrow. */
|
|
58
|
+
withSignGlyph?: boolean;
|
|
59
|
+
/** Optional display value for the input value 0. */
|
|
60
|
+
zeroDisplay?: ReactNode;
|
|
61
|
+
/**
|
|
62
|
+
* True to pad with trailing zeros out to precision, false to skip adding any trailing zeroes.
|
|
63
|
+
* Can also be a number (lte precision) to specify a minimum number of trailing zeroes to add,
|
|
64
|
+
* without extending zero padding all the way out to full precision.
|
|
65
|
+
*
|
|
66
|
+
* e.g. `{precision:4, zeroPad:2}` will format `1.2` → "1.20" and `1.234` → "1.234"
|
|
67
|
+
*
|
|
68
|
+
* Default is true if a fixed precision is set, false if precision is 'auto'.
|
|
69
|
+
*/
|
|
70
|
+
zeroPad?: ZeroPad;
|
|
71
|
+
}
|
|
72
|
+
export interface QuantityFormatOptions extends NumberFormatOptions {
|
|
73
|
+
useMillions?: boolean;
|
|
74
|
+
useBillions?: boolean;
|
|
75
|
+
}
|
|
76
|
+
/** Config for pos/neg/neutral color classes. */
|
|
77
|
+
export interface ColorSpec {
|
|
78
|
+
/** CSS color class or CSS Style Properties to apply to positive values */
|
|
79
|
+
pos?: string | CSSProperties;
|
|
80
|
+
/** CSS color class or CSS Style Properties to apply to negative values */
|
|
81
|
+
neg?: string | CSSProperties;
|
|
82
|
+
/** CSS color class or CSS Style Properties to apply to zero values. */
|
|
83
|
+
neutral?: string | CSSProperties;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Standard number formatting for Hoist
|
|
87
|
+
*
|
|
88
|
+
* This method delegates to numbro, @see http://numbrojs.com for more details.
|
|
89
|
+
*
|
|
90
|
+
* Hierarchy of params is by specificity: formatPattern, precision.
|
|
91
|
+
* If no options are given, a heuristic based auto-rounding will occur.
|
|
92
|
+
*
|
|
93
|
+
* @returns a ReactNode. For an HTML string use `asHtml = true`.
|
|
94
|
+
*/
|
|
95
|
+
export declare function fmtNumber(v: number, opts?: NumberFormatOptions): ReactNode;
|
|
96
|
+
/**
|
|
97
|
+
* Render number in thousands.
|
|
98
|
+
*/
|
|
99
|
+
export declare function fmtThousands(v: number, opts?: NumberFormatOptions): ReactNode;
|
|
100
|
+
/**
|
|
101
|
+
* Render number in millions.
|
|
102
|
+
*/
|
|
103
|
+
export declare function fmtMillions(v: number, opts?: NumberFormatOptions): ReactNode;
|
|
104
|
+
/**
|
|
105
|
+
* Render number in billions.
|
|
106
|
+
*/
|
|
107
|
+
export declare function fmtBillions(v: number, opts?: NumberFormatOptions): ReactNode;
|
|
108
|
+
/**
|
|
109
|
+
* Render a quantity value, handling highly variable amounts by using units of millions (m) and
|
|
110
|
+
* billions (b) as needed.'
|
|
111
|
+
*/
|
|
112
|
+
export declare function fmtQuantity(v: number, opts?: QuantityFormatOptions): ReactNode;
|
|
113
|
+
/**
|
|
114
|
+
* Render market price.
|
|
115
|
+
*/
|
|
116
|
+
export declare function fmtPrice(v: number, opts?: NumberFormatOptions): ReactNode;
|
|
117
|
+
/**
|
|
118
|
+
* Render a number as a percent. Value will be multiplied by 100 to calculated the percentage.
|
|
119
|
+
* This behavior purposefully matches Microsoft Excel's percentage formatting.
|
|
120
|
+
*/
|
|
121
|
+
export declare function fmtPercent(v: number, opts?: NumberFormatOptions): ReactNode;
|
|
122
|
+
/**
|
|
123
|
+
* Render a minimally formatted, full precision number, suitable for use in tooltips.
|
|
124
|
+
* Only ledger opt is supported.
|
|
125
|
+
*
|
|
126
|
+
* @param v - value to format.
|
|
127
|
+
* @param opts - set key 'ledger' to true to use ledger format, default false
|
|
128
|
+
*/
|
|
129
|
+
export declare function fmtNumberTooltip(v: number, opts?: {
|
|
130
|
+
ledger?: boolean;
|
|
131
|
+
}): string;
|
|
132
|
+
export declare const numberRenderer: (obj?: NumberFormatOptions) => (v: number) => ReactNode, thousandsRenderer: (obj?: NumberFormatOptions) => (v: number) => ReactNode, millionsRenderer: (obj?: NumberFormatOptions) => (v: number) => ReactNode, billionsRenderer: (obj?: NumberFormatOptions) => (v: number) => ReactNode, quantityRenderer: (obj?: QuantityFormatOptions) => (v: number) => ReactNode, priceRenderer: (obj?: NumberFormatOptions) => (v: number) => ReactNode, percentRenderer: (obj?: NumberFormatOptions) => (v: number) => ReactNode;
|
|
133
|
+
/**
|
|
134
|
+
* @param value - A value that represents a shorthand numerical value
|
|
135
|
+
* @returns The number represented by the shorthand string, or NaN
|
|
136
|
+
*/
|
|
137
|
+
export declare function parseNumber(value: any): number;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PlainObject } from '@xh/hoist/core';
|
|
2
|
+
/**
|
|
3
|
+
* Generate a renderer for a given formatter function.
|
|
4
|
+
*
|
|
5
|
+
* The returned renderer takes an optional config for its assigned formatter and itself returns
|
|
6
|
+
* a function that takes only a value, for convenient use with e.g. grid cell rendering.
|
|
7
|
+
*
|
|
8
|
+
* @param formatter - an existing formatter method.
|
|
9
|
+
* @returns - a configurable renderer.
|
|
10
|
+
*/
|
|
11
|
+
export declare function createRenderer<V = any, C = PlainObject, R = any>(formatter: (v: V, obj?: C) => R): (obj?: C) => (v: V) => R;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PlainObject } from '@xh/hoist/core';
|
|
2
|
+
/**
|
|
3
|
+
* Install a value on an options object as `originalValue` for later reference, if an
|
|
4
|
+
* originalValue key has not already been set.
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export declare function saveOriginal(v: any, opts: PlainObject): void;
|