@genispace/geniapp 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -11
- package/dist/{CrossAppRecordPicker-CQVmirWD.js → CrossAppRecordPicker-BRpqAjd7.js} +189 -253
- package/dist/CrossAppRecordPicker-BRpqAjd7.js.map +1 -0
- package/dist/MultiPageRenderer-B4G9Oswj.js +535 -0
- package/dist/MultiPageRenderer-B4G9Oswj.js.map +1 -0
- package/dist/Sidebar-DdSOXqnC.js +260 -0
- package/dist/Sidebar-DdSOXqnC.js.map +1 -0
- package/dist/ai/adopt/AiSuggestionPanel.d.ts +1 -1
- package/dist/ai/components/AgentJobProgress.d.ts +1 -1
- package/dist/ai/components/BulkActionBar.d.ts +1 -1
- package/dist/ai/integrations/partner/createPartnerRecordPickerHook.d.ts +1 -1
- package/dist/case-workspace/domain.d.ts +1 -1
- package/dist/components/adapters/host.d.ts +4 -0
- package/dist/components/adapters/host.js +12 -0
- package/dist/components/adapters/host.js.map +1 -0
- package/dist/components/adapters/platform.d.ts +16 -0
- package/dist/components/app/context/DeploymentContext.d.ts +24 -0
- package/dist/components/app/context/PermissionContext.d.ts +32 -0
- package/dist/components/app/context/SubscriptionContext.d.ts +9 -0
- package/dist/components/app/context/UserContext.d.ts +22 -0
- package/dist/components/app/services/apiKey.d.ts +96 -0
- package/dist/components/app/services/auth.d.ts +1 -0
- package/dist/components/app/services/configMap.d.ts +94 -0
- package/dist/components/app/services/task.d.ts +42 -0
- package/dist/components/app/services/workbenchApi.d.ts +495 -0
- package/dist/components/app/types/agent.d.ts +100 -0
- package/dist/components/app/types/api.d.ts +9 -0
- package/dist/components/app/types/knowledge.d.ts +10 -0
- package/dist/components/app/types/model.d.ts +23 -0
- package/dist/components/app/types/task.d.ts +64 -0
- package/dist/components/app/types/taskExecution.d.ts +26 -0
- package/dist/components/assets/maps/bundledMapGeo.d.ts +4 -0
- package/dist/components/config/communicationIcons.d.ts +23 -0
- package/dist/components/config/componentTriggers.d.ts +70 -0
- package/dist/components/constants/tableActionButtonStyle.d.ts +15 -0
- package/dist/components/contexts/PageFullscreenContext.d.ts +4 -0
- package/dist/components/contexts/ParameterContext.d.ts +18 -0
- package/dist/components/contexts/TabActivityContext.d.ts +2 -0
- package/dist/components/contexts/ViewportContext.d.ts +19 -0
- package/dist/components/contexts/WorkbenchConfigLocaleContext.d.ts +23 -0
- package/dist/components/contexts/WorkbenchGlobalSpaceContext.d.ts +10 -0
- package/dist/components/contexts/WorkbenchThemeContext.d.ts +23 -0
- package/dist/components/dialogs/TaskParamsDialog.d.ts +18 -0
- package/dist/components/dialogs/TreeFormDialog.d.ts +23 -0
- package/dist/components/hooks/index.d.ts +6 -0
- package/dist/components/hooks/useComponentCommunication.d.ts +27 -0
- package/dist/components/hooks/useConditionMapper.d.ts +17 -0
- package/dist/components/hooks/useCurrentUser.d.ts +10 -0
- package/dist/components/hooks/useDatabaseDataSource.d.ts +8 -0
- package/dist/components/hooks/useDatasourceVersionBindings.d.ts +24 -0
- package/dist/components/hooks/useEnhancedDataSource.d.ts +40 -0
- package/dist/components/hooks/useMobileViewport.d.ts +18 -0
- package/dist/components/hooks/usePageAutoRefresh.d.ts +9 -0
- package/dist/components/hooks/useParameterHandler.d.ts +27 -0
- package/dist/components/hooks/useReleaseNotesPrompt.d.ts +38 -0
- package/dist/components/hooks/useSpaceSwitchHandler.d.ts +7 -0
- package/dist/components/hooks/useTaskInputDataSourceCache.d.ts +24 -0
- package/dist/components/hooks/useVisibleWhenContext.d.ts +3 -0
- package/dist/components/hooks/useWaitForParameters.d.ts +9 -0
- package/dist/components/hooks/useWorkbenchAppAccess.d.ts +16 -0
- package/dist/components/hooks/useWorkbenchHeaderNavApps.d.ts +7 -0
- package/dist/components/hooks/useWorkbenchPreview.d.ts +24 -0
- package/dist/components/index.d.ts +23 -0
- package/dist/components/inputs/ArrayInput.d.ts +14 -0
- package/dist/components/inputs/ObjectArrayInput.d.ts +15 -0
- package/dist/components/layout/Grid24Renderer.d.ts +23 -0
- package/dist/components/layout/grid24CellContext.d.ts +2 -0
- package/dist/components/layout/index.d.ts +6 -0
- package/dist/components/layout.js +43 -0
- package/dist/components/layout.js.map +1 -0
- package/dist/components/lib/api/apiClient.d.ts +22 -0
- package/dist/components/lib/api/baseApiClient.d.ts +21 -0
- package/dist/components/lib/api/hostAdapterBridge.d.ts +21 -0
- package/dist/components/lib/api.d.ts +1 -0
- package/dist/components/lib/auth/permissionManager.d.ts +67 -0
- package/dist/components/lib/config/deployment.d.ts +33 -0
- package/dist/components/lib/config.d.ts +45 -0
- package/dist/components/lib/hooks/use-mobile.d.ts +1 -0
- package/dist/components/lib/hooks/useOperator.d.ts +11 -0
- package/dist/components/lib/services/agentService.d.ts +77 -0
- package/dist/components/lib/services/applicationService.d.ts +111 -0
- package/dist/components/lib/theme/themeUtils.d.ts +13 -0
- package/dist/components/lib/theme/useWorkbenchTheme.d.ts +1 -0
- package/dist/components/lib/types/api.d.ts +113 -0
- package/dist/components/lib/utils/avatar.d.ts +7 -0
- package/dist/components/lib/utils/cn.d.ts +3 -0
- package/dist/components/lib/utils/color.d.ts +1 -0
- package/dist/components/lib/utils/debounce.d.ts +1 -0
- package/dist/components/lib/utils/formatting.d.ts +4 -0
- package/dist/components/lib/utils/icon.d.ts +1 -0
- package/dist/components/lib/utils.d.ts +7 -0
- package/dist/components/locales/i18n.d.ts +10 -0
- package/dist/components/locales/routeNamespaces.d.ts +4 -0
- package/dist/components/mobile/components/BottomTabNavigation.d.ts +11 -0
- package/dist/components/mobile/components/ComponentAdapter.d.ts +9 -0
- package/dist/components/mobile/components/MobileFloatingBackButton.d.ts +23 -0
- package/dist/components/mobile/components/adaptive/MobileCardView.d.ts +6 -0
- package/dist/components/mobile/components/adaptive/MobileChartView.d.ts +9 -0
- package/dist/components/mobile/components/adaptive/MobileDateRangeFilterField.d.ts +16 -0
- package/dist/components/mobile/components/adaptive/MobileEChartsView.d.ts +10 -0
- package/dist/components/mobile/components/adaptive/MobileFormView.d.ts +6 -0
- package/dist/components/mobile/components/adaptive/MobileListView.d.ts +6 -0
- package/dist/components/mobile/components/adaptive/MobileStatCard.d.ts +13 -0
- package/dist/components/mobile/components/adaptive/MobileTableView.d.ts +9 -0
- package/dist/components/mobile/components/adaptive/MobileTabsView.d.ts +6 -0
- package/dist/components/mobile/components/adaptive/index.d.ts +4 -0
- package/dist/components/mobile/components/adaptive/mobileFilterFieldStyles.d.ts +19 -0
- package/dist/components/mobile/hooks/useMobileNavigationCanGoBack.d.ts +1 -0
- package/dist/components/mobile/hooks/useMobileTabTransitionDirection.d.ts +1 -0
- package/dist/components/mobile/index.d.ts +4 -0
- package/dist/components/mobile/mobileFlowLayoutContext.d.ts +2 -0
- package/dist/components/mobile/runtime-index.d.ts +3 -0
- package/dist/components/mobile/utils/fetchUserCurrentSpaceId.d.ts +15 -0
- package/dist/components/mobile/utils/getMobileViewportState.d.ts +25 -0
- package/dist/components/mobile/utils/mobileBottomNav.d.ts +13 -0
- package/dist/components/mobile/utils/mobileBottomNavInset.d.ts +4 -0
- package/dist/components/mobile/utils/mobileComponentProps.d.ts +44 -0
- package/dist/components/mobile/utils/mobileFormDisplayUtils.d.ts +4 -0
- package/dist/components/mobile/utils/mobileNavigationStore.d.ts +35 -0
- package/dist/components/mobile/utils/mobileToolbarNav.d.ts +13 -0
- package/dist/components/mobile/utils/mobileUA.d.ts +1 -0
- package/dist/components/mobile/utils/mobileWorkbenchSpaceSync.d.ts +60 -0
- package/dist/components/mobile/utils/wecomDetector.d.ts +9 -0
- package/dist/components/mobile/utils/workbenchSpaceSyncGate.d.ts +7 -0
- package/dist/components/mobile.js +25 -0
- package/dist/components/mobile.js.map +1 -0
- package/dist/components/mocks/index.d.ts +13 -0
- package/dist/components/mocks/templateRegistry.d.ts +16 -0
- package/dist/components/mocks/types.d.ts +1 -0
- package/dist/components/renderers/analytics-table/AnalyticsTableRenderer.d.ts +125 -0
- package/dist/components/renderers/analytics-table/index.d.ts +1 -0
- package/dist/components/renderers/analytics-table.js +5 -0
- package/dist/components/renderers/analytics-table.js.map +1 -0
- package/dist/components/renderers/base/BaseRenderers.d.ts +7 -0
- package/dist/components/renderers/base/LoadingRenderer.d.ts +14 -0
- package/dist/components/renderers/card/CardRenderer.d.ts +24 -0
- package/dist/components/renderers/card/index.d.ts +1 -0
- package/dist/components/renderers/card.js +5 -0
- package/dist/components/renderers/card.js.map +1 -0
- package/dist/components/renderers/cells/swCells.d.ts +49 -0
- package/dist/components/renderers/chart/ChartRenderer.d.ts +167 -0
- package/dist/components/renderers/chart/index.d.ts +1 -0
- package/dist/components/renderers/chart.js +5 -0
- package/dist/components/renderers/chart.js.map +1 -0
- package/dist/components/renderers/collapse-panel/CollapsePanelRenderer.d.ts +28 -0
- package/dist/components/renderers/collapse-panel/index.d.ts +1 -0
- package/dist/components/renderers/collapse-panel.js +5 -0
- package/dist/components/renderers/collapse-panel.js.map +1 -0
- package/dist/components/renderers/container/ContainerRenderers.d.ts +44 -0
- package/dist/components/renderers/container/index.d.ts +1 -0
- package/dist/components/renderers/container.js +5 -0
- package/dist/components/renderers/container.js.map +1 -0
- package/dist/components/renderers/custom-content/CustomContentRenderer.d.ts +20 -0
- package/dist/components/renderers/custom-content/index.d.ts +1 -0
- package/dist/components/renderers/custom-content.js +6 -0
- package/dist/components/renderers/custom-content.js.map +1 -0
- package/dist/components/renderers/data/useBoundRows.d.ts +9 -0
- package/dist/components/renderers/data-grid-card/DataGridCard.d.ts +46 -0
- package/dist/components/renderers/data-grid-card/index.d.ts +1 -0
- package/dist/components/renderers/data-grid-card.js +5 -0
- package/dist/components/renderers/data-grid-card.js.map +1 -0
- package/dist/components/renderers/echarts/EChartsChartRenderer.d.ts +178 -0
- package/dist/components/renderers/echarts/index.d.ts +1 -0
- package/dist/components/renderers/echarts/shared/colors.d.ts +56 -0
- package/dist/components/renderers/echarts/shared/index.d.ts +1 -0
- package/dist/components/renderers/echarts.js +5 -0
- package/dist/components/renderers/echarts.js.map +1 -0
- package/dist/components/renderers/editable-table/EditableTable.types.d.ts +27 -0
- package/dist/components/renderers/editable-table/EditableTableController.d.ts +44 -0
- package/dist/components/renderers/editable-table/EditableTableRenderer.d.ts +38 -0
- package/dist/components/renderers/editable-table/cell-editors/ColorEditor.d.ts +11 -0
- package/dist/components/renderers/editable-table/cell-editors/DateEditor.d.ts +11 -0
- package/dist/components/renderers/editable-table/cell-editors/FileEditor.d.ts +9 -0
- package/dist/components/renderers/editable-table/cell-editors/NumberEditor.d.ts +10 -0
- package/dist/components/renderers/editable-table/cell-editors/SelectEditor.d.ts +19 -0
- package/dist/components/renderers/editable-table/cell-editors/SwitchEditor.d.ts +13 -0
- package/dist/components/renderers/editable-table/cell-editors/TextEditor.d.ts +11 -0
- package/dist/components/renderers/editable-table/cell-editors/index.d.ts +7 -0
- package/dist/components/renderers/editable-table/editableTableApiErrors.d.ts +3 -0
- package/dist/components/renderers/editable-table/editableTableDictionary.d.ts +13 -0
- package/dist/components/renderers/editable-table/editableTableFormatters.d.ts +11 -0
- package/dist/components/renderers/editable-table/editableTableWriteDatasourceId.d.ts +8 -0
- package/dist/components/renderers/editable-table/index.d.ts +4 -0
- package/dist/components/renderers/editable-table.js +6 -0
- package/dist/components/renderers/editable-table.js.map +1 -0
- package/dist/components/renderers/filter-panel/FilterPanelRenderer.d.ts +275 -0
- package/dist/components/renderers/filter-panel/filterOptionCache.d.ts +33 -0
- package/dist/components/renderers/filter-panel/filterSelectionMemory.d.ts +11 -0
- package/dist/components/renderers/filter-panel/index.d.ts +1 -0
- package/dist/components/renderers/filter-panel.js +5 -0
- package/dist/components/renderers/filter-panel.js.map +1 -0
- package/dist/components/renderers/form/FileUploadDropzone.d.ts +24 -0
- package/dist/components/renderers/form/FormRenderer.d.ts +30 -0
- package/dist/components/renderers/form/formSizing.d.ts +14 -0
- package/dist/components/renderers/form/index.d.ts +2 -0
- package/dist/components/renderers/form.js +6 -0
- package/dist/components/renderers/form.js.map +1 -0
- package/dist/components/renderers/hero-card/HeroCardRenderer.d.ts +18 -0
- package/dist/components/renderers/hero-card/heroCardRows.d.ts +30 -0
- package/dist/components/renderers/hero-card/heroCardUtils.d.ts +164 -0
- package/dist/components/renderers/hero-card/index.d.ts +1 -0
- package/dist/components/renderers/hero-card.js +5 -0
- package/dist/components/renderers/hero-card.js.map +1 -0
- package/dist/components/renderers/identity/AppIdentityListRenderer.d.ts +60 -0
- package/dist/components/renderers/identity/IdentityAttributeAssignRenderer.d.ts +44 -0
- package/dist/components/renderers/identity/index.d.ts +2 -0
- package/dist/components/renderers/identity.js +6 -0
- package/dist/components/renderers/identity.js.map +1 -0
- package/dist/components/renderers/index.d.ts +1 -0
- package/dist/components/renderers/list/ListActionButton.d.ts +11 -0
- package/dist/components/renderers/list/ListDataTable.d.ts +13 -0
- package/dist/components/renderers/list/ListProgressBar.d.ts +12 -0
- package/dist/components/renderers/list/ListRenderers.d.ts +19 -0
- package/dist/components/renderers/list/ListTaskExecuteDialog.d.ts +17 -0
- package/dist/components/renderers/list/index.d.ts +1 -0
- package/dist/components/renderers/list/listActionUtils.d.ts +18 -0
- package/dist/components/renderers/list/listCellRender.d.ts +9 -0
- package/dist/components/renderers/list/listConfig.d.ts +67 -0
- package/dist/components/renderers/list/listCsvExport.d.ts +4 -0
- package/dist/components/renderers/list/listFormatUtils.d.ts +13 -0
- package/dist/components/renderers/list/listItemTemplates.d.ts +32 -0
- package/dist/components/renderers/list/listViewToggleUtils.d.ts +5 -0
- package/dist/components/renderers/list/useListActions.d.ts +38 -0
- package/dist/components/renderers/list/useListDataSource.d.ts +58 -0
- package/dist/components/renderers/list/useListSelectionEmit.d.ts +22 -0
- package/dist/components/renderers/list.js +5 -0
- package/dist/components/renderers/list.js.map +1 -0
- package/dist/components/renderers/map-chart/MapChartRenderer.d.ts +42 -0
- package/dist/components/renderers/map-chart/index.d.ts +1 -0
- package/dist/components/renderers/map-chart.js +5 -0
- package/dist/components/renderers/map-chart.js.map +1 -0
- package/dist/components/renderers/metric-carousel/MetricCarouselRenderer.d.ts +26 -0
- package/dist/components/renderers/metric-carousel/index.d.ts +1 -0
- package/dist/components/renderers/metric-carousel.js +5 -0
- package/dist/components/renderers/metric-carousel.js.map +1 -0
- package/dist/components/renderers/navigation/NavTileRenderer.d.ts +13 -0
- package/dist/components/renderers/navigation/index.d.ts +1 -0
- package/dist/components/renderers/navigation/navTileUtils.d.ts +46 -0
- package/dist/components/renderers/navigation.js +5 -0
- package/dist/components/renderers/navigation.js.map +1 -0
- package/dist/components/renderers/product-detail/ProductDetailRenderer.d.ts +23 -0
- package/dist/components/renderers/product-detail/index.d.ts +1 -0
- package/dist/components/renderers/product-detail/productCellRender.d.ts +25 -0
- package/dist/components/renderers/product-detail.js +5 -0
- package/dist/components/renderers/product-detail.js.map +1 -0
- package/dist/components/renderers/product-report/ProductReportRenderer.d.ts +21 -0
- package/dist/components/renderers/product-report/index.d.ts +1 -0
- package/dist/components/renderers/product-report.js +5 -0
- package/dist/components/renderers/product-report.js.map +1 -0
- package/dist/components/renderers/publish/PublishHistoryRenderer.d.ts +21 -0
- package/dist/components/renderers/publish/PublishPreviewEntryRenderer.d.ts +16 -0
- package/dist/components/renderers/publish/index.d.ts +2 -0
- package/dist/components/renderers/publish/publishHistoryHelpers.d.ts +41 -0
- package/dist/components/renderers/publish/publishPreviewEntryHelpers.d.ts +50 -0
- package/dist/components/renderers/publish.js +6 -0
- package/dist/components/renderers/publish.js.map +1 -0
- package/dist/components/renderers/radar-chart/RadarChartRenderer.d.ts +40 -0
- package/dist/components/renderers/radar-chart/index.d.ts +1 -0
- package/dist/components/renderers/radar-chart.js +5 -0
- package/dist/components/renderers/radar-chart.js.map +1 -0
- package/dist/components/renderers/registry.d.ts +38 -0
- package/dist/components/renderers/ring-stat/RingStatRenderer.d.ts +66 -0
- package/dist/components/renderers/ring-stat/index.d.ts +1 -0
- package/dist/components/renderers/ring-stat.js +5 -0
- package/dist/components/renderers/ring-stat.js.map +1 -0
- package/dist/components/renderers/runtime-DX1LfmqO.js +206944 -0
- package/dist/components/renderers/runtime-DX1LfmqO.js.map +1 -0
- package/dist/components/renderers/service-desk/ServiceDeskReporterRenderer.d.ts +48 -0
- package/dist/components/renderers/service-desk/index.d.ts +1 -0
- package/dist/components/renderers/service-desk.js +5 -0
- package/dist/components/renderers/service-desk.js.map +1 -0
- package/dist/components/renderers/shared/TableEmptyStateWithChromeInsets.d.ts +12 -0
- package/dist/components/renderers/shared/ViewToggleButton.d.ts +13 -0
- package/dist/components/renderers/shared/useEscapedStickyPanel.d.ts +6 -0
- package/dist/components/renderers/shared/useMobileChromeInsets.d.ts +18 -0
- package/dist/components/renderers/shared/useStickyHeaderClone.d.ts +31 -0
- package/dist/components/renderers/statistics/StatisticGroup.d.ts +77 -0
- package/dist/components/renderers/statistics/index.d.ts +1 -0
- package/dist/components/renderers/statistics.js +5 -0
- package/dist/components/renderers/statistics.js.map +1 -0
- package/dist/components/renderers/table/TableRenderer.d.ts +5 -0
- package/dist/components/renderers/table/index.d.ts +1 -0
- package/dist/components/renderers/table/tableFilterPanelGridClass.d.ts +15 -0
- package/dist/components/renderers/table.js +5 -0
- package/dist/components/renderers/table.js.map +1 -0
- package/dist/components/renderers/tabs/TabsRenderer.d.ts +63 -0
- package/dist/components/renderers/tabs/index.d.ts +1 -0
- package/dist/components/renderers/tabs/tabVariantStyles.d.ts +50 -0
- package/dist/components/renderers/tabs/tabsItemMapping.d.ts +26 -0
- package/dist/components/renderers/tabs.js +5 -0
- package/dist/components/renderers/tabs.js.map +1 -0
- package/dist/components/renderers/task-input/ExecutionHistoryModal.d.ts +9 -0
- package/dist/components/renderers/task-input/TaskExecutionOutputs.d.ts +15 -0
- package/dist/components/renderers/task-input/TaskInputField.d.ts +54 -0
- package/dist/components/renderers/task-input/TaskInputRenderer.d.ts +68 -0
- package/dist/components/renderers/task-input/index.d.ts +1 -0
- package/dist/components/renderers/task-input.js +5 -0
- package/dist/components/renderers/task-input.js.map +1 -0
- package/dist/components/renderers/tile-grid/TileGridRenderer.d.ts +41 -0
- package/dist/components/renderers/tile-grid/index.d.ts +1 -0
- package/dist/components/renderers/tile-grid.js +5 -0
- package/dist/components/renderers/tile-grid.js.map +1 -0
- package/dist/components/renderers/tree/SimpleTreeRenderer.d.ts +47 -0
- package/dist/components/renderers/tree/index.d.ts +1 -0
- package/dist/components/renderers/tree.js +5 -0
- package/dist/components/renderers/tree.js.map +1 -0
- package/dist/components/renderers/types.d.ts +682 -0
- package/dist/components/renderers/typography/TypographyRenderer.d.ts +17 -0
- package/dist/components/renderers/typography/index.d.ts +1 -0
- package/dist/components/renderers/typography.js +8 -0
- package/dist/components/renderers/typography.js.map +1 -0
- package/dist/components/renderers/workflow/SimpleSchemaForm.d.ts +12 -0
- package/dist/components/renderers/workflow/WorkflowComponent.d.ts +5 -0
- package/dist/components/renderers/workflow/index.d.ts +1 -0
- package/dist/components/renderers/workflow/renderers/ProposalRendererFactory.d.ts +15 -0
- package/dist/components/renderers/workflow/runtime-index.d.ts +9 -0
- package/dist/components/renderers/workflow/steps/ProposalStep.d.ts +21 -0
- package/dist/components/renderers/workflow/steps/ResultStep.d.ts +13 -0
- package/dist/components/renderers/workflow/steps/UploadStep.d.ts +15 -0
- package/dist/components/renderers/workflow/types.d.ts +185 -0
- package/dist/components/renderers/workflow.js +5 -0
- package/dist/components/renderers/workflow.js.map +1 -0
- package/dist/components/renderers.js +41 -0
- package/dist/components/renderers.js.map +1 -0
- package/dist/components/runtime/ComponentRenderer.d.ts +34 -0
- package/dist/components/runtime/GeniAppComponentProvider.d.ts +24 -0
- package/dist/components/runtime/GeniAppWorkbench.d.ts +20 -0
- package/dist/components/runtime/Loading.d.ts +9 -0
- package/dist/components/runtime/MultiPageRenderer.d.ts +15 -0
- package/dist/components/runtime/PageComingSoonOverlay.d.ts +11 -0
- package/dist/components/runtime/PageRenderer.d.ts +36 -0
- package/dist/components/runtime/TabManager.d.ts +39 -0
- package/dist/components/runtime/componentTypes.d.ts +70 -0
- package/dist/components/runtime/i18n.d.ts +5 -0
- package/dist/components/runtime/runtime-mode.d.ts +40 -0
- package/dist/components/shared/TitleManager.d.ts +8 -0
- package/dist/components/shared/platform-api/auth/platformRefreshResponse.d.ts +3 -0
- package/dist/components/shared/platform-api/auth/setupAuthInterceptors.d.ts +18 -0
- package/dist/components/shared/platform-api/auth/tokenStorage.d.ts +4 -0
- package/dist/components/shared/platform-api/index.d.ts +4 -0
- package/dist/components/shared/platform-types/index.d.ts +1 -0
- package/dist/components/shared/platform-types/types/json-schema.d.ts +50 -0
- package/dist/components/shared/platform-ui/components/ai/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/ai/message.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/ai/suggestion.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/features/agent/AgentIdentity.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/features/agent/agentIdentityUtils.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/features/agent/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/app/AppCheckboxInput.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/features/app/AppConfirmDialog.d.ts +12 -0
- package/dist/components/shared/platform-ui/components/features/app/AppDashboardSkeleton.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/features/app/AppDatePicker.d.ts +69 -0
- package/dist/components/shared/platform-ui/components/features/app/AppModal.d.ts +27 -0
- package/dist/components/shared/platform-ui/components/features/app/AppPageStates.d.ts +17 -0
- package/dist/components/shared/platform-ui/components/features/app/AppSelectInput.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/features/app/AppTemporalInput.d.ts +19 -0
- package/dist/components/shared/platform-ui/components/features/app/Page.d.ts +14 -0
- package/dist/components/shared/platform-ui/components/features/app/QueryErrorAlert.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/features/app/Sidebar.d.ts +47 -0
- package/dist/components/shared/platform-ui/components/features/app/index.d.ts +17 -0
- package/dist/components/shared/platform-ui/components/features/auth/AuthControlButtons.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/features/auth/ForgotPassword.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/features/auth/LogoutNotificationPage.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/features/auth/Privacy.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/features/auth/RequireAuth.d.ts +31 -0
- package/dist/components/shared/platform-ui/components/features/auth/Terms.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/features/auth/VerifyEmail.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/features/auth/application/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/auth/index.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/features/avatar/AvatarPickerModal.d.ts +30 -0
- package/dist/components/shared/platform-ui/components/features/avatar/generateAvatarUrl.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/features/avatar/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/chat/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/data/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/feedback/FeedbackMenu.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/features/feedback/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/home/Background.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/features/home/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/index.d.ts +22 -0
- package/dist/components/shared/platform-ui/components/features/knowledge/EvidenceCitation.d.ts +30 -0
- package/dist/components/shared/platform-ui/components/features/knowledge/HighlightedSnippet.d.ts +14 -0
- package/dist/components/shared/platform-ui/components/features/knowledge/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/notification/NotificationBell.d.ts +14 -0
- package/dist/components/shared/platform-ui/components/features/notification/NotificationList.d.ts +41 -0
- package/dist/components/shared/platform-ui/components/features/notification/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/operator/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/rbac/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/rich-text/RichTextField.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/features/space/SpaceContext.d.ts +121 -0
- package/dist/components/shared/platform-ui/components/features/space/SpaceSwitcher.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/features/space/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/features/subscription/SubscriptionContext.d.ts +26 -0
- package/dist/components/shared/platform-ui/components/features/subscription/SubscriptionGuard.d.ts +35 -0
- package/dist/components/shared/platform-ui/components/features/subscription/constants.d.ts +126 -0
- package/dist/components/shared/platform-ui/components/features/subscription/createSubscriptionService.d.ts +34 -0
- package/dist/components/shared/platform-ui/components/features/subscription/index.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/features/subscription/types.d.ts +161 -0
- package/dist/components/shared/platform-ui/components/features/subscription/useSubscription.d.ts +20 -0
- package/dist/components/shared/platform-ui/components/features/subscription/utils.d.ts +18 -0
- package/dist/components/shared/platform-ui/components/features/task/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/features/team/index.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/features/user/UserAvatar.d.ts +17 -0
- package/dist/components/shared/platform-ui/components/features/user/UserDisplay.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/features/user/UserSelect.d.ts +14 -0
- package/dist/components/shared/platform-ui/components/features/user/useUserDirectory.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/features/user/userDirectoryTypes.d.ts +18 -0
- package/dist/components/shared/platform-ui/components/icons/alipay-pay-mark.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/icons/bank-transfer-mark.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/icons/stripe-payment-mark.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/icons/wechat-pay-mark.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/index.d.ts +3 -0
- package/dist/components/shared/platform-ui/components/patterns/entity-patterns.d.ts +3 -0
- package/dist/components/shared/platform-ui/components/patterns/form-section.d.ts +11 -0
- package/dist/components/shared/platform-ui/components/patterns/record-list-frame.d.ts +12 -0
- package/dist/components/shared/platform-ui/components/patterns/status-stepper.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/primitives/data-display/ApiErrorState.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/primitives/data-display/FilePreviewDialog.d.ts +18 -0
- package/dist/components/shared/platform-ui/components/primitives/data-display/index.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/primitives/feedback/index.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/primitives/feedback/toaster.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/primitives/feedback/use-toast.d.ts +46 -0
- package/dist/components/shared/platform-ui/components/primitives/forms/CountryCodeSelect.d.ts +16 -0
- package/dist/components/shared/platform-ui/components/primitives/forms/index.d.ts +1 -0
- package/dist/components/shared/platform-ui/components/primitives/index.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/AppHeader.d.ts +111 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/AppWatermark.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/PublicFooter.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/PublicHeader.d.ts +39 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/PublicLayout.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/ThemeToggle.d.ts +33 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/WatermarkOverlay.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/brandAssets.d.ts +11 -0
- package/dist/components/shared/platform-ui/components/primitives/layout/index.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ChartAreaSkeleton.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ChartEmptyState.d.ts +14 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ComponentSkeletonShell.d.ts +16 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ConfigEditorSkeleton.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/DetailTabsSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/EmptyStateBadge.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/FormCardSkeleton.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/FormFieldSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/FormPageSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/GridCardsSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/ListSkeleton.d.ts +26 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/PageHeaderSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/SplitPaneSkeleton.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/StatsRowSkeleton.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/TableEmptyState.d.ts +27 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/TablePageSkeleton.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/TabsBarSkeleton.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/index.d.ts +24 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/skeletonMetrics.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/primitives/page-skeleton/useVisibleCenter.d.ts +34 -0
- package/dist/components/shared/platform-ui/components/ui/accordion.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/ui/ai-draft-banner.d.ts +21 -0
- package/dist/components/shared/platform-ui/components/ui/alert-dialog.d.ts +48 -0
- package/dist/components/shared/platform-ui/components/ui/alert.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/ui/avatar.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/ui/badge.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/ui/breadcrumb.d.ts +19 -0
- package/dist/components/shared/platform-ui/components/ui/button.d.ts +11 -0
- package/dist/components/shared/platform-ui/components/ui/calendar.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/ui/card.d.ts +8 -0
- package/dist/components/shared/platform-ui/components/ui/chart.d.ts +16 -0
- package/dist/components/shared/platform-ui/components/ui/checkbox.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/ui/collapsible.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/ui/column-config.d.ts +42 -0
- package/dist/components/shared/platform-ui/components/ui/date-picker.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/ui/date-range-filter.d.ts +32 -0
- package/dist/components/shared/platform-ui/components/ui/date-range-picker.d.ts +11 -0
- package/dist/components/shared/platform-ui/components/ui/dialog-input.d.ts +17 -0
- package/dist/components/shared/platform-ui/components/ui/dialog-safe-select.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/ui/dialog.d.ts +25 -0
- package/dist/components/shared/platform-ui/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/components/shared/platform-ui/components/ui/feature-guide.d.ts +43 -0
- package/dist/components/shared/platform-ui/components/ui/form.d.ts +23 -0
- package/dist/components/shared/platform-ui/components/ui/help-tip.d.ts +29 -0
- package/dist/components/shared/platform-ui/components/ui/hint-notice.d.ts +22 -0
- package/dist/components/shared/platform-ui/components/ui/index.d.ts +6 -0
- package/dist/components/shared/platform-ui/components/ui/input.d.ts +3 -0
- package/dist/components/shared/platform-ui/components/ui/label.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/ui/modal-container.d.ts +56 -0
- package/dist/components/shared/platform-ui/components/ui/modal-templates.d.ts +46 -0
- package/dist/components/shared/platform-ui/components/ui/multi-select.d.ts +20 -0
- package/dist/components/shared/platform-ui/components/ui/pagination.d.ts +28 -0
- package/dist/components/shared/platform-ui/components/ui/popover.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/ui/progress.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/ui/radio-button-group.d.ts +18 -0
- package/dist/components/shared/platform-ui/components/ui/radio-group.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/ui/scroll-area.d.ts +5 -0
- package/dist/components/shared/platform-ui/components/ui/select.d.ts +16 -0
- package/dist/components/shared/platform-ui/components/ui/separator.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/ui/sheet.d.ts +25 -0
- package/dist/components/shared/platform-ui/components/ui/sidebar-rail.d.ts +9 -0
- package/dist/components/shared/platform-ui/components/ui/skeleton.d.ts +2 -0
- package/dist/components/shared/platform-ui/components/ui/slider.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/ui/switch.d.ts +4 -0
- package/dist/components/shared/platform-ui/components/ui/table.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/ui/tabs.d.ts +10 -0
- package/dist/components/shared/platform-ui/components/ui/textarea.d.ts +3 -0
- package/dist/components/shared/platform-ui/components/ui/toast.d.ts +21 -0
- package/dist/components/shared/platform-ui/components/ui/toggle-group.d.ts +12 -0
- package/dist/components/shared/platform-ui/components/ui/toggle.d.ts +12 -0
- package/dist/components/shared/platform-ui/components/ui/tooltip.d.ts +7 -0
- package/dist/components/shared/platform-ui/components/ui/typography.d.ts +15 -0
- package/dist/components/shared/platform-ui/components/ui/underline-tabs.d.ts +13 -0
- package/dist/components/shared/platform-ui/components/ui/view-mode-toggle.d.ts +9 -0
- package/dist/components/shared/platform-ui/context/AppHostContext.d.ts +16 -0
- package/dist/components/shared/platform-ui/contexts/UserSettingsContext.d.ts +23 -0
- package/dist/components/shared/platform-ui/hooks/builtInApps.d.ts +91 -0
- package/dist/components/shared/platform-ui/hooks/pinnedBuiltInNavApps.d.ts +13 -0
- package/dist/components/shared/platform-ui/hooks/shellNavLucideIcon.d.ts +6 -0
- package/dist/components/shared/platform-ui/hooks/useAppSettings.d.ts +21 -0
- package/dist/components/shared/platform-ui/hooks/useAuthTokenSync.d.ts +3 -0
- package/dist/components/shared/platform-ui/hooks/useBuiltInApps.d.ts +6 -0
- package/dist/components/shared/platform-ui/hooks/useChatEntryTarget.d.ts +35 -0
- package/dist/components/shared/platform-ui/hooks/useIsMobile.d.ts +16 -0
- package/dist/components/shared/platform-ui/hooks/useLanguage.d.ts +11 -0
- package/dist/components/shared/platform-ui/hooks/useLockBodyScroll.d.ts +1 -0
- package/dist/components/shared/platform-ui/hooks/usePageState/index.d.ts +4 -0
- package/dist/components/shared/platform-ui/hooks/usePageState/types.d.ts +13 -0
- package/dist/components/shared/platform-ui/hooks/useTheme.d.ts +11 -0
- package/dist/components/shared/platform-ui/hooks/useUserSettings.d.ts +39 -0
- package/dist/components/shared/platform-ui/hooks/useWorkflowCanvas.d.ts +36 -0
- package/dist/components/shared/platform-ui/hooks/userPreferencesPinnedNav.d.ts +2 -0
- package/dist/components/shared/platform-ui/index.d.ts +127 -0
- package/dist/components/shared/platform-ui/kit/ai/conversation.d.ts +16 -0
- package/dist/components/shared/platform-ui/kit/ai/index.d.ts +11 -0
- package/dist/components/shared/platform-ui/kit/ai/loader.d.ts +6 -0
- package/dist/components/shared/platform-ui/kit/ai/message.d.ts +14 -0
- package/dist/components/shared/platform-ui/kit/ai/prompt-input.d.ts +18 -0
- package/dist/components/shared/platform-ui/kit/ai/suggestion.d.ts +11 -0
- package/dist/components/shared/platform-ui/kit/ai/tool.d.ts +28 -0
- package/dist/components/shared/platform-ui/kit.d.ts +5 -0
- package/dist/components/shared/platform-ui/platform/index.d.ts +38 -0
- package/dist/components/shared/platform-ui/platform/types.d.ts +1 -0
- package/dist/components/shared/platform-ui/styles/design-tokens.d.ts +189 -0
- package/dist/components/shared/platform-ui/styles/z-index-layers.d.ts +46 -0
- package/dist/components/shared/platform-ui/utils/unknownError.d.ts +2 -0
- package/dist/components/shared/platform-utils/cookieSettings.d.ts +12 -0
- package/dist/components/shared/platform-utils/data/countryCodes.d.ts +26 -0
- package/dist/components/shared/platform-utils/index.d.ts +18 -0
- package/dist/components/shared/platform-utils/utils/appPath.d.ts +5 -0
- package/dist/components/shared/platform-utils/utils/chunkLoadRecovery.d.ts +7 -0
- package/dist/components/shared/platform-utils/utils/cn.d.ts +3 -0
- package/dist/components/shared/platform-utils/utils/crossApp.d.ts +71 -0
- package/dist/components/shared/platform-utils/utils/debounce.d.ts +1 -0
- package/dist/components/shared/platform-utils/utils/formatUserLabel.d.ts +8 -0
- package/dist/components/shared/platform-utils/utils/formatting.d.ts +18 -0
- package/dist/components/shared/platform-utils/utils/logoutNotification.d.ts +28 -0
- package/dist/components/shared/platform-utils/utils/operatorLocale.d.ts +32 -0
- package/dist/components/shared/platform-utils/utils/routeLocalePrefetch.d.ts +5 -0
- package/dist/components/shared/platform-utils/utils/shellIframeUrl.d.ts +20 -0
- package/dist/components/shared/platform-utils/utils/spaceSettings.d.ts +20 -0
- package/dist/components/shared/platform-utils/utils/sso.d.ts +42 -0
- package/dist/components/shared/platform-utils/utils/throttle.d.ts +1 -0
- package/dist/components/shared/platform-utils/utils/timezones.d.ts +14 -0
- package/dist/components/shared/platform-utils/utils/toDateInputValue.d.ts +5 -0
- package/dist/components/shared/platform-utils/utils/watermark.d.ts +1 -0
- package/dist/components/shared/templates/index.d.ts +3 -0
- package/dist/components/shared/templates/slugify.d.ts +1 -0
- package/dist/components/shared/templates/templateRegistry.d.ts +18 -0
- package/dist/components/shared/templates/types.d.ts +42 -0
- package/dist/components/skeleton/ComponentSkeleton.d.ts +9 -0
- package/dist/components/skeleton/HeroCardSkeleton.d.ts +11 -0
- package/dist/components/skeleton/TileGridSkeleton.d.ts +11 -0
- package/dist/components/skeleton/WorkbenchSkeletonTokens.d.ts +1 -0
- package/dist/components/skeleton/index.d.ts +4 -0
- package/dist/components/standalone.css +2 -0
- package/dist/components/standalone.d.ts +21 -0
- package/dist/components/standalone.js +358805 -0
- package/dist/components/styles/grid24.css +359 -0
- package/dist/components/styles/layoutSystem.css +773 -0
- package/dist/components/styles.css +3 -0
- package/dist/components/testing/index.d.ts +2 -0
- package/dist/components/testing.js +5 -0
- package/dist/components/testing.js.map +1 -0
- package/dist/components/themes/classic.d.ts +7 -0
- package/dist/components/themes/index.d.ts +15 -0
- package/dist/components/themes/inkOnyx.d.ts +3 -0
- package/dist/components/themes/types.d.ts +36 -0
- package/dist/components/types/application.d.ts +37 -0
- package/dist/components/types/communication.d.ts +94 -0
- package/dist/components/types/components.d.ts +346 -0
- package/dist/components/types/conditionMapperTypes.d.ts +60 -0
- package/dist/components/types/databaseDataSource.d.ts +120 -0
- package/dist/components/types/datasource.d.ts +117 -0
- package/dist/components/types/editor.d.ts +4 -0
- package/dist/components/types/editors.d.ts +91 -0
- package/dist/components/types/host-adapters.d.ts +35 -0
- package/dist/components/types/index.d.ts +7 -0
- package/dist/components/types/parameters.d.ts +59 -0
- package/dist/components/types/productReport.d.ts +272 -0
- package/dist/components/types/renderers.d.ts +645 -0
- package/dist/components/types.d.ts +649 -0
- package/dist/components/ui/ActionFormDialog.d.ts +19 -0
- package/dist/components/ui/ConfirmDialog.d.ts +17 -0
- package/dist/components/ui/FormFieldRenderer.d.ts +51 -0
- package/dist/components/ui/IconSelector.d.ts +10 -0
- package/dist/components/ui/RecordDetailDialog.d.ts +15 -0
- package/dist/components/ui/StructuredValueField.d.ts +16 -0
- package/dist/components/ui/date-picker.d.ts +7 -0
- package/dist/components/ui/date-range-picker.d.ts +11 -0
- package/dist/components/ui/dialog-safe-select.d.ts +13 -0
- package/dist/components/ui/dialog-tag-input.d.ts +18 -0
- package/dist/components/ui/dialog.d.ts +22 -0
- package/dist/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/components/ui/pagination.d.ts +28 -0
- package/dist/components/ui/select.d.ts +13 -0
- package/dist/components/ui/sidebar-rail.d.ts +9 -0
- package/dist/components/ui/sidebar.d.ts +65 -0
- package/dist/components/ui/table.d.ts +10 -0
- package/dist/components/ui/tag-input.d.ts +23 -0
- package/dist/components/utils/actionFormValidation.d.ts +34 -0
- package/dist/components/utils/autoIdUtils.d.ts +2 -0
- package/dist/components/utils/chartGradientStops.d.ts +14 -0
- package/dist/components/utils/chinaProvinceMap.d.ts +8 -0
- package/dist/components/utils/colors.d.ts +84 -0
- package/dist/components/utils/componentUtils.d.ts +4 -0
- package/dist/components/utils/conditionMapperUtils.d.ts +59 -0
- package/dist/components/utils/cssParser.d.ts +7 -0
- package/dist/components/utils/currencySymbol.d.ts +10 -0
- package/dist/components/utils/dataConfigUtils.d.ts +80 -0
- package/dist/components/utils/databaseDatasourceColumnValue.d.ts +8 -0
- package/dist/components/utils/databaseDatasourceParams.d.ts +44 -0
- package/dist/components/utils/datasetOperationUtils.d.ts +48 -0
- package/dist/components/utils/datasourceVersion.d.ts +61 -0
- package/dist/components/utils/debugUtils.d.ts +34 -0
- package/dist/components/utils/errorFilter.d.ts +1 -0
- package/dist/components/utils/errorHandler.d.ts +10 -0
- package/dist/components/utils/expressionUtils.d.ts +13 -0
- package/dist/components/utils/extensionErrorHandler.d.ts +4 -0
- package/dist/components/utils/filterPanelDateRangeUtils.d.ts +34 -0
- package/dist/components/utils/filterPanelMobileDateRangeUtils.d.ts +17 -0
- package/dist/components/utils/formActionVisibility.d.ts +21 -0
- package/dist/components/utils/grid24LayoutSystem.d.ts +108 -0
- package/dist/components/utils/iconUtils.d.ts +22 -0
- package/dist/components/utils/layoutContainerNesting.d.ts +5 -0
- package/dist/components/utils/layoutSystem.d.ts +189 -0
- package/dist/components/utils/navigationUtils.d.ts +70 -0
- package/dist/components/utils/navigationVisibleWhenEditor.d.ts +37 -0
- package/dist/components/utils/parameterUtils.d.ts +52 -0
- package/dist/components/utils/redirectToAppHome.d.ts +4 -0
- package/dist/components/utils/resolveComponentMockFields.d.ts +28 -0
- package/dist/components/utils/resolveDatabaseDataSourceConfig.d.ts +9 -0
- package/dist/components/utils/safeMessaging.d.ts +16 -0
- package/dist/components/utils/statisticColors.d.ts +11 -0
- package/dist/components/utils/statisticIcons.d.ts +5 -0
- package/dist/components/utils/styleUtils.d.ts +35 -0
- package/dist/components/utils/systemParameters.d.ts +8 -0
- package/dist/components/utils/tabIsolation.d.ts +34 -0
- package/dist/components/utils/tableActionButtonRender.d.ts +12 -0
- package/dist/components/utils/taskUtils.d.ts +37 -0
- package/dist/components/utils/treeFormUtils.d.ts +41 -0
- package/dist/components/utils/visibleWhen.d.ts +31 -0
- package/dist/components/utils/visibleWhenFormat.d.ts +32 -0
- package/dist/components/utils/workbenchConfigLocale.d.ts +44 -0
- package/dist/components/utils/workbenchDisplayLocale.d.ts +33 -0
- package/dist/components/utils/workbenchPathUtils.d.ts +8 -0
- package/dist/components/utils/workflowTransformsUtils.d.ts +3 -0
- package/dist/components.js +841 -0
- package/dist/components.js.map +1 -0
- package/dist/dashboard/src/ChartTooltip.d.ts +1 -1
- package/dist/hooks/access/AppAccessNotice.d.ts +1 -1
- package/dist/hooks/picker/managedAppPicker.d.ts +1 -1
- package/dist/hooks.js +28 -27
- package/dist/hooks.js.map +1 -1
- package/dist/i18n-DojjvBZv.js +19013 -0
- package/dist/i18n-DojjvBZv.js.map +1 -0
- package/dist/index.js +61 -59
- package/dist/index.js.map +1 -1
- package/dist/kit.js +57 -56
- package/dist/kit.js.map +1 -1
- package/dist/resolveApiRoot-Dzg1R1PS.js +68 -0
- package/dist/resolveApiRoot-Dzg1R1PS.js.map +1 -0
- package/dist/shell.d.ts +1 -1
- package/dist/storage/components/CopyStorageLinkButton.d.ts +1 -1
- package/dist/storage/components/StorageImage.d.ts +1 -1
- package/dist/storage/components/StorageVideo.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/task-workspace/domain.d.ts +1 -1
- package/dist/ui/components/features/app/AppModal.d.ts +2 -2
- package/dist/ui/components/primitives/page-skeleton/index.d.ts +1 -1
- package/dist/ui/components/ui/alert.d.ts +3 -3
- package/dist/ui/components/ui/badge.d.ts +3 -3
- package/dist/ui/components/ui/button.d.ts +4 -4
- package/dist/ui/components/ui/chart.d.ts +1 -1
- package/dist/ui/components/ui/form.d.ts +3 -5
- package/dist/ui/components/ui/hint-notice.d.ts +3 -3
- package/dist/ui/components/ui/label.d.ts +1 -1
- package/dist/ui/components/ui/select.d.ts +1 -1
- package/dist/ui/components/ui/sheet.d.ts +3 -3
- package/dist/ui/components/ui/tabs.d.ts +1 -1
- package/dist/ui/components/ui/toast.d.ts +3 -3
- package/dist/ui/components/ui/toggle-group.d.ts +8 -8
- package/dist/ui/components/ui/toggle.d.ts +8 -8
- package/dist/ui/components/ui/underline-tabs.d.ts +6 -6
- package/dist/ui.js +23 -22
- package/dist/ui.js.map +1 -1
- package/dist/useUserDirectory-GU8imJ0T.js +2124 -0
- package/dist/useUserDirectory-GU8imJ0T.js.map +1 -0
- package/dist/vite.d.ts +1 -1
- package/package.json +217 -31
- package/dist/CrossAppRecordPicker-CQVmirWD.js.map +0 -1
- package/dist/useUserDirectory-CqkyCQoR.js +0 -2377
- package/dist/useUserDirectory-CqkyCQoR.js.map +0 -1
- package/dist/workbench/runtime.d.ts +0 -3
- package/dist/workbench/styles.css +0 -197
- package/dist/workbench/types.d.ts +0 -48
- package/dist/workbench.d.ts +0 -8
- package/dist/workbench.js +0 -356
- package/dist/workbench.js.map +0 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { default as ComponentRenderer } from './runtime/ComponentRenderer';
|
|
2
|
+
export { default as PageRenderer } from './runtime/PageRenderer';
|
|
3
|
+
export { MultiPageRenderer } from './runtime/MultiPageRenderer';
|
|
4
|
+
export { default as Grid24Renderer } from './layout/Grid24Renderer';
|
|
5
|
+
export { ParameterProvider, useParameterContext } from './contexts/ParameterContext';
|
|
6
|
+
export { GeniAppComponentProvider } from './runtime/GeniAppComponentProvider';
|
|
7
|
+
export { GeniAppWorkbench } from './runtime/GeniAppWorkbench';
|
|
8
|
+
export type { GeniAppWorkbenchConfig, GeniAppWorkbenchProps } from './runtime/GeniAppWorkbench';
|
|
9
|
+
export { createGeniAppI18n, normalizeGeniAppLocale } from './runtime/i18n';
|
|
10
|
+
export { configureGeniAppHostAdapters, getGeniAppHostAdapters } from './adapters/host';
|
|
11
|
+
export { createPlatformHostAdapters } from './adapters/platform';
|
|
12
|
+
export type { CreatePlatformHostAdaptersOptions } from './adapters/platform';
|
|
13
|
+
export type * from './types/host-adapters';
|
|
14
|
+
export { WorkbenchThemeProvider, useWorkbenchTheme } from './contexts/WorkbenchThemeContext';
|
|
15
|
+
export { WorkbenchConfigLocaleProvider, useWorkbenchConfigLocale } from './contexts/WorkbenchConfigLocaleContext';
|
|
16
|
+
export { ViewportProvider, useViewport } from './contexts/ViewportContext';
|
|
17
|
+
export { MobileFlowLayoutProvider, useMobileFlowLayout } from './mobile/mobileFlowLayoutContext';
|
|
18
|
+
export { PageFullscreenProvider, usePageFullscreen } from './contexts/PageFullscreenContext';
|
|
19
|
+
export * from './renderers/index';
|
|
20
|
+
export type * from './types/components';
|
|
21
|
+
export type * from './types/databaseDataSource';
|
|
22
|
+
export type * from './types/datasource';
|
|
23
|
+
export type * from './types/parameters';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
interface ArrayInputProps {
|
|
4
|
+
value: string[];
|
|
5
|
+
onChange: (newValues: string[]) => void;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
maxItems?: number;
|
|
8
|
+
emptyMessage?: string;
|
|
9
|
+
addButtonLabel?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
inputClassName?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function ArrayInput({ value, onChange, placeholder, maxItems, emptyMessage, addButtonLabel, className, inputClassName, }: ArrayInputProps): React.JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { JSONSchemaProperty } from '../shared/platform-types/index.ts';
|
|
3
|
+
|
|
4
|
+
interface ObjectArrayInputProps {
|
|
5
|
+
value: any[];
|
|
6
|
+
onChange: (newValues: any[]) => void;
|
|
7
|
+
itemSchema: JSONSchemaProperty;
|
|
8
|
+
className?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
errors?: Record<number, Record<string, string>>;
|
|
13
|
+
}
|
|
14
|
+
export declare const ObjectArrayInput: React.FC<ObjectArrayInputProps>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Grid24LayoutConfig } from '../types/components';
|
|
3
|
+
import { ParameterRecord } from '../types/parameters';
|
|
4
|
+
|
|
5
|
+
interface Grid24RendererProps {
|
|
6
|
+
config: Grid24LayoutConfig;
|
|
7
|
+
components: any[];
|
|
8
|
+
nestingLevel: number;
|
|
9
|
+
appConfig: any;
|
|
10
|
+
pageParams?: ParameterRecord;
|
|
11
|
+
pageId?: string;
|
|
12
|
+
tabId?: string;
|
|
13
|
+
/** Render the mobile vertical flow regardless of the GLOBAL viewport flag —
|
|
14
|
+
the studio's phone-frame preview must stack like real mobile does, but
|
|
15
|
+
cannot flip the global override (it would switch the whole shell). */
|
|
16
|
+
forceMobileFlow?: boolean;
|
|
17
|
+
/** Optional node injected into the MOBILE flow only (e.g. the sub-page back
|
|
18
|
+
button). Sits right below the first pinned FilterPanel, else at the top —
|
|
19
|
+
mirroring the fluid fallback path in PageLayoutRenderer. */
|
|
20
|
+
mobileFlowInsert?: React.ReactNode;
|
|
21
|
+
}
|
|
22
|
+
declare const Grid24Renderer: React.FC<Grid24RendererProps>;
|
|
23
|
+
export default Grid24Renderer;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as PageRenderer } from '../runtime/PageRenderer';
|
|
2
|
+
export { default as Grid24Renderer } from './Grid24Renderer';
|
|
3
|
+
export { MultiPageRenderer } from '../runtime/MultiPageRenderer';
|
|
4
|
+
export { PageFullscreenProvider, usePageFullscreen } from '../contexts/PageFullscreenContext';
|
|
5
|
+
export * from '../utils/layoutSystem';
|
|
6
|
+
export * from '../utils/grid24LayoutSystem';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { M as s, P as r } from "../MultiPageRenderer-B4G9Oswj.js";
|
|
2
|
+
import { G as o, a as i, b as n, c as l, d, L as p, M as C, P as G, e as g, f as m, g as u, h as P, i as R, j as S, k as A, l as E, m as L, n as y, o as D, p as I, q as T, r as _, s as c, t as b, u as f, v as B, w as F, x as h, y as v, z as w, A as z, B as M, C as x, D as N, E as K, F as O } from "./renderers/runtime-DX1LfmqO.js";
|
|
3
|
+
export {
|
|
4
|
+
o as GRID24_DEFAULT_SIZES,
|
|
5
|
+
i as GRID24_PRESETS,
|
|
6
|
+
n as GRID24_PRESET_LABEL_FALLBACK,
|
|
7
|
+
l as GRID24_SIZE_CAPABILITIES,
|
|
8
|
+
d as Grid24Renderer,
|
|
9
|
+
p as LAYOUT_PRESETS,
|
|
10
|
+
C as MAX_GRID24_NESTING_DEPTH,
|
|
11
|
+
s as MultiPageRenderer,
|
|
12
|
+
G as PageFullscreenProvider,
|
|
13
|
+
r as PageRenderer,
|
|
14
|
+
g as applyGrid24LayoutDefaults,
|
|
15
|
+
m as clampGrid24SpanToCapability,
|
|
16
|
+
u as compactGrid24Vertical,
|
|
17
|
+
P as computeRowCount,
|
|
18
|
+
R as createDefaultGrid24Layout,
|
|
19
|
+
S as detectOverlaps,
|
|
20
|
+
A as distributeComponentsToAreas,
|
|
21
|
+
E as generateComponentsFromPreset,
|
|
22
|
+
L as getAreaClass,
|
|
23
|
+
y as getAreaDescription,
|
|
24
|
+
D as getAreaDisplayName,
|
|
25
|
+
I as getComponentGridColumn,
|
|
26
|
+
T as getComponentGridRow,
|
|
27
|
+
_ as getGrid24ComponentSlotLabel,
|
|
28
|
+
c as getGrid24DefaultSize,
|
|
29
|
+
b as getGrid24SizeCapability,
|
|
30
|
+
f as getLayoutContainerClass,
|
|
31
|
+
B as getLayoutPresets,
|
|
32
|
+
F as getVisibleAreas,
|
|
33
|
+
h as grid24PresetToTranslationKey,
|
|
34
|
+
v as groupComponentsByRow,
|
|
35
|
+
w as mergeGrid24WithChildIds,
|
|
36
|
+
z as normalizeGrid24Components,
|
|
37
|
+
M as normalizeLayoutPreset,
|
|
38
|
+
x as resolveGrid24Push,
|
|
39
|
+
N as sortChildComponentsByGrid,
|
|
40
|
+
K as usePageFullscreen,
|
|
41
|
+
O as validateRowColSpan
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { NavigateFunction } from 'react-router-dom';
|
|
2
|
+
import { BaseApiClient } from './baseApiClient';
|
|
3
|
+
import { ApiResponse } from '../types/api';
|
|
4
|
+
import { getAuthToken } from '../../shared/platform-api/index.ts';
|
|
5
|
+
|
|
6
|
+
declare class AuthApiClient extends BaseApiClient {
|
|
7
|
+
constructor();
|
|
8
|
+
setNavigate(_nav: NavigateFunction): void;
|
|
9
|
+
private setupAuthInterceptors;
|
|
10
|
+
withoutAuth(): BaseApiClient;
|
|
11
|
+
batchRequest<T>(requests: Array<{
|
|
12
|
+
url: string;
|
|
13
|
+
method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
14
|
+
body?: any;
|
|
15
|
+
config?: any;
|
|
16
|
+
}>): Promise<ApiResponse<T>[]>;
|
|
17
|
+
}
|
|
18
|
+
export declare const apiClient: AuthApiClient;
|
|
19
|
+
export declare const setNavigate: (nav: NavigateFunction) => void;
|
|
20
|
+
export { AuthApiClient };
|
|
21
|
+
export { getAuthToken };
|
|
22
|
+
export default apiClient;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { ApiResponse, PaginatedResponse } from '../types/api';
|
|
3
|
+
|
|
4
|
+
declare const baseAxiosInstance: import('axios').AxiosInstance;
|
|
5
|
+
declare class BaseApiClient {
|
|
6
|
+
private axiosInstance;
|
|
7
|
+
constructor();
|
|
8
|
+
getInstance(): import('axios').AxiosInstance;
|
|
9
|
+
private request;
|
|
10
|
+
get<T>(url: string, params?: Record<string, any>, config?: AxiosRequestConfig): Promise<ApiResponse<T>>;
|
|
11
|
+
post<T>(url: string, body?: any, config?: AxiosRequestConfig): Promise<ApiResponse<T>>;
|
|
12
|
+
put<T>(url: string, body?: any, config?: AxiosRequestConfig): Promise<ApiResponse<T>>;
|
|
13
|
+
delete<T>(url: string, config?: AxiosRequestConfig): Promise<ApiResponse<T>>;
|
|
14
|
+
patch<T>(url: string, body?: any, config?: AxiosRequestConfig): Promise<ApiResponse<T>>;
|
|
15
|
+
getWithPagination<T>(url: string, params?: any, config?: AxiosRequestConfig): Promise<PaginatedResponse<T>>;
|
|
16
|
+
uploadFile<T>(url: string, file: File, additionalData?: Record<string, any>, config?: AxiosRequestConfig): Promise<ApiResponse<T>>;
|
|
17
|
+
downloadFile(url: string, filename?: string): Promise<void>;
|
|
18
|
+
}
|
|
19
|
+
export declare const baseApiClient: BaseApiClient;
|
|
20
|
+
export { BaseApiClient };
|
|
21
|
+
export { baseAxiosInstance };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface WorkbenchHostRequest {
|
|
2
|
+
url: string;
|
|
3
|
+
method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
4
|
+
body?: unknown;
|
|
5
|
+
headers?: Record<string, string>;
|
|
6
|
+
responseType?: 'json' | 'blob' | 'text';
|
|
7
|
+
signal?: AbortSignal;
|
|
8
|
+
}
|
|
9
|
+
export interface WorkbenchHostResponse<T = unknown> {
|
|
10
|
+
success: boolean;
|
|
11
|
+
data?: T;
|
|
12
|
+
code?: number;
|
|
13
|
+
message?: string;
|
|
14
|
+
error?: unknown;
|
|
15
|
+
timestamp?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface WorkbenchHostAdapters {
|
|
18
|
+
request?: <T = unknown>(request: WorkbenchHostRequest) => Promise<WorkbenchHostResponse<T>>;
|
|
19
|
+
}
|
|
20
|
+
export declare function configureWorkbenchHostAdapters(adapters: WorkbenchHostAdapters): () => void;
|
|
21
|
+
export declare function getWorkbenchHostAdapters(): WorkbenchHostAdapters;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const apiClient: import('axios').AxiosInstance;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export type SubscriptionPlan = 'FREE' | 'PERSONAL' | 'PRO' | 'TEAM' | 'ENTERPRISE';
|
|
2
|
+
export declare const TeamRoles: {
|
|
3
|
+
readonly OWNER: "OWNER";
|
|
4
|
+
readonly ADMINISTRATOR: "ADMINISTRATOR";
|
|
5
|
+
readonly MEMBER: "MEMBER";
|
|
6
|
+
readonly VIEWER: "VIEWER";
|
|
7
|
+
};
|
|
8
|
+
export type TeamRole = typeof TeamRoles[keyof typeof TeamRoles];
|
|
9
|
+
export interface TeamOwner {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
email: string;
|
|
13
|
+
subscriptionPlan: SubscriptionPlan;
|
|
14
|
+
subscriptionExpiry: string;
|
|
15
|
+
}
|
|
16
|
+
export interface TeamInfo {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
type: 'personal' | 'collaborative';
|
|
20
|
+
subscriptionPlan?: SubscriptionPlan;
|
|
21
|
+
owner?: TeamOwner;
|
|
22
|
+
role?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface UserPermissions {
|
|
25
|
+
isAdmin: boolean;
|
|
26
|
+
isSuperAdmin: boolean;
|
|
27
|
+
isPartner: boolean;
|
|
28
|
+
partner: {
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
type: string;
|
|
32
|
+
tier: string;
|
|
33
|
+
} | null;
|
|
34
|
+
}
|
|
35
|
+
interface SpacePermissions {
|
|
36
|
+
spaceId: string;
|
|
37
|
+
role: string;
|
|
38
|
+
permissions: string[];
|
|
39
|
+
canManageRoles: boolean;
|
|
40
|
+
}
|
|
41
|
+
declare class PermissionManager {
|
|
42
|
+
private data;
|
|
43
|
+
private readonly STORAGE_KEY;
|
|
44
|
+
private initializePromise;
|
|
45
|
+
private isInitializing;
|
|
46
|
+
private loadFromStorage;
|
|
47
|
+
private saveToStorage;
|
|
48
|
+
clearPermissions(spaceId?: string): void;
|
|
49
|
+
initialize(): Promise<void>;
|
|
50
|
+
private _doInitialize;
|
|
51
|
+
private loadPlatformPermissions;
|
|
52
|
+
loadSpacePermissions(spaceId: string): Promise<void>;
|
|
53
|
+
hasSpacePermission(spaceId: string, permission: string): boolean;
|
|
54
|
+
hasPlatformPermission(permission: string): boolean;
|
|
55
|
+
clearUserPermissions(): void;
|
|
56
|
+
getSpacePermissions(spaceId: string): SpacePermissions | null;
|
|
57
|
+
getPlatformRoles(): string[];
|
|
58
|
+
getCurrentSpaceRole(spaceId: string | null | undefined): string | null;
|
|
59
|
+
isSpacePermissionsLoaded(spaceId: string): boolean;
|
|
60
|
+
getPermissionSummary(): any;
|
|
61
|
+
}
|
|
62
|
+
export declare const permissionManager: PermissionManager;
|
|
63
|
+
export declare const hasSpacePermission: (spaceId: string, permission: string) => boolean;
|
|
64
|
+
export declare const hasPlatformPermission: (permission: string) => boolean;
|
|
65
|
+
export declare const initializePermissions: () => Promise<void>;
|
|
66
|
+
export declare const loadSpacePermissions: (spaceId: string) => Promise<void>;
|
|
67
|
+
export default permissionManager;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export type ReleaseEdition = 'cn' | 'global' | 'standalone';
|
|
2
|
+
export declare function getReleaseEdition(): ReleaseEdition;
|
|
3
|
+
export declare function isStandaloneDeployment(): boolean;
|
|
4
|
+
export declare function isCnEdition(): boolean;
|
|
5
|
+
export declare function isGlobalEdition(): boolean;
|
|
6
|
+
export declare function isSaaSDeployment(): boolean;
|
|
7
|
+
export declare function getDeploymentConfig(): {
|
|
8
|
+
edition: "cn";
|
|
9
|
+
showSignUp: boolean;
|
|
10
|
+
showPricing: boolean;
|
|
11
|
+
showMarketplace: boolean;
|
|
12
|
+
enableBilling: boolean;
|
|
13
|
+
homeRoute: string;
|
|
14
|
+
homeComponent: string;
|
|
15
|
+
} | {
|
|
16
|
+
edition: "global";
|
|
17
|
+
showSignUp: boolean;
|
|
18
|
+
showPricing: boolean;
|
|
19
|
+
showMarketplace: boolean;
|
|
20
|
+
enableBilling: boolean;
|
|
21
|
+
homeRoute: string;
|
|
22
|
+
homeComponent: string;
|
|
23
|
+
} | {
|
|
24
|
+
edition: "standalone";
|
|
25
|
+
showSignUp: boolean;
|
|
26
|
+
showPricing: boolean;
|
|
27
|
+
showMarketplace: boolean;
|
|
28
|
+
enableBilling: boolean;
|
|
29
|
+
homeRoute: string;
|
|
30
|
+
homeComponent: string;
|
|
31
|
+
};
|
|
32
|
+
export type DeploymentMode = 'saas' | 'standalone';
|
|
33
|
+
export declare function getDeploymentMode(): DeploymentMode;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ReleaseEdition } from './config/deployment';
|
|
2
|
+
|
|
3
|
+
interface AppConfig {
|
|
4
|
+
RELEASE_EDITION?: ReleaseEdition;
|
|
5
|
+
API_BASE_URL: string;
|
|
6
|
+
WEBSITE_URL: string;
|
|
7
|
+
APP_TITLE: string;
|
|
8
|
+
APP_DESCRIPTION: string;
|
|
9
|
+
/** Hub / platform base (login / account / identity), e.g. https://www.genispace.ai */
|
|
10
|
+
APP_URL?: string;
|
|
11
|
+
/** Console (management) base, e.g. https://www.genispace.ai/console */
|
|
12
|
+
CONSOLE_URL?: string;
|
|
13
|
+
CHAT_URL?: string;
|
|
14
|
+
WORKBENCH_URL?: string;
|
|
15
|
+
PARTNER_URL?: string;
|
|
16
|
+
/** App Shell origin for built-in GeniApp shortcuts in the header */
|
|
17
|
+
SHELL_URL?: string;
|
|
18
|
+
BRAND_CHANNEL?: string;
|
|
19
|
+
}
|
|
20
|
+
declare global {
|
|
21
|
+
interface Window {
|
|
22
|
+
__APP_CONFIG__?: AppConfig;
|
|
23
|
+
__CONFIG_LOADED__?: boolean;
|
|
24
|
+
onConfigReady?: (callback: () => void) => void;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export declare const isConfigLoaded: () => boolean;
|
|
28
|
+
export declare const waitForConfig: () => Promise<void>;
|
|
29
|
+
export declare const API_BASE_URL: string;
|
|
30
|
+
export declare const APP_TITLE: string;
|
|
31
|
+
export declare const APP_DESCRIPTION: string;
|
|
32
|
+
export declare const getConfig: () => {
|
|
33
|
+
API_BASE_URL: string;
|
|
34
|
+
WEBSITE_URL: string;
|
|
35
|
+
APP_TITLE: string;
|
|
36
|
+
APP_DESCRIPTION: string;
|
|
37
|
+
APP_URL: string;
|
|
38
|
+
CONSOLE_URL: string;
|
|
39
|
+
CHAT_URL: string;
|
|
40
|
+
WORKBENCH_URL: string;
|
|
41
|
+
PARTNER_URL: string;
|
|
42
|
+
SHELL_URL: string;
|
|
43
|
+
BRAND_CHANNEL: string;
|
|
44
|
+
};
|
|
45
|
+
export type { AppConfig };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useIsMobile(): boolean;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ApiResponse } from '../types/api';
|
|
2
|
+
|
|
3
|
+
export interface AgentSession {
|
|
4
|
+
sessionId: string;
|
|
5
|
+
agentId: string;
|
|
6
|
+
userId: string;
|
|
7
|
+
spaceId: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
status: 'ACTIVE' | 'COMPLETED' | 'FAILED';
|
|
10
|
+
createdAt: string;
|
|
11
|
+
updatedAt?: string;
|
|
12
|
+
metadata?: Record<string, any>;
|
|
13
|
+
}
|
|
14
|
+
export interface CreateSessionRequest {
|
|
15
|
+
title?: string;
|
|
16
|
+
metadata?: Record<string, any>;
|
|
17
|
+
sessionType?: 'chat' | 'test' | 'task' | 'assistant';
|
|
18
|
+
}
|
|
19
|
+
export interface CreateSessionResponse {
|
|
20
|
+
sessionId: string;
|
|
21
|
+
agentId: string;
|
|
22
|
+
userId: string;
|
|
23
|
+
spaceId: string;
|
|
24
|
+
title?: string;
|
|
25
|
+
status: string;
|
|
26
|
+
createdAt: string;
|
|
27
|
+
}
|
|
28
|
+
export declare class AgentService {
|
|
29
|
+
private static instance;
|
|
30
|
+
private readonly basePath;
|
|
31
|
+
private constructor();
|
|
32
|
+
static getInstance(): AgentService;
|
|
33
|
+
createSession(agentId: string, options?: CreateSessionRequest): Promise<ApiResponse<CreateSessionResponse>>;
|
|
34
|
+
getUserSessions(options?: {
|
|
35
|
+
agentId?: string;
|
|
36
|
+
status?: 'ACTIVE' | 'COMPLETED' | 'FAILED';
|
|
37
|
+
page?: number;
|
|
38
|
+
limit?: number;
|
|
39
|
+
}): Promise<ApiResponse<{
|
|
40
|
+
data: AgentSession[];
|
|
41
|
+
pagination: {
|
|
42
|
+
page: number;
|
|
43
|
+
limit: number;
|
|
44
|
+
total: number;
|
|
45
|
+
pages: number;
|
|
46
|
+
};
|
|
47
|
+
}>>;
|
|
48
|
+
getSessionById(sessionId: string): Promise<ApiResponse<AgentSession>>;
|
|
49
|
+
updateSession(sessionId: string, updateData: {
|
|
50
|
+
title?: string;
|
|
51
|
+
metadata?: Record<string, any>;
|
|
52
|
+
status?: 'ACTIVE' | 'COMPLETED' | 'FAILED';
|
|
53
|
+
}): Promise<ApiResponse<AgentSession>>;
|
|
54
|
+
deleteSession(sessionId: string): Promise<ApiResponse<{
|
|
55
|
+
message: string;
|
|
56
|
+
}>>;
|
|
57
|
+
getSessionMessages(sessionId: string, options?: {
|
|
58
|
+
page?: number;
|
|
59
|
+
limit?: number;
|
|
60
|
+
}): Promise<ApiResponse<{
|
|
61
|
+
data: any[];
|
|
62
|
+
pagination: {
|
|
63
|
+
page: number;
|
|
64
|
+
limit: number;
|
|
65
|
+
total: number;
|
|
66
|
+
pages: number;
|
|
67
|
+
};
|
|
68
|
+
}>>;
|
|
69
|
+
getSessionStats(options?: {
|
|
70
|
+
agentId?: string;
|
|
71
|
+
dateRange?: string;
|
|
72
|
+
}): Promise<ApiResponse<any>>;
|
|
73
|
+
executeAgent(agentId: string, requestData: any, agentType?: 'chat' | 'task', stream?: boolean): Promise<ApiResponse<any>>;
|
|
74
|
+
getAgent(agentId: string): Promise<ApiResponse<any>>;
|
|
75
|
+
}
|
|
76
|
+
export declare const agentService: AgentService;
|
|
77
|
+
export default agentService;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Application, ApplicationFilter, ApplicationStatus, CreateApplicationData, ApplicationCategory, ApplicationTemplate, ApplicationDeployment, ApplicationReview, ApplicationOrder, ApplicationApiKey } from '../../types';
|
|
2
|
+
|
|
3
|
+
export interface ApplicationListResponse {
|
|
4
|
+
success: boolean;
|
|
5
|
+
data: Application[];
|
|
6
|
+
pagination: {
|
|
7
|
+
page: number;
|
|
8
|
+
limit: number;
|
|
9
|
+
total: number;
|
|
10
|
+
pages: number;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface ApplicationDetailResponse {
|
|
14
|
+
success: boolean;
|
|
15
|
+
data: Application;
|
|
16
|
+
}
|
|
17
|
+
export interface ApplicationStatsResponse {
|
|
18
|
+
success: boolean;
|
|
19
|
+
data: {
|
|
20
|
+
total: number;
|
|
21
|
+
active: number;
|
|
22
|
+
growth: number;
|
|
23
|
+
breakdown: {
|
|
24
|
+
containerized: number;
|
|
25
|
+
lowcode: number;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
declare class ApplicationApiService {
|
|
30
|
+
getMyApplications(filters?: Partial<ApplicationFilter>, page?: number, limit?: number): Promise<ApplicationListResponse>;
|
|
31
|
+
getApplicationById(id: string): Promise<Application>;
|
|
32
|
+
createApplication(data: CreateApplicationData): Promise<Application>;
|
|
33
|
+
updateApplication(id: string, data: Partial<CreateApplicationData>): Promise<Application>;
|
|
34
|
+
deleteApplication(id: string): Promise<void>;
|
|
35
|
+
toggleApplicationStatus(id: string, status: ApplicationStatus): Promise<Application>;
|
|
36
|
+
deployApplication(id: string, versionId?: string, environment?: string): Promise<ApplicationDeployment>;
|
|
37
|
+
stopApplication(id: string): Promise<void>;
|
|
38
|
+
getApplicationDeployments(id: string): Promise<ApplicationDeployment[]>;
|
|
39
|
+
getApplicationLogs(id: string, options?: {
|
|
40
|
+
lines?: number;
|
|
41
|
+
since?: string;
|
|
42
|
+
level?: string;
|
|
43
|
+
}): Promise<any[]>;
|
|
44
|
+
getApplicationStats(id: string, timeRange?: string): Promise<any>;
|
|
45
|
+
getApplicationTemplates(framework?: string): Promise<ApplicationTemplate[]>;
|
|
46
|
+
getApplicationCategories(): Promise<ApplicationCategory[]>;
|
|
47
|
+
purchaseApplication(id: string, data: {
|
|
48
|
+
planType: string;
|
|
49
|
+
authorizedUsers?: number;
|
|
50
|
+
authorizedTeams?: number;
|
|
51
|
+
}): Promise<ApplicationOrder>;
|
|
52
|
+
installFreeApplication(id: string): Promise<void>;
|
|
53
|
+
getMyApplicationOrders(page?: number, limit?: number, status?: string): Promise<{
|
|
54
|
+
orders: ApplicationOrder[];
|
|
55
|
+
pagination: {
|
|
56
|
+
page: number;
|
|
57
|
+
limit: number;
|
|
58
|
+
total: number;
|
|
59
|
+
pages: number;
|
|
60
|
+
};
|
|
61
|
+
}>;
|
|
62
|
+
getApplicationStatistics(): Promise<{
|
|
63
|
+
total: number;
|
|
64
|
+
active: number;
|
|
65
|
+
growth: number;
|
|
66
|
+
breakdown: {
|
|
67
|
+
containerized: number;
|
|
68
|
+
lowcode: number;
|
|
69
|
+
};
|
|
70
|
+
}>;
|
|
71
|
+
getMyDashboardApplications(): Promise<Array<{
|
|
72
|
+
id: string;
|
|
73
|
+
title: string;
|
|
74
|
+
description: string;
|
|
75
|
+
type: string;
|
|
76
|
+
status: string;
|
|
77
|
+
lastUsed: string;
|
|
78
|
+
usage: string;
|
|
79
|
+
link: string;
|
|
80
|
+
createdAt: string;
|
|
81
|
+
updatedAt: string;
|
|
82
|
+
}>>;
|
|
83
|
+
createApplicationReview(id: string, data: {
|
|
84
|
+
rating: number;
|
|
85
|
+
comment?: string;
|
|
86
|
+
version?: string;
|
|
87
|
+
}): Promise<ApplicationReview>;
|
|
88
|
+
updateApplicationReview(id: string, data: {
|
|
89
|
+
rating: number;
|
|
90
|
+
comment?: string;
|
|
91
|
+
version?: string;
|
|
92
|
+
}): Promise<ApplicationReview>;
|
|
93
|
+
deleteApplicationReview(id: string): Promise<void>;
|
|
94
|
+
createApiKey(id: string, data: {
|
|
95
|
+
keyName: string;
|
|
96
|
+
permissions?: Record<string, any>;
|
|
97
|
+
rateLimit?: number;
|
|
98
|
+
expiresAt?: string;
|
|
99
|
+
}): Promise<ApplicationApiKey>;
|
|
100
|
+
updateApiKey(appId: string, keyId: string, data: {
|
|
101
|
+
keyName?: string;
|
|
102
|
+
permissions?: Record<string, any>;
|
|
103
|
+
rateLimit?: number;
|
|
104
|
+
isActive?: boolean;
|
|
105
|
+
expiresAt?: string;
|
|
106
|
+
}): Promise<ApplicationApiKey>;
|
|
107
|
+
deleteApiKey(appId: string, keyId: string): Promise<void>;
|
|
108
|
+
}
|
|
109
|
+
export declare const applicationApi: ApplicationApiService;
|
|
110
|
+
export { ApplicationApiService };
|
|
111
|
+
export default applicationApi;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Theme } from '../../themes';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Parses `hsl(h, s%, l%)` / `hsl(h s l)` into Tailwind-compatible channel triplets `"h s l"`.
|
|
5
|
+
*/
|
|
6
|
+
export declare function hslFunctionalToChannels(fn: string): string | null;
|
|
7
|
+
export declare function flattenDeclarations(decl: Record<string, string>): string;
|
|
8
|
+
/**
|
|
9
|
+
* Builds CSS for injecting into `#workbench-theme-variables`.
|
|
10
|
+
* Overrides base semantic tokens (`--primary`, ...) and keeps `--color-*` for themed CSS such as inkOnyx.css.
|
|
11
|
+
*/
|
|
12
|
+
export declare function buildWorkbenchPaletteCss(theme: Theme): string;
|
|
13
|
+
export declare function listRegisteredThemes(themeMap: Record<string, Theme>): Theme[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useWorkbenchTheme } from '../../contexts/WorkbenchThemeContext';
|