@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,39 @@
|
|
|
1
|
+
import type { CapsuleBlueprintParameter } from "../types/CapsuleBlueprint";
|
|
2
|
+
/**
|
|
3
|
+
* MarkdownEditor Component
|
|
4
|
+
* Vue port of the React MarkdownEditor (which wraps @uiw/react-md-editor).
|
|
5
|
+
* Re-implemented as a plain <textarea> editor with a minimal internal
|
|
6
|
+
* markdown -> HTML preview, keeping Smart Variable support and the same
|
|
7
|
+
* props API. No external markdown dependency.
|
|
8
|
+
*/
|
|
9
|
+
export interface MarkdownEditorProps {
|
|
10
|
+
/** Current markdown source (v-model). */
|
|
11
|
+
modelValue?: string;
|
|
12
|
+
height?: number;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
readOnly?: boolean;
|
|
15
|
+
preview?: "live" | "edit" | "preview";
|
|
16
|
+
globalParameters?: CapsuleBlueprintParameter[];
|
|
17
|
+
serviceNames?: string[];
|
|
18
|
+
context?: {
|
|
19
|
+
slug?: string;
|
|
20
|
+
enable_https?: boolean;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
declare const _default: import("vue").DefineComponent<MarkdownEditorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (value: string) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<MarkdownEditorProps> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
height: number;
|
|
29
|
+
modelValue: string;
|
|
30
|
+
readOnly: boolean;
|
|
31
|
+
globalParameters: CapsuleBlueprintParameter[];
|
|
32
|
+
serviceNames: string[];
|
|
33
|
+
context: {
|
|
34
|
+
slug?: string;
|
|
35
|
+
enable_https?: boolean;
|
|
36
|
+
};
|
|
37
|
+
preview: "live" | "edit" | "preview";
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SpinnerColor } from "./Spinner.vue";
|
|
2
|
+
export interface MetricBarProps {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
percentage: number;
|
|
6
|
+
color?: SpinnerColor;
|
|
7
|
+
showShimmer?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export { default as MetricBar } from "./MetricBar.vue";
|
|
10
|
+
declare const _default: import("vue").DefineComponent<MetricBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MetricBarProps> & Readonly<{}>, {
|
|
11
|
+
color: SpinnerColor;
|
|
12
|
+
showShimmer: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
import { type PropType, type VNode } from "vue";
|
|
2
|
+
import type { ButtonProps, ButtonVariant, ButtonColor } from "./Button.vue";
|
|
3
|
+
import type { TabsProps } from "./Tabs.vue";
|
|
4
|
+
import type { Size } from "../theme";
|
|
5
|
+
import { type IconName } from "../icons/registry";
|
|
6
|
+
type ModalActionsAlign = "start" | "center" | "end" | "between";
|
|
7
|
+
export interface ModalActionsProps {
|
|
8
|
+
align?: ModalActionsAlign;
|
|
9
|
+
}
|
|
10
|
+
export declare const ModalActions: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
11
|
+
align: {
|
|
12
|
+
type: PropType<ModalActionsAlign>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
align: {
|
|
19
|
+
type: PropType<ModalActionsAlign>;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{}>, {
|
|
23
|
+
align: ModalActionsAlign;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
/** Focus target for `initialFocusRef`: an element or a template/`ref()` box. */
|
|
26
|
+
export type ModalFocusTarget = HTMLElement | {
|
|
27
|
+
value: HTMLElement | null;
|
|
28
|
+
} | null;
|
|
29
|
+
/** Header action rendered as a kit Button; `label` becomes the button content. */
|
|
30
|
+
export type ModalHeaderAction = ButtonProps & {
|
|
31
|
+
label?: string | VNode;
|
|
32
|
+
onClick?: (event: MouseEvent) => void;
|
|
33
|
+
};
|
|
34
|
+
export interface ModalProps {
|
|
35
|
+
isOpen: boolean;
|
|
36
|
+
title?: string;
|
|
37
|
+
description?: string;
|
|
38
|
+
icon?: IconName | VNode;
|
|
39
|
+
bodyHeader?: string;
|
|
40
|
+
bodyClassName?: string;
|
|
41
|
+
footer?: string;
|
|
42
|
+
actions?: string;
|
|
43
|
+
size?: Size;
|
|
44
|
+
maxWidth?: number | string;
|
|
45
|
+
minWidth?: number | string;
|
|
46
|
+
minHeight?: number | string;
|
|
47
|
+
backgroundClassName?: string;
|
|
48
|
+
background_color?: string;
|
|
49
|
+
darkOverlay?: boolean;
|
|
50
|
+
dark_overlay?: boolean;
|
|
51
|
+
closeOnBackdropClick?: boolean;
|
|
52
|
+
closeOnEsc?: boolean;
|
|
53
|
+
preventScroll?: boolean;
|
|
54
|
+
overlayClassName?: string;
|
|
55
|
+
showFooterDivider?: boolean;
|
|
56
|
+
headerActions?: ModalHeaderAction[];
|
|
57
|
+
header_actions?: ModalHeaderAction[];
|
|
58
|
+
headerTabs?: TabsProps & Record<string, unknown>;
|
|
59
|
+
header_tabs?: TabsProps & Record<string, unknown>;
|
|
60
|
+
loading?: boolean;
|
|
61
|
+
loadingTitle?: string;
|
|
62
|
+
loadingLabel?: string;
|
|
63
|
+
hideCloseButton?: boolean;
|
|
64
|
+
/** Tooltip for the back button. Defaults to "Go back". */
|
|
65
|
+
backTooltip?: string;
|
|
66
|
+
initialFocusRef?: ModalFocusTarget;
|
|
67
|
+
ariaLabel?: string;
|
|
68
|
+
role?: "dialog" | "alertdialog";
|
|
69
|
+
}
|
|
70
|
+
interface ConfirmModalOwnProps {
|
|
71
|
+
confirmLabel?: string | VNode;
|
|
72
|
+
cancelLabel?: string | VNode;
|
|
73
|
+
confirmVariant?: ButtonVariant;
|
|
74
|
+
confirmColor?: ButtonColor;
|
|
75
|
+
isConfirmDisabled?: boolean;
|
|
76
|
+
confirmButtonProps?: ButtonProps & Record<string, unknown>;
|
|
77
|
+
cancelButtonProps?: ButtonProps & Record<string, unknown>;
|
|
78
|
+
}
|
|
79
|
+
export interface ConfirmModalProps extends Omit<ModalProps, "footer" | "actions">, ConfirmModalOwnProps {
|
|
80
|
+
}
|
|
81
|
+
export declare const ConfirmModal: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
82
|
+
confirmLabel: {
|
|
83
|
+
type: PropType<string | VNode>;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
cancelLabel: {
|
|
87
|
+
type: PropType<string | VNode>;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
confirmVariant: {
|
|
91
|
+
type: PropType<ButtonVariant>;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
confirmColor: {
|
|
95
|
+
type: PropType<ButtonColor>;
|
|
96
|
+
default: undefined;
|
|
97
|
+
};
|
|
98
|
+
isConfirmDisabled: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
confirmButtonProps: {
|
|
103
|
+
type: PropType<ButtonProps & Record<string, unknown>>;
|
|
104
|
+
default: undefined;
|
|
105
|
+
};
|
|
106
|
+
cancelButtonProps: {
|
|
107
|
+
type: PropType<ButtonProps & Record<string, unknown>>;
|
|
108
|
+
default: undefined;
|
|
109
|
+
};
|
|
110
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
111
|
+
[key: string]: any;
|
|
112
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "confirm")[], "close" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
113
|
+
confirmLabel: {
|
|
114
|
+
type: PropType<string | VNode>;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
cancelLabel: {
|
|
118
|
+
type: PropType<string | VNode>;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
confirmVariant: {
|
|
122
|
+
type: PropType<ButtonVariant>;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
confirmColor: {
|
|
126
|
+
type: PropType<ButtonColor>;
|
|
127
|
+
default: undefined;
|
|
128
|
+
};
|
|
129
|
+
isConfirmDisabled: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
|
+
confirmButtonProps: {
|
|
134
|
+
type: PropType<ButtonProps & Record<string, unknown>>;
|
|
135
|
+
default: undefined;
|
|
136
|
+
};
|
|
137
|
+
cancelButtonProps: {
|
|
138
|
+
type: PropType<ButtonProps & Record<string, unknown>>;
|
|
139
|
+
default: undefined;
|
|
140
|
+
};
|
|
141
|
+
}>> & Readonly<{
|
|
142
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
143
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
144
|
+
}>, {
|
|
145
|
+
confirmLabel: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
146
|
+
[key: string]: any;
|
|
147
|
+
}>;
|
|
148
|
+
cancelLabel: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
149
|
+
[key: string]: any;
|
|
150
|
+
}>;
|
|
151
|
+
confirmVariant: ButtonVariant;
|
|
152
|
+
confirmColor: import("../theme").TrueColor;
|
|
153
|
+
isConfirmDisabled: boolean;
|
|
154
|
+
confirmButtonProps: ButtonProps & Record<string, unknown>;
|
|
155
|
+
cancelButtonProps: ButtonProps & Record<string, unknown>;
|
|
156
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
157
|
+
export interface DeleteConfirmModalProps extends Omit<ConfirmModalProps, "confirmLabel" | "confirmVariant" | "confirmColor"> {
|
|
158
|
+
/** The exact string the user must type to enable the delete button. */
|
|
159
|
+
confirmValue: string;
|
|
160
|
+
/** Human-readable label shown in the instruction, e.g. "key name". Default: "name" */
|
|
161
|
+
confirmValueLabel?: string;
|
|
162
|
+
confirmLabel?: string | VNode;
|
|
163
|
+
}
|
|
164
|
+
export interface ApplyConfirmModalProps extends Omit<ConfirmModalProps, "confirmLabel" | "confirmVariant" | "confirmColor"> {
|
|
165
|
+
/** The exact string the user must type to enable the apply button. */
|
|
166
|
+
confirmValue: string;
|
|
167
|
+
/** Human-readable label shown in the instruction, e.g. "key name". Default: "name" */
|
|
168
|
+
confirmValueLabel?: string;
|
|
169
|
+
confirmLabel?: string | VNode;
|
|
170
|
+
}
|
|
171
|
+
export declare const DeleteConfirmModal: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
172
|
+
isOpen: {
|
|
173
|
+
type: BooleanConstructor;
|
|
174
|
+
required: true;
|
|
175
|
+
};
|
|
176
|
+
confirmValue: {
|
|
177
|
+
type: StringConstructor;
|
|
178
|
+
required: true;
|
|
179
|
+
};
|
|
180
|
+
confirmValueLabel: {
|
|
181
|
+
type: StringConstructor;
|
|
182
|
+
default: string;
|
|
183
|
+
};
|
|
184
|
+
confirmLabel: {
|
|
185
|
+
type: PropType<string | VNode>;
|
|
186
|
+
default: string;
|
|
187
|
+
};
|
|
188
|
+
cancelLabel: {
|
|
189
|
+
type: PropType<string | VNode>;
|
|
190
|
+
default: string;
|
|
191
|
+
};
|
|
192
|
+
isConfirmDisabled: {
|
|
193
|
+
type: BooleanConstructor;
|
|
194
|
+
default: boolean;
|
|
195
|
+
};
|
|
196
|
+
confirmButtonProps: {
|
|
197
|
+
type: PropType<ButtonProps & Record<string, unknown>>;
|
|
198
|
+
default: undefined;
|
|
199
|
+
};
|
|
200
|
+
cancelButtonProps: {
|
|
201
|
+
type: PropType<ButtonProps & Record<string, unknown>>;
|
|
202
|
+
default: undefined;
|
|
203
|
+
};
|
|
204
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
205
|
+
[key: string]: any;
|
|
206
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "confirm")[], "close" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
207
|
+
isOpen: {
|
|
208
|
+
type: BooleanConstructor;
|
|
209
|
+
required: true;
|
|
210
|
+
};
|
|
211
|
+
confirmValue: {
|
|
212
|
+
type: StringConstructor;
|
|
213
|
+
required: true;
|
|
214
|
+
};
|
|
215
|
+
confirmValueLabel: {
|
|
216
|
+
type: StringConstructor;
|
|
217
|
+
default: string;
|
|
218
|
+
};
|
|
219
|
+
confirmLabel: {
|
|
220
|
+
type: PropType<string | VNode>;
|
|
221
|
+
default: string;
|
|
222
|
+
};
|
|
223
|
+
cancelLabel: {
|
|
224
|
+
type: PropType<string | VNode>;
|
|
225
|
+
default: string;
|
|
226
|
+
};
|
|
227
|
+
isConfirmDisabled: {
|
|
228
|
+
type: BooleanConstructor;
|
|
229
|
+
default: boolean;
|
|
230
|
+
};
|
|
231
|
+
confirmButtonProps: {
|
|
232
|
+
type: PropType<ButtonProps & Record<string, unknown>>;
|
|
233
|
+
default: undefined;
|
|
234
|
+
};
|
|
235
|
+
cancelButtonProps: {
|
|
236
|
+
type: PropType<ButtonProps & Record<string, unknown>>;
|
|
237
|
+
default: undefined;
|
|
238
|
+
};
|
|
239
|
+
}>> & Readonly<{
|
|
240
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
241
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
242
|
+
}>, {
|
|
243
|
+
confirmLabel: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
244
|
+
[key: string]: any;
|
|
245
|
+
}>;
|
|
246
|
+
cancelLabel: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
247
|
+
[key: string]: any;
|
|
248
|
+
}>;
|
|
249
|
+
isConfirmDisabled: boolean;
|
|
250
|
+
confirmButtonProps: ButtonProps & Record<string, unknown>;
|
|
251
|
+
cancelButtonProps: ButtonProps & Record<string, unknown>;
|
|
252
|
+
confirmValueLabel: string;
|
|
253
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
254
|
+
export declare const ApplyConfirmModal: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
255
|
+
isOpen: {
|
|
256
|
+
type: BooleanConstructor;
|
|
257
|
+
required: true;
|
|
258
|
+
};
|
|
259
|
+
confirmValue: {
|
|
260
|
+
type: StringConstructor;
|
|
261
|
+
required: true;
|
|
262
|
+
};
|
|
263
|
+
confirmValueLabel: {
|
|
264
|
+
type: StringConstructor;
|
|
265
|
+
default: string;
|
|
266
|
+
};
|
|
267
|
+
confirmLabel: {
|
|
268
|
+
type: PropType<string | VNode>;
|
|
269
|
+
default: string;
|
|
270
|
+
};
|
|
271
|
+
cancelLabel: {
|
|
272
|
+
type: PropType<string | VNode>;
|
|
273
|
+
default: string;
|
|
274
|
+
};
|
|
275
|
+
isConfirmDisabled: {
|
|
276
|
+
type: BooleanConstructor;
|
|
277
|
+
default: boolean;
|
|
278
|
+
};
|
|
279
|
+
confirmButtonProps: {
|
|
280
|
+
type: PropType<ButtonProps & Record<string, unknown>>;
|
|
281
|
+
default: undefined;
|
|
282
|
+
};
|
|
283
|
+
cancelButtonProps: {
|
|
284
|
+
type: PropType<ButtonProps & Record<string, unknown>>;
|
|
285
|
+
default: undefined;
|
|
286
|
+
};
|
|
287
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
288
|
+
[key: string]: any;
|
|
289
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "confirm")[], "close" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
290
|
+
isOpen: {
|
|
291
|
+
type: BooleanConstructor;
|
|
292
|
+
required: true;
|
|
293
|
+
};
|
|
294
|
+
confirmValue: {
|
|
295
|
+
type: StringConstructor;
|
|
296
|
+
required: true;
|
|
297
|
+
};
|
|
298
|
+
confirmValueLabel: {
|
|
299
|
+
type: StringConstructor;
|
|
300
|
+
default: string;
|
|
301
|
+
};
|
|
302
|
+
confirmLabel: {
|
|
303
|
+
type: PropType<string | VNode>;
|
|
304
|
+
default: string;
|
|
305
|
+
};
|
|
306
|
+
cancelLabel: {
|
|
307
|
+
type: PropType<string | VNode>;
|
|
308
|
+
default: string;
|
|
309
|
+
};
|
|
310
|
+
isConfirmDisabled: {
|
|
311
|
+
type: BooleanConstructor;
|
|
312
|
+
default: boolean;
|
|
313
|
+
};
|
|
314
|
+
confirmButtonProps: {
|
|
315
|
+
type: PropType<ButtonProps & Record<string, unknown>>;
|
|
316
|
+
default: undefined;
|
|
317
|
+
};
|
|
318
|
+
cancelButtonProps: {
|
|
319
|
+
type: PropType<ButtonProps & Record<string, unknown>>;
|
|
320
|
+
default: undefined;
|
|
321
|
+
};
|
|
322
|
+
}>> & Readonly<{
|
|
323
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
324
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
325
|
+
}>, {
|
|
326
|
+
confirmLabel: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
327
|
+
[key: string]: any;
|
|
328
|
+
}>;
|
|
329
|
+
cancelLabel: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
330
|
+
[key: string]: any;
|
|
331
|
+
}>;
|
|
332
|
+
isConfirmDisabled: boolean;
|
|
333
|
+
confirmButtonProps: ButtonProps & Record<string, unknown>;
|
|
334
|
+
cancelButtonProps: ButtonProps & Record<string, unknown>;
|
|
335
|
+
confirmValueLabel: string;
|
|
336
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
337
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
338
|
+
close: () => any;
|
|
339
|
+
back: () => any;
|
|
340
|
+
}, string, import("vue").PublicProps, Readonly<ModalProps> & Readonly<{
|
|
341
|
+
onClose?: (() => any) | undefined;
|
|
342
|
+
onBack?: (() => any) | undefined;
|
|
343
|
+
}>, {
|
|
344
|
+
role: "dialog" | "alertdialog";
|
|
345
|
+
size: Size;
|
|
346
|
+
closeOnBackdropClick: boolean;
|
|
347
|
+
closeOnEsc: boolean;
|
|
348
|
+
preventScroll: boolean;
|
|
349
|
+
hideCloseButton: boolean;
|
|
350
|
+
backTooltip: string;
|
|
351
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
352
|
+
title?: (props: {}) => any;
|
|
353
|
+
} & {
|
|
354
|
+
description?: (props: {}) => any;
|
|
355
|
+
} & {
|
|
356
|
+
bodyHeader?: (props: {}) => any;
|
|
357
|
+
} & {
|
|
358
|
+
default?: (props: {}) => any;
|
|
359
|
+
} & {
|
|
360
|
+
footer?: (props: {}) => any;
|
|
361
|
+
} & {
|
|
362
|
+
actions?: (props: {}) => any;
|
|
363
|
+
}>;
|
|
364
|
+
export default _default;
|
|
365
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
366
|
+
new (): {
|
|
367
|
+
$slots: S;
|
|
368
|
+
};
|
|
369
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { VNode } from "vue";
|
|
2
|
+
export interface MultiProgressBarSeries {
|
|
3
|
+
key: string;
|
|
4
|
+
label: string;
|
|
5
|
+
labelClassName?: string;
|
|
6
|
+
value: number;
|
|
7
|
+
/** Tailwind bg color class e.g., 'bg-rose-500'. Omit to auto-assign from the theme palette. */
|
|
8
|
+
color?: string;
|
|
9
|
+
/** Custom formatted value to display in legend, if omitted `value` is used */
|
|
10
|
+
displayValue?: string | number | VNode;
|
|
11
|
+
}
|
|
12
|
+
export interface MultiProgressBarProps {
|
|
13
|
+
label: string;
|
|
14
|
+
labelClassName?: string;
|
|
15
|
+
secondaryLabel?: string;
|
|
16
|
+
secondaryLabelClassName?: string;
|
|
17
|
+
totalLabel?: string;
|
|
18
|
+
total: number;
|
|
19
|
+
series: MultiProgressBarSeries[];
|
|
20
|
+
}
|
|
21
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<MultiProgressBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MultiProgressBarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
22
|
+
secondaryLabel?: () => unknown;
|
|
23
|
+
totalLabel?: () => unknown;
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { TrueColor } from "../theme/Theme";
|
|
2
|
+
export type MultiSelectPillOption = {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export interface MultiSelectPillsProps {
|
|
9
|
+
/**
|
|
10
|
+
* Used as the name for the generated hidden inputs (e.g. `${name}[]`).
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* Options rendered as pills.
|
|
15
|
+
*/
|
|
16
|
+
options: MultiSelectPillOption[];
|
|
17
|
+
/**
|
|
18
|
+
* Optional legend displayed above the pill list.
|
|
19
|
+
*/
|
|
20
|
+
legend?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Optional helper text rendered below the legend.
|
|
23
|
+
*/
|
|
24
|
+
description?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Current selected values when using the component in a controlled way.
|
|
27
|
+
*/
|
|
28
|
+
modelValue?: string[];
|
|
29
|
+
/**
|
|
30
|
+
* Default selected values for uncontrolled usage.
|
|
31
|
+
*/
|
|
32
|
+
defaultValue?: string[];
|
|
33
|
+
/**
|
|
34
|
+
* Disable the whole control.
|
|
35
|
+
*/
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Tailwind size token controlling text size and padding.
|
|
39
|
+
*/
|
|
40
|
+
size?: "xs" | "sm" | "base" | "lg";
|
|
41
|
+
/**
|
|
42
|
+
* Theme color used when a pill is selected.
|
|
43
|
+
* Accepts any TrueColor value. Defaults to "blue".
|
|
44
|
+
*/
|
|
45
|
+
color?: TrueColor;
|
|
46
|
+
/**
|
|
47
|
+
* Border radius of the pills.
|
|
48
|
+
* Defaults to "full" (fully rounded).
|
|
49
|
+
*/
|
|
50
|
+
rounded?: "none" | "sm" | "md" | "lg" | "full";
|
|
51
|
+
/**
|
|
52
|
+
* Gap between pills.
|
|
53
|
+
* Defaults to "2".
|
|
54
|
+
*/
|
|
55
|
+
gap?: "1" | "1.5" | "2" | "3" | "4";
|
|
56
|
+
/**
|
|
57
|
+
* Selection behaviour. Defaults to multi-select.
|
|
58
|
+
*/
|
|
59
|
+
selectionMode?: "multiple" | "single";
|
|
60
|
+
}
|
|
61
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<MultiSelectPillsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
62
|
+
change: (selectedValues: string[]) => any;
|
|
63
|
+
"update:modelValue": (selectedValues: string[]) => any;
|
|
64
|
+
}, string, import("vue").PublicProps, Readonly<MultiSelectPillsProps> & Readonly<{
|
|
65
|
+
onChange?: ((selectedValues: string[]) => any) | undefined;
|
|
66
|
+
"onUpdate:modelValue"?: ((selectedValues: string[]) => any) | undefined;
|
|
67
|
+
}>, {
|
|
68
|
+
color: TrueColor;
|
|
69
|
+
size: "xs" | "sm" | "base" | "lg";
|
|
70
|
+
disabled: boolean;
|
|
71
|
+
rounded: "none" | "sm" | "md" | "lg" | "full";
|
|
72
|
+
gap: "1" | "1.5" | "2" | "3" | "4";
|
|
73
|
+
defaultValue: string[];
|
|
74
|
+
selectionMode: "multiple" | "single";
|
|
75
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
76
|
+
legend?: (props: {}) => any;
|
|
77
|
+
} & {
|
|
78
|
+
description?: (props: {}) => any;
|
|
79
|
+
}>;
|
|
80
|
+
export default _default;
|
|
81
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
82
|
+
new (): {
|
|
83
|
+
$slots: S;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { VNode } from "vue";
|
|
2
|
+
import type { TrueColor } from "../theme/Theme";
|
|
3
|
+
export type MultiToggleSize = "sm" | "md" | "lg";
|
|
4
|
+
export type MultiToggleShape = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full";
|
|
5
|
+
export type MultiToggleVariant = "theme" | "solid" | "soft";
|
|
6
|
+
type LiteralUnion<T extends U, U = string> = T | (U & Record<never, never>);
|
|
7
|
+
export type MultiToggleOptionWidth = number | LiteralUnion<"auto">;
|
|
8
|
+
export type MultiToggleActiveWidthStrategy = "auto" | "max";
|
|
9
|
+
export interface MultiToggleOption {
|
|
10
|
+
value: string;
|
|
11
|
+
label?: string | number | VNode;
|
|
12
|
+
icon?: string | VNode;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
width?: MultiToggleOptionWidth;
|
|
15
|
+
}
|
|
16
|
+
export interface MultiToggleProps {
|
|
17
|
+
options: MultiToggleOption[];
|
|
18
|
+
modelValue: string;
|
|
19
|
+
rounded?: MultiToggleShape;
|
|
20
|
+
size?: MultiToggleSize;
|
|
21
|
+
color?: TrueColor;
|
|
22
|
+
fullWidth?: boolean;
|
|
23
|
+
showOnlyActiveLabel?: boolean;
|
|
24
|
+
truncateOverflow?: boolean;
|
|
25
|
+
adaptiveWidth?: boolean;
|
|
26
|
+
optionMaxWidth?: number | string;
|
|
27
|
+
activeWidthStrategy?: MultiToggleActiveWidthStrategy;
|
|
28
|
+
variant?: MultiToggleVariant;
|
|
29
|
+
/** When set, overrides the active option's text color with this color's active-text token. */
|
|
30
|
+
accentColor?: TrueColor;
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
}
|
|
33
|
+
declare const _default: import("vue").DefineComponent<MultiToggleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
34
|
+
change: (value: string) => any;
|
|
35
|
+
"update:modelValue": (value: string) => any;
|
|
36
|
+
}, string, import("vue").PublicProps, Readonly<MultiToggleProps> & Readonly<{
|
|
37
|
+
onChange?: ((value: string) => any) | undefined;
|
|
38
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
color: TrueColor;
|
|
41
|
+
variant: MultiToggleVariant;
|
|
42
|
+
size: MultiToggleSize;
|
|
43
|
+
fullWidth: boolean;
|
|
44
|
+
rounded: MultiToggleShape;
|
|
45
|
+
showOnlyActiveLabel: boolean;
|
|
46
|
+
adaptiveWidth: boolean;
|
|
47
|
+
activeWidthStrategy: MultiToggleActiveWidthStrategy;
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export type NotificationType = "success" | "error" | "warning" | "info";
|
|
2
|
+
export interface NotificationModalProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
title: string;
|
|
5
|
+
message?: string;
|
|
6
|
+
type?: NotificationType;
|
|
7
|
+
actionLabel?: string;
|
|
8
|
+
secondaryActionLabel?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<NotificationModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
+
close: () => any;
|
|
12
|
+
action: () => any;
|
|
13
|
+
secondaryAction: () => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<NotificationModalProps> & Readonly<{
|
|
15
|
+
onClose?: (() => any) | undefined;
|
|
16
|
+
onAction?: (() => any) | undefined;
|
|
17
|
+
onSecondaryAction?: (() => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
type: NotificationType;
|
|
20
|
+
actionLabel: string;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
22
|
+
default?: (props: {}) => any;
|
|
23
|
+
}>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { VNodeChild } from "vue";
|
|
2
|
+
import type { PanelProps } from "./Panel.vue";
|
|
3
|
+
export interface PagedPanelProps extends Omit<PanelProps, "title" | "subtitle"> {
|
|
4
|
+
/** One entry per page — rendered one at a time. */
|
|
5
|
+
pages: VNodeChild[];
|
|
6
|
+
/**
|
|
7
|
+
* Static title shown in the header, OR an array of per-page titles.
|
|
8
|
+
* When an array is supplied its length should match `pages`.
|
|
9
|
+
*/
|
|
10
|
+
title?: VNodeChild | VNodeChild[];
|
|
11
|
+
/** Optional subtitle shown below the title (static). */
|
|
12
|
+
subtitle?: VNodeChild;
|
|
13
|
+
/** Show a loading overlay over the whole panel. */
|
|
14
|
+
error?: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* When true, renders without the Panel wrapper (no border, background or
|
|
17
|
+
* shadow). Use this when embedding PagedPanel inside an existing Panel.
|
|
18
|
+
*/
|
|
19
|
+
bare?: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PagedPanelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PagedPanelProps> & Readonly<{}>, {
|
|
22
|
+
bare: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
24
|
+
title?: (props: {
|
|
25
|
+
page: number;
|
|
26
|
+
}) => any;
|
|
27
|
+
} & {
|
|
28
|
+
subtitle?: (props: {}) => any;
|
|
29
|
+
} & {
|
|
30
|
+
title?: (props: {
|
|
31
|
+
page: number;
|
|
32
|
+
}) => any;
|
|
33
|
+
} & {
|
|
34
|
+
subtitle?: (props: {}) => any;
|
|
35
|
+
}>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|