@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,80 @@
|
|
|
1
|
+
import { InsertDatasetConfig, UpdateDatasetConfig } from '../types';
|
|
2
|
+
|
|
3
|
+
export declare function debugCurrentUser(): void;
|
|
4
|
+
export declare function evaluateExpression(expression: string, formData: Record<string, any>, parameters: Record<string, any>): any;
|
|
5
|
+
export declare function buildInsertDataFromConfig(insertFields: InsertDatasetConfig['insertFields'], formData: Record<string, any>, parameters?: Record<string, any>): Record<string, any>;
|
|
6
|
+
export declare function buildUpdateDataFromConfig(updateFields: UpdateDatasetConfig['updateFields'], formData: Record<string, any>, parameters?: Record<string, any>): Record<string, any>;
|
|
7
|
+
export declare function buildUpdateConditionsFromConfig(updateConditions: UpdateDatasetConfig['updateConditions'], formData: Record<string, any>, parameters?: Record<string, any>): Record<string, any>;
|
|
8
|
+
export declare function buildDatabaseUpdateData(updateFields: Record<string, {
|
|
9
|
+
source: 'static' | 'parameter' | 'input_field' | 'column' | 'computed' | 'user';
|
|
10
|
+
value: string;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
fieldType?: 'VARCHAR' | 'INT32' | 'FLOAT' | 'BOOL' | 'JSON' | 'DATETIME';
|
|
13
|
+
defaultValue?: any;
|
|
14
|
+
transform?: string;
|
|
15
|
+
}>, rowData: Record<string, any>, parameters?: Record<string, any>): Record<string, any>;
|
|
16
|
+
export declare function buildDatabaseUpdateConditions(updateConditions: Record<string, {
|
|
17
|
+
id?: string;
|
|
18
|
+
source: 'static' | 'parameter' | 'input_field' | 'column';
|
|
19
|
+
value: string;
|
|
20
|
+
operator?: 'equals' | 'not_equals' | 'in' | 'not_in' | 'like' | 'between';
|
|
21
|
+
}>, rowData: Record<string, any>, parameters?: Record<string, any>): Record<string, any> | null;
|
|
22
|
+
export interface DatasourceField {
|
|
23
|
+
name: string;
|
|
24
|
+
type: string;
|
|
25
|
+
title?: string;
|
|
26
|
+
description?: string;
|
|
27
|
+
required?: boolean;
|
|
28
|
+
format?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface DatasourceSchema {
|
|
31
|
+
type: 'object';
|
|
32
|
+
properties: Record<string, {
|
|
33
|
+
type: string;
|
|
34
|
+
title?: string;
|
|
35
|
+
description?: string;
|
|
36
|
+
format?: string;
|
|
37
|
+
}>;
|
|
38
|
+
required?: string[];
|
|
39
|
+
}
|
|
40
|
+
export declare function extractOutputSchemaProperties(outputSchema: Record<string, unknown> | null | undefined): Record<string, {
|
|
41
|
+
type?: string;
|
|
42
|
+
title?: string;
|
|
43
|
+
description?: string;
|
|
44
|
+
format?: string;
|
|
45
|
+
nullable?: boolean;
|
|
46
|
+
}> | null;
|
|
47
|
+
export declare function parseOutputSchemaFields(outputSchema: Record<string, unknown> | null | undefined): Array<{
|
|
48
|
+
name: string;
|
|
49
|
+
type: string;
|
|
50
|
+
title?: string;
|
|
51
|
+
description?: string;
|
|
52
|
+
format?: string;
|
|
53
|
+
nullable?: boolean;
|
|
54
|
+
required?: boolean;
|
|
55
|
+
}>;
|
|
56
|
+
export declare function mapSchemaFieldType(schemaType: string, format?: string): 'VARCHAR' | 'INT32' | 'FLOAT' | 'BOOL' | 'JSON' | 'DATETIME';
|
|
57
|
+
export declare function getRecommendedOperators(fieldType: 'VARCHAR' | 'INT32' | 'FLOAT' | 'BOOL' | 'JSON' | 'DATETIME'): Array<'equals' | 'not_equals' | 'in' | 'not_in' | 'like' | 'between'>;
|
|
58
|
+
export declare function validateFieldTypeCompatibility(fieldName: string, sourceType: string, targetType: 'VARCHAR' | 'INT32' | 'FLOAT' | 'BOOL' | 'JSON' | 'DATETIME'): {
|
|
59
|
+
valid: boolean;
|
|
60
|
+
message?: string;
|
|
61
|
+
};
|
|
62
|
+
export interface InputSchemaParameter {
|
|
63
|
+
name: string;
|
|
64
|
+
type: string;
|
|
65
|
+
title?: string;
|
|
66
|
+
description?: string;
|
|
67
|
+
required?: boolean;
|
|
68
|
+
defaultValue?: any;
|
|
69
|
+
}
|
|
70
|
+
export interface InputSchema {
|
|
71
|
+
type: 'object';
|
|
72
|
+
properties: Record<string, {
|
|
73
|
+
type: string;
|
|
74
|
+
title?: string;
|
|
75
|
+
description?: string;
|
|
76
|
+
format?: string;
|
|
77
|
+
default?: any;
|
|
78
|
+
}>;
|
|
79
|
+
required?: string[];
|
|
80
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DatabaseDataSourceConfig } from '../types/databaseDataSource';
|
|
2
|
+
|
|
3
|
+
export declare function queryDatabaseColumnValue(datasourceConfig: DatabaseDataSourceConfig, field: string, processedParams: Record<string, unknown>, condition?: string, opts?: {
|
|
4
|
+
nullAsEmpty?: boolean;
|
|
5
|
+
}): Promise<{
|
|
6
|
+
result: number | string;
|
|
7
|
+
error?: string;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ParameterRecord, ParameterValue } from '../types/parameters';
|
|
2
|
+
|
|
3
|
+
export declare function extractParameterNamesFromDatasourceParameters(parameters: Record<string, unknown> | undefined): string[];
|
|
4
|
+
/**
|
|
5
|
+
* Source names of bound params that carry a configured default `value` (including `''`).
|
|
6
|
+
* Such params always resolve to at least their default ('' = "no filter"), so they must NOT
|
|
7
|
+
* gate the first fetch. Otherwise a component that mounts AFTER the params were broadcast
|
|
8
|
+
* (e.g. a lazy tab with `destroyInactiveTabPane: true`) waits forever for an already-passed
|
|
9
|
+
* broadcast and never fetches — the table shows up empty. Only genuinely-required bound params
|
|
10
|
+
* (declared without a default) should gate.
|
|
11
|
+
*/
|
|
12
|
+
export declare function extractDefaultedParameterNamesFromDatasourceParameters(parameters: Record<string, unknown> | undefined): string[];
|
|
13
|
+
/**
|
|
14
|
+
* Fetch-gate groups for a datasource's bound parameters, per the `waitForValue` contract
|
|
15
|
+
* (editable in DatabaseDataSourceEditor's "wait for value" toggle):
|
|
16
|
+
* - `waitForValue: false` → never gates the first fetch (optional dimension).
|
|
17
|
+
* - `waitForValue: true` → `strict`: the first fetch MUST wait until the param has an actual
|
|
18
|
+
* value on the bus. Readiness marks alone don't count — FilterPanel marks its params ready
|
|
19
|
+
* before async-resolved values (e.g. preset date ranges) land, which is exactly what used to
|
|
20
|
+
* let empty-date queries through (all-time data overwriting the correct response).
|
|
21
|
+
* - absent → `legacy`: gates only when the param has NO configured default `value` (a default —
|
|
22
|
+
* including `''` = "no filter" — self-resolves; waiting on it would stall components that
|
|
23
|
+
* mount after the broadcast, e.g. lazy tabs). Readiness escapes stay valid for these.
|
|
24
|
+
* A source bound in several entries lands in the strictest group that claims it.
|
|
25
|
+
*/
|
|
26
|
+
export interface DatasourceFetchGateParams {
|
|
27
|
+
strict: string[];
|
|
28
|
+
legacy: string[];
|
|
29
|
+
all: string[];
|
|
30
|
+
}
|
|
31
|
+
export declare function extractFetchGateParamsFromDatasourceParameters(parameters: Record<string, unknown> | undefined): DatasourceFetchGateParams;
|
|
32
|
+
/**
|
|
33
|
+
* Config KEYS (request-body field names, not bus source names) of bindings with an explicit
|
|
34
|
+
* `waitForValue: true`. For renderers that gate on the RESOLVED request body (Chart/Form/Tree/
|
|
35
|
+
* CollapsePanel style, where the body is a render-time memo): the fetch may only go out once
|
|
36
|
+
* every strict key actually resolved to a value — checking the body itself keeps gate and
|
|
37
|
+
* payload coherent by construction.
|
|
38
|
+
*/
|
|
39
|
+
export declare function extractStrictWaitParameterKeysFromDatasourceParameters(parameters: Record<string, unknown> | undefined): string[];
|
|
40
|
+
export declare function hasResolvedDatasourceParameterValues(parameterNames: string[], getCurrentParameter: (name: string) => ParameterValue | undefined, rawParams: ParameterRecord): boolean;
|
|
41
|
+
export declare function convertDatasourceParameterValue(value: unknown, type: string): unknown;
|
|
42
|
+
export declare function processDataSourceParametersForQuery(parameters: Record<string, unknown> | undefined, parameterTypes: Record<string, string> | undefined, getCurrentParameter: (name: string) => ParameterValue | undefined, rawParams: ParameterRecord): Record<string, unknown>;
|
|
43
|
+
export declare function extractParameterNamesFromCondition(condition: string | undefined): string[];
|
|
44
|
+
export declare function replaceParametersInConditionString(condition: string | undefined, getCurrentParameter: (name: string) => ParameterValue | undefined, rawParams: ParameterRecord): string | undefined;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ParameterRecord } from '../types/parameters';
|
|
2
|
+
import { TableDataType } from '../types/renderers';
|
|
3
|
+
|
|
4
|
+
interface FieldMappingConfig {
|
|
5
|
+
source: string;
|
|
6
|
+
value: string;
|
|
7
|
+
fieldType?: string;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function resolveTargetDatasetId(targetDatasetId: string | {
|
|
11
|
+
source: 'parameter' | 'static';
|
|
12
|
+
paramName?: string;
|
|
13
|
+
value?: string;
|
|
14
|
+
}, parameters: ParameterRecord, pageParams?: ParameterRecord): string;
|
|
15
|
+
export declare function executeDatasetOperation(operationType: 'update' | 'insert' | 'delete', config: {
|
|
16
|
+
targetDatasetId: string | {
|
|
17
|
+
source: 'parameter' | 'static';
|
|
18
|
+
paramName?: string;
|
|
19
|
+
value?: string;
|
|
20
|
+
};
|
|
21
|
+
updateFields?: Record<string, FieldMappingConfig & {
|
|
22
|
+
source?: string;
|
|
23
|
+
}>;
|
|
24
|
+
insertFields?: Record<string, FieldMappingConfig & {
|
|
25
|
+
source?: string;
|
|
26
|
+
}>;
|
|
27
|
+
updateConditions?: Record<string, FieldMappingConfig & {
|
|
28
|
+
source?: string;
|
|
29
|
+
}>;
|
|
30
|
+
deleteConditions?: Record<string, FieldMappingConfig & {
|
|
31
|
+
source?: string;
|
|
32
|
+
}>;
|
|
33
|
+
}, record: TableDataType, parameters?: ParameterRecord, pageParams?: ParameterRecord, formValues?: Record<string, unknown>): Promise<import('../lib/types/api').ApiResponse<{
|
|
34
|
+
deletedCount?: number;
|
|
35
|
+
deleted_count?: number;
|
|
36
|
+
affectedRows?: number;
|
|
37
|
+
affected_rows?: number;
|
|
38
|
+
}> | import('../lib/types/api').ApiResponse<{
|
|
39
|
+
updatedCount?: number;
|
|
40
|
+
updated_count?: number;
|
|
41
|
+
affectedRows?: number;
|
|
42
|
+
affected_rows?: number;
|
|
43
|
+
}> | import('../lib/types/api').ApiResponse<{
|
|
44
|
+
ids?: Array<string | number>;
|
|
45
|
+
insertedCount?: number;
|
|
46
|
+
inserted_count?: number;
|
|
47
|
+
}>>;
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { WorkbenchConfigData } from '../types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Workbench-level datasource version pins.
|
|
5
|
+
*
|
|
6
|
+
* `config.datasourceVersions` is a sparse `{ [datasourceId]: version }` map:
|
|
7
|
+
* a missing entry means "follow the datasource default version". Runtime
|
|
8
|
+
* priority: workbench map > component/action-level version field > default.
|
|
9
|
+
*
|
|
10
|
+
* Renderers and hooks deep inside the tree do not receive the workbench
|
|
11
|
+
* config, so the layout syncs the map into a module-level registry
|
|
12
|
+
* (`setRuntimeDatasourceVersions`); call sites resolve through
|
|
13
|
+
* `resolveRuntimeDatasourceVersion` (imperative) or `useDatasourceVersions`
|
|
14
|
+
* (reactive).
|
|
15
|
+
*/
|
|
16
|
+
type DatasourceVersionsMap = Record<string, number>;
|
|
17
|
+
/** Pure resolver per the design doc: read the map, fall back to the caller's version. */
|
|
18
|
+
export declare function resolveDatasourceVersion(config: Pick<WorkbenchConfigData, 'datasourceVersions'> | null | undefined, datasourceId: string | null | undefined, fallback?: number): number | undefined;
|
|
19
|
+
/** Called by WorkbenchLayout whenever the loaded/draft config changes. */
|
|
20
|
+
export declare function setRuntimeDatasourceVersions(versions: DatasourceVersionsMap | undefined): void;
|
|
21
|
+
export declare function getRuntimeDatasourceVersions(): DatasourceVersionsMap | undefined;
|
|
22
|
+
/** Imperative resolution for event-driven call sites (actions, exports, caches). */
|
|
23
|
+
export declare function resolveRuntimeDatasourceVersion(datasourceId: string | null | undefined, fallback?: number): number | undefined;
|
|
24
|
+
/** Reactive read: components refetch when a pin changes. */
|
|
25
|
+
export declare function useDatasourceVersions(): DatasourceVersionsMap | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Sync the workbench-level pins from the loaded config into the module registry,
|
|
28
|
+
* clearing on unmount. Shared by every layout entry (desktop WorkbenchLayout and
|
|
29
|
+
* WorkbenchMobileLayout) so no viewport-specific entry can forget to populate it.
|
|
30
|
+
*/
|
|
31
|
+
export declare function useSyncRuntimeDatasourceVersions(config: Pick<WorkbenchConfigData, 'datasourceVersions'> | null | undefined): void;
|
|
32
|
+
/**
|
|
33
|
+
* F6 fallback detection: backend `resolveDataSourceConfig(id, spaceId, version=N)`
|
|
34
|
+
* throws 404 `DATASOURCE_VERSION_NOT_FOUND` when the pinned version was deleted.
|
|
35
|
+
* BaseApiClient attaches the response body as `errorDetails`.
|
|
36
|
+
*/
|
|
37
|
+
export declare function isDatasourceVersionNotFoundError(error: unknown): boolean;
|
|
38
|
+
export interface ReferencedDatasource {
|
|
39
|
+
datasourceId: string;
|
|
40
|
+
/** Name carried by the workbench config (databaseDataSourceConfig.datasourceName). */
|
|
41
|
+
name?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* All datasources referenced by the workbench — deduplicated, with the config-carried
|
|
45
|
+
* datasourceName when present. Deep-walks `config.pages` only.
|
|
46
|
+
*
|
|
47
|
+
* Reference shapes collected:
|
|
48
|
+
* - component `databaseDataSourceConfig.datasourceId` (root-level or under props) — carries the name;
|
|
49
|
+
* - action `targetDatasourceId` (update/insert/delete/transaction);
|
|
50
|
+
* - ANY plain `{ datasourceId: string }` own property — catches FilterPanel-internal sources that
|
|
51
|
+
* live outside databaseDataSourceConfig: filter option `dataSource`, presetDateRange
|
|
52
|
+
* `dateRangeSource` / `customTabs[].source`, `updateTime`, filterSheet section/tab/tag sources, …;
|
|
53
|
+
* - `{ stampDatasourceId: string }` (FilterPanel option-cache stamp meta source).
|
|
54
|
+
*/
|
|
55
|
+
export declare function collectReferencedDatasources(config: Pick<WorkbenchConfigData, 'pages'> | null | undefined): ReferencedDatasource[];
|
|
56
|
+
/**
|
|
57
|
+
* All datasource ids referenced by the workbench — deduplicated.
|
|
58
|
+
* Convenience wrapper over collectReferencedDatasources.
|
|
59
|
+
*/
|
|
60
|
+
export declare function collectReferencedDatasourceIds(config: Pick<WorkbenchConfigData, 'pages'> | null | undefined): string[];
|
|
61
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface DebugInfo {
|
|
2
|
+
timestamp: number;
|
|
3
|
+
type: 'parameter_change' | 'component_render' | 'navigation' | 'error';
|
|
4
|
+
component?: string;
|
|
5
|
+
tabId?: string;
|
|
6
|
+
pageId?: string;
|
|
7
|
+
details: any;
|
|
8
|
+
}
|
|
9
|
+
declare class DebugLogger {
|
|
10
|
+
private logs;
|
|
11
|
+
private maxLogs;
|
|
12
|
+
private isEnabled;
|
|
13
|
+
log(type: DebugInfo['type'], details: any, component?: string, tabId?: string, pageId?: string): void;
|
|
14
|
+
getLogs(filter?: Partial<Pick<DebugInfo, 'type' | 'component' | 'tabId' | 'pageId'>>): DebugInfo[];
|
|
15
|
+
clear(): void;
|
|
16
|
+
getStats(): {
|
|
17
|
+
total: number;
|
|
18
|
+
byType: Record<string, number>;
|
|
19
|
+
byComponent: Record<string, number>;
|
|
20
|
+
byTab: Record<string, number>;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export declare const debugLogger: DebugLogger;
|
|
24
|
+
export declare const logParameterChange: (key: string, value: any, oldValue: any, source: string, componentId?: string, tabId?: string) => void;
|
|
25
|
+
export declare const logComponentRender: (componentId: string, componentType: string, renderProps: any, tabId?: string, pageId?: string) => void;
|
|
26
|
+
export declare const logNavigation: (from: string, to: string, tabId?: string, pageId?: string) => void;
|
|
27
|
+
export declare const logError: (error: Error, context: string, componentId?: string, tabId?: string, pageId?: string) => void;
|
|
28
|
+
export declare const createPerformanceMonitor: (name: string) => {
|
|
29
|
+
end: () => number;
|
|
30
|
+
};
|
|
31
|
+
export declare const detectRenderingStateUpdates: () => void;
|
|
32
|
+
export declare const setupGlobalErrorHandling: () => void;
|
|
33
|
+
export declare const initDebugTools: () => void;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface ApiError {
|
|
2
|
+
message: string;
|
|
3
|
+
code?: string;
|
|
4
|
+
status?: number;
|
|
5
|
+
originalError?: unknown;
|
|
6
|
+
}
|
|
7
|
+
export declare const extractApiError: (error: unknown, namespaceHint?: string) => ApiError;
|
|
8
|
+
export declare const getFriendlyErrorMessage: (error: ApiError, context?: string, namespaceHint?: string) => string;
|
|
9
|
+
export declare const getErrorTitle: (error: ApiError) => string;
|
|
10
|
+
export declare const handleApiError: (error: unknown, context?: string, namespaceHint?: string) => ApiError;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface UserInfo {
|
|
2
|
+
id?: string;
|
|
3
|
+
name?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function evaluateComputedExpression(expression: string, userInfo?: UserInfo): string;
|
|
7
|
+
export declare function getComputedExpressionTemplates(): {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
description: string;
|
|
11
|
+
example: string;
|
|
12
|
+
category: string;
|
|
13
|
+
}[];
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type DateRangeQuickSelectPresetKey = 'today' | 'yesterday' | 'yesterdayToToday' | 'last7days' | 'last30days';
|
|
2
|
+
export type DateRangeQuickSelectItems = Partial<Record<DateRangeQuickSelectPresetKey, boolean>>;
|
|
3
|
+
export type DateRangeDefaultConfig = {
|
|
4
|
+
type: string;
|
|
5
|
+
defaultValue?: unknown;
|
|
6
|
+
useSpecifiedTime?: boolean;
|
|
7
|
+
showTimePicker?: boolean;
|
|
8
|
+
specifiedStartTime?: string;
|
|
9
|
+
specifiedEndTime?: string;
|
|
10
|
+
quickSelectItems?: DateRangeQuickSelectItems;
|
|
11
|
+
};
|
|
12
|
+
export type TimeParts = {
|
|
13
|
+
h: number;
|
|
14
|
+
m: number;
|
|
15
|
+
s: number;
|
|
16
|
+
};
|
|
17
|
+
export declare function parseTimePartsFromConfig(value: string | undefined): TimeParts | undefined;
|
|
18
|
+
export declare function combineDateWithTimeParts(d: Date, parts: TimeParts): Date;
|
|
19
|
+
export declare function applyConfiguredTimeToDateRange(filter: DateRangeDefaultConfig, range: {
|
|
20
|
+
from: Date;
|
|
21
|
+
to: Date;
|
|
22
|
+
}): {
|
|
23
|
+
from: Date;
|
|
24
|
+
to: Date;
|
|
25
|
+
};
|
|
26
|
+
export declare function formatDateRangeStartForParams(filter: DateRangeDefaultConfig, from: Date): string;
|
|
27
|
+
export declare function formatDateRangeEndForParams(filter: DateRangeDefaultConfig, to: Date): string;
|
|
28
|
+
export declare function resolveDateRangeDefault(filter: DateRangeDefaultConfig): {
|
|
29
|
+
from: Date;
|
|
30
|
+
to: Date;
|
|
31
|
+
} | undefined;
|
|
32
|
+
export declare function filterConfigKeyForReset(f: DateRangeDefaultConfig & {
|
|
33
|
+
key: string;
|
|
34
|
+
}): string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DateRange } from 'react-day-picker';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
3
|
+
import { DateRangeDefaultConfig, DateRangeQuickSelectPresetKey, DateRangeQuickSelectItems } from './filterPanelDateRangeUtils';
|
|
4
|
+
|
|
5
|
+
export type DateRangeSelectionMode = DateRangeQuickSelectPresetKey | 'custom';
|
|
6
|
+
export declare const DATE_RANGE_PRESET_ORDER: DateRangeQuickSelectPresetKey[];
|
|
7
|
+
export declare function isQuickPresetVisible(preset: DateRangeQuickSelectPresetKey, quickSelectItems?: DateRangeQuickSelectItems): boolean;
|
|
8
|
+
export declare function getVisibleDateRangePresets(quickSelectItems?: DateRangeQuickSelectItems): DateRangeQuickSelectPresetKey[];
|
|
9
|
+
export declare function buildDateRangeForPreset(preset: DateRangeQuickSelectPresetKey): {
|
|
10
|
+
from: Date;
|
|
11
|
+
to: Date;
|
|
12
|
+
};
|
|
13
|
+
export declare function areDateRangesEqual(a?: DateRange, b?: DateRange): boolean;
|
|
14
|
+
export declare function matchDateRangeToPreset(range: DateRange | undefined, filter: DateRangeDefaultConfig, quickSelectItems?: DateRangeQuickSelectItems): DateRangeSelectionMode;
|
|
15
|
+
export declare function getDateRangePresetLabel(preset: DateRangeQuickSelectPresetKey, t: TFunction): string;
|
|
16
|
+
export declare function getCustomDateRangeLabel(t: TFunction): string;
|
|
17
|
+
export declare function formatMobileDateRangeSummary(range: DateRange | undefined, mode: DateRangeSelectionMode, t: TFunction, dateFormatPattern?: string): string;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FormActionVisibility, FormActionVisibilityClause, FormActionVisibilityOperator, VisibilityCondition } from '../types';
|
|
2
|
+
|
|
3
|
+
/** Minimal shape required by visibility-clause helpers. FormAction and TableAction both satisfy it. */
|
|
4
|
+
type FormActionLike = {
|
|
5
|
+
actionVisibility?: FormActionVisibility;
|
|
6
|
+
visibilityCondition?: VisibilityCondition;
|
|
7
|
+
};
|
|
8
|
+
export declare function normalizeFormActionVisibilityClauses(action: FormActionLike): FormActionVisibilityClause[];
|
|
9
|
+
export declare function collectFormFieldKeysFromFormActionVisibility(actions: (FormActionLike & {
|
|
10
|
+
id?: string;
|
|
11
|
+
})[] | undefined): Set<string>;
|
|
12
|
+
export declare function hasFormActionParameterVisibilityClauses(actions: FormActionLike[] | undefined): boolean;
|
|
13
|
+
export declare function evaluateFormActionVisibility(action: FormActionLike, context: {
|
|
14
|
+
formValues: Record<string, unknown>;
|
|
15
|
+
parameters: Record<string, unknown>;
|
|
16
|
+
}): boolean;
|
|
17
|
+
export declare function stableSerializePageParams(pageParams: Record<string, unknown> | undefined): string;
|
|
18
|
+
/** Parse compare value for editor: IN uses JSON array or comma-separated tokens. */
|
|
19
|
+
export declare function parseVisibilityCompareValue(operator: FormActionVisibilityOperator, raw: string): unknown;
|
|
20
|
+
export declare function formatVisibilityCompareValueForEditor(operator: FormActionVisibilityOperator, value: unknown): string;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Grid24Preset, Grid24Component, Grid24LayoutConfig } from '../types/components';
|
|
2
|
+
|
|
3
|
+
export declare const MAX_GRID24_NESTING_DEPTH = 3;
|
|
4
|
+
export interface Grid24PresetConfig {
|
|
5
|
+
rows: Array<{
|
|
6
|
+
colSpan: number;
|
|
7
|
+
}>;
|
|
8
|
+
}
|
|
9
|
+
/** Preset id → i18n key under `workbench:grid24.presets.*` (underscores). */
|
|
10
|
+
export declare function grid24PresetToTranslationKey(preset: Exclude<Grid24Preset, 'custom'>): string;
|
|
11
|
+
/** English labels for `t(..., defaultValue)` before workbench namespace loads. */
|
|
12
|
+
export declare const GRID24_PRESET_LABEL_FALLBACK: Record<Exclude<Grid24Preset, 'custom'>, string>;
|
|
13
|
+
export declare const GRID24_PRESETS: Record<Exclude<Grid24Preset, 'custom'>, Grid24PresetConfig>;
|
|
14
|
+
export declare function generateComponentsFromPreset(preset: Exclude<Grid24Preset, 'custom'>, componentIds: string[]): Grid24Component[];
|
|
15
|
+
export declare function computeRowCount(components: Grid24Component[]): number;
|
|
16
|
+
export declare function groupComponentsByRow(components: Grid24Component[]): Grid24Component[][];
|
|
17
|
+
export declare function validateRowColSpan(components: Grid24Component[]): boolean;
|
|
18
|
+
export declare function detectOverlaps(components: Grid24Component[]): Grid24Component[][];
|
|
19
|
+
export declare function getComponentGridRow(comp: Grid24Component): string;
|
|
20
|
+
export declare function getComponentGridColumn(comp: Grid24Component): string;
|
|
21
|
+
/** Fill spacing / row metrics when absent (e.g. legacy API omitting fields). */
|
|
22
|
+
export declare function applyGrid24LayoutDefaults(config: Partial<Grid24LayoutConfig> & {
|
|
23
|
+
type: 'grid-24';
|
|
24
|
+
components?: Grid24Component[];
|
|
25
|
+
}): Grid24LayoutConfig;
|
|
26
|
+
export declare function createDefaultGrid24Layout(componentIds: string[]): Grid24LayoutConfig;
|
|
27
|
+
/**
|
|
28
|
+
* Sizing capability model (see docs: workbench-component-sizing-plan.md).
|
|
29
|
+
*
|
|
30
|
+
* Height semantics per component type:
|
|
31
|
+
* - 'content' height follows content; vertical resize is DISABLED in the
|
|
32
|
+
* canvas and the view renders its rows as auto-height.
|
|
33
|
+
* - 'fill' the component stretches/scrolls to the assigned rowSpan;
|
|
34
|
+
* the view renders the cell at the exact band height.
|
|
35
|
+
* Every type has one explicit height owner. New/unknown components fail safe
|
|
36
|
+
* to content mode, so the editor never offers a vertical resize that the
|
|
37
|
+
* published renderer cannot honor.
|
|
38
|
+
*
|
|
39
|
+
* w/h are the DEFAULT spans (kept identical to the pre-model values — zero
|
|
40
|
+
* migration); min/max are enforced by canvas handles, keyboard nudge and the
|
|
41
|
+
* copilot layout tools.
|
|
42
|
+
*/
|
|
43
|
+
export type Grid24SizeMode = 'content' | 'fill';
|
|
44
|
+
export interface Grid24SizeCapability {
|
|
45
|
+
w: number;
|
|
46
|
+
h: number;
|
|
47
|
+
mode: Grid24SizeMode;
|
|
48
|
+
minW: number;
|
|
49
|
+
maxW: number;
|
|
50
|
+
minH?: number;
|
|
51
|
+
maxH?: number;
|
|
52
|
+
widthResizable: boolean;
|
|
53
|
+
heightResizable: boolean;
|
|
54
|
+
}
|
|
55
|
+
export declare const GRID24_SIZE_CAPABILITIES: Record<string, Grid24SizeCapability>;
|
|
56
|
+
export declare function getGrid24SizeCapability(type?: string): Grid24SizeCapability;
|
|
57
|
+
/** Backward-compatible projections (palette drops, merge synthesis, copilot). */
|
|
58
|
+
export declare const GRID24_DEFAULT_SIZES: Record<string, {
|
|
59
|
+
w: number;
|
|
60
|
+
h: number;
|
|
61
|
+
}>;
|
|
62
|
+
export declare function getGrid24DefaultSize(type?: string): {
|
|
63
|
+
w: number;
|
|
64
|
+
h: number;
|
|
65
|
+
};
|
|
66
|
+
/** Clamp a span patch to the type's capability (copilot layout tools, nudge).
|
|
67
|
+
content-mode heights are NOT adjustable: rowSpan writes are dropped (the
|
|
68
|
+
view sizes those rows to content and auto-fit maintains the nominal span). */
|
|
69
|
+
export declare function clampGrid24SpanToCapability(type: string | undefined, span: {
|
|
70
|
+
colSpan?: number;
|
|
71
|
+
rowSpan?: number;
|
|
72
|
+
}): {
|
|
73
|
+
colSpan?: number;
|
|
74
|
+
rowSpan?: number;
|
|
75
|
+
};
|
|
76
|
+
type Grid24Child = string | {
|
|
77
|
+
id: string;
|
|
78
|
+
type?: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Vertical gravity compaction in grid space (classic dashboard behavior —
|
|
82
|
+
* Retool/Appsmith/Gridstack default): every item floats UP until it touches
|
|
83
|
+
* another item or the top. Freed space (shrink/move-away) is reclaimed
|
|
84
|
+
* automatically instead of requiring manual pull-ups. Intentional vertical
|
|
85
|
+
* whitespace is expressed via component padding / future Spacer components,
|
|
86
|
+
* not empty rows.
|
|
87
|
+
*/
|
|
88
|
+
export declare function compactGrid24Vertical(components: Grid24Component[]): Grid24Component[];
|
|
89
|
+
/**
|
|
90
|
+
* Push-down overlap resolution in grid space (mirror of the canvas compactor):
|
|
91
|
+
* identity when nothing overlaps; otherwise the activeId item keeps its cell
|
|
92
|
+
* (insert semantics — dropping between two components pushes the ones below
|
|
93
|
+
* DOWN, it never relocates the dropped item to the bottom) and later items in
|
|
94
|
+
* reading order yield downward.
|
|
95
|
+
*/
|
|
96
|
+
export declare function resolveGrid24Push(components: Grid24Component[], activeId?: string): Grid24Component[];
|
|
97
|
+
/** Ensure every child id has a grid entry; append missing in new rows (full
|
|
98
|
+
width, type-default height when the child's type is provided). */
|
|
99
|
+
export declare function mergeGrid24WithChildIds(config: Grid24LayoutConfig, children: Grid24Child[]): Grid24LayoutConfig;
|
|
100
|
+
export declare function sortChildComponentsByGrid<T extends {
|
|
101
|
+
id: string;
|
|
102
|
+
}>(children: T[] | undefined, grid: Grid24Component[]): T[];
|
|
103
|
+
export declare function normalizeGrid24Components(components: Grid24Component[]): Grid24Component[];
|
|
104
|
+
/**
|
|
105
|
+
* Label shown on 24-grid editor tiles: localized type + " · " + title (or untitled).
|
|
106
|
+
*/
|
|
107
|
+
export declare function getGrid24ComponentSlotLabel(component: any): string;
|
|
108
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const ICON_MAPPINGS: {
|
|
4
|
+
[key: string]: React.ComponentType<{
|
|
5
|
+
className?: string;
|
|
6
|
+
}>;
|
|
7
|
+
};
|
|
8
|
+
export declare const getLucideIcons: () => {
|
|
9
|
+
value: string;
|
|
10
|
+
label: string;
|
|
11
|
+
}[];
|
|
12
|
+
export declare const LUCIDE_ICONS: {
|
|
13
|
+
value: string;
|
|
14
|
+
label: string;
|
|
15
|
+
}[];
|
|
16
|
+
export declare const renderLucideIcon: (iconName: string, className?: string) => React.ReactNode;
|
|
17
|
+
export declare const getIconComponent: (icon: string, size?: number, className?: string) => React.ReactNode;
|
|
18
|
+
export declare const hasIcon: (iconName: string) => boolean;
|
|
19
|
+
export declare const getAvailableIcons: () => {
|
|
20
|
+
value: string;
|
|
21
|
+
label: string;
|
|
22
|
+
}[];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nesting depth of a layout container (Container | Card | Tabs) from the page root.
|
|
3
|
+
* Page is not counted. Top-level container depth = 0 (matches PageComponentRenderer default nestingLevel).
|
|
4
|
+
*/
|
|
5
|
+
export declare function getLayoutContainerNestingLevel(components: unknown[] | undefined, targetId: string, ancestorDepth?: number): number | null;
|