@genispace/geniapp 0.2.0 → 0.4.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 +44 -3
- package/dist/{CrossAppRecordPicker-CQVmirWD.js → CrossAppRecordPicker-BRpqAjd7.js} +189 -253
- package/dist/CrossAppRecordPicker-BRpqAjd7.js.map +1 -0
- package/dist/Grid24EditableCanvas-C5xiiXdZ.js +7 -0
- package/dist/Grid24EditableCanvas-C5xiiXdZ.js.map +1 -0
- package/dist/MobileFlowCanvas-DctpXMPy.js +7 -0
- package/dist/MobileFlowCanvas-DctpXMPy.js.map +1 -0
- package/dist/MultiPageRenderer-D7rlHY8l.js +537 -0
- package/dist/MultiPageRenderer-D7rlHY8l.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/index.d.ts +23 -0
- package/dist/components/internal/shared-api/auth/platformRefreshResponse.d.ts +3 -0
- package/dist/components/internal/shared-api/auth/setupAuthInterceptors.d.ts +18 -0
- package/dist/components/internal/shared-api/auth/tokenStorage.d.ts +4 -0
- package/dist/components/internal/shared-api/index.d.ts +4 -0
- package/dist/components/internal/shared-types/index.d.ts +1 -0
- package/dist/components/internal/shared-types/types/json-schema.d.ts +50 -0
- package/dist/components/internal/shared-ui/components/ai/index.d.ts +2 -0
- package/dist/components/internal/shared-ui/components/ai/message.d.ts +6 -0
- package/dist/components/internal/shared-ui/components/ai/suggestion.d.ts +10 -0
- package/dist/components/internal/shared-ui/components/features/agent/AgentIdentity.d.ts +10 -0
- package/dist/components/internal/shared-ui/components/features/agent/agentIdentityUtils.d.ts +4 -0
- package/dist/components/internal/shared-ui/components/features/agent/index.d.ts +2 -0
- package/dist/components/internal/shared-ui/components/features/app/AppCheckboxInput.d.ts +9 -0
- package/dist/components/internal/shared-ui/components/features/app/AppConfirmDialog.d.ts +12 -0
- package/dist/components/internal/shared-ui/components/features/app/AppDashboardSkeleton.d.ts +9 -0
- package/dist/components/internal/shared-ui/components/features/app/AppDatePicker.d.ts +69 -0
- package/dist/components/internal/shared-ui/components/features/app/AppModal.d.ts +27 -0
- package/dist/components/internal/shared-ui/components/features/app/AppPageStates.d.ts +17 -0
- package/dist/components/internal/shared-ui/components/features/app/AppSelectInput.d.ts +10 -0
- package/dist/components/internal/shared-ui/components/features/app/AppTemporalInput.d.ts +19 -0
- package/dist/components/internal/shared-ui/components/features/app/Page.d.ts +14 -0
- package/dist/components/internal/shared-ui/components/features/app/QueryErrorAlert.d.ts +7 -0
- package/dist/components/internal/shared-ui/components/features/app/Sidebar.d.ts +47 -0
- package/dist/components/internal/shared-ui/components/features/app/index.d.ts +17 -0
- package/dist/components/internal/shared-ui/components/features/auth/AuthControlButtons.d.ts +8 -0
- package/dist/components/internal/shared-ui/components/features/auth/ForgotPassword.d.ts +9 -0
- package/dist/components/internal/shared-ui/components/features/auth/LogoutNotificationPage.d.ts +8 -0
- package/dist/components/internal/shared-ui/components/features/auth/Privacy.d.ts +8 -0
- package/dist/components/internal/shared-ui/components/features/auth/RequireAuth.d.ts +31 -0
- package/dist/components/internal/shared-ui/components/features/auth/Terms.d.ts +8 -0
- package/dist/components/internal/shared-ui/components/features/auth/VerifyEmail.d.ts +9 -0
- package/dist/components/internal/shared-ui/components/features/auth/application/index.d.ts +1 -0
- package/dist/components/internal/shared-ui/components/features/auth/index.d.ts +13 -0
- package/dist/components/internal/shared-ui/components/features/avatar/AvatarPickerModal.d.ts +30 -0
- package/dist/components/internal/shared-ui/components/features/avatar/generateAvatarUrl.d.ts +9 -0
- package/dist/components/internal/shared-ui/components/features/avatar/index.d.ts +2 -0
- package/dist/components/internal/shared-ui/components/features/chat/index.d.ts +1 -0
- package/dist/components/internal/shared-ui/components/features/data/index.d.ts +1 -0
- package/dist/components/internal/shared-ui/components/features/feedback/FeedbackMenu.d.ts +8 -0
- package/dist/components/internal/shared-ui/components/features/feedback/index.d.ts +1 -0
- package/dist/components/internal/shared-ui/components/features/home/Background.d.ts +4 -0
- package/dist/components/internal/shared-ui/components/features/home/index.d.ts +2 -0
- package/dist/components/internal/shared-ui/components/features/index.d.ts +22 -0
- package/dist/components/internal/shared-ui/components/features/knowledge/EvidenceCitation.d.ts +30 -0
- package/dist/components/internal/shared-ui/components/features/knowledge/HighlightedSnippet.d.ts +14 -0
- package/dist/components/internal/shared-ui/components/features/knowledge/index.d.ts +2 -0
- package/dist/components/internal/shared-ui/components/features/notification/NotificationBell.d.ts +14 -0
- package/dist/components/internal/shared-ui/components/features/notification/NotificationList.d.ts +41 -0
- package/dist/components/internal/shared-ui/components/features/notification/index.d.ts +2 -0
- package/dist/components/internal/shared-ui/components/features/operator/index.d.ts +1 -0
- package/dist/components/internal/shared-ui/components/features/rbac/index.d.ts +1 -0
- package/dist/components/internal/shared-ui/components/features/rich-text/RichTextField.d.ts +13 -0
- package/dist/components/internal/shared-ui/components/features/space/SpaceContext.d.ts +121 -0
- package/dist/components/internal/shared-ui/components/features/space/SpaceSwitcher.d.ts +13 -0
- package/dist/components/internal/shared-ui/components/features/space/index.d.ts +2 -0
- package/dist/components/internal/shared-ui/components/features/subscription/SubscriptionContext.d.ts +26 -0
- package/dist/components/internal/shared-ui/components/features/subscription/SubscriptionGuard.d.ts +35 -0
- package/dist/components/internal/shared-ui/components/features/subscription/constants.d.ts +126 -0
- package/dist/components/internal/shared-ui/components/features/subscription/createSubscriptionService.d.ts +34 -0
- package/dist/components/internal/shared-ui/components/features/subscription/index.d.ts +7 -0
- package/dist/components/internal/shared-ui/components/features/subscription/types.d.ts +161 -0
- package/dist/components/internal/shared-ui/components/features/subscription/useSubscription.d.ts +20 -0
- package/dist/components/internal/shared-ui/components/features/subscription/utils.d.ts +18 -0
- package/dist/components/internal/shared-ui/components/features/task/index.d.ts +1 -0
- package/dist/components/internal/shared-ui/components/features/team/index.d.ts +4 -0
- package/dist/components/internal/shared-ui/components/features/user/UserAvatar.d.ts +17 -0
- package/dist/components/internal/shared-ui/components/features/user/UserDisplay.d.ts +10 -0
- package/dist/components/internal/shared-ui/components/features/user/UserSelect.d.ts +14 -0
- package/dist/components/internal/shared-ui/components/features/user/useUserDirectory.d.ts +13 -0
- package/dist/components/internal/shared-ui/components/features/user/userDirectoryTypes.d.ts +18 -0
- package/dist/components/internal/shared-ui/components/icons/alipay-pay-mark.d.ts +2 -0
- package/dist/components/internal/shared-ui/components/icons/bank-transfer-mark.d.ts +2 -0
- package/dist/components/internal/shared-ui/components/icons/stripe-payment-mark.d.ts +2 -0
- package/dist/components/internal/shared-ui/components/icons/wechat-pay-mark.d.ts +2 -0
- package/dist/components/internal/shared-ui/components/index.d.ts +3 -0
- package/dist/components/internal/shared-ui/components/patterns/entity-patterns.d.ts +3 -0
- package/dist/components/internal/shared-ui/components/patterns/form-section.d.ts +11 -0
- package/dist/components/internal/shared-ui/components/patterns/record-list-frame.d.ts +12 -0
- package/dist/components/internal/shared-ui/components/patterns/status-stepper.d.ts +13 -0
- package/dist/components/internal/shared-ui/components/primitives/data-display/ApiErrorState.d.ts +10 -0
- package/dist/components/internal/shared-ui/components/primitives/data-display/FilePreviewDialog.d.ts +18 -0
- package/dist/components/internal/shared-ui/components/primitives/data-display/index.d.ts +4 -0
- package/dist/components/internal/shared-ui/components/primitives/feedback/index.d.ts +2 -0
- package/dist/components/internal/shared-ui/components/primitives/feedback/toaster.d.ts +1 -0
- package/dist/components/internal/shared-ui/components/primitives/feedback/use-toast.d.ts +46 -0
- package/dist/components/internal/shared-ui/components/primitives/forms/CountryCodeSelect.d.ts +16 -0
- package/dist/components/internal/shared-ui/components/primitives/forms/index.d.ts +1 -0
- package/dist/components/internal/shared-ui/components/primitives/index.d.ts +5 -0
- package/dist/components/internal/shared-ui/components/primitives/layout/AppHeader.d.ts +111 -0
- package/dist/components/internal/shared-ui/components/primitives/layout/AppWatermark.d.ts +7 -0
- package/dist/components/internal/shared-ui/components/primitives/layout/PublicFooter.d.ts +6 -0
- package/dist/components/internal/shared-ui/components/primitives/layout/PublicHeader.d.ts +39 -0
- package/dist/components/internal/shared-ui/components/primitives/layout/PublicLayout.d.ts +6 -0
- package/dist/components/internal/shared-ui/components/primitives/layout/ThemeToggle.d.ts +33 -0
- package/dist/components/internal/shared-ui/components/primitives/layout/WatermarkOverlay.d.ts +9 -0
- package/dist/components/internal/shared-ui/components/primitives/layout/brandAssets.d.ts +11 -0
- package/dist/components/internal/shared-ui/components/primitives/layout/index.d.ts +6 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/ChartAreaSkeleton.d.ts +13 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/ChartEmptyState.d.ts +14 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/ComponentSkeletonShell.d.ts +16 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/ConfigEditorSkeleton.d.ts +5 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/DetailTabsSkeleton.d.ts +6 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/EmptyStateBadge.d.ts +13 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/FormCardSkeleton.d.ts +7 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/FormFieldSkeleton.d.ts +6 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/FormPageSkeleton.d.ts +6 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/GridCardsSkeleton.d.ts +6 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/ListSkeleton.d.ts +26 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/PageHeaderSkeleton.d.ts +6 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/SplitPaneSkeleton.d.ts +4 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/StatsRowSkeleton.d.ts +5 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/TableEmptyState.d.ts +27 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/TablePageSkeleton.d.ts +8 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/TabsBarSkeleton.d.ts +6 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/index.d.ts +24 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/skeletonMetrics.d.ts +9 -0
- package/dist/components/internal/shared-ui/components/primitives/page-skeleton/useVisibleCenter.d.ts +34 -0
- package/dist/components/internal/shared-ui/components/ui/accordion.d.ts +7 -0
- package/dist/components/internal/shared-ui/components/ui/ai-draft-banner.d.ts +21 -0
- package/dist/components/internal/shared-ui/components/ui/alert-dialog.d.ts +48 -0
- package/dist/components/internal/shared-ui/components/ui/alert.d.ts +8 -0
- package/dist/components/internal/shared-ui/components/ui/avatar.d.ts +6 -0
- package/dist/components/internal/shared-ui/components/ui/badge.d.ts +9 -0
- package/dist/components/internal/shared-ui/components/ui/breadcrumb.d.ts +19 -0
- package/dist/components/internal/shared-ui/components/ui/button.d.ts +11 -0
- package/dist/components/internal/shared-ui/components/ui/calendar.d.ts +8 -0
- package/dist/components/internal/shared-ui/components/ui/card.d.ts +8 -0
- package/dist/components/internal/shared-ui/components/ui/chart.d.ts +16 -0
- package/dist/components/internal/shared-ui/components/ui/checkbox.d.ts +4 -0
- package/dist/components/internal/shared-ui/components/ui/collapsible.d.ts +5 -0
- package/dist/components/internal/shared-ui/components/ui/column-config.d.ts +42 -0
- package/dist/components/internal/shared-ui/components/ui/date-picker.d.ts +9 -0
- package/dist/components/internal/shared-ui/components/ui/date-range-filter.d.ts +32 -0
- package/dist/components/internal/shared-ui/components/ui/date-range-picker.d.ts +11 -0
- package/dist/components/internal/shared-ui/components/ui/dialog-input.d.ts +17 -0
- package/dist/components/internal/shared-ui/components/ui/dialog-safe-select.d.ts +13 -0
- package/dist/components/internal/shared-ui/components/ui/dialog.d.ts +25 -0
- package/dist/components/internal/shared-ui/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/components/internal/shared-ui/components/ui/feature-guide.d.ts +43 -0
- package/dist/components/internal/shared-ui/components/ui/form.d.ts +23 -0
- package/dist/components/internal/shared-ui/components/ui/help-tip.d.ts +29 -0
- package/dist/components/internal/shared-ui/components/ui/hint-notice.d.ts +22 -0
- package/dist/components/internal/shared-ui/components/ui/index.d.ts +6 -0
- package/dist/components/internal/shared-ui/components/ui/input.d.ts +3 -0
- package/dist/components/internal/shared-ui/components/ui/label.d.ts +5 -0
- package/dist/components/internal/shared-ui/components/ui/modal-container.d.ts +56 -0
- package/dist/components/internal/shared-ui/components/ui/modal-templates.d.ts +46 -0
- package/dist/components/internal/shared-ui/components/ui/multi-select.d.ts +20 -0
- package/dist/components/internal/shared-ui/components/ui/pagination.d.ts +28 -0
- package/dist/components/internal/shared-ui/components/ui/popover.d.ts +7 -0
- package/dist/components/internal/shared-ui/components/ui/progress.d.ts +7 -0
- package/dist/components/internal/shared-ui/components/ui/radio-button-group.d.ts +18 -0
- package/dist/components/internal/shared-ui/components/ui/radio-group.d.ts +5 -0
- package/dist/components/internal/shared-ui/components/ui/scroll-area.d.ts +5 -0
- package/dist/components/internal/shared-ui/components/ui/select.d.ts +16 -0
- package/dist/components/internal/shared-ui/components/ui/separator.d.ts +7 -0
- package/dist/components/internal/shared-ui/components/ui/sheet.d.ts +25 -0
- package/dist/components/internal/shared-ui/components/ui/sidebar-rail.d.ts +9 -0
- package/dist/components/internal/shared-ui/components/ui/skeleton.d.ts +2 -0
- package/dist/components/internal/shared-ui/components/ui/slider.d.ts +13 -0
- package/dist/components/internal/shared-ui/components/ui/switch.d.ts +4 -0
- package/dist/components/internal/shared-ui/components/ui/table.d.ts +10 -0
- package/dist/components/internal/shared-ui/components/ui/tabs.d.ts +10 -0
- package/dist/components/internal/shared-ui/components/ui/textarea.d.ts +3 -0
- package/dist/components/internal/shared-ui/components/ui/toast.d.ts +21 -0
- package/dist/components/internal/shared-ui/components/ui/toggle-group.d.ts +12 -0
- package/dist/components/internal/shared-ui/components/ui/toggle.d.ts +12 -0
- package/dist/components/internal/shared-ui/components/ui/tooltip.d.ts +7 -0
- package/dist/components/internal/shared-ui/components/ui/typography.d.ts +15 -0
- package/dist/components/internal/shared-ui/components/ui/underline-tabs.d.ts +13 -0
- package/dist/components/internal/shared-ui/components/ui/view-mode-toggle.d.ts +9 -0
- package/dist/components/internal/shared-ui/context/AppHostContext.d.ts +16 -0
- package/dist/components/internal/shared-ui/contexts/UserSettingsContext.d.ts +23 -0
- package/dist/components/internal/shared-ui/hooks/builtInApps.d.ts +91 -0
- package/dist/components/internal/shared-ui/hooks/pinnedBuiltInNavApps.d.ts +13 -0
- package/dist/components/internal/shared-ui/hooks/shellNavLucideIcon.d.ts +6 -0
- package/dist/components/internal/shared-ui/hooks/useAppSettings.d.ts +21 -0
- package/dist/components/internal/shared-ui/hooks/useAuthTokenSync.d.ts +3 -0
- package/dist/components/internal/shared-ui/hooks/useBuiltInApps.d.ts +6 -0
- package/dist/components/internal/shared-ui/hooks/useChatEntryTarget.d.ts +35 -0
- package/dist/components/internal/shared-ui/hooks/useIsMobile.d.ts +16 -0
- package/dist/components/internal/shared-ui/hooks/useLanguage.d.ts +11 -0
- package/dist/components/internal/shared-ui/hooks/useLockBodyScroll.d.ts +1 -0
- package/dist/components/internal/shared-ui/hooks/usePageState/index.d.ts +4 -0
- package/dist/components/internal/shared-ui/hooks/usePageState/types.d.ts +13 -0
- package/dist/components/internal/shared-ui/hooks/useTheme.d.ts +11 -0
- package/dist/components/internal/shared-ui/hooks/useUserSettings.d.ts +39 -0
- package/dist/components/internal/shared-ui/hooks/useWorkflowCanvas.d.ts +36 -0
- package/dist/components/internal/shared-ui/hooks/userPreferencesPinnedNav.d.ts +2 -0
- package/dist/components/internal/shared-ui/index.d.ts +127 -0
- package/dist/components/internal/shared-ui/kit/ai/conversation.d.ts +16 -0
- package/dist/components/internal/shared-ui/kit/ai/index.d.ts +11 -0
- package/dist/components/internal/shared-ui/kit/ai/loader.d.ts +6 -0
- package/dist/components/internal/shared-ui/kit/ai/message.d.ts +14 -0
- package/dist/components/internal/shared-ui/kit/ai/prompt-input.d.ts +18 -0
- package/dist/components/internal/shared-ui/kit/ai/suggestion.d.ts +11 -0
- package/dist/components/internal/shared-ui/kit/ai/tool.d.ts +28 -0
- package/dist/components/internal/shared-ui/kit.d.ts +5 -0
- package/dist/components/internal/shared-ui/platform/index.d.ts +38 -0
- package/dist/components/internal/shared-ui/platform/types.d.ts +1 -0
- package/dist/components/internal/shared-ui/styles/design-tokens.d.ts +189 -0
- package/dist/components/internal/shared-ui/styles/z-index-layers.d.ts +46 -0
- package/dist/components/internal/shared-ui/utils/unknownError.d.ts +2 -0
- package/dist/components/internal/shared-utils/cookieSettings.d.ts +12 -0
- package/dist/components/internal/shared-utils/data/countryCodes.d.ts +26 -0
- package/dist/components/internal/shared-utils/index.d.ts +18 -0
- package/dist/components/internal/shared-utils/utils/appPath.d.ts +5 -0
- package/dist/components/internal/shared-utils/utils/chunkLoadRecovery.d.ts +7 -0
- package/dist/components/internal/shared-utils/utils/cn.d.ts +3 -0
- package/dist/components/internal/shared-utils/utils/crossApp.d.ts +71 -0
- package/dist/components/internal/shared-utils/utils/debounce.d.ts +1 -0
- package/dist/components/internal/shared-utils/utils/formatUserLabel.d.ts +8 -0
- package/dist/components/internal/shared-utils/utils/formatting.d.ts +18 -0
- package/dist/components/internal/shared-utils/utils/logoutNotification.d.ts +28 -0
- package/dist/components/internal/shared-utils/utils/operatorLocale.d.ts +32 -0
- package/dist/components/internal/shared-utils/utils/routeLocalePrefetch.d.ts +5 -0
- package/dist/components/internal/shared-utils/utils/shellIframeUrl.d.ts +20 -0
- package/dist/components/internal/shared-utils/utils/spaceSettings.d.ts +20 -0
- package/dist/components/internal/shared-utils/utils/sso.d.ts +42 -0
- package/dist/components/internal/shared-utils/utils/throttle.d.ts +1 -0
- package/dist/components/internal/shared-utils/utils/timezones.d.ts +14 -0
- package/dist/components/internal/shared-utils/utils/toDateInputValue.d.ts +5 -0
- package/dist/components/internal/shared-utils/utils/watermark.d.ts +1 -0
- package/dist/components/internal/workbench/app/context/DeploymentContext.d.ts +24 -0
- package/dist/components/internal/workbench/app/context/PermissionContext.d.ts +32 -0
- package/dist/components/internal/workbench/app/context/SubscriptionContext.d.ts +9 -0
- package/dist/components/internal/workbench/app/context/UserContext.d.ts +22 -0
- package/dist/components/internal/workbench/app/services/apiKey.d.ts +96 -0
- package/dist/components/internal/workbench/app/services/auth.d.ts +1 -0
- package/dist/components/internal/workbench/app/services/configMap.d.ts +94 -0
- package/dist/components/internal/workbench/app/services/task.d.ts +42 -0
- package/dist/components/internal/workbench/app/services/workbenchApi.d.ts +495 -0
- package/dist/components/internal/workbench/app/types/agent.d.ts +100 -0
- package/dist/components/internal/workbench/app/types/api.d.ts +9 -0
- package/dist/components/internal/workbench/app/types/knowledge.d.ts +10 -0
- package/dist/components/internal/workbench/app/types/model.d.ts +23 -0
- package/dist/components/internal/workbench/app/types/task.d.ts +64 -0
- package/dist/components/internal/workbench/app/types/taskExecution.d.ts +26 -0
- package/dist/components/internal/workbench/assets/maps/bundledMapGeo.d.ts +4 -0
- package/dist/components/internal/workbench/components/Grid24Renderer.d.ts +23 -0
- package/dist/components/internal/workbench/components/Loading.d.ts +9 -0
- package/dist/components/internal/workbench/components/MultiPageRenderer.d.ts +15 -0
- package/dist/components/internal/workbench/components/PageComingSoonOverlay.d.ts +11 -0
- package/dist/components/internal/workbench/components/PageComponentRenderer.d.ts +34 -0
- package/dist/components/internal/workbench/components/PageLayoutRenderer.d.ts +36 -0
- package/dist/components/internal/workbench/components/TabManager.d.ts +39 -0
- package/dist/components/internal/workbench/components/componentTypes.d.ts +70 -0
- package/dist/components/internal/workbench/components/dialogs/TaskParamsDialog.d.ts +18 -0
- package/dist/components/internal/workbench/components/dialogs/TreeFormDialog.d.ts +23 -0
- package/dist/components/internal/workbench/components/edit-mode/ComponentEditOverlay.d.ts +3 -0
- package/dist/components/internal/workbench/components/edit-mode/ContainerDropZoneOverlay.d.ts +1 -0
- package/dist/components/internal/workbench/components/edit-mode/EditModeProvider.d.ts +26 -0
- package/dist/components/internal/workbench/components/edit-mode/WorkbenchEditMode.d.ts +3 -0
- package/dist/components/internal/workbench/components/edit-mode/canvas/Grid24EditableCanvas.d.ts +1 -0
- package/dist/components/internal/workbench/components/edit-mode/canvas/MobileFlowCanvas.d.ts +1 -0
- package/dist/components/internal/workbench/components/edit-mode/index.d.ts +4 -0
- package/dist/components/internal/workbench/components/edit-mode/studio/StudioPreviewContext.d.ts +4 -0
- package/dist/components/internal/workbench/components/editor/common/types.d.ts +4 -0
- package/dist/components/internal/workbench/components/grid24CellContext.d.ts +2 -0
- package/dist/components/internal/workbench/components/inputs/ArrayInput.d.ts +14 -0
- package/dist/components/internal/workbench/components/inputs/ObjectArrayInput.d.ts +15 -0
- package/dist/components/internal/workbench/components/mobileFlowLayoutContext.d.ts +2 -0
- package/dist/components/internal/workbench/components/renderers/AnalyticsTableRenderer.d.ts +125 -0
- package/dist/components/internal/workbench/components/renderers/AppIdentityListRenderer.d.ts +60 -0
- package/dist/components/internal/workbench/components/renderers/BaseRenderers.d.ts +7 -0
- package/dist/components/internal/workbench/components/renderers/CardRenderer.d.ts +24 -0
- package/dist/components/internal/workbench/components/renderers/ChartRenderer.d.ts +167 -0
- package/dist/components/internal/workbench/components/renderers/CollapsePanelRenderer.d.ts +28 -0
- package/dist/components/internal/workbench/components/renderers/ContainerRenderers.d.ts +44 -0
- package/dist/components/internal/workbench/components/renderers/CustomContentRenderer.d.ts +20 -0
- package/dist/components/internal/workbench/components/renderers/DataGridCard.d.ts +46 -0
- package/dist/components/internal/workbench/components/renderers/EChartsChartRenderer.d.ts +178 -0
- package/dist/components/internal/workbench/components/renderers/EditableTable.types.d.ts +27 -0
- package/dist/components/internal/workbench/components/renderers/EditableTableController.d.ts +44 -0
- package/dist/components/internal/workbench/components/renderers/EditableTableRenderer.d.ts +38 -0
- package/dist/components/internal/workbench/components/renderers/ExecutionHistoryModal.d.ts +9 -0
- package/dist/components/internal/workbench/components/renderers/FileUploadDropzone.d.ts +24 -0
- package/dist/components/internal/workbench/components/renderers/FilterPanelRenderer.d.ts +275 -0
- package/dist/components/internal/workbench/components/renderers/FormRenderer.d.ts +30 -0
- package/dist/components/internal/workbench/components/renderers/HeroCardRenderer.d.ts +18 -0
- package/dist/components/internal/workbench/components/renderers/IdentityAttributeAssignRenderer.d.ts +44 -0
- package/dist/components/internal/workbench/components/renderers/ListRenderers.d.ts +19 -0
- package/dist/components/internal/workbench/components/renderers/LoadingRenderer.d.ts +14 -0
- package/dist/components/internal/workbench/components/renderers/MapChartRenderer.d.ts +42 -0
- package/dist/components/internal/workbench/components/renderers/MetricCarouselRenderer.d.ts +26 -0
- package/dist/components/internal/workbench/components/renderers/NavTileRenderer.d.ts +13 -0
- package/dist/components/internal/workbench/components/renderers/ProductDetailRenderer.d.ts +23 -0
- package/dist/components/internal/workbench/components/renderers/ProductReportRenderer.d.ts +21 -0
- package/dist/components/internal/workbench/components/renderers/PublishHistoryRenderer.d.ts +21 -0
- package/dist/components/internal/workbench/components/renderers/PublishPreviewEntryRenderer.d.ts +16 -0
- package/dist/components/internal/workbench/components/renderers/RadarChartRenderer.d.ts +40 -0
- package/dist/components/internal/workbench/components/renderers/RingStatRenderer.d.ts +66 -0
- package/dist/components/internal/workbench/components/renderers/ServiceDeskReporterRenderer.d.ts +48 -0
- package/dist/components/internal/workbench/components/renderers/SimpleTreeRenderer.d.ts +47 -0
- package/dist/components/internal/workbench/components/renderers/StatisticGroup.d.ts +77 -0
- package/dist/components/internal/workbench/components/renderers/TableRenderer.d.ts +5 -0
- package/dist/components/internal/workbench/components/renderers/TabsRenderer.d.ts +63 -0
- package/dist/components/internal/workbench/components/renderers/TaskExecutionOutputs.d.ts +15 -0
- package/dist/components/internal/workbench/components/renderers/TaskInputField.d.ts +54 -0
- package/dist/components/internal/workbench/components/renderers/TaskInputRenderer.d.ts +68 -0
- package/dist/components/internal/workbench/components/renderers/TileGridRenderer.d.ts +41 -0
- package/dist/components/internal/workbench/components/renderers/TypographyRenderer.d.ts +17 -0
- package/dist/components/internal/workbench/components/renderers/WorkflowComponent/SimpleSchemaForm.d.ts +12 -0
- package/dist/components/internal/workbench/components/renderers/WorkflowComponent/WorkflowComponent.d.ts +5 -0
- package/dist/components/internal/workbench/components/renderers/WorkflowComponent/index.d.ts +9 -0
- package/dist/components/internal/workbench/components/renderers/WorkflowComponent/renderers/ProposalRendererFactory.d.ts +15 -0
- package/dist/components/internal/workbench/components/renderers/WorkflowComponent/steps/ProposalStep.d.ts +21 -0
- package/dist/components/internal/workbench/components/renderers/WorkflowComponent/steps/ResultStep.d.ts +13 -0
- package/dist/components/internal/workbench/components/renderers/WorkflowComponent/steps/UploadStep.d.ts +15 -0
- package/dist/components/internal/workbench/components/renderers/WorkflowComponent/types.d.ts +185 -0
- package/dist/components/internal/workbench/components/renderers/cell-editors/ColorEditor.d.ts +11 -0
- package/dist/components/internal/workbench/components/renderers/cell-editors/DateEditor.d.ts +11 -0
- package/dist/components/internal/workbench/components/renderers/cell-editors/FileEditor.d.ts +9 -0
- package/dist/components/internal/workbench/components/renderers/cell-editors/NumberEditor.d.ts +10 -0
- package/dist/components/internal/workbench/components/renderers/cell-editors/SelectEditor.d.ts +19 -0
- package/dist/components/internal/workbench/components/renderers/cell-editors/SwitchEditor.d.ts +13 -0
- package/dist/components/internal/workbench/components/renderers/cell-editors/TextEditor.d.ts +11 -0
- package/dist/components/internal/workbench/components/renderers/cell-editors/index.d.ts +7 -0
- package/dist/components/internal/workbench/components/renderers/cells/swCells.d.ts +49 -0
- package/dist/components/internal/workbench/components/renderers/data/useBoundRows.d.ts +9 -0
- package/dist/components/internal/workbench/components/renderers/echarts/shared/colors.d.ts +56 -0
- package/dist/components/internal/workbench/components/renderers/echarts/shared/index.d.ts +1 -0
- package/dist/components/internal/workbench/components/renderers/editableTableApiErrors.d.ts +3 -0
- package/dist/components/internal/workbench/components/renderers/editableTableDictionary.d.ts +13 -0
- package/dist/components/internal/workbench/components/renderers/editableTableFormatters.d.ts +11 -0
- package/dist/components/internal/workbench/components/renderers/editableTableWriteDatasourceId.d.ts +8 -0
- package/dist/components/internal/workbench/components/renderers/filterOptionCache.d.ts +33 -0
- package/dist/components/internal/workbench/components/renderers/filterSelectionMemory.d.ts +11 -0
- package/dist/components/internal/workbench/components/renderers/formSizing.d.ts +14 -0
- package/dist/components/internal/workbench/components/renderers/heroCardRows.d.ts +30 -0
- package/dist/components/internal/workbench/components/renderers/heroCardUtils.d.ts +164 -0
- package/dist/components/internal/workbench/components/renderers/index.d.ts +38 -0
- package/dist/components/internal/workbench/components/renderers/list/ListActionButton.d.ts +11 -0
- package/dist/components/internal/workbench/components/renderers/list/ListDataTable.d.ts +13 -0
- package/dist/components/internal/workbench/components/renderers/list/ListProgressBar.d.ts +12 -0
- package/dist/components/internal/workbench/components/renderers/list/ListTaskExecuteDialog.d.ts +17 -0
- package/dist/components/internal/workbench/components/renderers/list/listActionUtils.d.ts +18 -0
- package/dist/components/internal/workbench/components/renderers/list/listCellRender.d.ts +9 -0
- package/dist/components/internal/workbench/components/renderers/list/listConfig.d.ts +67 -0
- package/dist/components/internal/workbench/components/renderers/list/listCsvExport.d.ts +4 -0
- package/dist/components/internal/workbench/components/renderers/list/listFormatUtils.d.ts +13 -0
- package/dist/components/internal/workbench/components/renderers/list/listItemTemplates.d.ts +32 -0
- package/dist/components/internal/workbench/components/renderers/list/listViewToggleUtils.d.ts +5 -0
- package/dist/components/internal/workbench/components/renderers/list/useListActions.d.ts +38 -0
- package/dist/components/internal/workbench/components/renderers/list/useListDataSource.d.ts +58 -0
- package/dist/components/internal/workbench/components/renderers/list/useListSelectionEmit.d.ts +22 -0
- package/dist/components/internal/workbench/components/renderers/navTileUtils.d.ts +46 -0
- package/dist/components/internal/workbench/components/renderers/product/productCellRender.d.ts +25 -0
- package/dist/components/internal/workbench/components/renderers/publishHistoryHelpers.d.ts +41 -0
- package/dist/components/internal/workbench/components/renderers/publishPreviewEntryHelpers.d.ts +50 -0
- package/dist/components/internal/workbench/components/renderers/shared/TableEmptyStateWithChromeInsets.d.ts +12 -0
- package/dist/components/internal/workbench/components/renderers/shared/ViewToggleButton.d.ts +13 -0
- package/dist/components/internal/workbench/components/renderers/shared/useEscapedStickyPanel.d.ts +6 -0
- package/dist/components/internal/workbench/components/renderers/shared/useMobileChromeInsets.d.ts +18 -0
- package/dist/components/internal/workbench/components/renderers/shared/useStickyHeaderClone.d.ts +31 -0
- package/dist/components/internal/workbench/components/renderers/tabVariantStyles.d.ts +50 -0
- package/dist/components/internal/workbench/components/renderers/tableFilterPanelGridClass.d.ts +15 -0
- package/dist/components/internal/workbench/components/renderers/tabsItemMapping.d.ts +26 -0
- package/dist/components/internal/workbench/components/renderers/types.d.ts +682 -0
- package/dist/components/internal/workbench/components/shared/TitleManager.d.ts +8 -0
- package/dist/components/internal/workbench/components/skeleton/ComponentSkeleton.d.ts +9 -0
- package/dist/components/internal/workbench/components/skeleton/HeroCardSkeleton.d.ts +11 -0
- package/dist/components/internal/workbench/components/skeleton/TileGridSkeleton.d.ts +11 -0
- package/dist/components/internal/workbench/components/skeleton/WorkbenchSkeletonTokens.d.ts +1 -0
- package/dist/components/internal/workbench/components/skeleton/index.d.ts +4 -0
- package/dist/components/internal/workbench/components/ui/ActionFormDialog.d.ts +19 -0
- package/dist/components/internal/workbench/components/ui/ConfirmDialog.d.ts +17 -0
- package/dist/components/internal/workbench/components/ui/FormFieldRenderer.d.ts +51 -0
- package/dist/components/internal/workbench/components/ui/IconSelector.d.ts +10 -0
- package/dist/components/internal/workbench/components/ui/RecordDetailDialog.d.ts +15 -0
- package/dist/components/internal/workbench/components/ui/StructuredValueField.d.ts +16 -0
- package/dist/components/internal/workbench/components/ui/date-picker.d.ts +7 -0
- package/dist/components/internal/workbench/components/ui/date-range-picker.d.ts +11 -0
- package/dist/components/internal/workbench/components/ui/dialog-safe-select.d.ts +13 -0
- package/dist/components/internal/workbench/components/ui/dialog-tag-input.d.ts +18 -0
- package/dist/components/internal/workbench/components/ui/dialog.d.ts +22 -0
- package/dist/components/internal/workbench/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/components/internal/workbench/components/ui/pagination.d.ts +28 -0
- package/dist/components/internal/workbench/components/ui/select.d.ts +13 -0
- package/dist/components/internal/workbench/components/ui/sidebar-rail.d.ts +9 -0
- package/dist/components/internal/workbench/components/ui/sidebar.d.ts +65 -0
- package/dist/components/internal/workbench/components/ui/table.d.ts +10 -0
- package/dist/components/internal/workbench/components/ui/tag-input.d.ts +23 -0
- package/dist/components/internal/workbench/config/communicationIcons.d.ts +23 -0
- package/dist/components/internal/workbench/config/componentTriggers.d.ts +70 -0
- package/dist/components/internal/workbench/constants/tableActionButtonStyle.d.ts +15 -0
- package/dist/components/internal/workbench/contexts/PageFullscreenContext.d.ts +4 -0
- package/dist/components/internal/workbench/contexts/ParameterContext.d.ts +18 -0
- package/dist/components/internal/workbench/contexts/TabActivityContext.d.ts +2 -0
- package/dist/components/internal/workbench/contexts/ViewportContext.d.ts +19 -0
- package/dist/components/internal/workbench/contexts/WorkbenchConfigLocaleContext.d.ts +23 -0
- package/dist/components/internal/workbench/contexts/WorkbenchGlobalSpaceContext.d.ts +10 -0
- package/dist/components/internal/workbench/contexts/WorkbenchThemeContext.d.ts +23 -0
- package/dist/components/internal/workbench/hooks/index.d.ts +6 -0
- package/dist/components/internal/workbench/hooks/useComponentCommunication.d.ts +27 -0
- package/dist/components/internal/workbench/hooks/useConditionMapper.d.ts +17 -0
- package/dist/components/internal/workbench/hooks/useCurrentUser.d.ts +10 -0
- package/dist/components/internal/workbench/hooks/useDatabaseDataSource.d.ts +8 -0
- package/dist/components/internal/workbench/hooks/useDatasourceVersionBindings.d.ts +24 -0
- package/dist/components/internal/workbench/hooks/useEnhancedDataSource.d.ts +40 -0
- package/dist/components/internal/workbench/hooks/useMobileViewport.d.ts +18 -0
- package/dist/components/internal/workbench/hooks/usePageAutoRefresh.d.ts +9 -0
- package/dist/components/internal/workbench/hooks/useParameterHandler.d.ts +27 -0
- package/dist/components/internal/workbench/hooks/useReleaseNotesPrompt.d.ts +38 -0
- package/dist/components/internal/workbench/hooks/useSpaceSwitchHandler.d.ts +7 -0
- package/dist/components/internal/workbench/hooks/useTaskInputDataSourceCache.d.ts +24 -0
- package/dist/components/internal/workbench/hooks/useVisibleWhenContext.d.ts +3 -0
- package/dist/components/internal/workbench/hooks/useWaitForParameters.d.ts +9 -0
- package/dist/components/internal/workbench/hooks/useWorkbenchAppAccess.d.ts +16 -0
- package/dist/components/internal/workbench/hooks/useWorkbenchHeaderNavApps.d.ts +7 -0
- package/dist/components/internal/workbench/hooks/useWorkbenchPreview.d.ts +24 -0
- package/dist/components/internal/workbench/lib/api/apiClient.d.ts +22 -0
- package/dist/components/internal/workbench/lib/api/baseApiClient.d.ts +21 -0
- package/dist/components/internal/workbench/lib/api/hostAdapterBridge.d.ts +21 -0
- package/dist/components/internal/workbench/lib/api.d.ts +1 -0
- package/dist/components/internal/workbench/lib/auth/permissionManager.d.ts +67 -0
- package/dist/components/internal/workbench/lib/config/deployment.d.ts +33 -0
- package/dist/components/internal/workbench/lib/config.d.ts +45 -0
- package/dist/components/internal/workbench/lib/hooks/use-mobile.d.ts +1 -0
- package/dist/components/internal/workbench/lib/hooks/useOperator.d.ts +11 -0
- package/dist/components/internal/workbench/lib/services/agentService.d.ts +77 -0
- package/dist/components/internal/workbench/lib/services/applicationService.d.ts +111 -0
- package/dist/components/internal/workbench/lib/theme/themeUtils.d.ts +13 -0
- package/dist/components/internal/workbench/lib/theme/useWorkbenchTheme.d.ts +1 -0
- package/dist/components/internal/workbench/lib/types/api.d.ts +113 -0
- package/dist/components/internal/workbench/lib/utils/avatar.d.ts +7 -0
- package/dist/components/internal/workbench/lib/utils/cn.d.ts +3 -0
- package/dist/components/internal/workbench/lib/utils/color.d.ts +1 -0
- package/dist/components/internal/workbench/lib/utils/debounce.d.ts +1 -0
- package/dist/components/internal/workbench/lib/utils/formatting.d.ts +4 -0
- package/dist/components/internal/workbench/lib/utils/icon.d.ts +1 -0
- package/dist/components/internal/workbench/lib/utils.d.ts +7 -0
- package/dist/components/internal/workbench/locales/i18n.d.ts +10 -0
- package/dist/components/internal/workbench/locales/routeNamespaces.d.ts +4 -0
- package/dist/components/internal/workbench/mobile/components/BottomTabNavigation.d.ts +11 -0
- package/dist/components/internal/workbench/mobile/components/ComponentAdapter.d.ts +9 -0
- package/dist/components/internal/workbench/mobile/components/MobileFloatingBackButton.d.ts +23 -0
- package/dist/components/internal/workbench/mobile/components/adaptive/MobileCardView.d.ts +6 -0
- package/dist/components/internal/workbench/mobile/components/adaptive/MobileChartView.d.ts +9 -0
- package/dist/components/internal/workbench/mobile/components/adaptive/MobileDateRangeFilterField.d.ts +16 -0
- package/dist/components/internal/workbench/mobile/components/adaptive/MobileEChartsView.d.ts +10 -0
- package/dist/components/internal/workbench/mobile/components/adaptive/MobileFormView.d.ts +6 -0
- package/dist/components/internal/workbench/mobile/components/adaptive/MobileListView.d.ts +6 -0
- package/dist/components/internal/workbench/mobile/components/adaptive/MobileStatCard.d.ts +13 -0
- package/dist/components/internal/workbench/mobile/components/adaptive/MobileTableView.d.ts +9 -0
- package/dist/components/internal/workbench/mobile/components/adaptive/MobileTabsView.d.ts +6 -0
- package/dist/components/internal/workbench/mobile/components/adaptive/index.d.ts +4 -0
- package/dist/components/internal/workbench/mobile/components/adaptive/mobileFilterFieldStyles.d.ts +19 -0
- package/dist/components/internal/workbench/mobile/hooks/useMobileNavigationCanGoBack.d.ts +1 -0
- package/dist/components/internal/workbench/mobile/hooks/useMobileTabTransitionDirection.d.ts +1 -0
- package/dist/components/internal/workbench/mobile/index.d.ts +3 -0
- package/dist/components/internal/workbench/mobile/utils/fetchUserCurrentSpaceId.d.ts +15 -0
- package/dist/components/internal/workbench/mobile/utils/getMobileViewportState.d.ts +25 -0
- package/dist/components/internal/workbench/mobile/utils/mobileBottomNav.d.ts +13 -0
- package/dist/components/internal/workbench/mobile/utils/mobileBottomNavInset.d.ts +4 -0
- package/dist/components/internal/workbench/mobile/utils/mobileComponentProps.d.ts +44 -0
- package/dist/components/internal/workbench/mobile/utils/mobileFormDisplayUtils.d.ts +4 -0
- package/dist/components/internal/workbench/mobile/utils/mobileNavigationStore.d.ts +35 -0
- package/dist/components/internal/workbench/mobile/utils/mobileToolbarNav.d.ts +13 -0
- package/dist/components/internal/workbench/mobile/utils/mobileUA.d.ts +1 -0
- package/dist/components/internal/workbench/mobile/utils/mobileWorkbenchSpaceSync.d.ts +60 -0
- package/dist/components/internal/workbench/mobile/utils/wecomDetector.d.ts +9 -0
- package/dist/components/internal/workbench/mobile/utils/workbenchSpaceSyncGate.d.ts +7 -0
- package/dist/components/internal/workbench/mocks/index.d.ts +13 -0
- package/dist/components/internal/workbench/mocks/templateRegistry.d.ts +16 -0
- package/dist/components/internal/workbench/mocks/types.d.ts +1 -0
- package/dist/components/internal/workbench/styles/grid24.css +359 -0
- package/dist/components/internal/workbench/styles/layoutSystem.css +773 -0
- package/dist/components/internal/workbench/themes/classic.d.ts +7 -0
- package/dist/components/internal/workbench/themes/index.d.ts +15 -0
- package/dist/components/internal/workbench/themes/inkOnyx.d.ts +3 -0
- package/dist/components/internal/workbench/themes/types.d.ts +36 -0
- package/dist/components/internal/workbench/types/application.d.ts +37 -0
- package/dist/components/internal/workbench/types/communication.d.ts +94 -0
- package/dist/components/internal/workbench/types/components.d.ts +346 -0
- package/dist/components/internal/workbench/types/conditionMapperTypes.d.ts +60 -0
- package/dist/components/internal/workbench/types/databaseDataSource.d.ts +120 -0
- package/dist/components/internal/workbench/types/datasource.d.ts +117 -0
- package/dist/components/internal/workbench/types/editors.d.ts +91 -0
- package/dist/components/internal/workbench/types/index.d.ts +7 -0
- package/dist/components/internal/workbench/types/parameters.d.ts +59 -0
- package/dist/components/internal/workbench/types/productReport.d.ts +272 -0
- package/dist/components/internal/workbench/types/renderers.d.ts +645 -0
- package/dist/components/internal/workbench/types.d.ts +649 -0
- package/dist/components/internal/workbench/utils/actionFormValidation.d.ts +34 -0
- package/dist/components/internal/workbench/utils/autoIdUtils.d.ts +2 -0
- package/dist/components/internal/workbench/utils/chartGradientStops.d.ts +14 -0
- package/dist/components/internal/workbench/utils/chinaProvinceMap.d.ts +8 -0
- package/dist/components/internal/workbench/utils/colors.d.ts +84 -0
- package/dist/components/internal/workbench/utils/componentUtils.d.ts +4 -0
- package/dist/components/internal/workbench/utils/conditionMapperUtils.d.ts +59 -0
- package/dist/components/internal/workbench/utils/cssParser.d.ts +7 -0
- package/dist/components/internal/workbench/utils/currencySymbol.d.ts +10 -0
- package/dist/components/internal/workbench/utils/dataConfigUtils.d.ts +80 -0
- package/dist/components/internal/workbench/utils/databaseDatasourceColumnValue.d.ts +8 -0
- package/dist/components/internal/workbench/utils/databaseDatasourceParams.d.ts +44 -0
- package/dist/components/internal/workbench/utils/datasetOperationUtils.d.ts +48 -0
- package/dist/components/internal/workbench/utils/datasourceVersion.d.ts +61 -0
- package/dist/components/internal/workbench/utils/debugUtils.d.ts +34 -0
- package/dist/components/internal/workbench/utils/errorFilter.d.ts +1 -0
- package/dist/components/internal/workbench/utils/errorHandler.d.ts +10 -0
- package/dist/components/internal/workbench/utils/expressionUtils.d.ts +13 -0
- package/dist/components/internal/workbench/utils/extensionErrorHandler.d.ts +4 -0
- package/dist/components/internal/workbench/utils/filterPanelDateRangeUtils.d.ts +34 -0
- package/dist/components/internal/workbench/utils/filterPanelMobileDateRangeUtils.d.ts +17 -0
- package/dist/components/internal/workbench/utils/formActionVisibility.d.ts +21 -0
- package/dist/components/internal/workbench/utils/grid24LayoutSystem.d.ts +108 -0
- package/dist/components/internal/workbench/utils/iconUtils.d.ts +22 -0
- package/dist/components/internal/workbench/utils/layoutContainerNesting.d.ts +5 -0
- package/dist/components/internal/workbench/utils/layoutSystem.d.ts +189 -0
- package/dist/components/internal/workbench/utils/navigationUtils.d.ts +70 -0
- package/dist/components/internal/workbench/utils/navigationVisibleWhenEditor.d.ts +37 -0
- package/dist/components/internal/workbench/utils/parameterUtils.d.ts +52 -0
- package/dist/components/internal/workbench/utils/redirectToAppHome.d.ts +4 -0
- package/dist/components/internal/workbench/utils/resolveComponentMockFields.d.ts +28 -0
- package/dist/components/internal/workbench/utils/resolveDatabaseDataSourceConfig.d.ts +9 -0
- package/dist/components/internal/workbench/utils/safeMessaging.d.ts +16 -0
- package/dist/components/internal/workbench/utils/statisticColors.d.ts +11 -0
- package/dist/components/internal/workbench/utils/statisticIcons.d.ts +5 -0
- package/dist/components/internal/workbench/utils/styleUtils.d.ts +35 -0
- package/dist/components/internal/workbench/utils/systemParameters.d.ts +8 -0
- package/dist/components/internal/workbench/utils/tabIsolation.d.ts +34 -0
- package/dist/components/internal/workbench/utils/tableActionButtonRender.d.ts +12 -0
- package/dist/components/internal/workbench/utils/taskUtils.d.ts +37 -0
- package/dist/components/internal/workbench/utils/treeFormUtils.d.ts +41 -0
- package/dist/components/internal/workbench/utils/visibleWhen.d.ts +31 -0
- package/dist/components/internal/workbench/utils/visibleWhenFormat.d.ts +32 -0
- package/dist/components/internal/workbench/utils/workbenchConfigLocale.d.ts +44 -0
- package/dist/components/internal/workbench/utils/workbenchDisplayLocale.d.ts +33 -0
- package/dist/components/internal/workbench/utils/workbenchPathUtils.d.ts +8 -0
- package/dist/components/internal/workbench/utils/workflowTransformsUtils.d.ts +3 -0
- package/dist/components/internal/workbench-templates/index.d.ts +3 -0
- package/dist/components/internal/workbench-templates/slugify.d.ts +1 -0
- package/dist/components/internal/workbench-templates/templateRegistry.d.ts +18 -0
- package/dist/components/internal/workbench-templates/types.d.ts +42 -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/mobile/index.d.ts +4 -0
- package/dist/components/mobile.js +25 -0
- package/dist/components/mobile.js.map +1 -0
- package/dist/components/renderers/chart/index.d.ts +3 -0
- package/dist/components/renderers/chart.js +7 -0
- package/dist/components/renderers/chart.js.map +1 -0
- package/dist/components/renderers/container/index.d.ts +6 -0
- package/dist/components/renderers/container.js +10 -0
- package/dist/components/renderers/container.js.map +1 -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/echarts/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/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/index.d.ts +1 -0
- package/dist/components/renderers/form.js +5 -0
- package/dist/components/renderers/form.js.map +1 -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/index.d.ts +1 -0
- package/dist/components/renderers/list.js +5 -0
- package/dist/components/renderers/list.js.map +1 -0
- package/dist/components/renderers/publish/index.d.ts +2 -0
- package/dist/components/renderers/publish.js +6 -0
- package/dist/components/renderers/publish.js.map +1 -0
- package/dist/components/renderers/runtime-nH-w5aCf.js +206936 -0
- package/dist/components/renderers/runtime-nH-w5aCf.js.map +1 -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/statistics/index.d.ts +3 -0
- package/dist/components/renderers/statistics.js +7 -0
- package/dist/components/renderers/statistics.js.map +1 -0
- package/dist/components/renderers/table/index.d.ts +4 -0
- package/dist/components/renderers/table.js +8 -0
- package/dist/components/renderers/table.js.map +1 -0
- package/dist/components/renderers/tabs/index.d.ts +2 -0
- package/dist/components/renderers/tabs.js +6 -0
- package/dist/components/renderers/tabs.js.map +1 -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/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/workflow/index.d.ts +1 -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/GeniAppComponentProvider.d.ts +24 -0
- package/dist/components/runtime/GeniAppWorkbench.d.ts +20 -0
- package/dist/components/runtime/i18n.d.ts +5 -0
- package/dist/components/standalone.css +2 -0
- package/dist/components/standalone.d.ts +21 -0
- package/dist/components/standalone.js +358816 -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/types/host-adapters.d.ts +35 -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 +168 -36
- package/dist/CrossAppRecordPicker-CQVmirWD.js.map +0 -1
- package/dist/useUserDirectory-CqkyCQoR.js +0 -2377
- package/dist/useUserDirectory-CqkyCQoR.js.map +0 -1
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
export interface ParameterRefConfig {
|
|
2
|
+
type: 'parameter' | 'system';
|
|
3
|
+
source?: string;
|
|
4
|
+
systemParam?: string;
|
|
5
|
+
value?: any;
|
|
6
|
+
waitForValue?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface DatabaseDataSourceConfig {
|
|
9
|
+
type: 'database-datasource';
|
|
10
|
+
datasourceId: string;
|
|
11
|
+
datasourceName?: string;
|
|
12
|
+
/** Pin a datasource version; omit to use the default version */
|
|
13
|
+
version?: number;
|
|
14
|
+
sqlQuery?: string;
|
|
15
|
+
parameters?: Record<string, any>;
|
|
16
|
+
parameterTypes?: Record<string, string>;
|
|
17
|
+
outputFields?: string[];
|
|
18
|
+
defaultSort?: DefaultSortItem[];
|
|
19
|
+
enableSort?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface DatabaseDataSourceResponse {
|
|
22
|
+
success: boolean;
|
|
23
|
+
data?: {
|
|
24
|
+
rows: Record<string, any>[];
|
|
25
|
+
columns: string[];
|
|
26
|
+
totalCount: number;
|
|
27
|
+
executionTime: number;
|
|
28
|
+
pagination: {
|
|
29
|
+
page: number;
|
|
30
|
+
limit: number;
|
|
31
|
+
total: number;
|
|
32
|
+
pages: number;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
message?: string;
|
|
36
|
+
error?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface DatabaseDataSourceParams {
|
|
39
|
+
parameters?: Record<string, any>;
|
|
40
|
+
page?: number;
|
|
41
|
+
limit?: number;
|
|
42
|
+
offset?: number;
|
|
43
|
+
filter?: string;
|
|
44
|
+
sort?: string;
|
|
45
|
+
outputFields?: string[];
|
|
46
|
+
}
|
|
47
|
+
export type ComponentDataSourceType = 'dataset' | 'database-datasource' | 'external' | 'mock';
|
|
48
|
+
export type UnifiedDataSourceConfig = {
|
|
49
|
+
type: 'dataset';
|
|
50
|
+
datasetConfig: any;
|
|
51
|
+
} | {
|
|
52
|
+
type: 'database-datasource';
|
|
53
|
+
databaseDataSourceConfig: DatabaseDataSourceConfig;
|
|
54
|
+
} | {
|
|
55
|
+
type: 'external';
|
|
56
|
+
externalConfig: any;
|
|
57
|
+
} | {
|
|
58
|
+
type: 'mock';
|
|
59
|
+
mockConfig: any;
|
|
60
|
+
};
|
|
61
|
+
export interface DatabaseDataSourceOption {
|
|
62
|
+
id: string;
|
|
63
|
+
name: string;
|
|
64
|
+
description?: string;
|
|
65
|
+
type?: string;
|
|
66
|
+
status?: 'active' | 'inactive';
|
|
67
|
+
createdAt?: string;
|
|
68
|
+
updatedAt?: string;
|
|
69
|
+
}
|
|
70
|
+
export interface DatabaseFieldInfo {
|
|
71
|
+
name: string;
|
|
72
|
+
type: string;
|
|
73
|
+
description?: string;
|
|
74
|
+
nullable?: boolean;
|
|
75
|
+
defaultValue?: any;
|
|
76
|
+
}
|
|
77
|
+
export interface DatabaseDataSourcePreviewData {
|
|
78
|
+
fields: DatabaseFieldInfo[];
|
|
79
|
+
sampleData: Record<string, any>[];
|
|
80
|
+
totalCount?: number;
|
|
81
|
+
}
|
|
82
|
+
export interface UseDatabaseDataSourceReturn {
|
|
83
|
+
data: Record<string, any>[];
|
|
84
|
+
loading: boolean;
|
|
85
|
+
error: string | null;
|
|
86
|
+
pagination: {
|
|
87
|
+
total: number;
|
|
88
|
+
current_page: number;
|
|
89
|
+
total_pages: number;
|
|
90
|
+
limit: number;
|
|
91
|
+
offset: number;
|
|
92
|
+
has_more: boolean;
|
|
93
|
+
} | null;
|
|
94
|
+
isInitialized: boolean;
|
|
95
|
+
refetch: (params?: Record<string, any>) => Promise<void>;
|
|
96
|
+
clearCache: () => void;
|
|
97
|
+
exportAllData: (onProgress: (current: number, total: number) => void) => Promise<Record<string, any>[]>;
|
|
98
|
+
}
|
|
99
|
+
export type SupportedComponentType = 'Tree' | 'Table' | 'EditableTable' | 'Form' | 'Chart' | 'StatisticGroup' | 'Typography' | 'HeroCard' | 'CollapsePanel' | 'ProductReport' | 'ProductDetail' | 'TileGrid' | 'RingStat' | 'RadarChart' | 'List';
|
|
100
|
+
export interface DefaultSortItem {
|
|
101
|
+
field: string;
|
|
102
|
+
direction: 'asc' | 'desc';
|
|
103
|
+
}
|
|
104
|
+
export interface DataExtractionStrategy {
|
|
105
|
+
componentType: SupportedComponentType;
|
|
106
|
+
dataPath?: string;
|
|
107
|
+
transformFn?: (data: any[]) => any[];
|
|
108
|
+
}
|
|
109
|
+
export interface ErrorHandlingConfig {
|
|
110
|
+
showToast?: boolean;
|
|
111
|
+
retryAttempts?: number;
|
|
112
|
+
retryDelay?: number;
|
|
113
|
+
fallbackData?: any[];
|
|
114
|
+
}
|
|
115
|
+
export interface PerformanceConfig {
|
|
116
|
+
debounceTime?: number;
|
|
117
|
+
throttleTime?: number;
|
|
118
|
+
batchSize?: number;
|
|
119
|
+
lazyLoad?: boolean;
|
|
120
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
export type FilterOperator = 'eq' | 'ne' | 'gt' | 'lt' | 'gte' | 'lte' | 'like' | 'in' | 'not_in';
|
|
2
|
+
export interface ParameterFilterCondition {
|
|
3
|
+
id: string;
|
|
4
|
+
field: string;
|
|
5
|
+
operator: FilterOperator;
|
|
6
|
+
parameterName: string;
|
|
7
|
+
fallbackValue?: any;
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
description?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface DataSourceCommunicationConfig {
|
|
12
|
+
enabled: boolean;
|
|
13
|
+
listenToParameters: string[];
|
|
14
|
+
enableDebugLog?: boolean;
|
|
15
|
+
manualListenParameters?: string[];
|
|
16
|
+
autoListenParameters?: string[];
|
|
17
|
+
}
|
|
18
|
+
export interface DataSourceParams {
|
|
19
|
+
parameterFilters?: ParameterFilterCondition[];
|
|
20
|
+
limit?: number;
|
|
21
|
+
offset?: number;
|
|
22
|
+
outputFields?: string[];
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
}
|
|
25
|
+
export interface DataSource {
|
|
26
|
+
type: 'dataset';
|
|
27
|
+
datasetId: string;
|
|
28
|
+
datasetName?: string;
|
|
29
|
+
params: DataSourceParams;
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
}
|
|
32
|
+
export interface EnhancedDataSource extends DataSource {
|
|
33
|
+
communicationConfig?: DataSourceCommunicationConfig;
|
|
34
|
+
}
|
|
35
|
+
export interface SchemaField {
|
|
36
|
+
name: string;
|
|
37
|
+
type: string;
|
|
38
|
+
description?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface DatasetSchema {
|
|
41
|
+
fields: SchemaField[];
|
|
42
|
+
}
|
|
43
|
+
export interface ColumnConfig {
|
|
44
|
+
title: string;
|
|
45
|
+
dataIndex: string;
|
|
46
|
+
key: string;
|
|
47
|
+
width?: number | string;
|
|
48
|
+
minWidth?: number | string;
|
|
49
|
+
maxWidth?: number | string;
|
|
50
|
+
align?: string;
|
|
51
|
+
ellipsis?: boolean;
|
|
52
|
+
editable?: boolean;
|
|
53
|
+
editRequired?: boolean;
|
|
54
|
+
filterable?: boolean;
|
|
55
|
+
filterType?: 'equals' | 'like' | 'in';
|
|
56
|
+
filterMultiSelect?: boolean;
|
|
57
|
+
filterMaxTags?: number;
|
|
58
|
+
filterPassMode?: 'filter' | 'parameter';
|
|
59
|
+
filterParameterName?: string;
|
|
60
|
+
hidden?: boolean;
|
|
61
|
+
/** Pin column to the left in table renderer (horizontal scroll) */
|
|
62
|
+
frozen?: boolean;
|
|
63
|
+
fieldType?: 'VARCHAR' | 'INT8' | 'INT16' | 'INT32' | 'INT64' | 'FLOAT' | 'DOUBLE' | 'BOOL' | 'JSON' | 'ARRAY' | 'DATE' | 'DATETIME' | 'TEXT' | 'SWITCH' | 'IMAGE';
|
|
64
|
+
render?: {
|
|
65
|
+
type: 'Tag' | 'Progress' | 'Image' | 'yyyy-MM-dd' | 'yyyy-MM-dd HH:mm:ss' | 'Custom' | 'RankBadge' | 'Currency' | 'Number';
|
|
66
|
+
props?: {
|
|
67
|
+
color?: Record<string, string>;
|
|
68
|
+
text?: Record<string, string>;
|
|
69
|
+
textColor?: Record<string, string>;
|
|
70
|
+
status?: string;
|
|
71
|
+
showInfo?: boolean;
|
|
72
|
+
size?: 'small' | 'default' | 'large';
|
|
73
|
+
width?: number;
|
|
74
|
+
height?: number;
|
|
75
|
+
preview?: boolean;
|
|
76
|
+
fallback?: string;
|
|
77
|
+
render?: string;
|
|
78
|
+
customColor?: string;
|
|
79
|
+
fontWeight?: string;
|
|
80
|
+
fontFamily?: string;
|
|
81
|
+
fontStyle?: string;
|
|
82
|
+
textDecoration?: string;
|
|
83
|
+
topHighlight?: number;
|
|
84
|
+
highlightFrom?: string;
|
|
85
|
+
highlightTo?: string;
|
|
86
|
+
defaultFill?: string;
|
|
87
|
+
rankStyle?: 'square' | 'circle';
|
|
88
|
+
rankSize?: 'xs' | 'sm' | 'md';
|
|
89
|
+
medalTop?: number;
|
|
90
|
+
currencyField?: string;
|
|
91
|
+
compact?: boolean;
|
|
92
|
+
decimals?: number;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
switchConfig?: {
|
|
96
|
+
showText?: boolean;
|
|
97
|
+
onText?: string;
|
|
98
|
+
offText?: string;
|
|
99
|
+
};
|
|
100
|
+
inputType?: 'text' | 'number' | 'color' | 'date' | 'select' | 'switch' | 'file';
|
|
101
|
+
datasource?: {
|
|
102
|
+
datasourceId?: string;
|
|
103
|
+
/** Pin a datasource version; omit to use the default version */
|
|
104
|
+
version?: number;
|
|
105
|
+
valueField?: string;
|
|
106
|
+
labelField?: string;
|
|
107
|
+
};
|
|
108
|
+
[key: string]: unknown;
|
|
109
|
+
}
|
|
110
|
+
export interface PaginationConfig {
|
|
111
|
+
pageSize: number;
|
|
112
|
+
current?: number;
|
|
113
|
+
showSizeChanger?: boolean;
|
|
114
|
+
showQuickJumper?: boolean;
|
|
115
|
+
showTotal?: boolean;
|
|
116
|
+
[key: string]: unknown;
|
|
117
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { DataSource, SchemaField, DatasetSchema, ColumnConfig, EnhancedDataSource } from './datasource';
|
|
2
|
+
import { ComponentTypeName } from './components';
|
|
3
|
+
|
|
4
|
+
export interface BasePropertyEditorProps {
|
|
5
|
+
component: {
|
|
6
|
+
id: string;
|
|
7
|
+
type: string;
|
|
8
|
+
props?: Record<string, unknown>;
|
|
9
|
+
dataSource?: DataSource;
|
|
10
|
+
mockData?: unknown;
|
|
11
|
+
parameterConfig?: unknown;
|
|
12
|
+
actions?: unknown[];
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
onPropChange: (propKey: string, value: unknown) => void;
|
|
16
|
+
availablePages?: Array<{
|
|
17
|
+
key: string;
|
|
18
|
+
title: string;
|
|
19
|
+
}>;
|
|
20
|
+
availableParameters?: Array<{
|
|
21
|
+
label: string;
|
|
22
|
+
value: string;
|
|
23
|
+
type?: string;
|
|
24
|
+
}>;
|
|
25
|
+
}
|
|
26
|
+
export interface ComponentEditorProps extends BasePropertyEditorProps {
|
|
27
|
+
onDataSourceChange?: (dataSource: DataSource) => void;
|
|
28
|
+
onMockDataChange?: (mockData: unknown) => void;
|
|
29
|
+
onIdChange?: (id: string) => void;
|
|
30
|
+
}
|
|
31
|
+
export interface DataSourceEditorProps {
|
|
32
|
+
dataSource: EnhancedDataSource | null;
|
|
33
|
+
componentType: ComponentTypeName;
|
|
34
|
+
onChange: (dataSource: EnhancedDataSource) => void;
|
|
35
|
+
availableParameters?: Array<{
|
|
36
|
+
label: string;
|
|
37
|
+
value: string;
|
|
38
|
+
type?: string;
|
|
39
|
+
}>;
|
|
40
|
+
}
|
|
41
|
+
export interface MockDataEditorProps {
|
|
42
|
+
mockData: unknown;
|
|
43
|
+
componentType: ComponentTypeName;
|
|
44
|
+
onChange: (mockData: unknown) => void;
|
|
45
|
+
}
|
|
46
|
+
export interface SchemaColumnSelectorProps {
|
|
47
|
+
isOpen: boolean;
|
|
48
|
+
onOpenChange: (open: boolean) => void;
|
|
49
|
+
schema: DatasetSchema | null;
|
|
50
|
+
existingColumns: ColumnConfig[];
|
|
51
|
+
onSelect: (selectedFields: SchemaField[]) => void;
|
|
52
|
+
}
|
|
53
|
+
export interface PropertyConfig {
|
|
54
|
+
type: 'string' | 'number' | 'boolean' | 'array' | 'object';
|
|
55
|
+
label: string;
|
|
56
|
+
description?: string;
|
|
57
|
+
required?: boolean;
|
|
58
|
+
defaultValue?: any;
|
|
59
|
+
options?: Array<{
|
|
60
|
+
label: string;
|
|
61
|
+
value: string | number;
|
|
62
|
+
}>;
|
|
63
|
+
children?: {
|
|
64
|
+
[key: string]: PropertyConfig;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
export interface ComponentTypeConfig {
|
|
68
|
+
type: ComponentTypeName;
|
|
69
|
+
title: string;
|
|
70
|
+
description: string;
|
|
71
|
+
icon: string;
|
|
72
|
+
propTypes: {
|
|
73
|
+
[key: string]: PropertyConfig;
|
|
74
|
+
};
|
|
75
|
+
dataSourceTypes?: {
|
|
76
|
+
[key: string]: {
|
|
77
|
+
label: string;
|
|
78
|
+
description?: string;
|
|
79
|
+
required?: boolean;
|
|
80
|
+
children: {
|
|
81
|
+
[key: string]: PropertyConfig;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
mockData?: {
|
|
86
|
+
type: 'array' | 'object';
|
|
87
|
+
label: string;
|
|
88
|
+
description: string;
|
|
89
|
+
defaultValue: any;
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export type ParameterValue = string | number | boolean | null | undefined | Record<string, any> | any[];
|
|
2
|
+
export type ParameterRecord = Record<string, ParameterValue>;
|
|
3
|
+
export interface TabParameterInfo {
|
|
4
|
+
tabId: string;
|
|
5
|
+
pageId: string;
|
|
6
|
+
parameters: ParameterRecord;
|
|
7
|
+
timestamp: number;
|
|
8
|
+
}
|
|
9
|
+
export interface ParameterChangeEvent {
|
|
10
|
+
key: string;
|
|
11
|
+
value: ParameterValue;
|
|
12
|
+
oldValue: ParameterValue;
|
|
13
|
+
source: 'user' | 'component' | 'system';
|
|
14
|
+
timestamp: number;
|
|
15
|
+
componentId?: string;
|
|
16
|
+
}
|
|
17
|
+
export type ParameterListener = (event: ParameterChangeEvent) => void;
|
|
18
|
+
export interface ParameterSubscription {
|
|
19
|
+
parameterKeys: string[];
|
|
20
|
+
callback: ParameterListener;
|
|
21
|
+
componentId?: string;
|
|
22
|
+
immediate?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export type ParameterReadyCallback = () => void;
|
|
25
|
+
export interface ParameterContextValue {
|
|
26
|
+
currentTabParams: ParameterRecord;
|
|
27
|
+
getCurrentTabParams: () => ParameterRecord;
|
|
28
|
+
globalUrlParams: ParameterRecord;
|
|
29
|
+
updateTabParams: (params: Partial<ParameterRecord>, source?: 'user' | 'component' | 'system', componentId?: string) => void;
|
|
30
|
+
getTabParams: (tabId: string) => ParameterRecord;
|
|
31
|
+
cleanupTabParams: (activeTabIds: string[]) => void;
|
|
32
|
+
subscribeToParameter: (subscription: ParameterSubscription) => () => void;
|
|
33
|
+
unsubscribeFromParameter: (parameterKeys: string[], componentId?: string) => void;
|
|
34
|
+
broadcastParameterChange: (key: string, value: ParameterValue, source?: 'user' | 'component' | 'system', componentId?: string) => void;
|
|
35
|
+
markParametersReady: (parameterKeys: string[]) => void;
|
|
36
|
+
isParametersReady: (parameterKeys: string[]) => boolean;
|
|
37
|
+
subscribeToParametersReady: (parameterKeys: string[], callback: ParameterReadyCallback) => () => void;
|
|
38
|
+
}
|
|
39
|
+
export interface ParameterParseConfig {
|
|
40
|
+
enableJsonParsing: boolean;
|
|
41
|
+
defaultValues: ParameterRecord;
|
|
42
|
+
validationRules?: Record<string, (value: ParameterValue) => boolean>;
|
|
43
|
+
}
|
|
44
|
+
export interface ParameterProps {
|
|
45
|
+
pageParams?: ParameterRecord;
|
|
46
|
+
pageId?: string;
|
|
47
|
+
tabId?: string;
|
|
48
|
+
}
|
|
49
|
+
export interface ComponentParameterConfig {
|
|
50
|
+
enableParameterReceiving?: boolean;
|
|
51
|
+
parameterMapping?: Record<string, {
|
|
52
|
+
targetField: string;
|
|
53
|
+
targetType?: 'props' | 'dataSource' | 'filterCondition';
|
|
54
|
+
required?: boolean;
|
|
55
|
+
defaultValue?: ParameterValue;
|
|
56
|
+
transform?: (value: ParameterValue) => ParameterValue;
|
|
57
|
+
}>;
|
|
58
|
+
listenToParameters?: string[];
|
|
59
|
+
}
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
import { BilingualText } from '../utils/workbenchDisplayLocale';
|
|
2
|
+
import { HeroBanner } from '../components/renderers/heroCardUtils';
|
|
3
|
+
import { VisibleWhen } from '../utils/visibleWhen';
|
|
4
|
+
import { DatabaseDataSourceConfig } from './databaseDataSource';
|
|
5
|
+
|
|
6
|
+
export type { BilingualText, HeroBanner };
|
|
7
|
+
export type ProductReportViewMode = 'list' | 'table';
|
|
8
|
+
export type DimensionSource = 'primary' | 'dimension';
|
|
9
|
+
/** Number format vocabulary shared by summary cards and table cells. */
|
|
10
|
+
export type ReportValueFormat = 'currency-compact' | 'compact-k' | 'number' | 'percent1' | 'plain';
|
|
11
|
+
/** One summary KPI card; reads a single field off the summary row. */
|
|
12
|
+
export interface SummaryCardConfig {
|
|
13
|
+
key?: string;
|
|
14
|
+
label: BilingualText;
|
|
15
|
+
field: string;
|
|
16
|
+
format?: ReportValueFormat;
|
|
17
|
+
/** Row field holding the currency code (e.g. 'currency'); used by currency-compact. */
|
|
18
|
+
currencyField?: string;
|
|
19
|
+
/** Accent dot color. */
|
|
20
|
+
color?: 'indigo' | 'emerald' | 'amber' | 'rose' | 'slate';
|
|
21
|
+
/** Per-card visibility rule (e.g. hide the discount card for store managers via role/app rules). */
|
|
22
|
+
visibleWhen?: VisibleWhen;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* What happens when a dimension row is clicked: push `row[dimKeyField]` into a
|
|
26
|
+
* filter-bus param, then optionally navigate to another tab / sub-tab.
|
|
27
|
+
*/
|
|
28
|
+
export interface DrillConfig {
|
|
29
|
+
/** Filter-bus key (relative to filterComponentId) to receive row[dimKeyField]. */
|
|
30
|
+
emitParam: string;
|
|
31
|
+
/** 'csv' dedupe-appends a token; 'set' overwrites the single value. Default 'csv'. */
|
|
32
|
+
mode?: 'csv' | 'set';
|
|
33
|
+
then?: {
|
|
34
|
+
type: 'primaryTab';
|
|
35
|
+
key: string;
|
|
36
|
+
} | {
|
|
37
|
+
type: 'subTab';
|
|
38
|
+
key: string;
|
|
39
|
+
} | {
|
|
40
|
+
type: 'none';
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
/** A sub-tab inside a dimension; selecting it drives `dimension`/`groupBy`. */
|
|
44
|
+
export interface SubTabConfig {
|
|
45
|
+
key: string;
|
|
46
|
+
label: BilingualText;
|
|
47
|
+
/** Injected as the `{{dimension}}` query param. */
|
|
48
|
+
dimension: string;
|
|
49
|
+
/** Injected as the `{{groupBy}}` query param. */
|
|
50
|
+
groupBy: string;
|
|
51
|
+
/** Overrides the parent dimension drill for this sub-tab. */
|
|
52
|
+
drill?: DrillConfig;
|
|
53
|
+
/** Per-sub-tab visibility rule (e.g. hide the e-commerce tab for store managers via role/app rules). */
|
|
54
|
+
visibleWhen?: VisibleWhen;
|
|
55
|
+
/** Fixed width (px) for the frozen name column in table view; overrides the shared column config. */
|
|
56
|
+
labelWidth?: number;
|
|
57
|
+
}
|
|
58
|
+
/** A primary tab. `source` selects which datasource feeds it. */
|
|
59
|
+
export interface DimensionConfig {
|
|
60
|
+
key: string;
|
|
61
|
+
label: BilingualText;
|
|
62
|
+
/** 'primary' → databaseDataSourceConfig (PLU-like); 'dimension' → dimDataSourceConfig. */
|
|
63
|
+
source: DimensionSource;
|
|
64
|
+
/** Used when source==='dimension' and there are no sub-tabs. */
|
|
65
|
+
dimension?: string;
|
|
66
|
+
groupBy?: string;
|
|
67
|
+
subTabs?: SubTabConfig[];
|
|
68
|
+
/** Default drill for rows of this dimension; a sub-tab may override. */
|
|
69
|
+
drill?: DrillConfig;
|
|
70
|
+
/** Which sub-tab is active when entering this dimension. */
|
|
71
|
+
defaultSubTab?: string;
|
|
72
|
+
/** Field names to hide (table dataIndex + list-card item field) for this dimension across all its
|
|
73
|
+
* sub-tabs — e.g. store dims have no store-level stock, so hide 'stock'/'stock_share_pct'. */
|
|
74
|
+
hiddenFields?: string[];
|
|
75
|
+
/** Fixed width (px) for the frozen name column in table view; a sub-tab's labelWidth takes precedence. */
|
|
76
|
+
labelWidth?: number;
|
|
77
|
+
/** Show a pinned footer total row (bound to totalRowDataSourceConfig) on this dimension's table —
|
|
78
|
+
* e.g. SW category/season/series tabs; the store dimension stays sales-only (no total). */
|
|
79
|
+
showTotalRow?: boolean;
|
|
80
|
+
}
|
|
81
|
+
export interface SortOptionConfig {
|
|
82
|
+
key: string;
|
|
83
|
+
label: BilingualText;
|
|
84
|
+
field: string;
|
|
85
|
+
defaultDir?: 'asc' | 'desc';
|
|
86
|
+
}
|
|
87
|
+
/** Per filter-bus key: how chips are labelled and how text keys clear together. */
|
|
88
|
+
export interface FilterKeyConfig {
|
|
89
|
+
key: string;
|
|
90
|
+
kind: 'csv' | 'text';
|
|
91
|
+
/** Per-value chip label map (e.g. status normal→Regular, channel fp→Full Price). */
|
|
92
|
+
valueLabels?: Record<string, BilingualText>;
|
|
93
|
+
/** Text keys sharing a group clear together (e.g. code + name). */
|
|
94
|
+
textGroup?: string;
|
|
95
|
+
/** csv tokens are not shown as chips when true (still counted as active). */
|
|
96
|
+
excludeFromChips?: boolean;
|
|
97
|
+
}
|
|
98
|
+
/** Cell render vocabulary for report tables. */
|
|
99
|
+
export type ReportCellType = 'text' | 'currency' | 'number' | 'percent' | 'trend' | 'tag' | 'thumbnail' | 'colorDot' | 'discBadge';
|
|
100
|
+
export interface ReportCellProps {
|
|
101
|
+
format?: ReportValueFormat;
|
|
102
|
+
/** Per-row currency field (default 'currency'). */
|
|
103
|
+
currencyField?: string;
|
|
104
|
+
decimals?: number;
|
|
105
|
+
prefix?: string;
|
|
106
|
+
suffix?: string;
|
|
107
|
+
/** value → hex (colorDot swatch) or tone token (tag). */
|
|
108
|
+
colorMap?: Record<string, string>;
|
|
109
|
+
/** value → display label. */
|
|
110
|
+
textMap?: Record<string, BilingualText>;
|
|
111
|
+
/** value → text tone token for tag. */
|
|
112
|
+
toneMap?: Record<string, string>;
|
|
113
|
+
imageField?: string;
|
|
114
|
+
colorField?: string;
|
|
115
|
+
/** Colors that need a light border (e.g. white/beige). */
|
|
116
|
+
lightColors?: string[];
|
|
117
|
+
fallbackColor?: string;
|
|
118
|
+
/** Composite title (locale base, resolves _zh/_en). */
|
|
119
|
+
titleField?: string;
|
|
120
|
+
/** Composite sub line (e.g. plu). */
|
|
121
|
+
subField?: string;
|
|
122
|
+
/** Below this ratio (0..1) the pill turns rose; value shown as ×100 %. */
|
|
123
|
+
discountThreshold?: number;
|
|
124
|
+
/** Below this number the text turns rose and a ⚠ is appended. */
|
|
125
|
+
warnBelow?: number;
|
|
126
|
+
}
|
|
127
|
+
export interface ReportColumn {
|
|
128
|
+
dataIndex: string;
|
|
129
|
+
title: BilingualText;
|
|
130
|
+
align?: 'left' | 'right' | 'center';
|
|
131
|
+
/** Sticky-left frozen column. */
|
|
132
|
+
frozen?: boolean;
|
|
133
|
+
minWidth?: number;
|
|
134
|
+
maxWidth?: number;
|
|
135
|
+
render?: {
|
|
136
|
+
type: ReportCellType;
|
|
137
|
+
props?: ReportCellProps;
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
/** One metric inside a list-card metric grid. */
|
|
141
|
+
export interface ReportMetricItem {
|
|
142
|
+
label: BilingualText;
|
|
143
|
+
field: string;
|
|
144
|
+
format?: ReportValueFormat;
|
|
145
|
+
currencyField?: string;
|
|
146
|
+
decimals?: number;
|
|
147
|
+
suffix?: string;
|
|
148
|
+
/** 'value' plain; 'trend' signed arrow; 'warnPercent' n% reddened + ⚠ below warnBelow. */
|
|
149
|
+
render?: 'value' | 'trend' | 'warnPercent';
|
|
150
|
+
warnBelow?: number;
|
|
151
|
+
}
|
|
152
|
+
/** A row inside a list-card. Header rows (title/text/price) render beside the
|
|
153
|
+
* banner; body rows (metric-grid/trend-badges) render full-width below. */
|
|
154
|
+
export type ReportCardRow = {
|
|
155
|
+
type: 'title';
|
|
156
|
+
titleField: string;
|
|
157
|
+
statusField?: string;
|
|
158
|
+
statusMap?: Record<string, {
|
|
159
|
+
label?: BilingualText;
|
|
160
|
+
tone?: string;
|
|
161
|
+
}>;
|
|
162
|
+
} | {
|
|
163
|
+
/** Join multiple localized fields on one line (e.g. color · season). */
|
|
164
|
+
type: 'text';
|
|
165
|
+
fields: string[];
|
|
166
|
+
separator?: string;
|
|
167
|
+
size?: 'xs' | 'sm' | 'base';
|
|
168
|
+
muted?: boolean;
|
|
169
|
+
} | {
|
|
170
|
+
type: 'price-row';
|
|
171
|
+
retailLabel?: BilingualText;
|
|
172
|
+
retailField: string;
|
|
173
|
+
sellingLabel?: BilingualText;
|
|
174
|
+
sellingField: string;
|
|
175
|
+
currencyField?: string;
|
|
176
|
+
discountField?: string;
|
|
177
|
+
discountThreshold?: number;
|
|
178
|
+
/** Discount "off" mode: show (1 − ratio) × 100 as `X%off` instead of the ratio. */
|
|
179
|
+
discountOff?: boolean;
|
|
180
|
+
/** Optional discount title; when set the discount renders as a labeled block instead of a bare badge. */
|
|
181
|
+
discountLabel?: BilingualText;
|
|
182
|
+
/** Pre-formatted discount string field from the datasource (e.g. "37.0% off"). When present it is shown verbatim — the front-end does no computation. */
|
|
183
|
+
discountTextField?: string;
|
|
184
|
+
} | {
|
|
185
|
+
type: 'metric-grid';
|
|
186
|
+
columns?: number;
|
|
187
|
+
items: ReportMetricItem[];
|
|
188
|
+
} | {
|
|
189
|
+
type: 'trend-badges';
|
|
190
|
+
/** Each badge shows an up/down arrow unless `trend:false` (then plain value). */
|
|
191
|
+
items: Array<{
|
|
192
|
+
label: BilingualText;
|
|
193
|
+
field: string;
|
|
194
|
+
suffix?: string;
|
|
195
|
+
trend?: boolean;
|
|
196
|
+
}>;
|
|
197
|
+
};
|
|
198
|
+
/** A list-card layout: optional banner thumbnail + ordered rows. */
|
|
199
|
+
export interface CardLayoutConfig {
|
|
200
|
+
banner?: HeroBanner;
|
|
201
|
+
rows: ReportCardRow[];
|
|
202
|
+
}
|
|
203
|
+
export interface DetailNavConfig {
|
|
204
|
+
/** Detail page key opened on primary-row click. */
|
|
205
|
+
pageId?: string;
|
|
206
|
+
/** Row field holding the id (e.g. 'plu'). */
|
|
207
|
+
idField: string;
|
|
208
|
+
/** urlParams key passed to the opened tab (e.g. 'pluId'). */
|
|
209
|
+
urlParam: string;
|
|
210
|
+
/** Bus param also emitted with the id (e.g. 'pluId'). */
|
|
211
|
+
emitParam?: string;
|
|
212
|
+
/** Tab title; a {zh,en} pair of FIELD NAMES (e.g. {zh:'product_name_zh'}). */
|
|
213
|
+
titleField?: BilingualText | string;
|
|
214
|
+
icon?: string;
|
|
215
|
+
}
|
|
216
|
+
export interface ProductReportConfig {
|
|
217
|
+
title?: BilingualText;
|
|
218
|
+
filterComponentId?: string;
|
|
219
|
+
enabledViews?: ProductReportViewMode[];
|
|
220
|
+
defaultViewMode?: ProductReportViewMode;
|
|
221
|
+
/** Row-key + stale-guard field for the primary source. Default 'plu'. */
|
|
222
|
+
primaryKeyField?: string;
|
|
223
|
+
/** Row-key + stale-guard field for the dimension source. Default 'dim_key'. */
|
|
224
|
+
dimKeyField?: string;
|
|
225
|
+
summaryCards?: SummaryCardConfig[];
|
|
226
|
+
dimensions?: DimensionConfig[];
|
|
227
|
+
sortOptions?: SortOptionConfig[];
|
|
228
|
+
filterKeys?: FilterKeyConfig[];
|
|
229
|
+
tableColumns?: {
|
|
230
|
+
primary?: ReportColumn[];
|
|
231
|
+
dimension?: ReportColumn[];
|
|
232
|
+
};
|
|
233
|
+
listCard?: {
|
|
234
|
+
primary?: CardLayoutConfig;
|
|
235
|
+
dimension?: CardLayoutConfig;
|
|
236
|
+
};
|
|
237
|
+
detailNav?: DetailNavConfig;
|
|
238
|
+
/** Rows per page for server-side pagination (sent as `limit`; the /data endpoint auto-wraps LIMIT/OFFSET and returns the true COUNT(*) total). Defaults to 20 when unset. */
|
|
239
|
+
pageSize?: number;
|
|
240
|
+
/** @deprecated Legacy per-fetch row cap from the client-side infinite-scroll era. No longer read — pagination is server-side via pageSize. */
|
|
241
|
+
fetchLimit?: number;
|
|
242
|
+
/** Mobile only: freeze the first column (sticky-left) AND pin the table header below the
|
|
243
|
+
* FilterPanel as the page scrolls. Off by default — turn on only for wide/long tables. */
|
|
244
|
+
freezeFirstColumn?: boolean;
|
|
245
|
+
/** Quick-scope pills row (store/national/retail/outlet/city…) shown under the dimension tabs.
|
|
246
|
+
* The selected value is injected into the data-source params via pillParam (storeScope SQL
|
|
247
|
+
* branches); visibleWhen typically gates it to store_manager so the HQ view stays unchanged. */
|
|
248
|
+
quickScope?: QuickScopeConfig;
|
|
249
|
+
/** Default true; false hides the "N items" counter (hidden on the SW product board per design). */
|
|
250
|
+
showItemCount?: boolean;
|
|
251
|
+
/** Footer total-row label (first column); used together with the dimension-level showTotalRow flag
|
|
252
|
+
* and the injected totalRowDataSourceConfig prop. Defaults to the zh/en Total label. */
|
|
253
|
+
totalRowLabel?: BilingualText;
|
|
254
|
+
}
|
|
255
|
+
export interface QuickScopePill {
|
|
256
|
+
value: string;
|
|
257
|
+
label: BilingualText;
|
|
258
|
+
}
|
|
259
|
+
export interface QuickScopeConfig {
|
|
260
|
+
/** Param name the selected scope is injected into (storeScope SQL branches). */
|
|
261
|
+
pillParam?: string;
|
|
262
|
+
/** e.g. only render for store_manager — HQ view stays unchanged. */
|
|
263
|
+
visibleWhen?: VisibleWhen;
|
|
264
|
+
pills: QuickScopePill[];
|
|
265
|
+
/** Pill value the dynamic city label applies to. Default 'city'. */
|
|
266
|
+
cityPillValue?: string;
|
|
267
|
+
/** Dynamic city label template, e.g. 'City ({{cities}})' — rendered statically when
|
|
268
|
+
* citiesDataSourceConfig is unset / the query fails / cities comes back empty. */
|
|
269
|
+
cityLabelTemplate?: string;
|
|
270
|
+
/** Optional tiny data source (first row's `cities` field fills the template). */
|
|
271
|
+
citiesDataSourceConfig?: DatabaseDataSourceConfig;
|
|
272
|
+
}
|