@comfyorg/design-system 1.2.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 +27 -3
- package/dist/accordion/PropertiesAccordionItem.vue.d.ts +34 -0
- package/dist/accordion/PropertiesAccordionItem.vue.js +62 -0
- package/dist/badge/Badge.vue.js +1 -2
- package/dist/badge/CreditBadge.vue.d.ts +0 -1
- package/dist/badge/CreditBadge.vue.js +10 -24
- package/dist/badge/badge.variants.d.ts +1 -1
- package/dist/button/Button.vue.js +1 -2
- package/dist/button-group/ButtonGroup.vue.js +2 -4
- package/dist/button-group/IconGroup.vue.js +2 -4
- package/dist/card/Card.vue.js +1 -2
- package/dist/card/CardFooter.vue.js +1 -2
- package/dist/card/CardHeader.vue.js +1 -2
- package/dist/card/CoachmarkCard.vue.js +2 -4
- package/dist/chart/Chart.vue.js +4 -7
- package/dist/chart/__tests__/chartTestUtils.d.ts +3 -0
- package/dist/checkbox/Checkbox.vue.js +2 -4
- package/dist/chip/Tag.vue.d.ts +61 -0
- package/dist/chip/Tag.vue.js +71 -0
- package/dist/chip/TagRemoveButton.vue.js +1 -2
- 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.js +3 -5
- package/dist/common/ContentDivider.vue.js +2 -4
- package/dist/common/CustomFormValue.vue.js +1 -3
- package/dist/common/DotSpinner.vue.js +3 -5
- package/dist/common/EditableText.vue.js +3 -5
- package/dist/common/HighlightedText.vue.d.ts +8 -0
- package/dist/common/HighlightedText.vue.js +49 -0
- package/dist/common/LoadingOverlay.vue.js +3 -5
- package/dist/common/MarkdownText.vue.js +2 -4
- package/dist/common/MarqueeLine.vue.js +2 -3
- 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.js +1 -2
- package/dist/common/SanitizedHtml.vue.js +2 -4
- package/dist/common/TextDivider.vue.js +3 -5
- package/dist/common/TextTicker.vue.js +2 -4
- package/dist/common/TextTickerMultiLine.vue.js +3 -6
- package/dist/common/UserAvatar.vue.d.ts +9 -0
- package/dist/common/UserAvatar.vue.js +45 -0
- package/dist/common/VerticalDivider.vue.js +2 -3
- package/dist/common/VideoCompareSlider.vue.js +3 -5
- package/dist/common/ViewportWidgetShell.vue.js +3 -5
- package/dist/common/VirtualGrid.vue.js +1 -3
- package/dist/common/highlightQuery.d.ts +6 -0
- package/dist/composables/useAttrsClass.js +1 -2
- package/dist/composables/usePopoverSizing.js +1 -2
- package/dist/confirm/ConfirmBody.vue.js +3 -5
- package/dist/confirm/ConfirmFooter.vue.d.ts +18 -0
- package/dist/confirm/ConfirmFooter.vue.js +53 -0
- package/dist/confirm/ConfirmHeader.vue.js +2 -4
- package/dist/content-card/CardBottom.vue.js +2 -4
- package/dist/content-card/CardContainer.vue.js +3 -5
- package/dist/content-card/CardTop.vue.js +2 -4
- package/dist/dialog/Dialog.vue.js +1 -3
- package/dist/dialog/DialogClose.vue.js +1 -24
- package/dist/dialog/DialogContent.vue.js +1 -73
- package/dist/dialog/DialogDescription.vue.js +2 -4
- package/dist/dialog/DialogFooter.vue.js +2 -4
- package/dist/dialog/DialogHeader.vue.js +2 -4
- package/dist/dialog/DialogMaximize.vue.js +2 -4
- package/dist/dialog/DialogOverlay.vue.js +1 -35
- package/dist/dialog/DialogPanel.vue.js +7 -9
- package/dist/dialog/DialogPortal.vue.js +1 -38
- package/dist/dialog/DialogTitle.vue.js +1 -2
- package/dist/dialog/Dialogue.vue.d.ts +22 -0
- package/dist/dialog/Dialogue.vue.js +56 -0
- package/dist/dialog/dialog.variants.js +4 -5
- package/dist/field/Field.vue.js +4 -7
- package/dist/field/FieldDescription.vue.js +2 -4
- package/dist/field/FieldError.vue.js +3 -5
- package/dist/field/FieldGroup.vue.js +2 -4
- package/dist/field/FieldLabel.vue.js +3 -5
- 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.js +2 -4
- package/dist/hover-card/HoverCard.vue.js +1 -3
- package/dist/hover-card/HoverCardContent.vue.js +2 -4
- package/dist/hover-card/HoverCardTrigger.vue.js +1 -3
- package/dist/icon/ComfyLogo.vue.js +2 -4
- package/dist/icon/PuzzleIcon.vue.js +2 -4
- package/dist/icon/TinyChevronIcon.vue.js +1 -3
- package/dist/icon/VerifiedIcon.vue.js +2 -4
- package/dist/input/Input.vue.js +1 -2
- package/dist/input/PasswordInput.vue.js +5 -7
- package/dist/input-group/InputGroup.vue.js +1 -2
- package/dist/input-group/InputGroupAddon.vue.js +1 -2
- package/dist/input-group/InputGroupButton.vue.js +1 -2
- package/dist/input-group/InputGroupInput.vue.js +1 -2
- package/dist/input-group/inputGroup.variants.js +1 -2
- package/dist/knob/Knob.vue.js +3 -5
- package/dist/label/Label.vue.js +1 -2
- package/dist/layout/BaseModalLayout.vue.d.ts +67 -0
- package/dist/layout/BaseModalLayout.vue.js +198 -0
- package/dist/media/AudioPreview.vue.js +2 -4
- package/dist/media/ImageLightbox.vue.d.ts +17 -0
- package/dist/media/ImageLightbox.vue.js +76 -0
- package/dist/media/MediaTitle.vue.js +2 -4
- package/dist/media/Video.vue.d.ts +28 -0
- package/dist/media/Video.vue.js +100 -0
- package/dist/media/VideoPlayOverlay.vue.js +3 -5
- package/dist/media/VideoPreview.vue.js +2 -4
- package/dist/media/ZoomPane.vue.js +1 -3
- package/dist/menu/ContextMenu.vue.js +3 -5
- package/dist/menu/ContextMenuContent.vue.js +1 -2
- package/dist/menu/Menu.vue.js +3 -5
- package/dist/menu/MenuAction.vue.js +1 -2
- package/dist/menu/MenuContent.vue.js +1 -2
- package/dist/menu/MenuItem.vue.js +2 -4
- package/dist/menu/MenuItemContent.vue.js +1 -2
- package/dist/menu/MenuItems.vue.js +1 -2
- package/dist/menu/MenuRadioGroup.vue.js +1 -2
- package/dist/menu/MenuRadioItem.vue.js +1 -2
- package/dist/menu/MenuSeparator.vue.js +1 -2
- package/dist/menu/MenuSub.vue.js +1 -2
- package/dist/menu/MenuSubContent.vue.js +1 -2
- package/dist/menu/MenuSubTrigger.vue.js +1 -2
- package/dist/menu/MenuSubmenu.vue.js +1 -2
- package/dist/menu/menuAnchor.js +1 -2
- package/dist/menu/menuStyles.js +1 -2
- package/dist/menu/usePointMenu.js +1 -2
- package/dist/message/Message.vue.js +4 -6
- package/dist/message/message.variants.js +1 -2
- package/dist/multi-select/MultiSelect.vue.js +3 -5
- package/dist/multi-select/MultiSelectContent.vue.js +1 -2
- package/dist/multi-select/MultiSelectTrigger.vue.js +1 -2
- 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.js +1 -42
- package/dist/navigation/SidebarTopArea.vue.js +2 -3
- package/dist/navigation/types.d.ts +13 -0
- package/dist/navigation/types.js +0 -0
- package/dist/number-field/NumberField.vue.js +2 -4
- package/dist/number-field/NumberFieldDecrement.vue.js +2 -4
- package/dist/number-field/NumberFieldIncrement.vue.js +2 -4
- package/dist/number-field/NumberFieldInput.vue.js +2 -4
- package/dist/number-field/PropertyNumberField.vue.js +3 -5
- package/dist/pagination/Pagination.vue.js +8 -10
- package/dist/popover/PopoverContent.vue.js +1 -91
- package/dist/popover/usePopoverViewportDismiss.js +1 -2
- package/dist/radio-group/RadioGroup.vue.js +2 -4
- package/dist/radio-group/RadioGroupItem.vue.js +2 -4
- package/dist/search-input/AsyncSearchInput.vue.js +3 -5
- package/dist/search-input/SearchAutocomplete.vue.js +4 -6
- package/dist/search-input/SearchInput.vue.js +4 -6
- package/dist/select/DropdownControl.vue.js +2 -4
- package/dist/select/Select.vue.js +1 -2
- package/dist/select/SelectContent.vue.js +1 -2
- package/dist/select/SelectItem.vue.d.ts +4 -0
- package/dist/select/SelectItem.vue.js +1 -2
- package/dist/select/SelectScrollDownButton.vue.js +1 -2
- package/dist/select/SelectScrollUpButton.vue.js +1 -2
- package/dist/select/SelectTrigger.vue.js +1 -2
- package/dist/select/SelectValue.vue.js +1 -2
- package/dist/select/useSelectSearch.js +1 -2
- package/dist/shared/{Badge-D3uWa3yk.js → Badge-DFHO3AFi.js} +4 -6
- package/dist/shared/{Button-CilmsOkY.js → Button-Dj_H5v3V.js} +5 -8
- package/dist/shared/{Card-l7baUdn0.js → Card-BrvqUM49.js} +3 -5
- package/dist/shared/{CardFooter-BM6EmVi7.js → CardFooter-BV_I0pM-.js} +2 -4
- package/dist/shared/{CardHeader-B5To28Jp.js → CardHeader-CMutruBx.js} +2 -4
- 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-CNQHJQ81.js → ContextMenuContent-RNyBBJOX.js} +2 -4
- 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-CfkkTGuU.js → DialogTitle-Chomvpgq.js} +2 -4
- package/dist/shared/{Input-39RLwDr2.js → Input-DOeNoniw.js} +2 -4
- package/dist/shared/{InputGroup-kjQKkhyB.js → InputGroup-BYt6BWpk.js} +2 -4
- package/dist/shared/{InputGroupAddon-DLDRT0CQ.js → InputGroupAddon-B1cn7czs.js} +3 -5
- package/dist/shared/{InputGroupButton-BoEp2apg.js → InputGroupButton-tw5AYOoR.js} +3 -5
- package/dist/shared/{InputGroupInput-E2MlEVUU.js → InputGroupInput-C_kkIxvY.js} +3 -5
- package/dist/shared/{Label-Cx_lFofI.js → Label-kwhWNR2P.js} +2 -4
- package/dist/shared/LayoutField-C8KCaVF0.js +34 -0
- package/dist/shared/{MenuAction-BdghJ23k.js → MenuAction-0z8BSoX9.js} +5 -8
- package/dist/shared/{MenuContent-ChqlM3xA.js → MenuContent--tKCqaIO.js} +2 -4
- package/dist/shared/{MenuItemContent--dPNoBmU.js → MenuItemContent-Be658c7e.js} +6 -8
- package/dist/shared/{MenuItems-BJKetPV-.js → MenuItems-BZTlERd6.js} +5 -7
- package/dist/shared/{MenuRadioGroup-Bpjt9sHI.js → MenuRadioGroup-B28YS1p1.js} +4 -6
- package/dist/shared/{MenuRadioItem-h7hh_RGU.js → MenuRadioItem-D8DFu-KU.js} +2 -4
- package/dist/shared/{MenuSeparator-Dm6CkPqB.js → MenuSeparator-DrAiObmE.js} +2 -4
- package/dist/shared/{MenuSub-Dbnj2w-X.js → MenuSub-DSizq_fV.js} +1 -3
- package/dist/shared/{MenuSubContent-M-g3fllh.js → MenuSubContent-ghzkX4hX.js} +2 -4
- package/dist/shared/{MenuSubTrigger-D6-3s2NL.js → MenuSubTrigger-BGRIm_Bf.js} +2 -4
- package/dist/shared/{MenuSubmenu-QHWMyfKF.js → MenuSubmenu-CjPf8DXl.js} +5 -7
- package/dist/shared/{MultiSelectContent-c1D5avjh.js → MultiSelectContent-9xyBQKz3.js} +5 -7
- package/dist/shared/{MultiSelectTrigger-lmuXqETa.js → MultiSelectTrigger-DNySkpH9.js} +4 -6
- 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-DntJI-mm.js → OverlayIcon-C-din824.js} +3 -5
- package/dist/shared/PopoverContent-DNqL6t-O.js +89 -0
- package/dist/shared/{SearchableSingleSelect-Dnti1kqJ.js → SearchableSingleSelect-DQauLQWW.js} +4 -6
- package/dist/shared/{Select-CP3OZjtL.js → Select-DtVgv7Po.js} +1 -3
- package/dist/shared/{SelectContent-C8aNlcFf.js → SelectContent-Ba1mCDWM.js} +4 -6
- package/dist/shared/{SelectItem-tU4CIa5J.js → SelectItem-DaOr3TFS.js} +23 -10
- package/dist/shared/{SelectScrollDownButton-Dvig5MVc.js → SelectScrollDownButton-DYmxtida.js} +2 -4
- package/dist/shared/{SelectScrollUpButton-lv-npT6v.js → SelectScrollUpButton-DiyvSb9O.js} +2 -4
- package/dist/shared/{SelectTrigger-CCDiZW91.js → SelectTrigger-BBicbVsI.js} +2 -4
- package/dist/shared/{SelectValue-DFZFSiQp.js → SelectValue-BjaQc-WU.js} +1 -3
- package/dist/shared/{Switch-DsCzHpDU.js → Switch-qavkHWMz.js} +3 -5
- package/dist/shared/{TableHead-OxGist4m.js → TableHead-DpsXVMzk.js} +2 -4
- package/dist/shared/{TagRemoveButton-BiCdscIC.js → TagRemoveButton-D919R-To.js} +4 -6
- package/dist/shared/{TextTooltip-ClHQl84h.js → TextTooltip-BNlZI515.js} +4 -6
- package/dist/shared/{Tooltip-DbXyHv20.js → Tooltip-4rCebVao.js} +2 -4
- package/dist/shared/{TooltipContent-Bju-U7gc.js → TooltipContent-0GR7hBNu.js} +3 -5
- package/dist/shared/{TooltipTrigger-CVwISmWo.js → TooltipTrigger-64EIE5f2.js} +2 -4
- package/dist/shared/TransitionCollapse-VfBzyj5a.js +108 -0
- package/dist/shared/{_plugin-vue_export-helper-BOaGB7Aw.js → _plugin-vue_export-helper-DjkACiAr.js} +1 -2
- package/dist/shared/{searchInput.variants-NOge_52E.js → searchInput.variants-BdYHNjce.js} +1 -2
- package/dist/shared/{select.variants-BPn5Z7N1.js → select.variants-cRXaATWS.js} +1 -2
- package/dist/shared/{src-CnJ6AzLP.js → src-DTwuqov4.js} +1 -2
- package/dist/shared/{tabKeys-BISOrxWu.js → tabKeys-CP6c3wTY.js} +1 -2
- package/dist/shared/{tabs.variants-XUREdHry.js → tabs.variants-Cgk7bRhG.js} +1 -2
- package/dist/shared/{tag.variants-CCqCn8Jc.js → tag.variants-BEXRRbPc.js} +1 -2
- package/dist/shared/{tagsInputContext-QXu7RrG5.js → tagsInputContext-C-X1-iNf.js} +1 -2
- package/dist/shared/{toggleGroup.variants-CvjZDHMw.js → toggleGroup.variants-BuwGELw0.js} +1 -2
- package/dist/shared/{tooltipContext-BL5JtM0i.js → tooltipContext-arEyjGQC.js} +1 -2
- package/dist/single-select/SearchableSingleSelect.vue.js +1 -2
- package/dist/single-select/SingleSelect.vue.js +5 -7
- package/dist/skeleton/Skeleton.vue.js +2 -4
- package/dist/slider/GradientSlider.vue.d.ts +20 -0
- package/dist/slider/GradientSlider.vue.js +100 -0
- package/dist/slider/Slider.vue.js +2 -4
- package/dist/slider/gradients.d.ts +6 -0
- package/dist/spinner/Spinner.vue.js +2 -4
- package/dist/splitter/SplitterGroup.vue.js +2 -4
- package/dist/splitter/SplitterPanel.vue.js +2 -4
- package/dist/splitter/SplitterResizeHandle.vue.js +2 -4
- package/dist/switch/Switch.vue.js +1 -2
- package/dist/tab/Tab.vue.js +5 -8
- package/dist/tab/TabList.vue.js +3 -5
- package/dist/tab/TabPanel.vue.js +3 -5
- package/dist/table/Table.vue.js +3 -5
- package/dist/table/TableBody.vue.js +2 -4
- package/dist/table/TableCell.vue.js +2 -4
- package/dist/table/TableHead.vue.js +1 -2
- package/dist/table/TableHeader.vue.js +2 -4
- package/dist/table/TableRow.vue.js +2 -4
- package/dist/table/TableSortHead.vue.js +3 -5
- package/dist/table/tableUtils.js +1 -2
- package/dist/tabs/Tabs.vue.js +2 -4
- package/dist/tabs/TabsContent.vue.js +2 -4
- package/dist/tabs/TabsList.vue.js +3 -5
- package/dist/tabs/TabsTrigger.vue.js +3 -5
- package/dist/tags-input/TagsInput.vue.js +4 -6
- package/dist/tags-input/TagsInputInput.vue.js +3 -5
- package/dist/tags-input/TagsInputItem.vue.js +3 -5
- package/dist/tags-input/TagsInputItemDelete.vue.js +2 -4
- package/dist/tags-input/TagsInputItemText.vue.js +2 -4
- package/dist/textarea/Textarea.vue.js +2 -4
- package/dist/toast/ToastClose.vue.js +3 -5
- package/dist/toast/ToastDescription.vue.js +2 -4
- package/dist/toast/ToastDock.vue.js +2 -4
- package/dist/toast/ToastPanel.vue.js +3 -5
- package/dist/toast/ToastRoot.vue.js +3 -5
- package/dist/toast/ToastTitle.vue.js +2 -4
- package/dist/toast/ToastViewport.vue.js +2 -4
- package/dist/toggle-group/ToggleGroup.vue.js +3 -5
- package/dist/toggle-group/ToggleGroupItem.vue.js +3 -5
- package/dist/tooltip/TextTooltip.vue.js +1 -2
- package/dist/tooltip/Tooltip.vue.js +1 -2
- package/dist/tooltip/TooltipContent.vue.js +1 -2
- package/dist/tooltip/TooltipProvider.vue.js +1 -3
- package/dist/tooltip/TooltipTrigger.vue.js +1 -2
- package/dist/tooltip/tooltipConfig.js +1 -2
- package/dist/transition/TransitionCollapse.vue.js +1 -110
- package/dist/tree/Tree.vue.d.ts +1 -1
- package/dist/tree/Tree.vue.js +2 -4
- package/dist/tree/TreeItem.vue.js +4 -6
- package/dist/tree/treeStyles.js +1 -2
- package/package.json +40 -20
- package/src/css/_mask-editor.css +0 -1
- package/src/css/component-support.css +69 -0
- package/src/css/iconSizing.test.ts +1 -1
- package/src/css/published.css +3 -0
- package/src/css/style.css +2 -316
- package/src/css/theme.css +243 -0
- package/src/css/themes/void.css +102 -0
- package/src/icons/README.md +41 -84
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/dialog/DialogFooter.vue
|
|
3
|
+
// src/components/dialog/DialogFooter.vue
|
|
5
4
|
var DialogFooter_default = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "DialogFooter",
|
|
7
6
|
props: { class: {
|
|
@@ -20,5 +19,4 @@ var DialogFooter_default = /* @__PURE__ */ defineComponent({
|
|
|
20
19
|
};
|
|
21
20
|
}
|
|
22
21
|
});
|
|
23
|
-
//#endregion
|
|
24
22
|
export { DialogFooter_default as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/dialog/DialogHeader.vue
|
|
3
|
+
// src/components/dialog/DialogHeader.vue
|
|
5
4
|
var DialogHeader_default = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "DialogHeader",
|
|
7
6
|
props: { class: {
|
|
@@ -20,5 +19,4 @@ var DialogHeader_default = /* @__PURE__ */ defineComponent({
|
|
|
20
19
|
};
|
|
21
20
|
}
|
|
22
21
|
});
|
|
23
|
-
//#endregion
|
|
24
22
|
export { DialogHeader_default as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as Button_default } from "../shared/Button-
|
|
1
|
+
import { t as Button_default } from "../shared/Button-Dj_H5v3V.js";
|
|
2
2
|
import { createBlock, createElementVNode, defineComponent, normalizeClass, openBlock, unref, withCtx } from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/dialog/DialogMaximize.vue
|
|
3
|
+
// src/components/dialog/DialogMaximize.vue
|
|
5
4
|
var DialogMaximize_default = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "DialogMaximize",
|
|
7
6
|
props: { maximized: {
|
|
@@ -23,5 +22,4 @@ var DialogMaximize_default = /* @__PURE__ */ defineComponent({
|
|
|
23
22
|
};
|
|
24
23
|
}
|
|
25
24
|
});
|
|
26
|
-
//#endregion
|
|
27
25
|
export { DialogMaximize_default as default };
|
|
@@ -1,35 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { createBlock, createPropsRestProxy, defineComponent, mergeProps, openBlock, unref } from "vue";
|
|
3
|
-
import { DialogOverlay } from "reka-ui";
|
|
4
|
-
//#endregion
|
|
5
|
-
//#region src/components/dialog/DialogOverlay.vue
|
|
6
|
-
var DialogOverlay_default = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "DialogOverlay",
|
|
8
|
-
props: {
|
|
9
|
-
forceMount: { type: Boolean },
|
|
10
|
-
asChild: { type: Boolean },
|
|
11
|
-
as: {},
|
|
12
|
-
class: {
|
|
13
|
-
type: [
|
|
14
|
-
Boolean,
|
|
15
|
-
null,
|
|
16
|
-
String,
|
|
17
|
-
Object,
|
|
18
|
-
Array
|
|
19
|
-
],
|
|
20
|
-
default: ""
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
setup(__props) {
|
|
24
|
-
const delegated = createPropsRestProxy(__props, ["class"]);
|
|
25
|
-
return (_ctx, _cache) => {
|
|
26
|
-
return openBlock(), createBlock(unref(DialogOverlay), mergeProps(delegated, {
|
|
27
|
-
"data-slot": "dialog-overlay",
|
|
28
|
-
"data-testid": "dialog-overlay",
|
|
29
|
-
class: unref(cn)("fixed inset-0 z-overlay bg-black/70 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0", __props.class)
|
|
30
|
-
}), null, 16, ["class"]);
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
//#endregion
|
|
35
|
-
export { DialogOverlay_default as default };
|
|
1
|
+
export { t as default } from "../shared/DialogOverlay-C9qv0zme.js";
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
2
|
-
import { t as Button_default } from "../shared/Button-
|
|
3
|
-
import { t as Card_default } from "../shared/Card-
|
|
4
|
-
import { t as CardFooter_default } from "../shared/CardFooter-
|
|
5
|
-
import { t as CardHeader_default } from "../shared/CardHeader-
|
|
6
|
-
import { t as DialogTitle_default } from "../shared/DialogTitle-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
|
+
import { t as Button_default } from "../shared/Button-Dj_H5v3V.js";
|
|
3
|
+
import { t as Card_default } from "../shared/Card-BrvqUM49.js";
|
|
4
|
+
import { t as CardFooter_default } from "../shared/CardFooter-BV_I0pM-.js";
|
|
5
|
+
import { t as CardHeader_default } from "../shared/CardHeader-CMutruBx.js";
|
|
6
|
+
import { t as DialogTitle_default } from "../shared/DialogTitle-Chomvpgq.js";
|
|
7
7
|
import { createBlock, createCommentVNode, createElementVNode, createVNode, defineComponent, normalizeClass, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
8
|
-
|
|
9
|
-
//#region src/components/dialog/DialogPanel.vue
|
|
8
|
+
// src/components/dialog/DialogPanel.vue
|
|
10
9
|
var DialogPanel_default = /* @__PURE__ */ defineComponent({
|
|
11
10
|
__name: "DialogPanel",
|
|
12
11
|
props: {
|
|
@@ -51,5 +50,4 @@ var DialogPanel_default = /* @__PURE__ */ defineComponent({
|
|
|
51
50
|
};
|
|
52
51
|
}
|
|
53
52
|
});
|
|
54
|
-
//#endregion
|
|
55
53
|
export { DialogPanel_default as default };
|
|
@@ -1,38 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { ConfigProvider, DialogPortal, injectConfigProviderContext, injectDialogRootContext } from "reka-ui";
|
|
3
|
-
//#endregion
|
|
4
|
-
//#region src/components/dialog/DialogPortal.vue
|
|
5
|
-
var DialogPortal_default = /* @__PURE__ */ defineComponent({
|
|
6
|
-
__name: "DialogPortal",
|
|
7
|
-
props: {
|
|
8
|
-
to: {},
|
|
9
|
-
disabled: { type: Boolean },
|
|
10
|
-
defer: { type: Boolean },
|
|
11
|
-
forceMount: { type: Boolean }
|
|
12
|
-
},
|
|
13
|
-
setup(__props) {
|
|
14
|
-
const props = __props;
|
|
15
|
-
const { open } = injectDialogRootContext();
|
|
16
|
-
const config = reactive(injectConfigProviderContext(null) ?? {});
|
|
17
|
-
const portalTarget = useTemplateRef("portalTarget");
|
|
18
|
-
const openCount = ref(0);
|
|
19
|
-
watch(open, (isOpen) => {
|
|
20
|
-
if (isOpen) openCount.value++;
|
|
21
|
-
});
|
|
22
|
-
return (_ctx, _cache) => {
|
|
23
|
-
return openBlock(), createBlock(unref(DialogPortal), mergeProps({ key: openCount.value }, props), {
|
|
24
|
-
default: withCtx(() => [createElementVNode("div", {
|
|
25
|
-
ref_key: "portalTarget",
|
|
26
|
-
ref: portalTarget,
|
|
27
|
-
class: "pointer-events-none fixed inset-0 z-overlay *:pointer-events-auto empty:hidden"
|
|
28
|
-
}, [portalTarget.value ? (openBlock(), createBlock(unref(ConfigProvider), mergeProps({ key: 0 }, config, { "teleport-to": portalTarget.value }), {
|
|
29
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
30
|
-
_: 3
|
|
31
|
-
}, 16, ["teleport-to"])) : createCommentVNode("", true)], 512)]),
|
|
32
|
-
_: 3
|
|
33
|
-
}, 16);
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
//#endregion
|
|
38
|
-
export { DialogPortal_default as default };
|
|
1
|
+
export { t as default } from "../shared/DialogPortal-DtCpLgtO.js";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { DialogTitle_default as default };
|
|
1
|
+
export { t as default } from "../shared/DialogTitle-Chomvpgq.js";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title?: string;
|
|
3
|
+
closeLabel: string;
|
|
4
|
+
to?: string | HTMLElement;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_14: {}, __VLS_51: {
|
|
7
|
+
close: () => void;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
button?: (props: typeof __VLS_14) => any;
|
|
11
|
+
} & {
|
|
12
|
+
default?: (props: typeof __VLS_51) => any;
|
|
13
|
+
};
|
|
14
|
+
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>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { t as DialogClose_default } from "../shared/DialogClose-CrtPRSNX.js";
|
|
2
|
+
import { t as DialogContent_default } from "../shared/DialogContent-v2s55FXs.js";
|
|
3
|
+
import { t as DialogOverlay_default } from "../shared/DialogOverlay-C9qv0zme.js";
|
|
4
|
+
import { t as DialogPortal_default } from "../shared/DialogPortal-DtCpLgtO.js";
|
|
5
|
+
import { t as DialogTitle_default } from "../shared/DialogTitle-Chomvpgq.js";
|
|
6
|
+
import { t as Button_default } from "../shared/Button-Dj_H5v3V.js";
|
|
7
|
+
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, openBlock, renderSlot, toDisplayString, unref, withCtx } from "vue";
|
|
8
|
+
import { DialogRoot, DialogTrigger } from "reka-ui";
|
|
9
|
+
// src/components/dialog/Dialogue.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
+
var _hoisted_1 = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "flex w-full items-center justify-between border-b border-border/50 px-4"
|
|
13
|
+
};
|
|
14
|
+
// src/components/dialog/Dialogue.vue
|
|
15
|
+
var Dialogue_default = /* @__PURE__ */ defineComponent({
|
|
16
|
+
__name: "Dialogue",
|
|
17
|
+
props: {
|
|
18
|
+
title: {},
|
|
19
|
+
closeLabel: {},
|
|
20
|
+
to: {}
|
|
21
|
+
},
|
|
22
|
+
setup(__props) {
|
|
23
|
+
return (_ctx, _cache) => {
|
|
24
|
+
return openBlock(), createBlock(unref(DialogRoot), null, {
|
|
25
|
+
default: withCtx(({ close }) => [createVNode(unref(DialogTrigger), { "as-child": "" }, {
|
|
26
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "button")]),
|
|
27
|
+
_: 3
|
|
28
|
+
}), createVNode(unref(DialogPortal_default), { to: __props.to }, {
|
|
29
|
+
default: withCtx(() => [createVNode(unref(DialogOverlay_default)), createVNode(unref(DialogContent_default), mergeProps(_ctx.$attrs, {
|
|
30
|
+
size: "sm",
|
|
31
|
+
class: "p-2"
|
|
32
|
+
}), {
|
|
33
|
+
default: withCtx(() => [__props.title ? (openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(DialogTitle_default), { class: "text-sm" }, {
|
|
34
|
+
default: withCtx(() => [createTextVNode(toDisplayString(__props.title), 1)]),
|
|
35
|
+
_: 1
|
|
36
|
+
}), createVNode(unref(DialogClose_default), null, {
|
|
37
|
+
default: withCtx(() => [createVNode(unref(Button_default), {
|
|
38
|
+
"aria-label": __props.closeLabel,
|
|
39
|
+
size: "icon",
|
|
40
|
+
variant: "muted-textonly"
|
|
41
|
+
}, {
|
|
42
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [createElementVNode("i", { class: "icon-[lucide--x]" }, null, -1)])]),
|
|
43
|
+
_: 1
|
|
44
|
+
}, 8, ["aria-label"])]),
|
|
45
|
+
_: 1
|
|
46
|
+
})])) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default", { close })]),
|
|
47
|
+
_: 2
|
|
48
|
+
}, 1040)]),
|
|
49
|
+
_: 2
|
|
50
|
+
}, 1032, ["to"])]),
|
|
51
|
+
_: 3
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export { Dialogue_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cva } from "cva";
|
|
2
|
-
|
|
2
|
+
// src/components/dialog/dialog.variants.ts
|
|
3
3
|
var dialogContentVariants = cva({
|
|
4
|
-
base: "fixed
|
|
4
|
+
base: "fixed flex flex-col outline-none data-[state=closed]:pointer-events-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
5
5
|
variants: {
|
|
6
6
|
surface: {
|
|
7
7
|
card: "rounded-2xl border bg-background shadow-lg",
|
|
@@ -17,13 +17,13 @@ var dialogContentVariants = cva({
|
|
|
17
17
|
},
|
|
18
18
|
maximized: {
|
|
19
19
|
true: "inset-2 top-2 left-2 size-auto max-h-none max-w-none sm:max-w-none",
|
|
20
|
-
false: "top-1/2 left-1/2 max-h-[85vh] w-[calc(100vw-1rem)] translate-x-
|
|
20
|
+
false: "top-1/2 left-1/2 max-h-[85vh] w-[calc(100vw-1rem)] -translate-x-1/2 -translate-y-1/2"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
compoundVariants: [{
|
|
24
24
|
size: "full",
|
|
25
25
|
maximized: false,
|
|
26
|
-
class: "h-[90vh] max-h-[90vh] w-[90vw] max-w-[
|
|
26
|
+
class: "h-[90vh] max-h-[90vh] w-[90vw] max-w-[90vw]"
|
|
27
27
|
}, {
|
|
28
28
|
size: "fit",
|
|
29
29
|
maximized: false,
|
|
@@ -35,5 +35,4 @@ var dialogContentVariants = cva({
|
|
|
35
35
|
maximized: false
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
|
-
//#endregion
|
|
39
38
|
export { dialogContentVariants };
|
package/dist/field/Field.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
3
|
import { cva } from "cva";
|
|
4
|
-
|
|
4
|
+
// src/components/field/field.variants.ts
|
|
5
5
|
var fieldVariants = cva({
|
|
6
6
|
base: "group/field flex w-full gap-3 data-[invalid=true]:text-destructive",
|
|
7
7
|
variants: { orientation: {
|
|
@@ -10,11 +10,9 @@ var fieldVariants = cva({
|
|
|
10
10
|
} },
|
|
11
11
|
defaultVariants: { orientation: "vertical" }
|
|
12
12
|
});
|
|
13
|
-
|
|
14
|
-
//#region src/components/field/Field.vue?vue&type=script&setup=true&lang.ts
|
|
13
|
+
// src/components/field/Field.vue?vue&type=script&setup=true&lang.ts
|
|
15
14
|
var _hoisted_1 = ["data-orientation"];
|
|
16
|
-
|
|
17
|
-
//#region src/components/field/Field.vue
|
|
15
|
+
// src/components/field/Field.vue
|
|
18
16
|
var Field_default = /* @__PURE__ */ defineComponent({
|
|
19
17
|
__name: "Field",
|
|
20
18
|
props: {
|
|
@@ -38,5 +36,4 @@ var Field_default = /* @__PURE__ */ defineComponent({
|
|
|
38
36
|
};
|
|
39
37
|
}
|
|
40
38
|
});
|
|
41
|
-
//#endregion
|
|
42
39
|
export { Field_default as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/field/FieldDescription.vue
|
|
3
|
+
// src/components/field/FieldDescription.vue
|
|
5
4
|
var FieldDescription_default = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "FieldDescription",
|
|
7
6
|
props: { class: { type: [
|
|
@@ -20,5 +19,4 @@ var FieldDescription_default = /* @__PURE__ */ defineComponent({
|
|
|
20
19
|
};
|
|
21
20
|
}
|
|
22
21
|
});
|
|
23
|
-
//#endregion
|
|
24
22
|
export { FieldDescription_default as default };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { Fragment, computed, createCommentVNode, createElementBlock, createTextVNode, defineComponent, normalizeClass, openBlock, renderList, renderSlot, toDisplayString, unref } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/components/field/FieldError.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var _hoisted_1 = {
|
|
5
5
|
key: 2,
|
|
6
6
|
class: "m-0 flex list-disc flex-col gap-1 pl-4"
|
|
7
7
|
};
|
|
8
|
-
|
|
9
|
-
//#region src/components/field/FieldError.vue
|
|
8
|
+
// src/components/field/FieldError.vue
|
|
10
9
|
var FieldError_default = /* @__PURE__ */ defineComponent({
|
|
11
10
|
__name: "FieldError",
|
|
12
11
|
props: {
|
|
@@ -35,5 +34,4 @@ var FieldError_default = /* @__PURE__ */ defineComponent({
|
|
|
35
34
|
};
|
|
36
35
|
}
|
|
37
36
|
});
|
|
38
|
-
//#endregion
|
|
39
37
|
export { FieldError_default as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/field/FieldGroup.vue
|
|
3
|
+
// src/components/field/FieldGroup.vue
|
|
5
4
|
var FieldGroup_default = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "FieldGroup",
|
|
7
6
|
props: { class: { type: [
|
|
@@ -20,5 +19,4 @@ var FieldGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
20
19
|
};
|
|
21
20
|
}
|
|
22
21
|
});
|
|
23
|
-
//#endregion
|
|
24
22
|
export { FieldGroup_default as default };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
2
|
-
import { t as Label_default } from "../shared/Label-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
|
+
import { t as Label_default } from "../shared/Label-kwhWNR2P.js";
|
|
3
3
|
import { createBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
4
|
-
|
|
5
|
-
//#region src/components/field/FieldLabel.vue
|
|
4
|
+
// src/components/field/FieldLabel.vue
|
|
6
5
|
var FieldLabel_default = /* @__PURE__ */ defineComponent({
|
|
7
6
|
__name: "FieldLabel",
|
|
8
7
|
props: { class: { type: [
|
|
@@ -24,5 +23,4 @@ var FieldLabel_default = /* @__PURE__ */ defineComponent({
|
|
|
24
23
|
};
|
|
25
24
|
}
|
|
26
25
|
});
|
|
27
|
-
//#endregion
|
|
28
26
|
export { FieldLabel_default as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: string;
|
|
3
|
+
label: string;
|
|
4
|
+
tooltip?: string;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
|
+
modelValue?: boolean;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: boolean) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { t as Switch_default } from "../shared/Switch-qavkHWMz.js";
|
|
2
|
+
import { t as LayoutField_default } from "../shared/LayoutField-C8KCaVF0.js";
|
|
3
|
+
import { createBlock, createVNode, defineComponent, mergeModels, openBlock, unref, useModel, withCtx } from "vue";
|
|
4
|
+
// src/components/field/FieldSwitch.vue
|
|
5
|
+
var FieldSwitch_default = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "FieldSwitch",
|
|
7
|
+
props: /*@__PURE__*/ mergeModels({
|
|
8
|
+
id: {},
|
|
9
|
+
label: {},
|
|
10
|
+
tooltip: {}
|
|
11
|
+
}, {
|
|
12
|
+
"modelValue": {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: false
|
|
15
|
+
},
|
|
16
|
+
"modelModifiers": {}
|
|
17
|
+
}),
|
|
18
|
+
emits: ["update:modelValue"],
|
|
19
|
+
setup(__props) {
|
|
20
|
+
const modelValue = useModel(__props, "modelValue");
|
|
21
|
+
return (_ctx, _cache) => {
|
|
22
|
+
return openBlock(), createBlock(LayoutField_default, {
|
|
23
|
+
singleline: "",
|
|
24
|
+
label: __props.label,
|
|
25
|
+
tooltip: __props.tooltip
|
|
26
|
+
}, {
|
|
27
|
+
default: withCtx(() => [createVNode(unref(Switch_default), {
|
|
28
|
+
id: __props.id,
|
|
29
|
+
modelValue: modelValue.value,
|
|
30
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
|
|
31
|
+
"aria-label": __props.label,
|
|
32
|
+
class: "transition-transform active:scale-90"
|
|
33
|
+
}, null, 8, [
|
|
34
|
+
"id",
|
|
35
|
+
"modelValue",
|
|
36
|
+
"aria-label"
|
|
37
|
+
])]),
|
|
38
|
+
_: 1
|
|
39
|
+
}, 8, ["label", "tooltip"]);
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export { FieldSwitch_default as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label: string;
|
|
3
|
+
tooltip?: string;
|
|
4
|
+
singleline?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_19: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_19) => 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 @@
|
|
|
1
|
+
export { t as default } from "../shared/LayoutField-C8KCaVF0.js";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { createElementBlock, createElementVNode, defineComponent, openBlock, renderSlot, toDisplayString } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/components/field/ModelInfoField.vue?vue&type=script&setup=true&lang.ts
|
|
3
3
|
var _hoisted_1 = { class: "flex flex-col gap-2 px-4 py-2 text-sm text-foreground" };
|
|
4
4
|
var _hoisted_2 = { class: "relative flex items-center justify-between" };
|
|
5
5
|
var _hoisted_3 = { class: "select-none" };
|
|
6
|
-
|
|
7
|
-
//#region src/components/field/ModelInfoField.vue
|
|
6
|
+
// src/components/field/ModelInfoField.vue
|
|
8
7
|
var ModelInfoField_default = /* @__PURE__ */ defineComponent({
|
|
9
8
|
__name: "ModelInfoField",
|
|
10
9
|
props: { label: {} },
|
|
@@ -14,5 +13,4 @@ var ModelInfoField_default = /* @__PURE__ */ defineComponent({
|
|
|
14
13
|
};
|
|
15
14
|
}
|
|
16
15
|
});
|
|
17
|
-
//#endregion
|
|
18
16
|
export { ModelInfoField_default as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { createBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
2
2
|
import { HoverCardRoot, useForwardPropsEmits } from "reka-ui";
|
|
3
|
-
|
|
4
|
-
//#region src/components/hover-card/HoverCard.vue
|
|
3
|
+
// src/components/hover-card/HoverCard.vue
|
|
5
4
|
var HoverCard_default = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "HoverCard",
|
|
7
6
|
props: {
|
|
@@ -22,5 +21,4 @@ var HoverCard_default = /* @__PURE__ */ defineComponent({
|
|
|
22
21
|
};
|
|
23
22
|
}
|
|
24
23
|
});
|
|
25
|
-
//#endregion
|
|
26
24
|
export { HoverCard_default as default };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { computed, createBlock, createPropsRestProxy, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
3
3
|
import { HoverCardContent, HoverCardPortal, injectHoverCardRootContext, useForwardProps } from "reka-ui";
|
|
4
|
-
|
|
5
|
-
//#region src/components/hover-card/HoverCardContent.vue
|
|
4
|
+
// src/components/hover-card/HoverCardContent.vue
|
|
6
5
|
var HoverCardContent_default = /* @__PURE__ */ defineComponent({
|
|
7
6
|
__name: "HoverCardContent",
|
|
8
7
|
props: {
|
|
@@ -64,5 +63,4 @@ var HoverCardContent_default = /* @__PURE__ */ defineComponent({
|
|
|
64
63
|
};
|
|
65
64
|
}
|
|
66
65
|
});
|
|
67
|
-
//#endregion
|
|
68
66
|
export { HoverCardContent_default as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { createBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
2
2
|
import { HoverCardTrigger, useForwardProps } from "reka-ui";
|
|
3
|
-
|
|
4
|
-
//#region src/components/hover-card/HoverCardTrigger.vue
|
|
3
|
+
// src/components/hover-card/HoverCardTrigger.vue
|
|
5
4
|
var HoverCardTrigger_default = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "HoverCardTrigger",
|
|
7
6
|
props: {
|
|
@@ -19,5 +18,4 @@ var HoverCardTrigger_default = /* @__PURE__ */ defineComponent({
|
|
|
19
18
|
};
|
|
20
19
|
}
|
|
21
20
|
});
|
|
22
|
-
//#endregion
|
|
23
21
|
export { HoverCardTrigger_default as default };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeClass, openBlock } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/components/icon/ComfyLogo.vue?vue&type=script&setup=true&lang.ts
|
|
3
3
|
var _hoisted_1 = ["width", "height"];
|
|
4
|
-
|
|
5
|
-
//#region src/components/icon/ComfyLogo.vue
|
|
4
|
+
// src/components/icon/ComfyLogo.vue
|
|
6
5
|
var ComfyLogo_default = /* @__PURE__ */ defineComponent({
|
|
7
6
|
__name: "ComfyLogo",
|
|
8
7
|
props: {
|
|
@@ -29,5 +28,4 @@ var ComfyLogo_default = /* @__PURE__ */ defineComponent({
|
|
|
29
28
|
};
|
|
30
29
|
}
|
|
31
30
|
});
|
|
32
|
-
//#endregion
|
|
33
31
|
export { ComfyLogo_default as default };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { computed, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/components/icon/PuzzleIcon.vue?vue&type=script&setup=true&lang.ts
|
|
3
3
|
var _hoisted_1 = ["width", "height"];
|
|
4
4
|
var _hoisted_2 = { "clip-path": "url(#clip0_1099_16244)" };
|
|
5
5
|
var _hoisted_3 = ["stroke"];
|
|
6
|
-
|
|
7
|
-
//#region src/components/icon/PuzzleIcon.vue
|
|
6
|
+
// src/components/icon/PuzzleIcon.vue
|
|
8
7
|
var PuzzleIcon_default = /* @__PURE__ */ defineComponent({
|
|
9
8
|
__name: "PuzzleIcon",
|
|
10
9
|
props: {
|
|
@@ -36,5 +35,4 @@ var PuzzleIcon_default = /* @__PURE__ */ defineComponent({
|
|
|
36
35
|
};
|
|
37
36
|
}
|
|
38
37
|
});
|
|
39
|
-
//#endregion
|
|
40
38
|
export { PuzzleIcon_default as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock } from "vue";
|
|
2
|
-
|
|
3
|
-
//#region src/components/icon/TinyChevronIcon.vue
|
|
2
|
+
// src/components/icon/TinyChevronIcon.vue
|
|
4
3
|
var TinyChevronIcon_default = /* @__PURE__ */ defineComponent({
|
|
5
4
|
__name: "TinyChevronIcon",
|
|
6
5
|
props: { rotateUp: {
|
|
@@ -27,5 +26,4 @@ var TinyChevronIcon_default = /* @__PURE__ */ defineComponent({
|
|
|
27
26
|
};
|
|
28
27
|
}
|
|
29
28
|
});
|
|
30
|
-
//#endregion
|
|
31
29
|
export { TinyChevronIcon_default as default };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { computed, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/components/icon/VerifiedIcon.vue?vue&type=script&setup=true&lang.ts
|
|
3
3
|
var _hoisted_1 = ["width", "height"];
|
|
4
4
|
var _hoisted_2 = ["fill"];
|
|
5
|
-
|
|
6
|
-
//#region src/components/icon/VerifiedIcon.vue
|
|
5
|
+
// src/components/icon/VerifiedIcon.vue
|
|
7
6
|
var VerifiedIcon_default = /* @__PURE__ */ defineComponent({
|
|
8
7
|
__name: "VerifiedIcon",
|
|
9
8
|
props: {
|
|
@@ -28,5 +27,4 @@ var VerifiedIcon_default = /* @__PURE__ */ defineComponent({
|
|
|
28
27
|
};
|
|
29
28
|
}
|
|
30
29
|
});
|
|
31
|
-
//#endregion
|
|
32
30
|
export { VerifiedIcon_default as default };
|
package/dist/input/Input.vue.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Input_default as default };
|
|
1
|
+
export { t as default } from "../shared/Input-DOeNoniw.js";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { t as InputGroup_default } from "../shared/InputGroup-
|
|
2
|
-
import { t as InputGroupAddon_default } from "../shared/InputGroupAddon-
|
|
3
|
-
import { t as InputGroupButton_default } from "../shared/InputGroupButton-
|
|
4
|
-
import { t as InputGroupInput_default } from "../shared/InputGroupInput-
|
|
1
|
+
import { t as InputGroup_default } from "../shared/InputGroup-BYt6BWpk.js";
|
|
2
|
+
import { t as InputGroupAddon_default } from "../shared/InputGroupAddon-B1cn7czs.js";
|
|
3
|
+
import { t as InputGroupButton_default } from "../shared/InputGroupButton-tw5AYOoR.js";
|
|
4
|
+
import { t as InputGroupInput_default } from "../shared/InputGroupInput-C_kkIxvY.js";
|
|
5
5
|
import { createBlock, createElementVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, openBlock, ref, unref, useModel, withCtx } from "vue";
|
|
6
|
-
|
|
7
|
-
//#region src/components/input/PasswordInput.vue
|
|
6
|
+
// src/components/input/PasswordInput.vue
|
|
8
7
|
var PasswordInput_default = /* @__PURE__ */ defineComponent({
|
|
9
8
|
inheritAttrs: false,
|
|
10
9
|
__name: "PasswordInput",
|
|
@@ -64,5 +63,4 @@ var PasswordInput_default = /* @__PURE__ */ defineComponent({
|
|
|
64
63
|
};
|
|
65
64
|
}
|
|
66
65
|
});
|
|
67
|
-
//#endregion
|
|
68
66
|
export { PasswordInput_default as default };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { InputGroup_default as default };
|
|
1
|
+
export { t as default } from "../shared/InputGroup-BYt6BWpk.js";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { InputGroupAddon_default as default };
|
|
1
|
+
export { t as default } from "../shared/InputGroupAddon-B1cn7czs.js";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { InputGroupButton_default as default };
|
|
1
|
+
export { t as default } from "../shared/InputGroupButton-tw5AYOoR.js";
|