@comfyorg/design-system 1.1.0 → 1.3.0-alpha.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 +113 -10
- package/dist/accordion/PropertiesAccordionItem.vue.d.ts +34 -0
- package/dist/accordion/PropertiesAccordionItem.vue.js +62 -0
- package/dist/badge/Badge.vue.d.ts +49 -0
- package/dist/badge/Badge.vue.js +1 -0
- package/dist/badge/CreditBadge.vue.d.ts +6 -0
- package/dist/badge/CreditBadge.vue.js +21 -0
- package/dist/badge/badge.variants.d.ts +12 -0
- package/dist/button/Button.vue.d.ts +31 -0
- package/dist/button/Button.vue.js +1 -0
- package/dist/button-group/ButtonGroup.vue.d.ts +18 -0
- package/dist/button-group/ButtonGroup.vue.js +35 -0
- package/dist/button-group/IconGroup.vue.d.ts +16 -0
- package/dist/button-group/IconGroup.vue.js +13 -0
- package/dist/card/Card.vue.d.ts +19 -0
- package/dist/card/Card.vue.js +1 -0
- package/dist/card/CardFooter.vue.d.ts +17 -0
- package/dist/card/CardFooter.vue.js +1 -0
- package/dist/card/CardHeader.vue.d.ts +17 -0
- package/dist/card/CardHeader.vue.js +1 -0
- package/dist/card/CoachmarkCard.vue.d.ts +24 -0
- package/dist/card/CoachmarkCard.vue.js +55 -0
- package/dist/card/card.variants.d.ts +11 -0
- package/dist/chart/Chart.vue.d.ts +12 -0
- package/dist/chart/Chart.vue.js +177 -0
- package/dist/chart/__tests__/chartTestUtils.d.ts +3 -0
- package/dist/chart/useChart.d.ts +4 -0
- package/dist/checkbox/Checkbox.vue.d.ts +25 -0
- package/dist/checkbox/Checkbox.vue.js +47 -0
- package/dist/chip/Tag.vue.d.ts +61 -0
- package/dist/chip/Tag.vue.js +71 -0
- package/dist/chip/TagRemoveButton.vue.d.ts +18 -0
- package/dist/chip/TagRemoveButton.vue.js +1 -0
- package/dist/color-picker/ColorPicker.vue.d.ts +23 -0
- package/dist/color-picker/ColorPicker.vue.js +139 -0
- package/dist/color-picker/ColorPickerPanel.vue.d.ts +27 -0
- package/dist/color-picker/ColorPickerPanel.vue.js +1 -0
- package/dist/color-picker/ColorPickerSaturationValue.vue.d.ts +17 -0
- package/dist/color-picker/ColorPickerSaturationValue.vue.js +1 -0
- package/dist/color-picker/ColorPickerSlider.vue.d.ts +17 -0
- package/dist/color-picker/ColorPickerSlider.vue.js +1 -0
- package/dist/color-picker/types.d.ts +22 -0
- package/dist/color-picker/types.js +0 -0
- package/dist/color-picker/useColorPicker.d.ts +33 -0
- package/dist/common/CanvasBanner.vue.d.ts +23 -0
- package/dist/common/CanvasBanner.vue.js +21 -0
- package/dist/common/ContentDivider.vue.d.ts +7 -0
- package/dist/common/ContentDivider.vue.js +20 -0
- package/dist/common/CustomFormValue.vue.d.ts +6 -0
- package/dist/common/CustomFormValue.vue.js +26 -0
- package/dist/common/DotSpinner.vue.d.ts +7 -0
- package/dist/common/DotSpinner.vue.js +32 -0
- package/dist/common/EditableText.vue.d.ts +16 -0
- package/dist/common/EditableText.vue.js +71 -0
- package/dist/common/HighlightedText.vue.d.ts +8 -0
- package/dist/common/HighlightedText.vue.js +49 -0
- package/dist/common/LoadingOverlay.vue.d.ts +18 -0
- package/dist/common/LoadingOverlay.vue.js +39 -0
- package/dist/common/MarkdownText.vue.d.ts +6 -0
- package/dist/common/MarkdownText.vue.js +91 -0
- package/dist/common/MarqueeLine.vue.d.ts +13 -0
- package/dist/common/MarqueeLine.vue.js +11 -0
- package/dist/common/NoResultsPlaceholder.vue.d.ts +28 -0
- package/dist/common/NoResultsPlaceholder.vue.js +49 -0
- package/dist/common/NotificationPopup.vue.d.ts +28 -0
- package/dist/common/NotificationPopup.vue.js +63 -0
- package/dist/common/OverlayIcon.vue.d.ts +13 -0
- package/dist/common/OverlayIcon.vue.js +1 -0
- package/dist/common/SanitizedHtml.vue.d.ts +8 -0
- package/dist/common/SanitizedHtml.vue.js +58 -0
- package/dist/common/TextDivider.vue.d.ts +8 -0
- package/dist/common/TextDivider.vue.js +34 -0
- package/dist/common/TextTicker.vue.d.ts +17 -0
- package/dist/common/TextTicker.vue.js +51 -0
- package/dist/common/TextTickerMultiLine.vue.d.ts +6 -0
- package/dist/common/TextTickerMultiLine.vue.js +51 -0
- package/dist/common/UserAvatar.vue.d.ts +9 -0
- package/dist/common/UserAvatar.vue.js +45 -0
- package/dist/common/VerticalDivider.vue.d.ts +3 -0
- package/dist/common/VerticalDivider.vue.js +14 -0
- package/dist/common/VideoCompareSlider.vue.d.ts +24 -0
- package/dist/common/VideoCompareSlider.vue.js +139 -0
- package/dist/common/ViewportWidgetShell.vue.d.ts +27 -0
- package/dist/common/ViewportWidgetShell.vue.js +56 -0
- package/dist/common/VirtualGrid.vue.d.ts +38 -0
- package/dist/common/VirtualGrid.vue.js +105 -0
- package/dist/common/highlightQuery.d.ts +6 -0
- package/dist/common/textTickerUtils.d.ts +1 -0
- package/dist/components.css +44 -0
- package/dist/composables/useAttrsClass.d.ts +12 -0
- package/dist/composables/useAttrsClass.js +17 -0
- package/dist/composables/usePopoverSizing.d.ts +12 -0
- package/dist/composables/usePopoverSizing.js +17 -0
- package/dist/confirm/ConfirmBody.vue.d.ts +8 -0
- package/dist/confirm/ConfirmBody.vue.js +25 -0
- package/dist/confirm/ConfirmFooter.vue.d.ts +18 -0
- package/dist/confirm/ConfirmFooter.vue.js +53 -0
- package/dist/confirm/ConfirmHeader.vue.d.ts +7 -0
- package/dist/confirm/ConfirmHeader.vue.js +25 -0
- package/dist/content-card/CardBottom.vue.d.ts +16 -0
- package/dist/content-card/CardBottom.vue.js +17 -0
- package/dist/content-card/CardContainer.vue.d.ts +26 -0
- package/dist/content-card/CardContainer.vue.js +59 -0
- package/dist/content-card/CardTop.vue.d.ts +36 -0
- package/dist/content-card/CardTop.vue.js +70 -0
- package/dist/dialog/Dialog.vue.d.ts +21 -0
- package/dist/dialog/Dialog.vue.js +23 -0
- package/dist/dialog/DialogClose.vue.d.ts +13 -0
- package/dist/dialog/DialogClose.vue.js +1 -0
- package/dist/dialog/DialogContent.vue.d.ts +36 -0
- package/dist/dialog/DialogContent.vue.js +1 -0
- package/dist/dialog/DialogDescription.vue.d.ts +18 -0
- package/dist/dialog/DialogDescription.vue.js +31 -0
- package/dist/dialog/DialogFooter.vue.d.ts +17 -0
- package/dist/dialog/DialogFooter.vue.js +22 -0
- package/dist/dialog/DialogHeader.vue.d.ts +17 -0
- package/dist/dialog/DialogHeader.vue.js +22 -0
- package/dist/dialog/DialogMaximize.vue.d.ts +10 -0
- package/dist/dialog/DialogMaximize.vue.js +25 -0
- package/dist/dialog/DialogOverlay.vue.d.ts +8 -0
- package/dist/dialog/DialogOverlay.vue.js +1 -0
- package/dist/dialog/DialogPanel.vue.d.ts +18 -0
- package/dist/dialog/DialogPanel.vue.js +53 -0
- package/dist/dialog/DialogPortal.vue.d.ts +14 -0
- package/dist/dialog/DialogPortal.vue.js +1 -0
- package/dist/dialog/DialogTitle.vue.d.ts +18 -0
- package/dist/dialog/DialogTitle.vue.js +1 -0
- package/dist/dialog/Dialogue.vue.d.ts +22 -0
- package/dist/dialog/Dialogue.vue.js +56 -0
- package/dist/dialog/dialog.variants.d.ts +16 -0
- package/dist/dialog/dialog.variants.js +38 -0
- package/dist/dialog/types.d.ts +6 -0
- package/dist/dialog/types.js +0 -0
- package/dist/field/Field.vue.d.ts +19 -0
- package/dist/field/Field.vue.js +39 -0
- package/dist/field/FieldDescription.vue.d.ts +17 -0
- package/dist/field/FieldDescription.vue.js +22 -0
- package/dist/field/FieldError.vue.d.ts +21 -0
- package/dist/field/FieldError.vue.js +37 -0
- package/dist/field/FieldGroup.vue.d.ts +17 -0
- package/dist/field/FieldGroup.vue.js +22 -0
- package/dist/field/FieldLabel.vue.d.ts +17 -0
- package/dist/field/FieldLabel.vue.js +26 -0
- package/dist/field/FieldSwitch.vue.d.ts +16 -0
- package/dist/field/FieldSwitch.vue.js +43 -0
- package/dist/field/LayoutField.vue.d.ts +18 -0
- package/dist/field/LayoutField.vue.js +1 -0
- package/dist/field/ModelInfoField.vue.d.ts +18 -0
- package/dist/field/ModelInfoField.vue.js +16 -0
- package/dist/field/field.variants.d.ts +11 -0
- package/dist/hover-card/HoverCard.vue.d.ts +18 -0
- package/dist/hover-card/HoverCard.vue.js +24 -0
- package/dist/hover-card/HoverCardContent.vue.d.ts +18 -0
- package/dist/hover-card/HoverCardContent.vue.js +66 -0
- package/dist/hover-card/HoverCardTrigger.vue.d.ts +14 -0
- package/dist/hover-card/HoverCardTrigger.vue.js +21 -0
- package/dist/icon/ComfyLogo.vue.d.ts +9 -0
- package/dist/icon/ComfyLogo.vue.js +31 -0
- package/dist/icon/PuzzleIcon.vue.d.ts +8 -0
- package/dist/icon/PuzzleIcon.vue.js +38 -0
- package/dist/icon/TinyChevronIcon.vue.d.ts +6 -0
- package/dist/icon/TinyChevronIcon.vue.js +29 -0
- package/dist/icon/VerifiedIcon.vue.d.ts +8 -0
- package/dist/icon/VerifiedIcon.vue.js +30 -0
- package/dist/input/Input.vue.d.ts +21 -0
- package/dist/input/Input.vue.js +1 -0
- package/dist/input/PasswordInput.vue.d.ts +18 -0
- package/dist/input/PasswordInput.vue.js +66 -0
- package/dist/input-group/InputGroup.vue.d.ts +17 -0
- package/dist/input-group/InputGroup.vue.js +1 -0
- package/dist/input-group/InputGroupAddon.vue.d.ts +19 -0
- package/dist/input-group/InputGroupAddon.vue.js +1 -0
- package/dist/input-group/InputGroupButton.vue.d.ts +21 -0
- package/dist/input-group/InputGroupButton.vue.js +1 -0
- package/dist/input-group/InputGroupInput.vue.d.ts +15 -0
- package/dist/input-group/InputGroupInput.vue.js +1 -0
- package/dist/input-group/inputGroup.variants.d.ts +21 -0
- package/dist/input-group/inputGroup.variants.js +21 -0
- package/dist/knob/Knob.vue.d.ts +19 -0
- package/dist/knob/Knob.vue.js +122 -0
- package/dist/label/Label.vue.d.ts +18 -0
- package/dist/label/Label.vue.js +1 -0
- package/dist/layout/BaseModalLayout.vue.d.ts +67 -0
- package/dist/layout/BaseModalLayout.vue.js +198 -0
- package/dist/media/AudioPreview.vue.d.ts +6 -0
- package/dist/media/AudioPreview.vue.js +26 -0
- package/dist/media/ImageLightbox.vue.d.ts +17 -0
- package/dist/media/ImageLightbox.vue.js +76 -0
- package/dist/media/MediaTitle.vue.d.ts +6 -0
- package/dist/media/MediaTitle.vue.js +17 -0
- package/dist/media/Video.vue.d.ts +28 -0
- package/dist/media/Video.vue.js +100 -0
- package/dist/media/VideoPlayOverlay.vue.d.ts +8 -0
- package/dist/media/VideoPlayOverlay.vue.js +26 -0
- package/dist/media/VideoPreview.vue.d.ts +7 -0
- package/dist/media/VideoPreview.vue.js +30 -0
- package/dist/media/ZoomPane.vue.d.ts +17 -0
- package/dist/media/ZoomPane.vue.js +60 -0
- package/dist/menu/ContextMenu.vue.d.ts +31 -0
- package/dist/menu/ContextMenu.vue.js +50 -0
- package/dist/menu/ContextMenuContent.vue.d.ts +32 -0
- package/dist/menu/ContextMenuContent.vue.js +1 -0
- package/dist/menu/Menu.vue.d.ts +41 -0
- package/dist/menu/Menu.vue.js +77 -0
- package/dist/menu/MenuAction.vue.d.ts +26 -0
- package/dist/menu/MenuAction.vue.js +1 -0
- package/dist/menu/MenuContent.vue.d.ts +35 -0
- package/dist/menu/MenuContent.vue.js +1 -0
- package/dist/menu/MenuItem.vue.d.ts +22 -0
- package/dist/menu/MenuItem.vue.js +33 -0
- package/dist/menu/MenuItemContent.vue.d.ts +8 -0
- package/dist/menu/MenuItemContent.vue.js +1 -0
- package/dist/menu/MenuItems.vue.d.ts +32 -0
- package/dist/menu/MenuItems.vue.js +1 -0
- package/dist/menu/MenuRadioGroup.vue.d.ts +26 -0
- package/dist/menu/MenuRadioGroup.vue.js +1 -0
- package/dist/menu/MenuRadioItem.vue.d.ts +22 -0
- package/dist/menu/MenuRadioItem.vue.js +1 -0
- package/dist/menu/MenuSeparator.vue.d.ts +8 -0
- package/dist/menu/MenuSeparator.vue.js +1 -0
- package/dist/menu/MenuSub.vue.d.ts +20 -0
- package/dist/menu/MenuSub.vue.js +1 -0
- package/dist/menu/MenuSubContent.vue.d.ts +36 -0
- package/dist/menu/MenuSubContent.vue.js +1 -0
- package/dist/menu/MenuSubTrigger.vue.d.ts +18 -0
- package/dist/menu/MenuSubTrigger.vue.js +1 -0
- package/dist/menu/MenuSubmenu.vue.d.ts +21 -0
- package/dist/menu/MenuSubmenu.vue.js +1 -0
- package/dist/menu/menuAnchor.d.ts +4 -0
- package/dist/menu/menuAnchor.js +14 -0
- package/dist/menu/menuStyles.d.ts +4 -0
- package/dist/menu/menuStyles.js +6 -0
- package/dist/menu/mouseDownUtil.d.ts +3 -0
- package/dist/menu/types.d.ts +69 -0
- package/dist/menu/types.js +0 -0
- package/dist/menu/usePointMenu.d.ts +19 -0
- package/dist/menu/usePointMenu.js +55 -0
- package/dist/message/Message.vue.d.ts +50 -0
- package/dist/message/Message.vue.js +73 -0
- package/dist/message/message.variants.d.ts +11 -0
- package/dist/message/message.variants.js +14 -0
- package/dist/multi-select/MultiSelect.vue.d.ts +170 -0
- package/dist/multi-select/MultiSelect.vue.js +135 -0
- package/dist/multi-select/MultiSelectContent.vue.d.ts +32 -0
- package/dist/multi-select/MultiSelectContent.vue.js +1 -0
- package/dist/multi-select/MultiSelectTrigger.vue.d.ts +24 -0
- package/dist/multi-select/MultiSelectTrigger.vue.js +1 -0
- package/dist/multi-select/types.d.ts +35 -0
- package/dist/multi-select/types.js +0 -0
- package/dist/navigation/LeftSidePanel.vue.d.ts +12 -0
- package/dist/navigation/LeftSidePanel.vue.js +82 -0
- package/dist/navigation/NavIcon.vue.d.ts +7 -0
- package/dist/navigation/NavIcon.vue.js +1 -0
- package/dist/navigation/NavItem.vue.d.ts +21 -0
- package/dist/navigation/NavItem.vue.js +1 -0
- package/dist/navigation/NavTitle.vue.d.ts +12 -0
- package/dist/navigation/NavTitle.vue.js +1 -0
- package/dist/navigation/SidebarTopArea.vue.d.ts +15 -0
- package/dist/navigation/SidebarTopArea.vue.js +15 -0
- package/dist/navigation/types.d.ts +13 -0
- package/dist/navigation/types.js +0 -0
- package/dist/number-field/NumberField.vue.d.ts +26 -0
- package/dist/number-field/NumberField.vue.js +73 -0
- package/dist/number-field/NumberFieldDecrement.vue.d.ts +18 -0
- package/dist/number-field/NumberFieldDecrement.vue.js +33 -0
- package/dist/number-field/NumberFieldIncrement.vue.d.ts +18 -0
- package/dist/number-field/NumberFieldIncrement.vue.js +33 -0
- package/dist/number-field/NumberFieldInput.vue.d.ts +7 -0
- package/dist/number-field/NumberFieldInput.vue.js +23 -0
- package/dist/number-field/PropertyNumberField.vue.d.ts +14 -0
- package/dist/number-field/PropertyNumberField.vue.js +54 -0
- package/dist/pagination/Pagination.vue.d.ts +22 -0
- package/dist/pagination/Pagination.vue.js +138 -0
- package/dist/popover/PopoverContent.vue.d.ts +33 -0
- package/dist/popover/PopoverContent.vue.js +1 -0
- package/dist/popover/usePopoverViewportDismiss.d.ts +2 -0
- package/dist/popover/usePopoverViewportDismiss.js +12 -0
- package/dist/radio-group/RadioGroup.vue.d.ts +22 -0
- package/dist/radio-group/RadioGroup.vue.js +43 -0
- package/dist/radio-group/RadioGroupItem.vue.d.ts +22 -0
- package/dist/radio-group/RadioGroupItem.vue.js +40 -0
- package/dist/search-input/AsyncSearchInput.vue.d.ts +27 -0
- package/dist/search-input/AsyncSearchInput.vue.js +102 -0
- package/dist/search-input/SearchAutocomplete.vue.d.ts +53 -0
- package/dist/search-input/SearchAutocomplete.vue.js +232 -0
- package/dist/search-input/SearchInput.vue.d.ts +46 -0
- package/dist/search-input/SearchInput.vue.js +125 -0
- package/dist/search-input/searchInput.variants.d.ts +45 -0
- package/dist/select/DropdownControl.vue.d.ts +16 -0
- package/dist/select/DropdownControl.vue.js +46 -0
- package/dist/select/Select.vue.d.ts +21 -0
- package/dist/select/Select.vue.js +1 -0
- package/dist/select/SelectContent.vue.d.ts +29 -0
- package/dist/select/SelectContent.vue.js +1 -0
- package/dist/select/SelectItem.vue.d.ts +22 -0
- package/dist/select/SelectItem.vue.js +1 -0
- package/dist/select/SelectScrollDownButton.vue.d.ts +18 -0
- package/dist/select/SelectScrollDownButton.vue.js +1 -0
- package/dist/select/SelectScrollUpButton.vue.d.ts +18 -0
- package/dist/select/SelectScrollUpButton.vue.js +1 -0
- package/dist/select/SelectTrigger.vue.d.ts +22 -0
- package/dist/select/SelectTrigger.vue.js +1 -0
- package/dist/select/SelectValue.vue.d.ts +14 -0
- package/dist/select/SelectValue.vue.js +1 -0
- package/dist/select/types.d.ts +4 -0
- package/dist/select/types.js +0 -0
- package/dist/select/useSelectSearch.d.ts +3 -0
- package/dist/select/useSelectSearch.js +14 -0
- package/dist/shared/Badge-DFHO3AFi.js +90 -0
- package/dist/shared/Button-Dj_H5v3V.js +138 -0
- package/dist/shared/Card-BrvqUM49.js +32 -0
- package/dist/shared/CardFooter-BV_I0pM-.js +19 -0
- package/dist/shared/CardHeader-CMutruBx.js +19 -0
- package/dist/shared/ColorPickerPanel-DQGHuvxk.js +239 -0
- package/dist/shared/ColorPickerSaturationValue-B5VDiMcl.js +64 -0
- package/dist/shared/ColorPickerSlider--mnQyzWD.js +305 -0
- package/dist/shared/ContextMenuContent-RNyBBJOX.js +62 -0
- package/dist/shared/DialogClose-CrtPRSNX.js +22 -0
- package/dist/shared/DialogContent-v2s55FXs.js +71 -0
- package/dist/shared/DialogOverlay-C9qv0zme.js +33 -0
- package/dist/shared/DialogPortal-DtCpLgtO.js +36 -0
- package/dist/shared/DialogTitle-Chomvpgq.js +41 -0
- package/dist/shared/Input-DOeNoniw.js +36 -0
- package/dist/shared/InputGroup-BYt6BWpk.js +23 -0
- package/dist/shared/InputGroupAddon-B1cn7czs.js +36 -0
- package/dist/shared/InputGroupButton-tw5AYOoR.js +39 -0
- package/dist/shared/InputGroupInput-C_kkIxvY.js +30 -0
- package/dist/shared/Label-kwhWNR2P.js +34 -0
- package/dist/shared/LayoutField-C8KCaVF0.js +34 -0
- package/dist/shared/MenuAction-0z8BSoX9.js +121 -0
- package/dist/shared/MenuContent--tKCqaIO.js +78 -0
- package/dist/shared/MenuItemContent-Be658c7e.js +67 -0
- package/dist/shared/MenuItems-BZTlERd6.js +67 -0
- package/dist/shared/MenuRadioGroup-B28YS1p1.js +63 -0
- package/dist/shared/MenuRadioItem-D8DFu-KU.js +34 -0
- package/dist/shared/MenuSeparator-DrAiObmE.js +26 -0
- package/dist/shared/MenuSub-DSizq_fV.js +21 -0
- package/dist/shared/MenuSubContent-ghzkX4hX.js +67 -0
- package/dist/shared/MenuSubTrigger-BGRIm_Bf.js +33 -0
- package/dist/shared/MenuSubmenu-CjPf8DXl.js +41 -0
- package/dist/shared/MultiSelectContent-9xyBQKz3.js +160 -0
- package/dist/shared/MultiSelectTrigger-DNySkpH9.js +50 -0
- package/dist/shared/NavIcon-FTJH75HH.js +12 -0
- package/dist/shared/NavItem-sQJ-77Zw.js +77 -0
- package/dist/shared/NavTitle-BM22yfCR.js +40 -0
- package/dist/shared/OverlayIcon-C-din824.js +43 -0
- package/dist/shared/PopoverContent-DNqL6t-O.js +89 -0
- package/dist/shared/SearchableSingleSelect-DQauLQWW.js +182 -0
- package/dist/shared/Select-DtVgv7Po.js +31 -0
- package/dist/shared/SelectContent-Ba1mCDWM.js +89 -0
- package/dist/shared/SelectItem-DaOr3TFS.js +55 -0
- package/dist/shared/SelectScrollDownButton-DYmxtida.js +28 -0
- package/dist/shared/SelectScrollUpButton-DiyvSb9O.js +28 -0
- package/dist/shared/SelectTrigger-BBicbVsI.js +45 -0
- package/dist/shared/SelectValue-BjaQc-WU.js +21 -0
- package/dist/shared/Switch-qavkHWMz.js +61 -0
- package/dist/shared/TableHead-DpsXVMzk.js +22 -0
- package/dist/shared/TagRemoveButton-D919R-To.js +36 -0
- package/dist/shared/TextTooltip-BNlZI515.js +27 -0
- package/dist/shared/Tooltip-4rCebVao.js +32 -0
- package/dist/shared/TooltipContent-0GR7hBNu.js +89 -0
- package/dist/shared/TooltipTrigger-64EIE5f2.js +63 -0
- package/dist/shared/TransitionCollapse-VfBzyj5a.js +108 -0
- package/dist/shared/_plugin-vue_export-helper-DjkACiAr.js +7 -0
- package/dist/shared/searchInput.variants-BdYHNjce.js +46 -0
- package/dist/shared/select.variants-cRXaATWS.js +39 -0
- package/dist/shared/src-DTwuqov4.js +11 -0
- package/dist/shared/tabKeys-CP6c3wTY.js +3 -0
- package/dist/shared/tabs.variants-Cgk7bRhG.js +22 -0
- package/dist/shared/tag.variants-BEXRRbPc.js +33 -0
- package/dist/shared/tagsInputContext-C-X1-iNf.js +4 -0
- package/dist/shared/toggleGroup.variants-BuwGELw0.js +38 -0
- package/dist/shared/tooltipContext-arEyjGQC.js +3 -0
- package/dist/single-select/SearchableSingleSelect.vue.d.ts +39 -0
- package/dist/single-select/SearchableSingleSelect.vue.js +1 -0
- package/dist/single-select/SingleSelect.vue.d.ts +38 -0
- package/dist/single-select/SingleSelect.vue.js +185 -0
- package/dist/single-select/types.d.ts +25 -0
- package/dist/single-select/types.js +0 -0
- package/dist/skeleton/Skeleton.vue.d.ts +7 -0
- package/dist/skeleton/Skeleton.vue.js +22 -0
- package/dist/slider/GradientSlider.vue.d.ts +20 -0
- package/dist/slider/GradientSlider.vue.js +100 -0
- package/dist/slider/Slider.vue.d.ts +16 -0
- package/dist/slider/Slider.vue.js +86 -0
- package/dist/slider/gradients.d.ts +6 -0
- package/dist/spinner/Spinner.vue.d.ts +7 -0
- package/dist/spinner/Spinner.vue.js +39 -0
- package/dist/splitter/SplitterGroup.vue.d.ts +23 -0
- package/dist/splitter/SplitterGroup.vue.js +38 -0
- package/dist/splitter/SplitterPanel.vue.d.ts +26 -0
- package/dist/splitter/SplitterPanel.vue.js +43 -0
- package/dist/splitter/SplitterResizeHandle.vue.d.ts +22 -0
- package/dist/splitter/SplitterResizeHandle.vue.js +35 -0
- package/dist/switch/Switch.vue.d.ts +17 -0
- package/dist/switch/Switch.vue.js +1 -0
- package/dist/tab/Tab.vue.d.ts +24 -0
- package/dist/tab/Tab.vue.js +73 -0
- package/dist/tab/TabList.vue.d.ts +26 -0
- package/dist/tab/TabList.vue.js +29 -0
- package/dist/tab/TabPanel.vue.d.ts +23 -0
- package/dist/tab/TabPanel.vue.js +26 -0
- package/dist/tab/tab.variants.d.ts +9 -0
- package/dist/tab/tabKeys.d.ts +7 -0
- package/dist/table/Table.vue.d.ts +17 -0
- package/dist/table/Table.vue.js +21 -0
- package/dist/table/TableBody.vue.d.ts +17 -0
- package/dist/table/TableBody.vue.js +19 -0
- package/dist/table/TableCell.vue.d.ts +17 -0
- package/dist/table/TableCell.vue.js +19 -0
- package/dist/table/TableHead.vue.d.ts +17 -0
- package/dist/table/TableHead.vue.js +1 -0
- package/dist/table/TableHeader.vue.d.ts +17 -0
- package/dist/table/TableHeader.vue.js +19 -0
- package/dist/table/TableRow.vue.d.ts +17 -0
- package/dist/table/TableRow.vue.js +19 -0
- package/dist/table/TableSortHead.vue.d.ts +26 -0
- package/dist/table/TableSortHead.vue.js +45 -0
- package/dist/table/tableUtils.d.ts +3 -0
- package/dist/table/tableUtils.js +18 -0
- package/dist/tabs/Tabs.vue.d.ts +22 -0
- package/dist/tabs/Tabs.vue.js +41 -0
- package/dist/tabs/TabsContent.vue.d.ts +18 -0
- package/dist/tabs/TabsContent.vue.js +35 -0
- package/dist/tabs/TabsList.vue.d.ts +20 -0
- package/dist/tabs/TabsList.vue.js +36 -0
- package/dist/tabs/TabsTrigger.vue.d.ts +20 -0
- package/dist/tabs/TabsTrigger.vue.js +37 -0
- package/dist/tabs/tabs.variants.d.ts +21 -0
- package/dist/tags-input/TagsInput.vue.d.ts +32 -0
- package/dist/tags-input/TagsInput.vue.js +96 -0
- package/dist/tags-input/TagsInputInput.vue.d.ts +9 -0
- package/dist/tags-input/TagsInputInput.vue.js +54 -0
- package/dist/tags-input/TagsInputItem.vue.d.ts +18 -0
- package/dist/tags-input/TagsInputItem.vue.js +32 -0
- package/dist/tags-input/TagsInputItemDelete.vue.d.ts +18 -0
- package/dist/tags-input/TagsInputItemDelete.vue.js +33 -0
- package/dist/tags-input/TagsInputItemText.vue.d.ts +8 -0
- package/dist/tags-input/TagsInputItemText.vue.js +26 -0
- package/dist/tags-input/tagsInputContext.d.ts +4 -0
- package/dist/textarea/Textarea.vue.d.ts +17 -0
- package/dist/textarea/Textarea.vue.js +31 -0
- package/dist/toast/ToastClose.vue.d.ts +8 -0
- package/dist/toast/ToastClose.vue.js +40 -0
- package/dist/toast/ToastDescription.vue.d.ts +18 -0
- package/dist/toast/ToastDescription.vue.js +29 -0
- package/dist/toast/ToastDock.vue.d.ts +13 -0
- package/dist/toast/ToastDock.vue.js +27 -0
- package/dist/toast/ToastPanel.vue.d.ts +30 -0
- package/dist/toast/ToastPanel.vue.js +45 -0
- package/dist/toast/ToastRoot.vue.d.ts +100 -0
- package/dist/toast/ToastRoot.vue.js +53 -0
- package/dist/toast/ToastTitle.vue.d.ts +18 -0
- package/dist/toast/ToastTitle.vue.js +29 -0
- package/dist/toast/ToastViewport.vue.d.ts +9 -0
- package/dist/toast/ToastViewport.vue.js +31 -0
- package/dist/toggle-group/ToggleGroup.vue.d.ts +25 -0
- package/dist/toggle-group/ToggleGroup.vue.js +59 -0
- package/dist/toggle-group/ToggleGroupItem.vue.d.ts +21 -0
- package/dist/toggle-group/ToggleGroupItem.vue.js +43 -0
- package/dist/toggle-group/toggleGroup.variants.d.ts +24 -0
- package/dist/tooltip/TextTooltip.vue.d.ts +20 -0
- package/dist/tooltip/TextTooltip.vue.js +1 -0
- package/dist/tooltip/Tooltip.vue.d.ts +23 -0
- package/dist/tooltip/Tooltip.vue.js +1 -0
- package/dist/tooltip/TooltipContent.vue.d.ts +24 -0
- package/dist/tooltip/TooltipContent.vue.js +1 -0
- package/dist/tooltip/TooltipProvider.vue.d.ts +15 -0
- package/dist/tooltip/TooltipProvider.vue.js +37 -0
- package/dist/tooltip/TooltipTrigger.vue.d.ts +14 -0
- package/dist/tooltip/TooltipTrigger.vue.js +1 -0
- package/dist/tooltip/tooltipConfig.d.ts +5 -0
- package/dist/tooltip/tooltipConfig.js +7 -0
- package/dist/tooltip/tooltipContext.d.ts +2 -0
- package/dist/transition/TransitionCollapse.vue.d.ts +21 -0
- package/dist/transition/TransitionCollapse.vue.js +1 -0
- package/dist/tree/Tree.vue.d.ts +32 -0
- package/dist/tree/Tree.vue.js +53 -0
- package/dist/tree/TreeItem.vue.d.ts +29 -0
- package/dist/tree/TreeItem.vue.js +80 -0
- package/dist/tree/treeStyles.d.ts +4 -0
- package/dist/tree/treeStyles.js +6 -0
- package/dist-types/button.variants.d.ts +16 -0
- package/dist-types/select.variants.d.ts +24 -0
- package/dist-types/tag.variants.d.ts +21 -0
- package/dist-types/workspaceAvatar.d.ts +5 -0
- package/package.json +186 -8
- package/src/button.variants.ts +84 -0
- package/src/css/_deprecated-aliases.css +12 -0
- package/src/css/_legacy-palette.css +33 -0
- package/src/css/_legacy-ui.css +418 -0
- package/src/css/_markdown.css +227 -0
- package/src/css/_mask-editor.css +179 -0
- package/src/css/_palette.css +40 -4
- package/src/css/base.css +0 -6
- package/src/css/component-support.css +69 -0
- package/src/css/iconSizing.test.ts +80 -0
- package/src/css/iconifyDynamicPlugin.ts +15 -6
- package/src/css/icons.test.ts +17 -0
- package/src/css/lucideStrokePlugin.js +5 -6
- package/src/css/published.css +3 -0
- package/src/css/style.css +5 -1909
- package/src/css/theme.css +243 -0
- package/src/css/themes/void.css +102 -0
- package/src/icons/README.md +61 -97
- package/src/icons/astroid-filled.svg +3 -0
- package/src/icons/claude.svg +1 -1
- package/src/select.variants.ts +53 -0
- package/src/tag.variants.ts +38 -0
|
File without changes
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { HSVA } from '@comfyorg/design-system/lib/color-picker/types';
|
|
3
|
+
export declare const rgbChannels: readonly [{
|
|
4
|
+
readonly key: "r";
|
|
5
|
+
}, {
|
|
6
|
+
readonly key: "g";
|
|
7
|
+
}, {
|
|
8
|
+
readonly key: "b";
|
|
9
|
+
}];
|
|
10
|
+
export declare function useColorPicker(hsva: Ref<HSVA>): {
|
|
11
|
+
hex: {
|
|
12
|
+
draft: string;
|
|
13
|
+
beginEdit: () => void;
|
|
14
|
+
commit: () => void;
|
|
15
|
+
reset: () => void;
|
|
16
|
+
};
|
|
17
|
+
rgb: {
|
|
18
|
+
draft: {
|
|
19
|
+
r: number;
|
|
20
|
+
g: number;
|
|
21
|
+
b: number;
|
|
22
|
+
};
|
|
23
|
+
beginEdit: () => void;
|
|
24
|
+
commit: () => void;
|
|
25
|
+
reset: () => void;
|
|
26
|
+
};
|
|
27
|
+
alpha: {
|
|
28
|
+
draft: number;
|
|
29
|
+
beginEdit: () => void;
|
|
30
|
+
commit: () => void;
|
|
31
|
+
reset: () => void;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Leading-edge colour, e.g. `border-l-success`. */
|
|
3
|
+
accent: string;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
icon?: (props: typeof __VLS_1) => any;
|
|
8
|
+
} & {
|
|
9
|
+
title?: (props: typeof __VLS_3) => any;
|
|
10
|
+
} & {
|
|
11
|
+
description?: (props: typeof __VLS_5) => any;
|
|
12
|
+
} & {
|
|
13
|
+
actions?: (props: typeof __VLS_7) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
|
+
import { createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
|
+
// src/components/common/CanvasBanner.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var _hoisted_1 = { class: "flex min-w-0 items-center gap-2" };
|
|
5
|
+
var _hoisted_2 = { class: "flex min-w-0 flex-col text-sm wrap-break-word" };
|
|
6
|
+
var _hoisted_3 = { class: "font-medium text-foreground" };
|
|
7
|
+
var _hoisted_4 = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "text-muted-foreground"
|
|
10
|
+
};
|
|
11
|
+
// src/components/common/CanvasBanner.vue
|
|
12
|
+
var CanvasBanner_default = /* @__PURE__ */ defineComponent({
|
|
13
|
+
__name: "CanvasBanner",
|
|
14
|
+
props: { accent: {} },
|
|
15
|
+
setup(__props) {
|
|
16
|
+
return (_ctx, _cache) => {
|
|
17
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(unref(cn)("pointer-events-auto relative flex items-center gap-12 rounded-lg border border-l-4 bg-background p-4 shadow-md", __props.accent)) }, [createElementVNode("div", _hoisted_1, [renderSlot(_ctx.$slots, "icon"), createElementVNode("div", _hoisted_2, [createElementVNode("span", _hoisted_3, [renderSlot(_ctx.$slots, "title")]), _ctx.$slots.description ? (openBlock(), createElementBlock("span", _hoisted_4, [renderSlot(_ctx.$slots, "description")])) : createCommentVNode("", true)])]), renderSlot(_ctx.$slots, "actions")], 2);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
export { CanvasBanner_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
orientation?: 'horizontal' | 'vertical';
|
|
3
|
+
width?: number;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { t as _plugin_vue_export_helper_default } from "../shared/_plugin-vue_export-helper-DjkACiAr.js";
|
|
2
|
+
import { createElementBlock, defineComponent, normalizeClass, openBlock, useCssVars } from "vue";
|
|
3
|
+
// src/components/common/ContentDivider.vue
|
|
4
|
+
var ContentDivider_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "ContentDivider",
|
|
6
|
+
props: {
|
|
7
|
+
orientation: { default: "horizontal" },
|
|
8
|
+
width: { default: .3 }
|
|
9
|
+
},
|
|
10
|
+
setup(__props) {
|
|
11
|
+
useCssVars((_ctx) => ({ "v5581bd6e": _ctx.width + "px" }));
|
|
12
|
+
return (_ctx, _cache) => {
|
|
13
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(["content-divider bg-border", {
|
|
14
|
+
"content-divider--horizontal": __props.orientation === "horizontal",
|
|
15
|
+
"content-divider--vertical": __props.orientation === "vertical"
|
|
16
|
+
}]) }, null, 2);
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
}), [["__scopeId", "data-v-dcb6a1f4"]]);
|
|
20
|
+
export { ContentDivider_default as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
renderFunction: () => HTMLElement;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { createElementBlock, defineComponent, onMounted, openBlock, ref, watch } from "vue";
|
|
2
|
+
// src/components/common/CustomFormValue.vue
|
|
3
|
+
var CustomFormValue_default = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "CustomFormValue",
|
|
5
|
+
props: { renderFunction: { type: Function } },
|
|
6
|
+
setup(__props) {
|
|
7
|
+
const props = __props;
|
|
8
|
+
const container = ref(null);
|
|
9
|
+
function renderContent() {
|
|
10
|
+
if (container.value) {
|
|
11
|
+
container.value.innerHTML = "";
|
|
12
|
+
const element = props.renderFunction();
|
|
13
|
+
container.value.appendChild(element);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
onMounted(renderContent);
|
|
17
|
+
watch(() => props.renderFunction, renderContent);
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
return openBlock(), createElementBlock("div", {
|
|
20
|
+
ref_key: "container",
|
|
21
|
+
ref: container
|
|
22
|
+
}, null, 512);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export { CustomFormValue_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
size?: number;
|
|
3
|
+
duration?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { t as _plugin_vue_export_helper_default } from "../shared/_plugin-vue_export-helper-DjkACiAr.js";
|
|
2
|
+
import { createElementBlock, createStaticVNode, defineComponent, normalizeStyle, openBlock } from "vue";
|
|
3
|
+
// src/components/common/DotSpinner.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var _hoisted_1 = ["width", "height"];
|
|
5
|
+
// src/components/common/DotSpinner.vue
|
|
6
|
+
var DotSpinner_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "DotSpinner",
|
|
8
|
+
props: {
|
|
9
|
+
size: { default: 24 },
|
|
10
|
+
duration: { default: "2s" }
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
return (_ctx, _cache) => {
|
|
14
|
+
return openBlock(), createElementBlock("div", {
|
|
15
|
+
"data-testid": "dot-spinner",
|
|
16
|
+
class: "inline-flex items-center justify-center",
|
|
17
|
+
style: normalizeStyle({
|
|
18
|
+
width: __props.size + "px",
|
|
19
|
+
height: __props.size + "px"
|
|
20
|
+
})
|
|
21
|
+
}, [(openBlock(), createElementBlock("svg", {
|
|
22
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23
|
+
width: __props.size,
|
|
24
|
+
height: __props.size,
|
|
25
|
+
viewBox: "0 0 14 14",
|
|
26
|
+
class: "animate-spin fill-foreground",
|
|
27
|
+
style: normalizeStyle({ animationDuration: __props.duration })
|
|
28
|
+
}, [..._cache[0] || (_cache[0] = [createStaticVNode("<g clip-path=\"url(#clip0_776_9582)\" data-v-8e668792><path class=\"dot-animation\" style=\"animation-delay:0s;\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7 2.21053C7.61042 2.21053 8.10526 1.71568 8.10526 1.10526C8.10526 0.494843 7.61042 0 7 0C6.38958 0 5.89474 0.494843 5.89474 1.10526C5.89474 1.71568 6.38958 2.21053 7 2.21053Z\" data-v-8e668792></path><path class=\"dot-animation\" style=\"animation-delay:0.25s;\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2.21053 7C2.21053 7.61042 1.71568 8.10526 1.10526 8.10526C0.494843 8.10526 0 7.61042 0 7C0 6.38958 0.494843 5.89474 1.10526 5.89474C1.71568 5.89474 2.21053 6.38958 2.21053 7Z\" data-v-8e668792></path><path class=\"dot-animation\" style=\"animation-delay:0.5s;\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 7C14 7.61042 13.5052 8.10526 12.8947 8.10526C12.2843 8.10526 11.7895 7.61042 11.7895 7C11.7895 6.38958 12.2843 5.89474 12.8947 5.89474C13.5052 5.89474 14 6.38958 14 7Z\" data-v-8e668792></path><path class=\"dot-animation\" style=\"animation-delay:0.75s;\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8.10526 12.8947C8.10526 13.5052 7.61041 14 6.99999 14C6.38957 14 5.89473 13.5052 5.89473 12.8947C5.89473 12.2843 6.38957 11.7895 6.99999 11.7895C7.61041 11.7895 8.10526 12.2843 8.10526 12.8947Z\" data-v-8e668792></path><path class=\"dot-animation\" style=\"animation-delay:0.125s;\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2.05039 3.61349C2.48203 4.04513 3.18184 4.04513 3.61347 3.61349C4.0451 3.18186 4.0451 2.48205 3.61347 2.05042C3.18184 1.61878 2.48203 1.61878 2.05039 2.05042C1.61876 2.48205 1.61876 3.18186 2.05039 3.61349Z\" data-v-8e668792></path><path class=\"dot-animation\" style=\"animation-delay:0.625s;\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M11.9496 11.9496C11.518 12.3812 10.8182 12.3812 10.3865 11.9496C9.9549 11.5179 9.9549 10.8181 10.3865 10.3865C10.8182 9.95485 11.518 9.95485 11.9496 10.3865C12.3812 10.8181 12.3812 11.5179 11.9496 11.9496Z\" data-v-8e668792></path><path class=\"dot-animation\" style=\"animation-delay:0.875s;\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2.05039 11.9496C2.48203 12.3812 3.18184 12.3812 3.61347 11.9496C4.0451 11.5179 4.0451 10.8181 3.61347 10.3865C3.18184 9.95485 2.48203 9.95485 2.05039 10.3865C1.61876 10.8181 1.61876 11.5179 2.05039 11.9496Z\" data-v-8e668792></path><path class=\"dot-animation\" style=\"animation-delay:0.375s;\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M11.9496 3.61349C11.518 4.04513 10.8182 4.04513 10.3865 3.61349C9.9549 3.18186 9.9549 2.48205 10.3865 2.05042C10.8182 1.61878 11.518 1.61878 11.9496 2.05042C12.3812 2.48205 12.3812 3.18186 11.9496 3.61349Z\" data-v-8e668792></path></g><defs data-v-8e668792><clipPath id=\"clip0_776_9582\" data-v-8e668792><rect width=\"14\" height=\"14\" fill=\"white\" data-v-8e668792></rect></clipPath></defs>", 2)])], 12, _hoisted_1))], 4);
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
}), [["__scopeId", "data-v-8e668792"]]);
|
|
32
|
+
export { DotSpinner_default as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue: string;
|
|
3
|
+
isEditing?: boolean;
|
|
4
|
+
inputAttrs?: Record<string, string>;
|
|
5
|
+
labelClass?: string;
|
|
6
|
+
labelType?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
cancel: (...args: any[]) => void;
|
|
10
|
+
edit: (...args: any[]) => void;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
onEdit?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { t as Input_default } from "../shared/Input-DOeNoniw.js";
|
|
2
|
+
import { createBlock, createElementBlock, createTextVNode, defineComponent, mergeProps, nextTick, normalizeClass, openBlock, ref, resolveDynamicComponent, toDisplayString, unref, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
3
|
+
// src/components/common/EditableText.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var _hoisted_1 = { class: "editable-text inline" };
|
|
5
|
+
// src/components/common/EditableText.vue
|
|
6
|
+
var EditableText_default = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "EditableText",
|
|
8
|
+
props: {
|
|
9
|
+
modelValue: {},
|
|
10
|
+
isEditing: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: false
|
|
13
|
+
},
|
|
14
|
+
inputAttrs: { default: () => ({}) },
|
|
15
|
+
labelClass: {},
|
|
16
|
+
labelType: { default: "span" }
|
|
17
|
+
},
|
|
18
|
+
emits: ["edit", "cancel"],
|
|
19
|
+
setup(__props, { emit: __emit }) {
|
|
20
|
+
const emit = __emit;
|
|
21
|
+
const inputValue = ref(__props.modelValue);
|
|
22
|
+
const inputRef = ref();
|
|
23
|
+
const isCanceling = ref(false);
|
|
24
|
+
function finishEditing() {
|
|
25
|
+
if (!isCanceling.value) emit("edit", inputValue.value);
|
|
26
|
+
isCanceling.value = false;
|
|
27
|
+
}
|
|
28
|
+
function cancelEditing() {
|
|
29
|
+
isCanceling.value = true;
|
|
30
|
+
inputValue.value = __props.modelValue;
|
|
31
|
+
emit("cancel");
|
|
32
|
+
inputRef.value?.blur();
|
|
33
|
+
}
|
|
34
|
+
watch(() => __props.isEditing, async (newVal) => {
|
|
35
|
+
if (newVal) {
|
|
36
|
+
inputValue.value = __props.modelValue;
|
|
37
|
+
await nextTick(() => {
|
|
38
|
+
if (!inputRef.value) return;
|
|
39
|
+
const fileName = inputValue.value.includes(".") ? inputValue.value.split(".").slice(0, -1).join(".") : inputValue.value;
|
|
40
|
+
inputRef.value.setSelectionRange(0, fileName.length);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}, { immediate: true });
|
|
44
|
+
const vFocus = { mounted: (el) => el.focus() };
|
|
45
|
+
return (_ctx, _cache) => {
|
|
46
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [!__props.isEditing ? (openBlock(), createBlock(resolveDynamicComponent(__props.labelType), {
|
|
47
|
+
key: 0,
|
|
48
|
+
class: normalizeClass(__props.labelClass)
|
|
49
|
+
}, {
|
|
50
|
+
default: withCtx(() => [createTextVNode(toDisplayString(__props.modelValue), 1)]),
|
|
51
|
+
_: 1
|
|
52
|
+
}, 8, ["class"])) : withDirectives((openBlock(), createBlock(unref(Input_default), mergeProps({
|
|
53
|
+
key: 1,
|
|
54
|
+
ref_key: "inputRef",
|
|
55
|
+
ref: inputRef,
|
|
56
|
+
modelValue: inputValue.value,
|
|
57
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
|
|
58
|
+
type: "text",
|
|
59
|
+
class: "h-full rounded-none p-0 focus-visible:ring-0"
|
|
60
|
+
}, __props.inputAttrs, {
|
|
61
|
+
onBlur: finishEditing,
|
|
62
|
+
onKeydownCapture: [_cache[1] || (_cache[1] = withKeys(withModifiers(($event) => inputRef.value?.blur(), ["stop"]), ["enter"])), withKeys(withModifiers(cancelEditing, ["stop"]), ["escape"])],
|
|
63
|
+
onClick: _cache[2] || (_cache[2] = withModifiers(() => {}, ["stop"])),
|
|
64
|
+
onContextmenu: _cache[3] || (_cache[3] = withModifiers(() => {}, ["stop"])),
|
|
65
|
+
onPointerdownCapture: _cache[4] || (_cache[4] = withModifiers(() => {}, ["stop"])),
|
|
66
|
+
onPointermoveCapture: _cache[5] || (_cache[5] = withModifiers(() => {}, ["stop"]))
|
|
67
|
+
}), null, 16, ["modelValue", "onKeydownCapture"])), [[vFocus]])]);
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
export { EditableText_default as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
query: string;
|
|
3
|
+
text: string;
|
|
4
|
+
highlightClass?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
|
+
import { Fragment, createElementBlock, createTextVNode, defineComponent, normalizeClass, openBlock, renderList, toDisplayString, unref } from "vue";
|
|
3
|
+
// src/components/common/highlightQuery.ts
|
|
4
|
+
function highlightQuery(text, query) {
|
|
5
|
+
if (!query) return [{
|
|
6
|
+
text,
|
|
7
|
+
highlighted: false
|
|
8
|
+
}];
|
|
9
|
+
const pattern = Array.from(query).map((ch) => ch.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("[ ]?");
|
|
10
|
+
const regex = new RegExp(pattern, "gi");
|
|
11
|
+
const parts = [];
|
|
12
|
+
let lastIndex = 0;
|
|
13
|
+
for (const match of text.matchAll(regex)) {
|
|
14
|
+
if (match.index > lastIndex) parts.push({
|
|
15
|
+
text: text.slice(lastIndex, match.index),
|
|
16
|
+
highlighted: false
|
|
17
|
+
});
|
|
18
|
+
parts.push({
|
|
19
|
+
text: match[0],
|
|
20
|
+
highlighted: true
|
|
21
|
+
});
|
|
22
|
+
lastIndex = match.index + match[0].length;
|
|
23
|
+
}
|
|
24
|
+
if (lastIndex < text.length || parts.length === 0) parts.push({
|
|
25
|
+
text: text.slice(lastIndex),
|
|
26
|
+
highlighted: false
|
|
27
|
+
});
|
|
28
|
+
return parts;
|
|
29
|
+
}
|
|
30
|
+
// src/components/common/HighlightedText.vue
|
|
31
|
+
var HighlightedText_default = /* @__PURE__ */ defineComponent({
|
|
32
|
+
__name: "HighlightedText",
|
|
33
|
+
props: {
|
|
34
|
+
query: {},
|
|
35
|
+
text: {},
|
|
36
|
+
highlightClass: {}
|
|
37
|
+
},
|
|
38
|
+
setup(__props) {
|
|
39
|
+
return (_ctx, _cache) => {
|
|
40
|
+
return openBlock(true), createElementBlock(Fragment, null, renderList(unref(highlightQuery)(__props.text, __props.query), (part, index) => {
|
|
41
|
+
return openBlock(), createElementBlock(Fragment, { key: index }, [part.highlighted ? (openBlock(), createElementBlock("span", {
|
|
42
|
+
key: 0,
|
|
43
|
+
class: normalizeClass(unref(cn)("highlight", __props.highlightClass))
|
|
44
|
+
}, toDisplayString(part.text), 3)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(part.text), 1)], 64))], 64);
|
|
45
|
+
}), 128);
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export { HighlightedText_default as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
loading: boolean;
|
|
3
|
+
loadingMessage?: string;
|
|
4
|
+
size?: 'sm' | 'md';
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_7: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_7) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
|
+
import { Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, renderSlot, toDisplayString, unref, withCtx } from "vue";
|
|
3
|
+
// src/components/common/LoadingOverlay.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var _hoisted_1 = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "absolute inset-0 z-50 flex items-center justify-center bg-background/50",
|
|
7
|
+
"data-testid": "loading-overlay"
|
|
8
|
+
};
|
|
9
|
+
var _hoisted_2 = { class: "flex flex-col items-center" };
|
|
10
|
+
var _hoisted_3 = { class: "grid place-items-center" };
|
|
11
|
+
var _hoisted_4 = { class: "col-start-1 row-start-1" };
|
|
12
|
+
var _hoisted_5 = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "mt-4 text-lg text-foreground"
|
|
15
|
+
};
|
|
16
|
+
// src/components/common/LoadingOverlay.vue
|
|
17
|
+
var LoadingOverlay_default = /* @__PURE__ */ defineComponent({
|
|
18
|
+
__name: "LoadingOverlay",
|
|
19
|
+
props: {
|
|
20
|
+
loading: { type: Boolean },
|
|
21
|
+
loadingMessage: {},
|
|
22
|
+
size: { default: "md" }
|
|
23
|
+
},
|
|
24
|
+
setup(__props) {
|
|
25
|
+
const spinnerSizeClass = computed(() => {
|
|
26
|
+
switch (__props.size) {
|
|
27
|
+
case "sm": return "h-6 w-6 border-2";
|
|
28
|
+
default: return "h-12 w-12 border-4";
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
return (_ctx, _cache) => {
|
|
32
|
+
return openBlock(), createBlock(Transition, { name: "fade" }, {
|
|
33
|
+
default: withCtx(() => [__props.loading ? (openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [createElementVNode("div", { class: normalizeClass(unref(cn)("col-start-1 row-start-1 animate-spin rounded-full border-muted-foreground border-t-foreground", spinnerSizeClass.value)) }, null, 2), createElementVNode("div", _hoisted_4, [renderSlot(_ctx.$slots, "default")])]), __props.loadingMessage ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString(__props.loadingMessage), 1)) : createCommentVNode("", true)])])) : createCommentVNode("", true)]),
|
|
34
|
+
_: 3
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
export { LoadingOverlay_default as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
text: string;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Fragment, computed, createElementBlock, createElementVNode, defineComponent, openBlock, renderList, toDisplayString } from "vue";
|
|
2
|
+
// src/components/common/MarkdownText.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var _hoisted_1 = { class: "wrap-break-word" };
|
|
4
|
+
var _hoisted_2 = ["textContent"];
|
|
5
|
+
var _hoisted_3 = { key: 1 };
|
|
6
|
+
var _hoisted_4 = ["href"];
|
|
7
|
+
var _hoisted_5 = { class: "text-blue-600" };
|
|
8
|
+
var _hoisted_6 = { key: 1 };
|
|
9
|
+
var _hoisted_7 = { key: 2 };
|
|
10
|
+
var _hoisted_8 = {
|
|
11
|
+
key: 3,
|
|
12
|
+
class: "rounded-sm px-1 py-0.5 text-xs"
|
|
13
|
+
};
|
|
14
|
+
var _hoisted_9 = { key: 4 };
|
|
15
|
+
// src/components/common/MarkdownText.vue
|
|
16
|
+
var MarkdownText_default = /* @__PURE__ */ defineComponent({
|
|
17
|
+
__name: "MarkdownText",
|
|
18
|
+
props: { text: {} },
|
|
19
|
+
setup(__props) {
|
|
20
|
+
const hasMarkdown = computed(() => {
|
|
21
|
+
return /(\[.*?\]\(.*?\)|(\*\*|__)(.*?)(\*\*|__)|(\*|_)(.*?)(\*|_)|`(.*?)`)/.test(__props.text);
|
|
22
|
+
});
|
|
23
|
+
const parsedSegments = computed(() => {
|
|
24
|
+
if (!hasMarkdown.value) return [{
|
|
25
|
+
type: "text",
|
|
26
|
+
text: __props.text
|
|
27
|
+
}];
|
|
28
|
+
const segments = [];
|
|
29
|
+
const remainingText = __props.text;
|
|
30
|
+
let lastIndex = 0;
|
|
31
|
+
const linkRegex = /\[(.*?)\]\((.*?)\)/g;
|
|
32
|
+
let linkMatch;
|
|
33
|
+
while ((linkMatch = linkRegex.exec(remainingText)) !== null) {
|
|
34
|
+
if (linkMatch.index > lastIndex) segments.push({
|
|
35
|
+
type: "text",
|
|
36
|
+
text: remainingText.substring(lastIndex, linkMatch.index)
|
|
37
|
+
});
|
|
38
|
+
segments.push({
|
|
39
|
+
type: "link",
|
|
40
|
+
text: linkMatch[1],
|
|
41
|
+
url: linkMatch[2]
|
|
42
|
+
});
|
|
43
|
+
lastIndex = linkMatch.index + linkMatch[0].length;
|
|
44
|
+
}
|
|
45
|
+
if (lastIndex < remainingText.length) {
|
|
46
|
+
let rest = remainingText.substring(lastIndex);
|
|
47
|
+
rest = rest.replace(/(\*\*|__)(.*?)(\*\*|__)/g, (_, __, p2) => {
|
|
48
|
+
segments.push({
|
|
49
|
+
type: "bold",
|
|
50
|
+
text: p2
|
|
51
|
+
});
|
|
52
|
+
return "";
|
|
53
|
+
});
|
|
54
|
+
rest = rest.replace(/(\*|_)(.*?)(\*|_)/g, (_, __, p2) => {
|
|
55
|
+
segments.push({
|
|
56
|
+
type: "italic",
|
|
57
|
+
text: p2
|
|
58
|
+
});
|
|
59
|
+
return "";
|
|
60
|
+
});
|
|
61
|
+
rest = rest.replace(/`(.*?)`/g, (_, p1) => {
|
|
62
|
+
segments.push({
|
|
63
|
+
type: "code",
|
|
64
|
+
text: p1
|
|
65
|
+
});
|
|
66
|
+
return "";
|
|
67
|
+
});
|
|
68
|
+
if (rest) segments.push({
|
|
69
|
+
type: "text",
|
|
70
|
+
text: rest
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
return segments;
|
|
74
|
+
});
|
|
75
|
+
return (_ctx, _cache) => {
|
|
76
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [!hasMarkdown.value ? (openBlock(), createElementBlock("div", {
|
|
77
|
+
key: 0,
|
|
78
|
+
textContent: toDisplayString(__props.text)
|
|
79
|
+
}, null, 8, _hoisted_2)) : (openBlock(), createElementBlock("div", _hoisted_3, [(openBlock(true), createElementBlock(Fragment, null, renderList(parsedSegments.value, (segment, index) => {
|
|
80
|
+
return openBlock(), createElementBlock(Fragment, { key: index }, [segment.type === "link" && "url" in segment ? (openBlock(), createElementBlock("a", {
|
|
81
|
+
key: 0,
|
|
82
|
+
href: segment.url,
|
|
83
|
+
target: "_blank",
|
|
84
|
+
rel: "noopener noreferrer",
|
|
85
|
+
class: "hover:underline"
|
|
86
|
+
}, [createElementVNode("span", _hoisted_5, toDisplayString(segment.text), 1)], 8, _hoisted_4)) : segment.type === "bold" ? (openBlock(), createElementBlock("strong", _hoisted_6, toDisplayString(segment.text), 1)) : segment.type === "italic" ? (openBlock(), createElementBlock("em", _hoisted_7, toDisplayString(segment.text), 1)) : segment.type === "code" ? (openBlock(), createElementBlock("code", _hoisted_8, toDisplayString(segment.text), 1)) : (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(segment.text), 1))], 64);
|
|
87
|
+
}), 128))]))]);
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
export { MarkdownText_default as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { t as _plugin_vue_export_helper_default } from "../shared/_plugin-vue_export-helper-DjkACiAr.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, openBlock, renderSlot } from "vue";
|
|
3
|
+
// src/components/common/MarqueeLine.vue
|
|
4
|
+
var _sfc_main = {};
|
|
5
|
+
var _hoisted_1 = { class: "@container overflow-hidden mask-[linear-gradient(to_right,black_70%,transparent)] motion-safe:group-hover:mask-none" };
|
|
6
|
+
var _hoisted_2 = { class: "inline-block min-w-full whitespace-nowrap [--_marquee-end:min(calc(-100%+100cqw),0px)] motion-safe:group-hover:animate-[marquee-scroll_2s_linear_infinite_alternate]" };
|
|
7
|
+
function _sfc_render(_ctx, _cache) {
|
|
8
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("span", _hoisted_2, [renderSlot(_ctx.$slots, "default")])]);
|
|
9
|
+
}
|
|
10
|
+
var MarqueeLine_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
11
|
+
export { MarqueeLine_default as default };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ButtonVariants } from '@comfyorg/design-system/button.variants';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
message: string;
|
|
7
|
+
textClass?: string;
|
|
8
|
+
buttonIcon?: string;
|
|
9
|
+
buttonLabel?: string;
|
|
10
|
+
buttonVariant?: ButtonVariants['variant'];
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_1: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
title?: (props: typeof __VLS_1) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
action: (...args: any[]) => void;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onAction?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
|
+
import { t as Button_default } from "../shared/Button-Dj_H5v3V.js";
|
|
3
|
+
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, openBlock, renderSlot, toDisplayString, unref, withCtx } from "vue";
|
|
4
|
+
// src/components/common/NoResultsPlaceholder.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var _hoisted_1 = { class: "flex flex-col items-center bg-(--surface-ground) text-center" };
|
|
6
|
+
var _hoisted_2 = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "mb-2 text-foreground"
|
|
9
|
+
};
|
|
10
|
+
// src/components/common/NoResultsPlaceholder.vue
|
|
11
|
+
var NoResultsPlaceholder_default = /* @__PURE__ */ defineComponent({
|
|
12
|
+
__name: "NoResultsPlaceholder",
|
|
13
|
+
props: {
|
|
14
|
+
class: {},
|
|
15
|
+
icon: {},
|
|
16
|
+
title: {},
|
|
17
|
+
message: {},
|
|
18
|
+
textClass: {},
|
|
19
|
+
buttonIcon: {},
|
|
20
|
+
buttonLabel: {},
|
|
21
|
+
buttonVariant: {}
|
|
22
|
+
},
|
|
23
|
+
emits: ["action"],
|
|
24
|
+
setup(__props) {
|
|
25
|
+
const props = __props;
|
|
26
|
+
return (_ctx, _cache) => {
|
|
27
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(unref(cn)("h-full p-8", props.class)) }, [createElementVNode("div", _hoisted_1, [
|
|
28
|
+
__props.icon ? (openBlock(), createElementBlock("i", {
|
|
29
|
+
key: 0,
|
|
30
|
+
class: normalizeClass(unref(cn)(__props.icon, "mb-4 size-12 text-5xl"))
|
|
31
|
+
}, null, 2)) : createCommentVNode("", true),
|
|
32
|
+
renderSlot(_ctx.$slots, "title", {}, () => [__props.title ? (openBlock(), createElementBlock("h3", _hoisted_2, toDisplayString(__props.title), 1)) : createCommentVNode("", true)]),
|
|
33
|
+
createElementVNode("p", { class: normalizeClass(unref(cn)("mb-4 text-center whitespace-pre-line", __props.textClass)) }, toDisplayString(__props.message), 3),
|
|
34
|
+
__props.buttonLabel ? (openBlock(), createBlock(unref(Button_default), {
|
|
35
|
+
key: 1,
|
|
36
|
+
variant: __props.buttonVariant ?? "textonly",
|
|
37
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("action"))
|
|
38
|
+
}, {
|
|
39
|
+
default: withCtx(() => [__props.buttonIcon ? (openBlock(), createElementBlock("i", {
|
|
40
|
+
key: 0,
|
|
41
|
+
class: normalizeClass(__props.buttonIcon)
|
|
42
|
+
}, null, 2)) : createCommentVNode("", true), createTextVNode(" " + toDisplayString(__props.buttonLabel), 1)]),
|
|
43
|
+
_: 1
|
|
44
|
+
}, 8, ["variant"])) : createCommentVNode("", true)
|
|
45
|
+
])], 2);
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export { NoResultsPlaceholder_default as default };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
icon?: string;
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
closeLabel?: string;
|
|
6
|
+
position?: 'bottom-left' | 'bottom-right';
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_9: {}, __VLS_11: {}, __VLS_13: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_9) => any;
|
|
11
|
+
} & {
|
|
12
|
+
'footer-start'?: (props: typeof __VLS_11) => any;
|
|
13
|
+
} & {
|
|
14
|
+
'footer-end'?: (props: typeof __VLS_13) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
close: () => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onClose?: (() => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|