@cjlapao/ui-kit-vue 0.2.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 +61 -0
- package/dist/index.cjs +33 -0
- package/dist/index.css +21952 -0
- package/dist/index.js +23520 -0
- package/dist/types/common/theme/ButtonTypes.d.ts +4 -0
- package/dist/types/common/theme/Theme.d.ts +162 -0
- package/dist/types/common/theme/glass.d.ts +59 -0
- package/dist/types/common/theme/randomThemeColor.d.ts +38 -0
- package/dist/types/common/types/App.d.ts +18 -0
- package/dist/types/common/types/CapsuleBlueprint.d.ts +25 -0
- package/dist/types/common/types/Variables.d.ts +11 -0
- package/dist/types/common/utils/bytesUtils.d.ts +50 -0
- package/dist/types/common/utils/dependencyUtils.d.ts +35 -0
- package/dist/types/common/utils/durationUtils.d.ts +49 -0
- package/dist/types/common/utils/focusUtils.d.ts +27 -0
- package/dist/types/common/utils/gravatar.d.ts +11 -0
- package/dist/types/common/utils/iconUtils.d.ts +4 -0
- package/dist/types/common/utils/smartVariables.d.ts +23 -0
- package/dist/types/common/utils/stringUtils.d.ts +7 -0
- package/dist/types/react/src/components/TreeView/toneColors.d.ts +14 -0
- package/dist/types/react/src/theme/Theme.d.ts +1 -0
- package/dist/types/vue/src/components/AccessMatrix.vue.d.ts +38 -0
- package/dist/types/vue/src/components/Accordion.vue.d.ts +63 -0
- package/dist/types/vue/src/components/Alert.vue.d.ts +31 -0
- package/dist/types/vue/src/components/ApiErrorState.vue.d.ts +27 -0
- package/dist/types/vue/src/components/AppDivider.vue.d.ts +10 -0
- package/dist/types/vue/src/components/Badge.vue.d.ts +27 -0
- package/dist/types/vue/src/components/BadgeIcon.vue.d.ts +52 -0
- package/dist/types/vue/src/components/Button.test.d.ts +1 -0
- package/dist/types/vue/src/components/Button.vue.d.ts +65 -0
- package/dist/types/vue/src/components/ButtonSelector.vue.d.ts +44 -0
- package/dist/types/vue/src/components/Checkbox.vue.d.ts +71 -0
- package/dist/types/vue/src/components/CollapsibleHelpText.vue.d.ts +29 -0
- package/dist/types/vue/src/components/CollapsiblePanel.vue.d.ts +50 -0
- package/dist/types/vue/src/components/Combobox.vue.d.ts +23 -0
- package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlow.vue.d.ts +27 -0
- package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowColumn.vue.d.ts +45 -0
- package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowConnector.vue.d.ts +103 -0
- package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowParallelGroup.vue.d.ts +17 -0
- package/dist/types/vue/src/components/ConnectionFlow/index.d.ts +5 -0
- package/dist/types/vue/src/components/ConnectionFlow/types.d.ts +220 -0
- package/dist/types/vue/src/components/CustomIcon.vue.d.ts +24 -0
- package/dist/types/vue/src/components/DetailItemCard.vue.d.ts +25 -0
- package/dist/types/vue/src/components/DropdownButton.vue.d.ts +45 -0
- package/dist/types/vue/src/components/DropdownMenu.vue.d.ts +33 -0
- package/dist/types/vue/src/components/DynamicFormField.vue.d.ts +16 -0
- package/dist/types/vue/src/components/DynamicImg.vue.d.ts +11 -0
- package/dist/types/vue/src/components/EmptyState.vue.d.ts +53 -0
- package/dist/types/vue/src/components/FormField.vue.d.ts +43 -0
- package/dist/types/vue/src/components/FormLayout.vue.d.ts +20 -0
- package/dist/types/vue/src/components/FormSection.vue.d.ts +23 -0
- package/dist/types/vue/src/components/GlassBackground.vue.d.ts +51 -0
- package/dist/types/vue/src/components/GlassPanel.vue.d.ts +24 -0
- package/dist/types/vue/src/components/HeaderGroup.vue.d.ts +11 -0
- package/dist/types/vue/src/components/HelpButton.vue.d.ts +44 -0
- package/dist/types/vue/src/components/Hero.vue.d.ts +51 -0
- package/dist/types/vue/src/components/IconButton.test.d.ts +1 -0
- package/dist/types/vue/src/components/IconButton.vue.d.ts +51 -0
- package/dist/types/vue/src/components/InfiniteScrollPanel.vue.d.ts +41 -0
- package/dist/types/vue/src/components/InfoRow.vue.d.ts +113 -0
- package/dist/types/vue/src/components/InlinePanel.vue.d.ts +269 -0
- package/dist/types/vue/src/components/Input.vue.d.ts +39 -0
- package/dist/types/vue/src/components/InputGroup.vue.d.ts +27 -0
- package/dist/types/vue/src/components/KeyValueArrayField.vue.d.ts +21 -0
- package/dist/types/vue/src/components/Loader.vue.d.ts +39 -0
- package/dist/types/vue/src/components/MarkdownEditor.vue.d.ts +39 -0
- package/dist/types/vue/src/components/MetricBar.vue.d.ts +14 -0
- package/dist/types/vue/src/components/Modal.vue.d.ts +369 -0
- package/dist/types/vue/src/components/MultiProgressBar.vue.d.ts +30 -0
- package/dist/types/vue/src/components/MultiSelectPills.vue.d.ts +85 -0
- package/dist/types/vue/src/components/MultiToggle.vue.d.ts +49 -0
- package/dist/types/vue/src/components/NotificationModal.vue.d.ts +29 -0
- package/dist/types/vue/src/components/PagedPanel.vue.d.ts +41 -0
- package/dist/types/vue/src/components/Panel.vue.d.ts +151 -0
- package/dist/types/vue/src/components/PasswordInput.vue.d.ts +6 -0
- package/dist/types/vue/src/components/Picker.vue.d.ts +84 -0
- package/dist/types/vue/src/components/Pill.vue.d.ts +30 -0
- package/dist/types/vue/src/components/Progress.vue.d.ts +29 -0
- package/dist/types/vue/src/components/SearchBar.vue.d.ts +51 -0
- package/dist/types/vue/src/components/Section.vue.d.ts +72 -0
- package/dist/types/vue/src/components/SectionCard.vue.d.ts +35 -0
- package/dist/types/vue/src/components/Select.vue.d.ts +41 -0
- package/dist/types/vue/src/components/SideMenu.vue.d.ts +119 -0
- package/dist/types/vue/src/components/SideMenuLayout.vue.d.ts +31 -0
- package/dist/types/vue/src/components/SidePanel.vue.d.ts +56 -0
- package/dist/types/vue/src/components/SmartGridLayout.vue.d.ts +69 -0
- package/dist/types/vue/src/components/SmartInput.vue.d.ts +26 -0
- package/dist/types/vue/src/components/SmartValue.vue.d.ts +20 -0
- package/dist/types/vue/src/components/Spinner.vue.d.ts +21 -0
- package/dist/types/vue/src/components/SplitView.vue.d.ts +224 -0
- package/dist/types/vue/src/components/StartupStageStepper.vue.d.ts +25 -0
- package/dist/types/vue/src/components/StatChartTile.vue.d.ts +28 -0
- package/dist/types/vue/src/components/StatCountTile.vue.d.ts +44 -0
- package/dist/types/vue/src/components/StatGoalTile.vue.d.ts +25 -0
- package/dist/types/vue/src/components/StatGraphTile.vue.d.ts +52 -0
- package/dist/types/vue/src/components/StatTile.vue.d.ts +69 -0
- package/dist/types/vue/src/components/StatusSpinner.vue.d.ts +17 -0
- package/dist/types/vue/src/components/Stepper.vue.d.ts +84 -0
- package/dist/types/vue/src/components/Table.vue.d.ts +245 -0
- package/dist/types/vue/src/components/Tabs.vue.d.ts +74 -0
- package/dist/types/vue/src/components/TagPanel.vue.d.ts +61 -0
- package/dist/types/vue/src/components/TagPicker.vue.d.ts +93 -0
- package/dist/types/vue/src/components/Textarea.vue.d.ts +26 -0
- package/dist/types/vue/src/components/TimelinePanel/TimelinePanel.vue.d.ts +23 -0
- package/dist/types/vue/src/components/TimelinePanel/index.d.ts +2 -0
- package/dist/types/vue/src/components/TimelinePanel/types.d.ts +83 -0
- package/dist/types/vue/src/components/Toggle.test.d.ts +1 -0
- package/dist/types/vue/src/components/Toggle.vue.d.ts +68 -0
- package/dist/types/vue/src/components/Tooltip.vue.d.ts +25 -0
- package/dist/types/vue/src/components/TooltipWrapper.vue.d.ts +14 -0
- package/dist/types/vue/src/components/TreeView/TreeFlowSvg.vue.d.ts +23 -0
- package/dist/types/vue/src/components/TreeView/TreeItemCard.vue.d.ts +44 -0
- package/dist/types/vue/src/components/TreeView/TreeItemRow.vue.d.ts +27 -0
- package/dist/types/vue/src/components/TreeView/TreeLevel.vue.d.ts +16 -0
- package/dist/types/vue/src/components/TreeView/TreeView.vue.d.ts +39 -0
- package/dist/types/vue/src/components/TreeView/index.d.ts +5 -0
- package/dist/types/vue/src/components/TreeView/toneColors.d.ts +1 -0
- package/dist/types/vue/src/components/TreeView/types.d.ts +135 -0
- package/dist/types/vue/src/components/TruncatedText.vue.d.ts +24 -0
- package/dist/types/vue/src/components/UserAvatar.vue.d.ts +16 -0
- package/dist/types/vue/src/components/VariablePicker.vue.d.ts +14 -0
- package/dist/types/vue/src/components/index.d.ts +79 -0
- package/dist/types/vue/src/components/internal/VNodeRenderer.d.ts +21 -0
- package/dist/types/vue/src/composables/index.d.ts +4 -0
- package/dist/types/vue/src/composables/useAccordion.d.ts +21 -0
- package/dist/types/vue/src/composables/useResizable.d.ts +34 -0
- package/dist/types/vue/src/composables/useStepper.d.ts +29 -0
- package/dist/types/vue/src/composables/useTheme.d.ts +24 -0
- package/dist/types/vue/src/contexts/BottomSheetContext.d.ts +15 -0
- package/dist/types/vue/src/contexts/IconContext.d.ts +33 -0
- package/dist/types/vue/src/contexts/SideMenuActionsContext.d.ts +46 -0
- package/dist/types/vue/src/contexts/index.d.ts +2 -0
- package/dist/types/vue/src/icons/components/Add.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Apple.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ArrowChevronLeft.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ArrowChevronRight.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ArrowDown.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ArrowLeft.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ArrowRight.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ArrowUp.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Artifactory.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Attached.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Attachment.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Aws.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Azure.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Back.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Blueprint.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Bug.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Cache.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Calendar.d.ts +3 -0
- package/dist/types/vue/src/icons/components/CatalogManifest.d.ts +3 -0
- package/dist/types/vue/src/icons/components/CatalogVersion.d.ts +3 -0
- package/dist/types/vue/src/icons/components/CentOS.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Chat.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Check.d.ts +3 -0
- package/dist/types/vue/src/icons/components/CheckCircle.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ChevronLeft.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ChevronRight.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Claim.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Claims.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Clean.d.ts +3 -0
- package/dist/types/vue/src/icons/components/CleanBrush.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Clone.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Close.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Close1.d.ts +3 -0
- package/dist/types/vue/src/icons/components/CloudOff.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Cog.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Complete.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Container.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Copy.d.ts +3 -0
- package/dist/types/vue/src/icons/components/CopyClipboard.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Dashboard.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Database.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Debian.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Details.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Docker.d.ts +3 -0
- package/dist/types/vue/src/icons/components/DockerCopy.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Dots.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Download.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Drag.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Edit.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Equal.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Error.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Export.d.ts +3 -0
- package/dist/types/vue/src/icons/components/EyeClosed.d.ts +3 -0
- package/dist/types/vue/src/icons/components/EyeOpen.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Fedora.d.ts +3 -0
- package/dist/types/vue/src/icons/components/File.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Folder.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Globe.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Group.d.ts +3 -0
- package/dist/types/vue/src/icons/components/HealthCheck.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Help.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Host.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Idea.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Image.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Info.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Jobs.d.ts +3 -0
- package/dist/types/vue/src/icons/components/KaliLinux.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Key.d.ts +3 -0
- package/dist/types/vue/src/icons/components/KeyManagement.d.ts +3 -0
- package/dist/types/vue/src/icons/components/LXC.d.ts +3 -0
- package/dist/types/vue/src/icons/components/LXCOld.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Library.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Live.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Log.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Login.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Logout.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Minio.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Moon.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Notification.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Official.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Offline.d.ts +3 -0
- package/dist/types/vue/src/icons/components/OpenApp.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Orchestrator.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Parameter.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Pause.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Pin.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Podman.d.ts +3 -0
- package/dist/types/vue/src/icons/components/PodmanDesktop.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Praise.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Pull.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Push.d.ts +3 -0
- package/dist/types/vue/src/icons/components/RedHat.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Refresh.d.ts +3 -0
- package/dist/types/vue/src/icons/components/RemoteHost.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReportFeedback.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Reset.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Restart.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxy.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyCORS.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyFrom.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyHTTP.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyHeadersRequest.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyHeadersResponse.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyRoutes.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyTCP.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyTLS.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxyTo.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ReverseProxy_Old.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Revert.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Revoke.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Rocket.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Role.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Roles.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Run.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Save.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Scale.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Script.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Search.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Send.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Settings.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Shop.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Snapshot.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Star.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Stop.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Sun.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Suspend.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Taint.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ThemeAuto.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ThemeDark.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ThemeLight.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Trash.d.ts +3 -0
- package/dist/types/vue/src/icons/components/UX.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Ubuntu.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Unlock.d.ts +3 -0
- package/dist/types/vue/src/icons/components/User.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Users.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Verified.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ViewGrid.d.ts +3 -0
- package/dist/types/vue/src/icons/components/ViewRows.d.ts +3 -0
- package/dist/types/vue/src/icons/components/VirtualMachine.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Warning.d.ts +3 -0
- package/dist/types/vue/src/icons/components/Windows.d.ts +3 -0
- package/dist/types/vue/src/icons/index.d.ts +140 -0
- package/dist/types/vue/src/icons/registry.d.ts +3 -0
- package/dist/types/vue/src/index.d.ts +16 -0
- package/dist/types/vue/src/test-setup.d.ts +0 -0
- package/dist/types/vue/src/theme/ButtonTypes.d.ts +1 -0
- package/dist/types/vue/src/theme/Theme.d.ts +1 -0
- package/dist/types/vue/src/theme/glass.d.ts +1 -0
- package/dist/types/vue/src/theme/index.d.ts +3 -0
- package/dist/types/vue/src/theme/randomThemeColor.d.ts +1 -0
- package/dist/types/vue/src/types/App.d.ts +1 -0
- package/dist/types/vue/src/types/BottomSheetContext.d.ts +22 -0
- package/dist/types/vue/src/types/CapsuleBlueprint.d.ts +1 -0
- package/dist/types/vue/src/types/Icon.d.ts +15 -0
- package/dist/types/vue/src/types/Toast.d.ts +38 -0
- package/dist/types/vue/src/types/Variables.d.ts +1 -0
- package/dist/types/vue/src/types/index.d.ts +6 -0
- package/dist/types/vue/src/utils/attrsUtils.d.ts +15 -0
- package/dist/types/vue/src/utils/bytesUtils.d.ts +1 -0
- package/dist/types/vue/src/utils/dependencyUtils.d.ts +1 -0
- package/dist/types/vue/src/utils/durationUtils.d.ts +1 -0
- package/dist/types/vue/src/utils/focusUtils.d.ts +1 -0
- package/dist/types/vue/src/utils/gravatar.d.ts +1 -0
- package/dist/types/vue/src/utils/iconUtils.d.ts +1 -0
- package/dist/types/vue/src/utils/index.d.ts +10 -0
- package/dist/types/vue/src/utils/renderIcon.d.ts +2 -0
- package/dist/types/vue/src/utils/smartVariables.d.ts +1 -0
- package/dist/types/vue/src/utils/stringUtils.d.ts +1 -0
- package/dist/types/vue/src/utils/toastUtils.d.ts +2 -0
- package/dist/ui-kit-vue.css +1 -0
- package/package.json +66 -0
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import type { VNodeChild } from "vue";
|
|
2
|
+
import type { TreeTone } from "../TreeView/types";
|
|
3
|
+
export type ConnectionState = "flowing" | "stopped" | "disabled";
|
|
4
|
+
export interface ConnectionFlowConnectorConfig {
|
|
5
|
+
/** Active flow state for this connector */
|
|
6
|
+
state?: ConnectionState;
|
|
7
|
+
/** Optional React element to render in the middle (e.g. an icon) */
|
|
8
|
+
icon?: VNodeChild;
|
|
9
|
+
/** Width of the connector band in px (default: 56) */
|
|
10
|
+
width?: number;
|
|
11
|
+
/** Whether to animate the flowing dots (default: true) */
|
|
12
|
+
animated?: boolean;
|
|
13
|
+
/** target px per dot cycle (default: 60) */
|
|
14
|
+
dotSpacing?: number;
|
|
15
|
+
/** Connector ring border width (default: 'xs') */
|
|
16
|
+
borderSize?: "fit" | "xs" | "sm" | "md" | "lg";
|
|
17
|
+
/** Whether to draw half-rings (default: true) */
|
|
18
|
+
halfRing?: boolean;
|
|
19
|
+
/** Show the horizontal line between rings (default: true) */
|
|
20
|
+
showLine?: boolean;
|
|
21
|
+
/** Override — force the source-side ring tone instead of inheriting from source item */
|
|
22
|
+
sourceTone?: TreeTone;
|
|
23
|
+
/** Override — force the target-side ring tone instead of inheriting from this item */
|
|
24
|
+
targetTone?: TreeTone;
|
|
25
|
+
/** Source ring background fill color (CSS string, e.g. '#22c55e' or 'rgba(...)') */
|
|
26
|
+
sourceFill?: string;
|
|
27
|
+
/** Source ring stroke/border color */
|
|
28
|
+
sourceBorder?: string;
|
|
29
|
+
/** Source ring center dot color */
|
|
30
|
+
sourceDot?: string;
|
|
31
|
+
/** Target ring background fill color */
|
|
32
|
+
targetFill?: string;
|
|
33
|
+
/** Target ring stroke/border color */
|
|
34
|
+
targetBorder?: string;
|
|
35
|
+
/** Target ring center dot color */
|
|
36
|
+
targetDot?: string;
|
|
37
|
+
/** Animated dot color (overrides what is derived from targetTone) */
|
|
38
|
+
dotColor?: string;
|
|
39
|
+
/**
|
|
40
|
+
* When true, flowing dots are shown even when this connector's state is `'stopped'`
|
|
41
|
+
* (i.e. already-traversed / completed edges also animate).
|
|
42
|
+
* Default: false
|
|
43
|
+
*/
|
|
44
|
+
animateCompleted?: boolean;
|
|
45
|
+
}
|
|
46
|
+
export interface ConnectionFlowItem {
|
|
47
|
+
id: string;
|
|
48
|
+
icon?: VNodeChild;
|
|
49
|
+
iconClassName?: string;
|
|
50
|
+
title?: VNodeChild;
|
|
51
|
+
titleClassName?: string;
|
|
52
|
+
/** When true, the card title wraps on word boundaries up to 10 lines instead of truncating. Default: false */
|
|
53
|
+
titleWrap?: boolean;
|
|
54
|
+
/** When true, the card title stays on one line and scrolls horizontally. Default: false */
|
|
55
|
+
titleScroll?: boolean;
|
|
56
|
+
subtitle?: VNodeChild;
|
|
57
|
+
subtitleClassName?: string;
|
|
58
|
+
description?: VNodeChild;
|
|
59
|
+
descriptionClassName?: string;
|
|
60
|
+
/** Optional badge/status slot rendered below description, without tone-derived text styling. */
|
|
61
|
+
badge?: VNodeChild;
|
|
62
|
+
tone?: TreeTone;
|
|
63
|
+
body?: VNodeChild;
|
|
64
|
+
defaultExpanded?: boolean;
|
|
65
|
+
actions?: VNodeChild;
|
|
66
|
+
hoverActions?: VNodeChild;
|
|
67
|
+
/**
|
|
68
|
+
* Connector config for the edge leading INTO this item.
|
|
69
|
+
* If not provided, inherits from the ConnectionFlow's default state.
|
|
70
|
+
* Ignored for the first item (it has no predecessor).
|
|
71
|
+
*/
|
|
72
|
+
connector?: ConnectionFlowConnectorConfig;
|
|
73
|
+
/**
|
|
74
|
+
* Children render vertically below this item's card using TreeView-style
|
|
75
|
+
* SVG connectors. The connector between this item and the next sibling
|
|
76
|
+
* spans the full column height (parent + children).
|
|
77
|
+
*/
|
|
78
|
+
children?: ConnectionFlowItem[];
|
|
79
|
+
/**
|
|
80
|
+
* When true, this item has NO right-side connector to the next sibling
|
|
81
|
+
* (it terminates the horizontal flow after itself).
|
|
82
|
+
* Default: false
|
|
83
|
+
*/
|
|
84
|
+
terminal?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Active state — drives the vertical sub-tree dot animation color.
|
|
87
|
+
* Default: false
|
|
88
|
+
*/
|
|
89
|
+
active?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* When true, this item is part of a parallel group. Consecutive items with
|
|
92
|
+
* parallel=true are rendered as a single vertical column instead of separate
|
|
93
|
+
* horizontal nodes. Fan-out (1→N) and fan-in (N→1) connectors are added automatically.
|
|
94
|
+
* Default: false
|
|
95
|
+
*/
|
|
96
|
+
parallel?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* When true, the card shows a subtle hover lift effect (shadow + translate-y).
|
|
99
|
+
* Default: false
|
|
100
|
+
*/
|
|
101
|
+
hoverable?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* When true, overlays a pulsing background animation on the card (uses the item's tone).
|
|
104
|
+
* Typically combined with `active: true` to indicate in-progress steps.
|
|
105
|
+
* Default: false
|
|
106
|
+
*/
|
|
107
|
+
activePulse?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* When true, this step was skipped — the execution flow bypassed it.
|
|
110
|
+
* A visual bypass arc is drawn from the last non-skipped predecessor to the
|
|
111
|
+
* first non-skipped successor, arching over all consecutive skipped items.
|
|
112
|
+
* Default: false
|
|
113
|
+
*/
|
|
114
|
+
skipped?: boolean;
|
|
115
|
+
}
|
|
116
|
+
export interface ConnectionFlowProps {
|
|
117
|
+
/** The nodes to render horizontally */
|
|
118
|
+
items: ConnectionFlowItem[];
|
|
119
|
+
/**
|
|
120
|
+
* Fallback state applied to any connector that doesn't have its own `state`.
|
|
121
|
+
* Default: 'flowing'
|
|
122
|
+
*/
|
|
123
|
+
flowState?: ConnectionState;
|
|
124
|
+
/**
|
|
125
|
+
* Fallback icon shown in the middle of connectors (overridden per-item).
|
|
126
|
+
*/
|
|
127
|
+
flowIcon?: VNodeChild;
|
|
128
|
+
/**
|
|
129
|
+
* Fallback connector width in px.
|
|
130
|
+
* Default: 56
|
|
131
|
+
*/
|
|
132
|
+
connectorWidth?: number;
|
|
133
|
+
/**
|
|
134
|
+
* Whether flowing-dot animation is enabled globally.
|
|
135
|
+
* Default: true
|
|
136
|
+
*/
|
|
137
|
+
animated?: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Target px between dots globally.
|
|
140
|
+
* Default: 60
|
|
141
|
+
*/
|
|
142
|
+
dotSpacing?: number;
|
|
143
|
+
/**
|
|
144
|
+
* Ring border size globally.
|
|
145
|
+
* Default: 'xs'
|
|
146
|
+
*/
|
|
147
|
+
connectorBorderSize?: "fit" | "xs" | "sm" | "md" | "lg";
|
|
148
|
+
/**
|
|
149
|
+
* Draw half-rings (matching TreeView half-connector style).
|
|
150
|
+
* Default: true
|
|
151
|
+
*/
|
|
152
|
+
connectorHalf?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Show the horizontal line between connectors.
|
|
155
|
+
* Default: true
|
|
156
|
+
*/
|
|
157
|
+
showLine?: boolean;
|
|
158
|
+
/** Indent size for children sub-trees. Default: 'xs' */
|
|
159
|
+
childIndent?: "xs" | "sm" | "md" | "lg";
|
|
160
|
+
/** Row gap in px between children. Default: 8 */
|
|
161
|
+
childRowGap?: number;
|
|
162
|
+
/**
|
|
163
|
+
* If true, allows the flow to scroll horizontally/vertically if the container is smaller than the flow.
|
|
164
|
+
* Default: false
|
|
165
|
+
*/
|
|
166
|
+
allowScroll?: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Set a fixed width for all items in the flow (e.g. 250, '300px').
|
|
169
|
+
* Primarily useful when `allowScroll` is enabled.
|
|
170
|
+
*/
|
|
171
|
+
itemWidth?: number | string;
|
|
172
|
+
/**
|
|
173
|
+
* When true, automatically scales the entire flow down to fit the container width.
|
|
174
|
+
* Once the scale would go below `minScale`, the flow is clamped and allowed to scroll.
|
|
175
|
+
* Default: false
|
|
176
|
+
*/
|
|
177
|
+
autoScale?: boolean;
|
|
178
|
+
/**
|
|
179
|
+
* Minimum CSS scale factor applied when `autoScale` is true.
|
|
180
|
+
* Below this value the flow falls back to horizontal scroll instead of shrinking further.
|
|
181
|
+
* Default: 0.55
|
|
182
|
+
*/
|
|
183
|
+
minScale?: number;
|
|
184
|
+
/** Extra content to render to the right of the entire flow (e.g. an expand toggle) */
|
|
185
|
+
rightAction?: VNodeChild;
|
|
186
|
+
/**
|
|
187
|
+
* When true, connectors stretch to fill all remaining width instead of using a fixed
|
|
188
|
+
* pixel size. Card columns collapse to their natural content width. The connector icon
|
|
189
|
+
* is always positioned at the exact midpoint of the expanded connector.
|
|
190
|
+
* Default: false
|
|
191
|
+
*/
|
|
192
|
+
fullWidthConnectors?: boolean;
|
|
193
|
+
/**
|
|
194
|
+
* When true, all cards in the flow show a hover lift effect.
|
|
195
|
+
* Default: false
|
|
196
|
+
*/
|
|
197
|
+
hoverable?: boolean;
|
|
198
|
+
/**
|
|
199
|
+
* When true, flowing dots are rendered on `'stopped'` (completed / already-traversed)
|
|
200
|
+
* connectors in addition to `'flowing'` ones. Bypass arcs over skipped steps always
|
|
201
|
+
* animate when `animated` is true, regardless of this flag.
|
|
202
|
+
* Default: false
|
|
203
|
+
*/
|
|
204
|
+
animateCompleted?: boolean;
|
|
205
|
+
/**
|
|
206
|
+
* When true, the engine automatically manages connector states and skipped detection
|
|
207
|
+
* based purely on each item's `tone`:
|
|
208
|
+
*
|
|
209
|
+
* - **Connector state** (when no explicit `connector.state` is set):
|
|
210
|
+
* - Non-neutral source tone → `'stopped'` (solid toned line — step was traversed)
|
|
211
|
+
* - Neutral source tone → `'disabled'` (dashed gray — step not yet reached)
|
|
212
|
+
*
|
|
213
|
+
* - **Skipped detection**: a neutral-tone item that has at least one non-neutral
|
|
214
|
+
* successor is automatically treated as skipped — a bypass arc is drawn over it.
|
|
215
|
+
*
|
|
216
|
+
* Explicit per-item `connector.state` or `item.skipped` values always take precedence.
|
|
217
|
+
* Default: false
|
|
218
|
+
*/
|
|
219
|
+
autoConnectorState?: boolean;
|
|
220
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type IconName } from "../icons/registry";
|
|
2
|
+
import type { IconSize } from "../types/Icon";
|
|
3
|
+
export interface CustomIconProps {
|
|
4
|
+
/** Name of the icon to display */
|
|
5
|
+
icon: IconName;
|
|
6
|
+
/** Alternative text for accessibility */
|
|
7
|
+
alt?: string;
|
|
8
|
+
/** Size of the icon in pixels */
|
|
9
|
+
customSize?: number | string;
|
|
10
|
+
/** Size of the icon: xs, sm, md, lg, xl */
|
|
11
|
+
size?: IconSize;
|
|
12
|
+
/** Whether the icon should use color or be monochrome */
|
|
13
|
+
colored?: boolean;
|
|
14
|
+
/** Primary color to use for the icon */
|
|
15
|
+
color?: string;
|
|
16
|
+
/** Hover color for the icon */
|
|
17
|
+
hoverColor?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const _default: import("vue").DefineComponent<CustomIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CustomIconProps> & Readonly<{}>, {
|
|
20
|
+
size: IconSize;
|
|
21
|
+
alt: string;
|
|
22
|
+
colored: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface DetailItemCardProps {
|
|
2
|
+
title: string;
|
|
3
|
+
subtitle?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
defaultExpanded?: boolean;
|
|
6
|
+
badgesAlignment?: "bottom" | "right" | "bottom-end";
|
|
7
|
+
}
|
|
8
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DetailItemCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DetailItemCardProps> & Readonly<{}>, {
|
|
9
|
+
defaultExpanded: boolean;
|
|
10
|
+
badgesAlignment: "bottom" | "right" | "bottom-end";
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
12
|
+
badges?: (props: {}) => any;
|
|
13
|
+
} & {
|
|
14
|
+
badges?: (props: {}) => any;
|
|
15
|
+
} & {
|
|
16
|
+
badges?: (props: {}) => any;
|
|
17
|
+
} & {
|
|
18
|
+
default?: (props: {}) => any;
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { ButtonProps, ButtonSize } from "./Button.vue";
|
|
2
|
+
import type { DropdownMenuOption } from "./DropdownMenu.vue";
|
|
3
|
+
export interface DropdownButtonOption extends DropdownMenuOption {
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
export interface DropdownButtonProps extends Omit<ButtonProps, "leadingIcon" | "trailingIcon" | "iconOnly" | "fullWidth"> {
|
|
7
|
+
label?: string;
|
|
8
|
+
options: DropdownButtonOption[];
|
|
9
|
+
dropdownIcon?: ButtonProps["leadingIcon"];
|
|
10
|
+
fullWidth?: boolean;
|
|
11
|
+
split?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Hide the dropdown caret trigger when there are no menu options.
|
|
14
|
+
* Defaults to true so empty split buttons render as a single clean button.
|
|
15
|
+
*/
|
|
16
|
+
hideDropdownTriggerWhenEmpty?: boolean;
|
|
17
|
+
menuWidth?: number | "trigger";
|
|
18
|
+
menuClassName?: string;
|
|
19
|
+
}
|
|
20
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DropdownButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
primaryClick: (event: MouseEvent) => any;
|
|
22
|
+
optionSelect: (option: DropdownButtonOption) => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<DropdownButtonProps> & Readonly<{
|
|
24
|
+
onPrimaryClick?: ((event: MouseEvent) => any) | undefined;
|
|
25
|
+
onOptionSelect?: ((option: DropdownButtonOption) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
color: import("..").TrueColor;
|
|
28
|
+
variant: import("./Button.vue").ButtonVariant;
|
|
29
|
+
split: boolean;
|
|
30
|
+
size: ButtonSize;
|
|
31
|
+
fullWidth: boolean;
|
|
32
|
+
dropdownIcon: string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}>;
|
|
35
|
+
hideDropdownTriggerWhenEmpty: boolean;
|
|
36
|
+
menuWidth: number | "trigger";
|
|
37
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
38
|
+
default?: (props: {}) => any;
|
|
39
|
+
}>;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { Ref, VNode } from "vue";
|
|
2
|
+
export interface DropdownMenuOption {
|
|
3
|
+
label: string | VNode;
|
|
4
|
+
value: string;
|
|
5
|
+
description?: string | VNode;
|
|
6
|
+
icon?: string | VNode;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
danger?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface DropdownMenuProps {
|
|
11
|
+
/** Anchor element (or a template ref holding it) the menu is positioned against. */
|
|
12
|
+
anchorRef: HTMLElement | Ref<HTMLElement | null> | null;
|
|
13
|
+
open: boolean;
|
|
14
|
+
items: DropdownMenuOption[];
|
|
15
|
+
align?: "start" | "end";
|
|
16
|
+
side?: "auto" | "top" | "bottom";
|
|
17
|
+
width?: number | "trigger";
|
|
18
|
+
maxHeight?: number;
|
|
19
|
+
itemClassName?: string;
|
|
20
|
+
}
|
|
21
|
+
declare const _default: import("vue").DefineComponent<DropdownMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
select: (item: DropdownMenuOption) => any;
|
|
23
|
+
close: () => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<DropdownMenuProps> & Readonly<{
|
|
25
|
+
onSelect?: ((item: DropdownMenuOption) => any) | undefined;
|
|
26
|
+
onClose?: (() => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
width: number | "trigger";
|
|
29
|
+
align: "start" | "end";
|
|
30
|
+
side: "auto" | "top" | "bottom";
|
|
31
|
+
maxHeight: number;
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { CapsuleBlueprintParameter } from "../types/CapsuleBlueprint";
|
|
2
|
+
type DynamicValue = string | boolean;
|
|
3
|
+
export interface DynamicFormFieldProps {
|
|
4
|
+
parameter: CapsuleBlueprintParameter;
|
|
5
|
+
value: DynamicValue;
|
|
6
|
+
error?: string;
|
|
7
|
+
isVisible?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("vue").DefineComponent<DynamicFormFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
change: (serviceName: string, key: string, value: DynamicValue, triggerDependencyEvaluation?: boolean | undefined) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<DynamicFormFieldProps> & Readonly<{
|
|
12
|
+
onChange?: ((serviceName: string, key: string, value: DynamicValue, triggerDependencyEvaluation?: boolean | undefined) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
isVisible: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface DynamicImgProps {
|
|
2
|
+
base64: string;
|
|
3
|
+
fill?: string;
|
|
4
|
+
stroke?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import("vue").DefineComponent<DynamicImgProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DynamicImgProps> & Readonly<{}>, {
|
|
9
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { VNode } from "vue";
|
|
2
|
+
import type { ButtonVariant, ButtonSize, ButtonColor } from "./Button.vue";
|
|
3
|
+
import type { IconSize } from "../types/Icon";
|
|
4
|
+
import type { Size, TrueColor } from "../theme/Theme";
|
|
5
|
+
export type TextSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
6
|
+
/** Accepts all theme colors. The original five semantic names (neutral/info/success/warning/danger) are preserved unchanged. */
|
|
7
|
+
export type EmptyStateTone = TrueColor;
|
|
8
|
+
export interface EmptyStateProps {
|
|
9
|
+
title?: string;
|
|
10
|
+
subtitle?: string;
|
|
11
|
+
actionLabel?: string;
|
|
12
|
+
onAction?: () => void;
|
|
13
|
+
actionVariant?: ButtonVariant;
|
|
14
|
+
actionColor?: ButtonColor;
|
|
15
|
+
icon?: string | VNode;
|
|
16
|
+
iconSize?: IconSize;
|
|
17
|
+
iconColor?: TrueColor;
|
|
18
|
+
textSize?: TextSize;
|
|
19
|
+
showIcon?: boolean;
|
|
20
|
+
tone?: EmptyStateTone;
|
|
21
|
+
disableBorder?: boolean;
|
|
22
|
+
transparentBackground?: boolean;
|
|
23
|
+
fullWidth?: boolean;
|
|
24
|
+
fullHeight?: boolean;
|
|
25
|
+
actionSize?: ButtonSize;
|
|
26
|
+
actionLeadingIcon?: string | VNode;
|
|
27
|
+
size?: Size;
|
|
28
|
+
}
|
|
29
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<EmptyStateProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<EmptyStateProps> & Readonly<{}>, {
|
|
30
|
+
icon: string | VNode;
|
|
31
|
+
tone: EmptyStateTone;
|
|
32
|
+
size: Size;
|
|
33
|
+
fullWidth: boolean;
|
|
34
|
+
actionVariant: ButtonVariant;
|
|
35
|
+
actionColor: ButtonColor;
|
|
36
|
+
iconSize: IconSize;
|
|
37
|
+
textSize: TextSize;
|
|
38
|
+
showIcon: boolean;
|
|
39
|
+
disableBorder: boolean;
|
|
40
|
+
transparentBackground: boolean;
|
|
41
|
+
fullHeight: boolean;
|
|
42
|
+
actionSize: ButtonSize;
|
|
43
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
44
|
+
title?: (props: {}) => any;
|
|
45
|
+
} & {
|
|
46
|
+
subtitle?: (props: {}) => any;
|
|
47
|
+
}>;
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
50
|
+
new (): {
|
|
51
|
+
$slots: S;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
type FormFieldLayout = "stacked" | "inline";
|
|
2
|
+
type FormFieldValidationStatus = "none" | "error" | "success";
|
|
3
|
+
type FormFieldWidth = "auto" | "full";
|
|
4
|
+
export interface FormFieldProps {
|
|
5
|
+
label?: string;
|
|
6
|
+
labelFor?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
hint?: string;
|
|
9
|
+
error?: string;
|
|
10
|
+
validationStatus?: FormFieldValidationStatus;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
optionalLabel?: string;
|
|
13
|
+
labelAction?: string;
|
|
14
|
+
layout?: FormFieldLayout;
|
|
15
|
+
helpText?: string;
|
|
16
|
+
width?: FormFieldWidth;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<FormFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FormFieldProps> & Readonly<{}>, {
|
|
19
|
+
required: boolean;
|
|
20
|
+
width: FormFieldWidth;
|
|
21
|
+
layout: FormFieldLayout;
|
|
22
|
+
validationStatus: FormFieldValidationStatus;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
24
|
+
label?: (props: {}) => any;
|
|
25
|
+
} & {
|
|
26
|
+
optionalLabel?: (props: {}) => any;
|
|
27
|
+
} & {
|
|
28
|
+
description?: (props: {}) => any;
|
|
29
|
+
} & {
|
|
30
|
+
labelAction?: (props: {}) => any;
|
|
31
|
+
} & {
|
|
32
|
+
helpText?: (props: {}) => any;
|
|
33
|
+
} & {
|
|
34
|
+
error?: (props: {}) => any;
|
|
35
|
+
} & {
|
|
36
|
+
hint?: (props: {}) => any;
|
|
37
|
+
}>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type FormLayoutColumns = 1 | 2 | 3;
|
|
2
|
+
type FormLayoutGap = "sm" | "md" | "lg";
|
|
3
|
+
export interface FormLayoutProps {
|
|
4
|
+
columns?: FormLayoutColumns;
|
|
5
|
+
gap?: FormLayoutGap;
|
|
6
|
+
verticalPadding?: FormLayoutGap;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<FormLayoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FormLayoutProps> & Readonly<{}>, {
|
|
9
|
+
columns: FormLayoutColumns;
|
|
10
|
+
gap: FormLayoutGap;
|
|
11
|
+
verticalPadding: FormLayoutGap;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
13
|
+
default?: (props: {}) => any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface FormSectionProps {
|
|
2
|
+
title?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
footer?: string;
|
|
5
|
+
padding?: "sm" | "md" | "lg";
|
|
6
|
+
}
|
|
7
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<FormSectionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FormSectionProps> & Readonly<{}>, {
|
|
8
|
+
padding: "sm" | "md" | "lg";
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
10
|
+
title?: (props: {}) => any;
|
|
11
|
+
} & {
|
|
12
|
+
description?: (props: {}) => any;
|
|
13
|
+
} & {
|
|
14
|
+
default?: (props: {}) => any;
|
|
15
|
+
} & {
|
|
16
|
+
footer?: (props: {}) => any;
|
|
17
|
+
}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { CSSProperties } from "vue";
|
|
2
|
+
import type { TrueColor } from "../theme/Theme";
|
|
3
|
+
export type GradientDirection = "t" | "tr" | "r" | "br" | "b" | "bl" | "l" | "tl";
|
|
4
|
+
export type GlassBackgroundPosition = "fixed" | "absolute";
|
|
5
|
+
export interface GlassBackgroundProps {
|
|
6
|
+
/** Positioning mode.
|
|
7
|
+
* `"fixed"` (default) — covers the full viewport, always visible.
|
|
8
|
+
* `"absolute"` — fills a `position: relative` parent (e.g. a PlaygroundSection preview).
|
|
9
|
+
* Parent must be `relative` when `"absolute"`.
|
|
10
|
+
*/
|
|
11
|
+
position?: GlassBackgroundPosition;
|
|
12
|
+
/** Primary theme color driving the gradient (default: "purple"). */
|
|
13
|
+
color?: TrueColor;
|
|
14
|
+
/** Secondary color for the middle gradient stop. Derived from color if omitted. */
|
|
15
|
+
colorSecondary?: TrueColor;
|
|
16
|
+
/** Deep color for the final gradient stop. Derived if omitted. */
|
|
17
|
+
colorDeep?: TrueColor;
|
|
18
|
+
/** Gradient direction (default: "br" → bottom-right). */
|
|
19
|
+
direction?: GradientDirection;
|
|
20
|
+
/** Enable a slow-moving shimmer overlay (default: false). */
|
|
21
|
+
shimmer?: boolean;
|
|
22
|
+
/** Show ambient glow circles behind content (default: true). */
|
|
23
|
+
ambient?: boolean;
|
|
24
|
+
/** Additional CSS classes applied to the root element. */
|
|
25
|
+
className?: string;
|
|
26
|
+
/** Additional inline styles applied to the root element. */
|
|
27
|
+
style?: CSSProperties;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Derive a sensible secondary color based on the primary.
|
|
31
|
+
*/
|
|
32
|
+
export declare function getFallbackSecondary(color: TrueColor): TrueColor;
|
|
33
|
+
/**
|
|
34
|
+
* Derive a deep color for the final gradient stop.
|
|
35
|
+
*/
|
|
36
|
+
export declare function getFallbackDeep(color: TrueColor): TrueColor;
|
|
37
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<GlassBackgroundProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<GlassBackgroundProps> & Readonly<{}>, {
|
|
38
|
+
color: TrueColor;
|
|
39
|
+
position: GlassBackgroundPosition;
|
|
40
|
+
shimmer: boolean;
|
|
41
|
+
direction: GradientDirection;
|
|
42
|
+
ambient: boolean;
|
|
43
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
44
|
+
default?: (props: {}) => any;
|
|
45
|
+
}>;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
7
|
+
vibrancy: number;
|
|
8
|
+
radius: number;
|
|
9
|
+
tint: string;
|
|
10
|
+
tintStrength: number;
|
|
11
|
+
frost: number;
|
|
12
|
+
borderGlow: number;
|
|
13
|
+
$props: {
|
|
14
|
+
readonly vibrancy?: number | undefined;
|
|
15
|
+
readonly radius?: number | undefined;
|
|
16
|
+
readonly tint?: string | undefined;
|
|
17
|
+
readonly tintStrength?: number | undefined;
|
|
18
|
+
readonly frost?: number | undefined;
|
|
19
|
+
readonly borderGlow?: number | undefined;
|
|
20
|
+
};
|
|
21
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
type __VLS_Slots = {
|
|
23
|
+
default?: ((props: {}) => any) | undefined;
|
|
24
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface HeaderGroupProps {
|
|
2
|
+
}
|
|
3
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<HeaderGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HeaderGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
4
|
+
default?: (props: {}) => any;
|
|
5
|
+
}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { IconName } from "../icons/registry";
|
|
2
|
+
import { type VNode } from "vue";
|
|
3
|
+
import type { TrueColor } from "../theme/Theme";
|
|
4
|
+
export type HelpButtonPlacement = "top" | "bottom" | "left" | "right" | "auto";
|
|
5
|
+
export interface HelpButtonProps {
|
|
6
|
+
/**
|
|
7
|
+
* Help content to display in the panel.
|
|
8
|
+
* Pass a `string` to render as Markdown (tables and URLs supported).
|
|
9
|
+
* Pass a `VNode` (or use the default slot) to render arbitrary content directly.
|
|
10
|
+
*/
|
|
11
|
+
content?: string | VNode;
|
|
12
|
+
/** Optional title shown in the panel header. Defaults to "Help". */
|
|
13
|
+
title?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Preferred placement of the floating panel relative to the trigger button.
|
|
16
|
+
* "auto" (default) picks the side with the most available space.
|
|
17
|
+
*/
|
|
18
|
+
placement?: HelpButtonPlacement;
|
|
19
|
+
/** Accent color for the trigger button and the panel header stripe. */
|
|
20
|
+
color?: TrueColor;
|
|
21
|
+
/** Size of the trigger icon button. */
|
|
22
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
23
|
+
/** Icon for the trigger button. Defaults to "Help". */
|
|
24
|
+
icon?: IconName;
|
|
25
|
+
/** Maximum width of the floating panel in px. Defaults to 360. */
|
|
26
|
+
maxWidth?: number;
|
|
27
|
+
}
|
|
28
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<HelpButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HelpButtonProps> & Readonly<{}>, {
|
|
29
|
+
icon: IconName;
|
|
30
|
+
color: TrueColor;
|
|
31
|
+
size: "xs" | "sm" | "md" | "lg";
|
|
32
|
+
maxWidth: number;
|
|
33
|
+
placement: HelpButtonPlacement;
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
35
|
+
title?: (props: {}) => any;
|
|
36
|
+
} & {
|
|
37
|
+
default?: (props: {}) => any;
|
|
38
|
+
}>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|