@genispace/geniapp 0.3.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 +36 -11
- 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 +157 -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,164 @@
|
|
|
1
|
+
export type HeroCardTheme = 'primary' | 'success' | 'info' | 'warning' | 'destructive' | 'muted';
|
|
2
|
+
export type HeroRowFormat = 'raw' | 'number' | 'percent' | 'currency' | 'currency-compact' | 'compact-k' | 'wan';
|
|
3
|
+
export interface HeroKpiItem {
|
|
4
|
+
label: string;
|
|
5
|
+
field: string;
|
|
6
|
+
lyField?: string;
|
|
7
|
+
diff?: 'absolute' | 'pp' | 'percent';
|
|
8
|
+
format?: HeroRowFormat;
|
|
9
|
+
/** Fixed currency for this item's symbol (e.g. 'CNY' for CNY-based stats on a local-currency card); defaults to row.currency. */
|
|
10
|
+
currency?: string;
|
|
11
|
+
}
|
|
12
|
+
export type HeroRow = {
|
|
13
|
+
type: 'text';
|
|
14
|
+
text?: unknown;
|
|
15
|
+
field?: string;
|
|
16
|
+
format?: HeroRowFormat;
|
|
17
|
+
size?: 'xs' | 'sm' | 'base';
|
|
18
|
+
muted?: boolean;
|
|
19
|
+
} | {
|
|
20
|
+
type: 'metric';
|
|
21
|
+
field: string;
|
|
22
|
+
format?: HeroRowFormat;
|
|
23
|
+
prefix?: string;
|
|
24
|
+
suffix?: string;
|
|
25
|
+
label?: string;
|
|
26
|
+
lyField?: string;
|
|
27
|
+
lyLabel?: string;
|
|
28
|
+
lyFormat?: HeroRowFormat;
|
|
29
|
+
currency?: string; /** Render LY inline in parens on the same line as the value (e.g. Y3.6K (LY Y323.1K)) instead of below it. */
|
|
30
|
+
lyInline?: boolean; /** Shrink the row's font sizes so value + inline LY always fit on ONE line (replaces the narrow-flow wrap point). */
|
|
31
|
+
autoFit?: boolean;
|
|
32
|
+
} | {
|
|
33
|
+
type: 'trend-badges';
|
|
34
|
+
items: Array<{
|
|
35
|
+
label: string;
|
|
36
|
+
field: string;
|
|
37
|
+
suffix?: string;
|
|
38
|
+
}>; /** Shrink the strip's font sizes so all badges stay on ONE line (replaces the narrow-flow flex-wrap). */
|
|
39
|
+
autoFit?: boolean;
|
|
40
|
+
} | {
|
|
41
|
+
type: 'key-value';
|
|
42
|
+
label: string;
|
|
43
|
+
field: string;
|
|
44
|
+
format?: HeroRowFormat;
|
|
45
|
+
prefix?: string;
|
|
46
|
+
suffix?: string;
|
|
47
|
+
signedColor?: boolean;
|
|
48
|
+
signed?: boolean;
|
|
49
|
+
currency?: string; /** Shrink the row's font sizes so label + value always fit on ONE line. */
|
|
50
|
+
autoFit?: boolean;
|
|
51
|
+
} | {
|
|
52
|
+
type: 'dual-key-value';
|
|
53
|
+
label: unknown;
|
|
54
|
+
label2: unknown;
|
|
55
|
+
field: string;
|
|
56
|
+
field2: string;
|
|
57
|
+
format?: HeroRowFormat;
|
|
58
|
+
format2?: HeroRowFormat;
|
|
59
|
+
currency?: string;
|
|
60
|
+
signed2?: boolean;
|
|
61
|
+
signedColor2?: boolean; /** Shrink the row's font sizes so all parts always fit on ONE line. */
|
|
62
|
+
autoFit?: boolean;
|
|
63
|
+
} | {
|
|
64
|
+
type: 'progress';
|
|
65
|
+
field: string;
|
|
66
|
+
max?: number;
|
|
67
|
+
} | {
|
|
68
|
+
type: 'kpi-list';
|
|
69
|
+
columns?: 1 | 2;
|
|
70
|
+
items: HeroKpiItem[];
|
|
71
|
+
valueAlign?: 'left' | 'right'; /** Shrink each item row's font sizes so label + value + delta always fit on ONE line. */
|
|
72
|
+
autoFit?: boolean;
|
|
73
|
+
} | {
|
|
74
|
+
type: 'title-bar';
|
|
75
|
+
titleField: string;
|
|
76
|
+
statusField?: string;
|
|
77
|
+
statusMap?: Record<string, {
|
|
78
|
+
label?: unknown;
|
|
79
|
+
class?: string;
|
|
80
|
+
}>;
|
|
81
|
+
} | {
|
|
82
|
+
type: 'price-row';
|
|
83
|
+
retailLabel?: unknown;
|
|
84
|
+
retailField: string;
|
|
85
|
+
sellingLabel?: unknown;
|
|
86
|
+
sellingField: string;
|
|
87
|
+
discountField?: string;
|
|
88
|
+
discountThreshold?: number;
|
|
89
|
+
discountOff?: boolean;
|
|
90
|
+
discountLabel?: unknown;
|
|
91
|
+
discountTextField?: string;
|
|
92
|
+
currencyField?: string;
|
|
93
|
+
} | {
|
|
94
|
+
type: 'divider';
|
|
95
|
+
} | {
|
|
96
|
+
type: 'spacer';
|
|
97
|
+
size?: number;
|
|
98
|
+
};
|
|
99
|
+
export interface HeroBanner {
|
|
100
|
+
imageField?: string;
|
|
101
|
+
colorField?: string;
|
|
102
|
+
colorMap?: Record<string, string>;
|
|
103
|
+
emojiField?: string;
|
|
104
|
+
emojiMap?: Record<string, string>;
|
|
105
|
+
fallbackColor?: string;
|
|
106
|
+
fallbackEmoji?: string;
|
|
107
|
+
height?: number;
|
|
108
|
+
imageFit?: 'cover' | 'contain';
|
|
109
|
+
imageBg?: string;
|
|
110
|
+
}
|
|
111
|
+
export declare const HERO_GRADIENT_PRESETS: Record<string, {
|
|
112
|
+
from: string;
|
|
113
|
+
to: string;
|
|
114
|
+
}>;
|
|
115
|
+
export interface HeroCardProps {
|
|
116
|
+
className?: string;
|
|
117
|
+
rows?: HeroRow[];
|
|
118
|
+
/** Editor quick preset (on selection, prefer writing concrete gradientFrom/To values directly; lowest priority in the render fallback order). */
|
|
119
|
+
gradientPreset?: string;
|
|
120
|
+
/** Static gradient colors (concrete values set explicitly in the page config). */
|
|
121
|
+
gradientFrom?: string;
|
|
122
|
+
gradientTo?: string;
|
|
123
|
+
/** Gradient column bindings: colors read from row data (values supplied by the datasource; highest priority — audit decision §2.4). */
|
|
124
|
+
gradientFromField?: string;
|
|
125
|
+
gradientToField?: string;
|
|
126
|
+
cardWidth?: number | 'full';
|
|
127
|
+
shell?: 'gradient' | 'muted' | 'detail';
|
|
128
|
+
banner?: HeroBanner;
|
|
129
|
+
/** Render ONE card per datasource row (N rows -> N sibling cards) instead of only row[0].
|
|
130
|
+
* Each card uses the exact same single-card markup; per-row titles come from row-bound
|
|
131
|
+
* rows (e.g. title-bar's titleField). False = original single-card behavior. */
|
|
132
|
+
cardPerRow?: boolean;
|
|
133
|
+
titleFontSize?: number;
|
|
134
|
+
valueFontSize?: number;
|
|
135
|
+
labelFontSize?: number;
|
|
136
|
+
numberFontSize?: number;
|
|
137
|
+
badgeFontSize?: number;
|
|
138
|
+
}
|
|
139
|
+
export declare function formatCompactCurrency(raw: unknown, currency?: unknown): string;
|
|
140
|
+
export declare function formatCompactK(raw: unknown): string;
|
|
141
|
+
export declare function formatCurrencyK(raw: unknown, currency?: unknown): string;
|
|
142
|
+
export declare function formatHeroRowValue(raw: unknown, format?: HeroRowFormat, currency?: unknown, prefix?: string, suffix?: string): string;
|
|
143
|
+
export interface HeroCardAppearance {
|
|
144
|
+
containerClass: string;
|
|
145
|
+
containerStyle?: {
|
|
146
|
+
background?: string;
|
|
147
|
+
};
|
|
148
|
+
mutedTextClass: string;
|
|
149
|
+
strongTextClass: string;
|
|
150
|
+
badgeClass: string;
|
|
151
|
+
trendClass: string;
|
|
152
|
+
progressBarColor: string;
|
|
153
|
+
progressTrackColor?: string;
|
|
154
|
+
}
|
|
155
|
+
export declare const HERO_DETAIL_APPEARANCE: HeroCardAppearance;
|
|
156
|
+
export declare function normalizeHeroTheme(theme?: string): HeroCardTheme;
|
|
157
|
+
export declare function resolveHeroCardAppearance(props: {
|
|
158
|
+
theme?: HeroCardTheme | string;
|
|
159
|
+
gradientFrom?: string;
|
|
160
|
+
gradientTo?: string;
|
|
161
|
+
}): HeroCardAppearance;
|
|
162
|
+
export declare function readRowField(row: Record<string, unknown> | null | undefined, field?: string): unknown;
|
|
163
|
+
/** Normalize progress when SQL returns 0-100 or 0-1. */
|
|
164
|
+
export declare function normalizeProgressValue(raw: unknown): number;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ListRenderer } from './ListRenderers';
|
|
2
|
+
import { renderByType } from './BaseRenderers';
|
|
3
|
+
import { ContainerRenderer } from './ContainerRenderers';
|
|
4
|
+
import { default as StatisticGroup } from './StatisticGroup';
|
|
5
|
+
import { default as TableRenderer } from './TableRenderer';
|
|
6
|
+
import { default as EditableTableRenderer } from './EditableTableRenderer';
|
|
7
|
+
import { default as TabsRenderer } from './TabsRenderer';
|
|
8
|
+
import { default as CardRenderer } from './CardRenderer';
|
|
9
|
+
import { default as DataGridCard } from './DataGridCard';
|
|
10
|
+
import { default as ChartRenderer } from './ChartRenderer';
|
|
11
|
+
import { default as RadarChartRenderer } from './RadarChartRenderer';
|
|
12
|
+
import { default as MapChartRenderer } from './MapChartRenderer';
|
|
13
|
+
import { default as EChartsChartRenderer } from './EChartsChartRenderer';
|
|
14
|
+
import { default as FilterPanelRenderer } from './FilterPanelRenderer';
|
|
15
|
+
import { TypographyRenderer, TextRenderer, TitleRenderer, ParagraphRenderer } from './TypographyRenderer';
|
|
16
|
+
import { default as HeroCardRenderer } from './HeroCardRenderer';
|
|
17
|
+
import { default as MetricCarouselRenderer } from './MetricCarouselRenderer';
|
|
18
|
+
import { default as CollapsePanelRenderer } from './CollapsePanelRenderer';
|
|
19
|
+
import { default as AnalyticsTableRenderer } from './AnalyticsTableRenderer';
|
|
20
|
+
import { default as ProductReportRenderer } from './ProductReportRenderer';
|
|
21
|
+
import { default as ProductDetailRenderer } from './ProductDetailRenderer';
|
|
22
|
+
import { default as TileGridRenderer } from './TileGridRenderer';
|
|
23
|
+
import { default as RingStatRenderer } from './RingStatRenderer';
|
|
24
|
+
import { default as PublishHistoryRenderer } from './PublishHistoryRenderer';
|
|
25
|
+
import { default as PublishPreviewEntryRenderer } from './PublishPreviewEntryRenderer';
|
|
26
|
+
import { default as NavTileRenderer } from './NavTileRenderer';
|
|
27
|
+
import { default as AppIdentityListRenderer } from './AppIdentityListRenderer';
|
|
28
|
+
import { default as IdentityAttributeAssignRenderer } from './IdentityAttributeAssignRenderer';
|
|
29
|
+
import { default as LoadingRenderer } from './LoadingRenderer';
|
|
30
|
+
import { default as TaskInputRenderer } from './TaskInputRenderer';
|
|
31
|
+
import { default as ServiceDeskReporterRenderer } from './ServiceDeskReporterRenderer';
|
|
32
|
+
import { default as SimpleTreeRenderer } from './SimpleTreeRenderer';
|
|
33
|
+
import { default as CustomContentRenderer } from './CustomContentRenderer';
|
|
34
|
+
import { ListRendererProps, ContainerRendererProps, StatisticGroupProps, TableRendererProps, TabsRendererProps, CardRendererProps, DataGridCardProps, TextRendererProps, TitleRendererProps, ParagraphRendererProps, TypographyProps, TypographyContentSegment, TypographyDatabaseSegment, TypographySegmentTextType, TaskInputRendererProps, SimpleTreeRendererProps, RadarChartRendererProps, FilterPanelRendererProps, RenderersMap } from './types';
|
|
35
|
+
|
|
36
|
+
declare const renderers: RenderersMap;
|
|
37
|
+
export type { ListRendererProps, ContainerRendererProps, StatisticGroupProps, TableRendererProps, TabsRendererProps, CardRendererProps, DataGridCardProps, TextRendererProps, TitleRendererProps, ParagraphRendererProps, TypographyProps, TypographyContentSegment, TypographyDatabaseSegment, TypographySegmentTextType, TaskInputRendererProps, SimpleTreeRendererProps, RadarChartRendererProps, FilterPanelRendererProps };
|
|
38
|
+
export { ListRenderer, ContainerRenderer, renderByType, StatisticGroup, TableRenderer, EditableTableRenderer, DataGridCard, TabsRenderer, CardRenderer, ChartRenderer, RadarChartRenderer, MapChartRenderer, EChartsChartRenderer, FilterPanelRenderer, HeroCardRenderer, MetricCarouselRenderer, CollapsePanelRenderer, AnalyticsTableRenderer, ProductReportRenderer, ProductDetailRenderer, TileGridRenderer, RingStatRenderer, PublishHistoryRenderer, PublishPreviewEntryRenderer, NavTileRenderer, AppIdentityListRenderer, IdentityAttributeAssignRenderer, TypographyRenderer, TextRenderer, TitleRenderer, ParagraphRenderer, LoadingRenderer, renderers, TaskInputRenderer, ServiceDeskReporterRenderer, CustomContentRenderer, SimpleTreeRenderer };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TableAction } from '../../../types';
|
|
3
|
+
import { TableActionButtonPlacement } from '../../../utils/tableActionButtonRender';
|
|
4
|
+
|
|
5
|
+
interface ListActionButtonProps {
|
|
6
|
+
action: TableAction;
|
|
7
|
+
placement: TableActionButtonPlacement;
|
|
8
|
+
onClick: (e: React.MouseEvent) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const ListActionButton: React.FC<ListActionButtonProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ListColumn } from '../../../types/renderers';
|
|
3
|
+
|
|
4
|
+
interface ListDataTableProps {
|
|
5
|
+
columns: ListColumn[];
|
|
6
|
+
data: Record<string, unknown>[];
|
|
7
|
+
allData: Record<string, unknown>[];
|
|
8
|
+
className?: string;
|
|
9
|
+
/** Mobile only: pin the header below the FilterPanel on page scroll. Off by default. */
|
|
10
|
+
freezeFirstColumn?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const ListDataTable: React.FC<ListDataTableProps>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface ListProgressBarProps {
|
|
4
|
+
value: number;
|
|
5
|
+
max?: number;
|
|
6
|
+
fullWidth?: boolean;
|
|
7
|
+
size?: 'sm' | 'md' | 'lg';
|
|
8
|
+
barColor?: string;
|
|
9
|
+
trackColor?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const ListProgressBar: React.FC<ListProgressBarProps>;
|
package/dist/components/internal/workbench/components/renderers/list/ListTaskExecuteDialog.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TableAction } from '../../../types';
|
|
3
|
+
import { TableDataType } from '../../../types/renderers';
|
|
4
|
+
|
|
5
|
+
export interface ListTaskExecuteDialogState {
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
action: TableAction | null;
|
|
8
|
+
record: TableDataType | null;
|
|
9
|
+
}
|
|
10
|
+
interface ListTaskExecuteDialogProps {
|
|
11
|
+
dialog: ListTaskExecuteDialogState;
|
|
12
|
+
pageParams?: Record<string, unknown>;
|
|
13
|
+
onClose: () => void;
|
|
14
|
+
onRefresh?: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const ListTaskExecuteDialog: React.FC<ListTaskExecuteDialogProps>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TableAction, NavigationItem } from '../../../types';
|
|
2
|
+
import { TableDataType } from '../../../types/renderers';
|
|
3
|
+
import { ParameterRecord } from '../../../types/parameters';
|
|
4
|
+
|
|
5
|
+
export declare function resolveWorkbenchIdFromPath(pathname: string, paramWorkbenchId?: string): string | undefined;
|
|
6
|
+
export declare function buildListNavigateUrl(targetPage: string, workbenchId: string | undefined, queryString: string): string;
|
|
7
|
+
export interface ExecuteListNavigateOptions {
|
|
8
|
+
action: TableAction;
|
|
9
|
+
record: TableDataType;
|
|
10
|
+
pageParams?: ParameterRecord;
|
|
11
|
+
workbenchId?: string;
|
|
12
|
+
pathname: string;
|
|
13
|
+
navigate: (url: string) => void;
|
|
14
|
+
navigationItems?: NavigationItem[];
|
|
15
|
+
}
|
|
16
|
+
/** Align List navigate behavior with TableRenderer (open-tab + workbench path fallback). */
|
|
17
|
+
export declare function executeListNavigate({ action, record, pageParams, workbenchId: paramWorkbenchId, pathname, navigate, navigationItems, }: ExecuteListNavigateOptions): void;
|
|
18
|
+
export declare function buildListActionParameters(action: TableAction, record: TableDataType, pageParams?: ParameterRecord): ParameterRecord;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ListColumn } from '../../../types/renderers';
|
|
3
|
+
import { ListProgressContext } from './listFormatUtils';
|
|
4
|
+
|
|
5
|
+
export interface ListCellRenderContext extends ListProgressContext {
|
|
6
|
+
index: number;
|
|
7
|
+
highlighted?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function renderListCellValue(column: ListColumn, record: Record<string, unknown>, context?: Partial<ListCellRenderContext>): React.ReactNode;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ListColumn, ListItemLayoutConfig, ListRendererProps } from '../../../types/renderers';
|
|
2
|
+
import { TableAction } from '../../../types';
|
|
3
|
+
|
|
4
|
+
export declare function resolveListActions(actions?: TableAction[], rowActions?: TableAction[], toolbarActions?: TableAction[]): {
|
|
5
|
+
rowActions: TableAction[];
|
|
6
|
+
toolbarActions: TableAction[];
|
|
7
|
+
rowClickActions: TableAction[];
|
|
8
|
+
};
|
|
9
|
+
export declare function resolveRowClickAction(itemLayoutConfig?: ListItemLayoutConfig, rowClickActions?: TableAction[]): TableAction | undefined;
|
|
10
|
+
export declare function isListActionVisible(action: TableAction, record: Record<string, unknown>): boolean;
|
|
11
|
+
export interface ListColumnSlots {
|
|
12
|
+
title?: ListColumn;
|
|
13
|
+
titleSuffix: ListColumn[];
|
|
14
|
+
subtitle?: ListColumn;
|
|
15
|
+
description?: ListColumn;
|
|
16
|
+
avatar?: ListColumn;
|
|
17
|
+
icon?: ListColumn;
|
|
18
|
+
tags: ListColumn[];
|
|
19
|
+
custom: ListColumn[];
|
|
20
|
+
hasActionsSlot: boolean;
|
|
21
|
+
prefix?: ListColumn;
|
|
22
|
+
meta?: ListColumn;
|
|
23
|
+
progress?: ListColumn;
|
|
24
|
+
extraPrimary?: ListColumn;
|
|
25
|
+
extraSecondary?: ListColumn;
|
|
26
|
+
extraOthers: ListColumn[];
|
|
27
|
+
/** One horizontal row at the top of the row tail (ranking template right-block top row, e.g. rank-change badge group); columns sorted by slotIndex. */
|
|
28
|
+
extraTop: ListColumn[];
|
|
29
|
+
metrics: ListColumn[];
|
|
30
|
+
}
|
|
31
|
+
export declare function buildListColumnSlots(columns: ListColumn[]): ListColumnSlots;
|
|
32
|
+
export declare const EMPTY_DEFAULT_SORT: Array<{
|
|
33
|
+
field: string;
|
|
34
|
+
direction: 'asc' | 'desc';
|
|
35
|
+
}>;
|
|
36
|
+
export declare function sortStateToQuery(sortState: Array<{
|
|
37
|
+
field: string;
|
|
38
|
+
direction: 'asc' | 'desc';
|
|
39
|
+
}>): string | undefined;
|
|
40
|
+
export interface ListColumnPreset {
|
|
41
|
+
columns: ListColumn[];
|
|
42
|
+
itemLayoutConfig?: ListItemLayoutConfig;
|
|
43
|
+
/** List props aligned with column slot layout (see list-dashboard-demo.json) */
|
|
44
|
+
listProps?: Partial<Pick<ListRendererProps, 'split' | 'pagination' | 'defaultSort' | 'showRefresh' | 'selectionType'>>;
|
|
45
|
+
}
|
|
46
|
+
/** Subtask List — list-dashboard-demo.json comp-subtask-list */
|
|
47
|
+
export declare const SUBTASK_LIST_PRESET: ListColumnPreset;
|
|
48
|
+
/** Top 10 SKUs — list-dashboard-demo.json comp-top-skus */
|
|
49
|
+
export declare const TOP_SKUS_PRESET: ListColumnPreset;
|
|
50
|
+
/** Top 5 Stores — list-dashboard-demo.json comp-top-stores */
|
|
51
|
+
export declare const TOP_STORES_PRESET: ListColumnPreset;
|
|
52
|
+
/** Product card list — mobile SKU catalog (title + status + 4 KPI metrics) */
|
|
53
|
+
export declare const PRODUCT_CARD_PRESET: ListColumnPreset;
|
|
54
|
+
export declare const LIST_COLUMN_PRESETS: readonly [{
|
|
55
|
+
readonly id: "subtask-list";
|
|
56
|
+
readonly preset: ListColumnPreset;
|
|
57
|
+
}, {
|
|
58
|
+
readonly id: "top-skus";
|
|
59
|
+
readonly preset: ListColumnPreset;
|
|
60
|
+
}, {
|
|
61
|
+
readonly id: "top-stores";
|
|
62
|
+
readonly preset: ListColumnPreset;
|
|
63
|
+
}, {
|
|
64
|
+
readonly id: "product-card";
|
|
65
|
+
readonly preset: ListColumnPreset;
|
|
66
|
+
}];
|
|
67
|
+
export declare function applyListColumnPreset(preset: ListColumnPreset, onPropChange: (key: string, value: unknown) => void): void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ListRenderProps } from '../../../types/renderers';
|
|
2
|
+
|
|
3
|
+
export interface ListProgressContext {
|
|
4
|
+
record: Record<string, unknown>;
|
|
5
|
+
pageData: Record<string, unknown>[];
|
|
6
|
+
allData: Record<string, unknown>[];
|
|
7
|
+
}
|
|
8
|
+
export declare function formatListNumber(value: unknown, props?: ListRenderProps): string;
|
|
9
|
+
export declare function calcProgressValue(raw: unknown, props?: ListRenderProps, context?: ListProgressContext): number;
|
|
10
|
+
export declare function resolveListRank(props: ListRenderProps, context: {
|
|
11
|
+
index: number;
|
|
12
|
+
record: Record<string, unknown>;
|
|
13
|
+
}): number;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ListItemLayoutConfig } from '../../../types/renderers';
|
|
3
|
+
import { ListColumnSlots } from './listConfig';
|
|
4
|
+
import { ListFontSizes } from '../ListRenderers';
|
|
5
|
+
|
|
6
|
+
export interface ListItemTemplateContext {
|
|
7
|
+
item: Record<string, unknown>;
|
|
8
|
+
index: number;
|
|
9
|
+
rowId: string | number;
|
|
10
|
+
slots: ListColumnSlots;
|
|
11
|
+
itemLayoutConfig?: ListItemLayoutConfig;
|
|
12
|
+
split?: boolean;
|
|
13
|
+
isSelected?: boolean;
|
|
14
|
+
pageData: Record<string, unknown>[];
|
|
15
|
+
allData: Record<string, unknown>[];
|
|
16
|
+
selectionCheckbox?: React.ReactNode;
|
|
17
|
+
rowActions?: React.ReactNode;
|
|
18
|
+
onRowClick?: () => void;
|
|
19
|
+
/** Current/highlighted row (left border + tint). */
|
|
20
|
+
highlighted?: boolean;
|
|
21
|
+
/** Status dots node rendered before the title. */
|
|
22
|
+
statusDots?: React.ReactNode;
|
|
23
|
+
/** Current/highlight badge node rendered after the title. */
|
|
24
|
+
highlightBadge?: React.ReactNode;
|
|
25
|
+
/** Per-role content font sizes (px); falls back to readable defaults. */
|
|
26
|
+
fontSizes?: ListFontSizes;
|
|
27
|
+
/** Narrow container (real mobile + studio phone frame); hook is called in the component, not here. */
|
|
28
|
+
narrow?: boolean;
|
|
29
|
+
}
|
|
30
|
+
export declare function renderRankingListItem(ctx: ListItemTemplateContext): React.ReactNode;
|
|
31
|
+
export declare function renderProductCardListItem(ctx: ListItemTemplateContext): React.ReactNode;
|
|
32
|
+
export declare function renderProgressTaskListItem(ctx: ListItemTemplateContext): React.ReactNode;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ViewType } from '../shared/ViewToggleButton';
|
|
2
|
+
|
|
3
|
+
/** Legacy configs used `list` for the visual/card view — treat as chart view. */
|
|
4
|
+
export declare function normalizeViewType(raw: unknown): ViewType;
|
|
5
|
+
export declare function isDataViewType(viewType: ViewType): boolean;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { TableAction, NavigationItem } from '../../../types';
|
|
2
|
+
import { TableDataType } from '../../../types/renderers';
|
|
3
|
+
import { ParameterRecord } from '../../../types/parameters';
|
|
4
|
+
|
|
5
|
+
interface UseListActionsOptions {
|
|
6
|
+
onRefresh: () => void;
|
|
7
|
+
pageParams?: ParameterRecord;
|
|
8
|
+
navigationItems?: NavigationItem[];
|
|
9
|
+
}
|
|
10
|
+
export declare function useListActions({ onRefresh, pageParams, navigationItems, }: UseListActionsOptions): {
|
|
11
|
+
executeAction: (action: TableAction, record: TableDataType) => Promise<void>;
|
|
12
|
+
actionFormDialog: {
|
|
13
|
+
isOpen: boolean;
|
|
14
|
+
action: TableAction | null;
|
|
15
|
+
record: TableDataType | null;
|
|
16
|
+
};
|
|
17
|
+
closeActionForm: () => void;
|
|
18
|
+
submitActionForm: (formValues: Record<string, unknown>) => Promise<void>;
|
|
19
|
+
confirmDialog: {
|
|
20
|
+
isOpen: boolean;
|
|
21
|
+
message: string;
|
|
22
|
+
onConfirm: (() => void) | null;
|
|
23
|
+
};
|
|
24
|
+
closeConfirm: () => void;
|
|
25
|
+
taskExecuteDialog: {
|
|
26
|
+
isOpen: boolean;
|
|
27
|
+
action: TableAction | null;
|
|
28
|
+
record: TableDataType | null;
|
|
29
|
+
};
|
|
30
|
+
closeTaskExecute: () => void;
|
|
31
|
+
runDatabaseUpdate: (action: TableAction, record: TableDataType, formValues?: Record<string, unknown>) => Promise<void>;
|
|
32
|
+
runDatabaseDelete: (action: TableAction, record: TableDataType, formValues?: Record<string, unknown>) => Promise<void>;
|
|
33
|
+
runDatabaseInsert: (action: TableAction, record: TableDataType, formValues?: Record<string, unknown>) => Promise<void>;
|
|
34
|
+
runDatasetUpdate: (action: TableAction, record: TableDataType, formValues?: Record<string, unknown>) => Promise<void>;
|
|
35
|
+
runDatasetInsert: (action: TableAction, record: TableDataType, formValues?: Record<string, unknown>) => Promise<void>;
|
|
36
|
+
runDatasetDelete: (action: TableAction, record: TableDataType, formValues?: Record<string, unknown>) => Promise<void>;
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { DatabaseDataSourceConfig } from '../../../types/databaseDataSource';
|
|
2
|
+
import { EnhancedDataSource } from '../../../types/datasource';
|
|
3
|
+
import { ComponentParameterConfig } from '../../../types/parameters';
|
|
4
|
+
import { ParameterConfig } from '../../../types';
|
|
5
|
+
|
|
6
|
+
export interface UseListDataSourceOptions {
|
|
7
|
+
id?: string;
|
|
8
|
+
useMockData?: boolean;
|
|
9
|
+
mockData?: Record<string, unknown>[];
|
|
10
|
+
externalDataSource?: Record<string, unknown>[];
|
|
11
|
+
externalLoading?: boolean;
|
|
12
|
+
databaseDataSourceConfig?: DatabaseDataSourceConfig | null;
|
|
13
|
+
enhancedDataSource?: EnhancedDataSource | null;
|
|
14
|
+
parameterConfig?: ParameterConfig;
|
|
15
|
+
componentParameterConfig?: ComponentParameterConfig;
|
|
16
|
+
pageParams?: Record<string, unknown>;
|
|
17
|
+
defaultSort?: Array<{
|
|
18
|
+
field: string;
|
|
19
|
+
direction: 'asc' | 'desc';
|
|
20
|
+
}>;
|
|
21
|
+
enableSort?: boolean;
|
|
22
|
+
pageSize?: number;
|
|
23
|
+
paginationEnabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Extra flat query params merged into the datasource request (e.g. a quick-filter pill value).
|
|
26
|
+
* Changing these re-queries the datasource (server-side filtering).
|
|
27
|
+
*/
|
|
28
|
+
additionalParams?: Record<string, unknown>;
|
|
29
|
+
}
|
|
30
|
+
export declare function useListDataSource(options: UseListDataSourceOptions): {
|
|
31
|
+
data: Record<string, unknown>[];
|
|
32
|
+
allData: Record<string, unknown>[];
|
|
33
|
+
loading: boolean;
|
|
34
|
+
currentPage: number;
|
|
35
|
+
setCurrentPage: import('react').Dispatch<import('react').SetStateAction<number>>;
|
|
36
|
+
pageSize: number;
|
|
37
|
+
setPageSize: import('react').Dispatch<import('react').SetStateAction<number>>;
|
|
38
|
+
total: number;
|
|
39
|
+
sortState: {
|
|
40
|
+
field: string;
|
|
41
|
+
direction: "asc" | "desc";
|
|
42
|
+
}[];
|
|
43
|
+
setSortState: import('react').Dispatch<import('react').SetStateAction<{
|
|
44
|
+
field: string;
|
|
45
|
+
direction: "asc" | "desc";
|
|
46
|
+
}[]>>;
|
|
47
|
+
refresh: () => boolean;
|
|
48
|
+
dbPagination: {
|
|
49
|
+
total: number;
|
|
50
|
+
current_page: number;
|
|
51
|
+
total_pages: number;
|
|
52
|
+
limit: number;
|
|
53
|
+
offset: number;
|
|
54
|
+
has_more: boolean;
|
|
55
|
+
};
|
|
56
|
+
enableSort: boolean;
|
|
57
|
+
useServerPagination: boolean;
|
|
58
|
+
};
|
package/dist/components/internal/workbench/components/renderers/list/useListSelectionEmit.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ParameterConfig } from '../../../types';
|
|
2
|
+
|
|
3
|
+
interface UseListSelectionEmitOptions {
|
|
4
|
+
componentId?: string;
|
|
5
|
+
rowKey: string;
|
|
6
|
+
selectionType: 'none' | 'single' | 'multiple';
|
|
7
|
+
selectedRowIds: (string | number)[];
|
|
8
|
+
allData: Record<string, unknown>[];
|
|
9
|
+
parameterConfig?: ParameterConfig;
|
|
10
|
+
componentParameterConfig?: {
|
|
11
|
+
enableParameterReceiving?: boolean;
|
|
12
|
+
listenToParameters?: string[];
|
|
13
|
+
enableCommunication?: boolean;
|
|
14
|
+
enableEmit?: boolean;
|
|
15
|
+
triggers?: Record<string, {
|
|
16
|
+
enabled?: boolean;
|
|
17
|
+
parameters?: string[];
|
|
18
|
+
}>;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export declare function useListSelectionEmit({ componentId, rowKey, selectionType, selectedRowIds, allData, parameterConfig, componentParameterConfig, }: UseListSelectionEmitOptions): void;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { TableAction, TableActionConfig } from '../../types';
|
|
2
|
+
import { BilingualText } from '../../utils/workbenchDisplayLocale';
|
|
3
|
+
|
|
4
|
+
export type NavTileVariant = 'default' | 'compact' | 'outline';
|
|
5
|
+
/**
|
|
6
|
+
* Inclusive range for the "columns per row" property. The minimum of 1 keeps
|
|
7
|
+
* the layout single-column; the maximum of 24 matches the parent
|
|
8
|
+
* `grid-24` container used by the workbench so a tile can never exceed
|
|
9
|
+
* the surrounding grid's track count.
|
|
10
|
+
*/
|
|
11
|
+
export declare const MIN_NAV_TILE_COLUMNS = 1;
|
|
12
|
+
export declare const MAX_NAV_TILE_COLUMNS = 24;
|
|
13
|
+
/** Default column count when none is provided or the value is invalid. */
|
|
14
|
+
export declare const DEFAULT_NAV_TILE_COLUMNS = 2;
|
|
15
|
+
/** Allowed column count for a NavTile row, expressed as a numeric range. */
|
|
16
|
+
export type NavTileColumns = number;
|
|
17
|
+
export interface NavTileItem {
|
|
18
|
+
id?: string;
|
|
19
|
+
/** Plain string OR bilingual { zh, en } — resolved via resolveBilingualText at render time. */
|
|
20
|
+
title: BilingualText;
|
|
21
|
+
subtitle?: BilingualText;
|
|
22
|
+
icon?: string;
|
|
23
|
+
badge?: string;
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
targetPage?: string;
|
|
26
|
+
parameterMapping?: TableActionConfig['parameterMapping'];
|
|
27
|
+
}
|
|
28
|
+
export interface NavTileProps {
|
|
29
|
+
items?: NavTileItem[];
|
|
30
|
+
columns?: NavTileColumns;
|
|
31
|
+
gap?: number;
|
|
32
|
+
/** Uniform height (px) for each nav tile; default 110 */
|
|
33
|
+
itemHeight?: number;
|
|
34
|
+
variant?: NavTileVariant;
|
|
35
|
+
showArrow?: boolean;
|
|
36
|
+
arrowIcon?: string;
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
export declare const DEFAULT_NAV_TILE_ITEM_HEIGHT = 110;
|
|
40
|
+
export declare function normalizeNavTileItemHeight(height?: number): number;
|
|
41
|
+
export declare function normalizeNavTileColumns(columns?: number): number;
|
|
42
|
+
export declare function resolveNavTileGridClass(columns: number): string;
|
|
43
|
+
export declare function resolveNavTileVariantClass(variant?: NavTileVariant): string;
|
|
44
|
+
export declare function navTileItemToRecord(item: NavTileItem): Record<string, unknown>;
|
|
45
|
+
export declare function navTileItemToAction(item: NavTileItem, index: number): TableAction | null;
|
|
46
|
+
export declare function getVisibleNavTileItems(items?: NavTileItem[]): NavTileItem[];
|
package/dist/components/internal/workbench/components/renderers/product/productCellRender.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ReportColumn, ReportValueFormat, CardLayoutConfig } from '../../../types/productReport';
|
|
3
|
+
|
|
4
|
+
type Row = Record<string, unknown>;
|
|
5
|
+
/** Resolve a locale-aware field: row[base_zh|base_en] → row[base]. */
|
|
6
|
+
export declare function resolveFieldByLang(row: Row, base: string, language: string): string;
|
|
7
|
+
/** Shared value formatting (summary cards + table cells). */
|
|
8
|
+
export declare function formatReportValue(raw: unknown, format: ReportValueFormat | undefined, currency?: unknown): string;
|
|
9
|
+
export declare function ProductThumb({ url, light, className, }: {
|
|
10
|
+
url?: string;
|
|
11
|
+
bg?: string;
|
|
12
|
+
light?: boolean;
|
|
13
|
+
className?: string;
|
|
14
|
+
}): React.JSX.Element;
|
|
15
|
+
/** Render a single table cell from its ReportColumn config + row. */
|
|
16
|
+
export declare function renderReportCell(col: ReportColumn, row: Row, language: string): React.ReactNode;
|
|
17
|
+
/** A configurable list-card: banner thumbnail + header rows beside it, body rows below. */
|
|
18
|
+
export declare function ReportCard({ layout, row, language, onClick, hiddenFields }: {
|
|
19
|
+
layout: CardLayoutConfig;
|
|
20
|
+
row: Row;
|
|
21
|
+
language: string;
|
|
22
|
+
onClick?: () => void;
|
|
23
|
+
hiddenFields?: Set<string>;
|
|
24
|
+
}): React.JSX.Element;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure state helpers for PublishHistoryRenderer — kept free of React/i18n/api
|
|
3
|
+
* imports so the pagination reducer can be unit-tested in isolation.
|
|
4
|
+
*
|
|
5
|
+
* The API (`GET /workbenches/:id/publish-history`) already strips the
|
|
6
|
+
* '[publish]' description prefix and returns metadata only, so no
|
|
7
|
+
* description mapping happens client-side.
|
|
8
|
+
*/
|
|
9
|
+
export interface PublishHistoryItem {
|
|
10
|
+
version: string;
|
|
11
|
+
description: string;
|
|
12
|
+
publishedByName: string;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
}
|
|
15
|
+
export interface PublishHistoryState {
|
|
16
|
+
items: PublishHistoryItem[];
|
|
17
|
+
total: number;
|
|
18
|
+
/** Initial / replace fetch in flight (offset 0). */
|
|
19
|
+
loading: boolean;
|
|
20
|
+
/** "Load more" append fetch in flight (offset > 0). */
|
|
21
|
+
loadingMore: boolean;
|
|
22
|
+
error: string | null;
|
|
23
|
+
}
|
|
24
|
+
export type PublishHistoryAction = {
|
|
25
|
+
type: 'reset';
|
|
26
|
+
} | {
|
|
27
|
+
type: 'load-start';
|
|
28
|
+
append: boolean;
|
|
29
|
+
} | {
|
|
30
|
+
type: 'load-success';
|
|
31
|
+
items: PublishHistoryItem[];
|
|
32
|
+
total: number;
|
|
33
|
+
offset: number;
|
|
34
|
+
} | {
|
|
35
|
+
type: 'load-error';
|
|
36
|
+
message: string;
|
|
37
|
+
};
|
|
38
|
+
export declare const createInitialPublishHistoryState: () => PublishHistoryState;
|
|
39
|
+
export declare function publishHistoryReducer(state: PublishHistoryState, action: PublishHistoryAction): PublishHistoryState;
|
|
40
|
+
/** 'v18'-style badge text: prefix a lowercase v unless the version already has one. */
|
|
41
|
+
export declare function formatVersionBadge(version: string): string;
|