@genispace/geniapp 0.3.0 → 0.5.0
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/README.md +36 -11
- package/dist/{CrossAppRecordPicker-CQVmirWD.js → CrossAppRecordPicker-BRpqAjd7.js} +189 -253
- package/dist/CrossAppRecordPicker-BRpqAjd7.js.map +1 -0
- package/dist/MultiPageRenderer-B4G9Oswj.js +535 -0
- package/dist/MultiPageRenderer-B4G9Oswj.js.map +1 -0
- package/dist/Sidebar-DdSOXqnC.js +260 -0
- package/dist/Sidebar-DdSOXqnC.js.map +1 -0
- package/dist/ai/adopt/AiSuggestionPanel.d.ts +1 -1
- package/dist/ai/components/AgentJobProgress.d.ts +1 -1
- package/dist/ai/components/BulkActionBar.d.ts +1 -1
- package/dist/ai/integrations/partner/createPartnerRecordPickerHook.d.ts +1 -1
- package/dist/case-workspace/domain.d.ts +1 -1
- package/dist/components/adapters/host.d.ts +4 -0
- package/dist/components/adapters/host.js +12 -0
- package/dist/components/adapters/host.js.map +1 -0
- package/dist/components/adapters/platform.d.ts +16 -0
- package/dist/components/app/context/DeploymentContext.d.ts +24 -0
- package/dist/components/app/context/PermissionContext.d.ts +32 -0
- package/dist/components/app/context/SubscriptionContext.d.ts +9 -0
- package/dist/components/app/context/UserContext.d.ts +22 -0
- package/dist/components/app/services/apiKey.d.ts +96 -0
- package/dist/components/app/services/auth.d.ts +1 -0
- package/dist/components/app/services/configMap.d.ts +94 -0
- package/dist/components/app/services/task.d.ts +42 -0
- package/dist/components/app/services/workbenchApi.d.ts +495 -0
- package/dist/components/app/types/agent.d.ts +100 -0
- package/dist/components/app/types/api.d.ts +9 -0
- package/dist/components/app/types/knowledge.d.ts +10 -0
- package/dist/components/app/types/model.d.ts +23 -0
- package/dist/components/app/types/task.d.ts +64 -0
- package/dist/components/app/types/taskExecution.d.ts +26 -0
- package/dist/components/assets/maps/bundledMapGeo.d.ts +4 -0
- package/dist/components/config/communicationIcons.d.ts +23 -0
- package/dist/components/config/componentTriggers.d.ts +70 -0
- package/dist/components/constants/tableActionButtonStyle.d.ts +15 -0
- package/dist/components/contexts/PageFullscreenContext.d.ts +4 -0
- package/dist/components/contexts/ParameterContext.d.ts +18 -0
- package/dist/components/contexts/TabActivityContext.d.ts +2 -0
- package/dist/components/contexts/ViewportContext.d.ts +19 -0
- package/dist/components/contexts/WorkbenchConfigLocaleContext.d.ts +23 -0
- package/dist/components/contexts/WorkbenchGlobalSpaceContext.d.ts +10 -0
- package/dist/components/contexts/WorkbenchThemeContext.d.ts +23 -0
- package/dist/components/dialogs/TaskParamsDialog.d.ts +18 -0
- package/dist/components/dialogs/TreeFormDialog.d.ts +23 -0
- package/dist/components/hooks/index.d.ts +6 -0
- package/dist/components/hooks/useComponentCommunication.d.ts +27 -0
- package/dist/components/hooks/useConditionMapper.d.ts +17 -0
- package/dist/components/hooks/useCurrentUser.d.ts +10 -0
- package/dist/components/hooks/useDatabaseDataSource.d.ts +8 -0
- package/dist/components/hooks/useDatasourceVersionBindings.d.ts +24 -0
- package/dist/components/hooks/useEnhancedDataSource.d.ts +40 -0
- package/dist/components/hooks/useMobileViewport.d.ts +18 -0
- package/dist/components/hooks/usePageAutoRefresh.d.ts +9 -0
- package/dist/components/hooks/useParameterHandler.d.ts +27 -0
- package/dist/components/hooks/useReleaseNotesPrompt.d.ts +38 -0
- package/dist/components/hooks/useSpaceSwitchHandler.d.ts +7 -0
- package/dist/components/hooks/useTaskInputDataSourceCache.d.ts +24 -0
- package/dist/components/hooks/useVisibleWhenContext.d.ts +3 -0
- package/dist/components/hooks/useWaitForParameters.d.ts +9 -0
- package/dist/components/hooks/useWorkbenchAppAccess.d.ts +16 -0
- package/dist/components/hooks/useWorkbenchHeaderNavApps.d.ts +7 -0
- package/dist/components/hooks/useWorkbenchPreview.d.ts +24 -0
- package/dist/components/index.d.ts +23 -0
- package/dist/components/inputs/ArrayInput.d.ts +14 -0
- package/dist/components/inputs/ObjectArrayInput.d.ts +15 -0
- package/dist/components/layout/Grid24Renderer.d.ts +23 -0
- package/dist/components/layout/grid24CellContext.d.ts +2 -0
- package/dist/components/layout/index.d.ts +6 -0
- package/dist/components/layout.js +43 -0
- package/dist/components/layout.js.map +1 -0
- package/dist/components/lib/api/apiClient.d.ts +22 -0
- package/dist/components/lib/api/baseApiClient.d.ts +21 -0
- package/dist/components/lib/api/hostAdapterBridge.d.ts +21 -0
- package/dist/components/lib/api.d.ts +1 -0
- package/dist/components/lib/auth/permissionManager.d.ts +67 -0
- package/dist/components/lib/config/deployment.d.ts +33 -0
- package/dist/components/lib/config.d.ts +45 -0
- package/dist/components/lib/hooks/use-mobile.d.ts +1 -0
- package/dist/components/lib/hooks/useOperator.d.ts +11 -0
- package/dist/components/lib/services/agentService.d.ts +77 -0
- package/dist/components/lib/services/applicationService.d.ts +111 -0
- package/dist/components/lib/theme/themeUtils.d.ts +13 -0
- package/dist/components/lib/theme/useWorkbenchTheme.d.ts +1 -0
- package/dist/components/lib/types/api.d.ts +113 -0
- package/dist/components/lib/utils/avatar.d.ts +7 -0
- package/dist/components/lib/utils/cn.d.ts +3 -0
- package/dist/components/lib/utils/color.d.ts +1 -0
- package/dist/components/lib/utils/debounce.d.ts +1 -0
- package/dist/components/lib/utils/formatting.d.ts +4 -0
- package/dist/components/lib/utils/icon.d.ts +1 -0
- package/dist/components/lib/utils.d.ts +7 -0
- package/dist/components/locales/i18n.d.ts +10 -0
- package/dist/components/locales/routeNamespaces.d.ts +4 -0
- package/dist/components/mobile/components/BottomTabNavigation.d.ts +11 -0
- package/dist/components/mobile/components/ComponentAdapter.d.ts +9 -0
- package/dist/components/mobile/components/MobileFloatingBackButton.d.ts +23 -0
- package/dist/components/mobile/components/adaptive/MobileCardView.d.ts +6 -0
- package/dist/components/mobile/components/adaptive/MobileChartView.d.ts +9 -0
- package/dist/components/mobile/components/adaptive/MobileDateRangeFilterField.d.ts +16 -0
- package/dist/components/mobile/components/adaptive/MobileEChartsView.d.ts +10 -0
- package/dist/components/mobile/components/adaptive/MobileFormView.d.ts +6 -0
- package/dist/components/mobile/components/adaptive/MobileListView.d.ts +6 -0
- package/dist/components/mobile/components/adaptive/MobileStatCard.d.ts +13 -0
- package/dist/components/mobile/components/adaptive/MobileTableView.d.ts +9 -0
- package/dist/components/mobile/components/adaptive/MobileTabsView.d.ts +6 -0
- package/dist/components/mobile/components/adaptive/index.d.ts +4 -0
- package/dist/components/mobile/components/adaptive/mobileFilterFieldStyles.d.ts +19 -0
- package/dist/components/mobile/hooks/useMobileNavigationCanGoBack.d.ts +1 -0
- package/dist/components/mobile/hooks/useMobileTabTransitionDirection.d.ts +1 -0
- package/dist/components/mobile/index.d.ts +4 -0
- package/dist/components/mobile/mobileFlowLayoutContext.d.ts +2 -0
- package/dist/components/mobile/runtime-index.d.ts +3 -0
- package/dist/components/mobile/utils/fetchUserCurrentSpaceId.d.ts +15 -0
- package/dist/components/mobile/utils/getMobileViewportState.d.ts +25 -0
- package/dist/components/mobile/utils/mobileBottomNav.d.ts +13 -0
- package/dist/components/mobile/utils/mobileBottomNavInset.d.ts +4 -0
- package/dist/components/mobile/utils/mobileComponentProps.d.ts +44 -0
- package/dist/components/mobile/utils/mobileFormDisplayUtils.d.ts +4 -0
- package/dist/components/mobile/utils/mobileNavigationStore.d.ts +35 -0
- package/dist/components/mobile/utils/mobileToolbarNav.d.ts +13 -0
- package/dist/components/mobile/utils/mobileUA.d.ts +1 -0
- package/dist/components/mobile/utils/mobileWorkbenchSpaceSync.d.ts +60 -0
- package/dist/components/mobile/utils/wecomDetector.d.ts +9 -0
- package/dist/components/mobile/utils/workbenchSpaceSyncGate.d.ts +7 -0
- package/dist/components/mobile.js +25 -0
- package/dist/components/mobile.js.map +1 -0
- package/dist/components/mocks/index.d.ts +13 -0
- package/dist/components/mocks/templateRegistry.d.ts +16 -0
- package/dist/components/mocks/types.d.ts +1 -0
- package/dist/components/renderers/analytics-table/AnalyticsTableRenderer.d.ts +125 -0
- package/dist/components/renderers/analytics-table/index.d.ts +1 -0
- package/dist/components/renderers/analytics-table.js +5 -0
- package/dist/components/renderers/analytics-table.js.map +1 -0
- package/dist/components/renderers/base/BaseRenderers.d.ts +7 -0
- package/dist/components/renderers/base/LoadingRenderer.d.ts +14 -0
- package/dist/components/renderers/card/CardRenderer.d.ts +24 -0
- package/dist/components/renderers/card/index.d.ts +1 -0
- package/dist/components/renderers/card.js +5 -0
- package/dist/components/renderers/card.js.map +1 -0
- package/dist/components/renderers/cells/swCells.d.ts +49 -0
- package/dist/components/renderers/chart/ChartRenderer.d.ts +167 -0
- package/dist/components/renderers/chart/index.d.ts +1 -0
- package/dist/components/renderers/chart.js +5 -0
- package/dist/components/renderers/chart.js.map +1 -0
- package/dist/components/renderers/collapse-panel/CollapsePanelRenderer.d.ts +28 -0
- package/dist/components/renderers/collapse-panel/index.d.ts +1 -0
- package/dist/components/renderers/collapse-panel.js +5 -0
- package/dist/components/renderers/collapse-panel.js.map +1 -0
- package/dist/components/renderers/container/ContainerRenderers.d.ts +44 -0
- package/dist/components/renderers/container/index.d.ts +1 -0
- package/dist/components/renderers/container.js +5 -0
- package/dist/components/renderers/container.js.map +1 -0
- package/dist/components/renderers/custom-content/CustomContentRenderer.d.ts +20 -0
- package/dist/components/renderers/custom-content/index.d.ts +1 -0
- package/dist/components/renderers/custom-content.js +6 -0
- package/dist/components/renderers/custom-content.js.map +1 -0
- package/dist/components/renderers/data/useBoundRows.d.ts +9 -0
- package/dist/components/renderers/data-grid-card/DataGridCard.d.ts +46 -0
- package/dist/components/renderers/data-grid-card/index.d.ts +1 -0
- package/dist/components/renderers/data-grid-card.js +5 -0
- package/dist/components/renderers/data-grid-card.js.map +1 -0
- package/dist/components/renderers/echarts/EChartsChartRenderer.d.ts +178 -0
- package/dist/components/renderers/echarts/index.d.ts +1 -0
- package/dist/components/renderers/echarts/shared/colors.d.ts +56 -0
- package/dist/components/renderers/echarts/shared/index.d.ts +1 -0
- package/dist/components/renderers/echarts.js +5 -0
- package/dist/components/renderers/echarts.js.map +1 -0
- package/dist/components/renderers/editable-table/EditableTable.types.d.ts +27 -0
- package/dist/components/renderers/editable-table/EditableTableController.d.ts +44 -0
- package/dist/components/renderers/editable-table/EditableTableRenderer.d.ts +38 -0
- package/dist/components/renderers/editable-table/cell-editors/ColorEditor.d.ts +11 -0
- package/dist/components/renderers/editable-table/cell-editors/DateEditor.d.ts +11 -0
- package/dist/components/renderers/editable-table/cell-editors/FileEditor.d.ts +9 -0
- package/dist/components/renderers/editable-table/cell-editors/NumberEditor.d.ts +10 -0
- package/dist/components/renderers/editable-table/cell-editors/SelectEditor.d.ts +19 -0
- package/dist/components/renderers/editable-table/cell-editors/SwitchEditor.d.ts +13 -0
- package/dist/components/renderers/editable-table/cell-editors/TextEditor.d.ts +11 -0
- package/dist/components/renderers/editable-table/cell-editors/index.d.ts +7 -0
- package/dist/components/renderers/editable-table/editableTableApiErrors.d.ts +3 -0
- package/dist/components/renderers/editable-table/editableTableDictionary.d.ts +13 -0
- package/dist/components/renderers/editable-table/editableTableFormatters.d.ts +11 -0
- package/dist/components/renderers/editable-table/editableTableWriteDatasourceId.d.ts +8 -0
- package/dist/components/renderers/editable-table/index.d.ts +4 -0
- package/dist/components/renderers/editable-table.js +6 -0
- package/dist/components/renderers/editable-table.js.map +1 -0
- package/dist/components/renderers/filter-panel/FilterPanelRenderer.d.ts +275 -0
- package/dist/components/renderers/filter-panel/filterOptionCache.d.ts +33 -0
- package/dist/components/renderers/filter-panel/filterSelectionMemory.d.ts +11 -0
- package/dist/components/renderers/filter-panel/index.d.ts +1 -0
- package/dist/components/renderers/filter-panel.js +5 -0
- package/dist/components/renderers/filter-panel.js.map +1 -0
- package/dist/components/renderers/form/FileUploadDropzone.d.ts +24 -0
- package/dist/components/renderers/form/FormRenderer.d.ts +30 -0
- package/dist/components/renderers/form/formSizing.d.ts +14 -0
- package/dist/components/renderers/form/index.d.ts +2 -0
- package/dist/components/renderers/form.js +6 -0
- package/dist/components/renderers/form.js.map +1 -0
- package/dist/components/renderers/hero-card/HeroCardRenderer.d.ts +18 -0
- package/dist/components/renderers/hero-card/heroCardRows.d.ts +30 -0
- package/dist/components/renderers/hero-card/heroCardUtils.d.ts +164 -0
- package/dist/components/renderers/hero-card/index.d.ts +1 -0
- package/dist/components/renderers/hero-card.js +5 -0
- package/dist/components/renderers/hero-card.js.map +1 -0
- package/dist/components/renderers/identity/AppIdentityListRenderer.d.ts +60 -0
- package/dist/components/renderers/identity/IdentityAttributeAssignRenderer.d.ts +44 -0
- package/dist/components/renderers/identity/index.d.ts +2 -0
- package/dist/components/renderers/identity.js +6 -0
- package/dist/components/renderers/identity.js.map +1 -0
- package/dist/components/renderers/index.d.ts +1 -0
- package/dist/components/renderers/list/ListActionButton.d.ts +11 -0
- package/dist/components/renderers/list/ListDataTable.d.ts +13 -0
- package/dist/components/renderers/list/ListProgressBar.d.ts +12 -0
- package/dist/components/renderers/list/ListRenderers.d.ts +19 -0
- package/dist/components/renderers/list/ListTaskExecuteDialog.d.ts +17 -0
- package/dist/components/renderers/list/index.d.ts +1 -0
- package/dist/components/renderers/list/listActionUtils.d.ts +18 -0
- package/dist/components/renderers/list/listCellRender.d.ts +9 -0
- package/dist/components/renderers/list/listConfig.d.ts +67 -0
- package/dist/components/renderers/list/listCsvExport.d.ts +4 -0
- package/dist/components/renderers/list/listFormatUtils.d.ts +13 -0
- package/dist/components/renderers/list/listItemTemplates.d.ts +32 -0
- package/dist/components/renderers/list/listViewToggleUtils.d.ts +5 -0
- package/dist/components/renderers/list/useListActions.d.ts +38 -0
- package/dist/components/renderers/list/useListDataSource.d.ts +58 -0
- package/dist/components/renderers/list/useListSelectionEmit.d.ts +22 -0
- package/dist/components/renderers/list.js +5 -0
- package/dist/components/renderers/list.js.map +1 -0
- package/dist/components/renderers/map-chart/MapChartRenderer.d.ts +42 -0
- package/dist/components/renderers/map-chart/index.d.ts +1 -0
- package/dist/components/renderers/map-chart.js +5 -0
- package/dist/components/renderers/map-chart.js.map +1 -0
- package/dist/components/renderers/metric-carousel/MetricCarouselRenderer.d.ts +26 -0
- package/dist/components/renderers/metric-carousel/index.d.ts +1 -0
- package/dist/components/renderers/metric-carousel.js +5 -0
- package/dist/components/renderers/metric-carousel.js.map +1 -0
- package/dist/components/renderers/navigation/NavTileRenderer.d.ts +13 -0
- package/dist/components/renderers/navigation/index.d.ts +1 -0
- package/dist/components/renderers/navigation/navTileUtils.d.ts +46 -0
- package/dist/components/renderers/navigation.js +5 -0
- package/dist/components/renderers/navigation.js.map +1 -0
- package/dist/components/renderers/product-detail/ProductDetailRenderer.d.ts +23 -0
- package/dist/components/renderers/product-detail/index.d.ts +1 -0
- package/dist/components/renderers/product-detail/productCellRender.d.ts +25 -0
- package/dist/components/renderers/product-detail.js +5 -0
- package/dist/components/renderers/product-detail.js.map +1 -0
- package/dist/components/renderers/product-report/ProductReportRenderer.d.ts +21 -0
- package/dist/components/renderers/product-report/index.d.ts +1 -0
- package/dist/components/renderers/product-report.js +5 -0
- package/dist/components/renderers/product-report.js.map +1 -0
- package/dist/components/renderers/publish/PublishHistoryRenderer.d.ts +21 -0
- package/dist/components/renderers/publish/PublishPreviewEntryRenderer.d.ts +16 -0
- package/dist/components/renderers/publish/index.d.ts +2 -0
- package/dist/components/renderers/publish/publishHistoryHelpers.d.ts +41 -0
- package/dist/components/renderers/publish/publishPreviewEntryHelpers.d.ts +50 -0
- package/dist/components/renderers/publish.js +6 -0
- package/dist/components/renderers/publish.js.map +1 -0
- package/dist/components/renderers/radar-chart/RadarChartRenderer.d.ts +40 -0
- package/dist/components/renderers/radar-chart/index.d.ts +1 -0
- package/dist/components/renderers/radar-chart.js +5 -0
- package/dist/components/renderers/radar-chart.js.map +1 -0
- package/dist/components/renderers/registry.d.ts +38 -0
- package/dist/components/renderers/ring-stat/RingStatRenderer.d.ts +66 -0
- package/dist/components/renderers/ring-stat/index.d.ts +1 -0
- package/dist/components/renderers/ring-stat.js +5 -0
- package/dist/components/renderers/ring-stat.js.map +1 -0
- package/dist/components/renderers/runtime-DX1LfmqO.js +206944 -0
- package/dist/components/renderers/runtime-DX1LfmqO.js.map +1 -0
- package/dist/components/renderers/service-desk/ServiceDeskReporterRenderer.d.ts +48 -0
- package/dist/components/renderers/service-desk/index.d.ts +1 -0
- package/dist/components/renderers/service-desk.js +5 -0
- package/dist/components/renderers/service-desk.js.map +1 -0
- package/dist/components/renderers/shared/TableEmptyStateWithChromeInsets.d.ts +12 -0
- package/dist/components/renderers/shared/ViewToggleButton.d.ts +13 -0
- package/dist/components/renderers/shared/useEscapedStickyPanel.d.ts +6 -0
- package/dist/components/renderers/shared/useMobileChromeInsets.d.ts +18 -0
- package/dist/components/renderers/shared/useStickyHeaderClone.d.ts +31 -0
- package/dist/components/renderers/statistics/StatisticGroup.d.ts +77 -0
- package/dist/components/renderers/statistics/index.d.ts +1 -0
- package/dist/components/renderers/statistics.js +5 -0
- package/dist/components/renderers/statistics.js.map +1 -0
- package/dist/components/renderers/table/TableRenderer.d.ts +5 -0
- package/dist/components/renderers/table/index.d.ts +1 -0
- package/dist/components/renderers/table/tableFilterPanelGridClass.d.ts +15 -0
- package/dist/components/renderers/table.js +5 -0
- package/dist/components/renderers/table.js.map +1 -0
- package/dist/components/renderers/tabs/TabsRenderer.d.ts +63 -0
- package/dist/components/renderers/tabs/index.d.ts +1 -0
- package/dist/components/renderers/tabs/tabVariantStyles.d.ts +50 -0
- package/dist/components/renderers/tabs/tabsItemMapping.d.ts +26 -0
- package/dist/components/renderers/tabs.js +5 -0
- package/dist/components/renderers/tabs.js.map +1 -0
- package/dist/components/renderers/task-input/ExecutionHistoryModal.d.ts +9 -0
- package/dist/components/renderers/task-input/TaskExecutionOutputs.d.ts +15 -0
- package/dist/components/renderers/task-input/TaskInputField.d.ts +54 -0
- package/dist/components/renderers/task-input/TaskInputRenderer.d.ts +68 -0
- package/dist/components/renderers/task-input/index.d.ts +1 -0
- package/dist/components/renderers/task-input.js +5 -0
- package/dist/components/renderers/task-input.js.map +1 -0
- package/dist/components/renderers/tile-grid/TileGridRenderer.d.ts +41 -0
- package/dist/components/renderers/tile-grid/index.d.ts +1 -0
- package/dist/components/renderers/tile-grid.js +5 -0
- package/dist/components/renderers/tile-grid.js.map +1 -0
- package/dist/components/renderers/tree/SimpleTreeRenderer.d.ts +47 -0
- package/dist/components/renderers/tree/index.d.ts +1 -0
- package/dist/components/renderers/tree.js +5 -0
- package/dist/components/renderers/tree.js.map +1 -0
- package/dist/components/renderers/types.d.ts +682 -0
- package/dist/components/renderers/typography/TypographyRenderer.d.ts +17 -0
- package/dist/components/renderers/typography/index.d.ts +1 -0
- package/dist/components/renderers/typography.js +8 -0
- package/dist/components/renderers/typography.js.map +1 -0
- package/dist/components/renderers/workflow/SimpleSchemaForm.d.ts +12 -0
- package/dist/components/renderers/workflow/WorkflowComponent.d.ts +5 -0
- package/dist/components/renderers/workflow/index.d.ts +1 -0
- package/dist/components/renderers/workflow/renderers/ProposalRendererFactory.d.ts +15 -0
- package/dist/components/renderers/workflow/runtime-index.d.ts +9 -0
- package/dist/components/renderers/workflow/steps/ProposalStep.d.ts +21 -0
- package/dist/components/renderers/workflow/steps/ResultStep.d.ts +13 -0
- package/dist/components/renderers/workflow/steps/UploadStep.d.ts +15 -0
- package/dist/components/renderers/workflow/types.d.ts +185 -0
- package/dist/components/renderers/workflow.js +5 -0
- package/dist/components/renderers/workflow.js.map +1 -0
- package/dist/components/renderers.js +41 -0
- package/dist/components/renderers.js.map +1 -0
- package/dist/components/runtime/ComponentRenderer.d.ts +34 -0
- package/dist/components/runtime/GeniAppComponentProvider.d.ts +24 -0
- package/dist/components/runtime/GeniAppWorkbench.d.ts +20 -0
- package/dist/components/runtime/Loading.d.ts +9 -0
- package/dist/components/runtime/MultiPageRenderer.d.ts +15 -0
- package/dist/components/runtime/PageComingSoonOverlay.d.ts +11 -0
- package/dist/components/runtime/PageRenderer.d.ts +36 -0
- package/dist/components/runtime/TabManager.d.ts +39 -0
- package/dist/components/runtime/componentTypes.d.ts +70 -0
- package/dist/components/runtime/i18n.d.ts +5 -0
- package/dist/components/runtime/runtime-mode.d.ts +40 -0
- package/dist/components/shared/TitleManager.d.ts +8 -0
- package/dist/components/shared/platform-api/auth/platformRefreshResponse.d.ts +3 -0
- package/dist/components/shared/platform-api/auth/setupAuthInterceptors.d.ts +18 -0
- package/dist/components/shared/platform-api/auth/tokenStorage.d.ts +4 -0
- package/dist/components/shared/platform-api/index.d.ts +4 -0
- package/dist/components/shared/platform-types/index.d.ts +1 -0
- package/dist/components/shared/platform-types/types/json-schema.d.ts +50 -0
- package/dist/components/shared/platform-ui/components/ai/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/ai/message.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/ai/suggestion.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/features/agent/AgentIdentity.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/features/agent/agentIdentityUtils.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/features/agent/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/app/AppCheckboxInput.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/features/app/AppConfirmDialog.d.ts +12 -0
- package/dist/components/shared/platform-ui/components/features/app/AppDashboardSkeleton.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/features/app/AppDatePicker.d.ts +69 -0
- package/dist/components/shared/platform-ui/components/features/app/AppModal.d.ts +27 -0
- package/dist/components/shared/platform-ui/components/features/app/AppPageStates.d.ts +17 -0
- package/dist/components/shared/platform-ui/components/features/app/AppSelectInput.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/features/app/AppTemporalInput.d.ts +19 -0
- package/dist/components/shared/platform-ui/components/features/app/Page.d.ts +14 -0
- package/dist/components/shared/platform-ui/components/features/app/QueryErrorAlert.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/features/app/Sidebar.d.ts +47 -0
- package/dist/components/shared/platform-ui/components/features/app/index.d.ts +17 -0
- package/dist/components/shared/platform-ui/components/features/auth/AuthControlButtons.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/features/auth/ForgotPassword.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/features/auth/LogoutNotificationPage.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/features/auth/Privacy.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/features/auth/RequireAuth.d.ts +31 -0
- package/dist/components/shared/platform-ui/components/features/auth/Terms.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/features/auth/VerifyEmail.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/features/auth/application/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/auth/index.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/features/avatar/AvatarPickerModal.d.ts +30 -0
- package/dist/components/shared/platform-ui/components/features/avatar/generateAvatarUrl.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/features/avatar/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/chat/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/data/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/feedback/FeedbackMenu.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/features/feedback/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/home/Background.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/features/home/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/index.d.ts +22 -0
- package/dist/components/shared/platform-ui/components/features/knowledge/EvidenceCitation.d.ts +30 -0
- package/dist/components/shared/platform-ui/components/features/knowledge/HighlightedSnippet.d.ts +14 -0
- package/dist/components/shared/platform-ui/components/features/knowledge/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/notification/NotificationBell.d.ts +14 -0
- package/dist/components/shared/platform-ui/components/features/notification/NotificationList.d.ts +41 -0
- package/dist/components/shared/platform-ui/components/features/notification/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/operator/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/rbac/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/rich-text/RichTextField.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/features/space/SpaceContext.d.ts +121 -0
- package/dist/components/shared/platform-ui/components/features/space/SpaceSwitcher.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/features/space/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/subscription/SubscriptionContext.d.ts +26 -0
- package/dist/components/shared/platform-ui/components/features/subscription/SubscriptionGuard.d.ts +35 -0
- package/dist/components/shared/platform-ui/components/features/subscription/constants.d.ts +126 -0
- package/dist/components/shared/platform-ui/components/features/subscription/createSubscriptionService.d.ts +34 -0
- package/dist/components/shared/platform-ui/components/features/subscription/index.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/features/subscription/types.d.ts +161 -0
- package/dist/components/shared/platform-ui/components/features/subscription/useSubscription.d.ts +20 -0
- package/dist/components/shared/platform-ui/components/features/subscription/utils.d.ts +18 -0
- package/dist/components/shared/platform-ui/components/features/task/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/team/index.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/features/user/UserAvatar.d.ts +17 -0
- package/dist/components/shared/platform-ui/components/features/user/UserDisplay.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/features/user/UserSelect.d.ts +14 -0
- package/dist/components/shared/platform-ui/components/features/user/useUserDirectory.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/features/user/userDirectoryTypes.d.ts +18 -0
- package/dist/components/shared/platform-ui/components/icons/alipay-pay-mark.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/icons/bank-transfer-mark.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/icons/stripe-payment-mark.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/icons/wechat-pay-mark.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/index.d.ts +3 -0
- package/dist/components/shared/platform-ui/components/patterns/entity-patterns.d.ts +3 -0
- package/dist/components/shared/platform-ui/components/patterns/form-section.d.ts +11 -0
- package/dist/components/shared/platform-ui/components/patterns/record-list-frame.d.ts +12 -0
- package/dist/components/shared/platform-ui/components/patterns/status-stepper.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/primitives/data-display/ApiErrorState.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/primitives/data-display/FilePreviewDialog.d.ts +18 -0
- package/dist/components/shared/platform-ui/components/primitives/data-display/index.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/primitives/feedback/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/primitives/feedback/toaster.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/primitives/feedback/use-toast.d.ts +46 -0
- package/dist/components/shared/platform-ui/components/primitives/forms/CountryCodeSelect.d.ts +16 -0
- package/dist/components/shared/platform-ui/components/primitives/forms/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/primitives/index.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/AppHeader.d.ts +111 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/AppWatermark.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/PublicFooter.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/PublicHeader.d.ts +39 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/PublicLayout.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/ThemeToggle.d.ts +33 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/WatermarkOverlay.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/brandAssets.d.ts +11 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/index.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ChartAreaSkeleton.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ChartEmptyState.d.ts +14 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ComponentSkeletonShell.d.ts +16 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ConfigEditorSkeleton.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/DetailTabsSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/EmptyStateBadge.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/FormCardSkeleton.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/FormFieldSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/FormPageSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/GridCardsSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ListSkeleton.d.ts +26 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/PageHeaderSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/SplitPaneSkeleton.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/StatsRowSkeleton.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/TableEmptyState.d.ts +27 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/TablePageSkeleton.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/TabsBarSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/index.d.ts +24 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/skeletonMetrics.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/useVisibleCenter.d.ts +34 -0
- package/dist/components/shared/platform-ui/components/ui/accordion.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/ui/ai-draft-banner.d.ts +21 -0
- package/dist/components/shared/platform-ui/components/ui/alert-dialog.d.ts +48 -0
- package/dist/components/shared/platform-ui/components/ui/alert.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/ui/avatar.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/ui/badge.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/ui/breadcrumb.d.ts +19 -0
- package/dist/components/shared/platform-ui/components/ui/button.d.ts +11 -0
- package/dist/components/shared/platform-ui/components/ui/calendar.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/ui/card.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/ui/chart.d.ts +16 -0
- package/dist/components/shared/platform-ui/components/ui/checkbox.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/ui/collapsible.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/ui/column-config.d.ts +42 -0
- package/dist/components/shared/platform-ui/components/ui/date-picker.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/ui/date-range-filter.d.ts +32 -0
- package/dist/components/shared/platform-ui/components/ui/date-range-picker.d.ts +11 -0
- package/dist/components/shared/platform-ui/components/ui/dialog-input.d.ts +17 -0
- package/dist/components/shared/platform-ui/components/ui/dialog-safe-select.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/ui/dialog.d.ts +25 -0
- package/dist/components/shared/platform-ui/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/components/shared/platform-ui/components/ui/feature-guide.d.ts +43 -0
- package/dist/components/shared/platform-ui/components/ui/form.d.ts +23 -0
- package/dist/components/shared/platform-ui/components/ui/help-tip.d.ts +29 -0
- package/dist/components/shared/platform-ui/components/ui/hint-notice.d.ts +22 -0
- package/dist/components/shared/platform-ui/components/ui/index.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/ui/input.d.ts +3 -0
- package/dist/components/shared/platform-ui/components/ui/label.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/ui/modal-container.d.ts +56 -0
- package/dist/components/shared/platform-ui/components/ui/modal-templates.d.ts +46 -0
- package/dist/components/shared/platform-ui/components/ui/multi-select.d.ts +20 -0
- package/dist/components/shared/platform-ui/components/ui/pagination.d.ts +28 -0
- package/dist/components/shared/platform-ui/components/ui/popover.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/ui/progress.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/ui/radio-button-group.d.ts +18 -0
- package/dist/components/shared/platform-ui/components/ui/radio-group.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/ui/scroll-area.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/ui/select.d.ts +16 -0
- package/dist/components/shared/platform-ui/components/ui/separator.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/ui/sheet.d.ts +25 -0
- package/dist/components/shared/platform-ui/components/ui/sidebar-rail.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/ui/skeleton.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/ui/slider.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/ui/switch.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/ui/table.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/ui/tabs.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/ui/textarea.d.ts +3 -0
- package/dist/components/shared/platform-ui/components/ui/toast.d.ts +21 -0
- package/dist/components/shared/platform-ui/components/ui/toggle-group.d.ts +12 -0
- package/dist/components/shared/platform-ui/components/ui/toggle.d.ts +12 -0
- package/dist/components/shared/platform-ui/components/ui/tooltip.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/ui/typography.d.ts +15 -0
- package/dist/components/shared/platform-ui/components/ui/underline-tabs.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/ui/view-mode-toggle.d.ts +9 -0
- package/dist/components/shared/platform-ui/context/AppHostContext.d.ts +16 -0
- package/dist/components/shared/platform-ui/contexts/UserSettingsContext.d.ts +23 -0
- package/dist/components/shared/platform-ui/hooks/builtInApps.d.ts +91 -0
- package/dist/components/shared/platform-ui/hooks/pinnedBuiltInNavApps.d.ts +13 -0
- package/dist/components/shared/platform-ui/hooks/shellNavLucideIcon.d.ts +6 -0
- package/dist/components/shared/platform-ui/hooks/useAppSettings.d.ts +21 -0
- package/dist/components/shared/platform-ui/hooks/useAuthTokenSync.d.ts +3 -0
- package/dist/components/shared/platform-ui/hooks/useBuiltInApps.d.ts +6 -0
- package/dist/components/shared/platform-ui/hooks/useChatEntryTarget.d.ts +35 -0
- package/dist/components/shared/platform-ui/hooks/useIsMobile.d.ts +16 -0
- package/dist/components/shared/platform-ui/hooks/useLanguage.d.ts +11 -0
- package/dist/components/shared/platform-ui/hooks/useLockBodyScroll.d.ts +1 -0
- package/dist/components/shared/platform-ui/hooks/usePageState/index.d.ts +4 -0
- package/dist/components/shared/platform-ui/hooks/usePageState/types.d.ts +13 -0
- package/dist/components/shared/platform-ui/hooks/useTheme.d.ts +11 -0
- package/dist/components/shared/platform-ui/hooks/useUserSettings.d.ts +39 -0
- package/dist/components/shared/platform-ui/hooks/useWorkflowCanvas.d.ts +36 -0
- package/dist/components/shared/platform-ui/hooks/userPreferencesPinnedNav.d.ts +2 -0
- package/dist/components/shared/platform-ui/index.d.ts +127 -0
- package/dist/components/shared/platform-ui/kit/ai/conversation.d.ts +16 -0
- package/dist/components/shared/platform-ui/kit/ai/index.d.ts +11 -0
- package/dist/components/shared/platform-ui/kit/ai/loader.d.ts +6 -0
- package/dist/components/shared/platform-ui/kit/ai/message.d.ts +14 -0
- package/dist/components/shared/platform-ui/kit/ai/prompt-input.d.ts +18 -0
- package/dist/components/shared/platform-ui/kit/ai/suggestion.d.ts +11 -0
- package/dist/components/shared/platform-ui/kit/ai/tool.d.ts +28 -0
- package/dist/components/shared/platform-ui/kit.d.ts +5 -0
- package/dist/components/shared/platform-ui/platform/index.d.ts +38 -0
- package/dist/components/shared/platform-ui/platform/types.d.ts +1 -0
- package/dist/components/shared/platform-ui/styles/design-tokens.d.ts +189 -0
- package/dist/components/shared/platform-ui/styles/z-index-layers.d.ts +46 -0
- package/dist/components/shared/platform-ui/utils/unknownError.d.ts +2 -0
- package/dist/components/shared/platform-utils/cookieSettings.d.ts +12 -0
- package/dist/components/shared/platform-utils/data/countryCodes.d.ts +26 -0
- package/dist/components/shared/platform-utils/index.d.ts +18 -0
- package/dist/components/shared/platform-utils/utils/appPath.d.ts +5 -0
- package/dist/components/shared/platform-utils/utils/chunkLoadRecovery.d.ts +7 -0
- package/dist/components/shared/platform-utils/utils/cn.d.ts +3 -0
- package/dist/components/shared/platform-utils/utils/crossApp.d.ts +71 -0
- package/dist/components/shared/platform-utils/utils/debounce.d.ts +1 -0
- package/dist/components/shared/platform-utils/utils/formatUserLabel.d.ts +8 -0
- package/dist/components/shared/platform-utils/utils/formatting.d.ts +18 -0
- package/dist/components/shared/platform-utils/utils/logoutNotification.d.ts +28 -0
- package/dist/components/shared/platform-utils/utils/operatorLocale.d.ts +32 -0
- package/dist/components/shared/platform-utils/utils/routeLocalePrefetch.d.ts +5 -0
- package/dist/components/shared/platform-utils/utils/shellIframeUrl.d.ts +20 -0
- package/dist/components/shared/platform-utils/utils/spaceSettings.d.ts +20 -0
- package/dist/components/shared/platform-utils/utils/sso.d.ts +42 -0
- package/dist/components/shared/platform-utils/utils/throttle.d.ts +1 -0
- package/dist/components/shared/platform-utils/utils/timezones.d.ts +14 -0
- package/dist/components/shared/platform-utils/utils/toDateInputValue.d.ts +5 -0
- package/dist/components/shared/platform-utils/utils/watermark.d.ts +1 -0
- package/dist/components/shared/templates/index.d.ts +3 -0
- package/dist/components/shared/templates/slugify.d.ts +1 -0
- package/dist/components/shared/templates/templateRegistry.d.ts +18 -0
- package/dist/components/shared/templates/types.d.ts +42 -0
- package/dist/components/skeleton/ComponentSkeleton.d.ts +9 -0
- package/dist/components/skeleton/HeroCardSkeleton.d.ts +11 -0
- package/dist/components/skeleton/TileGridSkeleton.d.ts +11 -0
- package/dist/components/skeleton/WorkbenchSkeletonTokens.d.ts +1 -0
- package/dist/components/skeleton/index.d.ts +4 -0
- package/dist/components/standalone.css +2 -0
- package/dist/components/standalone.d.ts +21 -0
- package/dist/components/standalone.js +358805 -0
- package/dist/components/styles/grid24.css +359 -0
- package/dist/components/styles/layoutSystem.css +773 -0
- package/dist/components/styles.css +3 -0
- package/dist/components/testing/index.d.ts +2 -0
- package/dist/components/testing.js +5 -0
- package/dist/components/testing.js.map +1 -0
- package/dist/components/themes/classic.d.ts +7 -0
- package/dist/components/themes/index.d.ts +15 -0
- package/dist/components/themes/inkOnyx.d.ts +3 -0
- package/dist/components/themes/types.d.ts +36 -0
- package/dist/components/types/application.d.ts +37 -0
- package/dist/components/types/communication.d.ts +94 -0
- package/dist/components/types/components.d.ts +346 -0
- package/dist/components/types/conditionMapperTypes.d.ts +60 -0
- package/dist/components/types/databaseDataSource.d.ts +120 -0
- package/dist/components/types/datasource.d.ts +117 -0
- package/dist/components/types/editor.d.ts +4 -0
- package/dist/components/types/editors.d.ts +91 -0
- package/dist/components/types/host-adapters.d.ts +35 -0
- package/dist/components/types/index.d.ts +7 -0
- package/dist/components/types/parameters.d.ts +59 -0
- package/dist/components/types/productReport.d.ts +272 -0
- package/dist/components/types/renderers.d.ts +645 -0
- package/dist/components/types.d.ts +649 -0
- package/dist/components/ui/ActionFormDialog.d.ts +19 -0
- package/dist/components/ui/ConfirmDialog.d.ts +17 -0
- package/dist/components/ui/FormFieldRenderer.d.ts +51 -0
- package/dist/components/ui/IconSelector.d.ts +10 -0
- package/dist/components/ui/RecordDetailDialog.d.ts +15 -0
- package/dist/components/ui/StructuredValueField.d.ts +16 -0
- package/dist/components/ui/date-picker.d.ts +7 -0
- package/dist/components/ui/date-range-picker.d.ts +11 -0
- package/dist/components/ui/dialog-safe-select.d.ts +13 -0
- package/dist/components/ui/dialog-tag-input.d.ts +18 -0
- package/dist/components/ui/dialog.d.ts +22 -0
- package/dist/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/components/ui/pagination.d.ts +28 -0
- package/dist/components/ui/select.d.ts +13 -0
- package/dist/components/ui/sidebar-rail.d.ts +9 -0
- package/dist/components/ui/sidebar.d.ts +65 -0
- package/dist/components/ui/table.d.ts +10 -0
- package/dist/components/ui/tag-input.d.ts +23 -0
- package/dist/components/utils/actionFormValidation.d.ts +34 -0
- package/dist/components/utils/autoIdUtils.d.ts +2 -0
- package/dist/components/utils/chartGradientStops.d.ts +14 -0
- package/dist/components/utils/chinaProvinceMap.d.ts +8 -0
- package/dist/components/utils/colors.d.ts +84 -0
- package/dist/components/utils/componentUtils.d.ts +4 -0
- package/dist/components/utils/conditionMapperUtils.d.ts +59 -0
- package/dist/components/utils/cssParser.d.ts +7 -0
- package/dist/components/utils/currencySymbol.d.ts +10 -0
- package/dist/components/utils/dataConfigUtils.d.ts +80 -0
- package/dist/components/utils/databaseDatasourceColumnValue.d.ts +8 -0
- package/dist/components/utils/databaseDatasourceParams.d.ts +44 -0
- package/dist/components/utils/datasetOperationUtils.d.ts +48 -0
- package/dist/components/utils/datasourceVersion.d.ts +61 -0
- package/dist/components/utils/debugUtils.d.ts +34 -0
- package/dist/components/utils/errorFilter.d.ts +1 -0
- package/dist/components/utils/errorHandler.d.ts +10 -0
- package/dist/components/utils/expressionUtils.d.ts +13 -0
- package/dist/components/utils/extensionErrorHandler.d.ts +4 -0
- package/dist/components/utils/filterPanelDateRangeUtils.d.ts +34 -0
- package/dist/components/utils/filterPanelMobileDateRangeUtils.d.ts +17 -0
- package/dist/components/utils/formActionVisibility.d.ts +21 -0
- package/dist/components/utils/grid24LayoutSystem.d.ts +108 -0
- package/dist/components/utils/iconUtils.d.ts +22 -0
- package/dist/components/utils/layoutContainerNesting.d.ts +5 -0
- package/dist/components/utils/layoutSystem.d.ts +189 -0
- package/dist/components/utils/navigationUtils.d.ts +70 -0
- package/dist/components/utils/navigationVisibleWhenEditor.d.ts +37 -0
- package/dist/components/utils/parameterUtils.d.ts +52 -0
- package/dist/components/utils/redirectToAppHome.d.ts +4 -0
- package/dist/components/utils/resolveComponentMockFields.d.ts +28 -0
- package/dist/components/utils/resolveDatabaseDataSourceConfig.d.ts +9 -0
- package/dist/components/utils/safeMessaging.d.ts +16 -0
- package/dist/components/utils/statisticColors.d.ts +11 -0
- package/dist/components/utils/statisticIcons.d.ts +5 -0
- package/dist/components/utils/styleUtils.d.ts +35 -0
- package/dist/components/utils/systemParameters.d.ts +8 -0
- package/dist/components/utils/tabIsolation.d.ts +34 -0
- package/dist/components/utils/tableActionButtonRender.d.ts +12 -0
- package/dist/components/utils/taskUtils.d.ts +37 -0
- package/dist/components/utils/treeFormUtils.d.ts +41 -0
- package/dist/components/utils/visibleWhen.d.ts +31 -0
- package/dist/components/utils/visibleWhenFormat.d.ts +32 -0
- package/dist/components/utils/workbenchConfigLocale.d.ts +44 -0
- package/dist/components/utils/workbenchDisplayLocale.d.ts +33 -0
- package/dist/components/utils/workbenchPathUtils.d.ts +8 -0
- package/dist/components/utils/workflowTransformsUtils.d.ts +3 -0
- package/dist/components.js +841 -0
- package/dist/components.js.map +1 -0
- package/dist/dashboard/src/ChartTooltip.d.ts +1 -1
- package/dist/hooks/access/AppAccessNotice.d.ts +1 -1
- package/dist/hooks/picker/managedAppPicker.d.ts +1 -1
- package/dist/hooks.js +28 -27
- package/dist/hooks.js.map +1 -1
- package/dist/i18n-DojjvBZv.js +19013 -0
- package/dist/i18n-DojjvBZv.js.map +1 -0
- package/dist/index.js +61 -59
- package/dist/index.js.map +1 -1
- package/dist/kit.js +57 -56
- package/dist/kit.js.map +1 -1
- package/dist/resolveApiRoot-Dzg1R1PS.js +68 -0
- package/dist/resolveApiRoot-Dzg1R1PS.js.map +1 -0
- package/dist/shell.d.ts +1 -1
- package/dist/storage/components/CopyStorageLinkButton.d.ts +1 -1
- package/dist/storage/components/StorageImage.d.ts +1 -1
- package/dist/storage/components/StorageVideo.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/task-workspace/domain.d.ts +1 -1
- package/dist/ui/components/features/app/AppModal.d.ts +2 -2
- package/dist/ui/components/primitives/page-skeleton/index.d.ts +1 -1
- package/dist/ui/components/ui/alert.d.ts +3 -3
- package/dist/ui/components/ui/badge.d.ts +3 -3
- package/dist/ui/components/ui/button.d.ts +4 -4
- package/dist/ui/components/ui/chart.d.ts +1 -1
- package/dist/ui/components/ui/form.d.ts +3 -5
- package/dist/ui/components/ui/hint-notice.d.ts +3 -3
- package/dist/ui/components/ui/label.d.ts +1 -1
- package/dist/ui/components/ui/select.d.ts +1 -1
- package/dist/ui/components/ui/sheet.d.ts +3 -3
- package/dist/ui/components/ui/tabs.d.ts +1 -1
- package/dist/ui/components/ui/toast.d.ts +3 -3
- package/dist/ui/components/ui/toggle-group.d.ts +8 -8
- package/dist/ui/components/ui/toggle.d.ts +8 -8
- package/dist/ui/components/ui/underline-tabs.d.ts +6 -6
- package/dist/ui.js +23 -22
- package/dist/ui.js.map +1 -1
- package/dist/useUserDirectory-GU8imJ0T.js +2124 -0
- package/dist/useUserDirectory-GU8imJ0T.js.map +1 -0
- package/dist/vite.d.ts +1 -1
- package/package.json +217 -31
- package/dist/CrossAppRecordPicker-CQVmirWD.js.map +0 -1
- package/dist/useUserDirectory-CqkyCQoR.js +0 -2377
- package/dist/useUserDirectory-CqkyCQoR.js.map +0 -1
- package/dist/workbench/runtime.d.ts +0 -3
- package/dist/workbench/styles.css +0 -197
- package/dist/workbench/types.d.ts +0 -48
- package/dist/workbench.d.ts +0 -8
- package/dist/workbench.js +0 -356
- package/dist/workbench.js.map +0 -1
|
@@ -0,0 +1,645 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { EnhancedDataSource } from './datasource';
|
|
3
|
+
import { TabItem } from './components';
|
|
4
|
+
import { TableAction, NavigationItem } from '../types';
|
|
5
|
+
|
|
6
|
+
export type { TableAction };
|
|
7
|
+
export type TableDataType = Record<string, unknown>;
|
|
8
|
+
export type ColumnRenderType = {
|
|
9
|
+
type: 'Tag' | 'Progress' | 'Image' | 'yyyy-MM-dd' | 'yyyy-MM-dd HH:mm:ss' | 'Custom' | 'Stacked' | 'Delta' | 'PctBar' | 'RankBadge' | 'Currency' | 'Number';
|
|
10
|
+
props?: {
|
|
11
|
+
color?: Record<string, string>;
|
|
12
|
+
text?: Record<string, string>;
|
|
13
|
+
textColor?: Record<string, string>;
|
|
14
|
+
status?: string;
|
|
15
|
+
showInfo?: boolean;
|
|
16
|
+
size?: 'small' | 'default' | 'large';
|
|
17
|
+
width?: number;
|
|
18
|
+
height?: number;
|
|
19
|
+
preview?: boolean;
|
|
20
|
+
fallback?: string;
|
|
21
|
+
render?: string;
|
|
22
|
+
customColor?: string;
|
|
23
|
+
fontWeight?: string;
|
|
24
|
+
fontFamily?: string;
|
|
25
|
+
fontStyle?: string;
|
|
26
|
+
textDecoration?: string;
|
|
27
|
+
format?: 'currency-compact' | 'compact-k' | 'percent1' | 'number2' | 'number' | 'plain';
|
|
28
|
+
mainField?: string;
|
|
29
|
+
subField?: string;
|
|
30
|
+
subFormat?: 'currency-compact' | 'compact-k' | 'percent1' | 'number2' | 'number' | 'plain';
|
|
31
|
+
subPrefix?: string;
|
|
32
|
+
subSuffix?: string;
|
|
33
|
+
subKind?: 'value' | 'diffPct' | 'diffPP' | 'signed';
|
|
34
|
+
baselineField?: string;
|
|
35
|
+
emptyDash?: boolean;
|
|
36
|
+
currency?: string;
|
|
37
|
+
topHighlight?: number;
|
|
38
|
+
highlightFrom?: string;
|
|
39
|
+
highlightTo?: string;
|
|
40
|
+
defaultFill?: string;
|
|
41
|
+
rankStyle?: 'square' | 'circle';
|
|
42
|
+
rankSize?: 'xs' | 'sm' | 'md';
|
|
43
|
+
medalTop?: number;
|
|
44
|
+
currencyField?: string;
|
|
45
|
+
compact?: boolean;
|
|
46
|
+
decimals?: number;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export interface SwitchConfig {
|
|
50
|
+
showText?: boolean;
|
|
51
|
+
onText?: string;
|
|
52
|
+
offText?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface DictionaryDataSourceConfig {
|
|
55
|
+
type: 'database';
|
|
56
|
+
datasourceId?: string;
|
|
57
|
+
/** Pin a datasource version; omit to use the default version */
|
|
58
|
+
version?: number;
|
|
59
|
+
matchConditions: Array<{
|
|
60
|
+
tableField: string;
|
|
61
|
+
dictionaryField: string;
|
|
62
|
+
}>;
|
|
63
|
+
displayField: string;
|
|
64
|
+
backgroundColorField?: string;
|
|
65
|
+
textColorField?: string;
|
|
66
|
+
}
|
|
67
|
+
export type TableColumnType = {
|
|
68
|
+
key?: string;
|
|
69
|
+
dataIndex: string;
|
|
70
|
+
title: string;
|
|
71
|
+
width?: number | string;
|
|
72
|
+
minWidth?: number | string;
|
|
73
|
+
maxWidth?: number | string;
|
|
74
|
+
filterable?: boolean;
|
|
75
|
+
filterType?: 'equals' | 'like' | 'in';
|
|
76
|
+
filterOptions?: Array<{
|
|
77
|
+
text: string;
|
|
78
|
+
value: string;
|
|
79
|
+
}>;
|
|
80
|
+
filterMultiSelect?: boolean;
|
|
81
|
+
filterMaxTags?: number;
|
|
82
|
+
filterPassMode?: 'filter' | 'parameter';
|
|
83
|
+
filterParameterName?: string;
|
|
84
|
+
editable?: boolean;
|
|
85
|
+
editRequired?: boolean;
|
|
86
|
+
hidden?: boolean;
|
|
87
|
+
fieldType?: 'VARCHAR' | 'INT8' | 'INT16' | 'INT32' | 'INT64' | 'FLOAT' | 'DOUBLE' | 'BOOL' | 'JSON' | 'ARRAY' | 'DATE' | 'DATETIME' | 'TEXT' | 'SWITCH' | 'IMAGE';
|
|
88
|
+
databaseFieldType?: 'number' | 'string' | 'boolean' | 'date';
|
|
89
|
+
switchConfig?: SwitchConfig;
|
|
90
|
+
render?: ColumnRenderType;
|
|
91
|
+
dictionaryDataSource?: DictionaryDataSourceConfig;
|
|
92
|
+
inputType?: 'text' | 'number' | 'color' | 'date' | 'select' | 'switch' | 'file';
|
|
93
|
+
datasource?: {
|
|
94
|
+
datasourceId?: string;
|
|
95
|
+
/** Pin a datasource version; omit to use the default version */
|
|
96
|
+
version?: number;
|
|
97
|
+
valueField?: string;
|
|
98
|
+
labelField?: string;
|
|
99
|
+
};
|
|
100
|
+
/** If set, table header shows this field’s value from the first loaded row */
|
|
101
|
+
headerLabelField?: string;
|
|
102
|
+
/** Pin column to the left; stays visible during horizontal scroll */
|
|
103
|
+
frozen?: boolean;
|
|
104
|
+
};
|
|
105
|
+
export interface BaseRendererProps {
|
|
106
|
+
type: string;
|
|
107
|
+
id?: string;
|
|
108
|
+
className?: string;
|
|
109
|
+
style?: React.CSSProperties;
|
|
110
|
+
[key: string]: any;
|
|
111
|
+
}
|
|
112
|
+
export interface TaskInputRendererProps {
|
|
113
|
+
taskId?: string;
|
|
114
|
+
className?: string;
|
|
115
|
+
onSuccess?: (result: any) => void;
|
|
116
|
+
onError?: (error: any) => void;
|
|
117
|
+
onParameterChange?: (key: string, value: any) => void;
|
|
118
|
+
componentId?: string;
|
|
119
|
+
pageId?: string;
|
|
120
|
+
tabId?: string;
|
|
121
|
+
}
|
|
122
|
+
export type ListItemTemplate = 'default' | 'ranking' | 'progress-task' | 'product-card';
|
|
123
|
+
export type ListSlotType = 'title' | 'titleSuffix' | 'subtitle' | 'description' | 'tags' | 'avatar' | 'icon' | 'actions' | 'custom' | 'prefix' | 'extra' | 'extraTop' | 'meta' | 'progress' | 'metric';
|
|
124
|
+
export type ListColumnRenderType = 'default' | 'Tag' | 'Image' | 'Icon' | 'Progress' | 'Switch' | 'Date' | 'yyyy-MM-dd' | 'yyyy-MM-dd HH:mm:ss' | 'Rank' | 'Number' | 'Currency' | 'Percent' | 'Trend' | 'RankChange';
|
|
125
|
+
export type ListColumnLineRole = 'primary' | 'secondary';
|
|
126
|
+
export interface ListRenderProps {
|
|
127
|
+
max?: number;
|
|
128
|
+
relativeTo?: 'none' | 'pageMax' | 'dataMax' | 'field';
|
|
129
|
+
relativeField?: string;
|
|
130
|
+
showPercent?: boolean;
|
|
131
|
+
percentPosition?: 'right' | 'inside' | 'none';
|
|
132
|
+
fullWidth?: boolean;
|
|
133
|
+
barColor?: 'green' | 'purple' | 'blue' | 'primary' | string;
|
|
134
|
+
barColorField?: string;
|
|
135
|
+
/** Track (background) color: a token (green/indigo/emerald/…) → light tint, or a raw CSS color.
|
|
136
|
+
* When omitted, a token `barColor`/`barColorField` value auto-tints the track to its matching shade. */
|
|
137
|
+
trackColor?: string;
|
|
138
|
+
/** Per-row track color field — same idea as barColorField, but for the track/background. */
|
|
139
|
+
trackColorField?: string;
|
|
140
|
+
size?: 'sm' | 'md' | 'lg';
|
|
141
|
+
iconSize?: 'sm' | 'md' | 'lg';
|
|
142
|
+
iconVariant?: 'circle' | 'plain';
|
|
143
|
+
iconColor?: string;
|
|
144
|
+
rankSource?: 'index' | 'field';
|
|
145
|
+
rankField?: string;
|
|
146
|
+
rankOffset?: number;
|
|
147
|
+
rankStyle?: 'circle' | 'rounded-square';
|
|
148
|
+
topHighlight?: number;
|
|
149
|
+
topColor?: 'orange' | 'gradient-orange' | string;
|
|
150
|
+
defaultColor?: 'gray' | string;
|
|
151
|
+
format?: 'plain' | 'thousands' | 'compact' | 'currency' | 'percent';
|
|
152
|
+
prefix?: string;
|
|
153
|
+
suffix?: string;
|
|
154
|
+
decimals?: number;
|
|
155
|
+
compactThreshold?: number;
|
|
156
|
+
compactDivisor?: number;
|
|
157
|
+
locale?: string;
|
|
158
|
+
align?: 'left' | 'right' | 'center';
|
|
159
|
+
fontWeight?: 'normal' | 'medium' | 'semibold';
|
|
160
|
+
/** Number → exact px (inline style); legacy 'xs'/'sm'/'base' → text-xs/sm/base classes (12/14/16). */
|
|
161
|
+
fontSize?: number | 'xs' | 'sm' | 'base';
|
|
162
|
+
/** Render text in muted gray (text-slate-400, same as the sales-detail LY sub-line) — generic de-emphasis for text/number/date cells. */
|
|
163
|
+
muted?: boolean;
|
|
164
|
+
variant?: 'pill' | 'outline' | 'text';
|
|
165
|
+
tagSize?: 'xs' | 'sm';
|
|
166
|
+
/** Render only on highlighted rows; other rows render nothing (e.g. store-manager "own store only" cells). */
|
|
167
|
+
onlyHighlighted?: boolean;
|
|
168
|
+
/** Render nothing when the value is null/undefined/'' (default shows a muted dash). */
|
|
169
|
+
hideWhenNull?: boolean;
|
|
170
|
+
/** Optional leading label inside the badge/text (e.g. RankChange "YTD" / "last month"); { zh, en } resolved at render time. */
|
|
171
|
+
label?: string | {
|
|
172
|
+
zh?: string;
|
|
173
|
+
en?: string;
|
|
174
|
+
};
|
|
175
|
+
width?: number;
|
|
176
|
+
height?: number;
|
|
177
|
+
}
|
|
178
|
+
export interface ListColumn {
|
|
179
|
+
dataIndex: string;
|
|
180
|
+
title?: string;
|
|
181
|
+
slotType: ListSlotType;
|
|
182
|
+
width?: string | number;
|
|
183
|
+
slotIndex?: number;
|
|
184
|
+
lineRole?: ListColumnLineRole;
|
|
185
|
+
showLabel?: boolean;
|
|
186
|
+
render?: {
|
|
187
|
+
type?: ListColumnRenderType;
|
|
188
|
+
colorMap?: Record<string, string>;
|
|
189
|
+
textColorMap?: Record<string, string>;
|
|
190
|
+
props?: ListRenderProps;
|
|
191
|
+
};
|
|
192
|
+
hidden?: boolean;
|
|
193
|
+
fieldType?: 'VARCHAR' | 'INT32' | 'INT64' | 'FLOAT' | 'BOOL' | 'DATE' | 'SWITCH' | 'JSON' | 'ARRAY' | 'IMAGE';
|
|
194
|
+
}
|
|
195
|
+
export interface ListItemLayoutConfig {
|
|
196
|
+
template?: ListItemTemplate;
|
|
197
|
+
rowClickAction?: TableAction;
|
|
198
|
+
rowGap?: 'sm' | 'md' | 'lg';
|
|
199
|
+
itemSpacing?: 'sm' | 'md';
|
|
200
|
+
}
|
|
201
|
+
export interface ListViewToggleOption {
|
|
202
|
+
icon: string;
|
|
203
|
+
value: string;
|
|
204
|
+
}
|
|
205
|
+
export interface ListViewToggleConfig {
|
|
206
|
+
/** @deprecated Use top-level showDataView instead. Kept for legacy configs. */
|
|
207
|
+
options?: ListViewToggleOption[];
|
|
208
|
+
/** @deprecated Use local viewType state; optional param sync only. */
|
|
209
|
+
defaultValue?: string;
|
|
210
|
+
broadcastParameter?: string;
|
|
211
|
+
chartProps?: Record<string, unknown>;
|
|
212
|
+
}
|
|
213
|
+
export interface ListHeaderExtra {
|
|
214
|
+
viewToggle?: ListViewToggleConfig;
|
|
215
|
+
link?: {
|
|
216
|
+
label?: string;
|
|
217
|
+
action?: TableAction;
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
/** A quick-filter pill for List/AnalyticsTable toolbars. */
|
|
221
|
+
export interface ListPill {
|
|
222
|
+
value: string;
|
|
223
|
+
label?: unknown;
|
|
224
|
+
color?: string;
|
|
225
|
+
filter?: {
|
|
226
|
+
field: string;
|
|
227
|
+
eq: unknown;
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
export interface ListRendererProps {
|
|
231
|
+
dataSource?: Record<string, unknown>[];
|
|
232
|
+
loading?: boolean;
|
|
233
|
+
itemLayout?: 'horizontal' | 'vertical';
|
|
234
|
+
size?: 'large' | 'default' | 'small';
|
|
235
|
+
bordered?: boolean;
|
|
236
|
+
split?: boolean;
|
|
237
|
+
header?: ReactNode;
|
|
238
|
+
footer?: ReactNode;
|
|
239
|
+
title?: string;
|
|
240
|
+
pagination?: boolean | {
|
|
241
|
+
pageSize?: number;
|
|
242
|
+
current?: number;
|
|
243
|
+
total?: number;
|
|
244
|
+
showSizeChanger?: boolean;
|
|
245
|
+
showTotal?: boolean;
|
|
246
|
+
};
|
|
247
|
+
pageSize?: number;
|
|
248
|
+
grid?: unknown;
|
|
249
|
+
renderItem?: (item: Record<string, unknown>, index: number) => ReactNode;
|
|
250
|
+
className?: string;
|
|
251
|
+
useMockData?: boolean;
|
|
252
|
+
mockData?: Record<string, unknown>[];
|
|
253
|
+
id?: string;
|
|
254
|
+
customStyles?: import('./components').CustomStylesConfig;
|
|
255
|
+
columns?: ListColumn[];
|
|
256
|
+
/** Same as Table: split row vs toolbar by position; used when rowActions/toolbarActions are unset */
|
|
257
|
+
actions?: TableAction[];
|
|
258
|
+
rowActions?: TableAction[];
|
|
259
|
+
showRowActions?: 'always' | 'hover';
|
|
260
|
+
toolbarActions?: TableAction[];
|
|
261
|
+
showToolbar?: boolean;
|
|
262
|
+
showRefresh?: boolean;
|
|
263
|
+
selectionType?: 'none' | 'single' | 'multiple';
|
|
264
|
+
rowKey?: string;
|
|
265
|
+
selectedRowIds?: (string | number)[];
|
|
266
|
+
onSelectionChange?: (selectedIds: (string | number)[], selectedRows: Record<string, unknown>[]) => void;
|
|
267
|
+
databaseDataSourceConfig?: import('./databaseDataSource').DatabaseDataSourceConfig;
|
|
268
|
+
enhancedDataSource?: EnhancedDataSource;
|
|
269
|
+
parameterConfig?: import('../types').ParameterConfig;
|
|
270
|
+
componentParameterConfig?: {
|
|
271
|
+
enableParameterReceiving?: boolean;
|
|
272
|
+
listenToParameters?: string[];
|
|
273
|
+
};
|
|
274
|
+
pageParams?: Record<string, unknown>;
|
|
275
|
+
datasetConfig?: {
|
|
276
|
+
datasetId: string;
|
|
277
|
+
params?: Record<string, unknown>;
|
|
278
|
+
};
|
|
279
|
+
enableSort?: boolean;
|
|
280
|
+
defaultSort?: Array<{
|
|
281
|
+
field: string;
|
|
282
|
+
direction: 'asc' | 'desc';
|
|
283
|
+
}>;
|
|
284
|
+
enableExport?: boolean;
|
|
285
|
+
/**
|
|
286
|
+
* Row search + quick-filter pills (config-driven; mirrors AnalyticsTable toolbar).
|
|
287
|
+
* When `pillParam` is set, selecting a pill re-queries the datasource with
|
|
288
|
+
* `{ [pillParam]: activePill.value }` (server-side filtering) instead of filtering loaded rows.
|
|
289
|
+
* When `searchParam` is set, the (debounced) search text is likewise sent as a query param
|
|
290
|
+
* and client-side search filtering is skipped — the SQL is expected to ILIKE-match it.
|
|
291
|
+
*/
|
|
292
|
+
toolbar?: {
|
|
293
|
+
search?: boolean;
|
|
294
|
+
searchFields?: string[];
|
|
295
|
+
pills?: ListPill[];
|
|
296
|
+
pillParam?: string;
|
|
297
|
+
searchParam?: string;
|
|
298
|
+
};
|
|
299
|
+
/** Highlight the row whose `field` equals a static `value` or a live bus param `valueParam`.
|
|
300
|
+
* `memberField`: optional CSV column of group-member ids — the row also highlights when the
|
|
301
|
+
* value matches any member (e.g. a live sub-store selects its main-store rollup row). */
|
|
302
|
+
highlightRow?: {
|
|
303
|
+
field: string;
|
|
304
|
+
value?: string;
|
|
305
|
+
valueParam?: string;
|
|
306
|
+
memberField?: string;
|
|
307
|
+
badge?: unknown;
|
|
308
|
+
};
|
|
309
|
+
/** Small status dots before the title (e.g. focused / new-door); shown when row[field] == eq (eq omitted → truthy). */
|
|
310
|
+
statusDots?: Array<{
|
|
311
|
+
field: string;
|
|
312
|
+
eq?: unknown;
|
|
313
|
+
color?: string;
|
|
314
|
+
}>;
|
|
315
|
+
itemLayoutConfig?: ListItemLayoutConfig;
|
|
316
|
+
/** When true, shows chart/data toggle in header (same as Chart.showDataView). */
|
|
317
|
+
showDataView?: boolean;
|
|
318
|
+
/** Optional ECharts props for chart view when chartProps is not in headerExtra.viewToggle. */
|
|
319
|
+
chartViewProps?: Record<string, unknown>;
|
|
320
|
+
headerExtra?: ListHeaderExtra;
|
|
321
|
+
onParameterChange?: (key: string, value: unknown) => void;
|
|
322
|
+
componentId?: string;
|
|
323
|
+
pageId?: string;
|
|
324
|
+
tabId?: string;
|
|
325
|
+
/** Workbench sidebar navigation items — used to attach `_nav` when opening pages */
|
|
326
|
+
navigationItems?: NavigationItem[];
|
|
327
|
+
}
|
|
328
|
+
export interface TextRendererProps {
|
|
329
|
+
content?: string | React.ReactNode;
|
|
330
|
+
type?: 'secondary' | 'success' | 'warning' | 'danger';
|
|
331
|
+
disabled?: boolean;
|
|
332
|
+
mark?: boolean;
|
|
333
|
+
strong?: boolean;
|
|
334
|
+
italic?: boolean;
|
|
335
|
+
underline?: boolean;
|
|
336
|
+
code?: boolean;
|
|
337
|
+
copyable?: boolean | object;
|
|
338
|
+
delete?: boolean;
|
|
339
|
+
ellipsis?: boolean | object;
|
|
340
|
+
keyboard?: boolean;
|
|
341
|
+
fontSize?: string | number;
|
|
342
|
+
color?: string;
|
|
343
|
+
align?: 'left' | 'center' | 'right';
|
|
344
|
+
className?: string;
|
|
345
|
+
}
|
|
346
|
+
export interface TitleRendererProps {
|
|
347
|
+
content?: string | React.ReactNode;
|
|
348
|
+
level?: 1 | 2 | 3 | 4 | 5;
|
|
349
|
+
copyable?: boolean | object;
|
|
350
|
+
delete?: boolean;
|
|
351
|
+
disabled?: boolean;
|
|
352
|
+
ellipsis?: boolean | object;
|
|
353
|
+
mark?: boolean;
|
|
354
|
+
underline?: boolean;
|
|
355
|
+
type?: 'secondary' | 'success' | 'warning' | 'danger';
|
|
356
|
+
fontSize?: string | number;
|
|
357
|
+
color?: string;
|
|
358
|
+
align?: 'left' | 'center' | 'right';
|
|
359
|
+
className?: string;
|
|
360
|
+
}
|
|
361
|
+
export interface ParagraphRendererProps {
|
|
362
|
+
content?: string | React.ReactNode;
|
|
363
|
+
code?: boolean;
|
|
364
|
+
copyable?: boolean | object;
|
|
365
|
+
delete?: boolean;
|
|
366
|
+
disabled?: boolean;
|
|
367
|
+
ellipsis?: boolean | object;
|
|
368
|
+
mark?: boolean;
|
|
369
|
+
strong?: boolean;
|
|
370
|
+
italic?: boolean;
|
|
371
|
+
underline?: boolean;
|
|
372
|
+
type?: 'secondary' | 'success' | 'warning' | 'danger';
|
|
373
|
+
fontSize?: string | number;
|
|
374
|
+
color?: string;
|
|
375
|
+
align?: 'left' | 'center' | 'right';
|
|
376
|
+
className?: string;
|
|
377
|
+
}
|
|
378
|
+
export interface ContainerRendererProps {
|
|
379
|
+
children?: ReactNode;
|
|
380
|
+
title?: string;
|
|
381
|
+
titleLevel?: 1 | 2 | 3 | 4 | 5;
|
|
382
|
+
divider?: boolean;
|
|
383
|
+
className?: string;
|
|
384
|
+
style?: React.CSSProperties;
|
|
385
|
+
direction?: 'horizontal' | 'vertical';
|
|
386
|
+
gutter?: number | [number, number];
|
|
387
|
+
justify?: 'start' | 'end' | 'center' | 'space-around' | 'space-between';
|
|
388
|
+
align?: 'top' | 'middle' | 'bottom';
|
|
389
|
+
layout?: 'block' | 'flex' | 'grid';
|
|
390
|
+
cols?: number[];
|
|
391
|
+
padding?: number | string;
|
|
392
|
+
margin?: number | string;
|
|
393
|
+
background?: string;
|
|
394
|
+
border?: boolean;
|
|
395
|
+
borderRadius?: number | string;
|
|
396
|
+
shadow?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
397
|
+
}
|
|
398
|
+
export interface StatisticGroupProps {
|
|
399
|
+
data?: any[];
|
|
400
|
+
loading?: boolean;
|
|
401
|
+
cols?: number;
|
|
402
|
+
gutter?: number | [number, number];
|
|
403
|
+
className?: string;
|
|
404
|
+
style?: React.CSSProperties;
|
|
405
|
+
databaseDataSourceConfig?: import('./databaseDataSource').DatabaseDataSourceConfig | null;
|
|
406
|
+
}
|
|
407
|
+
/** 1–6 columns; used for Table / EditableTable filter field responsive grid. */
|
|
408
|
+
export type FilterPanelGridColumnCount = 1 | 2 | 3 | 4 | 5 | 6;
|
|
409
|
+
export interface FilterPanelGridColumns {
|
|
410
|
+
base?: FilterPanelGridColumnCount;
|
|
411
|
+
sm?: FilterPanelGridColumnCount;
|
|
412
|
+
md?: FilterPanelGridColumnCount;
|
|
413
|
+
lg?: FilterPanelGridColumnCount;
|
|
414
|
+
xl?: FilterPanelGridColumnCount;
|
|
415
|
+
}
|
|
416
|
+
/** Default `filter_panel_footer` matches legacy: apply button in filter area bottom-right. */
|
|
417
|
+
export type ApplyFilterButtonPlacement = 'filter_panel_footer' | 'filter_grid_trailing' | 'toolbar_leading';
|
|
418
|
+
export interface TableRendererProps {
|
|
419
|
+
columns: TableColumnType[];
|
|
420
|
+
dataSource: TableDataType[];
|
|
421
|
+
loading?: boolean;
|
|
422
|
+
rowKey?: string;
|
|
423
|
+
showTotal?: boolean;
|
|
424
|
+
className?: string;
|
|
425
|
+
title?: string;
|
|
426
|
+
showRefresh?: boolean;
|
|
427
|
+
showSettings?: boolean;
|
|
428
|
+
showToolbar?: boolean;
|
|
429
|
+
addable?: boolean;
|
|
430
|
+
editable?: boolean;
|
|
431
|
+
deletable?: boolean;
|
|
432
|
+
enableExport?: boolean;
|
|
433
|
+
onDataSourceChange?: (data: TableDataType[]) => void;
|
|
434
|
+
id?: string;
|
|
435
|
+
customStyles?: import('./components').CustomStylesConfig;
|
|
436
|
+
pagination?: {
|
|
437
|
+
pageSize?: number;
|
|
438
|
+
current?: number;
|
|
439
|
+
total?: number;
|
|
440
|
+
showSizeChanger?: boolean;
|
|
441
|
+
showTotal?: boolean;
|
|
442
|
+
style?: 'default' | 'simple';
|
|
443
|
+
};
|
|
444
|
+
datasetConfig?: {
|
|
445
|
+
datasetId: string;
|
|
446
|
+
params?: {
|
|
447
|
+
limit?: number;
|
|
448
|
+
offset?: number;
|
|
449
|
+
outputFields?: string[];
|
|
450
|
+
[key: string]: unknown;
|
|
451
|
+
};
|
|
452
|
+
useAutoId?: boolean;
|
|
453
|
+
};
|
|
454
|
+
enhancedDataSource?: EnhancedDataSource;
|
|
455
|
+
databaseDataSourceConfig?: import('./databaseDataSource').DatabaseDataSourceConfig;
|
|
456
|
+
summaryDataSourceConfig?: import('./databaseDataSource').DatabaseDataSourceConfig | null;
|
|
457
|
+
summaryLabel?: string;
|
|
458
|
+
useMockData?: boolean;
|
|
459
|
+
mockData?: TableDataType[];
|
|
460
|
+
parameterConfig?: any;
|
|
461
|
+
componentParameterConfig?: {
|
|
462
|
+
enableParameterReceiving?: boolean;
|
|
463
|
+
listenToParameters?: string[];
|
|
464
|
+
};
|
|
465
|
+
actions?: TableAction[];
|
|
466
|
+
/**
|
|
467
|
+
* Optional record drill-down contract. Existing tables without this property
|
|
468
|
+
* keep their current selection/editing behaviour.
|
|
469
|
+
*/
|
|
470
|
+
recordInteraction?: {
|
|
471
|
+
enabled?: boolean;
|
|
472
|
+
trigger?: 'rowClick' | 'actionOnly';
|
|
473
|
+
titleField?: string;
|
|
474
|
+
subtitleFields?: string[];
|
|
475
|
+
fields?: Array<{
|
|
476
|
+
name: string;
|
|
477
|
+
label?: string;
|
|
478
|
+
hidden?: boolean;
|
|
479
|
+
format?: 'text' | 'number' | 'date' | 'datetime' | 'json' | 'multiline';
|
|
480
|
+
nestedFieldLabels?: Record<string, string>;
|
|
481
|
+
}>;
|
|
482
|
+
sections?: Array<{
|
|
483
|
+
id: string;
|
|
484
|
+
title?: string;
|
|
485
|
+
fields: string[];
|
|
486
|
+
}>;
|
|
487
|
+
edit?: {
|
|
488
|
+
enabled?: boolean;
|
|
489
|
+
action?: TableAction;
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
pageParams?: Record<string, unknown>;
|
|
493
|
+
availableParameters?: Array<{
|
|
494
|
+
label: string;
|
|
495
|
+
value: string;
|
|
496
|
+
type?: string;
|
|
497
|
+
}>;
|
|
498
|
+
onRowClick?: (record: Record<string, unknown>, columnKey?: string) => void;
|
|
499
|
+
/** When true and onRowClick is omitted, row click does not toggle row selection (EditableTable without row-click action). */
|
|
500
|
+
skipDefaultRowSelection?: boolean;
|
|
501
|
+
onCellClick?: (record: Record<string, unknown>, columnKey: string) => void;
|
|
502
|
+
onRowFocusOut?: (e: React.FocusEvent<HTMLTableRowElement>, rowId: string) => void;
|
|
503
|
+
editingRowId?: string | null;
|
|
504
|
+
rowDisplayPatches?: Record<string, Record<string, unknown>>;
|
|
505
|
+
/** Per-breakpoint filter field grid. Defaults: base 1, md 3. */
|
|
506
|
+
filterPanelGridColumns?: FilterPanelGridColumns;
|
|
507
|
+
/**
|
|
508
|
+
* Where to show the "Apply filters" action. "Reset" stays on the filter panel header row.
|
|
509
|
+
* - filter_panel_footer: full-width row below the grid, right-aligned
|
|
510
|
+
* - filter_grid_trailing: last cell in the same responsive grid as filter fields
|
|
511
|
+
* - toolbar_leading: first control in the table header toolbar (before global actions)
|
|
512
|
+
*/
|
|
513
|
+
applyFilterButtonPlacement?: ApplyFilterButtonPlacement;
|
|
514
|
+
rowStriped?: boolean;
|
|
515
|
+
tableStyle?: {
|
|
516
|
+
headerVariant?: 'muted' | 'default';
|
|
517
|
+
};
|
|
518
|
+
}
|
|
519
|
+
export interface TabsRendererProps {
|
|
520
|
+
items: TabItem[];
|
|
521
|
+
defaultActiveKey?: string;
|
|
522
|
+
className?: string;
|
|
523
|
+
[key: string]: any;
|
|
524
|
+
}
|
|
525
|
+
export interface CardRendererProps {
|
|
526
|
+
title?: string;
|
|
527
|
+
description?: string;
|
|
528
|
+
footer?: React.ReactNode;
|
|
529
|
+
children?: React.ReactNode;
|
|
530
|
+
className?: string;
|
|
531
|
+
}
|
|
532
|
+
export interface DataGridCardProps {
|
|
533
|
+
title?: string;
|
|
534
|
+
columns: Array<{
|
|
535
|
+
key?: string;
|
|
536
|
+
dataIndex: string;
|
|
537
|
+
title: string;
|
|
538
|
+
primary?: boolean;
|
|
539
|
+
secondary?: boolean;
|
|
540
|
+
render?: {
|
|
541
|
+
type: string;
|
|
542
|
+
props?: {
|
|
543
|
+
color?: Record<string, string>;
|
|
544
|
+
text?: Record<string, string>;
|
|
545
|
+
};
|
|
546
|
+
};
|
|
547
|
+
}>;
|
|
548
|
+
dataSource: any[];
|
|
549
|
+
loading?: boolean;
|
|
550
|
+
rowKey?: string;
|
|
551
|
+
className?: string;
|
|
552
|
+
showSearch?: boolean;
|
|
553
|
+
searchPlaceholder?: string;
|
|
554
|
+
showRefresh?: boolean;
|
|
555
|
+
showHeader?: boolean;
|
|
556
|
+
onItemClick?: (record: any) => void;
|
|
557
|
+
pagination?: {
|
|
558
|
+
pageSize?: number;
|
|
559
|
+
current?: number;
|
|
560
|
+
total?: number;
|
|
561
|
+
showSizeChanger?: boolean;
|
|
562
|
+
showTotal?: boolean;
|
|
563
|
+
};
|
|
564
|
+
footerContent?: React.ReactNode;
|
|
565
|
+
}
|
|
566
|
+
export interface TreeRendererProps {
|
|
567
|
+
parentKey?: string;
|
|
568
|
+
key?: string;
|
|
569
|
+
label?: string;
|
|
570
|
+
sortKey?: string;
|
|
571
|
+
dataSource?: any[];
|
|
572
|
+
loading?: boolean;
|
|
573
|
+
useMockData?: boolean;
|
|
574
|
+
mockData?: any[];
|
|
575
|
+
title?: string;
|
|
576
|
+
searchable?: boolean;
|
|
577
|
+
showIcon?: boolean;
|
|
578
|
+
showCount?: boolean;
|
|
579
|
+
defaultExpandLevel?: number;
|
|
580
|
+
addable?: boolean;
|
|
581
|
+
editable?: boolean;
|
|
582
|
+
deletable?: boolean;
|
|
583
|
+
className?: string;
|
|
584
|
+
height?: number;
|
|
585
|
+
datasetConfig?: {
|
|
586
|
+
datasetId: string;
|
|
587
|
+
params?: Record<string, any>;
|
|
588
|
+
useAutoId?: boolean;
|
|
589
|
+
};
|
|
590
|
+
insertDatasetConfig?: {
|
|
591
|
+
targetDatasetId: string | {
|
|
592
|
+
source: 'parameter' | 'static';
|
|
593
|
+
paramName?: string;
|
|
594
|
+
value?: string;
|
|
595
|
+
};
|
|
596
|
+
insertFields: {
|
|
597
|
+
[fieldName: string]: {
|
|
598
|
+
source: 'column' | 'static' | 'parameter' | 'computed' | 'field';
|
|
599
|
+
value: string;
|
|
600
|
+
required?: boolean;
|
|
601
|
+
fieldType?: 'VARCHAR' | 'INT32' | 'FLOAT' | 'BOOL' | 'JSON' | 'ARRAY';
|
|
602
|
+
};
|
|
603
|
+
};
|
|
604
|
+
};
|
|
605
|
+
updateDatasetConfig?: {
|
|
606
|
+
targetDatasetId: string | {
|
|
607
|
+
source: 'parameter' | 'static';
|
|
608
|
+
paramName?: string;
|
|
609
|
+
value?: string;
|
|
610
|
+
};
|
|
611
|
+
updateFields: {
|
|
612
|
+
[fieldName: string]: {
|
|
613
|
+
source: 'column' | 'static' | 'parameter' | 'computed' | 'field';
|
|
614
|
+
value: string;
|
|
615
|
+
required?: boolean;
|
|
616
|
+
fieldType?: 'VARCHAR' | 'INT32' | 'FLOAT' | 'BOOL' | 'JSON' | 'ARRAY';
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
|
+
updateConditions: {
|
|
620
|
+
[fieldName: string]: {
|
|
621
|
+
source: 'column' | 'static' | 'parameter' | 'field';
|
|
622
|
+
value: string;
|
|
623
|
+
operator?: 'equals' | 'in';
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
};
|
|
627
|
+
onSelect?: (node: any) => void;
|
|
628
|
+
onAdd?: (parentNode: any) => void;
|
|
629
|
+
onEdit?: (node: any) => void;
|
|
630
|
+
onDelete?: (node: any) => void;
|
|
631
|
+
}
|
|
632
|
+
export interface RenderersMap {
|
|
633
|
+
List?: React.FC<ListRendererProps>;
|
|
634
|
+
Container?: React.FC<ContainerRendererProps>;
|
|
635
|
+
StatisticGroup?: React.FC<StatisticGroupProps>;
|
|
636
|
+
Table?: React.FC<TableRendererProps>;
|
|
637
|
+
Tabs?: React.FC<TabsRendererProps>;
|
|
638
|
+
Card?: React.FC<CardRendererProps>;
|
|
639
|
+
Text?: React.FC<TextRendererProps>;
|
|
640
|
+
Title?: React.FC<TitleRendererProps>;
|
|
641
|
+
Paragraph?: React.FC<ParagraphRendererProps>;
|
|
642
|
+
DataGridCard?: React.FC<DataGridCardProps>;
|
|
643
|
+
Tree?: React.FC<TreeRendererProps>;
|
|
644
|
+
[key: string]: React.FC<any> | undefined;
|
|
645
|
+
}
|