@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,83 @@
|
|
|
1
|
+
import type { VNode, VNodeChild } from "vue";
|
|
2
|
+
import type { ButtonVariant, ButtonSize } from "../Button.vue";
|
|
3
|
+
import type { TrueColor } from "../../theme/Theme";
|
|
4
|
+
import type { PanelVariant, PanelPadding, PanelCorner } from "../Panel.vue";
|
|
5
|
+
import type { LoaderProps } from "../Loader.vue";
|
|
6
|
+
export type { PanelVariant as TimelinePanelVariant, PanelPadding as TimelinePanelPadding, PanelCorner as TimelinePanelCorner, };
|
|
7
|
+
export interface TimelinePanelAction {
|
|
8
|
+
label: VNodeChild;
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
variant?: ButtonVariant;
|
|
11
|
+
color?: TrueColor;
|
|
12
|
+
size?: ButtonSize;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface TimelinePanelOverflowItem {
|
|
17
|
+
label: string | VNode;
|
|
18
|
+
value: string;
|
|
19
|
+
icon?: string | VNode;
|
|
20
|
+
danger?: boolean;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
onClick?: () => void;
|
|
23
|
+
}
|
|
24
|
+
export interface TimelinePanelItem {
|
|
25
|
+
id: string;
|
|
26
|
+
/** Icon shown in a rounded box next to the content */
|
|
27
|
+
icon?: VNodeChild;
|
|
28
|
+
/** draws a background for the icon */
|
|
29
|
+
iconBackground?: boolean;
|
|
30
|
+
/** Primary label */
|
|
31
|
+
title: VNodeChild;
|
|
32
|
+
/** Secondary line (date, size, etc.) */
|
|
33
|
+
subtitle?: VNodeChild;
|
|
34
|
+
/**
|
|
35
|
+
* When true the item is rendered as a "current state" badge row instead of
|
|
36
|
+
* a normal content row. The title becomes the badge text.
|
|
37
|
+
*/
|
|
38
|
+
isCurrent?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* When true the dot on the timeline line is larger/filled — use for root or
|
|
41
|
+
* first items to visually anchor the timeline.
|
|
42
|
+
*/
|
|
43
|
+
isRoot?: boolean;
|
|
44
|
+
/** Inline action buttons rendered on the right side. Pass a `VNodeChild` for fully custom content, or a `TimelinePanelAction[]` for the built-in button layout. */
|
|
45
|
+
actions?: TimelinePanelAction[] | VNodeChild;
|
|
46
|
+
/** Items for the overflow (⋮) dropdown menu */
|
|
47
|
+
overflowActions?: TimelinePanelOverflowItem[];
|
|
48
|
+
/**
|
|
49
|
+
* Optional depth (0-based) for subtle left-indentation of content inside
|
|
50
|
+
* each row. The dot and icon always stay on the left rail.
|
|
51
|
+
*/
|
|
52
|
+
depth?: number;
|
|
53
|
+
}
|
|
54
|
+
export interface TimelinePanelHeaderAction {
|
|
55
|
+
label: VNodeChild;
|
|
56
|
+
onClick?: () => void;
|
|
57
|
+
variant?: ButtonVariant;
|
|
58
|
+
color?: TrueColor;
|
|
59
|
+
size?: ButtonSize;
|
|
60
|
+
disabled?: boolean;
|
|
61
|
+
loading?: boolean;
|
|
62
|
+
leadingIcon?: string | VNode;
|
|
63
|
+
}
|
|
64
|
+
export interface TimelinePanelProps {
|
|
65
|
+
/** Panel title rendered in the header */
|
|
66
|
+
title?: VNodeChild;
|
|
67
|
+
/** Optional content rendered at the right of the header. Pass a `VNodeChild` for fully custom content, or a `TimelinePanelHeaderAction` for the built-in button layout. */
|
|
68
|
+
headerAction?: TimelinePanelHeaderAction | VNodeChild;
|
|
69
|
+
/** Timeline items */
|
|
70
|
+
items: TimelinePanelItem[];
|
|
71
|
+
variant?: PanelVariant;
|
|
72
|
+
tone?: TrueColor;
|
|
73
|
+
padding?: PanelPadding;
|
|
74
|
+
corner?: PanelCorner;
|
|
75
|
+
/** Color of the connecting vertical line */
|
|
76
|
+
lineColor?: string;
|
|
77
|
+
/** Render a small dot on the trunk line at every item's midpoint (solid segment only). @default false */
|
|
78
|
+
showTrunkDots?: boolean;
|
|
79
|
+
loading?: boolean;
|
|
80
|
+
/** Node to show when items is empty */
|
|
81
|
+
emptyState?: VNodeChild;
|
|
82
|
+
loaderProps?: LoaderProps;
|
|
83
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { VNode } from "vue";
|
|
2
|
+
import type { TrueColor } from "../theme/Theme";
|
|
3
|
+
import type { TooltipPosition } from "./Tooltip.vue";
|
|
4
|
+
import type { GlassVibrancy, GlassOpacity, SpecularMode } from "../../../common/theme/glass";
|
|
5
|
+
export type ToggleSize = "sm" | "md" | "lg";
|
|
6
|
+
export type ToggleAlign = "left" | "right";
|
|
7
|
+
export type ToggleDescriptionPlacement = "inline" | "stacked";
|
|
8
|
+
export type TogglePadding = "none" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
9
|
+
export interface ToggleProps {
|
|
10
|
+
/** Controlled checked state (v-model). */
|
|
11
|
+
modelValue?: boolean;
|
|
12
|
+
id?: string;
|
|
13
|
+
label?: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
descriptionPlacement?: ToggleDescriptionPlacement;
|
|
16
|
+
size?: ToggleSize;
|
|
17
|
+
padding?: TogglePadding;
|
|
18
|
+
color?: TrueColor;
|
|
19
|
+
alignLabel?: ToggleAlign;
|
|
20
|
+
iconOn?: string | VNode;
|
|
21
|
+
iconOff?: string | VNode;
|
|
22
|
+
fullWidth?: boolean;
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
readonly?: boolean;
|
|
25
|
+
/** When set, a styled tooltip is shown on hover. */
|
|
26
|
+
tooltip?: string;
|
|
27
|
+
/** Position of the tooltip relative to the toggle. Defaults to 'top'. */
|
|
28
|
+
tooltipPosition?: TooltipPosition;
|
|
29
|
+
/** When true, applies glass styling (fill + vibrancy + optional specular overlay). */
|
|
30
|
+
glass?: boolean;
|
|
31
|
+
/** Backdrop vibrancy level for glass surfaces. */
|
|
32
|
+
vibrancy?: GlassVibrancy;
|
|
33
|
+
/** Glass fill transparency level for glass surfaces. */
|
|
34
|
+
glassOpacity?: GlassOpacity;
|
|
35
|
+
/** Specular highlight mode for glass surfaces. */
|
|
36
|
+
specularMode?: SpecularMode;
|
|
37
|
+
}
|
|
38
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ToggleProps, {
|
|
39
|
+
el: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
40
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
41
|
+
change: (event: Event) => any;
|
|
42
|
+
"update:modelValue": (value: boolean) => any;
|
|
43
|
+
}, string, import("vue").PublicProps, Readonly<ToggleProps> & Readonly<{
|
|
44
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
45
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
46
|
+
}>, {
|
|
47
|
+
glass: boolean;
|
|
48
|
+
color: TrueColor;
|
|
49
|
+
size: ToggleSize;
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
fullWidth: boolean;
|
|
52
|
+
vibrancy: GlassVibrancy;
|
|
53
|
+
glassOpacity: GlassOpacity;
|
|
54
|
+
specularMode: SpecularMode;
|
|
55
|
+
padding: TogglePadding;
|
|
56
|
+
descriptionPlacement: ToggleDescriptionPlacement;
|
|
57
|
+
alignLabel: ToggleAlign;
|
|
58
|
+
readonly: boolean;
|
|
59
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
60
|
+
label?: () => unknown;
|
|
61
|
+
description?: () => unknown;
|
|
62
|
+
}>;
|
|
63
|
+
export default _default;
|
|
64
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
65
|
+
new (): {
|
|
66
|
+
$slots: S;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type TooltipPosition = "top" | "bottom";
|
|
2
|
+
export interface TooltipProps {
|
|
3
|
+
/** Text shown in the tooltip. When omitted the component renders children as-is. */
|
|
4
|
+
text?: string;
|
|
5
|
+
/** How long to wait (ms) before showing the tooltip. Defaults to 500. */
|
|
6
|
+
delay?: number;
|
|
7
|
+
/** Where to place the tooltip relative to the trigger. Defaults to 'top'. */
|
|
8
|
+
position?: TooltipPosition;
|
|
9
|
+
/** Extra classes applied to the outer wrapper element. */
|
|
10
|
+
wrapperClassName?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<TooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
|
|
13
|
+
delay: number;
|
|
14
|
+
position: TooltipPosition;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
16
|
+
default?: (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,14 @@
|
|
|
1
|
+
import type { TooltipPosition } from "./Tooltip.vue";
|
|
2
|
+
export interface TooltipWrapperProps {
|
|
3
|
+
/** Tooltip text. When omitted no tooltip is shown but the child is rendered unchanged. */
|
|
4
|
+
text?: string;
|
|
5
|
+
/** Delay in ms before the tooltip appears. Defaults to 500. */
|
|
6
|
+
delay?: number;
|
|
7
|
+
/** Where to place the tooltip relative to the child. Defaults to 'top'. */
|
|
8
|
+
position?: TooltipPosition;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import("vue").DefineComponent<TooltipWrapperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TooltipWrapperProps> & Readonly<{}>, {
|
|
11
|
+
delay: number;
|
|
12
|
+
position: TooltipPosition;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { TreeFlowSvgProps } from "./types";
|
|
2
|
+
export declare const INDENT_PX: Record<"xs" | "sm" | "md" | "lg", number>;
|
|
3
|
+
declare const _default: import("vue").DefineComponent<TreeFlowSvgProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TreeFlowSvgProps> & Readonly<{}>, {
|
|
4
|
+
mode: "tree" | "bracket";
|
|
5
|
+
animated: boolean;
|
|
6
|
+
showLine: boolean;
|
|
7
|
+
dotSpacing: number;
|
|
8
|
+
parentAnchorY: number;
|
|
9
|
+
parentOffset: number;
|
|
10
|
+
rootActive: boolean;
|
|
11
|
+
stubHeight: number;
|
|
12
|
+
depth: number;
|
|
13
|
+
rootChildIndentExtra: number;
|
|
14
|
+
indent: "xs" | "sm" | "md" | "lg";
|
|
15
|
+
showConnectors: boolean;
|
|
16
|
+
connectorStyle: "rings" | "dots";
|
|
17
|
+
branchColorMode: "item" | "parent";
|
|
18
|
+
junctionStyle: "rounded" | "dot";
|
|
19
|
+
showCenterDot: boolean;
|
|
20
|
+
connectorHalf: boolean;
|
|
21
|
+
connectorBorderSize: "fit" | "xs" | "sm" | "md" | "lg";
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { TreeItemCardProps } from "./types";
|
|
2
|
+
declare var __VLS_1: {}, __VLS_10: {}, __VLS_16: {}, __VLS_22: {}, __VLS_28: {}, __VLS_34: {}, __VLS_40: {}, __VLS_46: {}, __VLS_52: {}, __VLS_65: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
icon?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
title?: (props: typeof __VLS_10) => any;
|
|
7
|
+
} & {
|
|
8
|
+
title?: (props: typeof __VLS_16) => any;
|
|
9
|
+
} & {
|
|
10
|
+
subtitle?: (props: typeof __VLS_22) => any;
|
|
11
|
+
} & {
|
|
12
|
+
description?: (props: typeof __VLS_28) => any;
|
|
13
|
+
} & {
|
|
14
|
+
badge?: (props: typeof __VLS_34) => any;
|
|
15
|
+
} & {
|
|
16
|
+
hoverActions?: (props: typeof __VLS_40) => any;
|
|
17
|
+
} & {
|
|
18
|
+
actions?: (props: typeof __VLS_46) => any;
|
|
19
|
+
} & {
|
|
20
|
+
dragHandle?: (props: typeof __VLS_52) => any;
|
|
21
|
+
} & {
|
|
22
|
+
body?: (props: typeof __VLS_65) => any;
|
|
23
|
+
};
|
|
24
|
+
declare const __VLS_component: import("vue").DefineComponent<TreeItemCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
25
|
+
toggleExpanded: () => any;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<TreeItemCardProps> & Readonly<{
|
|
27
|
+
onToggleExpanded?: (() => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
hoverable: boolean;
|
|
30
|
+
index: number;
|
|
31
|
+
defaultExpanded: boolean;
|
|
32
|
+
isDragging: boolean;
|
|
33
|
+
titleWrap: boolean;
|
|
34
|
+
titleScroll: boolean;
|
|
35
|
+
forceToggle: boolean;
|
|
36
|
+
activePulse: boolean;
|
|
37
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { DropPosition, TreeItemData, TreeSvgConfig, TreeTone } from "./types";
|
|
2
|
+
export interface TreeItemRowProps {
|
|
3
|
+
item: TreeItemData;
|
|
4
|
+
globalTone?: TreeTone;
|
|
5
|
+
depth: number;
|
|
6
|
+
index: number;
|
|
7
|
+
svgProps: TreeSvgConfig;
|
|
8
|
+
reorderable: boolean;
|
|
9
|
+
isDragging: boolean;
|
|
10
|
+
dropIndicator?: DropPosition | null;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: import("vue").DefineComponent<TreeItemRowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
|
+
rowElement: (el: HTMLDivElement | null) => any;
|
|
14
|
+
heightChange: (height: number) => any;
|
|
15
|
+
anchorChange: (anchor: number) => any;
|
|
16
|
+
toneChange: (tone: import("../../index.js").TrueColor) => any;
|
|
17
|
+
activeChange: (active: boolean) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<TreeItemRowProps> & Readonly<{
|
|
19
|
+
onRowElement?: ((el: HTMLDivElement | null) => any) | undefined;
|
|
20
|
+
onHeightChange?: ((height: number) => any) | undefined;
|
|
21
|
+
onAnchorChange?: ((anchor: number) => any) | undefined;
|
|
22
|
+
onToneChange?: ((tone: import("../../index.js").TrueColor) => any) | undefined;
|
|
23
|
+
onActiveChange?: ((active: boolean) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
dropIndicator: DropPosition | null;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { TreeItemData, TreeSvgConfig, TreeTone } from "./types";
|
|
2
|
+
export interface TreeLevelProps {
|
|
3
|
+
items: TreeItemData[];
|
|
4
|
+
globalTone?: TreeTone;
|
|
5
|
+
svgProps: TreeSvgConfig;
|
|
6
|
+
parentTone?: TreeTone;
|
|
7
|
+
parentActive?: boolean;
|
|
8
|
+
stubHeight?: number;
|
|
9
|
+
parentOffset?: number;
|
|
10
|
+
depth?: number;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: import("vue").DefineComponent<TreeLevelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TreeLevelProps> & Readonly<{}>, {
|
|
13
|
+
depth: number;
|
|
14
|
+
parentActive: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { TreeReorderEvent, TreeViewProps } from "./types";
|
|
2
|
+
export { default as TreeLevel } from "./TreeLevel.vue";
|
|
3
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<TreeViewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
+
retry: () => any;
|
|
5
|
+
reorder: (event: TreeReorderEvent) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<TreeViewProps> & Readonly<{
|
|
7
|
+
onRetry?: (() => any) | undefined;
|
|
8
|
+
onReorder?: ((event: TreeReorderEvent) => any) | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
loading: boolean;
|
|
11
|
+
animated: boolean;
|
|
12
|
+
rowGap: number;
|
|
13
|
+
showLine: boolean;
|
|
14
|
+
dotSpacing: number;
|
|
15
|
+
rootActive: boolean;
|
|
16
|
+
stubHeight: number;
|
|
17
|
+
rootChildIndentExtra: number;
|
|
18
|
+
indent: "xs" | "sm" | "md" | "lg";
|
|
19
|
+
showConnectors: boolean;
|
|
20
|
+
connectorStyle: "rings" | "dots";
|
|
21
|
+
branchColorMode: "item" | "parent";
|
|
22
|
+
junctionStyle: "rounded" | "dot";
|
|
23
|
+
showCenterDot: boolean;
|
|
24
|
+
connectorHalf: boolean;
|
|
25
|
+
connectorBorderSize: "fit" | "xs" | "sm" | "md" | "lg";
|
|
26
|
+
reorderable: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
28
|
+
loadingState?: (props: {}) => any;
|
|
29
|
+
} & {
|
|
30
|
+
errorState?: (props: {}) => any;
|
|
31
|
+
} & {
|
|
32
|
+
emptyState?: (props: {}) => any;
|
|
33
|
+
}>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as TreeView } from "./TreeView.vue";
|
|
2
|
+
export { default as TreeItemCard } from "./TreeItemCard.vue";
|
|
3
|
+
export { default as TreeFlowSvg, INDENT_PX as TREE_INDENT_PX, } from "./TreeFlowSvg.vue";
|
|
4
|
+
export { getTreeColorTokens, NEUTRAL_TOKENS as TREE_NEUTRAL_TOKENS, } from "./toneColors";
|
|
5
|
+
export type { TreeReorderEvent, TreeTone, TreeItemData, TreeViewProps, TreeItemCardProps, TreeFlowSvgProps, } from "./types";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../../../react/src/components/TreeView/toneColors";
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import type { VNodeChild } from "vue";
|
|
2
|
+
import type { TrueColor } from "../../theme/Theme";
|
|
3
|
+
export type TreeTone = TrueColor;
|
|
4
|
+
export interface TreeReorderEvent {
|
|
5
|
+
id: string;
|
|
6
|
+
oldOrder: number;
|
|
7
|
+
newOrder: number;
|
|
8
|
+
}
|
|
9
|
+
export interface TreeItemData {
|
|
10
|
+
id: string;
|
|
11
|
+
icon?: VNodeChild;
|
|
12
|
+
iconClassName?: string;
|
|
13
|
+
title?: VNodeChild;
|
|
14
|
+
titleClassName?: string;
|
|
15
|
+
subtitle?: VNodeChild;
|
|
16
|
+
subtitleClassName?: string;
|
|
17
|
+
description?: VNodeChild;
|
|
18
|
+
descriptionClassName?: string;
|
|
19
|
+
/** Optional badge/status slot rendered below description, without tone-derived text styling. */
|
|
20
|
+
badge?: VNodeChild;
|
|
21
|
+
tone?: TreeTone;
|
|
22
|
+
active?: boolean;
|
|
23
|
+
body?: VNodeChild;
|
|
24
|
+
defaultExpanded?: boolean;
|
|
25
|
+
actions?: VNodeChild;
|
|
26
|
+
hoverActions?: VNodeChild;
|
|
27
|
+
children?: TreeItemData[];
|
|
28
|
+
}
|
|
29
|
+
export interface TreeViewProps {
|
|
30
|
+
root?: TreeItemData;
|
|
31
|
+
items: TreeItemData[];
|
|
32
|
+
tone?: TreeTone;
|
|
33
|
+
rootTone?: TreeTone;
|
|
34
|
+
rootActive?: boolean;
|
|
35
|
+
animated?: boolean;
|
|
36
|
+
showLine?: boolean;
|
|
37
|
+
showConnectors?: boolean;
|
|
38
|
+
connectorStyle?: "rings" | "dots";
|
|
39
|
+
branchColorMode?: "item" | "parent";
|
|
40
|
+
junctionStyle?: "rounded" | "dot";
|
|
41
|
+
showCenterDot?: boolean;
|
|
42
|
+
connectorHalf?: boolean;
|
|
43
|
+
connectorBorderSize?: "fit" | "xs" | "sm" | "md" | "lg";
|
|
44
|
+
dotSpacing?: number;
|
|
45
|
+
indent?: "xs" | "sm" | "md" | "lg";
|
|
46
|
+
rootChildIndentExtra?: number;
|
|
47
|
+
rowGap?: number;
|
|
48
|
+
stubHeight?: number;
|
|
49
|
+
loading?: boolean;
|
|
50
|
+
loadingState?: VNodeChild;
|
|
51
|
+
emptyState?: VNodeChild;
|
|
52
|
+
error?: VNodeChild;
|
|
53
|
+
errorState?: VNodeChild;
|
|
54
|
+
reorderable?: boolean;
|
|
55
|
+
}
|
|
56
|
+
export interface TreeItemCardProps {
|
|
57
|
+
icon?: VNodeChild;
|
|
58
|
+
iconClassName?: string;
|
|
59
|
+
title?: VNodeChild;
|
|
60
|
+
titleClassName?: string;
|
|
61
|
+
/** When true, the title wraps on word boundaries up to 10 lines instead of truncating. Default: false */
|
|
62
|
+
titleWrap?: boolean;
|
|
63
|
+
/** When true, the title stays on one line and scrolls horizontally — no wrapping, no truncation. Default: false */
|
|
64
|
+
titleScroll?: boolean;
|
|
65
|
+
subtitle?: VNodeChild;
|
|
66
|
+
subtitleClassName?: string;
|
|
67
|
+
description?: VNodeChild;
|
|
68
|
+
descriptionClassName?: string;
|
|
69
|
+
/** Optional badge/status slot rendered below description, without tone-derived text styling. */
|
|
70
|
+
badge?: VNodeChild;
|
|
71
|
+
tone?: TreeTone;
|
|
72
|
+
body?: VNodeChild;
|
|
73
|
+
defaultExpanded?: boolean;
|
|
74
|
+
expanded?: boolean;
|
|
75
|
+
forceToggle?: boolean;
|
|
76
|
+
actions?: VNodeChild;
|
|
77
|
+
hoverActions?: VNodeChild;
|
|
78
|
+
dragHandle?: VNodeChild;
|
|
79
|
+
isDragging?: boolean;
|
|
80
|
+
index?: number;
|
|
81
|
+
/** When true, show a subtle hover lift effect (shadow + translate-y). Default: false */
|
|
82
|
+
hoverable?: boolean;
|
|
83
|
+
/** When true, overlay a pulsing background animation using the item's tone color. Default: false */
|
|
84
|
+
activePulse?: boolean;
|
|
85
|
+
}
|
|
86
|
+
export interface TreeFlowSvgProps {
|
|
87
|
+
cardHeights: number[];
|
|
88
|
+
cardAnchors?: number[];
|
|
89
|
+
mode?: "tree" | "bracket";
|
|
90
|
+
parentAnchorY?: number;
|
|
91
|
+
parentOffset?: number;
|
|
92
|
+
toneList: TreeTone[];
|
|
93
|
+
activeList: boolean[];
|
|
94
|
+
rootTone?: TreeTone;
|
|
95
|
+
rootActive?: boolean;
|
|
96
|
+
rowGap: number;
|
|
97
|
+
stubHeight?: number;
|
|
98
|
+
depth?: number;
|
|
99
|
+
rootChildIndentExtra?: number;
|
|
100
|
+
indent?: "xs" | "sm" | "md" | "lg";
|
|
101
|
+
showLine?: boolean;
|
|
102
|
+
showConnectors?: boolean;
|
|
103
|
+
connectorStyle?: "rings" | "dots";
|
|
104
|
+
branchColorMode?: "item" | "parent";
|
|
105
|
+
junctionStyle?: "rounded" | "dot";
|
|
106
|
+
showCenterDot?: boolean;
|
|
107
|
+
connectorHalf?: boolean;
|
|
108
|
+
connectorBorderSize?: "fit" | "xs" | "sm" | "md" | "lg";
|
|
109
|
+
dotSpacing?: number;
|
|
110
|
+
animated?: boolean;
|
|
111
|
+
}
|
|
112
|
+
export type DropPosition = "before" | "after";
|
|
113
|
+
export interface DropTarget {
|
|
114
|
+
index: number;
|
|
115
|
+
position: DropPosition;
|
|
116
|
+
}
|
|
117
|
+
/** SVG/reorder config forwarded from TreeView down through nested TreeLevels. */
|
|
118
|
+
export interface TreeSvgConfig {
|
|
119
|
+
animated?: boolean;
|
|
120
|
+
showLine?: boolean;
|
|
121
|
+
showConnectors?: boolean;
|
|
122
|
+
connectorStyle?: "rings" | "dots";
|
|
123
|
+
branchColorMode?: "item" | "parent";
|
|
124
|
+
junctionStyle?: "rounded" | "dot";
|
|
125
|
+
showCenterDot?: boolean;
|
|
126
|
+
connectorHalf?: boolean;
|
|
127
|
+
connectorBorderSize?: "fit" | "xs" | "sm" | "md" | "lg";
|
|
128
|
+
dotSpacing?: number;
|
|
129
|
+
indent?: "xs" | "sm" | "md" | "lg";
|
|
130
|
+
rootChildIndentExtra?: number;
|
|
131
|
+
rowGap?: number;
|
|
132
|
+
stubHeight?: number;
|
|
133
|
+
reorderable?: boolean;
|
|
134
|
+
onReorder?: (event: TreeReorderEvent) => void;
|
|
135
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { TooltipPosition } from "./Tooltip.vue";
|
|
2
|
+
export interface TruncatedTextProps {
|
|
3
|
+
/** The text to display, truncated with an ellipsis when it overflows. */
|
|
4
|
+
text: string;
|
|
5
|
+
/** Delay in ms before the tooltip becomes visible. Defaults to 2000. */
|
|
6
|
+
delay?: number;
|
|
7
|
+
/** Render as a different element. Defaults to "div". */
|
|
8
|
+
as?: "div" | "span" | "p";
|
|
9
|
+
/** Where to place the tooltip. Defaults to 'top'. */
|
|
10
|
+
tooltipPosition?: TooltipPosition;
|
|
11
|
+
/**
|
|
12
|
+
* When true, the outer `<div class="min-w-0">` wrapper is omitted and the
|
|
13
|
+
* TooltipWrapper is returned directly. Use this when TruncatedText is a flex
|
|
14
|
+
* child and you control sizing via `class` (e.g. `"min-w-0 flex-1"`).
|
|
15
|
+
*/
|
|
16
|
+
noWrapper?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: import("vue").DefineComponent<TruncatedTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TruncatedTextProps> & Readonly<{}>, {
|
|
19
|
+
delay: number;
|
|
20
|
+
tooltipPosition: TooltipPosition;
|
|
21
|
+
as: "div" | "span" | "p";
|
|
22
|
+
noWrapper: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface UserAvatarUser {
|
|
2
|
+
name?: string;
|
|
3
|
+
username?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
avatarUrl?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface UserAvatarProps {
|
|
8
|
+
user?: UserAvatarUser | null;
|
|
9
|
+
size?: number;
|
|
10
|
+
variant?: "circle" | "rounded" | "square";
|
|
11
|
+
}
|
|
12
|
+
declare const _default: import("vue").DefineComponent<UserAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UserAvatarProps> & Readonly<{}>, {
|
|
13
|
+
variant: "circle" | "rounded" | "square";
|
|
14
|
+
size: number;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type SmartVariable } from "../types/Variables";
|
|
2
|
+
import type { CapsuleBlueprintParameter } from "../types/CapsuleBlueprint";
|
|
3
|
+
export interface VariablePickerProps {
|
|
4
|
+
globalParameters: CapsuleBlueprintParameter[];
|
|
5
|
+
serviceNames: string[];
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import("vue").DefineComponent<VariablePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
select: (variable: SmartVariable) => any;
|
|
9
|
+
close: () => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<VariablePickerProps> & Readonly<{
|
|
11
|
+
onSelect?: ((variable: SmartVariable) => any) | undefined;
|
|
12
|
+
onClose?: (() => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
export { default as Alert, type AlertProps, type AlertVariant } from "./Alert.vue";
|
|
2
|
+
export { default as AppDivider, type AppDividerProps } from "./AppDivider.vue";
|
|
3
|
+
export { default as Badge, type BadgeProps } from "./Badge.vue";
|
|
4
|
+
export { default as BadgeIcon, type BadgeIconProps } from "./BadgeIcon.vue";
|
|
5
|
+
export { default as Pill, type PillProps, type PillTone, type PillVariant, type PillSize, } from "./Pill.vue";
|
|
6
|
+
export { default as Progress, type ProgressProps, type ProgressMotion, type ProgressMotionSpeed, type ProgressMotionDirection, } from "./Progress.vue";
|
|
7
|
+
export { default as MultiProgressBar, type MultiProgressBarProps, type MultiProgressBarSeries, } from "./MultiProgressBar.vue";
|
|
8
|
+
export { default as Spinner, type SpinnerProps, type SpinnerSize, type SpinnerColor, type SpinnerVariant, } from "./Spinner.vue";
|
|
9
|
+
export { default as StatusSpinner, type StatusSpinnerProps, type StatusSpinnerIntent, } from "./StatusSpinner.vue";
|
|
10
|
+
export { default as Loader, type LoaderProps } from "./Loader.vue";
|
|
11
|
+
export { default as EmptyState, type EmptyStateProps, type EmptyStateTone, } from "./EmptyState.vue";
|
|
12
|
+
export { default as Hero, type HeroProps, type HeroTitleSize, type HeroSubtitleSize, type HeroPadding, } from "./Hero.vue";
|
|
13
|
+
export { default as DynamicImg, type DynamicImgProps } from "./DynamicImg.vue";
|
|
14
|
+
export { default as Button, type ButtonProps, type ButtonVariant, type ButtonColor, type ButtonSize, } from "./Button.vue";
|
|
15
|
+
export type { GlassVibrancy, GlassOpacity, SpecularMode } from "../theme/glass";
|
|
16
|
+
export { default as IconButton, type IconButtonProps } from "./IconButton.vue";
|
|
17
|
+
export { default as DropdownButton, type DropdownButtonProps, type DropdownButtonOption, } from "./DropdownButton.vue";
|
|
18
|
+
export { default as Tooltip, type TooltipProps, type TooltipPosition, } from "./Tooltip.vue";
|
|
19
|
+
export { default as TooltipWrapper, type TooltipWrapperProps, } from "./TooltipWrapper.vue";
|
|
20
|
+
export { default as Input, type InputProps, type InputVariant } from "./Input.vue";
|
|
21
|
+
export { default as PasswordInput, type PasswordInputProps, } from "./PasswordInput.vue";
|
|
22
|
+
export { default as Textarea, type TextareaProps } from "./Textarea.vue";
|
|
23
|
+
export { default as Select, type SelectProps } from "./Select.vue";
|
|
24
|
+
export { default as Combobox, type ComboboxProps } from "./Combobox.vue";
|
|
25
|
+
export { default as Picker, type PickerProps, type PickerItem, type PickerTag, type PickerFilter, } from "./Picker.vue";
|
|
26
|
+
export { default as TagPicker, type TagPickerProps, type TagPickerItem, } from "./TagPicker.vue";
|
|
27
|
+
export { default as TagPanel, type TagPanelProps, type TagPanelTag, } from "./TagPanel.vue";
|
|
28
|
+
export { default as Checkbox, type CheckboxProps } from "./Checkbox.vue";
|
|
29
|
+
export { default as Toggle, type ToggleProps, type ToggleSize, type ToggleAlign, type ToggleDescriptionPlacement, type TogglePadding } from "./Toggle.vue";
|
|
30
|
+
export { default as MultiToggle, type MultiToggleProps, type MultiToggleOption, type MultiToggleVariant, } from "./MultiToggle.vue";
|
|
31
|
+
export { default as ButtonSelector, type ButtonSelectorProps, type ButtonSelectorOption, type ButtonSelectorMode, } from "./ButtonSelector.vue";
|
|
32
|
+
export { default as FormField, type FormFieldProps } from "./FormField.vue";
|
|
33
|
+
export { default as FormLayout, type FormLayoutProps } from "./FormLayout.vue";
|
|
34
|
+
export { default as FormSection, type FormSectionProps } from "./FormSection.vue";
|
|
35
|
+
export { default as InputGroup, type InputGroupProps } from "./InputGroup.vue";
|
|
36
|
+
export { default as MultiSelectPills, type MultiSelectPillsProps, } from "./MultiSelectPills.vue";
|
|
37
|
+
export { default as SearchBar, type SearchBarProps } from "./SearchBar.vue";
|
|
38
|
+
export { default as GlassBackground, type GlassBackgroundProps, type GlassBackgroundPosition, type GradientDirection, } from "./GlassBackground.vue";
|
|
39
|
+
export { default as TruncatedText, type TruncatedTextProps, } from "./TruncatedText.vue";
|
|
40
|
+
export { default as InfoRow, type InfoRowProps, type InfoRowSize, type InfoRowPadding, } from "./InfoRow.vue";
|
|
41
|
+
export { default as SectionCard, type SectionCardProps, type SectionCardVariant, type SectionCardSize, } from "./SectionCard.vue";
|
|
42
|
+
export { default as Section, type SectionProps, type SectionSize, type SectionVariant, } from "./Section.vue";
|
|
43
|
+
export { default as PagedPanel, type PagedPanelProps } from "./PagedPanel.vue";
|
|
44
|
+
export { default as Panel, type PanelProps, type PanelTone, type PanelDecoration, type PanelSpecularMode, } from "./Panel.vue";
|
|
45
|
+
export { default as CollapsiblePanel, type CollapsiblePanelProps, } from "./CollapsiblePanel.vue";
|
|
46
|
+
export { default as HeaderGroup, type HeaderGroupProps } from "./HeaderGroup.vue";
|
|
47
|
+
export { default as DetailItemCard, type DetailItemCardProps, } from "./DetailItemCard.vue";
|
|
48
|
+
export { default as InfiniteScrollPanel, type InfiniteScrollPanelProps, } from "./InfiniteScrollPanel.vue";
|
|
49
|
+
export { default as CollapsibleHelpText, type CollapsibleHelpTextProps, } from "./CollapsibleHelpText.vue";
|
|
50
|
+
export { default as DropdownMenu, type DropdownMenuProps, type DropdownMenuOption, } from "./DropdownMenu.vue";
|
|
51
|
+
export { default as UserAvatar, type UserAvatarProps, type UserAvatarUser, } from "./UserAvatar.vue";
|
|
52
|
+
export { default as Accordion, type AccordionProps, type AccordionItem, } from "./Accordion.vue";
|
|
53
|
+
export { default as Tabs, type TabsProps, type TabItem, type TabItemAction, } from "./Tabs.vue";
|
|
54
|
+
export { default as Modal, type ModalProps, ModalActions, ConfirmModal, DeleteConfirmModal, type DeleteConfirmModalProps, ApplyConfirmModal, type ApplyConfirmModalProps, } from "./Modal.vue";
|
|
55
|
+
export { default as InlinePanel, ConfirmInlinePanel, DeleteConfirmInlinePanel, type InlinePanelProps, type InlinePanelAnchor, type ConfirmInlinePanelProps, type DeleteConfirmInlinePanelProps, } from "./InlinePanel.vue";
|
|
56
|
+
export { default as SideMenu, type SideMenuProps, type SideMenuSettings, type SideMenuItem, type SideMenuItemGuard, type SideMenuGuardClaim, type SideMenuGuardAnyClaim, type SideMenuGuardAllClaims, type SideMenuGuardRole, type SideMenuGuardAnyRole, type SideMenuGuardModule, type SideMenuGuardAnyModule, type SideMenuGuardCustom, } from "./SideMenu.vue";
|
|
57
|
+
export { default as SideMenuLayout, type SideMenuLayoutProps, } from "./SideMenuLayout.vue";
|
|
58
|
+
export { default as SplitView, type SplitViewProps, type SplitViewItem, type SplitViewItemBadge, type SplitViewSize, type SplitViewHeaderSlot, type SplitViewHeaderDetails, type SplitViewPanelHeaderProps, } from "./SplitView.vue";
|
|
59
|
+
export { default as SmartInput, type SmartInputProps } from "./SmartInput.vue";
|
|
60
|
+
export { default as SmartValue, type SmartValueProps } from "./SmartValue.vue";
|
|
61
|
+
export { default as StartupStageStepper, type StartupStageStepperProps, } from "./StartupStageStepper.vue";
|
|
62
|
+
export { default as StatChartTile, type StatChartTileProps, type StatChartDataset, type StatChartItem, } from "./StatChartTile.vue";
|
|
63
|
+
export { default as StatCountTile, type StatCountTileProps, type StatCountTileBreakdown, } from "./StatCountTile.vue";
|
|
64
|
+
export { default as StatGoalTile, type StatGoalTileProps, type StatGoalItem, } from "./StatGoalTile.vue";
|
|
65
|
+
export { default as StatGraphTile, type StatGraphTileProps, type StatGraphSeries, } from "./StatGraphTile.vue";
|
|
66
|
+
export { default as StatTile, type StatTileProps } from "./StatTile.vue";
|
|
67
|
+
export { default as Stepper, type StepperProps, type Step } from "./Stepper.vue";
|
|
68
|
+
export { default as Table, type TableProps, type TableColumn, type TableSortState, type TablePaginationState, type TableSettings, type Column, type TableVariant, } from "./Table.vue";
|
|
69
|
+
export { default as AccessMatrix, type AccessMatrixProps, type AccessMatrixPermission, } from "./AccessMatrix.vue";
|
|
70
|
+
export { default as VariablePicker } from "./VariablePicker.vue";
|
|
71
|
+
export { default as KeyValueArrayField, type KeyValueArrayFieldProps, } from "./KeyValueArrayField.vue";
|
|
72
|
+
export { default as ApiErrorState, type ApiErrorStateProps, } from "./ApiErrorState.vue";
|
|
73
|
+
export { default as CustomIcon, type CustomIconProps } from "./CustomIcon.vue";
|
|
74
|
+
export { default as DynamicFormField, type DynamicFormFieldProps, } from "./DynamicFormField.vue";
|
|
75
|
+
export { default as NotificationModal, type NotificationModalProps, type NotificationType, } from "./NotificationModal.vue";
|
|
76
|
+
export { default as SidePanel, type SidePanelProps } from "./SidePanel.vue";
|
|
77
|
+
export { TimelinePanel, type TimelinePanelProps, type TimelinePanelItem, type TimelinePanelAction, type TimelinePanelOverflowItem, type TimelinePanelHeaderAction, type TimelinePanelVariant, type TimelinePanelPadding, type TimelinePanelCorner, } from "./TimelinePanel";
|
|
78
|
+
export * from "./ConnectionFlow";
|
|
79
|
+
export { TreeView, TreeItemCard, TreeFlowSvg, TREE_INDENT_PX, TREE_NEUTRAL_TOKENS, getTreeColorTokens, type TreeReorderEvent, type TreeTone, type TreeItemData, type TreeViewProps, type TreeItemCardProps, type TreeFlowSvgProps, } from "./TreeView";
|