@comfyorg/design-system 1.2.0 → 1.3.0-alpha.1
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 +33 -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 +50 -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 +3 -5
- 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/_baseline.css +143 -0
- package/src/css/_mask-editor.css +0 -1
- package/src/css/baseline.css +3 -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 +175 -0
- package/src/icons/README.md +41 -84
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { t as Button_default } from "../shared/Button-Dj_H5v3V.js";
|
|
2
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
3
|
+
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, renderSlot, toDisplayString, unref, withCtx } from "vue";
|
|
4
|
+
// src/components/common/NotificationPopup.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var _hoisted_1 = ["data-position"];
|
|
6
|
+
var _hoisted_2 = { class: "flex min-h-0 flex-1 flex-col gap-4 p-4" };
|
|
7
|
+
var _hoisted_3 = { class: "flex items-center gap-4" };
|
|
8
|
+
var _hoisted_4 = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "flex shrink-0 items-center justify-center rounded-lg bg-primary/90 p-3"
|
|
11
|
+
};
|
|
12
|
+
var _hoisted_5 = { class: "flex flex-1 flex-col gap-1 font-normal" };
|
|
13
|
+
var _hoisted_6 = { class: "text-sm leading-[1.429]" };
|
|
14
|
+
var _hoisted_7 = {
|
|
15
|
+
key: 0,
|
|
16
|
+
class: "text-sm leading-[1.21] text-muted-foreground"
|
|
17
|
+
};
|
|
18
|
+
var _hoisted_8 = {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "min-h-0 flex-1 overflow-y-auto text-sm text-muted-foreground"
|
|
21
|
+
};
|
|
22
|
+
var _hoisted_9 = {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "flex items-center justify-between px-4 pb-4"
|
|
25
|
+
};
|
|
26
|
+
var _hoisted_10 = { class: "flex items-center gap-4" };
|
|
27
|
+
// src/components/common/NotificationPopup.vue
|
|
28
|
+
var NotificationPopup_default = /* @__PURE__ */ defineComponent({
|
|
29
|
+
__name: "NotificationPopup",
|
|
30
|
+
props: {
|
|
31
|
+
icon: {},
|
|
32
|
+
title: {},
|
|
33
|
+
subtitle: {},
|
|
34
|
+
closeLabel: {},
|
|
35
|
+
position: { default: "bottom-left" }
|
|
36
|
+
},
|
|
37
|
+
emits: ["close"],
|
|
38
|
+
setup(__props, { emit: __emit }) {
|
|
39
|
+
const emit = __emit;
|
|
40
|
+
return (_ctx, _cache) => {
|
|
41
|
+
return openBlock(), createElementBlock("div", {
|
|
42
|
+
role: "status",
|
|
43
|
+
"data-position": __props.position,
|
|
44
|
+
class: normalizeClass(unref(cn)("pointer-events-auto absolute flex max-h-96 w-96 flex-col rounded-lg border bg-background shadow-md", __props.position === "bottom-left" && "bottom-4 left-4", __props.position === "bottom-right" && "right-4 bottom-4"))
|
|
45
|
+
}, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [
|
|
46
|
+
__props.icon ? (openBlock(), createElementBlock("div", _hoisted_4, [createElementVNode("i", { class: normalizeClass(unref(cn)("text-white", __props.icon)) }, null, 2)])) : createCommentVNode("", true),
|
|
47
|
+
createElementVNode("div", _hoisted_5, [createElementVNode("div", _hoisted_6, toDisplayString(__props.title), 1), __props.subtitle ? (openBlock(), createElementBlock("div", _hoisted_7, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true)]),
|
|
48
|
+
__props.closeLabel ? (openBlock(), createBlock(unref(Button_default), {
|
|
49
|
+
key: 1,
|
|
50
|
+
class: "size-6 shrink-0 self-start",
|
|
51
|
+
size: "icon-sm",
|
|
52
|
+
variant: "muted-textonly",
|
|
53
|
+
"aria-label": __props.closeLabel,
|
|
54
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emit("close"))
|
|
55
|
+
}, {
|
|
56
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [createElementVNode("i", { class: "icon-[lucide--x] size-3.5" }, null, -1)])]),
|
|
57
|
+
_: 1
|
|
58
|
+
}, 8, ["aria-label"])) : createCommentVNode("", true)
|
|
59
|
+
]), _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_8, [renderSlot(_ctx.$slots, "default")])) : createCommentVNode("", true)]), _ctx.$slots["footer-start"] || _ctx.$slots["footer-end"] ? (openBlock(), createElementBlock("div", _hoisted_9, [createElementVNode("div", null, [renderSlot(_ctx.$slots, "footer-start")]), createElementVNode("div", _hoisted_10, [renderSlot(_ctx.$slots, "footer-end")])])) : createCommentVNode("", true)], 10, _hoisted_1);
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
export { NotificationPopup_default as default };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { OverlayIcon_default as default };
|
|
1
|
+
export { t as default } from "../shared/OverlayIcon-C-din824.js";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { computed, createElementBlock, defineComponent, mergeProps, openBlock } from "vue";
|
|
2
2
|
import createDOMPurify from "dompurify";
|
|
3
|
-
|
|
3
|
+
// src/components/common/SanitizedHtml.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var _hoisted_1 = ["innerHTML"];
|
|
5
5
|
var _hoisted_2 = ["innerHTML"];
|
|
6
|
-
|
|
7
|
-
//#region src/components/common/SanitizedHtml.vue
|
|
6
|
+
// src/components/common/SanitizedHtml.vue
|
|
8
7
|
var SanitizedHtml_default = /* @__PURE__ */ defineComponent({
|
|
9
8
|
inheritAttrs: false,
|
|
10
9
|
__name: "SanitizedHtml",
|
|
@@ -56,5 +55,4 @@ var SanitizedHtml_default = /* @__PURE__ */ defineComponent({
|
|
|
56
55
|
};
|
|
57
56
|
}
|
|
58
57
|
});
|
|
59
|
-
//#endregion
|
|
60
58
|
export { SanitizedHtml_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, toDisplayString, unref } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/components/common/TextDivider.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var _hoisted_1 = { class: "flex items-center" };
|
|
5
5
|
var _hoisted_2 = {
|
|
6
6
|
key: 0,
|
|
@@ -10,8 +10,7 @@ var _hoisted_3 = {
|
|
|
10
10
|
key: 1,
|
|
11
11
|
class: "ml-2 shrink-0"
|
|
12
12
|
};
|
|
13
|
-
|
|
14
|
-
//#region src/components/common/TextDivider.vue
|
|
13
|
+
// src/components/common/TextDivider.vue
|
|
15
14
|
var TextDivider_default = /* @__PURE__ */ defineComponent({
|
|
16
15
|
__name: "TextDivider",
|
|
17
16
|
props: {
|
|
@@ -32,5 +31,4 @@ var TextDivider_default = /* @__PURE__ */ defineComponent({
|
|
|
32
31
|
};
|
|
33
32
|
}
|
|
34
33
|
});
|
|
35
|
-
//#endregion
|
|
36
34
|
export { TextDivider_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 { createElementBlock, defineComponent, normalizeClass, openBlock, ref, renderSlot, unref, watch } from "vue";
|
|
3
3
|
import { useElementHover, useElementSize, useRafFn } from "@vueuse/core";
|
|
4
|
-
|
|
5
|
-
//#region src/components/common/TextTicker.vue
|
|
4
|
+
// src/components/common/TextTicker.vue
|
|
6
5
|
var TextTicker_default = /* @__PURE__ */ defineComponent({
|
|
7
6
|
__name: "TextTicker",
|
|
8
7
|
props: { speed: { default: 70 } },
|
|
@@ -49,5 +48,4 @@ var TextTicker_default = /* @__PURE__ */ defineComponent({
|
|
|
49
48
|
};
|
|
50
49
|
}
|
|
51
50
|
});
|
|
52
|
-
//#endregion
|
|
53
51
|
export { TextTicker_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import MarqueeLine_default from "./MarqueeLine.vue.js";
|
|
2
2
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, defineComponent, openBlock, renderList, toDisplayString, useTemplateRef, withCtx } from "vue";
|
|
3
3
|
import { useElementSize } from "@vueuse/core";
|
|
4
|
-
|
|
4
|
+
// src/components/common/textTickerUtils.ts
|
|
5
5
|
function splitTextAtWordBoundary(text, ratio) {
|
|
6
6
|
if (ratio >= 1) return [text, ""];
|
|
7
7
|
const estimate = Math.floor(text.length * ratio);
|
|
@@ -10,12 +10,10 @@ function splitTextAtWordBoundary(text, ratio) {
|
|
|
10
10
|
if (breakIndex <= 0) return [text, ""];
|
|
11
11
|
return [text.substring(0, breakIndex), text.substring(breakIndex + 1)];
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
//#region src/components/common/TextTickerMultiLine.vue?vue&type=script&setup=true&lang.ts
|
|
13
|
+
// src/components/common/TextTickerMultiLine.vue?vue&type=script&setup=true&lang.ts
|
|
15
14
|
var _hoisted_1 = ["textContent"];
|
|
16
15
|
var _hoisted_2 = { class: "flex w-full flex-col" };
|
|
17
|
-
|
|
18
|
-
//#region src/components/common/TextTickerMultiLine.vue
|
|
16
|
+
// src/components/common/TextTickerMultiLine.vue
|
|
19
17
|
var TextTickerMultiLine_default = /* @__PURE__ */ defineComponent({
|
|
20
18
|
__name: "TextTickerMultiLine",
|
|
21
19
|
props: { text: {} },
|
|
@@ -50,5 +48,4 @@ var TextTickerMultiLine_default = /* @__PURE__ */ defineComponent({
|
|
|
50
48
|
};
|
|
51
49
|
}
|
|
52
50
|
});
|
|
53
|
-
//#endregion
|
|
54
51
|
export { TextTickerMultiLine_default as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
photoUrl?: string | null;
|
|
3
|
+
label: string;
|
|
4
|
+
iconClass?: string;
|
|
5
|
+
size?: 'normal' | 'large';
|
|
6
|
+
};
|
|
7
|
+
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>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
|
+
import { computed, createElementBlock, defineComponent, normalizeClass, openBlock, ref, unref, watch } from "vue";
|
|
3
|
+
// src/components/common/UserAvatar.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var _hoisted_1 = [
|
|
5
|
+
"src",
|
|
6
|
+
"alt",
|
|
7
|
+
"aria-label"
|
|
8
|
+
];
|
|
9
|
+
var _hoisted_2 = ["aria-label"];
|
|
10
|
+
// src/components/common/UserAvatar.vue
|
|
11
|
+
var UserAvatar_default = /* @__PURE__ */ defineComponent({
|
|
12
|
+
__name: "UserAvatar",
|
|
13
|
+
props: {
|
|
14
|
+
photoUrl: {},
|
|
15
|
+
label: {},
|
|
16
|
+
iconClass: { default: "size-4" },
|
|
17
|
+
size: { default: "normal" }
|
|
18
|
+
},
|
|
19
|
+
setup(__props) {
|
|
20
|
+
const imageError = ref(false);
|
|
21
|
+
const handleImageError = () => {
|
|
22
|
+
imageError.value = true;
|
|
23
|
+
};
|
|
24
|
+
const hasAvatar = computed(() => __props.photoUrl && !imageError.value);
|
|
25
|
+
watch(() => __props.photoUrl, () => {
|
|
26
|
+
imageError.value = false;
|
|
27
|
+
});
|
|
28
|
+
return (_ctx, _cache) => {
|
|
29
|
+
return openBlock(), createElementBlock("span", { class: normalizeClass(unref(cn)("inline-flex aspect-square items-center justify-center overflow-hidden rounded-full bg-muted", __props.size === "large" ? "size-12" : "size-8")) }, [hasAvatar.value ? (openBlock(), createElementBlock("img", {
|
|
30
|
+
key: 0,
|
|
31
|
+
src: __props.photoUrl ?? void 0,
|
|
32
|
+
alt: __props.label,
|
|
33
|
+
"aria-label": __props.label,
|
|
34
|
+
class: "size-full object-cover",
|
|
35
|
+
onError: handleImageError
|
|
36
|
+
}, null, 40, _hoisted_1)) : (openBlock(), createElementBlock("i", {
|
|
37
|
+
key: 1,
|
|
38
|
+
"data-testid": "avatar-icon",
|
|
39
|
+
"aria-label": __props.label,
|
|
40
|
+
class: normalizeClass(unref(cn)("icon-[lucide--user]", __props.iconClass))
|
|
41
|
+
}, null, 10, _hoisted_2))], 2);
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
export { UserAvatar_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as _plugin_vue_export_helper_default } from "../shared/_plugin-vue_export-helper-
|
|
1
|
+
import { t as _plugin_vue_export_helper_default } from "../shared/_plugin-vue_export-helper-DjkACiAr.js";
|
|
2
2
|
import { createElementBlock, openBlock } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/components/common/VerticalDivider.vue
|
|
4
4
|
var _sfc_main = {};
|
|
5
5
|
var _hoisted_1 = {
|
|
6
6
|
role: "separator",
|
|
@@ -11,5 +11,4 @@ function _sfc_render(_ctx, _cache) {
|
|
|
11
11
|
return openBlock(), createElementBlock("div", _hoisted_1);
|
|
12
12
|
}
|
|
13
13
|
var VerticalDivider_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
14
|
-
//#endregion
|
|
15
14
|
export { VerticalDivider_default as default };
|
|
@@ -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 { computed, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, ref, renderSlot, unref, useTemplateRef, watchEffect } from "vue";
|
|
3
3
|
import { useEventListener, usePreferredReducedMotion } from "@vueuse/core";
|
|
4
|
-
|
|
4
|
+
// src/components/common/VideoCompareSlider.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = ["aria-label"];
|
|
6
6
|
var _hoisted_2 = [
|
|
7
7
|
"src",
|
|
@@ -15,8 +15,7 @@ var _hoisted_3 = [
|
|
|
15
15
|
];
|
|
16
16
|
var _hoisted_4 = ["aria-label", "aria-valuenow"];
|
|
17
17
|
var KEY_STEP = 5;
|
|
18
|
-
|
|
19
|
-
//#region src/components/common/VideoCompareSlider.vue
|
|
18
|
+
// src/components/common/VideoCompareSlider.vue
|
|
20
19
|
var VideoCompareSlider_default = /* @__PURE__ */ defineComponent({
|
|
21
20
|
__name: "VideoCompareSlider",
|
|
22
21
|
props: {
|
|
@@ -137,5 +136,4 @@ var VideoCompareSlider_default = /* @__PURE__ */ defineComponent({
|
|
|
137
136
|
};
|
|
138
137
|
}
|
|
139
138
|
});
|
|
140
|
-
//#endregion
|
|
141
139
|
export { VideoCompareSlider_default as default };
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, ref, renderSlot, unref, withModifiers } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/components/common/ViewportWidgetShell.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var _hoisted_1 = { class: "pointer-events-none absolute inset-x-0 top-0" };
|
|
5
5
|
var _hoisted_2 = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "pointer-events-none absolute inset-x-0 bottom-0"
|
|
8
8
|
};
|
|
9
|
-
|
|
10
|
-
//#region src/components/common/ViewportWidgetShell.vue
|
|
9
|
+
// src/components/common/ViewportWidgetShell.vue
|
|
11
10
|
var ViewportWidgetShell_default = /* @__PURE__ */ defineComponent({
|
|
12
11
|
__name: "ViewportWidgetShell",
|
|
13
12
|
props: { bottomClass: {} },
|
|
@@ -54,5 +53,4 @@ var ViewportWidgetShell_default = /* @__PURE__ */ defineComponent({
|
|
|
54
53
|
};
|
|
55
54
|
}
|
|
56
55
|
});
|
|
57
|
-
//#endregion
|
|
58
56
|
export { ViewportWidgetShell_default as default };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Fragment, computed, createElementBlock, createElementVNode, defineComponent, normalizeStyle, onBeforeUnmount, openBlock, ref, renderList, renderSlot, watch } from "vue";
|
|
2
2
|
import { useElementSize, useInfiniteScroll, useScroll, whenever } from "@vueuse/core";
|
|
3
3
|
import { clamp, debounce } from "es-toolkit/compat";
|
|
4
|
-
|
|
5
|
-
//#region src/components/common/VirtualGrid.vue
|
|
4
|
+
// src/components/common/VirtualGrid.vue
|
|
6
5
|
var VirtualGrid_default = /* @__PURE__ */ defineComponent({
|
|
7
6
|
__name: "VirtualGrid",
|
|
8
7
|
props: {
|
|
@@ -103,5 +102,4 @@ var VirtualGrid_default = /* @__PURE__ */ defineComponent({
|
|
|
103
102
|
};
|
|
104
103
|
}
|
|
105
104
|
});
|
|
106
|
-
//#endregion
|
|
107
105
|
export { VirtualGrid_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, useAttrs } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/components/composables/useAttrsClass.ts
|
|
3
3
|
/**
|
|
4
4
|
* Splits `class` out of `$attrs` so wrappers can merge it with `cn()` onto an
|
|
5
5
|
* inner element while the remaining attrs fall through untouched.
|
|
@@ -14,5 +14,4 @@ function useAttrsClass() {
|
|
|
14
14
|
})
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
//#endregion
|
|
18
17
|
export { useAttrsClass };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/components/composables/usePopoverSizing.ts
|
|
3
3
|
/**
|
|
4
4
|
* Composable for managing popover sizing styles
|
|
5
5
|
* @param options Popover size configuration
|
|
@@ -14,5 +14,4 @@ function usePopoverSizing(options) {
|
|
|
14
14
|
return style;
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
//#endregion
|
|
18
17
|
export { usePopoverSizing };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { computed, createCommentVNode, createElementBlock, defineComponent, normalizeClass, openBlock, toDisplayString, toValue, unref } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/components/confirm/ConfirmBody.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var _hoisted_1 = { class: "flex flex-col border-t p-4 text-sm/5 wrap-break-word text-muted-foreground" };
|
|
5
|
-
|
|
6
|
-
//#region src/components/confirm/ConfirmBody.vue
|
|
5
|
+
// src/components/confirm/ConfirmBody.vue
|
|
7
6
|
var ConfirmBody_default = /* @__PURE__ */ defineComponent({
|
|
8
7
|
__name: "ConfirmBody",
|
|
9
8
|
props: {
|
|
@@ -23,5 +22,4 @@ var ConfirmBody_default = /* @__PURE__ */ defineComponent({
|
|
|
23
22
|
};
|
|
24
23
|
}
|
|
25
24
|
});
|
|
26
|
-
//#endregion
|
|
27
25
|
export { ConfirmBody_default as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import { ButtonVariants } from '@comfyorg/design-system/button.variants';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
cancelText: string;
|
|
5
|
+
confirmText: string;
|
|
6
|
+
confirmClass?: string;
|
|
7
|
+
confirmVariant?: ButtonVariants['variant'];
|
|
8
|
+
optionsDisabled?: MaybeRefOrGetter<boolean>;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
cancel: () => any;
|
|
12
|
+
confirm: () => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onCancel?: (() => any) | undefined;
|
|
15
|
+
onConfirm?: (() => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { t as Button_default } from "../shared/Button-Dj_H5v3V.js";
|
|
2
|
+
import { computed, createElementBlock, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, ref, toDisplayString, toValue, unref, withCtx } from "vue";
|
|
3
|
+
// src/components/confirm/ConfirmFooter.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var _hoisted_1 = { class: "flex w-full flex-wrap items-center justify-end gap-4 p-4" };
|
|
5
|
+
// src/components/confirm/ConfirmFooter.vue
|
|
6
|
+
var ConfirmFooter_default = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "ConfirmFooter",
|
|
8
|
+
props: {
|
|
9
|
+
cancelText: {},
|
|
10
|
+
confirmText: {},
|
|
11
|
+
confirmClass: {},
|
|
12
|
+
confirmVariant: {},
|
|
13
|
+
optionsDisabled: {}
|
|
14
|
+
},
|
|
15
|
+
emits: ["cancel", "confirm"],
|
|
16
|
+
setup(__props, { emit: __emit }) {
|
|
17
|
+
const emit = __emit;
|
|
18
|
+
const settled = ref(false);
|
|
19
|
+
const disabled = computed(() => settled.value || toValue(__props.optionsDisabled));
|
|
20
|
+
function settle(choice) {
|
|
21
|
+
if (settled.value) return;
|
|
22
|
+
settled.value = true;
|
|
23
|
+
if (choice === "cancel") emit("cancel");
|
|
24
|
+
else emit("confirm");
|
|
25
|
+
}
|
|
26
|
+
return (_ctx, _cache) => {
|
|
27
|
+
return openBlock(), createElementBlock("section", _hoisted_1, [createVNode(unref(Button_default), {
|
|
28
|
+
disabled: disabled.value,
|
|
29
|
+
variant: "muted-textonly",
|
|
30
|
+
size: "lg",
|
|
31
|
+
autofocus: "",
|
|
32
|
+
onClick: _cache[0] || (_cache[0] = ($event) => settle("cancel"))
|
|
33
|
+
}, {
|
|
34
|
+
default: withCtx(() => [createTextVNode(toDisplayString(__props.cancelText), 1)]),
|
|
35
|
+
_: 1
|
|
36
|
+
}, 8, ["disabled"]), createVNode(unref(Button_default), {
|
|
37
|
+
disabled: disabled.value,
|
|
38
|
+
variant: __props.confirmVariant ?? "textonly",
|
|
39
|
+
size: "lg",
|
|
40
|
+
class: normalizeClass(__props.confirmClass),
|
|
41
|
+
onClick: _cache[1] || (_cache[1] = ($event) => settle("confirm"))
|
|
42
|
+
}, {
|
|
43
|
+
default: withCtx(() => [createTextVNode(toDisplayString(__props.confirmText), 1)]),
|
|
44
|
+
_: 1
|
|
45
|
+
}, 8, [
|
|
46
|
+
"disabled",
|
|
47
|
+
"variant",
|
|
48
|
+
"class"
|
|
49
|
+
])]);
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
export { ConfirmFooter_default as default };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { createCommentVNode, createElementBlock, defineComponent, normalizeClass, openBlock, toDisplayString } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/components/confirm/ConfirmHeader.vue?vue&type=script&setup=true&lang.ts
|
|
3
3
|
var _hoisted_1 = { class: "flex items-center gap-2 p-4 text-sm font-normal" };
|
|
4
4
|
var _hoisted_2 = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "flex-auto"
|
|
7
7
|
};
|
|
8
|
-
|
|
9
|
-
//#region src/components/confirm/ConfirmHeader.vue
|
|
8
|
+
// src/components/confirm/ConfirmHeader.vue
|
|
10
9
|
var ConfirmHeader_default = /* @__PURE__ */ defineComponent({
|
|
11
10
|
__name: "ConfirmHeader",
|
|
12
11
|
props: {
|
|
@@ -23,5 +22,4 @@ var ConfirmHeader_default = /* @__PURE__ */ defineComponent({
|
|
|
23
22
|
};
|
|
24
23
|
}
|
|
25
24
|
});
|
|
26
|
-
//#endregion
|
|
27
25
|
export { ConfirmHeader_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 { computed, createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot } from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/content-card/CardBottom.vue
|
|
3
|
+
// src/components/content-card/CardBottom.vue
|
|
5
4
|
var CardBottom_default = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "CardBottom",
|
|
7
6
|
props: { fullHeight: {
|
|
@@ -15,5 +14,4 @@ var CardBottom_default = /* @__PURE__ */ defineComponent({
|
|
|
15
14
|
};
|
|
16
15
|
}
|
|
17
16
|
});
|
|
18
|
-
//#endregion
|
|
19
17
|
export { CardBottom_default as default };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { computed, createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/components/content-card/CardContainer.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var structureClasses = "flex flex-col overflow-hidden";
|
|
5
|
-
|
|
6
|
-
//#region src/components/content-card/CardContainer.vue
|
|
5
|
+
// src/components/content-card/CardContainer.vue
|
|
7
6
|
var CardContainer_default = /* @__PURE__ */ defineComponent({
|
|
8
7
|
__name: "CardContainer",
|
|
9
8
|
props: {
|
|
@@ -57,5 +56,4 @@ var CardContainer_default = /* @__PURE__ */ defineComponent({
|
|
|
57
56
|
};
|
|
58
57
|
}
|
|
59
58
|
});
|
|
60
|
-
//#endregion
|
|
61
59
|
export { CardContainer_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 { computed, createCommentVNode, createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref, useSlots } from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/content-card/CardTop.vue
|
|
3
|
+
// src/components/content-card/CardTop.vue
|
|
5
4
|
var CardTop_default = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "CardTop",
|
|
7
6
|
props: {
|
|
@@ -68,5 +67,4 @@ var CardTop_default = /* @__PURE__ */ defineComponent({
|
|
|
68
67
|
};
|
|
69
68
|
}
|
|
70
69
|
});
|
|
71
|
-
//#endregion
|
|
72
70
|
export { CardTop_default as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
2
2
|
import { DialogRoot, useForwardPropsEmits } from "reka-ui";
|
|
3
|
-
|
|
4
|
-
//#region src/components/dialog/Dialog.vue
|
|
3
|
+
// src/components/dialog/Dialog.vue
|
|
5
4
|
var Dialog_default = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "Dialog",
|
|
7
6
|
props: {
|
|
@@ -21,5 +20,4 @@ var Dialog_default = /* @__PURE__ */ defineComponent({
|
|
|
21
20
|
};
|
|
22
21
|
}
|
|
23
22
|
});
|
|
24
|
-
//#endregion
|
|
25
23
|
export { Dialog_default as default };
|
|
@@ -1,24 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { createBlock, createElementVNode, createVNode, defineComponent, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
3
|
-
import { DialogClose } from "reka-ui";
|
|
4
|
-
//#endregion
|
|
5
|
-
//#region src/components/dialog/DialogClose.vue
|
|
6
|
-
var DialogClose_default = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "DialogClose",
|
|
8
|
-
setup(__props) {
|
|
9
|
-
return (_ctx, _cache) => {
|
|
10
|
-
return openBlock(), createBlock(unref(DialogClose), { "as-child": "" }, {
|
|
11
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createVNode(unref(Button_default), {
|
|
12
|
-
size: "icon",
|
|
13
|
-
variant: "muted-textonly"
|
|
14
|
-
}, {
|
|
15
|
-
default: withCtx(() => [..._cache[0] || (_cache[0] = [createElementVNode("i", { class: "icon-[lucide--x]" }, null, -1)])]),
|
|
16
|
-
_: 1
|
|
17
|
-
})])]),
|
|
18
|
-
_: 3
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
//#endregion
|
|
24
|
-
export { DialogClose_default as default };
|
|
1
|
+
export { t as default } from "../shared/DialogClose-CrtPRSNX.js";
|
|
@@ -1,73 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { dialogContentVariants } from "./dialog.variants.js";
|
|
3
|
-
import { createBlock, createPropsRestProxy, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
4
|
-
import { DialogContent, useForwardPropsEmits } from "reka-ui";
|
|
5
|
-
//#endregion
|
|
6
|
-
//#region src/components/dialog/DialogContent.vue
|
|
7
|
-
var DialogContent_default = /* @__PURE__ */ defineComponent({
|
|
8
|
-
__name: "DialogContent",
|
|
9
|
-
props: {
|
|
10
|
-
forceMount: { type: Boolean },
|
|
11
|
-
disableOutsidePointerEvents: { type: Boolean },
|
|
12
|
-
asChild: { type: Boolean },
|
|
13
|
-
as: {},
|
|
14
|
-
class: {
|
|
15
|
-
type: [
|
|
16
|
-
Boolean,
|
|
17
|
-
null,
|
|
18
|
-
String,
|
|
19
|
-
Object,
|
|
20
|
-
Array
|
|
21
|
-
],
|
|
22
|
-
default: ""
|
|
23
|
-
},
|
|
24
|
-
maximized: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: false
|
|
27
|
-
},
|
|
28
|
-
size: {},
|
|
29
|
-
surface: {}
|
|
30
|
-
},
|
|
31
|
-
emits: [
|
|
32
|
-
"escapeKeyDown",
|
|
33
|
-
"pointerDownOutside",
|
|
34
|
-
"focusOutside",
|
|
35
|
-
"interactOutside",
|
|
36
|
-
"openAutoFocus",
|
|
37
|
-
"closeAutoFocus"
|
|
38
|
-
],
|
|
39
|
-
setup(__props, { emit: __emit }) {
|
|
40
|
-
const restProps = createPropsRestProxy(__props, [
|
|
41
|
-
"class",
|
|
42
|
-
"maximized",
|
|
43
|
-
"size",
|
|
44
|
-
"surface"
|
|
45
|
-
]);
|
|
46
|
-
const forwarded = useForwardPropsEmits(restProps, __emit);
|
|
47
|
-
function focusAutofocusTarget(event) {
|
|
48
|
-
if (event.defaultPrevented || !(event.target instanceof HTMLElement)) return;
|
|
49
|
-
const target = event.target.querySelector("[autofocus]");
|
|
50
|
-
if (!target) return;
|
|
51
|
-
target.focus();
|
|
52
|
-
if (document.activeElement === target) event.preventDefault();
|
|
53
|
-
}
|
|
54
|
-
return (_ctx, _cache) => {
|
|
55
|
-
return openBlock(), createBlock(unref(DialogContent), mergeProps(unref(forwarded), {
|
|
56
|
-
"data-reka-dialog-content": "",
|
|
57
|
-
"data-maximized": __props.maximized || void 0,
|
|
58
|
-
class: unref(cn)(unref(dialogContentVariants)({
|
|
59
|
-
maximized: __props.maximized,
|
|
60
|
-
size: __props.size,
|
|
61
|
-
surface: __props.surface
|
|
62
|
-
}), __props.class, __props.maximized && "top-2 left-2 size-auto max-h-none max-w-none sm:max-w-none"),
|
|
63
|
-
onOpenAutoFocus: focusAutofocusTarget,
|
|
64
|
-
onFocus: focusAutofocusTarget
|
|
65
|
-
}), {
|
|
66
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
67
|
-
_: 3
|
|
68
|
-
}, 16, ["data-maximized", "class"]);
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
//#endregion
|
|
73
|
-
export { DialogContent_default as default };
|
|
1
|
+
export { t as default } from "../shared/DialogContent-v2s55FXs.js";
|
|
@@ -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 { createBlock, createPropsRestProxy, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
3
3
|
import { DialogDescription } from "reka-ui";
|
|
4
|
-
|
|
5
|
-
//#region src/components/dialog/DialogDescription.vue
|
|
4
|
+
// src/components/dialog/DialogDescription.vue
|
|
6
5
|
var DialogDescription_default = /* @__PURE__ */ defineComponent({
|
|
7
6
|
__name: "DialogDescription",
|
|
8
7
|
props: {
|
|
@@ -29,5 +28,4 @@ var DialogDescription_default = /* @__PURE__ */ defineComponent({
|
|
|
29
28
|
};
|
|
30
29
|
}
|
|
31
30
|
});
|
|
32
|
-
//#endregion
|
|
33
31
|
export { DialogDescription_default as default };
|