@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,120 @@
|
|
|
1
|
+
export interface ParameterRefConfig {
|
|
2
|
+
type: 'parameter' | 'system';
|
|
3
|
+
source?: string;
|
|
4
|
+
systemParam?: string;
|
|
5
|
+
value?: any;
|
|
6
|
+
waitForValue?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface DatabaseDataSourceConfig {
|
|
9
|
+
type: 'database-datasource';
|
|
10
|
+
datasourceId: string;
|
|
11
|
+
datasourceName?: string;
|
|
12
|
+
/** Pin a datasource version; omit to use the default version */
|
|
13
|
+
version?: number;
|
|
14
|
+
sqlQuery?: string;
|
|
15
|
+
parameters?: Record<string, any>;
|
|
16
|
+
parameterTypes?: Record<string, string>;
|
|
17
|
+
outputFields?: string[];
|
|
18
|
+
defaultSort?: DefaultSortItem[];
|
|
19
|
+
enableSort?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface DatabaseDataSourceResponse {
|
|
22
|
+
success: boolean;
|
|
23
|
+
data?: {
|
|
24
|
+
rows: Record<string, any>[];
|
|
25
|
+
columns: string[];
|
|
26
|
+
totalCount: number;
|
|
27
|
+
executionTime: number;
|
|
28
|
+
pagination: {
|
|
29
|
+
page: number;
|
|
30
|
+
limit: number;
|
|
31
|
+
total: number;
|
|
32
|
+
pages: number;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
message?: string;
|
|
36
|
+
error?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface DatabaseDataSourceParams {
|
|
39
|
+
parameters?: Record<string, any>;
|
|
40
|
+
page?: number;
|
|
41
|
+
limit?: number;
|
|
42
|
+
offset?: number;
|
|
43
|
+
filter?: string;
|
|
44
|
+
sort?: string;
|
|
45
|
+
outputFields?: string[];
|
|
46
|
+
}
|
|
47
|
+
export type ComponentDataSourceType = 'dataset' | 'database-datasource' | 'external' | 'mock';
|
|
48
|
+
export type UnifiedDataSourceConfig = {
|
|
49
|
+
type: 'dataset';
|
|
50
|
+
datasetConfig: any;
|
|
51
|
+
} | {
|
|
52
|
+
type: 'database-datasource';
|
|
53
|
+
databaseDataSourceConfig: DatabaseDataSourceConfig;
|
|
54
|
+
} | {
|
|
55
|
+
type: 'external';
|
|
56
|
+
externalConfig: any;
|
|
57
|
+
} | {
|
|
58
|
+
type: 'mock';
|
|
59
|
+
mockConfig: any;
|
|
60
|
+
};
|
|
61
|
+
export interface DatabaseDataSourceOption {
|
|
62
|
+
id: string;
|
|
63
|
+
name: string;
|
|
64
|
+
description?: string;
|
|
65
|
+
type?: string;
|
|
66
|
+
status?: 'active' | 'inactive';
|
|
67
|
+
createdAt?: string;
|
|
68
|
+
updatedAt?: string;
|
|
69
|
+
}
|
|
70
|
+
export interface DatabaseFieldInfo {
|
|
71
|
+
name: string;
|
|
72
|
+
type: string;
|
|
73
|
+
description?: string;
|
|
74
|
+
nullable?: boolean;
|
|
75
|
+
defaultValue?: any;
|
|
76
|
+
}
|
|
77
|
+
export interface DatabaseDataSourcePreviewData {
|
|
78
|
+
fields: DatabaseFieldInfo[];
|
|
79
|
+
sampleData: Record<string, any>[];
|
|
80
|
+
totalCount?: number;
|
|
81
|
+
}
|
|
82
|
+
export interface UseDatabaseDataSourceReturn {
|
|
83
|
+
data: Record<string, any>[];
|
|
84
|
+
loading: boolean;
|
|
85
|
+
error: string | null;
|
|
86
|
+
pagination: {
|
|
87
|
+
total: number;
|
|
88
|
+
current_page: number;
|
|
89
|
+
total_pages: number;
|
|
90
|
+
limit: number;
|
|
91
|
+
offset: number;
|
|
92
|
+
has_more: boolean;
|
|
93
|
+
} | null;
|
|
94
|
+
isInitialized: boolean;
|
|
95
|
+
refetch: (params?: Record<string, any>) => Promise<void>;
|
|
96
|
+
clearCache: () => void;
|
|
97
|
+
exportAllData: (onProgress: (current: number, total: number) => void) => Promise<Record<string, any>[]>;
|
|
98
|
+
}
|
|
99
|
+
export type SupportedComponentType = 'Tree' | 'Table' | 'EditableTable' | 'Form' | 'Chart' | 'StatisticGroup' | 'Typography' | 'HeroCard' | 'CollapsePanel' | 'ProductReport' | 'ProductDetail' | 'TileGrid' | 'RingStat' | 'RadarChart' | 'List';
|
|
100
|
+
export interface DefaultSortItem {
|
|
101
|
+
field: string;
|
|
102
|
+
direction: 'asc' | 'desc';
|
|
103
|
+
}
|
|
104
|
+
export interface DataExtractionStrategy {
|
|
105
|
+
componentType: SupportedComponentType;
|
|
106
|
+
dataPath?: string;
|
|
107
|
+
transformFn?: (data: any[]) => any[];
|
|
108
|
+
}
|
|
109
|
+
export interface ErrorHandlingConfig {
|
|
110
|
+
showToast?: boolean;
|
|
111
|
+
retryAttempts?: number;
|
|
112
|
+
retryDelay?: number;
|
|
113
|
+
fallbackData?: any[];
|
|
114
|
+
}
|
|
115
|
+
export interface PerformanceConfig {
|
|
116
|
+
debounceTime?: number;
|
|
117
|
+
throttleTime?: number;
|
|
118
|
+
batchSize?: number;
|
|
119
|
+
lazyLoad?: boolean;
|
|
120
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
export type FilterOperator = 'eq' | 'ne' | 'gt' | 'lt' | 'gte' | 'lte' | 'like' | 'in' | 'not_in';
|
|
2
|
+
export interface ParameterFilterCondition {
|
|
3
|
+
id: string;
|
|
4
|
+
field: string;
|
|
5
|
+
operator: FilterOperator;
|
|
6
|
+
parameterName: string;
|
|
7
|
+
fallbackValue?: any;
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
description?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface DataSourceCommunicationConfig {
|
|
12
|
+
enabled: boolean;
|
|
13
|
+
listenToParameters: string[];
|
|
14
|
+
enableDebugLog?: boolean;
|
|
15
|
+
manualListenParameters?: string[];
|
|
16
|
+
autoListenParameters?: string[];
|
|
17
|
+
}
|
|
18
|
+
export interface DataSourceParams {
|
|
19
|
+
parameterFilters?: ParameterFilterCondition[];
|
|
20
|
+
limit?: number;
|
|
21
|
+
offset?: number;
|
|
22
|
+
outputFields?: string[];
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
}
|
|
25
|
+
export interface DataSource {
|
|
26
|
+
type: 'dataset';
|
|
27
|
+
datasetId: string;
|
|
28
|
+
datasetName?: string;
|
|
29
|
+
params: DataSourceParams;
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
}
|
|
32
|
+
export interface EnhancedDataSource extends DataSource {
|
|
33
|
+
communicationConfig?: DataSourceCommunicationConfig;
|
|
34
|
+
}
|
|
35
|
+
export interface SchemaField {
|
|
36
|
+
name: string;
|
|
37
|
+
type: string;
|
|
38
|
+
description?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface DatasetSchema {
|
|
41
|
+
fields: SchemaField[];
|
|
42
|
+
}
|
|
43
|
+
export interface ColumnConfig {
|
|
44
|
+
title: string;
|
|
45
|
+
dataIndex: string;
|
|
46
|
+
key: string;
|
|
47
|
+
width?: number | string;
|
|
48
|
+
minWidth?: number | string;
|
|
49
|
+
maxWidth?: number | string;
|
|
50
|
+
align?: string;
|
|
51
|
+
ellipsis?: boolean;
|
|
52
|
+
editable?: boolean;
|
|
53
|
+
editRequired?: boolean;
|
|
54
|
+
filterable?: boolean;
|
|
55
|
+
filterType?: 'equals' | 'like' | 'in';
|
|
56
|
+
filterMultiSelect?: boolean;
|
|
57
|
+
filterMaxTags?: number;
|
|
58
|
+
filterPassMode?: 'filter' | 'parameter';
|
|
59
|
+
filterParameterName?: string;
|
|
60
|
+
hidden?: boolean;
|
|
61
|
+
/** Pin column to the left in table renderer (horizontal scroll) */
|
|
62
|
+
frozen?: boolean;
|
|
63
|
+
fieldType?: 'VARCHAR' | 'INT8' | 'INT16' | 'INT32' | 'INT64' | 'FLOAT' | 'DOUBLE' | 'BOOL' | 'JSON' | 'ARRAY' | 'DATE' | 'DATETIME' | 'TEXT' | 'SWITCH' | 'IMAGE';
|
|
64
|
+
render?: {
|
|
65
|
+
type: 'Tag' | 'Progress' | 'Image' | 'yyyy-MM-dd' | 'yyyy-MM-dd HH:mm:ss' | 'Custom' | 'RankBadge' | 'Currency' | 'Number';
|
|
66
|
+
props?: {
|
|
67
|
+
color?: Record<string, string>;
|
|
68
|
+
text?: Record<string, string>;
|
|
69
|
+
textColor?: Record<string, string>;
|
|
70
|
+
status?: string;
|
|
71
|
+
showInfo?: boolean;
|
|
72
|
+
size?: 'small' | 'default' | 'large';
|
|
73
|
+
width?: number;
|
|
74
|
+
height?: number;
|
|
75
|
+
preview?: boolean;
|
|
76
|
+
fallback?: string;
|
|
77
|
+
render?: string;
|
|
78
|
+
customColor?: string;
|
|
79
|
+
fontWeight?: string;
|
|
80
|
+
fontFamily?: string;
|
|
81
|
+
fontStyle?: string;
|
|
82
|
+
textDecoration?: string;
|
|
83
|
+
topHighlight?: number;
|
|
84
|
+
highlightFrom?: string;
|
|
85
|
+
highlightTo?: string;
|
|
86
|
+
defaultFill?: string;
|
|
87
|
+
rankStyle?: 'square' | 'circle';
|
|
88
|
+
rankSize?: 'xs' | 'sm' | 'md';
|
|
89
|
+
medalTop?: number;
|
|
90
|
+
currencyField?: string;
|
|
91
|
+
compact?: boolean;
|
|
92
|
+
decimals?: number;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
switchConfig?: {
|
|
96
|
+
showText?: boolean;
|
|
97
|
+
onText?: string;
|
|
98
|
+
offText?: string;
|
|
99
|
+
};
|
|
100
|
+
inputType?: 'text' | 'number' | 'color' | 'date' | 'select' | 'switch' | 'file';
|
|
101
|
+
datasource?: {
|
|
102
|
+
datasourceId?: string;
|
|
103
|
+
/** Pin a datasource version; omit to use the default version */
|
|
104
|
+
version?: number;
|
|
105
|
+
valueField?: string;
|
|
106
|
+
labelField?: string;
|
|
107
|
+
};
|
|
108
|
+
[key: string]: unknown;
|
|
109
|
+
}
|
|
110
|
+
export interface PaginationConfig {
|
|
111
|
+
pageSize: number;
|
|
112
|
+
current?: number;
|
|
113
|
+
showSizeChanger?: boolean;
|
|
114
|
+
showQuickJumper?: boolean;
|
|
115
|
+
showTotal?: boolean;
|
|
116
|
+
[key: string]: unknown;
|
|
117
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type { BasePropertyEditorProps, ComponentEditorProps, DataSourceEditorProps, MockDataEditorProps, SchemaColumnSelectorProps, PropertyConfig, ComponentTypeConfig } from './editors';
|
|
2
|
+
export type { DataSource, DataSourceParams, SchemaField, DatasetSchema, ColumnConfig, PaginationConfig } from './datasource';
|
|
3
|
+
export type { StatisticItem } from './components';
|
|
4
|
+
export type { ComponentTypeName } from './components';
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { DataSource, SchemaField, DatasetSchema, ColumnConfig, EnhancedDataSource } from './datasource';
|
|
2
|
+
import { ComponentTypeName } from './components';
|
|
3
|
+
|
|
4
|
+
export interface BasePropertyEditorProps {
|
|
5
|
+
component: {
|
|
6
|
+
id: string;
|
|
7
|
+
type: string;
|
|
8
|
+
props?: Record<string, unknown>;
|
|
9
|
+
dataSource?: DataSource;
|
|
10
|
+
mockData?: unknown;
|
|
11
|
+
parameterConfig?: unknown;
|
|
12
|
+
actions?: unknown[];
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
onPropChange: (propKey: string, value: unknown) => void;
|
|
16
|
+
availablePages?: Array<{
|
|
17
|
+
key: string;
|
|
18
|
+
title: string;
|
|
19
|
+
}>;
|
|
20
|
+
availableParameters?: Array<{
|
|
21
|
+
label: string;
|
|
22
|
+
value: string;
|
|
23
|
+
type?: string;
|
|
24
|
+
}>;
|
|
25
|
+
}
|
|
26
|
+
export interface ComponentEditorProps extends BasePropertyEditorProps {
|
|
27
|
+
onDataSourceChange?: (dataSource: DataSource) => void;
|
|
28
|
+
onMockDataChange?: (mockData: unknown) => void;
|
|
29
|
+
onIdChange?: (id: string) => void;
|
|
30
|
+
}
|
|
31
|
+
export interface DataSourceEditorProps {
|
|
32
|
+
dataSource: EnhancedDataSource | null;
|
|
33
|
+
componentType: ComponentTypeName;
|
|
34
|
+
onChange: (dataSource: EnhancedDataSource) => void;
|
|
35
|
+
availableParameters?: Array<{
|
|
36
|
+
label: string;
|
|
37
|
+
value: string;
|
|
38
|
+
type?: string;
|
|
39
|
+
}>;
|
|
40
|
+
}
|
|
41
|
+
export interface MockDataEditorProps {
|
|
42
|
+
mockData: unknown;
|
|
43
|
+
componentType: ComponentTypeName;
|
|
44
|
+
onChange: (mockData: unknown) => void;
|
|
45
|
+
}
|
|
46
|
+
export interface SchemaColumnSelectorProps {
|
|
47
|
+
isOpen: boolean;
|
|
48
|
+
onOpenChange: (open: boolean) => void;
|
|
49
|
+
schema: DatasetSchema | null;
|
|
50
|
+
existingColumns: ColumnConfig[];
|
|
51
|
+
onSelect: (selectedFields: SchemaField[]) => void;
|
|
52
|
+
}
|
|
53
|
+
export interface PropertyConfig {
|
|
54
|
+
type: 'string' | 'number' | 'boolean' | 'array' | 'object';
|
|
55
|
+
label: string;
|
|
56
|
+
description?: string;
|
|
57
|
+
required?: boolean;
|
|
58
|
+
defaultValue?: any;
|
|
59
|
+
options?: Array<{
|
|
60
|
+
label: string;
|
|
61
|
+
value: string | number;
|
|
62
|
+
}>;
|
|
63
|
+
children?: {
|
|
64
|
+
[key: string]: PropertyConfig;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
export interface ComponentTypeConfig {
|
|
68
|
+
type: ComponentTypeName;
|
|
69
|
+
title: string;
|
|
70
|
+
description: string;
|
|
71
|
+
icon: string;
|
|
72
|
+
propTypes: {
|
|
73
|
+
[key: string]: PropertyConfig;
|
|
74
|
+
};
|
|
75
|
+
dataSourceTypes?: {
|
|
76
|
+
[key: string]: {
|
|
77
|
+
label: string;
|
|
78
|
+
description?: string;
|
|
79
|
+
required?: boolean;
|
|
80
|
+
children: {
|
|
81
|
+
[key: string]: PropertyConfig;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
mockData?: {
|
|
86
|
+
type: 'array' | 'object';
|
|
87
|
+
label: string;
|
|
88
|
+
description: string;
|
|
89
|
+
defaultValue: any;
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type GeniAppHttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
2
|
+
export interface GeniAppHostRequest {
|
|
3
|
+
url: string;
|
|
4
|
+
method: GeniAppHttpMethod;
|
|
5
|
+
body?: unknown;
|
|
6
|
+
params?: Record<string, unknown>;
|
|
7
|
+
headers?: Record<string, string>;
|
|
8
|
+
responseType?: 'json' | 'blob' | 'text';
|
|
9
|
+
signal?: AbortSignal;
|
|
10
|
+
}
|
|
11
|
+
export interface GeniAppHostResponse<T = unknown> {
|
|
12
|
+
success: boolean;
|
|
13
|
+
data?: T;
|
|
14
|
+
code?: number;
|
|
15
|
+
message?: string;
|
|
16
|
+
error?: unknown;
|
|
17
|
+
timestamp?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface GeniAppHostAdapters {
|
|
20
|
+
/** Platform transport used by Datasource, Task, Identity and Access renderers. */
|
|
21
|
+
request?: <T = unknown>(request: GeniAppHostRequest) => Promise<GeniAppHostResponse<T>>;
|
|
22
|
+
/** Application navigation. The default implementation uses react-router/browser history. */
|
|
23
|
+
navigate?: (path: string, options?: {
|
|
24
|
+
replace?: boolean;
|
|
25
|
+
state?: unknown;
|
|
26
|
+
}) => void;
|
|
27
|
+
/** Optional notification bridge for hosts that centralize user feedback. */
|
|
28
|
+
notify?: (notification: {
|
|
29
|
+
title: string;
|
|
30
|
+
description?: string;
|
|
31
|
+
variant?: 'default' | 'destructive' | 'success';
|
|
32
|
+
}) => void;
|
|
33
|
+
/** Optional namespaced storage implementation. Browser storage is used by default. */
|
|
34
|
+
storage?: Pick<Storage, 'getItem' | 'setItem' | 'removeItem'>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export type ParameterValue = string | number | boolean | null | undefined | Record<string, any> | any[];
|
|
2
|
+
export type ParameterRecord = Record<string, ParameterValue>;
|
|
3
|
+
export interface TabParameterInfo {
|
|
4
|
+
tabId: string;
|
|
5
|
+
pageId: string;
|
|
6
|
+
parameters: ParameterRecord;
|
|
7
|
+
timestamp: number;
|
|
8
|
+
}
|
|
9
|
+
export interface ParameterChangeEvent {
|
|
10
|
+
key: string;
|
|
11
|
+
value: ParameterValue;
|
|
12
|
+
oldValue: ParameterValue;
|
|
13
|
+
source: 'user' | 'component' | 'system';
|
|
14
|
+
timestamp: number;
|
|
15
|
+
componentId?: string;
|
|
16
|
+
}
|
|
17
|
+
export type ParameterListener = (event: ParameterChangeEvent) => void;
|
|
18
|
+
export interface ParameterSubscription {
|
|
19
|
+
parameterKeys: string[];
|
|
20
|
+
callback: ParameterListener;
|
|
21
|
+
componentId?: string;
|
|
22
|
+
immediate?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export type ParameterReadyCallback = () => void;
|
|
25
|
+
export interface ParameterContextValue {
|
|
26
|
+
currentTabParams: ParameterRecord;
|
|
27
|
+
getCurrentTabParams: () => ParameterRecord;
|
|
28
|
+
globalUrlParams: ParameterRecord;
|
|
29
|
+
updateTabParams: (params: Partial<ParameterRecord>, source?: 'user' | 'component' | 'system', componentId?: string) => void;
|
|
30
|
+
getTabParams: (tabId: string) => ParameterRecord;
|
|
31
|
+
cleanupTabParams: (activeTabIds: string[]) => void;
|
|
32
|
+
subscribeToParameter: (subscription: ParameterSubscription) => () => void;
|
|
33
|
+
unsubscribeFromParameter: (parameterKeys: string[], componentId?: string) => void;
|
|
34
|
+
broadcastParameterChange: (key: string, value: ParameterValue, source?: 'user' | 'component' | 'system', componentId?: string) => void;
|
|
35
|
+
markParametersReady: (parameterKeys: string[]) => void;
|
|
36
|
+
isParametersReady: (parameterKeys: string[]) => boolean;
|
|
37
|
+
subscribeToParametersReady: (parameterKeys: string[], callback: ParameterReadyCallback) => () => void;
|
|
38
|
+
}
|
|
39
|
+
export interface ParameterParseConfig {
|
|
40
|
+
enableJsonParsing: boolean;
|
|
41
|
+
defaultValues: ParameterRecord;
|
|
42
|
+
validationRules?: Record<string, (value: ParameterValue) => boolean>;
|
|
43
|
+
}
|
|
44
|
+
export interface ParameterProps {
|
|
45
|
+
pageParams?: ParameterRecord;
|
|
46
|
+
pageId?: string;
|
|
47
|
+
tabId?: string;
|
|
48
|
+
}
|
|
49
|
+
export interface ComponentParameterConfig {
|
|
50
|
+
enableParameterReceiving?: boolean;
|
|
51
|
+
parameterMapping?: Record<string, {
|
|
52
|
+
targetField: string;
|
|
53
|
+
targetType?: 'props' | 'dataSource' | 'filterCondition';
|
|
54
|
+
required?: boolean;
|
|
55
|
+
defaultValue?: ParameterValue;
|
|
56
|
+
transform?: (value: ParameterValue) => ParameterValue;
|
|
57
|
+
}>;
|
|
58
|
+
listenToParameters?: string[];
|
|
59
|
+
}
|