@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,151 @@
|
|
|
1
|
+
import type { CSSProperties, VNode } from "vue";
|
|
2
|
+
import type { ButtonProps } from "./Button.vue";
|
|
3
|
+
import type { LoaderProps } from "./Loader.vue";
|
|
4
|
+
import type { TrueColor } from "../theme/Theme";
|
|
5
|
+
export type PanelVariant = "elevated" | "outlined" | "subtle" | "tonal" | "default" | "glass" | "simple" | "liquid-glass";
|
|
6
|
+
export type PanelTone = TrueColor;
|
|
7
|
+
export type PanelDecoration = "none" | "gradient" | "shapes" | "both";
|
|
8
|
+
export type PanelMediaPlacement = "top" | "start" | "end" | "overlay";
|
|
9
|
+
export type PanelPadding = "none" | "xs" | "sm" | "md" | "lg";
|
|
10
|
+
export type PanelCorner = "rounded" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-full" | "pill" | "none";
|
|
11
|
+
export type PanelActionLayout = "auto" | "stacked" | "inline";
|
|
12
|
+
export type PanelLoaderType = Exclude<LoaderProps["variant"], undefined>;
|
|
13
|
+
export type PanelSpecularMode = "none" | "classic" | "halo";
|
|
14
|
+
export interface PanelAction extends Pick<ButtonProps, "variant" | "color" | "size" | "weight" | "leadingIcon" | "trailingIcon" | "loading" | "disabled" | "accent" | "accentColor"> {
|
|
15
|
+
id?: string;
|
|
16
|
+
label: string | VNode;
|
|
17
|
+
onClick?: (event: MouseEvent) => void;
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface PanelProps {
|
|
21
|
+
title?: string;
|
|
22
|
+
titleClassName?: string;
|
|
23
|
+
subtitle?: string;
|
|
24
|
+
subtitleClassName?: string;
|
|
25
|
+
description?: string;
|
|
26
|
+
descriptionClassName?: string;
|
|
27
|
+
badge?: string;
|
|
28
|
+
mediaPlacement?: PanelMediaPlacement;
|
|
29
|
+
actions?: PanelAction[];
|
|
30
|
+
actionLayout?: PanelActionLayout;
|
|
31
|
+
variant?: PanelVariant;
|
|
32
|
+
tone?: TrueColor;
|
|
33
|
+
padding?: PanelPadding;
|
|
34
|
+
corner?: PanelCorner;
|
|
35
|
+
fullWidth?: boolean;
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
flexBody?: boolean;
|
|
38
|
+
maxWidth?: string | number;
|
|
39
|
+
minHeight?: string | number;
|
|
40
|
+
bodyClassName?: string;
|
|
41
|
+
bodyStyle?: CSSProperties;
|
|
42
|
+
loading?: boolean;
|
|
43
|
+
loaderType?: PanelLoaderType;
|
|
44
|
+
loaderTitle?: string;
|
|
45
|
+
loaderMessage?: string;
|
|
46
|
+
loaderProgress?: number;
|
|
47
|
+
loaderColor?: LoaderProps["color"];
|
|
48
|
+
hoverShadow?: boolean;
|
|
49
|
+
decoration?: PanelDecoration;
|
|
50
|
+
/**
|
|
51
|
+
* Adds a subtle background tint on hover and lightens any decoration elements.
|
|
52
|
+
* Defaults to `true` when an `onClick` handler is present, otherwise `false`.
|
|
53
|
+
*/
|
|
54
|
+
hoverable?: boolean;
|
|
55
|
+
color?: TrueColor;
|
|
56
|
+
/**
|
|
57
|
+
* Override the default hover color.
|
|
58
|
+
* If not provided, it defaults to the `color` prop if available, or a neutral tint.
|
|
59
|
+
*/
|
|
60
|
+
hoverColor?: TrueColor;
|
|
61
|
+
/**
|
|
62
|
+
* Override the default border color.
|
|
63
|
+
* If not provided, it defaults to the `tone` or `color` prop depending on variant.
|
|
64
|
+
*/
|
|
65
|
+
borderColor?: TrueColor;
|
|
66
|
+
/**
|
|
67
|
+
* Override the default background color.
|
|
68
|
+
*/
|
|
69
|
+
backgroundColor?: TrueColor;
|
|
70
|
+
/**
|
|
71
|
+
* controls if the panel body should be scrollable
|
|
72
|
+
* @default true
|
|
73
|
+
*/
|
|
74
|
+
scrollable?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Backdrop vibrancy for the liquid-glass variant.
|
|
77
|
+
* Preset takes priority over a numeric value when both are provided.
|
|
78
|
+
*/
|
|
79
|
+
vibrancy?: "low" | "medium" | "high" | number;
|
|
80
|
+
/**
|
|
81
|
+
* Glass fill opacity for the liquid-glass variant.
|
|
82
|
+
* Preset takes priority over a numeric value when both are provided.
|
|
83
|
+
* @default "frosted"
|
|
84
|
+
*/
|
|
85
|
+
glassOpacity?: "frosted" | "light" | "clear" | number;
|
|
86
|
+
/**
|
|
87
|
+
* Whether the liquid-glass variant shows a specular highlight at the top.
|
|
88
|
+
* @default true
|
|
89
|
+
*
|
|
90
|
+
* @deprecated Use specularMode instead. Kept for backward compatibility.
|
|
91
|
+
*/
|
|
92
|
+
specularHighlight?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Specular highlight mode for the liquid-glass variant.
|
|
95
|
+
* Controls how light reflects off the glass surface.
|
|
96
|
+
* @default "classic"
|
|
97
|
+
*/
|
|
98
|
+
specularMode?: PanelSpecularMode;
|
|
99
|
+
}
|
|
100
|
+
export declare const paddingStyles: Record<PanelPadding, string>;
|
|
101
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PanelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PanelProps> & Readonly<{}>, {
|
|
102
|
+
tone: TrueColor;
|
|
103
|
+
variant: PanelVariant;
|
|
104
|
+
disabled: boolean;
|
|
105
|
+
loading: boolean;
|
|
106
|
+
vibrancy: "low" | "medium" | "high" | number;
|
|
107
|
+
glassOpacity: "frosted" | "light" | "clear" | number;
|
|
108
|
+
specularMode: PanelSpecularMode;
|
|
109
|
+
padding: PanelPadding;
|
|
110
|
+
mediaPlacement: PanelMediaPlacement;
|
|
111
|
+
actionLayout: PanelActionLayout;
|
|
112
|
+
corner: PanelCorner;
|
|
113
|
+
flexBody: boolean;
|
|
114
|
+
loaderType: PanelLoaderType;
|
|
115
|
+
hoverShadow: boolean;
|
|
116
|
+
decoration: PanelDecoration;
|
|
117
|
+
scrollable: boolean;
|
|
118
|
+
specularHighlight: boolean;
|
|
119
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
120
|
+
media?: (props: {}) => any;
|
|
121
|
+
} & {
|
|
122
|
+
media?: (props: {}) => any;
|
|
123
|
+
} & {
|
|
124
|
+
badge?: (props: {}) => any;
|
|
125
|
+
} & {
|
|
126
|
+
title?: (props: {}) => any;
|
|
127
|
+
} & {
|
|
128
|
+
subtitle?: (props: {}) => any;
|
|
129
|
+
} & {
|
|
130
|
+
description?: (props: {}) => any;
|
|
131
|
+
} & {
|
|
132
|
+
default?: (props: {}) => any;
|
|
133
|
+
} & {
|
|
134
|
+
media?: (props: {}) => any;
|
|
135
|
+
} & {
|
|
136
|
+
badge?: (props: {}) => any;
|
|
137
|
+
} & {
|
|
138
|
+
title?: (props: {}) => any;
|
|
139
|
+
} & {
|
|
140
|
+
subtitle?: (props: {}) => any;
|
|
141
|
+
} & {
|
|
142
|
+
description?: (props: {}) => any;
|
|
143
|
+
} & {
|
|
144
|
+
default?: (props: {}) => any;
|
|
145
|
+
}>;
|
|
146
|
+
export default _default;
|
|
147
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
148
|
+
new (): {
|
|
149
|
+
$slots: S;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { InputProps } from "./Input.vue";
|
|
2
|
+
export type PasswordInputProps = Omit<InputProps, "trailingIcon" | "onTrailingIconClick">;
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
4
|
+
el: import("vue").ComputedRef<HTMLInputElement | null>;
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { VNodeChild } from "vue";
|
|
2
|
+
import { type TrueColor } from "../theme/Theme";
|
|
3
|
+
import type { TreeTone } from "./TreeView/types";
|
|
4
|
+
export interface PickerTag {
|
|
5
|
+
label: string;
|
|
6
|
+
tone?: TreeTone;
|
|
7
|
+
}
|
|
8
|
+
export interface PickerItem {
|
|
9
|
+
id: string;
|
|
10
|
+
/** Optional leading icon element */
|
|
11
|
+
icon?: VNodeChild;
|
|
12
|
+
title: string;
|
|
13
|
+
subtitle?: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
/** Tags rendered as Pills at the trailing edge of each row */
|
|
16
|
+
tags?: PickerTag[];
|
|
17
|
+
}
|
|
18
|
+
export interface PickerFilter {
|
|
19
|
+
/** Label shown on the filter toggle when active (e.g. "Stopped") */
|
|
20
|
+
label: string;
|
|
21
|
+
/** Predicate that returns true for items included in the filtered view */
|
|
22
|
+
predicate: (item: PickerItem) => boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface PickerProps {
|
|
25
|
+
items: PickerItem[];
|
|
26
|
+
loading?: boolean;
|
|
27
|
+
/** Single-select: the currently selected item id */
|
|
28
|
+
selectedId?: string;
|
|
29
|
+
/** Placeholder shown on the trigger button when nothing is selected */
|
|
30
|
+
placeholder?: string;
|
|
31
|
+
/** Placeholder text inside the search input */
|
|
32
|
+
searchPlaceholder?: string;
|
|
33
|
+
emptyMessage?: string;
|
|
34
|
+
loadingMessage?: string;
|
|
35
|
+
/**
|
|
36
|
+
* When provided, a filter toggle is shown that restricts the list to items
|
|
37
|
+
* matching the predicate. The user can toggle it off to see all items.
|
|
38
|
+
*/
|
|
39
|
+
defaultFilter?: PickerFilter;
|
|
40
|
+
/**
|
|
41
|
+
* When true, the dropdown ignores any clipping ancestor (e.g. a modal's
|
|
42
|
+
* overflow container) and positions itself against the viewport instead.
|
|
43
|
+
* Useful when the picker is inside a constrained modal or panel.
|
|
44
|
+
* Default: false
|
|
45
|
+
*/
|
|
46
|
+
escapeBoundary?: boolean;
|
|
47
|
+
color?: TrueColor;
|
|
48
|
+
/** Enable multi-select mode. Use selectedIds + @multiChange instead of selectedId + @select. */
|
|
49
|
+
multi?: boolean;
|
|
50
|
+
/** Multi-select: the currently selected item ids */
|
|
51
|
+
selectedIds?: string[];
|
|
52
|
+
/** Max individual pills shown in the trigger before collapsing to "N selected". Default: 3 */
|
|
53
|
+
maxPillsShown?: number;
|
|
54
|
+
/** 'sm' renders a compact trigger suitable for toolbars. Default: 'md' */
|
|
55
|
+
size?: "sm" | "md";
|
|
56
|
+
/** When true, the picker fills all available horizontal space. Default: true */
|
|
57
|
+
fullWidth?: boolean;
|
|
58
|
+
/** When true, the picker fills all available vertical space. Default: false */
|
|
59
|
+
fullHeight?: boolean;
|
|
60
|
+
}
|
|
61
|
+
declare const _default: import("vue").DefineComponent<PickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
62
|
+
select: (item: PickerItem) => any;
|
|
63
|
+
"update:selectedId": (id: string) => any;
|
|
64
|
+
multiChange: (ids: string[]) => any;
|
|
65
|
+
"update:selectedIds": (ids: string[]) => any;
|
|
66
|
+
}, string, import("vue").PublicProps, Readonly<PickerProps> & Readonly<{
|
|
67
|
+
onSelect?: ((item: PickerItem) => any) | undefined;
|
|
68
|
+
"onUpdate:selectedId"?: ((id: string) => any) | undefined;
|
|
69
|
+
onMultiChange?: ((ids: string[]) => any) | undefined;
|
|
70
|
+
"onUpdate:selectedIds"?: ((ids: string[]) => any) | undefined;
|
|
71
|
+
}>, {
|
|
72
|
+
color: TrueColor;
|
|
73
|
+
size: "sm" | "md";
|
|
74
|
+
placeholder: string;
|
|
75
|
+
fullWidth: boolean;
|
|
76
|
+
loading: boolean;
|
|
77
|
+
fullHeight: boolean;
|
|
78
|
+
emptyMessage: string;
|
|
79
|
+
loadingMessage: string;
|
|
80
|
+
escapeBoundary: boolean;
|
|
81
|
+
multi: boolean;
|
|
82
|
+
maxPillsShown: number;
|
|
83
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
84
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { VNode } from "vue";
|
|
2
|
+
import type { TrueColor } from "../theme/Theme";
|
|
3
|
+
export type PillVariant = "solid" | "soft" | "outline";
|
|
4
|
+
export type PillSize = "xs" | "sm" | "md" | "lg";
|
|
5
|
+
export type PillTone = TrueColor;
|
|
6
|
+
export interface PillProps {
|
|
7
|
+
tone?: PillTone;
|
|
8
|
+
variant?: PillVariant;
|
|
9
|
+
size?: PillSize;
|
|
10
|
+
uppercase?: boolean;
|
|
11
|
+
icon?: string | VNode;
|
|
12
|
+
dot?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PillProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PillProps> & Readonly<{}>, {
|
|
15
|
+
tone: PillTone;
|
|
16
|
+
variant: PillVariant;
|
|
17
|
+
dot: boolean;
|
|
18
|
+
size: PillSize;
|
|
19
|
+
uppercase: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
21
|
+
icon?: (props: {}) => any;
|
|
22
|
+
} & {
|
|
23
|
+
default?: (props: {}) => any;
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import "../../../react/src/components/progress-animations.css";
|
|
2
|
+
import type { SpinnerColor } from "./Spinner.vue";
|
|
3
|
+
export type ProgressSize = "xs" | "sm" | "md" | "lg";
|
|
4
|
+
export type ProgressMotion = "none" | "shimmer" | "pulse" | "shimmer-pulse" | "stripes" | "stripes-shimmer";
|
|
5
|
+
export type ProgressMotionSpeed = "slow" | "normal" | "fast";
|
|
6
|
+
export type ProgressMotionDirection = "forward" | "reverse";
|
|
7
|
+
export interface ProgressProps {
|
|
8
|
+
value?: number;
|
|
9
|
+
size?: ProgressSize;
|
|
10
|
+
color?: SpinnerColor;
|
|
11
|
+
motion?: ProgressMotion;
|
|
12
|
+
motionSpeed?: ProgressMotionSpeed;
|
|
13
|
+
motionDirection?: ProgressMotionDirection;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Use `motion="shimmer"` or `motion="none"` instead.
|
|
16
|
+
*/
|
|
17
|
+
showShimmer?: boolean;
|
|
18
|
+
}
|
|
19
|
+
declare const _default: import("vue").DefineComponent<ProgressProps, {
|
|
20
|
+
el: import("vue").Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
21
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressProps> & Readonly<{}>, {
|
|
22
|
+
color: SpinnerColor;
|
|
23
|
+
size: ProgressSize;
|
|
24
|
+
value: number;
|
|
25
|
+
motionSpeed: ProgressMotionSpeed;
|
|
26
|
+
motionDirection: ProgressMotionDirection;
|
|
27
|
+
showShimmer: boolean;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { VNode } from "vue";
|
|
2
|
+
import type { TrueColor } from "../theme/Theme";
|
|
3
|
+
export interface SearchBarProps {
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
debounceMs?: number;
|
|
6
|
+
autoSearch?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
initialValue?: string;
|
|
9
|
+
shouldClear?: boolean;
|
|
10
|
+
leadingIcon?: string | VNode;
|
|
11
|
+
variant?: "default" | "gradient";
|
|
12
|
+
/** Accent colour for focus ring, icon highlight, and clear-button hover. Default: 'blue' */
|
|
13
|
+
color?: TrueColor;
|
|
14
|
+
/**
|
|
15
|
+
* Start (darker) colour of the gradient glow (gradient variant only).
|
|
16
|
+
* Defaults to the -600 shade of `color` when omitted.
|
|
17
|
+
*/
|
|
18
|
+
gradientFrom?: string;
|
|
19
|
+
/**
|
|
20
|
+
* End (lighter) colour of the gradient glow (gradient variant only).
|
|
21
|
+
* Defaults to the -400 shade of `color` when omitted.
|
|
22
|
+
*/
|
|
23
|
+
gradientTo?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Controls how prominent the gradient glow is (gradient variant only).
|
|
26
|
+
* - `subtle` – barely visible; a hint of colour at the border
|
|
27
|
+
* - `soft` – gentle glow, low key (default)
|
|
28
|
+
* - `medium` – clearly visible glow
|
|
29
|
+
* - `strong` – bold, wide glow
|
|
30
|
+
*/
|
|
31
|
+
glowIntensity?: "subtle" | "soft" | "medium" | "strong";
|
|
32
|
+
}
|
|
33
|
+
declare const _default: import("vue").DefineComponent<SearchBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
34
|
+
clear: () => any;
|
|
35
|
+
search: (query: string, signal?: AbortSignal | undefined) => any;
|
|
36
|
+
}, string, import("vue").PublicProps, Readonly<SearchBarProps> & Readonly<{
|
|
37
|
+
onClear?: (() => any) | undefined;
|
|
38
|
+
onSearch?: ((query: string, signal?: AbortSignal | undefined) => any) | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
color: TrueColor;
|
|
41
|
+
variant: "default" | "gradient";
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
placeholder: string;
|
|
44
|
+
leadingIcon: string | VNode;
|
|
45
|
+
debounceMs: number;
|
|
46
|
+
autoSearch: boolean;
|
|
47
|
+
initialValue: string;
|
|
48
|
+
shouldClear: boolean;
|
|
49
|
+
glowIntensity: "subtle" | "soft" | "medium" | "strong";
|
|
50
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
|
+
export default _default;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export type SectionSize = "xs" | "sm" | "md" | "lg";
|
|
2
|
+
export type SectionVariant =
|
|
3
|
+
/** Bold neutral title, no extra decoration (clean default). */
|
|
4
|
+
"default"
|
|
5
|
+
/** Lighter muted title — lower visual weight. */
|
|
6
|
+
| "subtle"
|
|
7
|
+
/** Tiny all-caps + wide letter-spacing (matches standard detail-panel style). */
|
|
8
|
+
| "uppercase"
|
|
9
|
+
/** Same as `default` but with a bottom border separating header from body. */
|
|
10
|
+
| "bordered"
|
|
11
|
+
/** Subtle filled background on the header strip. */
|
|
12
|
+
| "filled";
|
|
13
|
+
export interface SectionProps {
|
|
14
|
+
/** Section heading. */
|
|
15
|
+
title?: string;
|
|
16
|
+
/** Optional secondary line below the title. */
|
|
17
|
+
subtitle?: string;
|
|
18
|
+
/** Controls header padding and title/subtitle font size. Defaults to `'md'`. */
|
|
19
|
+
size?: SectionSize;
|
|
20
|
+
/** Visual style of the section header. Defaults to `'uppercase'`. */
|
|
21
|
+
variant?: SectionVariant;
|
|
22
|
+
/**
|
|
23
|
+
* Override title text size independently from `size`.
|
|
24
|
+
* Accepts any Tailwind text-size class, e.g. `"text-xs"` or `"text-sm"`.
|
|
25
|
+
*/
|
|
26
|
+
titleSize?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Override title text colour / weight independently from `variant`.
|
|
29
|
+
* e.g. `"text-sky-600 font-bold"`
|
|
30
|
+
* Merged after variant styles so it wins on conflicts.
|
|
31
|
+
*/
|
|
32
|
+
titleColor?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Override subtitle text size independently from `size`.
|
|
35
|
+
* e.g. `"text-[10px]"`
|
|
36
|
+
*/
|
|
37
|
+
subtitleSize?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Override subtitle text colour / weight.
|
|
40
|
+
* e.g. `"text-neutral-600 dark:text-neutral-300"`
|
|
41
|
+
*/
|
|
42
|
+
subtitleColor?: string;
|
|
43
|
+
/** Extra classes for the title span. */
|
|
44
|
+
titleClassName?: string;
|
|
45
|
+
/** Extra classes for the subtitle span. */
|
|
46
|
+
subtitleClassName?: string;
|
|
47
|
+
/** Extra classes for the body wrapper div. */
|
|
48
|
+
bodyClassName?: string;
|
|
49
|
+
/** Extra classes for the header wrapper div. */
|
|
50
|
+
headerClassName?: string;
|
|
51
|
+
/** Whether to remove all padding from the section. */
|
|
52
|
+
noPadding?: boolean;
|
|
53
|
+
}
|
|
54
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SectionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SectionProps> & Readonly<{}>, {
|
|
55
|
+
variant: SectionVariant;
|
|
56
|
+
size: SectionSize;
|
|
57
|
+
noPadding: boolean;
|
|
58
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
59
|
+
title?: (props: {}) => any;
|
|
60
|
+
} & {
|
|
61
|
+
subtitle?: (props: {}) => any;
|
|
62
|
+
} & {
|
|
63
|
+
actions?: (props: {}) => any;
|
|
64
|
+
} & {
|
|
65
|
+
default?: (props: {}) => any;
|
|
66
|
+
}>;
|
|
67
|
+
export default _default;
|
|
68
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
69
|
+
new (): {
|
|
70
|
+
$slots: S;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type SectionCardVariant = "glass" | "elevated" | "subtle" | "flat";
|
|
2
|
+
export type SectionCardSize = "sm" | "md" | "lg";
|
|
3
|
+
export interface SectionCardProps {
|
|
4
|
+
/** Section heading displayed above the content area. */
|
|
5
|
+
title: string;
|
|
6
|
+
titleClassName?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Visual treatment of the card container.
|
|
9
|
+
* - `glass` — frosted glass (default)
|
|
10
|
+
* - `elevated` — white/dark surface with shadow
|
|
11
|
+
* - `subtle` — very light tinted background, no border
|
|
12
|
+
* - `flat` — no background or border; title + content only
|
|
13
|
+
*/
|
|
14
|
+
variant?: SectionCardVariant;
|
|
15
|
+
/** Body padding size. Defaults to 'md'. */
|
|
16
|
+
size?: SectionCardSize;
|
|
17
|
+
/** Blur the body content (e.g. to indicate unavailable data). */
|
|
18
|
+
blur?: boolean;
|
|
19
|
+
bodyClassName?: string;
|
|
20
|
+
}
|
|
21
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SectionCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SectionCardProps> & Readonly<{}>, {
|
|
22
|
+
variant: SectionCardVariant;
|
|
23
|
+
size: SectionCardSize;
|
|
24
|
+
blur: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
26
|
+
actions?: (props: {}) => any;
|
|
27
|
+
} & {
|
|
28
|
+
default?: (props: {}) => any;
|
|
29
|
+
}>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { VNode } from "vue";
|
|
2
|
+
import type { TrueColor } from "../theme/Theme";
|
|
3
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SelectProps, {
|
|
4
|
+
el: import("vue").Ref<HTMLSelectElement | null, HTMLSelectElement | null>;
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
change: (event: Event) => any;
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<SelectProps> & Readonly<{
|
|
9
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
10
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
tone: TrueColor;
|
|
13
|
+
size: SelectSize;
|
|
14
|
+
validationStatus: SelectValidationStatus;
|
|
15
|
+
unstyled: boolean;
|
|
16
|
+
hideCaret: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
18
|
+
placeholder?: (props: {}) => any;
|
|
19
|
+
} & {
|
|
20
|
+
default?: (props: {}) => any;
|
|
21
|
+
}>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type SelectSize = "sm" | "md" | "lg";
|
|
24
|
+
type SelectValidationStatus = "none" | "error" | "success";
|
|
25
|
+
export interface SelectProps {
|
|
26
|
+
modelValue?: string;
|
|
27
|
+
size?: SelectSize;
|
|
28
|
+
tone?: TrueColor;
|
|
29
|
+
validationStatus?: SelectValidationStatus;
|
|
30
|
+
placeholder?: string;
|
|
31
|
+
leadingIcon?: string | VNode;
|
|
32
|
+
hideCaret?: boolean;
|
|
33
|
+
unstyled?: boolean;
|
|
34
|
+
disabled?: boolean;
|
|
35
|
+
multiple?: boolean;
|
|
36
|
+
}
|
|
37
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import type { VNodeChild } from "vue";
|
|
2
|
+
import { type IconName } from "../icons/registry";
|
|
3
|
+
import type { TrueColor } from "../theme";
|
|
4
|
+
export type SideMenuItemType = "link" | "group" | "divider";
|
|
5
|
+
export interface SideMenuGuardClaim {
|
|
6
|
+
type: "claim";
|
|
7
|
+
claim: string;
|
|
8
|
+
}
|
|
9
|
+
export interface SideMenuGuardAnyClaim {
|
|
10
|
+
type: "anyClaim";
|
|
11
|
+
claims: string[];
|
|
12
|
+
}
|
|
13
|
+
export interface SideMenuGuardAllClaims {
|
|
14
|
+
type: "allClaims";
|
|
15
|
+
claims: string[];
|
|
16
|
+
}
|
|
17
|
+
export interface SideMenuGuardRole {
|
|
18
|
+
type: "role";
|
|
19
|
+
role: string;
|
|
20
|
+
}
|
|
21
|
+
export interface SideMenuGuardAnyRole {
|
|
22
|
+
type: "anyRole";
|
|
23
|
+
roles: string[];
|
|
24
|
+
}
|
|
25
|
+
export interface SideMenuGuardModule {
|
|
26
|
+
type: "module";
|
|
27
|
+
module: string;
|
|
28
|
+
}
|
|
29
|
+
export interface SideMenuGuardAnyModule {
|
|
30
|
+
type: "anyModule";
|
|
31
|
+
modules: string[];
|
|
32
|
+
}
|
|
33
|
+
export interface SideMenuGuardCustom {
|
|
34
|
+
type: "custom";
|
|
35
|
+
fn: () => boolean;
|
|
36
|
+
}
|
|
37
|
+
export type SideMenuItemGuard = SideMenuGuardClaim | SideMenuGuardAnyClaim | SideMenuGuardAllClaims | SideMenuGuardRole | SideMenuGuardAnyRole | SideMenuGuardModule | SideMenuGuardAnyModule | SideMenuGuardCustom;
|
|
38
|
+
export interface SideMenuItemBase {
|
|
39
|
+
/** When true, the item is not rendered in the menu */
|
|
40
|
+
hidden?: boolean;
|
|
41
|
+
slug: string;
|
|
42
|
+
/** Guard rules — ALL must pass (AND logic). */
|
|
43
|
+
guards?: SideMenuItemGuard[];
|
|
44
|
+
}
|
|
45
|
+
export interface SideMenuSettings {
|
|
46
|
+
/** When true, the menu is collapsed */
|
|
47
|
+
collapsed?: boolean;
|
|
48
|
+
}
|
|
49
|
+
export interface SideMenuItemLink extends SideMenuItemBase {
|
|
50
|
+
color?: TrueColor;
|
|
51
|
+
type?: "link";
|
|
52
|
+
label: string;
|
|
53
|
+
path: string;
|
|
54
|
+
icon?: IconName;
|
|
55
|
+
groupName?: string;
|
|
56
|
+
/** Optional badge rendered to the right of the label (e.g. active job count). */
|
|
57
|
+
badge?: VNodeChild;
|
|
58
|
+
}
|
|
59
|
+
export interface SideMenuItemGroup extends SideMenuItemBase {
|
|
60
|
+
type: "group";
|
|
61
|
+
label: string;
|
|
62
|
+
/** When true, renders a divider line immediately before the group header. */
|
|
63
|
+
hasDivider?: boolean;
|
|
64
|
+
}
|
|
65
|
+
export interface SideMenuItemDivider extends SideMenuItemBase {
|
|
66
|
+
type: "divider";
|
|
67
|
+
groupName?: string;
|
|
68
|
+
}
|
|
69
|
+
export type SideMenuItem = SideMenuItemLink | SideMenuItemGroup | SideMenuItemDivider;
|
|
70
|
+
export interface SideMenuProps {
|
|
71
|
+
color?: TrueColor;
|
|
72
|
+
title?: string;
|
|
73
|
+
/** Icon element shown in the logo area (always visible, collapsed or expanded) */
|
|
74
|
+
logoIcon?: VNodeChild;
|
|
75
|
+
/** Text element shown next to the logoIcon when expanded */
|
|
76
|
+
logoText?: VNodeChild;
|
|
77
|
+
items: SideMenuItem[];
|
|
78
|
+
collapsed?: boolean;
|
|
79
|
+
onToggleCollapse?: () => void;
|
|
80
|
+
mobileOpen?: boolean;
|
|
81
|
+
onCloseMobile?: () => void;
|
|
82
|
+
/** When true, the desktop sidebar uses h-full instead of a fixed calc height. */
|
|
83
|
+
fullHeight?: boolean;
|
|
84
|
+
/** Called with item.guards; return true = show. Omit to show all. */
|
|
85
|
+
guardEvaluator?: (guards: SideMenuItemGuard[]) => boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Active module view filter (e.g. 'all' | 'host' | 'orchestrator').
|
|
88
|
+
* When set to a non-'all' value, items whose module/anyModule guards reference
|
|
89
|
+
* a module listed in `moduleViewOptions` must match this value to be shown.
|
|
90
|
+
* Modules NOT in `moduleViewOptions` (e.g. 'reverse_proxy', 'api') are never
|
|
91
|
+
* subject to the view filter and behave as before.
|
|
92
|
+
* Items with no module guard are always shown.
|
|
93
|
+
*/
|
|
94
|
+
activeModuleView?: string;
|
|
95
|
+
/**
|
|
96
|
+
* The set of module names that are treated as view-selectable
|
|
97
|
+
* (e.g. ['host', 'orchestrator']). Only module guards whose value appears
|
|
98
|
+
* in this list are subject to the activeModuleView filter.
|
|
99
|
+
* Defaults to [] (no view filtering on any module).
|
|
100
|
+
*/
|
|
101
|
+
moduleViewOptions?: readonly string[];
|
|
102
|
+
}
|
|
103
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SideMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SideMenuProps> & Readonly<{}>, {
|
|
104
|
+
color: TrueColor;
|
|
105
|
+
fullHeight: boolean;
|
|
106
|
+
collapsed: boolean;
|
|
107
|
+
mobileOpen: boolean;
|
|
108
|
+
moduleViewOptions: readonly string[];
|
|
109
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
110
|
+
logoIcon?: (props: {}) => any;
|
|
111
|
+
} & {
|
|
112
|
+
logoText?: (props: {}) => any;
|
|
113
|
+
}>;
|
|
114
|
+
export default _default;
|
|
115
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
116
|
+
new (): {
|
|
117
|
+
$slots: S;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { VNodeChild } from "vue";
|
|
2
|
+
import type { SideMenuProps } from "./SideMenu.vue";
|
|
3
|
+
export interface SideMenuLayoutProps {
|
|
4
|
+
/** Props passed to the SideMenu component (including color). */
|
|
5
|
+
sideMenuProps: SideMenuProps;
|
|
6
|
+
/** Additional class name for the header section */
|
|
7
|
+
headerClassName?: string;
|
|
8
|
+
/** Additional class name for the scrollable body */
|
|
9
|
+
bodyClassName?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Per-item actions from the list/sidebar (e.g. edit/delete buttons for the active item).
|
|
12
|
+
* Consumed by the header via `useSideMenuActions`.
|
|
13
|
+
*/
|
|
14
|
+
sideItemActions?: VNodeChild;
|
|
15
|
+
/**
|
|
16
|
+
* Actions from the detail/side panel (e.g. PageHeader action buttons).
|
|
17
|
+
* Consumed by the header via `useSideMenuActions`.
|
|
18
|
+
*/
|
|
19
|
+
sidePanelActions?: VNodeChild;
|
|
20
|
+
}
|
|
21
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SideMenuLayoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SideMenuLayoutProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
22
|
+
header?: (props: {}) => any;
|
|
23
|
+
} & {
|
|
24
|
+
default?: (props: {}) => any;
|
|
25
|
+
}>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|