@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
package/dist/components/shared/platform-ui/components/features/subscription/useSubscription.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SubscriptionInfo, SubscriptionLimits, SubscriptionFeatures, ResourceUsage, ResourceRemaining, FeatureKey, ResourceType, SubscriptionPlan, UpgradePrompt, SubscriptionDisplay } from './types';
|
|
2
|
+
|
|
3
|
+
export interface UseSubscriptionReturn {
|
|
4
|
+
subscription: SubscriptionInfo;
|
|
5
|
+
limits: SubscriptionLimits;
|
|
6
|
+
features: SubscriptionFeatures;
|
|
7
|
+
usage: ResourceUsage;
|
|
8
|
+
remaining: ResourceRemaining;
|
|
9
|
+
display?: SubscriptionDisplay;
|
|
10
|
+
isLoading: boolean;
|
|
11
|
+
isStandalone: boolean;
|
|
12
|
+
error: Error | null;
|
|
13
|
+
canAccess: (featureKey: FeatureKey) => boolean;
|
|
14
|
+
hasPlan: (requiredPlan: SubscriptionPlan) => boolean;
|
|
15
|
+
checkLimit: (resourceType: ResourceType, currentCount?: number) => boolean;
|
|
16
|
+
getFeatureUpgradePrompt: (featureKey: FeatureKey) => UpgradePrompt | null;
|
|
17
|
+
getResourceUpgradePrompt: (resourceType: ResourceType) => UpgradePrompt | null;
|
|
18
|
+
refresh: () => Promise<void>;
|
|
19
|
+
}
|
|
20
|
+
export declare function useSubscription(): UseSubscriptionReturn;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SubscriptionPlan, UpgradePrompt, FeatureKey, ResourceType, SubscriptionLimits, ResourceRemaining } from './types';
|
|
2
|
+
|
|
3
|
+
export declare function isPlanSufficient(currentPlan: SubscriptionPlan, requiredPlan: SubscriptionPlan): boolean;
|
|
4
|
+
export declare function getUpgradePath(currentPlan: SubscriptionPlan): SubscriptionPlan[];
|
|
5
|
+
export declare function getNextPlan(currentPlan: SubscriptionPlan): SubscriptionPlan | null;
|
|
6
|
+
export declare function getPlanDisplayName(plan: SubscriptionPlan): string;
|
|
7
|
+
export declare function getFeatureDisplayName(featureKey: FeatureKey): string;
|
|
8
|
+
export declare function getResourceDisplayName(resourceType: ResourceType): string;
|
|
9
|
+
export declare function generateFeatureUpgradePrompt(currentPlan: SubscriptionPlan, featureKey: FeatureKey): UpgradePrompt;
|
|
10
|
+
export declare function generateResourceUpgradePrompt(currentPlan: SubscriptionPlan, resourceType: ResourceType, limit: number): UpgradePrompt;
|
|
11
|
+
export declare function formatLimitValue(value: number): string;
|
|
12
|
+
export declare function isUnlimited(value: number): boolean;
|
|
13
|
+
/** Maps frontend ResourceType to plan limit field names (aligned with API RESOURCE_LIMIT_KEYS). */
|
|
14
|
+
export declare function getResourceLimitValue(limits: SubscriptionLimits, resourceType: ResourceType): number | undefined;
|
|
15
|
+
/** Maps frontend ResourceType to remaining usage keys (API uses spaceMember for teamMember). */
|
|
16
|
+
export declare function getResourceRemainingValue(remaining: ResourceRemaining, resourceType: ResourceType): number | undefined;
|
|
17
|
+
export declare function calculateUsagePercentage(current: number, limit: number): number;
|
|
18
|
+
export declare function getUsageLevel(current: number, limit: number): 'low' | 'medium' | 'high' | 'full';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** @deprecated Import from `../space` or `@genispace/shared-ui` Space exports */
|
|
2
|
+
export { SpaceContext as TeamContext, SpaceProvider as TeamProvider, useSpace as useTeam, type Space as Team, type SpaceMember as TeamMember, type SpaceOwner as TeamOwner, type SpaceApiClient as TeamApiClient, type SpaceProviderProps as TeamProviderProps, getSpaceIconType as getTeamIconType, getSpaceIconStyle as getTeamIconStyle, roleColors, useRoleNames, getRoleName, getRoleNameEn, getRoleClass, type SubscriptionPlan, } from '../space/SpaceContext';
|
|
3
|
+
/** @deprecated Import SpaceSwitcher from `../space` */
|
|
4
|
+
export { SpaceSwitcher as TeamSwitcher, type SpaceSwitcherProps as TeamSwitcherProps, } from '../space/SpaceSwitcher';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare function userInitials(name: string, email?: string): string;
|
|
2
|
+
export declare function resolveAvatarUrl(u: {
|
|
3
|
+
avatarUrl?: string | null;
|
|
4
|
+
avatar?: string | null;
|
|
5
|
+
}): string | null;
|
|
6
|
+
export type UserAvatarVariant = 'default' | 'chatUser';
|
|
7
|
+
export interface UserAvatarProps {
|
|
8
|
+
name: string;
|
|
9
|
+
email?: string;
|
|
10
|
+
avatarUrl?: string | null;
|
|
11
|
+
/** Tailwind size classes, e.g. size-5, size-6, size-20 */
|
|
12
|
+
sizeClassName?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
variant?: UserAvatarVariant;
|
|
15
|
+
shape?: 'circle' | 'rounded';
|
|
16
|
+
}
|
|
17
|
+
export declare function UserAvatar({ name, email, avatarUrl, sizeClassName, className, variant, shape, }: UserAvatarProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PublicUserProfile } from './userDirectoryTypes';
|
|
2
|
+
|
|
3
|
+
export type UserDisplayProps = {
|
|
4
|
+
userId?: string | null;
|
|
5
|
+
profile?: PublicUserProfile | null;
|
|
6
|
+
showAvatar?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
emptyLabel?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function UserDisplay({ userId, profile, showAvatar, className, emptyLabel, }: UserDisplayProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PublicUserProfile } from './userDirectoryTypes';
|
|
2
|
+
|
|
3
|
+
export type UserSelectProps = {
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (userId: string) => void;
|
|
6
|
+
members: PublicUserProfile[];
|
|
7
|
+
allowEmpty?: boolean;
|
|
8
|
+
emptyLabel?: string;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
id?: string;
|
|
13
|
+
};
|
|
14
|
+
export declare function UserSelect({ value, onChange, members, allowEmpty, emptyLabel, placeholder, disabled, className, id, }: UserSelectProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PublicUserProfile, UserDirectoryClient } from './userDirectoryTypes';
|
|
2
|
+
|
|
3
|
+
export type UseUserDirectoryOptions = {
|
|
4
|
+
memberStatus?: string;
|
|
5
|
+
};
|
|
6
|
+
export type UseUserDirectoryResult = {
|
|
7
|
+
loading: boolean;
|
|
8
|
+
error: string | null;
|
|
9
|
+
members: PublicUserProfile[];
|
|
10
|
+
getProfile: (userId: string | null | undefined) => PublicUserProfile | undefined;
|
|
11
|
+
resolveMany: (userIds: string[]) => Promise<void>;
|
|
12
|
+
};
|
|
13
|
+
export declare function useUserDirectory(client: UserDirectoryClient | null | undefined, options?: UseUserDirectoryOptions): UseUserDirectoryResult;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type PublicUserProfile = {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
avatarUrl?: string | null;
|
|
6
|
+
status?: string;
|
|
7
|
+
};
|
|
8
|
+
/** Minimal GeniSpace client surface for user directory hooks. */
|
|
9
|
+
export type UserDirectoryClient = {
|
|
10
|
+
spaces: {
|
|
11
|
+
listMemberProfiles(params?: {
|
|
12
|
+
status?: string;
|
|
13
|
+
}): Promise<PublicUserProfile[]>;
|
|
14
|
+
};
|
|
15
|
+
users: {
|
|
16
|
+
getPublicProfiles(userIds: string[]): Promise<PublicUserProfile[]>;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type FormSectionProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Grouped form block: title, optional description, and fields (design tokens).
|
|
10
|
+
*/
|
|
11
|
+
export declare function FormSection({ title, description, children, className }: FormSectionProps): React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type RecordListFrameProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
toolbar?: React.ReactNode;
|
|
5
|
+
footer?: React.ReactNode;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* List shell: title row, optional toolbar, scrollable body (table in `children`).
|
|
11
|
+
*/
|
|
12
|
+
export declare function RecordListFrame({ title, toolbar, footer, children, className }: RecordListFrameProps): React.JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type StatusStep = {
|
|
2
|
+
key: string;
|
|
3
|
+
label: string;
|
|
4
|
+
};
|
|
5
|
+
export type StatusStepperProps = {
|
|
6
|
+
steps: StatusStep[];
|
|
7
|
+
currentKey: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Compact horizontal step indicator for workflows or record states.
|
|
12
|
+
*/
|
|
13
|
+
export declare function StatusStepper({ steps, currentKey, className }: StatusStepperProps): import("react").JSX.Element;
|
package/dist/components/shared/platform-ui/components/primitives/data-display/ApiErrorState.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface ApiErrorStateProps {
|
|
2
|
+
title: string;
|
|
3
|
+
detailMessage?: string;
|
|
4
|
+
showDetail?: boolean;
|
|
5
|
+
onRetry?: () => void;
|
|
6
|
+
retryLabel?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
compact?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function ApiErrorState({ title, detailMessage, showDetail, onRetry, retryLabel, className, compact, }: ApiErrorStateProps): import("react").JSX.Element;
|
package/dist/components/shared/platform-ui/components/primitives/data-display/FilePreviewDialog.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface FilePreviewDialogProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
fileUrl?: string;
|
|
7
|
+
fileName: string;
|
|
8
|
+
mimeType?: string;
|
|
9
|
+
fileSize?: number;
|
|
10
|
+
showDownload?: boolean;
|
|
11
|
+
onDownload?: () => void | Promise<void>;
|
|
12
|
+
fileId?: string;
|
|
13
|
+
getFileUrl?: (fileId: string) => Promise<string>;
|
|
14
|
+
publicUrl?: string;
|
|
15
|
+
onCopyLink?: (publicUrl: string) => void | Promise<void>;
|
|
16
|
+
getAuthToken?: () => string | null;
|
|
17
|
+
}
|
|
18
|
+
export declare const FilePreviewDialog: React.FC<FilePreviewDialogProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Toaster(): import("react").JSX.Element;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ToastActionElement, ToastProps } from '../../ui/toast';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
type ToasterToast = ToastProps & {
|
|
4
|
+
id: string;
|
|
5
|
+
title?: React.ReactNode;
|
|
6
|
+
description?: React.ReactNode;
|
|
7
|
+
action?: ToastActionElement;
|
|
8
|
+
duration?: number;
|
|
9
|
+
};
|
|
10
|
+
declare const actionTypes: {
|
|
11
|
+
readonly ADD_TOAST: "ADD_TOAST";
|
|
12
|
+
readonly UPDATE_TOAST: "UPDATE_TOAST";
|
|
13
|
+
readonly DISMISS_TOAST: "DISMISS_TOAST";
|
|
14
|
+
readonly REMOVE_TOAST: "REMOVE_TOAST";
|
|
15
|
+
};
|
|
16
|
+
export { actionTypes };
|
|
17
|
+
type ActionType = typeof actionTypes;
|
|
18
|
+
type Action = {
|
|
19
|
+
type: ActionType["ADD_TOAST"];
|
|
20
|
+
toast: ToasterToast;
|
|
21
|
+
} | {
|
|
22
|
+
type: ActionType["UPDATE_TOAST"];
|
|
23
|
+
toast: Partial<ToasterToast>;
|
|
24
|
+
} | {
|
|
25
|
+
type: ActionType["DISMISS_TOAST"];
|
|
26
|
+
toastId?: ToasterToast["id"];
|
|
27
|
+
} | {
|
|
28
|
+
type: ActionType["REMOVE_TOAST"];
|
|
29
|
+
toastId?: ToasterToast["id"];
|
|
30
|
+
};
|
|
31
|
+
interface State {
|
|
32
|
+
toasts: ToasterToast[];
|
|
33
|
+
}
|
|
34
|
+
export declare const reducer: (state: State, action: Action) => State;
|
|
35
|
+
type Toast = Omit<ToasterToast, "id">;
|
|
36
|
+
declare function toast({ duration, ...props }: Toast): {
|
|
37
|
+
id: string;
|
|
38
|
+
dismiss: () => void;
|
|
39
|
+
update: (props: ToasterToast) => void;
|
|
40
|
+
};
|
|
41
|
+
declare function useToast(): {
|
|
42
|
+
toast: typeof toast;
|
|
43
|
+
dismiss: (toastId?: string) => void;
|
|
44
|
+
toasts: ToasterToast[];
|
|
45
|
+
};
|
|
46
|
+
export { useToast, toast };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CountryCode } from '../../../../platform-utils/index.ts';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface CountryCodeSelectProps {
|
|
4
|
+
value?: string;
|
|
5
|
+
onChange?: (country: CountryCode) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
language?: 'en' | 'zh';
|
|
10
|
+
/** When set, only these ISO country codes are listed (e.g. CN/HK/MO/TW). */
|
|
11
|
+
allowedCodes?: string[];
|
|
12
|
+
/** Show search input. Defaults to false when `allowedCodes` is set, otherwise true. */
|
|
13
|
+
searchable?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare function CountryCodeSelect({ value, onChange, disabled, className, placeholder, language, allowedCodes, searchable, }: CountryCodeSelectProps): React.JSX.Element;
|
|
16
|
+
export default CountryCodeSelect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CountryCodeSelect, type CountryCodeSelectProps } from './CountryCodeSelect';
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { NotificationApiClient } from '../../features/notification/NotificationList';
|
|
3
|
+
import { SpaceApiClient } from '../../features/space/SpaceContext';
|
|
4
|
+
import { UserSettingsApiClient } from '../../../hooks/useUserSettings';
|
|
5
|
+
|
|
6
|
+
export interface User {
|
|
7
|
+
isLoggedIn?: boolean;
|
|
8
|
+
email?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
avatarUrl?: string | null;
|
|
11
|
+
token?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* One team-enabled built-in application shortcut (Odoo-style app bar).
|
|
15
|
+
* Parent should resolve `href` (e.g. `${appOrigin}/${appSlug}`) from config + team context.
|
|
16
|
+
*/
|
|
17
|
+
export interface EnabledBuiltInAppItem {
|
|
18
|
+
id: string;
|
|
19
|
+
label: string;
|
|
20
|
+
href: string;
|
|
21
|
+
icon?: React.ComponentType<{
|
|
22
|
+
className?: string;
|
|
23
|
+
}>;
|
|
24
|
+
}
|
|
25
|
+
export interface AppHeaderProps {
|
|
26
|
+
currentApp?: 'console' | 'workbench' | 'chat' | 'workspace';
|
|
27
|
+
/** Whether to show the Console entry. Gate this by the user's console access
|
|
28
|
+
* (e.g. in the Hub, application-only members have no console access). Default true. */
|
|
29
|
+
showConsoleEntry?: boolean;
|
|
30
|
+
/** Whether to show the Workspace (launcher) entry — the apps/agents home on the
|
|
31
|
+
* Hub. Default true; it's the universal "back to the launcher" affordance. */
|
|
32
|
+
showWorkspaceEntry?: boolean;
|
|
33
|
+
/** Whether to show the Chat entry. Gate this by whether the user has any usable
|
|
34
|
+
* chat target (the platform assistant or at least one accessible agent). When
|
|
35
|
+
* the user can open nothing, hide it rather than dead-ending on `/chat/assistant`.
|
|
36
|
+
* Use `useChatEntryTarget` to compute this consistently across planes. Default true. */
|
|
37
|
+
showChatEntry?: boolean;
|
|
38
|
+
/** In-app path the Chat entry opens, relative to `navigationConfig.chatUrl`.
|
|
39
|
+
* Defaults to `/chat/assistant`. Pass the resolved target from
|
|
40
|
+
* `useChatEntryTarget` so users without assistant access land on a usable agent. */
|
|
41
|
+
chatLandingPath?: string;
|
|
42
|
+
navigationConfig: {
|
|
43
|
+
/** Console (management) base URL — used for the "Console" entry button. */
|
|
44
|
+
consoleUrl: string;
|
|
45
|
+
/**
|
|
46
|
+
* Hub (main site / home) base URL — used for the brand/logo "home" link and
|
|
47
|
+
* the "Workspace" (launcher) entry. Falls back to
|
|
48
|
+
* `window.__APP_CONFIG__.APP_URL` (Hub base) then `consoleUrl` when omitted.
|
|
49
|
+
*/
|
|
50
|
+
appUrl?: string;
|
|
51
|
+
workbenchUrl: string;
|
|
52
|
+
chatUrl: string;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Built-in apps the current team has enabled (platform API). Shown after Console (desktop), before theme; in the mobile menu after Console.
|
|
56
|
+
*/
|
|
57
|
+
enabledBuiltInApps?: EnabledBuiltInAppItem[];
|
|
58
|
+
/** When the user is inside one of these apps, pass its `id` to highlight the matching shortcut.
|
|
59
|
+
*/
|
|
60
|
+
activeBuiltInAppId?: string | null;
|
|
61
|
+
/** Used to persist pinned built-in nav apps via `PUT /users/me/settings`. */
|
|
62
|
+
userSettingsApiClient?: UserSettingsApiClient;
|
|
63
|
+
user?: User | null;
|
|
64
|
+
onSignOut: () => void | Promise<void>;
|
|
65
|
+
profileUrl?: string;
|
|
66
|
+
showSpaceSwitcher?: boolean;
|
|
67
|
+
/** @deprecated Use showSpaceSwitcher */
|
|
68
|
+
showTeamSwitcher?: boolean;
|
|
69
|
+
showNotifications?: boolean;
|
|
70
|
+
showFeedback?: boolean;
|
|
71
|
+
notificationApiClient?: NotificationApiClient;
|
|
72
|
+
spaceApiClient?: SpaceApiClient;
|
|
73
|
+
/** @deprecated Use spaceApiClient */
|
|
74
|
+
teamApiClient?: SpaceApiClient;
|
|
75
|
+
getUnreadNotificationsCount?: () => Promise<{
|
|
76
|
+
success: boolean;
|
|
77
|
+
data: {
|
|
78
|
+
total: number;
|
|
79
|
+
};
|
|
80
|
+
}>;
|
|
81
|
+
onViewAllNotifications?: () => void;
|
|
82
|
+
reportIssueUrl?: string;
|
|
83
|
+
feedbackRecordsUrl?: string;
|
|
84
|
+
onReportIssue?: () => void;
|
|
85
|
+
onFeedbackRecords?: () => void;
|
|
86
|
+
brandChannel?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Optional host-provided brand logo URL (static config). The bundled
|
|
89
|
+
* GeniSpace mark renders by default — and immediately — so the app identity
|
|
90
|
+
* never depends on the hosting plane serving `/logo.svg`; a custom URL only
|
|
91
|
+
* augments it and falls back to the bundled mark if it fails to load.
|
|
92
|
+
*/
|
|
93
|
+
brandLogoUrl?: string;
|
|
94
|
+
theme?: 'light' | 'dark';
|
|
95
|
+
onToggleTheme?: () => void;
|
|
96
|
+
currentLanguage?: string;
|
|
97
|
+
onToggleLanguage?: () => void;
|
|
98
|
+
manageSpaceUrl?: string;
|
|
99
|
+
createSpaceUrl?: string;
|
|
100
|
+
/** @deprecated Use manageSpaceUrl */
|
|
101
|
+
manageTeamUrl?: string;
|
|
102
|
+
/** @deprecated Use createSpaceUrl */
|
|
103
|
+
createTeamUrl?: string;
|
|
104
|
+
signInUrl?: string;
|
|
105
|
+
titleBarDrag?: boolean;
|
|
106
|
+
trailingExtras?: React.ReactNode;
|
|
107
|
+
compactHeight?: boolean;
|
|
108
|
+
teamLinksOpenExternal?: boolean;
|
|
109
|
+
userMenuBeforeLogout?: (closeMenu: () => void) => React.ReactNode;
|
|
110
|
+
}
|
|
111
|
+
export declare function AppHeader({ currentApp, showConsoleEntry, showWorkspaceEntry, showChatEntry, chatLandingPath, navigationConfig, user, onSignOut, profileUrl, showSpaceSwitcher, showTeamSwitcher, showNotifications, showFeedback, notificationApiClient, getUnreadNotificationsCount, onViewAllNotifications, reportIssueUrl, feedbackRecordsUrl, onReportIssue, onFeedbackRecords, theme, onToggleTheme, currentLanguage, onToggleLanguage, manageSpaceUrl, createSpaceUrl, manageTeamUrl, createTeamUrl, signInUrl, titleBarDrag, trailingExtras, compactHeight, teamLinksOpenExternal, userMenuBeforeLogout, enabledBuiltInApps, activeBuiltInAppId, userSettingsApiClient, brandLogoUrl, }: AppHeaderProps): React.JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface AppWatermarkProps {
|
|
2
|
+
enabled?: boolean;
|
|
3
|
+
text?: string | null;
|
|
4
|
+
}
|
|
5
|
+
/** Renders a non-interactive diagonal watermark when enabled and text is present. */
|
|
6
|
+
export declare function AppWatermark({ enabled, text }: AppWatermarkProps): import("react").JSX.Element;
|
|
7
|
+
export { WatermarkOverlay, type WatermarkOverlayProps } from './WatermarkOverlay';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { UserSettingsApiClient } from '../../../hooks/useUserSettings';
|
|
2
|
+
|
|
3
|
+
export interface User {
|
|
4
|
+
isLoggedIn?: boolean;
|
|
5
|
+
name?: string;
|
|
6
|
+
email?: string;
|
|
7
|
+
token?: string;
|
|
8
|
+
avatarUrl?: string | null;
|
|
9
|
+
}
|
|
10
|
+
export interface NavigationConfig {
|
|
11
|
+
/** Console (management) base URL — used for the "Console" entry. */
|
|
12
|
+
consoleUrl: string;
|
|
13
|
+
/**
|
|
14
|
+
* Hub (main site / home) base URL — used for the brand/logo home link and
|
|
15
|
+
* public discovery pages (App Store / Explore). Falls back to
|
|
16
|
+
* `window.__APP_CONFIG__.APP_URL` (Hub base) then `consoleUrl` when omitted.
|
|
17
|
+
*/
|
|
18
|
+
appUrl?: string;
|
|
19
|
+
workbenchUrl: string;
|
|
20
|
+
chatUrl: string;
|
|
21
|
+
partnerUrl: string;
|
|
22
|
+
webUrl: string;
|
|
23
|
+
}
|
|
24
|
+
export interface PublicHeaderProps {
|
|
25
|
+
user?: User | null;
|
|
26
|
+
onSignOut: () => void | Promise<void>;
|
|
27
|
+
navigationConfig: NavigationConfig;
|
|
28
|
+
apiClient: UserSettingsApiClient;
|
|
29
|
+
currentLanguage?: string;
|
|
30
|
+
onToggleLanguage?: () => void;
|
|
31
|
+
navigation?: Array<{
|
|
32
|
+
name: string;
|
|
33
|
+
href: string;
|
|
34
|
+
}>;
|
|
35
|
+
signInUrl?: string;
|
|
36
|
+
profileUrl?: string;
|
|
37
|
+
onLogin?: () => void;
|
|
38
|
+
}
|
|
39
|
+
export declare function PublicHeader({ user, onSignOut, navigationConfig, apiClient, currentLanguage, onToggleLanguage, navigation, signInUrl, profileUrl, onLogin, }: PublicHeaderProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PublicHeaderProps } from './PublicHeader';
|
|
2
|
+
|
|
3
|
+
export interface PublicLayoutProps extends Omit<PublicHeaderProps, 'children'> {
|
|
4
|
+
showFooter?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare function PublicLayout({ showFooter, ...headerProps }: PublicLayoutProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { UserSettingsApiClient } from '../../../hooks/useUserSettings';
|
|
3
|
+
|
|
4
|
+
export interface ThemeToggleProps {
|
|
5
|
+
/**
|
|
6
|
+
* Optional API client for server synchronization.
|
|
7
|
+
* If provided, theme changes will be synced to the server.
|
|
8
|
+
* If not provided, theme changes will only be stored locally.
|
|
9
|
+
*/
|
|
10
|
+
apiClient?: UserSettingsApiClient | null;
|
|
11
|
+
/**
|
|
12
|
+
* Additional CSS class names to apply to the button
|
|
13
|
+
*/
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* ThemeToggle component for switching between light and dark themes.
|
|
18
|
+
*
|
|
19
|
+
* This component uses the `useAppSettings` hook from shared-ui to manage theme state
|
|
20
|
+
* and optionally sync with the server if an `apiClient` is provided.
|
|
21
|
+
* Settings are automatically synced across subdomains via Cookie.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```tsx
|
|
25
|
+
* // Without server sync (local only)
|
|
26
|
+
* <ThemeToggle />
|
|
27
|
+
*
|
|
28
|
+
* // With server sync
|
|
29
|
+
* import apiClient from '@/lib/api/apiClient';
|
|
30
|
+
* <ThemeToggle apiClient={apiClient} />
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare function ThemeToggle({ apiClient, className }: ThemeToggleProps): React.JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface WatermarkOverlayProps {
|
|
2
|
+
text: string;
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Non-interactive diagonal watermark. Uses a repeating SVG background (no DOM grid)
|
|
7
|
+
* and sits above content with pointer-events-none so clicks/drag pass through.
|
|
8
|
+
*/
|
|
9
|
+
export declare function WatermarkOverlay({ text, className }: WatermarkOverlayProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bundled GeniSpace brand mark (same asset as the planes' `public/logo.svg`).
|
|
3
|
+
*
|
|
4
|
+
* The header identity must render deterministically on EVERY plane. A root-
|
|
5
|
+
* absolute `/logo.svg` only resolves when the hosting app both ships the file
|
|
6
|
+
* and is served at the origin root — the console (path-mounted at /console/)
|
|
7
|
+
* and the workbench don't, so the brand mark intermittently disappeared.
|
|
8
|
+
* Shipping the mark inside the bundle removes the runtime fetch entirely;
|
|
9
|
+
* hosts can still override it via `AppHeaderProps.brandLogoUrl`.
|
|
10
|
+
*/
|
|
11
|
+
export declare const GENISPACE_LOGO_DATA_URI = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+WbvuWxgl8yIiBkYXRhLW5hbWU9IuWbvuWxgiAyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNzAwIDM0MS44MyI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogdXJsKCNf5pyq5ZG95ZCN55qE5riQ5Y+YXzYtMik7CiAgICAgIH0KCiAgICAgIC5jbHMtMiB7CiAgICAgICAgZmlsbDogdXJsKCNf5pyq5ZG95ZCN55qE5riQ5Y+YXzYpOwogICAgICB9CiAgICA8L3N0eWxlPgogICAgPGxpbmVhckdyYWRpZW50IGlkPSJf5pyq5ZG95ZCN55qE5riQ5Y+YXzYiIGRhdGEtbmFtZT0i5pyq5ZG95ZCN55qE5riQ5Y+YIDYiIHgxPSIyMi41MyIgeTE9IjI1NS43OSIgeDI9IjU4My45NiIgeTI9Ii02OC4zNiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgogICAgICA8c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiMzYjgyZjYiLz4KICAgICAgPHN0b3Agb2Zmc2V0PSIuMyIgc3RvcC1jb2xvcj0iIzYwNjBmMCIvPgogICAgICA8c3RvcCBvZmZzZXQ9Ii41NyIgc3RvcC1jb2xvcj0iIzdjNDdlZCIvPgogICAgICA8c3RvcCBvZmZzZXQ9Ii44MiIgc3RvcC1jb2xvcj0iIzhkMzhlYSIvPgogICAgICA8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM5MzMzZWEiLz4KICAgIDwvbGluZWFyR3JhZGllbnQ+CiAgICA8bGluZWFyR3JhZGllbnQgaWQ9Il/mnKrlkb3lkI3nmoTmuJDlj5hfNi0yIiBkYXRhLW5hbWU9IuacquWRveWQjeeahOa4kOWPmCA2IiB4MT0iNDIzLjI1IiB5MT0iMzIyLjQiIHgyPSI3MTYuMjYiIHkyPSIxNTMuMjMiIHhsaW5rOmhyZWY9IiNf5pyq5ZG95ZCN55qE5riQ5Y+YXzYiLz4KICA8L2RlZnM+CiAgPGcgaWQ9Il/lm77lsYJfMS0yIiBkYXRhLW5hbWU9IuWbvuWxgiAxIj4KICAgIDxnPgogICAgICA8cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik00OTMuOTcsMTAxLjg3bDcuODUsMzYuOTRjMS4wMyw2Ljk0LDEwLjMyLDEzLjc4LDIzLjA3LDYuMTZsMTMwLjI3LTkwLjAyQzYyMy45NywyMS42OCw1NzguMywwLDUyOS4wOSwwYy0yNi41LDAtNDguNTcsNC43My02OS4zOCwxNC44MS0xNy4zMSw4LjM5LTMyLjY3LDIwLjMyLTQ1LjUzLDM0LjYyLTguNjMsOS42LTE5LjA4LDIxLjYzLTI3LjE2LDMxLjAzLTQxLjA4LDQ3Ljc4LTEzMy43NiwxNTcuNDYtMjE1LjMxLDE0NC43N3YzMS42MWMwLDEuNDctMS43MywyLjI2LTIuODQsMS4yOWwtODUuMjUtNzQuMjJjLTIuODUtMi40OS0yLjg4LTYuOTEtLjA1LTkuNDNsODUuMDUtNzUuNTZjMS4xLS45OCwyLjg0LS4yLDIuODUsMS4yN2wuMjMsMzMuNDZjNjguMTQsMTkuMzcsMTM5LjExLTU1LjA3LDEzOS4xMS01NS4wNywwLDAtMTAuMDMtMTEuMTEtMTcuNy0yMC40M0MyNjEuOCwyMi41OSwyMjIuMDIsMCwxNzAuOTEsMCw3Ni41MiwwLDAsNzYuNTIsMCwxNzAuOTFzNzYuNTIsMTcwLjkxLDE3MC45MSwxNzAuOTFjMzQuMSwwLDU5LjkzLTguNTUsODcuNjQtMjUuODksMTMuNDEtOC4zOSwyNC45NC0xNy41NCwzNi4xNi0yNy4zMSwxNS4yNi0xMy4yOCwyOS43NS0yNy40MSw0My42MS00Mi4xM0w0NzYuNTksOTcuMTFjNS4wMy01LjI4LDE2LjI5LTIuNDUsMTcuMzgsNC43N1oiLz4KICAgICAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNjk5Ljk5LDE2OC42Yy0uNDQtMzMuMy0xMC40MS02NC4zLTI3LjMtOTAuNCwwLDAtMTU3LjUyLDE2My4zLTE3NS4zNiwxNzMuOTItNS4wMSwyLjk4LTExLjQ5LC4yOS0xMi45NC01LjM1bC0xMi42Mi00NC4zM2MtLjk0LTMuNjQtMy45Ny02LjA1LTcuMzctNi40OC0zLjQtLjg3LTcuMTktLjM2LTkuNjcsMi4wNGwtNjcuNjMsNjEuNzhjMzAuNzQsNDcuNzIsODMuMDMsODIuMTgsMTQyLjM4LDgyLjA1LDk0LjA5LS4yLDE3MS43Ny03OS4xNCwxNzAuNTItMTczLjIzWiIvPgogICAgPC9nPgogIDwvZz4KPC9zdmc+";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { AppHeader, type AppHeaderProps, type User as AppHeaderUser, type EnabledBuiltInAppItem, } from './AppHeader';
|
|
2
|
+
export * from './ThemeToggle';
|
|
3
|
+
export { PublicHeader, type PublicHeaderProps, type User as PublicHeaderUser, type NavigationConfig } from './PublicHeader';
|
|
4
|
+
export * from './PublicFooter';
|
|
5
|
+
export * from './PublicLayout';
|
|
6
|
+
export { AppWatermark, WatermarkOverlay, type AppWatermarkProps, type WatermarkOverlayProps } from './AppWatermark';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type ChartSkeletonType = 'line' | 'column' | 'bar' | 'area' | 'pie' | 'radar' | 'heatmap' | 'composedBar' | 'overlapBar';
|
|
2
|
+
export interface ChartAreaSkeletonProps {
|
|
3
|
+
/** 绘图区高度(px),与真实图高对齐以避免跳动 */
|
|
4
|
+
height: number;
|
|
5
|
+
chartType?: ChartSkeletonType;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* 图表区骨架屏:替换居中 spinner。
|
|
10
|
+
* - pie / radar:环形占位 + legend 条。
|
|
11
|
+
* - 其余笛卡尔图:y 轴刻度 + 柱形占位 + x 轴刻度。
|
|
12
|
+
*/
|
|
13
|
+
export declare function ChartAreaSkeleton({ height, chartType, className }: ChartAreaSkeletonProps): import("react").JSX.Element;
|
package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ChartEmptyState.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ChartSkeletonType } from './ChartAreaSkeleton';
|
|
3
|
+
|
|
4
|
+
export interface ChartEmptyStateProps {
|
|
5
|
+
/** 绘图区高度(px),与真实图高对齐避免跳动 */
|
|
6
|
+
height: number;
|
|
7
|
+
chartType?: ChartSkeletonType;
|
|
8
|
+
title?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
/** 操作按钮(如"重置筛选");不传则不渲染 */
|
|
11
|
+
action?: ReactNode;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function ChartEmptyState({ height, chartType, title, description, action, className, }: ChartEmptyStateProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface ComponentSkeletonShellProps {
|
|
4
|
+
/** 是否展示卡片标题骨架条 */
|
|
5
|
+
showHeader?: boolean;
|
|
6
|
+
/** 内容区骨架行数 */
|
|
7
|
+
lines?: number;
|
|
8
|
+
/** 最小高度(px),与 loaded 态对齐避免跳动 */
|
|
9
|
+
height?: number;
|
|
10
|
+
className?: string;
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* 通用组件骨架壳:无专用骨架的组件类型的兜底占位(卡片标题条 + 若干内容行)。
|
|
15
|
+
*/
|
|
16
|
+
export declare function ComponentSkeletonShell({ showHeader, lines, height, className, style, }: ComponentSkeletonShellProps): import("react").JSX.Element;
|