@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/knowledge/EvidenceCitation.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface EvidenceLocator {
|
|
4
|
+
type: string;
|
|
5
|
+
clauseId?: string | null;
|
|
6
|
+
headingAnchor?: string;
|
|
7
|
+
page?: number | null;
|
|
8
|
+
startOffset?: number | null;
|
|
9
|
+
endOffset?: number | null;
|
|
10
|
+
}
|
|
11
|
+
export interface EvidenceReference {
|
|
12
|
+
evidenceId: string;
|
|
13
|
+
snippet: string;
|
|
14
|
+
locator: EvidenceLocator;
|
|
15
|
+
documentId?: string | null;
|
|
16
|
+
revisionId?: string | null;
|
|
17
|
+
documentTitle?: string;
|
|
18
|
+
documentNumber?: string | null;
|
|
19
|
+
lifecycleStatus?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface EvidenceCitationProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'onClick'> {
|
|
22
|
+
evidence?: EvidenceReference | null;
|
|
23
|
+
fallbackLabel?: ReactNode;
|
|
24
|
+
onActivate?: (evidence: EvidenceReference) => void;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Interactive only after the caller resolves the id against server evidence.
|
|
28
|
+
* A model-authored or stale id therefore renders as a disabled citation.
|
|
29
|
+
*/
|
|
30
|
+
export declare function EvidenceCitation({ evidence, fallbackLabel, onActivate, className, ...props }: EvidenceCitationProps): import("react").JSX.Element;
|
package/dist/components/shared/platform-ui/components/features/knowledge/HighlightedSnippet.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface HighlightRange {
|
|
4
|
+
start: number;
|
|
5
|
+
end: number;
|
|
6
|
+
}
|
|
7
|
+
export interface HighlightedSnippetProps extends HTMLAttributes<HTMLSpanElement> {
|
|
8
|
+
text: string;
|
|
9
|
+
query?: string;
|
|
10
|
+
ranges?: HighlightRange[];
|
|
11
|
+
renderHighlight?: (value: string, index: number) => ReactNode;
|
|
12
|
+
}
|
|
13
|
+
/** Render server/query highlights as React nodes, never as injected HTML. */
|
|
14
|
+
export declare function HighlightedSnippet({ text, query, ranges, renderHighlight, className, ...props }: HighlightedSnippetProps): import("react").JSX.Element;
|
package/dist/components/shared/platform-ui/components/features/notification/NotificationBell.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NotificationApiClient } from './NotificationList';
|
|
2
|
+
|
|
3
|
+
interface NotificationBellProps {
|
|
4
|
+
apiClient: NotificationApiClient;
|
|
5
|
+
onViewAll?: () => void;
|
|
6
|
+
getUnreadCount?: () => Promise<{
|
|
7
|
+
success: boolean;
|
|
8
|
+
data: {
|
|
9
|
+
total: number;
|
|
10
|
+
};
|
|
11
|
+
}>;
|
|
12
|
+
}
|
|
13
|
+
export declare function NotificationBell({ apiClient, onViewAll, getUnreadCount }: NotificationBellProps): import("react").JSX.Element;
|
|
14
|
+
export {};
|
package/dist/components/shared/platform-ui/components/features/notification/NotificationList.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export interface Notification {
|
|
2
|
+
id: string;
|
|
3
|
+
title: string;
|
|
4
|
+
content: string;
|
|
5
|
+
type: 'INFO' | 'WARN' | 'ERROR' | 'SUCCESS' | 'ALERT' | 'SYSTEM';
|
|
6
|
+
scope: 'USER' | 'TEAM' | 'PLATFORM';
|
|
7
|
+
status: 'UNREAD' | 'READ' | 'ARCHIVED';
|
|
8
|
+
priority: 'LOW' | 'MEDIUM' | 'HIGH' | 'URGENT';
|
|
9
|
+
createdAt: string;
|
|
10
|
+
readAt: string | null;
|
|
11
|
+
relatedUrl: string | null;
|
|
12
|
+
senderUser?: {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
avatarUrl: string | null;
|
|
16
|
+
};
|
|
17
|
+
actions?: {
|
|
18
|
+
id: string;
|
|
19
|
+
label: string;
|
|
20
|
+
url: string | null;
|
|
21
|
+
action: string | null;
|
|
22
|
+
}[];
|
|
23
|
+
}
|
|
24
|
+
export interface NotificationApiClient {
|
|
25
|
+
get: (url: string, config?: unknown) => Promise<{
|
|
26
|
+
data: unknown;
|
|
27
|
+
}>;
|
|
28
|
+
patch: (url: string, data?: unknown) => Promise<{
|
|
29
|
+
data: unknown;
|
|
30
|
+
}>;
|
|
31
|
+
}
|
|
32
|
+
interface NotificationListProps {
|
|
33
|
+
apiClient: NotificationApiClient;
|
|
34
|
+
onClose?: () => void;
|
|
35
|
+
onViewAll?: () => void;
|
|
36
|
+
maxHeight?: string;
|
|
37
|
+
showHeader?: boolean;
|
|
38
|
+
isPopover?: boolean;
|
|
39
|
+
}
|
|
40
|
+
export declare function NotificationList({ apiClient, onViewAll, maxHeight, showHeader, isPopover }: NotificationListProps): import("react").JSX.Element;
|
|
41
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface RichTextFieldProps {
|
|
2
|
+
value: string;
|
|
3
|
+
onChange: (html: string) => void;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
minHeight?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Tiptap-based rich text (P2). Stores HTML; use for long description/narration fields.
|
|
11
|
+
* Requires peer deps: @tiptap/react, @tiptap/starter-kit, @tiptap/extension-underline, @tiptap/extension-placeholder.
|
|
12
|
+
*/
|
|
13
|
+
export declare function RichTextField({ value, onChange, placeholder, disabled, className, minHeight, }: RichTextFieldProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
import { SpaceSettings } from '../../../../platform-utils/index.ts';
|
|
3
|
+
|
|
4
|
+
export type SubscriptionPlan = 'FREE' | 'PERSONAL' | 'PRO' | 'TEAM' | 'ENTERPRISE';
|
|
5
|
+
export interface SpaceOwner {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
email: string;
|
|
9
|
+
subscriptionPlan: SubscriptionPlan;
|
|
10
|
+
subscriptionExpiry: string;
|
|
11
|
+
}
|
|
12
|
+
export interface Space {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
type: 'personal' | 'collaborative';
|
|
17
|
+
role?: 'owner' | 'admin' | 'member' | 'viewer';
|
|
18
|
+
memberCount?: number;
|
|
19
|
+
createdAt: string;
|
|
20
|
+
updatedAt?: string;
|
|
21
|
+
avatar?: string | null;
|
|
22
|
+
members?: SpaceMember[];
|
|
23
|
+
currentUserRole?: string;
|
|
24
|
+
owner?: SpaceOwner;
|
|
25
|
+
subscriptionPlan?: SubscriptionPlan;
|
|
26
|
+
settings?: SpaceSettings;
|
|
27
|
+
resources?: {
|
|
28
|
+
total: number;
|
|
29
|
+
agents: number;
|
|
30
|
+
operators: number;
|
|
31
|
+
knowledgeBases: number;
|
|
32
|
+
tasks: number;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export interface SpaceMember {
|
|
36
|
+
id: string;
|
|
37
|
+
name: string;
|
|
38
|
+
email: string;
|
|
39
|
+
avatar?: string | null;
|
|
40
|
+
role: string;
|
|
41
|
+
roleName?: string;
|
|
42
|
+
joinedAt?: string;
|
|
43
|
+
status?: string;
|
|
44
|
+
lastActive?: string | null;
|
|
45
|
+
}
|
|
46
|
+
export declare const roleColors: {
|
|
47
|
+
OWNER: string;
|
|
48
|
+
ADMINISTRATOR: string;
|
|
49
|
+
ADMIN: string;
|
|
50
|
+
MEMBER: string;
|
|
51
|
+
VIEWER: string;
|
|
52
|
+
owner: string;
|
|
53
|
+
admin: string;
|
|
54
|
+
member: string;
|
|
55
|
+
viewer: string;
|
|
56
|
+
};
|
|
57
|
+
export declare const useRoleNames: () => {
|
|
58
|
+
OWNER: string;
|
|
59
|
+
ADMINISTRATOR: string;
|
|
60
|
+
ADMIN: string;
|
|
61
|
+
MEMBER: string;
|
|
62
|
+
VIEWER: string;
|
|
63
|
+
owner: string;
|
|
64
|
+
administrator: string;
|
|
65
|
+
member: string;
|
|
66
|
+
viewer: string;
|
|
67
|
+
};
|
|
68
|
+
export declare const getRoleName: (role: string, language?: string) => string;
|
|
69
|
+
export declare const getRoleNameEn: (role: string) => string;
|
|
70
|
+
export declare const getRoleClass: (role: string) => string;
|
|
71
|
+
export declare const getSpaceIconType: (space: Space) => "personal" | "personal-pro" | "space" | "enterprise";
|
|
72
|
+
export declare const getSpaceIconStyle: (space: Space) => string;
|
|
73
|
+
export interface SpaceApiClient {
|
|
74
|
+
get: (url: string, params?: Record<string, unknown>, config?: any) => Promise<{
|
|
75
|
+
success: boolean;
|
|
76
|
+
data: unknown;
|
|
77
|
+
message?: string;
|
|
78
|
+
}>;
|
|
79
|
+
post: (url: string, data?: unknown, config?: any) => Promise<{
|
|
80
|
+
success: boolean;
|
|
81
|
+
data: unknown;
|
|
82
|
+
message?: string;
|
|
83
|
+
}>;
|
|
84
|
+
put: (url: string, data?: unknown, config?: any) => Promise<{
|
|
85
|
+
success: boolean;
|
|
86
|
+
data: unknown;
|
|
87
|
+
message?: string;
|
|
88
|
+
}>;
|
|
89
|
+
}
|
|
90
|
+
interface SpaceContextType {
|
|
91
|
+
spaces: Space[];
|
|
92
|
+
/** @deprecated Use `spaces` — compat alias until Phase 7 */
|
|
93
|
+
teams: Space[];
|
|
94
|
+
currentSpace: Space | null;
|
|
95
|
+
spaceMembers: SpaceMember[];
|
|
96
|
+
loading: boolean;
|
|
97
|
+
isSwitchingSpace: boolean;
|
|
98
|
+
error: string | null;
|
|
99
|
+
fetchSpaces: () => Promise<void>;
|
|
100
|
+
switchSpace: (space: Space, options?: {
|
|
101
|
+
skipNavigation?: boolean;
|
|
102
|
+
}) => Promise<void>;
|
|
103
|
+
fetchSpaceMembers: (spaceId: string) => Promise<void>;
|
|
104
|
+
updateCurrentSpaceSettings: (settings: SpaceSettings) => void;
|
|
105
|
+
}
|
|
106
|
+
export declare const SpaceContext: React.Context<SpaceContextType>;
|
|
107
|
+
export interface SpaceProviderProps {
|
|
108
|
+
apiClient: SpaceApiClient;
|
|
109
|
+
user?: {
|
|
110
|
+
isLoggedIn?: boolean;
|
|
111
|
+
} | null;
|
|
112
|
+
onNavigate?: (path: string, options?: {
|
|
113
|
+
replace?: boolean;
|
|
114
|
+
}) => void;
|
|
115
|
+
onSpaceSwitch?: (spaceId: string) => void | Promise<void>;
|
|
116
|
+
spaceSwitchRedirectPath?: string;
|
|
117
|
+
children: ReactNode;
|
|
118
|
+
}
|
|
119
|
+
export declare const SpaceProvider: React.FC<SpaceProviderProps>;
|
|
120
|
+
export declare const useSpace: () => SpaceContextType;
|
|
121
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface SpaceSwitcherProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
manageSpaceUrl?: string;
|
|
4
|
+
createSpaceUrl?: string;
|
|
5
|
+
/** @deprecated Use manageSpaceUrl */
|
|
6
|
+
manageTeamUrl?: string;
|
|
7
|
+
/** @deprecated Use createSpaceUrl */
|
|
8
|
+
createTeamUrl?: string;
|
|
9
|
+
openSpaceLinksInExternalBrowser?: boolean;
|
|
10
|
+
/** @deprecated Use openSpaceLinksInExternalBrowser */
|
|
11
|
+
openTeamLinksInExternalBrowser?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function SpaceSwitcher({ className, manageSpaceUrl, createSpaceUrl, manageTeamUrl, createTeamUrl, openSpaceLinksInExternalBrowser, openTeamLinksInExternalBrowser, }: SpaceSwitcherProps): import("react").JSX.Element;
|
package/dist/components/shared/platform-ui/components/features/subscription/SubscriptionContext.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SubscriptionContext as SubscriptionContextType, SubscriptionPlan, FeatureKey, ResourceType, UpgradePrompt } from './types';
|
|
3
|
+
|
|
4
|
+
interface SubscriptionContextValue {
|
|
5
|
+
context: SubscriptionContextType;
|
|
6
|
+
isLoading: boolean;
|
|
7
|
+
error: Error | null;
|
|
8
|
+
isStandalone: boolean;
|
|
9
|
+
canAccess: (featureKey: FeatureKey) => boolean;
|
|
10
|
+
hasPlan: (requiredPlan: SubscriptionPlan) => boolean;
|
|
11
|
+
checkLimit: (resourceType: ResourceType, currentCount?: number) => boolean;
|
|
12
|
+
getFeatureUpgradePrompt: (featureKey: FeatureKey) => UpgradePrompt | null;
|
|
13
|
+
getResourceUpgradePrompt: (resourceType: ResourceType) => UpgradePrompt | null;
|
|
14
|
+
refresh: () => Promise<void>;
|
|
15
|
+
}
|
|
16
|
+
declare const SubscriptionContextInstance: import('react').Context<SubscriptionContextValue>;
|
|
17
|
+
interface SubscriptionProviderProps {
|
|
18
|
+
children: ReactNode;
|
|
19
|
+
fetchSubscriptionContext: (spaceId?: string) => Promise<SubscriptionContextType>;
|
|
20
|
+
spaceId?: string;
|
|
21
|
+
initialData?: SubscriptionContextType;
|
|
22
|
+
isLoggedIn?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export declare function SubscriptionProvider({ children, fetchSubscriptionContext, spaceId, initialData, isLoggedIn, }: SubscriptionProviderProps): import("react").JSX.Element;
|
|
25
|
+
export declare function useSubscriptionContext(): SubscriptionContextValue;
|
|
26
|
+
export { SubscriptionContextInstance };
|
package/dist/components/shared/platform-ui/components/features/subscription/SubscriptionGuard.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ReactNode, ReactElement } from 'react';
|
|
2
|
+
import { SubscriptionPlan, FeatureKey, ResourceType, UpgradePrompt } from './types';
|
|
3
|
+
|
|
4
|
+
interface SubscriptionGuardProps {
|
|
5
|
+
feature?: FeatureKey;
|
|
6
|
+
requiredPlan?: SubscriptionPlan;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
fallback?: ReactNode;
|
|
9
|
+
showUpgradePrompt?: boolean;
|
|
10
|
+
renderUpgradePrompt?: (prompt: UpgradePrompt) => ReactElement;
|
|
11
|
+
}
|
|
12
|
+
export declare function SubscriptionGuard({ feature, requiredPlan, children, fallback, showUpgradePrompt, renderUpgradePrompt, }: SubscriptionGuardProps): ReactElement | null;
|
|
13
|
+
interface ResourceLimitGuardProps {
|
|
14
|
+
resource: ResourceType;
|
|
15
|
+
currentCount?: number;
|
|
16
|
+
children: ReactNode;
|
|
17
|
+
fallback?: ReactNode;
|
|
18
|
+
onLimitReached?: () => void;
|
|
19
|
+
showUpgradePrompt?: boolean;
|
|
20
|
+
renderUpgradePrompt?: (prompt: UpgradePrompt) => ReactElement;
|
|
21
|
+
}
|
|
22
|
+
export declare function ResourceLimitGuard({ resource, currentCount, children, fallback, onLimitReached, showUpgradePrompt, renderUpgradePrompt, }: ResourceLimitGuardProps): ReactElement | null;
|
|
23
|
+
interface FeatureFlagProps {
|
|
24
|
+
feature: FeatureKey;
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
otherwise?: ReactNode;
|
|
27
|
+
}
|
|
28
|
+
export declare function FeatureFlag({ feature, children, otherwise, }: FeatureFlagProps): ReactElement | null;
|
|
29
|
+
interface PlanRequiredProps {
|
|
30
|
+
plan: SubscriptionPlan;
|
|
31
|
+
children: ReactNode;
|
|
32
|
+
otherwise?: ReactNode;
|
|
33
|
+
}
|
|
34
|
+
export declare function PlanRequired({ plan, children, otherwise, }: PlanRequiredProps): ReactElement | null;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { SubscriptionPlan, FeatureKey, ResourceType } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const PLAN_HIERARCHY: SubscriptionPlan[];
|
|
4
|
+
export declare const PLAN_DISPLAY_NAMES: Record<SubscriptionPlan, string>;
|
|
5
|
+
export declare const FEATURE_DISPLAY_NAMES: Record<FeatureKey, string>;
|
|
6
|
+
export declare const RESOURCE_DISPLAY_NAMES: Record<ResourceType, string>;
|
|
7
|
+
export declare const FEATURE_KEYS: FeatureKey[];
|
|
8
|
+
export declare const RESOURCE_TYPES: ResourceType[];
|
|
9
|
+
export declare const DEFAULT_SUBSCRIPTION_CONTEXT: {
|
|
10
|
+
subscription: {
|
|
11
|
+
plan: SubscriptionPlan;
|
|
12
|
+
expiry: any;
|
|
13
|
+
isActive: boolean;
|
|
14
|
+
source: "DEFAULT";
|
|
15
|
+
isStandalone: boolean;
|
|
16
|
+
};
|
|
17
|
+
limits: {
|
|
18
|
+
teamsLimit: number;
|
|
19
|
+
teamMembersLimit: number;
|
|
20
|
+
canCreateCollaborativeTeams: boolean;
|
|
21
|
+
canInviteMembers: boolean;
|
|
22
|
+
agentLimit: number;
|
|
23
|
+
taskLimit: number;
|
|
24
|
+
knowledgeBaseLimit: number;
|
|
25
|
+
datasetLimit: number;
|
|
26
|
+
maxFileSize: number;
|
|
27
|
+
quotasPerMonth: number;
|
|
28
|
+
quotasCarryOver: boolean;
|
|
29
|
+
quotasCarryOverMaxMonths: number;
|
|
30
|
+
vectorStorageGB: number;
|
|
31
|
+
fileStorageGB: number;
|
|
32
|
+
apiRequestsPerMonth: number;
|
|
33
|
+
maxConcurrentTasks: number;
|
|
34
|
+
};
|
|
35
|
+
features: {
|
|
36
|
+
advancedModels: boolean;
|
|
37
|
+
customOperators: boolean;
|
|
38
|
+
apiAccess: boolean;
|
|
39
|
+
auditLogs: boolean;
|
|
40
|
+
sso: boolean;
|
|
41
|
+
prioritySupport: boolean;
|
|
42
|
+
scheduledTasks: boolean;
|
|
43
|
+
webhooks: boolean;
|
|
44
|
+
dataExport: boolean;
|
|
45
|
+
teamCollaboration: boolean;
|
|
46
|
+
advancedAnalytics: boolean;
|
|
47
|
+
customIntegrations: boolean;
|
|
48
|
+
slaGuarantee: boolean;
|
|
49
|
+
rbacControl: boolean;
|
|
50
|
+
};
|
|
51
|
+
usage: {
|
|
52
|
+
agent: number;
|
|
53
|
+
task: number;
|
|
54
|
+
knowledgeBase: number;
|
|
55
|
+
dataset: number;
|
|
56
|
+
team: number;
|
|
57
|
+
teamMember: number;
|
|
58
|
+
};
|
|
59
|
+
remaining: {
|
|
60
|
+
agent: number;
|
|
61
|
+
task: number;
|
|
62
|
+
knowledgeBase: number;
|
|
63
|
+
dataset: number;
|
|
64
|
+
team: number;
|
|
65
|
+
teamMember: number;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export declare const STANDALONE_SUBSCRIPTION_CONTEXT: {
|
|
69
|
+
subscription: {
|
|
70
|
+
plan: SubscriptionPlan;
|
|
71
|
+
expiry: any;
|
|
72
|
+
isActive: boolean;
|
|
73
|
+
source: "STANDALONE";
|
|
74
|
+
isStandalone: boolean;
|
|
75
|
+
};
|
|
76
|
+
limits: {
|
|
77
|
+
teamsLimit: number;
|
|
78
|
+
teamMembersLimit: number;
|
|
79
|
+
canCreateCollaborativeTeams: boolean;
|
|
80
|
+
canInviteMembers: boolean;
|
|
81
|
+
agentLimit: number;
|
|
82
|
+
taskLimit: number;
|
|
83
|
+
knowledgeBaseLimit: number;
|
|
84
|
+
datasetLimit: number;
|
|
85
|
+
maxFileSize: number;
|
|
86
|
+
quotasPerMonth: number;
|
|
87
|
+
quotasCarryOver: boolean;
|
|
88
|
+
quotasCarryOverMaxMonths: number;
|
|
89
|
+
vectorStorageGB: number;
|
|
90
|
+
fileStorageGB: number;
|
|
91
|
+
apiRequestsPerMonth: number;
|
|
92
|
+
maxConcurrentTasks: number;
|
|
93
|
+
};
|
|
94
|
+
features: {
|
|
95
|
+
advancedModels: boolean;
|
|
96
|
+
customOperators: boolean;
|
|
97
|
+
apiAccess: boolean;
|
|
98
|
+
auditLogs: boolean;
|
|
99
|
+
sso: boolean;
|
|
100
|
+
prioritySupport: boolean;
|
|
101
|
+
scheduledTasks: boolean;
|
|
102
|
+
webhooks: boolean;
|
|
103
|
+
dataExport: boolean;
|
|
104
|
+
teamCollaboration: boolean;
|
|
105
|
+
advancedAnalytics: boolean;
|
|
106
|
+
customIntegrations: boolean;
|
|
107
|
+
slaGuarantee: boolean;
|
|
108
|
+
rbacControl: boolean;
|
|
109
|
+
};
|
|
110
|
+
usage: {
|
|
111
|
+
agent: number;
|
|
112
|
+
task: number;
|
|
113
|
+
knowledgeBase: number;
|
|
114
|
+
dataset: number;
|
|
115
|
+
team: number;
|
|
116
|
+
teamMember: number;
|
|
117
|
+
};
|
|
118
|
+
remaining: {
|
|
119
|
+
agent: number;
|
|
120
|
+
task: number;
|
|
121
|
+
knowledgeBase: number;
|
|
122
|
+
dataset: number;
|
|
123
|
+
team: number;
|
|
124
|
+
teamMember: number;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { SubscriptionContext, SubscriptionLimits, SubscriptionFeatures, ResourceUsage, ResourceRemaining, ResourceType, FeatureKey, AllPlansDetails } from './types';
|
|
2
|
+
|
|
3
|
+
export interface ApiClientInterface {
|
|
4
|
+
get<T>(url: string, params?: unknown, config?: unknown): Promise<{
|
|
5
|
+
success: boolean;
|
|
6
|
+
data?: T;
|
|
7
|
+
message?: string;
|
|
8
|
+
}>;
|
|
9
|
+
}
|
|
10
|
+
export interface SubscriptionService {
|
|
11
|
+
getSubscriptionContext(spaceId?: string): Promise<SubscriptionContext>;
|
|
12
|
+
getSubscriptionLimits(spaceId?: string): Promise<{
|
|
13
|
+
limits: SubscriptionLimits;
|
|
14
|
+
usage: ResourceUsage;
|
|
15
|
+
remaining: ResourceRemaining;
|
|
16
|
+
isStandalone: boolean;
|
|
17
|
+
}>;
|
|
18
|
+
getSubscriptionFeatures(): Promise<{
|
|
19
|
+
features: SubscriptionFeatures;
|
|
20
|
+
isStandalone: boolean;
|
|
21
|
+
}>;
|
|
22
|
+
checkResourceLimit(resourceType: ResourceType, spaceId?: string): Promise<{
|
|
23
|
+
allowed: boolean;
|
|
24
|
+
current: number;
|
|
25
|
+
limit: number;
|
|
26
|
+
remaining: number;
|
|
27
|
+
}>;
|
|
28
|
+
checkFeatureAccess(featureKey: FeatureKey): Promise<{
|
|
29
|
+
feature: string;
|
|
30
|
+
enabled: boolean;
|
|
31
|
+
}>;
|
|
32
|
+
getPlanDetails(): Promise<AllPlansDetails>;
|
|
33
|
+
}
|
|
34
|
+
export declare function createSubscriptionService(apiClient: ApiClientInterface): SubscriptionService;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type { SubscriptionPlan, SubscriptionSource, SubscriptionInfo, SubscriptionLimits, ResourceUsage, ResourceRemaining, SubscriptionFeatures, FeatureKey, SubscriptionContext, SubscriptionContextResponse, SubscriptionLimitsResponse, SubscriptionFeaturesResponse, ResourceLimitCheckResponse, FeatureCheckResponse, UpgradePrompt, ResourceType, PlanDetails, AllPlansDetails, DisplayLimit, SubscriptionDisplay, } from './types';
|
|
2
|
+
export { PLAN_HIERARCHY, PLAN_DISPLAY_NAMES, FEATURE_DISPLAY_NAMES, RESOURCE_DISPLAY_NAMES, FEATURE_KEYS, RESOURCE_TYPES, DEFAULT_SUBSCRIPTION_CONTEXT, STANDALONE_SUBSCRIPTION_CONTEXT, } from './constants';
|
|
3
|
+
export { isPlanSufficient, getUpgradePath, getNextPlan, getPlanDisplayName, getFeatureDisplayName, getResourceDisplayName, generateFeatureUpgradePrompt, generateResourceUpgradePrompt, formatLimitValue, isUnlimited, calculateUsagePercentage, getUsageLevel, } from './utils';
|
|
4
|
+
export { SubscriptionProvider, useSubscriptionContext, SubscriptionContextInstance, } from './SubscriptionContext';
|
|
5
|
+
export { useSubscription, type UseSubscriptionReturn, } from './useSubscription';
|
|
6
|
+
export { SubscriptionGuard, ResourceLimitGuard, FeatureFlag, PlanRequired, } from './SubscriptionGuard';
|
|
7
|
+
export { createSubscriptionService, type ApiClientInterface, type SubscriptionService, } from './createSubscriptionService';
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
export type SubscriptionPlan = 'FREE' | 'PERSONAL' | 'TEAM' | 'ENTERPRISE';
|
|
2
|
+
export type SubscriptionSource = 'PERSONAL' | 'TEAM' | 'DEFAULT' | 'STANDALONE';
|
|
3
|
+
export interface SubscriptionInfo {
|
|
4
|
+
plan: SubscriptionPlan;
|
|
5
|
+
expiry: string | null;
|
|
6
|
+
isActive: boolean;
|
|
7
|
+
source: SubscriptionSource;
|
|
8
|
+
isStandalone: boolean;
|
|
9
|
+
spaceId?: string;
|
|
10
|
+
spaceName?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface SubscriptionLimits {
|
|
13
|
+
teamsLimit: number;
|
|
14
|
+
teamMembersLimit: number;
|
|
15
|
+
canCreateCollaborativeTeams?: boolean;
|
|
16
|
+
canInviteMembers?: boolean;
|
|
17
|
+
agentLimit: number;
|
|
18
|
+
taskLimit: number;
|
|
19
|
+
knowledgeBaseLimit: number;
|
|
20
|
+
datasetLimit: number;
|
|
21
|
+
maxFileSize: number;
|
|
22
|
+
quotasPerMonth?: number;
|
|
23
|
+
quotasCarryOver?: boolean;
|
|
24
|
+
quotasCarryOverMaxMonths?: number;
|
|
25
|
+
vectorStorageGB?: number;
|
|
26
|
+
fileStorageGB?: number;
|
|
27
|
+
apiRequestsPerMonth: number;
|
|
28
|
+
maxConcurrentTasks: number;
|
|
29
|
+
}
|
|
30
|
+
export interface ResourceUsage {
|
|
31
|
+
agent: number;
|
|
32
|
+
task: number;
|
|
33
|
+
knowledgeBase: number;
|
|
34
|
+
dataset: number;
|
|
35
|
+
team: number;
|
|
36
|
+
teamMember: number;
|
|
37
|
+
}
|
|
38
|
+
export interface ResourceRemaining {
|
|
39
|
+
agent: number;
|
|
40
|
+
task: number;
|
|
41
|
+
knowledgeBase: number;
|
|
42
|
+
dataset: number;
|
|
43
|
+
team: number;
|
|
44
|
+
teamMember: number;
|
|
45
|
+
}
|
|
46
|
+
export interface SubscriptionFeatures {
|
|
47
|
+
advancedModels: boolean;
|
|
48
|
+
customOperators: boolean;
|
|
49
|
+
apiAccess: boolean;
|
|
50
|
+
auditLogs: boolean;
|
|
51
|
+
sso: boolean;
|
|
52
|
+
prioritySupport: boolean;
|
|
53
|
+
scheduledTasks: boolean;
|
|
54
|
+
webhooks: boolean;
|
|
55
|
+
dataExport: boolean;
|
|
56
|
+
teamCollaboration: boolean;
|
|
57
|
+
advancedAnalytics: boolean;
|
|
58
|
+
customIntegrations?: boolean;
|
|
59
|
+
slaGuarantee?: boolean;
|
|
60
|
+
rbacControl?: boolean;
|
|
61
|
+
}
|
|
62
|
+
export type FeatureKey = keyof SubscriptionFeatures;
|
|
63
|
+
export interface TokenBalance {
|
|
64
|
+
total: number;
|
|
65
|
+
subscription: number;
|
|
66
|
+
recharged: number;
|
|
67
|
+
expiresAt?: string | null;
|
|
68
|
+
}
|
|
69
|
+
export interface DisplayLimit {
|
|
70
|
+
key: string;
|
|
71
|
+
label: string;
|
|
72
|
+
value: string;
|
|
73
|
+
rawValue: number;
|
|
74
|
+
}
|
|
75
|
+
export interface SubscriptionDisplay {
|
|
76
|
+
planName: string;
|
|
77
|
+
features: string[];
|
|
78
|
+
limits: DisplayLimit[];
|
|
79
|
+
}
|
|
80
|
+
export interface SubscriptionContext {
|
|
81
|
+
subscription: SubscriptionInfo;
|
|
82
|
+
limits: SubscriptionLimits;
|
|
83
|
+
features: SubscriptionFeatures;
|
|
84
|
+
usage: ResourceUsage;
|
|
85
|
+
remaining: ResourceRemaining;
|
|
86
|
+
tokenBalance?: TokenBalance;
|
|
87
|
+
display?: SubscriptionDisplay;
|
|
88
|
+
}
|
|
89
|
+
export interface SubscriptionContextResponse {
|
|
90
|
+
success: boolean;
|
|
91
|
+
data: SubscriptionContext;
|
|
92
|
+
}
|
|
93
|
+
export interface SubscriptionLimitsResponse {
|
|
94
|
+
success: boolean;
|
|
95
|
+
data: {
|
|
96
|
+
limits: SubscriptionLimits;
|
|
97
|
+
usage: ResourceUsage;
|
|
98
|
+
remaining: ResourceRemaining;
|
|
99
|
+
isStandalone: boolean;
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
export interface SubscriptionFeaturesResponse {
|
|
103
|
+
success: boolean;
|
|
104
|
+
data: {
|
|
105
|
+
features: SubscriptionFeatures;
|
|
106
|
+
isStandalone: boolean;
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
export interface ResourceLimitCheckResponse {
|
|
110
|
+
success: boolean;
|
|
111
|
+
data: {
|
|
112
|
+
allowed: boolean;
|
|
113
|
+
current: number;
|
|
114
|
+
limit: number;
|
|
115
|
+
remaining: number;
|
|
116
|
+
isStandalone?: boolean;
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
export interface FeatureCheckResponse {
|
|
120
|
+
success: boolean;
|
|
121
|
+
data: {
|
|
122
|
+
feature: string;
|
|
123
|
+
enabled: boolean;
|
|
124
|
+
isStandalone?: boolean;
|
|
125
|
+
reason?: string;
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
export interface UpgradePrompt {
|
|
129
|
+
currentPlan: SubscriptionPlan;
|
|
130
|
+
suggestedPlan: SubscriptionPlan;
|
|
131
|
+
title: string;
|
|
132
|
+
description: string;
|
|
133
|
+
blockedItem: string;
|
|
134
|
+
}
|
|
135
|
+
export type ResourceType = 'agent' | 'task' | 'knowledgeBase' | 'dataset' | 'team' | 'teamMember';
|
|
136
|
+
export interface PlanDetails {
|
|
137
|
+
name: string;
|
|
138
|
+
code: SubscriptionPlan;
|
|
139
|
+
teamsLimit: number;
|
|
140
|
+
teamMembersLimit: number;
|
|
141
|
+
canCreateCollaborativeTeams: boolean;
|
|
142
|
+
canInviteMembers: boolean;
|
|
143
|
+
agentLimit: number;
|
|
144
|
+
taskLimit: number;
|
|
145
|
+
knowledgeBaseLimit: number;
|
|
146
|
+
datasetLimit: number;
|
|
147
|
+
maxFileSize: number;
|
|
148
|
+
quotasPerMonth: number;
|
|
149
|
+
quotasCarryOver: boolean;
|
|
150
|
+
quotasCarryOverMaxMonths: number;
|
|
151
|
+
vectorStorageGB: number;
|
|
152
|
+
fileStorageGB: number;
|
|
153
|
+
apiRequestsPerMonth: number;
|
|
154
|
+
maxConcurrentTasks: number;
|
|
155
|
+
features: SubscriptionFeatures;
|
|
156
|
+
}
|
|
157
|
+
export interface AllPlansDetails {
|
|
158
|
+
plans: Record<SubscriptionPlan, PlanDetails>;
|
|
159
|
+
hierarchy: SubscriptionPlan[];
|
|
160
|
+
isStandalone: boolean;
|
|
161
|
+
}
|