@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,26 @@
|
|
|
1
|
+
export interface TaskExecution {
|
|
2
|
+
id: string;
|
|
3
|
+
taskId: string;
|
|
4
|
+
userId: string;
|
|
5
|
+
spaceId: string;
|
|
6
|
+
taskType: string;
|
|
7
|
+
startTime: string;
|
|
8
|
+
endTime?: string;
|
|
9
|
+
status: 'PENDING' | 'RUNNING' | 'COMPLETED' | 'FAILED' | 'CANCELED' | 'RETRY';
|
|
10
|
+
outputs?: Record<string, unknown>;
|
|
11
|
+
logs?: Array<{
|
|
12
|
+
level: 'INFO' | 'WARNING' | 'ERROR' | 'DEBUG';
|
|
13
|
+
message: string;
|
|
14
|
+
metadata?: Record<string, unknown>;
|
|
15
|
+
}>;
|
|
16
|
+
currentNodeId?: string;
|
|
17
|
+
error?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface LogEntry {
|
|
20
|
+
id: string;
|
|
21
|
+
level: string;
|
|
22
|
+
message: string;
|
|
23
|
+
metadata: Record<string, unknown>;
|
|
24
|
+
timestamp: string;
|
|
25
|
+
executionId: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type IconName = keyof typeof COMMUNICATION_ICONS;
|
|
4
|
+
export type IconComponent = React.ComponentType<{
|
|
5
|
+
className?: string;
|
|
6
|
+
size?: number | string;
|
|
7
|
+
}>;
|
|
8
|
+
export interface IconCategory {
|
|
9
|
+
name: string;
|
|
10
|
+
label: string;
|
|
11
|
+
description: string;
|
|
12
|
+
icons: IconName[];
|
|
13
|
+
}
|
|
14
|
+
export declare const COMMUNICATION_ICONS: Record<string, IconComponent>;
|
|
15
|
+
export declare const ICON_CATEGORIES: IconCategory[];
|
|
16
|
+
export declare const getIcon: (iconName: string, defaultIcon?: IconName) => IconComponent;
|
|
17
|
+
export declare const getIconsByCategory: (categoryName: string) => IconName[];
|
|
18
|
+
export declare const getAllIconNames: () => IconName[];
|
|
19
|
+
export declare const isValidIconName: (iconName: string) => iconName is IconName;
|
|
20
|
+
export declare const getRecommendedIconsForTriggerCategory: (category: string) => IconName[];
|
|
21
|
+
export declare const createIconComponent: (iconName: string, className?: string) => React.ReactElement;
|
|
22
|
+
export declare const LEGACY_ICON_MAP: Record<string, IconName>;
|
|
23
|
+
export declare const convertLegacyIconName: (legacyName: string) => IconName;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ComponentTypeDefinition, ParameterDefinition, ComponentTrigger } from '../types/communication';
|
|
2
|
+
|
|
3
|
+
export declare const COMMON_PARAMETERS: Record<string, ParameterDefinition>;
|
|
4
|
+
export declare const COMMUNICATION_ONLY_PARAMETERS: readonly ["lastTaskResult", "tableRefreshTrigger", "chartRefreshTrigger", "listRefreshTrigger", "treeRefreshTrigger", "lastFormResult", "dataChangeNotification", "formValidationState", "formDataChanged", "taskStatusChanged", "currentTaskInfo", "selectedTreeNode"];
|
|
5
|
+
export declare const isCommunicationOnlyParameter: (parameterKey: string) => boolean;
|
|
6
|
+
export declare const COMPONENT_TRIGGERS: Record<string, ComponentTypeDefinition>;
|
|
7
|
+
export declare const getComponentTriggers: (componentType: string) => ComponentTypeDefinition | null;
|
|
8
|
+
export declare const getAllAvailableParameters: () => ParameterDefinition[];
|
|
9
|
+
export declare const getParametersByCategory: (category: string) => ParameterDefinition[];
|
|
10
|
+
export declare const getCommonParameters: () => ParameterDefinition[];
|
|
11
|
+
export declare const getTriggersByComponent: (componentType: string) => ComponentTrigger[];
|
|
12
|
+
export declare const getParameterDefinition: (parameterKey: string) => ParameterDefinition | null;
|
|
13
|
+
export declare const getComponentTypes: () => ComponentTypeDefinition[];
|
|
14
|
+
export declare const getComponentsByCategory: (category: string) => ComponentTypeDefinition[];
|
|
15
|
+
/**
|
|
16
|
+
* Base key for the "global action succeeded" trigger. Concrete instances
|
|
17
|
+
* append a dot-separated escaped actionId (e.g. `onGlobalActionSuccess.approve`).
|
|
18
|
+
* The bare base key is preserved as a fallback for callers that want to
|
|
19
|
+
* subscribe once to "any global action success" without per-button config.
|
|
20
|
+
*/
|
|
21
|
+
export declare const ON_GLOBAL_ACTION_SUCCESS_BASE = "onGlobalActionSuccess";
|
|
22
|
+
/**
|
|
23
|
+
* Replace characters that would break the dot-separated trigger key with
|
|
24
|
+
* `_`. Currently only `.` matters because we use dots as the separator,
|
|
25
|
+
* but this function is the single source of truth — if the separator ever
|
|
26
|
+
* changes, only this function needs updating.
|
|
27
|
+
*/
|
|
28
|
+
export declare function escapeActionIdForTrigger(actionId: string): string;
|
|
29
|
+
/**
|
|
30
|
+
* Build the trigger key for a given global action. Use the same function on
|
|
31
|
+
* both the renderer side (when emitting) and the editor side (when deriving
|
|
32
|
+
* the trigger list) so they always agree.
|
|
33
|
+
*/
|
|
34
|
+
export declare function globalActionSuccessTriggerKey(actionId: string): string;
|
|
35
|
+
/**
|
|
36
|
+
* Build the per-action trigger list from a Table's `actions` array.
|
|
37
|
+
* Only `position: 'global'` actions are included. Returns an empty array
|
|
38
|
+
* when no actions are provided so the caller can safely concatenate.
|
|
39
|
+
*/
|
|
40
|
+
export declare function getGlobalActionSuccessTriggers(actions: ReadonlyArray<{
|
|
41
|
+
id?: string;
|
|
42
|
+
position?: string;
|
|
43
|
+
label?: string;
|
|
44
|
+
}> | undefined): ComponentTrigger[];
|
|
45
|
+
/**
|
|
46
|
+
* Base key for the "row action succeeded" trigger. Concrete instances
|
|
47
|
+
* append a dot-separated escaped actionId (e.g. `onRowActionSuccess.edit`).
|
|
48
|
+
*/
|
|
49
|
+
export declare const ON_ROW_ACTION_SUCCESS_BASE = "onRowActionSuccess";
|
|
50
|
+
/**
|
|
51
|
+
* Build the trigger key for a given row action.
|
|
52
|
+
*/
|
|
53
|
+
export declare function rowActionSuccessTriggerKey(actionId: string): string;
|
|
54
|
+
/**
|
|
55
|
+
* Build the per-action trigger list from a Table's `actions` array.
|
|
56
|
+
* Only non-global (`position !== 'global'`) actions are included.
|
|
57
|
+
*/
|
|
58
|
+
export declare function getRowActionSuccessTriggers(actions: ReadonlyArray<{
|
|
59
|
+
id?: string;
|
|
60
|
+
position?: string;
|
|
61
|
+
label?: string;
|
|
62
|
+
}> | undefined): ComponentTrigger[];
|
|
63
|
+
/**
|
|
64
|
+
* Merge global and row per-button success triggers for the communication panel.
|
|
65
|
+
*/
|
|
66
|
+
export declare function getPerButtonActionSuccessTriggers(actions: ReadonlyArray<{
|
|
67
|
+
id?: string;
|
|
68
|
+
position?: string;
|
|
69
|
+
label?: string;
|
|
70
|
+
}> | undefined): ComponentTrigger[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Table / EditableTable action button styles: shared by property panel options, i18n fallbacks,
|
|
3
|
+
* help route, and TableRenderer behavior. (Not help-only; help content reuses the same variant list.)
|
|
4
|
+
*/
|
|
5
|
+
export declare const TABLE_ACTION_BUTTON_STYLE_HELP_PATH: "/help/table-action-button-style";
|
|
6
|
+
export declare const TABLE_ACTION_BUTTON_STYLE_VARIANTS: readonly ["default", "destructive", "outline", "secondary", "approve", "reject", "success", "warning", "info"];
|
|
7
|
+
export type TableActionButtonStyleVariant = (typeof TABLE_ACTION_BUTTON_STYLE_VARIANTS)[number];
|
|
8
|
+
/** English fallbacks for useTranslation('editor') keys table_property_editor.button_style_*; matches t(key, default) second arg */
|
|
9
|
+
export declare const TABLE_ACTION_BUTTON_STYLE_LABEL_FALLBACK: Record<TableActionButtonStyleVariant, string>;
|
|
10
|
+
/**
|
|
11
|
+
* Action types that open `ActionFormDialog` when `TableRenderer` has `inputMode === 'form'`.
|
|
12
|
+
* The property panel should align when showing direct vs form confirm and form options (incl. DB insert/delete, etc.).
|
|
13
|
+
*/
|
|
14
|
+
export declare const TABLE_ACTION_TYPES_WITH_FORM_MODE: readonly ["updateDataset", "insertDataset", "updateDatabase", "insertDatabase", "deleteDatabase", "transactionDatabase"];
|
|
15
|
+
export declare function tableActionSupportsFormMode(type: string): boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ParameterContextValue, ParameterRecord, ParameterParseConfig, ParameterValue } from '../types/parameters';
|
|
3
|
+
|
|
4
|
+
declare const ParameterContext: React.Context<ParameterContextValue>;
|
|
5
|
+
export { ParameterContext };
|
|
6
|
+
interface ParameterProviderProps {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
tabId: string;
|
|
9
|
+
pageId: string;
|
|
10
|
+
initialParams?: ParameterRecord;
|
|
11
|
+
}
|
|
12
|
+
export declare const parseUrlParameters: (config?: ParameterParseConfig) => ParameterRecord;
|
|
13
|
+
export declare const ParameterProvider: React.FC<ParameterProviderProps>;
|
|
14
|
+
export declare const useParameterContext: () => ParameterContextValue;
|
|
15
|
+
export declare const usePageParameters: () => ParameterRecord;
|
|
16
|
+
export declare const useParameter: (key: string) => ParameterValue;
|
|
17
|
+
export declare const useParameters: (keys: string[]) => Record<string, any>;
|
|
18
|
+
export declare const clearAllTabParameters: () => void;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
import { ViewportMode, ViewportSource } from '../mobile/utils/getMobileViewportState';
|
|
3
|
+
|
|
4
|
+
export type { ViewportMode };
|
|
5
|
+
interface ViewportContextValue {
|
|
6
|
+
mode: ViewportMode;
|
|
7
|
+
isMobile: boolean;
|
|
8
|
+
/** True when on desktop browser with a manual mobile preview override. */
|
|
9
|
+
canReturnToDesktop: boolean;
|
|
10
|
+
viewportSource: ViewportSource;
|
|
11
|
+
isWeCom: boolean;
|
|
12
|
+
forceMobile: () => void;
|
|
13
|
+
forceDesktop: () => void;
|
|
14
|
+
reset: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare function ViewportProvider({ children }: {
|
|
17
|
+
children: ReactNode;
|
|
18
|
+
}): React.JSX.Element;
|
|
19
|
+
export declare function useViewport(): ViewportContextValue;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PageConfig } from '../types/components';
|
|
3
|
+
import { WorkbenchConfigWithLocales, WorkbenchLocaleMetadata } from '../utils/workbenchConfigLocale';
|
|
4
|
+
import { LocaleLabelMap } from '../utils/workbenchDisplayLocale';
|
|
5
|
+
|
|
6
|
+
type WorkbenchConfigLocaleContextValue = {
|
|
7
|
+
language: string;
|
|
8
|
+
metadata: WorkbenchLocaleMetadata | undefined;
|
|
9
|
+
labelMap: LocaleLabelMap | undefined;
|
|
10
|
+
localizeText: (text: string | null | undefined) => string;
|
|
11
|
+
resolveBilingualText: (text: unknown) => string;
|
|
12
|
+
localizeRows: <T extends Record<string, unknown>>(rows: T[] | null | undefined) => T[];
|
|
13
|
+
localizeWorkbenchConfig: (config: WorkbenchConfigWithLocales | null | undefined) => WorkbenchConfigWithLocales | null | undefined;
|
|
14
|
+
localizeAppConfig: <T extends Record<string, unknown>>(appConfig: T | undefined) => T | undefined;
|
|
15
|
+
localizePageConfig: <T extends Record<string, unknown>>(pageId: string, pageConfig: T | undefined) => T | undefined;
|
|
16
|
+
};
|
|
17
|
+
export declare const WorkbenchConfigLocaleProvider: React.FC<{
|
|
18
|
+
metadata: WorkbenchLocaleMetadata | undefined;
|
|
19
|
+
children: React.ReactNode;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const useWorkbenchConfigLocale: () => WorkbenchConfigLocaleContextValue;
|
|
22
|
+
export declare const useLocalizedPageConfig: (pageId: string, pageConfig: PageConfig | undefined) => PageConfig | undefined;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
import { useSpace } from '../shared/platform-ui/index.ts';
|
|
3
|
+
|
|
4
|
+
type WorkbenchGlobalSpaceContextValue = ReturnType<typeof useSpace>;
|
|
5
|
+
export declare function WorkbenchGlobalSpaceProvider({ children }: {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}): React.JSX.Element;
|
|
8
|
+
export declare function useWorkbenchGlobalSpace(): WorkbenchGlobalSpaceContextValue;
|
|
9
|
+
export declare function useWorkbenchGlobalSpaceOptional(): WorkbenchGlobalSpaceContextValue | null;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
import { ThemeId, Theme } from '../themes';
|
|
3
|
+
|
|
4
|
+
interface WorkbenchThemeContextValue {
|
|
5
|
+
themeId: ThemeId;
|
|
6
|
+
setThemeId: (id: ThemeId) => Promise<void>;
|
|
7
|
+
theme: Theme;
|
|
8
|
+
isDark: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface WorkbenchThemeProviderProps {
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
workbenchId?: string;
|
|
13
|
+
serverThemeId?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Persist theme into `Workbench.config` (merge `{ ...config, themeId }`).
|
|
16
|
+
* When omitted, viewers prefer locally saved preferences before server defaults.
|
|
17
|
+
*/
|
|
18
|
+
onPersistTheme?: (themeId: ThemeId) => Promise<void>;
|
|
19
|
+
}
|
|
20
|
+
export declare function WorkbenchThemeProvider({ children, workbenchId, serverThemeId, onPersistTheme, }: WorkbenchThemeProviderProps): React.JSX.Element;
|
|
21
|
+
/** Appearance package (`classic` / `inkOnyx`, …); unrelated to `@genispace/shared-ui` light/dark controls. */
|
|
22
|
+
export declare function useWorkbenchTheme(): WorkbenchThemeContextValue;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
interface TaskParamsDialogProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onOpenChange: (open: boolean) => void;
|
|
6
|
+
taskId: string;
|
|
7
|
+
initialParams?: Record<string, unknown>;
|
|
8
|
+
onSuccess?: (result: {
|
|
9
|
+
id?: string;
|
|
10
|
+
executionId?: string;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}) => void;
|
|
13
|
+
onError?: (error: Error) => void;
|
|
14
|
+
title?: string;
|
|
15
|
+
description?: string;
|
|
16
|
+
}
|
|
17
|
+
declare const TaskParamsDialog: React.FC<TaskParamsDialogProps>;
|
|
18
|
+
export default TaskParamsDialog;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { InsertDatasetConfig, UpdateDatasetConfig } from '../types';
|
|
3
|
+
import { ColumnConfig } from '../types/editor';
|
|
4
|
+
|
|
5
|
+
interface TreeFormDialogProps {
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
mode: 'add' | 'edit';
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
onSubmit: (data: Record<string, any>) => void;
|
|
10
|
+
insertConfig?: InsertDatasetConfig;
|
|
11
|
+
updateConfig?: UpdateDatasetConfig;
|
|
12
|
+
treeColumns: ColumnConfig[];
|
|
13
|
+
selectedNode?: any;
|
|
14
|
+
selectedParent?: any;
|
|
15
|
+
parentKey?: string;
|
|
16
|
+
availableParameters?: Array<{
|
|
17
|
+
label: string;
|
|
18
|
+
value: string;
|
|
19
|
+
type?: string;
|
|
20
|
+
}>;
|
|
21
|
+
}
|
|
22
|
+
export declare const TreeFormDialog: React.FC<TreeFormDialogProps>;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { useComponentCommunication, useParameterEmitter, useParameterListener, } from './useComponentCommunication';
|
|
2
|
+
export type { ComponentCommunicationConfig, ComponentCommunicationReturn, } from './useComponentCommunication';
|
|
3
|
+
export { useParameterHandler, buildDataSourceFilters, buildFilterString, mergeFilterStrings, parseUrlParameters, } from './useParameterHandler';
|
|
4
|
+
export { useEnhancedDataSource } from './useEnhancedDataSource';
|
|
5
|
+
export type { UseEnhancedDataSourceOptions, UseEnhancedDataSourceReturn, } from './useEnhancedDataSource';
|
|
6
|
+
export { usePageAutoRefresh } from './usePageAutoRefresh';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ParameterValue, ParameterChangeEvent } from '../types/parameters';
|
|
2
|
+
|
|
3
|
+
export interface ComponentCommunicationConfig {
|
|
4
|
+
componentId: string;
|
|
5
|
+
emitParameters?: string[];
|
|
6
|
+
listenParameters?: string[];
|
|
7
|
+
onParameterChange?: (key: string, value: ParameterValue, event: ParameterChangeEvent) => void;
|
|
8
|
+
autoCleanup?: boolean;
|
|
9
|
+
immediate?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface ComponentCommunicationReturn {
|
|
12
|
+
emit: (key: string, value: ParameterValue) => void;
|
|
13
|
+
emitBatch: (params: Record<string, ParameterValue>) => void;
|
|
14
|
+
getCurrentParameter: (key: string) => ParameterValue;
|
|
15
|
+
getAllParameters: () => Record<string, ParameterValue>;
|
|
16
|
+
subscribe: (keys: string[], callback: (event: ParameterChangeEvent) => void) => () => void;
|
|
17
|
+
hasListeners: (key: string) => boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const useComponentCommunication: (config: ComponentCommunicationConfig) => ComponentCommunicationReturn;
|
|
20
|
+
export declare const useParameterEmitter: (componentId: string, allowedParameters?: string[]) => {
|
|
21
|
+
emit: (key: string, value: ParameterValue) => void;
|
|
22
|
+
emitBatch: (params: Record<string, ParameterValue>) => void;
|
|
23
|
+
};
|
|
24
|
+
export declare const useParameterListener: (componentId: string, parameters: string[], callback: (key: string, value: ParameterValue, event: ParameterChangeEvent) => void) => {
|
|
25
|
+
getCurrentParameter: (key: string) => ParameterValue;
|
|
26
|
+
getAllParameters: () => Record<string, ParameterValue>;
|
|
27
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UpdateDatabaseConfig } from '../types';
|
|
2
|
+
|
|
3
|
+
export declare const useConditionMapper: (updateConditions: UpdateDatabaseConfig["updateConditions"], onChange: (conditions: UpdateDatabaseConfig["updateConditions"]) => void) => {
|
|
4
|
+
isCollapsed: boolean;
|
|
5
|
+
setIsCollapsed: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
6
|
+
handleAddCondition: (fieldName: string, initialConfig?: Partial<UpdateDatabaseConfig["updateConditions"][string]>) => boolean;
|
|
7
|
+
handleRemoveCondition: (fieldName: string) => void;
|
|
8
|
+
handleConditionChange: (fieldName: string, key: string, value: string) => void;
|
|
9
|
+
handleFieldRename: (oldName: string, newName: string) => boolean;
|
|
10
|
+
getConditionStats: () => {
|
|
11
|
+
total: number;
|
|
12
|
+
hasStatic: boolean;
|
|
13
|
+
hasParameter: boolean;
|
|
14
|
+
hasColumn: boolean;
|
|
15
|
+
hasInputField: boolean;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DatabaseDataSourceConfig, UseDatabaseDataSourceReturn, SupportedComponentType, ErrorHandlingConfig, PerformanceConfig } from '../types/databaseDataSource';
|
|
2
|
+
|
|
3
|
+
export declare const useDatabaseDataSource: (config: DatabaseDataSourceConfig | null, componentType: SupportedComponentType, additionalParams?: Record<string, any>, options?: {
|
|
4
|
+
errorConfig?: Partial<ErrorHandlingConfig>;
|
|
5
|
+
performanceConfig?: Partial<PerformanceConfig>;
|
|
6
|
+
autoFetch?: boolean;
|
|
7
|
+
}) => UseDatabaseDataSourceReturn;
|
|
8
|
+
export default useDatabaseDataSource;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { WorkbenchConfigData } from '../types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Non-default datasource version bindings of a workbench config — shared by the
|
|
5
|
+
* EditModeToolbar badge (count) and the PublishDialog binding list.
|
|
6
|
+
*
|
|
7
|
+
* A pin counts as non-default when the pinned version differs from the
|
|
8
|
+
* datasource's current default, or when the pinned version no longer exists.
|
|
9
|
+
* Single POST /datasources/versions/batch call — it returns name/identifier
|
|
10
|
+
* per datasource, so no per-datasource detail fetches are needed.
|
|
11
|
+
*/
|
|
12
|
+
export interface DatasourceVersionBindingInfo {
|
|
13
|
+
datasourceId: string;
|
|
14
|
+
name?: string;
|
|
15
|
+
identifier?: string;
|
|
16
|
+
pinnedVersion: number;
|
|
17
|
+
defaultVersion: number | null;
|
|
18
|
+
/** False when the pinned version was deleted upstream. */
|
|
19
|
+
pinnedExists: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare function useNonDefaultDatasourceBindings(config: Pick<WorkbenchConfigData, 'datasourceVersions'> | null | undefined): {
|
|
22
|
+
bindings: DatasourceVersionBindingInfo[];
|
|
23
|
+
loading: boolean;
|
|
24
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EnhancedDataSource } from '../types/datasource';
|
|
2
|
+
|
|
3
|
+
export interface UseEnhancedDataSourceOptions {
|
|
4
|
+
dataSource: EnhancedDataSource | null;
|
|
5
|
+
onDataChange?: (data: any[]) => void;
|
|
6
|
+
onError?: (error: string) => void;
|
|
7
|
+
onFilterChange?: (filter: string) => void;
|
|
8
|
+
componentId?: string;
|
|
9
|
+
pageSize?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface DatasetPagination {
|
|
12
|
+
total: number;
|
|
13
|
+
limit: number;
|
|
14
|
+
offset: number;
|
|
15
|
+
current_page: number;
|
|
16
|
+
total_pages: number;
|
|
17
|
+
has_more: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface EnhancedDataSourceRefreshOptions {
|
|
20
|
+
page?: number;
|
|
21
|
+
pageSize?: number;
|
|
22
|
+
}
|
|
23
|
+
export interface UseEnhancedDataSourceReturn {
|
|
24
|
+
data: any[];
|
|
25
|
+
loading: boolean;
|
|
26
|
+
error: string | null;
|
|
27
|
+
pagination: DatasetPagination | undefined;
|
|
28
|
+
refresh: (options?: EnhancedDataSourceRefreshOptions) => Promise<void>;
|
|
29
|
+
currentFilter: string;
|
|
30
|
+
parameterValues: Record<string, any>;
|
|
31
|
+
filterConditions: string[];
|
|
32
|
+
exportAllData: (onProgress: (current: number, total: number) => void) => Promise<any[]>;
|
|
33
|
+
}
|
|
34
|
+
export declare function extractDatasetPagination(payload: unknown, fallback: {
|
|
35
|
+
page: number;
|
|
36
|
+
pageSize: number;
|
|
37
|
+
rowCount: number;
|
|
38
|
+
}): DatasetPagination;
|
|
39
|
+
export declare const useEnhancedDataSource: ({ dataSource, onDataChange, onError, onFilterChange, componentId, pageSize: requestedPageSize, }: UseEnhancedDataSourceOptions) => UseEnhancedDataSourceReturn;
|
|
40
|
+
export default useEnhancedDataSource;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ViewportSource } from '../mobile/utils/getMobileViewportState';
|
|
2
|
+
|
|
3
|
+
interface UseMobileViewportOptions {
|
|
4
|
+
wecom?: boolean;
|
|
5
|
+
debug?: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface UseMobileViewportReturn {
|
|
8
|
+
mode: 'mobile' | 'desktop';
|
|
9
|
+
isMobile: boolean;
|
|
10
|
+
canReturnToDesktop: boolean;
|
|
11
|
+
viewportSource: ViewportSource;
|
|
12
|
+
isWeCom: boolean;
|
|
13
|
+
forceMobile: () => void;
|
|
14
|
+
forceDesktop: () => void;
|
|
15
|
+
reset: () => void;
|
|
16
|
+
}
|
|
17
|
+
export declare function useMobileViewport(options?: UseMobileViewportOptions): UseMobileViewportReturn;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PageConfig } from '../types/components';
|
|
2
|
+
|
|
3
|
+
interface PageAutoRefreshOptions {
|
|
4
|
+
pageConfig: PageConfig;
|
|
5
|
+
pageId: string;
|
|
6
|
+
isActive: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const usePageAutoRefresh: ({ pageConfig, pageId, isActive }: PageAutoRefreshOptions) => void;
|
|
9
|
+
export default usePageAutoRefresh;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ParameterConfig } from '../types';
|
|
2
|
+
import { ParameterRecord, ParameterValue, ComponentParameterConfig, ParameterChangeEvent } from '../types/parameters';
|
|
3
|
+
|
|
4
|
+
interface UseParameterHandlerProps {
|
|
5
|
+
parameterConfig?: ParameterConfig;
|
|
6
|
+
pageParams?: ParameterRecord;
|
|
7
|
+
componentId?: string;
|
|
8
|
+
preferProvidedParams?: boolean;
|
|
9
|
+
componentParameterConfig?: ComponentParameterConfig;
|
|
10
|
+
}
|
|
11
|
+
interface UseParameterHandlerReturn {
|
|
12
|
+
rawParams: ParameterRecord;
|
|
13
|
+
getParameterForDataSource: () => ParameterRecord;
|
|
14
|
+
getParameterForProps: () => ParameterRecord;
|
|
15
|
+
updateParameter: (key: string, value: ParameterValue) => void;
|
|
16
|
+
isParameterEnabled: boolean;
|
|
17
|
+
parameterSource: 'context' | 'provided' | 'none';
|
|
18
|
+
broadcastParameter: (key: string, value: ParameterValue) => void;
|
|
19
|
+
subscribeToParameters: (keys: string[], callback: (event: ParameterChangeEvent) => void) => () => void;
|
|
20
|
+
isListeningToParameters: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare const useParameterHandler: ({ parameterConfig, pageParams, componentId, preferProvidedParams, componentParameterConfig }: UseParameterHandlerProps) => UseParameterHandlerReturn;
|
|
23
|
+
export declare const buildDataSourceFilters: (filters?: ParameterConfig["dataSourceFilters"], parameters?: ParameterRecord) => ParameterRecord;
|
|
24
|
+
export declare const buildFilterString: (filters?: ParameterRecord, fieldTypes?: Record<string, string>) => string;
|
|
25
|
+
export declare const mergeFilterStrings: (...filters: (string | undefined)[]) => string;
|
|
26
|
+
export declare const parseUrlParameters: () => ParameterRecord;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Release-notes prompt state ("new version published" dialog), shared by the
|
|
3
|
+
* desktop (WorkbenchLayout) and mobile (WorkbenchMobileLayout) shells.
|
|
4
|
+
*
|
|
5
|
+
* Shows once per user per published version: the dismissal marker lives
|
|
6
|
+
* server-side in `User.launcherState.releaseNoteDismissals` (a
|
|
7
|
+
* `{ [workbenchId]: publishedVersion }` map) via `GET/PUT /users/me/settings`
|
|
8
|
+
* — localStorage is deliberately NOT the source of truth because the WeCom
|
|
9
|
+
* webview wipes it on re-entry. A bare localStorage key is only an
|
|
10
|
+
* anti-flicker cache consulted before the settings GET resolves.
|
|
11
|
+
*
|
|
12
|
+
* Writes are deliberately narrow: `dismiss()` re-fetches settings, then PUTs
|
|
13
|
+
* ONLY the merged `releaseNoteDismissals` map — echoing back mount-time
|
|
14
|
+
* snapshots of sibling fields would clobber concurrent writes (e.g. hub's
|
|
15
|
+
* persistLauncherState); the server preserves fields we don't send and
|
|
16
|
+
* deep-merges this map per key.
|
|
17
|
+
*
|
|
18
|
+
* An unread version is still NOT enough to pop: the prompt only shows when
|
|
19
|
+
* `GET /workbenches/:id/publish-history?limit=1` returns a real note.
|
|
20
|
+
* Versions with empty history (publishes predating the history feature,
|
|
21
|
+
* template/copy-created workbenches) are marked read silently; a failed
|
|
22
|
+
* history fetch stays quiet without persisting, so the next visit retries.
|
|
23
|
+
*/
|
|
24
|
+
export interface UseReleaseNotesPromptOptions {
|
|
25
|
+
workbenchId?: string;
|
|
26
|
+
/** `currentWorkbench.publishedVersion` — absent until the workbench loads. */
|
|
27
|
+
publishedVersion?: string | null;
|
|
28
|
+
isEditMode: boolean;
|
|
29
|
+
isPreviewActive: boolean;
|
|
30
|
+
/** `UserContext.user.id` — absent until the user profile resolves. */
|
|
31
|
+
userId?: string | null;
|
|
32
|
+
}
|
|
33
|
+
export interface UseReleaseNotesPromptResult {
|
|
34
|
+
shouldShow: boolean;
|
|
35
|
+
/** Close the dialog and persist the dismissal (best-effort, never blocks). */
|
|
36
|
+
dismiss: () => void;
|
|
37
|
+
}
|
|
38
|
+
export declare function useReleaseNotesPrompt({ workbenchId, publishedVersion, isEditMode, isPreviewActive, userId, }: UseReleaseNotesPromptOptions): UseReleaseNotesPromptResult;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface UseSpaceSwitchHandlerOptions {
|
|
2
|
+
onSpaceSwitch?: () => void;
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare const useSpaceSwitchHandler: (options?: UseSpaceSwitchHandlerOptions) => void;
|
|
6
|
+
export declare const useSpaceSwitchRefresh: (refetchFn?: () => void) => void;
|
|
7
|
+
export default useSpaceSwitchHandler;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface DataSourceConfig {
|
|
2
|
+
datasourceId: string;
|
|
3
|
+
version?: number;
|
|
4
|
+
valueField: string;
|
|
5
|
+
labelField: string;
|
|
6
|
+
}
|
|
7
|
+
export interface DataSourceOption {
|
|
8
|
+
value: string;
|
|
9
|
+
label: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function parseDataSourceConfigFromMapping(mapping: {
|
|
12
|
+
source?: string;
|
|
13
|
+
value?: string;
|
|
14
|
+
} | undefined): DataSourceConfig | null;
|
|
15
|
+
export declare function useTaskInputDataSourceCache(parameterMapping: Record<string, {
|
|
16
|
+
source?: string;
|
|
17
|
+
value?: string;
|
|
18
|
+
}> | undefined, schemaLoaded: boolean): {
|
|
19
|
+
getOptionsForConfig: (config: DataSourceConfig | null) => DataSourceOption[];
|
|
20
|
+
parseDataSourceConfig: (mapping: {
|
|
21
|
+
source?: string;
|
|
22
|
+
value?: string;
|
|
23
|
+
} | undefined) => DataSourceConfig | null;
|
|
24
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface UseWaitForParametersOptions {
|
|
2
|
+
onReady?: () => void;
|
|
3
|
+
}
|
|
4
|
+
interface UseWaitForParametersReturn {
|
|
5
|
+
ready: boolean;
|
|
6
|
+
isReady: (parameterKeys: string[]) => boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const useWaitForParameters: (listenParameters: string[] | undefined, options?: UseWaitForParametersOptions) => UseWaitForParametersReturn;
|
|
9
|
+
export default useWaitForParameters;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Current user's access within the workbench's owning application.
|
|
3
|
+
* `roles` are the application role CODES assigned to the current user (from
|
|
4
|
+
* `GET /applications/:id/users/me/access`). Empty when the user has no app roles or the
|
|
5
|
+
* workbench app has no custom roles yet.
|
|
6
|
+
*/
|
|
7
|
+
export interface WorkbenchAppAccess {
|
|
8
|
+
isUser: boolean;
|
|
9
|
+
roles: string[];
|
|
10
|
+
permissionCodes: string[];
|
|
11
|
+
loading: boolean;
|
|
12
|
+
/** The workbench's owning application id (undefined until the workbench config loads). */
|
|
13
|
+
applicationId?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function useResolvedApplicationId(): string | undefined;
|
|
16
|
+
export declare function useWorkbenchAppAccess(): WorkbenchAppAccess;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enabled built-in nav apps + active id for AppHeader (pinned shortcuts, team apps menu).
|
|
3
|
+
*/
|
|
4
|
+
export declare function useWorkbenchHeaderNavApps(displayLanguage?: string): {
|
|
5
|
+
enabledBuiltInApps: import('../shared/platform-ui/index.ts').EnabledBuiltInAppItem[];
|
|
6
|
+
activeBuiltInAppId: string;
|
|
7
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { WorkbenchConfigView, WorkbenchResponse } from '../app/services/workbenchApi';
|
|
2
|
+
|
|
3
|
+
export interface ResolvedConfigView {
|
|
4
|
+
view: WorkbenchConfigView;
|
|
5
|
+
previewToken?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function resolveDraftLoadFallback(viewOptions: ResolvedConfigView, error: unknown): {
|
|
8
|
+
fallbackToPublished: boolean;
|
|
9
|
+
exitPreview: boolean;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Shared draft-preview state for the publish flow, consumed by both the desktop
|
|
13
|
+
* (WorkbenchLayout) and mobile (WorkbenchMobileLayout) shells: resolves which
|
|
14
|
+
* config view to load (preview link / edit mode / published), tracks whether a
|
|
15
|
+
* preview is on screen, and handles exiting preview — manually or when the
|
|
16
|
+
* backend rejects an expired preview token (403 PREVIEW_TOKEN_INVALID).
|
|
17
|
+
*/
|
|
18
|
+
export declare function useWorkbenchPreview(): {
|
|
19
|
+
resolveConfigView: (id: string) => ResolvedConfigView;
|
|
20
|
+
exitPreview: (id: string) => void;
|
|
21
|
+
isPreviewActive: boolean;
|
|
22
|
+
lastLoadedWorkbenchIdRef: import('react').MutableRefObject<string>;
|
|
23
|
+
loadWorkbenchWithPreview: (id: string) => Promise<WorkbenchResponse>;
|
|
24
|
+
};
|