@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,56 @@
|
|
|
1
|
+
import type { VNode } from "vue";
|
|
2
|
+
import type { IconSize } from "../types";
|
|
3
|
+
import type { TrueColor } from "../theme/Theme";
|
|
4
|
+
export interface SidePanelProps {
|
|
5
|
+
/** Whether the panel is open */
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
/** Panel title */
|
|
8
|
+
title?: string;
|
|
9
|
+
/** Secondary line rendered below the title */
|
|
10
|
+
subtitle?: string;
|
|
11
|
+
/** Width of the panel in px (default: 420) */
|
|
12
|
+
width?: number;
|
|
13
|
+
/** Optional icon rendered to the left of the title */
|
|
14
|
+
icon?: string | VNode;
|
|
15
|
+
/** Sticky footer rendered at the bottom of the panel */
|
|
16
|
+
footer?: string;
|
|
17
|
+
closeIconSize?: IconSize;
|
|
18
|
+
/** Allow the user to drag the left edge to resize the panel. @default false */
|
|
19
|
+
resizable?: boolean;
|
|
20
|
+
/** Minimum width in px when resizable. @default 280 */
|
|
21
|
+
minWidth?: number;
|
|
22
|
+
/** Maximum width in px when resizable. @default 900 */
|
|
23
|
+
maxWidth?: number;
|
|
24
|
+
/** color for the resizer */
|
|
25
|
+
color?: TrueColor;
|
|
26
|
+
}
|
|
27
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SidePanelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
28
|
+
close: () => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<SidePanelProps> & Readonly<{
|
|
30
|
+
onClose?: (() => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
color: TrueColor;
|
|
33
|
+
width: number;
|
|
34
|
+
maxWidth: number;
|
|
35
|
+
minWidth: number;
|
|
36
|
+
resizable: boolean;
|
|
37
|
+
closeIconSize: IconSize;
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
39
|
+
icon?: (props: {}) => any;
|
|
40
|
+
} & {
|
|
41
|
+
title?: (props: {}) => any;
|
|
42
|
+
} & {
|
|
43
|
+
subtitle?: (props: {}) => any;
|
|
44
|
+
} & {
|
|
45
|
+
headerActions?: (props: {}) => any;
|
|
46
|
+
} & {
|
|
47
|
+
default?: (props: {}) => any;
|
|
48
|
+
} & {
|
|
49
|
+
footer?: (props: {}) => any;
|
|
50
|
+
}>;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { VNodeChild } from "vue";
|
|
2
|
+
import type { TrueColor } from "../theme/Theme";
|
|
3
|
+
export interface SmartGridItemDefinition {
|
|
4
|
+
id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
screenshot?: string;
|
|
8
|
+
defaultSpan?: number;
|
|
9
|
+
defaultRowHeightSpan?: number;
|
|
10
|
+
active: boolean;
|
|
11
|
+
single: boolean;
|
|
12
|
+
render: () => VNodeChild;
|
|
13
|
+
isSpacer?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface SmartGridItem {
|
|
16
|
+
definitionId: string;
|
|
17
|
+
id: string;
|
|
18
|
+
span: number;
|
|
19
|
+
order: number;
|
|
20
|
+
sectionId: string;
|
|
21
|
+
rowId: string;
|
|
22
|
+
isSpacer?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface SmartGridRow {
|
|
25
|
+
id: string;
|
|
26
|
+
items: SmartGridItem[];
|
|
27
|
+
order: number;
|
|
28
|
+
height?: number;
|
|
29
|
+
heightSpan?: number;
|
|
30
|
+
}
|
|
31
|
+
export interface SmartGridSection {
|
|
32
|
+
id: string;
|
|
33
|
+
title: string;
|
|
34
|
+
rows: SmartGridRow[];
|
|
35
|
+
order: number;
|
|
36
|
+
}
|
|
37
|
+
export interface SmartGridSectionDefinition {
|
|
38
|
+
id?: string;
|
|
39
|
+
title: string;
|
|
40
|
+
rows: SmartGridRowDefinition[];
|
|
41
|
+
}
|
|
42
|
+
export interface SmartGridRowDefinition {
|
|
43
|
+
id?: number;
|
|
44
|
+
itemIds: string[];
|
|
45
|
+
defaultHeightSpan?: number;
|
|
46
|
+
}
|
|
47
|
+
export interface SmartGridLayoutState {
|
|
48
|
+
version: 3;
|
|
49
|
+
sections: SmartGridSection[];
|
|
50
|
+
}
|
|
51
|
+
interface SmartGridLayoutProps {
|
|
52
|
+
items: SmartGridItemDefinition[];
|
|
53
|
+
defaultLayout: SmartGridSectionDefinition[];
|
|
54
|
+
persistedLayout?: SmartGridLayoutState | null;
|
|
55
|
+
maxColumns?: number;
|
|
56
|
+
editTrueColor?: TrueColor;
|
|
57
|
+
isEditMode?: boolean;
|
|
58
|
+
}
|
|
59
|
+
declare const _default: import("vue").DefineComponent<SmartGridLayoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
60
|
+
layoutChange: (layout: SmartGridLayoutState) => any;
|
|
61
|
+
editModeChange: (isEditMode: boolean) => any;
|
|
62
|
+
}, string, import("vue").PublicProps, Readonly<SmartGridLayoutProps> & Readonly<{
|
|
63
|
+
onLayoutChange?: ((layout: SmartGridLayoutState) => any) | undefined;
|
|
64
|
+
onEditModeChange?: ((isEditMode: boolean) => any) | undefined;
|
|
65
|
+
}>, {
|
|
66
|
+
maxColumns: number;
|
|
67
|
+
editTrueColor: TrueColor;
|
|
68
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
69
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { CapsuleBlueprintParameter } from "../types/CapsuleBlueprint";
|
|
2
|
+
export interface SmartInputProps {
|
|
3
|
+
modelValue: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
globalParameters?: CapsuleBlueprintParameter[];
|
|
6
|
+
serviceNames?: string[];
|
|
7
|
+
context?: {
|
|
8
|
+
slug?: string;
|
|
9
|
+
enable_https?: boolean;
|
|
10
|
+
};
|
|
11
|
+
multiline?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: import("vue").DefineComponent<SmartInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: string) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<SmartInputProps> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
modelValue: string;
|
|
19
|
+
globalParameters: CapsuleBlueprintParameter[];
|
|
20
|
+
serviceNames: string[];
|
|
21
|
+
context: {
|
|
22
|
+
slug?: string;
|
|
23
|
+
enable_https?: boolean;
|
|
24
|
+
};
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { CapsuleBlueprintParameter } from "../types/CapsuleBlueprint";
|
|
2
|
+
export interface SmartValueProps {
|
|
3
|
+
value: string;
|
|
4
|
+
globalParameters?: CapsuleBlueprintParameter[];
|
|
5
|
+
serviceNames?: string[];
|
|
6
|
+
context?: {
|
|
7
|
+
slug?: string;
|
|
8
|
+
enable_https?: boolean;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import("vue").DefineComponent<SmartValueProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SmartValueProps> & Readonly<{}>, {
|
|
12
|
+
value: string;
|
|
13
|
+
globalParameters: CapsuleBlueprintParameter[];
|
|
14
|
+
serviceNames: string[];
|
|
15
|
+
context: {
|
|
16
|
+
slug?: string;
|
|
17
|
+
enable_https?: boolean;
|
|
18
|
+
};
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { TrueColor } from "../theme/Theme";
|
|
2
|
+
export type SpinnerSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
3
|
+
export type SpinnerColor = TrueColor;
|
|
4
|
+
export type SpinnerVariant = "solid" | "segments";
|
|
5
|
+
export type SpinnerThickness = "thin" | "normal" | "thick";
|
|
6
|
+
export interface SpinnerProps {
|
|
7
|
+
size?: SpinnerSize;
|
|
8
|
+
color?: SpinnerColor;
|
|
9
|
+
variant?: SpinnerVariant;
|
|
10
|
+
thickness?: SpinnerThickness;
|
|
11
|
+
label?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: import("vue").DefineComponent<SpinnerProps, {
|
|
14
|
+
el: import("vue").Ref<HTMLSpanElement | null, HTMLSpanElement | null>;
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SpinnerProps> & Readonly<{}>, {
|
|
16
|
+
color: SpinnerColor;
|
|
17
|
+
variant: SpinnerVariant;
|
|
18
|
+
size: SpinnerSize;
|
|
19
|
+
thickness: SpinnerThickness;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import type { VNodeChild } from "vue";
|
|
2
|
+
import type { TrueColor } from "../theme/Theme";
|
|
3
|
+
import type { IconName } from "../icons/registry";
|
|
4
|
+
import type { HelpButtonProps } from "./HelpButton.vue";
|
|
5
|
+
import type { PanelDecoration, PanelVariant } from "./Panel.vue";
|
|
6
|
+
export type SplitViewSize = "sm" | "md" | "lg";
|
|
7
|
+
export interface SplitViewItemBadge {
|
|
8
|
+
label: VNodeChild;
|
|
9
|
+
tone?: TrueColor;
|
|
10
|
+
variant?: "solid" | "soft" | "outline";
|
|
11
|
+
}
|
|
12
|
+
export interface SplitViewItem {
|
|
13
|
+
id: string;
|
|
14
|
+
/** Primary label */
|
|
15
|
+
label: VNodeChild;
|
|
16
|
+
/** Secondary line shown below the label */
|
|
17
|
+
subtitle?: VNodeChild;
|
|
18
|
+
/** Badges/pills rendered after the subtitle */
|
|
19
|
+
badges?: SplitViewItemBadge[];
|
|
20
|
+
/** Content to render in the detail pane when this item is selected */
|
|
21
|
+
panel: VNodeChild;
|
|
22
|
+
/** Disable selection */
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
/** Hide the item entirely */
|
|
25
|
+
hidden?: boolean;
|
|
26
|
+
/** Optional icon rendered before the label */
|
|
27
|
+
icon?: IconName;
|
|
28
|
+
/** Action buttons shown on the right side of the item row (visible on hover) */
|
|
29
|
+
actions?: VNodeChild;
|
|
30
|
+
/** Extra content rendered below the item row when it is the active selection */
|
|
31
|
+
subContent?: VNodeChild;
|
|
32
|
+
tags?: string[];
|
|
33
|
+
/** When true, renders the item with an intense accent background and a pulsing dot to signal new content */
|
|
34
|
+
highlight?: boolean;
|
|
35
|
+
}
|
|
36
|
+
export type SplitViewHeaderSlot<T> = T | ((activeItem: SplitViewItem) => T);
|
|
37
|
+
export interface SplitViewHeaderDetails {
|
|
38
|
+
title?: VNodeChild;
|
|
39
|
+
subtitle?: VNodeChild;
|
|
40
|
+
description?: VNodeChild;
|
|
41
|
+
/** Right-aligned tag/badge area. Accepts any node(s). */
|
|
42
|
+
tags?: VNodeChild;
|
|
43
|
+
/**
|
|
44
|
+
* Custom body content rendered as the Panel children.
|
|
45
|
+
* When provided, it overrides title/subtitle/description/tags content.
|
|
46
|
+
*/
|
|
47
|
+
headerBody?: VNodeChild;
|
|
48
|
+
tone?: TrueColor;
|
|
49
|
+
variant?: PanelVariant;
|
|
50
|
+
/** Alias for `variant` */
|
|
51
|
+
variants?: PanelVariant;
|
|
52
|
+
decoration?: PanelDecoration;
|
|
53
|
+
/** Alias for `decoration` */
|
|
54
|
+
decorations?: PanelDecoration;
|
|
55
|
+
/** Optional divider between header row and details block (default: true). */
|
|
56
|
+
bordered?: boolean;
|
|
57
|
+
className?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface SplitViewPanelHeaderProps {
|
|
60
|
+
/** Full icon node (left side) */
|
|
61
|
+
icon?: SplitViewHeaderSlot<VNodeChild>;
|
|
62
|
+
/** Defaults to the active item's label when omitted */
|
|
63
|
+
title?: SplitViewHeaderSlot<VNodeChild>;
|
|
64
|
+
subtitle?: SplitViewHeaderSlot<VNodeChild>;
|
|
65
|
+
/** Right side actions in the main row */
|
|
66
|
+
actions?: SplitViewHeaderSlot<VNodeChild>;
|
|
67
|
+
/** Extra customizable content rendered between identity and search */
|
|
68
|
+
body?: SplitViewHeaderSlot<VNodeChild>;
|
|
69
|
+
search?: SplitViewHeaderSlot<VNodeChild>;
|
|
70
|
+
searchWidth?: string;
|
|
71
|
+
/** Second row, right-aligned actions */
|
|
72
|
+
bottomActions?: SplitViewHeaderSlot<VNodeChild>;
|
|
73
|
+
/** Optional details block rendered below the header row and styled like a Panel. */
|
|
74
|
+
headerDetails?: SplitViewHeaderSlot<SplitViewHeaderDetails | null | undefined>;
|
|
75
|
+
/** Optional help button inserted after title */
|
|
76
|
+
helper?: SplitViewHeaderSlot<HelpButtonProps | undefined>;
|
|
77
|
+
border?: boolean;
|
|
78
|
+
className?: string;
|
|
79
|
+
}
|
|
80
|
+
export interface SplitViewProps {
|
|
81
|
+
items: SplitViewItem[];
|
|
82
|
+
/** Controlled selected id (v-model) */
|
|
83
|
+
modelValue?: string;
|
|
84
|
+
/** Uncontrolled default */
|
|
85
|
+
defaultValue?: string;
|
|
86
|
+
/** Title shown above the item list (e.g. "LIBRARIES (3)") */
|
|
87
|
+
listTitle?: VNodeChild;
|
|
88
|
+
/** Placeholder for the search input */
|
|
89
|
+
searchPlaceholder?: string;
|
|
90
|
+
/** Width of the list panel – Tailwind class (when not resizable) or initial px value for resizable */
|
|
91
|
+
listWidth?: string;
|
|
92
|
+
/** Accent color used for active item highlight */
|
|
93
|
+
color?: TrueColor;
|
|
94
|
+
size?: SplitViewSize;
|
|
95
|
+
/** Deprecated: one visible item is now always shown as detail-only (list hidden). */
|
|
96
|
+
autoHideList?: boolean;
|
|
97
|
+
/** Allow collapsing the list panel */
|
|
98
|
+
collapsible?: boolean;
|
|
99
|
+
/** Controlled collapsed state (v-model:collapsed) */
|
|
100
|
+
collapsed?: boolean;
|
|
101
|
+
/** Uncontrolled initial collapsed state */
|
|
102
|
+
defaultCollapsed?: boolean;
|
|
103
|
+
/** Allow drag-to-resize the list panel */
|
|
104
|
+
resizable?: boolean;
|
|
105
|
+
/** Minimum list width in px when resizable (default: 180) */
|
|
106
|
+
minListWidth?: number;
|
|
107
|
+
/** Maximum list width in px when resizable (default: 50% of container) */
|
|
108
|
+
maxListWidth?: number;
|
|
109
|
+
/** Extra class for the list panel */
|
|
110
|
+
listClassName?: string;
|
|
111
|
+
/** Extra class for the detail panel */
|
|
112
|
+
panelClassName?: string;
|
|
113
|
+
/** Content rendered above the detail panel (header area) */
|
|
114
|
+
panelHeader?: VNodeChild | ((activeItem: SplitViewItem) => VNodeChild);
|
|
115
|
+
/**
|
|
116
|
+
* Built-in SplitView header renderer (PageHeader-like) with support for dynamic slots.
|
|
117
|
+
* When provided, this takes precedence over `panelHeader`.
|
|
118
|
+
*/
|
|
119
|
+
panelHeaderProps?: SplitViewPanelHeaderProps | ((activeItem: SplitViewItem) => SplitViewPanelHeaderProps | null | undefined);
|
|
120
|
+
/** Rendered when no items match the search filter in the list */
|
|
121
|
+
emptyState?: VNodeChild;
|
|
122
|
+
/** Action buttons rendered in the list header row (e.g. an "Add" button) */
|
|
123
|
+
listActions?: VNodeChild;
|
|
124
|
+
/** Content shown in the detail panel when no item is selected. Defaults to a generic EmptyState. Pass `null` to render nothing. */
|
|
125
|
+
panelEmptyState?: VNodeChild | null;
|
|
126
|
+
/** When true, shows a loading state instead of the normal content */
|
|
127
|
+
loading?: boolean;
|
|
128
|
+
/** Custom loading content. Defaults to a centered Spinner with "Loading..." label. */
|
|
129
|
+
loadingState?: VNodeChild;
|
|
130
|
+
/** When truthy, shows an error state instead of the normal content. Pass a string to use as the error subtitle. */
|
|
131
|
+
error?: VNodeChild;
|
|
132
|
+
/** Custom error content. Defaults to a danger-toned EmptyState. */
|
|
133
|
+
errorState?: VNodeChild;
|
|
134
|
+
/** When true, renders a left border on the SplitView container to visually separate it from adjacent content (e.g. a side menu) */
|
|
135
|
+
borderLeft?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* When true (default), the detail panel body scrolls automatically — panels can render
|
|
138
|
+
* content of any height and the wrapper handles overflow.
|
|
139
|
+
* When false, the panel body uses `overflow-hidden` so that panels which manage their
|
|
140
|
+
* own internal scroll (e.g. a sticky-header + scrollable table layout) fill the space
|
|
141
|
+
* correctly without a double-scroll or broken `h-full` percentage height.
|
|
142
|
+
*/
|
|
143
|
+
panelScrollable?: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* When true (default), clicking a list item immediately opens its detail panel —
|
|
146
|
+
* the current behaviour.
|
|
147
|
+
* When false, clicking a row only highlights it; the detail panel only opens when
|
|
148
|
+
* the user explicitly clicks the expand (→) button on that row.
|
|
149
|
+
*/
|
|
150
|
+
autoExpand?: boolean;
|
|
151
|
+
/** Controlled expanded id (only meaningful when autoExpand=false) */
|
|
152
|
+
expandedValue?: string;
|
|
153
|
+
}
|
|
154
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SplitViewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
155
|
+
change: (id: string, item: SplitViewItem) => any;
|
|
156
|
+
"update:modelValue": (id: string) => any;
|
|
157
|
+
"update:collapsed": (collapsed: boolean) => any;
|
|
158
|
+
collapsedChange: (collapsed: boolean) => any;
|
|
159
|
+
"update:expandedValue": (id: string | undefined) => any;
|
|
160
|
+
expand: (id: string, item: SplitViewItem) => any;
|
|
161
|
+
retry: () => any;
|
|
162
|
+
}, string, import("vue").PublicProps, Readonly<SplitViewProps> & Readonly<{
|
|
163
|
+
onChange?: ((id: string, item: SplitViewItem) => any) | undefined;
|
|
164
|
+
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
165
|
+
"onUpdate:collapsed"?: ((collapsed: boolean) => any) | undefined;
|
|
166
|
+
onCollapsedChange?: ((collapsed: boolean) => any) | undefined;
|
|
167
|
+
"onUpdate:expandedValue"?: ((id: string | undefined) => any) | undefined;
|
|
168
|
+
onExpand?: ((id: string, item: SplitViewItem) => any) | undefined;
|
|
169
|
+
onRetry?: (() => any) | undefined;
|
|
170
|
+
}>, {
|
|
171
|
+
color: TrueColor;
|
|
172
|
+
size: SplitViewSize;
|
|
173
|
+
loading: boolean;
|
|
174
|
+
error: string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
175
|
+
[key: string]: any;
|
|
176
|
+
}> | import("vue").VNodeArrayChildren | null;
|
|
177
|
+
borderLeft: boolean;
|
|
178
|
+
searchPlaceholder: string;
|
|
179
|
+
collapsed: boolean;
|
|
180
|
+
listTitle: string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
181
|
+
[key: string]: any;
|
|
182
|
+
}> | import("vue").VNodeArrayChildren | null;
|
|
183
|
+
autoHideList: boolean;
|
|
184
|
+
collapsible: boolean;
|
|
185
|
+
defaultCollapsed: boolean;
|
|
186
|
+
resizable: boolean;
|
|
187
|
+
minListWidth: number;
|
|
188
|
+
panelHeader: string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
189
|
+
[key: string]: any;
|
|
190
|
+
}> | import("vue").VNodeArrayChildren | ((activeItem: SplitViewItem) => VNodeChild) | null;
|
|
191
|
+
emptyState: string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
192
|
+
[key: string]: any;
|
|
193
|
+
}> | import("vue").VNodeArrayChildren | null;
|
|
194
|
+
listActions: string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
195
|
+
[key: string]: any;
|
|
196
|
+
}> | import("vue").VNodeArrayChildren | null;
|
|
197
|
+
panelEmptyState: string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
198
|
+
[key: string]: any;
|
|
199
|
+
}> | import("vue").VNodeArrayChildren | null;
|
|
200
|
+
loadingState: string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
201
|
+
[key: string]: any;
|
|
202
|
+
}> | import("vue").VNodeArrayChildren | null;
|
|
203
|
+
errorState: string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
204
|
+
[key: string]: any;
|
|
205
|
+
}> | import("vue").VNodeArrayChildren | null;
|
|
206
|
+
panelScrollable: boolean;
|
|
207
|
+
autoExpand: boolean;
|
|
208
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
209
|
+
listTitle?: () => unknown;
|
|
210
|
+
listActions?: () => unknown;
|
|
211
|
+
emptyState?: () => unknown;
|
|
212
|
+
panelHeader?: (props: {
|
|
213
|
+
item: SplitViewItem;
|
|
214
|
+
}) => unknown;
|
|
215
|
+
panelEmptyState?: () => unknown;
|
|
216
|
+
loadingState?: () => unknown;
|
|
217
|
+
errorState?: () => unknown;
|
|
218
|
+
}>;
|
|
219
|
+
export default _default;
|
|
220
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
221
|
+
new (): {
|
|
222
|
+
$slots: S;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import "../../../react/src/components/StartupStageStepper.css";
|
|
2
|
+
import type { StartupStage } from "../types/App";
|
|
3
|
+
export type StartupStageStepperProps = {
|
|
4
|
+
stages: StartupStage[];
|
|
5
|
+
currentStageId?: string;
|
|
6
|
+
detailClassName?: string;
|
|
7
|
+
showHistoryToggle?: boolean;
|
|
8
|
+
defaultShowHistory?: boolean;
|
|
9
|
+
title?: string;
|
|
10
|
+
variant?: "minimal" | "panel";
|
|
11
|
+
size?: StartupStageStepperSize;
|
|
12
|
+
};
|
|
13
|
+
type StartupStageStepperSize = "sm" | "md" | "lg";
|
|
14
|
+
declare const _default: import("vue").DefineComponent<StartupStageStepperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
15
|
+
stageSelect: (stage: StartupStage) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<StartupStageStepperProps> & Readonly<{
|
|
17
|
+
onStageSelect?: ((stage: StartupStage) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
variant: "minimal" | "panel";
|
|
20
|
+
title: string;
|
|
21
|
+
size: StartupStageStepperSize;
|
|
22
|
+
showHistoryToggle: boolean;
|
|
23
|
+
defaultShowHistory: boolean;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { TrueColor } from "../theme";
|
|
2
|
+
import type { StatTileProps } from "./StatTile.vue";
|
|
3
|
+
export interface StatChartItem {
|
|
4
|
+
label: string;
|
|
5
|
+
value: number;
|
|
6
|
+
/** Omit to auto-assign from the theme palette. */
|
|
7
|
+
color?: TrueColor;
|
|
8
|
+
intensity?: string;
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
}
|
|
11
|
+
export interface StatChartDataset {
|
|
12
|
+
id: string | number;
|
|
13
|
+
label: string;
|
|
14
|
+
centerLabel: string;
|
|
15
|
+
items: StatChartItem[];
|
|
16
|
+
}
|
|
17
|
+
export interface StatChartTileProps extends Omit<StatTileProps, "body" | "title" | "value" | "subtitle"> {
|
|
18
|
+
data: StatChartDataset[];
|
|
19
|
+
}
|
|
20
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<StatChartTileProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StatChartTileProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
21
|
+
actions?: (props: {}) => any;
|
|
22
|
+
}>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { TrueColor } from "../theme";
|
|
2
|
+
import type { IconName } from "../icons/registry";
|
|
3
|
+
export interface StatCountTileBreakdown {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string | number;
|
|
6
|
+
color?: TrueColor;
|
|
7
|
+
}
|
|
8
|
+
export interface StatCountTileProps {
|
|
9
|
+
title?: string;
|
|
10
|
+
count?: string | number;
|
|
11
|
+
breakdown?: StatCountTileBreakdown[];
|
|
12
|
+
icon?: IconName;
|
|
13
|
+
color?: TrueColor;
|
|
14
|
+
onClick?: () => void;
|
|
15
|
+
withDecoration?: boolean;
|
|
16
|
+
withHoverEffect?: boolean;
|
|
17
|
+
textColor?: TrueColor;
|
|
18
|
+
loading?: boolean;
|
|
19
|
+
spinnerVariant?: "solid" | "segments";
|
|
20
|
+
spinnerThickness?: "thin" | "normal" | "thick";
|
|
21
|
+
spinnerColor?: TrueColor;
|
|
22
|
+
error?: {
|
|
23
|
+
icon?: IconName;
|
|
24
|
+
message?: string;
|
|
25
|
+
onRetry?: () => void;
|
|
26
|
+
variant?: "text" | "badge";
|
|
27
|
+
} | null;
|
|
28
|
+
}
|
|
29
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<StatCountTileProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StatCountTileProps> & Readonly<{}>, {
|
|
30
|
+
color: TrueColor;
|
|
31
|
+
loading: boolean;
|
|
32
|
+
withDecoration: boolean;
|
|
33
|
+
withHoverEffect: boolean;
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
35
|
+
title?: (props: {}) => any;
|
|
36
|
+
} & {
|
|
37
|
+
count?: (props: {}) => any;
|
|
38
|
+
}>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { TrueColor } from "../theme";
|
|
2
|
+
import type { IconName } from "../icons/registry";
|
|
3
|
+
import type { StatTileProps } from "./StatTile.vue";
|
|
4
|
+
export interface StatGoalItem {
|
|
5
|
+
value: number;
|
|
6
|
+
label: string;
|
|
7
|
+
icon: IconName;
|
|
8
|
+
/** Omit to auto-assign from the theme palette. */
|
|
9
|
+
color?: TrueColor;
|
|
10
|
+
tooltip?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface StatGoalTileProps extends Omit<StatTileProps, "body" | "value" | "subtitle"> {
|
|
13
|
+
goals: StatGoalItem[];
|
|
14
|
+
}
|
|
15
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<StatGoalTileProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StatGoalTileProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
16
|
+
title?: (props: {}) => any;
|
|
17
|
+
} & {
|
|
18
|
+
actions?: (props: {}) => any;
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { TrueColor } from "../theme";
|
|
2
|
+
import type { StatTileProps } from "./StatTile.vue";
|
|
3
|
+
export interface StatGraphSeries {
|
|
4
|
+
key: string;
|
|
5
|
+
label: string;
|
|
6
|
+
/** Omit to auto-assign from the theme palette. */
|
|
7
|
+
color?: TrueColor;
|
|
8
|
+
}
|
|
9
|
+
export interface StatGraphTileProps extends Omit<StatTileProps, "body" | "progress" | "trend" | "meta" | "footer"> {
|
|
10
|
+
data: any[];
|
|
11
|
+
variant: "bar" | "sparkline";
|
|
12
|
+
series: StatGraphSeries[];
|
|
13
|
+
height?: number;
|
|
14
|
+
showLegend?: boolean;
|
|
15
|
+
showAxes?: boolean;
|
|
16
|
+
showGrid?: boolean;
|
|
17
|
+
showTooltip?: boolean;
|
|
18
|
+
/** Y-axis domain for sparkline. Defaults to [0, 'auto']. Use ['auto', 'auto'] for auto-scaling. */
|
|
19
|
+
yDomain?: [number | string, number | string];
|
|
20
|
+
/** Enable chart enter/update animation. Keep disabled for high-frequency realtime updates. */
|
|
21
|
+
chartAnimation?: boolean;
|
|
22
|
+
/** Animation duration when chartAnimation is enabled. */
|
|
23
|
+
chartAnimationDuration?: number;
|
|
24
|
+
/** Optional cap for rendered data points to reduce chart redraw work. */
|
|
25
|
+
maxDataPoints?: number;
|
|
26
|
+
}
|
|
27
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<StatGraphTileProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StatGraphTileProps> & Readonly<{}>, {
|
|
28
|
+
variant: "bar" | "sparkline";
|
|
29
|
+
height: number;
|
|
30
|
+
showLegend: boolean;
|
|
31
|
+
showAxes: boolean;
|
|
32
|
+
showGrid: boolean;
|
|
33
|
+
showTooltip: boolean;
|
|
34
|
+
yDomain: [number | string, number | string];
|
|
35
|
+
chartAnimation: boolean;
|
|
36
|
+
chartAnimationDuration: number;
|
|
37
|
+
maxDataPoints: number;
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
39
|
+
title?: (props: {}) => any;
|
|
40
|
+
} & {
|
|
41
|
+
actions?: (props: {}) => any;
|
|
42
|
+
} & {
|
|
43
|
+
value?: (props: {}) => any;
|
|
44
|
+
} & {
|
|
45
|
+
subtitle?: (props: {}) => any;
|
|
46
|
+
}>;
|
|
47
|
+
export default _default;
|
|
48
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { VNode } from "vue";
|
|
2
|
+
import type { TrueColor } from "../theme";
|
|
3
|
+
import type { IconName } from "../icons/registry";
|
|
4
|
+
export interface StatTileTrend {
|
|
5
|
+
value: string | number;
|
|
6
|
+
direction: "up" | "down" | "neutral";
|
|
7
|
+
label?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface StatTileMeta {
|
|
10
|
+
text: string | number | VNode;
|
|
11
|
+
icon?: IconName;
|
|
12
|
+
variant?: "text" | "badge";
|
|
13
|
+
color?: TrueColor;
|
|
14
|
+
}
|
|
15
|
+
export interface StatTileError {
|
|
16
|
+
icon?: IconName;
|
|
17
|
+
message?: string;
|
|
18
|
+
onRetry?: () => void;
|
|
19
|
+
}
|
|
20
|
+
export interface StatTileProgress {
|
|
21
|
+
value: number;
|
|
22
|
+
label?: string;
|
|
23
|
+
color?: TrueColor;
|
|
24
|
+
}
|
|
25
|
+
export interface StatTileProps {
|
|
26
|
+
title?: string;
|
|
27
|
+
value?: string | number;
|
|
28
|
+
subtitle?: string;
|
|
29
|
+
icon?: IconName;
|
|
30
|
+
color?: TrueColor;
|
|
31
|
+
trend?: StatTileTrend;
|
|
32
|
+
progress?: StatTileProgress;
|
|
33
|
+
meta?: StatTileMeta[];
|
|
34
|
+
footer?: string;
|
|
35
|
+
actions?: string;
|
|
36
|
+
onClick?: () => void;
|
|
37
|
+
withDecoration?: boolean;
|
|
38
|
+
withHoverEffect?: boolean;
|
|
39
|
+
textColor?: TrueColor;
|
|
40
|
+
loading?: boolean;
|
|
41
|
+
spinnerVariant?: "solid" | "segments";
|
|
42
|
+
spinnerThickness?: "thin" | "normal" | "thick";
|
|
43
|
+
spinnerColor?: TrueColor;
|
|
44
|
+
error?: StatTileError | null;
|
|
45
|
+
}
|
|
46
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<StatTileProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StatTileProps> & Readonly<{}>, {
|
|
47
|
+
color: TrueColor;
|
|
48
|
+
loading: boolean;
|
|
49
|
+
withDecoration: boolean;
|
|
50
|
+
withHoverEffect: boolean;
|
|
51
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
52
|
+
title?: (props: {}) => any;
|
|
53
|
+
} & {
|
|
54
|
+
actions?: (props: {}) => any;
|
|
55
|
+
} & {
|
|
56
|
+
body?: (props: {}) => any;
|
|
57
|
+
} & {
|
|
58
|
+
value?: (props: {}) => any;
|
|
59
|
+
} & {
|
|
60
|
+
subtitle?: (props: {}) => any;
|
|
61
|
+
} & {
|
|
62
|
+
footer?: (props: {}) => any;
|
|
63
|
+
}>;
|
|
64
|
+
export default _default;
|
|
65
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$slots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|