@brumaombra/ui-vintage 0.4.0 → 0.5.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/dist/{AlertDialogTitle.vue_vue_type_script_setup_true_lang-Ca0g2mVz.js → AlertDialogTitle.vue_vue_type_script_setup_true_lang-_UW48pv7.js} +6 -5
- package/dist/{Busy-D1u_LUYu.js → Busy-BaCc_Jo8.js} +2 -1
- package/dist/{CalendarPrevButton.vue_vue_type_script_setup_true_lang-BA4Aw_Sl.js → CalendarPrevButton.vue_vue_type_script_setup_true_lang-DdzS6YGM.js} +18 -11
- package/dist/Card.vue_vue_type_script_setup_true_lang-D0pFVflK.js +30 -0
- package/dist/{Card.vue_vue_type_script_setup_true_lang-6ol3rxy1.js → CardContent.vue_vue_type_script_setup_true_lang-dBzO0q1t.js} +3 -8
- package/dist/{CardFooter.vue_vue_type_script_setup_true_lang-B1eS9wge.js → CardFooter.vue_vue_type_script_setup_true_lang-B5EqgrgN.js} +1 -19
- package/dist/CardText.vue_vue_type_script_setup_true_lang-DbDhSd3h.js +22 -0
- package/dist/{Collection-Coi6nyvb.js → Collection-4P3HQ4uU.js} +1 -1
- package/dist/{ConfigProvider-D2O0Jles.js → ConfigProvider-DYO65bNW.js} +1 -1
- package/dist/DatePicker.vue_vue_type_script_setup_true_lang-C2Ug81pX.js +88 -0
- package/dist/DialogClose-DxCTEp0d.js +36 -0
- package/dist/{DialogPortal-D81oXsCY.js → DialogPortal-BiMJAKLg.js} +1 -1
- package/dist/{DialogTitle-CLuntLBB.js → DialogTitle-jKgSCoXM.js} +10 -6
- package/dist/{DialogTitle.vue_vue_type_script_setup_true_lang-BG4dvMRo.js → DialogTitle.vue_vue_type_script_setup_true_lang-CycrzAMT.js} +33 -10
- package/dist/{DialogTrigger-BQbSAHMb.js → DialogTrigger-Cb3rLcid.js} +5 -35
- package/dist/EmptyStateCard.vue_vue_type_script_setup_true_lang-BYKX6WRQ.js +59 -0
- package/dist/{FocusScope-DYbCtSNc.js → FocusScope-mzbqk6Y_.js} +8 -14
- package/dist/HugeiconsIcon.vue-By2RXWWz.js +111 -0
- package/dist/{Input.vue_vue_type_script_setup_true_lang-6SfPeT8d.js → Input.vue_vue_type_script_setup_true_lang-BdjbS5s7.js} +1 -1
- package/dist/{Label.vue_vue_type_script_setup_true_lang-pMIzCHzV.js → Label.vue_vue_type_script_setup_true_lang-CdLIMAdF.js} +2 -2
- package/dist/LandingContent.vue_vue_type_script_setup_true_lang-Wgtl_yeD.js +21 -0
- package/dist/LandingFooter.vue_vue_type_script_setup_true_lang-CDy30mYg.js +159 -0
- package/dist/LandingNavbar.vue_vue_type_script_setup_true_lang-0jX2tmdb.js +59 -0
- package/dist/LandingShell.vue_vue_type_script_setup_true_lang-BXwdQR24.js +49 -0
- package/dist/LanguageFlag.vue_vue_type_script_setup_true_lang-CgszKeNv.js +68 -0
- package/dist/LoadMoreButton.vue_vue_type_script_setup_true_lang-CGhFcsF-.js +61 -0
- package/dist/LoadingStateCard.vue_vue_type_script_setup_true_lang-DwyQjtZ3.js +53 -0
- package/dist/{MessageToast-C1L25W2l.js → MessageToast-uKrMyOZf.js} +15 -12
- package/dist/{NativeSelectOption.vue_vue_type_script_setup_true_lang-COnFRt8g.js → NativeSelectOption.vue_vue_type_script_setup_true_lang-CNcUI9Yh.js} +4 -3
- package/dist/{PopoverTrigger.vue_vue_type_script_setup_true_lang-DFZJvU_P.js → PopoverTrigger.vue_vue_type_script_setup_true_lang-Cf33q_yT.js} +11 -8
- package/dist/{PopperContent-h-thLTz8.js → PopperContent-DUJ8a4i0.js} +4 -4
- package/dist/Presence-CTmUEdMR.js +168 -0
- package/dist/Progress.vue_vue_type_script_setup_true_lang-BDJfyW-d.js +188 -0
- package/dist/{Separator.vue_vue_type_script_setup_true_lang-CMRkdntA.js → Separator.vue_vue_type_script_setup_true_lang-D9BozdWD.js} +1 -1
- package/dist/{SheetTitle.vue_vue_type_script_setup_true_lang-BQbpsE2c.js → SheetTitle.vue_vue_type_script_setup_true_lang-Ja7-gmXd.js} +4 -4
- package/dist/{Slider.vue_vue_type_script_setup_true_lang-C_CsSGAt.js → Slider.vue_vue_type_script_setup_true_lang-CSOSwGGr.js} +10 -9
- package/dist/{Switch.vue_vue_type_script_setup_true_lang-BG6nkPSO.js → Switch.vue_vue_type_script_setup_true_lang-C8mqOepU.js} +7 -6
- package/dist/{Teleport-CV0tKbq5.js → Teleport-DTOwRCqx.js} +7 -185
- package/dist/TimePicker.vue_vue_type_script_setup_true_lang-tbOoMfZu.js +51 -0
- package/dist/{TooltipTrigger.vue_vue_type_script_setup_true_lang-DEPKysA_.js → TooltipTrigger.vue_vue_type_script_setup_true_lang-BMdZRPa3.js} +9 -6
- package/dist/{VisuallyHiddenInput-1G1IEkBL.js → VisuallyHiddenInput-D5eipDQU.js} +1 -1
- package/dist/alert-dialog.js +7 -6
- package/dist/alert.js +8 -18
- package/dist/badge.js +9 -36
- package/dist/breadcrumb.js +159 -0
- package/dist/busy-indicator.js +1 -1
- package/dist/busy.js +1 -1
- package/dist/button.js +11 -7
- package/dist/calendar.js +1 -1
- package/dist/card-grid.js +58 -0
- package/dist/card.js +9 -6
- package/dist/chip.js +47 -0
- package/dist/color-tokens-D9BviGPK.js +40 -0
- package/dist/command.js +17 -33
- package/dist/components/card-grid/CardGrid.vue.d.ts +88 -0
- package/dist/components/card-grid/index.d.ts +2 -0
- package/dist/components/chip/Chip.vue.d.ts +17 -0
- package/dist/components/chip/index.d.ts +2 -0
- package/dist/components/confirm-dialog/confirm-dialog-state.d.ts +11 -8
- package/dist/components/dashboard-shell/DashboardShell.vue.d.ts +12 -2
- package/dist/components/data-list/DataList.vue.d.ts +21 -0
- package/dist/components/data-list/DataListItem.vue.d.ts +21 -0
- package/dist/components/data-list/DataListLabel.vue.d.ts +21 -0
- package/dist/components/data-list/DataListText.vue.d.ts +21 -0
- package/dist/components/data-list/DataListValue.vue.d.ts +21 -0
- package/dist/components/data-list/index.d.ts +5 -0
- package/dist/components/empty-state-card/EmptyStateCard.vue.d.ts +73 -0
- package/dist/components/empty-state-card/index.d.ts +2 -0
- package/dist/components/info-card/InfoCard.vue.d.ts +46 -0
- package/dist/components/info-card/index.d.ts +2 -0
- package/dist/components/landing/landing-content/LandingContent.vue.d.ts +2 -3
- package/dist/components/landing/landing-footer/LandingFooter.vue.d.ts +5 -10
- package/dist/components/landing/landing-navbar/LandingNavbar.vue.d.ts +8 -1
- package/dist/components/landing/landing-shell/LandingShell.vue.d.ts +0 -1
- package/dist/components/language-flag/LanguageFlag.vue.d.ts +14 -0
- package/dist/components/language-flag/flags/EnglishFlag.vue.d.ts +2 -0
- package/dist/components/language-flag/flags/ItalianFlag.vue.d.ts +2 -0
- package/dist/components/language-flag/index.d.ts +4 -0
- package/dist/components/language-selector/LanguageSelector.vue.d.ts +35 -0
- package/dist/components/language-selector/index.d.ts +3 -0
- package/dist/components/load-more-button/LoadMoreButton.vue.d.ts +36 -0
- package/dist/components/load-more-button/index.d.ts +2 -0
- package/dist/components/loading-state-card/LoadingStateCard.vue.d.ts +55 -0
- package/dist/components/loading-state-card/index.d.ts +2 -0
- package/dist/components/message-dialog/message-dialog-state.d.ts +9 -7
- package/dist/components/message-toast/index.d.ts +1 -1
- package/dist/components/message-toast/message-toast-state.d.ts +3 -3
- package/dist/components/page-header/PageHeader.vue.d.ts +48 -0
- package/dist/components/page-header/index.d.ts +2 -0
- package/dist/components/progress-component/ProgressComponent.vue.d.ts +47 -0
- package/dist/components/progress-component/index.d.ts +2 -0
- package/dist/components/single-value-card/SingleValueCard.vue.d.ts +40 -0
- package/dist/components/single-value-card/index.d.ts +2 -0
- package/dist/components/slider-form-component/SliderFormComponent.vue.d.ts +2 -2
- package/dist/components/text-link/TextLink.vue.d.ts +35 -0
- package/dist/components/text-link/index.d.ts +2 -0
- package/dist/components/theme-selector/ThemeSelector.vue.d.ts +2 -0
- package/dist/components/theme-selector/index.d.ts +2 -0
- package/dist/components/ui/alert/Alert.vue.d.ts +2 -2
- package/dist/components/ui/alert/index.d.ts +6 -5
- package/dist/components/ui/badge/Badge.vue.d.ts +7 -20
- package/dist/components/ui/badge/index.d.ts +0 -5
- package/dist/components/ui/breadcrumb/Breadcrumb.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +24 -0
- package/dist/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +21 -0
- package/dist/components/ui/breadcrumb/index.d.ts +7 -0
- package/dist/components/ui/button/index.d.ts +6 -6
- package/dist/components/ui/card/Card.vue.d.ts +3 -0
- package/dist/components/ui/card/CardText.vue.d.ts +21 -0
- package/dist/components/ui/card/index.d.ts +1 -0
- package/dist/components/ui/date-picker/DatePicker.vue.d.ts +2 -0
- package/dist/components/ui/date-time-picker/DateTimePicker.vue.d.ts +27 -0
- package/dist/components/ui/date-time-picker/index.d.ts +2 -0
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +4 -1
- package/dist/components/ui/dialog/DialogFooter.vue.d.ts +1 -4
- package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +4 -1
- package/dist/components/ui/field/index.d.ts +4 -4
- package/dist/components/ui/progress/Progress.vue.d.ts +9 -0
- package/dist/components/ui/progress/index.d.ts +1 -0
- package/dist/components/ui/scroll-area/ScrollArea.vue.d.ts +22 -0
- package/dist/components/ui/scroll-area/ScrollBar.vue.d.ts +9 -0
- package/dist/components/ui/scroll-area/index.d.ts +2 -0
- package/dist/components/ui/select/SelectItemContent.vue.d.ts +15 -0
- package/dist/components/ui/select/SelectValueContent.vue.d.ts +16 -0
- package/dist/components/ui/select/index.d.ts +2 -0
- package/dist/components/ui/sidebar/index.d.ts +4 -4
- package/dist/components/ui/table/Table.vue.d.ts +21 -0
- package/dist/components/ui/table/TableBody.vue.d.ts +21 -0
- package/dist/components/ui/table/TableCaption.vue.d.ts +21 -0
- package/dist/components/ui/table/TableCell.vue.d.ts +21 -0
- package/dist/components/ui/table/TableEmpty.vue.d.ts +24 -0
- package/dist/components/ui/table/TableFooter.vue.d.ts +21 -0
- package/dist/components/ui/table/TableHead.vue.d.ts +21 -0
- package/dist/components/ui/table/TableHeader.vue.d.ts +21 -0
- package/dist/components/ui/table/TableRow.vue.d.ts +21 -0
- package/dist/components/ui/table/index.d.ts +9 -0
- package/dist/components/ui/tabs/Tabs.vue.d.ts +28 -0
- package/dist/components/ui/tabs/TabsContent.vue.d.ts +22 -0
- package/dist/components/ui/tabs/TabsList.vue.d.ts +22 -0
- package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +22 -0
- package/dist/components/ui/tabs/index.d.ts +4 -0
- package/dist/components/ui/textarea/Textarea.vue.d.ts +12 -0
- package/dist/components/ui/textarea/index.d.ts +1 -0
- package/dist/components/ui/time-picker/TimePicker.vue.d.ts +21 -0
- package/dist/components/ui/time-picker/index.d.ts +2 -0
- package/dist/confirm-dialog.js +15 -11
- package/dist/createContext-BabAT1K8.js +19 -0
- package/dist/dashboard-shell.js +88 -38
- package/dist/data-list.js +97 -0
- package/dist/date-picker.js +3 -82
- package/dist/date-time-picker.js +140 -0
- package/dist/dialog.js +36 -29
- package/dist/empty-state-card.js +5 -0
- package/dist/error-page.js +8 -6
- package/dist/field.js +2 -2
- package/dist/getActiveElement-Bmy6QsUb.js +9 -0
- package/dist/i18n/en.json.d.ts +57 -0
- package/dist/i18n/it.json.d.ts +57 -0
- package/dist/i18n.js +148 -0
- package/dist/{index-qGMU40e1.js → index-DDJjWaIl.js} +64 -0
- package/dist/{index-Cq9Ekgtb.js → index-Dw56kNV0.js} +10 -10
- package/dist/index.min-CZ9FIOXr.js +23 -0
- package/dist/info-card.js +65 -0
- package/dist/input.js +1 -1
- package/dist/label.js +1 -1
- package/dist/landing-content.js +5 -0
- package/dist/landing-footer.js +5 -0
- package/dist/landing-navbar.js +5 -0
- package/dist/landing-shell.js +5 -0
- package/dist/landing.js +9 -237
- package/dist/language-flag.js +7 -0
- package/dist/language-selector.js +123 -0
- package/dist/lib/color-tokens.d.ts +6 -0
- package/dist/lib/i18n.d.ts +222 -0
- package/dist/load-more-button.js +5 -0
- package/dist/loading-state-card.js +5 -0
- package/dist/message-dialog.js +34 -18
- package/dist/message-toast.js +2 -2
- package/dist/native-select.js +1 -1
- package/dist/nullish-D3tMkl6i.js +6 -0
- package/dist/page-header.js +57 -0
- package/dist/popover.js +4 -4
- package/dist/progress-component.js +51 -0
- package/dist/progress.js +4 -0
- package/dist/scroll-area.js +1080 -0
- package/dist/select.js +149 -53
- package/dist/separator.js +1 -1
- package/dist/sheet.js +3 -2
- package/dist/sidebar.js +10 -9
- package/dist/single-value-card.js +64 -0
- package/dist/slider-form-component.js +2 -2
- package/dist/slider.js +1 -1
- package/dist/style.css +822 -144
- package/dist/switch-form-component.js +2 -2
- package/dist/switch.js +1 -1
- package/dist/table.js +193 -0
- package/dist/tabs.js +658 -0
- package/dist/text-link.js +39 -0
- package/dist/textarea.js +37 -0
- package/dist/theme-selector.js +159 -0
- package/dist/time-picker.js +5 -0
- package/dist/tooltip.js +2 -2
- package/dist/{useDirection-SIyEYNxv.js → useDirection-B2bMgzzV.js} +1 -1
- package/dist/{useFocusGuards-WYWvpJy2.js → useFocusGuards-2C1jyYW5.js} +1 -1
- package/dist/{useFormControl-CyoJwp9r.js → useFormControl-DZ4LnB9F.js} +1 -1
- package/dist/{useForwardExpose-BiRQH8eO.js → useForwardExpose-BcX3VRdS.js} +1 -1
- package/dist/{useForwardPropsEmits-DmumnZO5.js → useForwardPropsEmits-GlUGKcIz.js} +1 -17
- package/dist/useId-CF6wz41D.js +16 -0
- package/dist/useNonce-CWj1JlPB.js +12 -0
- package/dist/{usePrimitiveElement-Bk3ZOslv.js → usePrimitiveElement-BCpwlakH.js} +1 -1
- package/dist/{useSize-BLYTFgnQ.js → useSize-DUgGY9t1.js} +1 -1
- package/dist/{useTypeahead-KTl4-oeq.js → useTypeahead-4RK0Emcv.js} +2 -2
- package/dist/{utils-BXBXPGDA.js → utils-DbR1EZn-.js} +1 -1
- package/dist/utils-hdwtyAF3.js +44 -0
- package/package.json +111 -2
- package/dist/HugeiconsIcon.vue-CurGbgrJ.js +0 -125
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, mergeProps, Fragment, renderList, createBlock, resolveDynamicComponent } from "vue";
|
|
2
|
-
const $o = [["circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M12 8V12", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }], ["path", { d: "M12.125 15.75H12M12.25 15.75C12.25 15.8881 12.1381 16 12 16C11.8619 16 11.75 15.8881 11.75 15.75C11.75 15.6119 11.8619 15.5 12 15.5C12.1381 15.5 12.25 15.6119 12.25 15.75Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }]], dn = [["path", { d: "M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], mn = [["path", { d: "M15 6C15 6 9.00001 10.4189 9 12C8.99999 13.5812 15 18 15 18", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], Nn = [["path", { d: "M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], CC = [["path", { d: "M17.9998 15C17.9998 15 13.5809 9.00001 11.9998 9C10.4187 8.99999 5.99985 15 5.99985 15", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], cL = [["path", { d: "M16 2V6M8 2V6", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M13 4H11C7.22876 4 5.34315 4 4.17157 5.17157C3 6.34315 3 8.22876 3 12V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22H13C16.7712 22 18.6569 22 19.8284 20.8284C21 19.6569 21 17.7712 21 14V12C21 8.22876 21 6.34315 19.8284 5.17157C18.6569 4 16.7712 4 13 4Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }], ["path", { d: "M3 10H21", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }], ["path", { d: "M12.1258 14H12.0008M12.1258 18H12.0008M7.625 14H7.5M7.625 18H7.5M16.625 14H16.5M12.2508 14C12.2508 14.1381 12.1389 14.25 12.0008 14.25C11.8628 14.25 11.7508 14.1381 11.7508 14C11.7508 13.8619 11.8628 13.75 12.0008 13.75C12.1389 13.75 12.2508 13.8619 12.2508 14ZM12.2508 18C12.2508 18.1381 12.1389 18.25 12.0008 18.25C11.8628 18.25 11.7508 18.1381 11.7508 18C11.7508 17.8619 11.8628 17.75 12.0008 17.75C12.1389 17.75 12.2508 17.8619 12.2508 18ZM7.75 14C7.75 14.1381 7.63807 14.25 7.5 14.25C7.36193 14.25 7.25 14.1381 7.25 14C7.25 13.8619 7.36193 13.75 7.5 13.75C7.63807 13.75 7.75 13.8619 7.75 14ZM7.75 18C7.75 18.1381 7.63807 18.25 7.5 18.25C7.36193 18.25 7.25 18.1381 7.25 18C7.25 17.8619 7.36193 17.75 7.5 17.75C7.63807 17.75 7.75 17.8619 7.75 18ZM16.75 14C16.75 14.1381 16.6381 14.25 16.5 14.25C16.3619 14.25 16.25 14.1381 16.25 14C16.25 13.8619 16.3619 13.75 16.5 13.75C16.6381 13.75 16.75 13.8619 16.75 14Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "3" }]], dp = [["path", { d: "M18 6L6.00081 17.9992M17.9992 18L6 6.00085", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]], Ay = [["path", { d: "M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z", stroke: "currentColor", strokeWidth: "1.5", key: "0" }], ["path", { d: "M8 12.5L10.5 15L16 9", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }]], AE = [["circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M12 16V12", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }], ["path", { d: "M12.125 8.25H12M12.25 8.25C12.25 8.11193 12.1381 8 12 8C11.8619 8 11.75 8.11193 11.75 8.25C11.75 8.38807 11.8619 8.5 12 8.5C12.1381 8.5 12.25 8.38807 12.25 8.25Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }]], SK = [["path", { d: "M12 3V6", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M12 18V21", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "1" }], ["path", { d: "M21 12L18 12", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "2" }], ["path", { d: "M6 12L3 12", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "3" }], ["path", { d: "M18.3635 5.63672L16.2422 7.75804", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "4" }], ["path", { d: "M7.75804 16.2422L5.63672 18.3635", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "5" }], ["path", { d: "M18.3635 18.3635L16.2422 16.2422", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "6" }], ["path", { d: "M7.75804 7.75804L5.63672 5.63672", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "7" }]], m7 = [["path", { d: "M13 3H11C7.22876 3 5.34315 3 4.17157 4.17157C3 5.34315 3 7.22876 3 11V13C3 16.7712 3 18.6569 4.17157 19.8284C5.34315 21 7.22876 21 11 21H13C16.7712 21 18.6569 21 19.8284 19.8284C21 18.6569 21 16.7712 21 13V11C21 7.22876 21 5.34315 19.8284 4.17157C18.6569 3 16.7712 3 13 3Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M9 3V21", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }]], pkr = [["path", { d: "M17 17L21 21", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }], ["path", { d: "M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }]], TWr = [["path", { d: "M5 14L8.5 17.5L19 6.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }]];
|
|
3
|
-
var _sfc_main = defineComponent({
|
|
4
|
-
name: "HugeiconsIcon",
|
|
5
|
-
inheritAttrs: false,
|
|
6
|
-
props: {
|
|
7
|
-
icon: {
|
|
8
|
-
type: Array,
|
|
9
|
-
required: true
|
|
10
|
-
},
|
|
11
|
-
size: {
|
|
12
|
-
type: [Number, String],
|
|
13
|
-
default: 24,
|
|
14
|
-
validator(value) {
|
|
15
|
-
const size = typeof value === "string" ? parseInt(value, 10) : value;
|
|
16
|
-
return !isNaN(size) && size > 0;
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
strokeWidth: {
|
|
20
|
-
type: Number,
|
|
21
|
-
default: void 0
|
|
22
|
-
},
|
|
23
|
-
absoluteStrokeWidth: {
|
|
24
|
-
type: Boolean,
|
|
25
|
-
default: false
|
|
26
|
-
},
|
|
27
|
-
altIcon: {
|
|
28
|
-
type: Array,
|
|
29
|
-
default: void 0
|
|
30
|
-
},
|
|
31
|
-
showAlt: {
|
|
32
|
-
type: Boolean,
|
|
33
|
-
default: false
|
|
34
|
-
},
|
|
35
|
-
color: {
|
|
36
|
-
type: String,
|
|
37
|
-
default: "currentColor"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
setup(props) {
|
|
41
|
-
const computedSize = computed(() => {
|
|
42
|
-
const size = typeof props.size === "string" ? parseInt(props.size, 10) : props.size;
|
|
43
|
-
return !isNaN(size) && size > 0 ? size : 24;
|
|
44
|
-
});
|
|
45
|
-
const calculatedStrokeWidth = computed(() => {
|
|
46
|
-
if (props.strokeWidth === void 0) return void 0;
|
|
47
|
-
return props.absoluteStrokeWidth ? props.strokeWidth * 24 / computedSize.value : props.strokeWidth;
|
|
48
|
-
});
|
|
49
|
-
const currentIcon = computed(() => {
|
|
50
|
-
return props.altIcon && props.showAlt ? props.altIcon : props.icon;
|
|
51
|
-
});
|
|
52
|
-
const transformAttrs = (attrs, strokeWidth) => {
|
|
53
|
-
const result = {};
|
|
54
|
-
for (const [key, value] of Object.entries(attrs)) {
|
|
55
|
-
const kebabKey = key.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
56
|
-
result[kebabKey] = value;
|
|
57
|
-
}
|
|
58
|
-
if (strokeWidth !== void 0) {
|
|
59
|
-
result["stroke-width"] = strokeWidth;
|
|
60
|
-
result["stroke"] = "currentColor";
|
|
61
|
-
}
|
|
62
|
-
return result;
|
|
63
|
-
};
|
|
64
|
-
return {
|
|
65
|
-
computedSize,
|
|
66
|
-
calculatedStrokeWidth,
|
|
67
|
-
transformAttrs,
|
|
68
|
-
currentIcon
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
var _export_sfc = (sfc, props) => {
|
|
73
|
-
const target = sfc.__vccOpts || sfc;
|
|
74
|
-
for (const [key, val] of props) {
|
|
75
|
-
target[key] = val;
|
|
76
|
-
}
|
|
77
|
-
return target;
|
|
78
|
-
};
|
|
79
|
-
const _hoisted_1 = ["width", "height", "color"];
|
|
80
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
81
|
-
return openBlock(), createElementBlock("svg", mergeProps({
|
|
82
|
-
width: _ctx.computedSize,
|
|
83
|
-
height: _ctx.computedSize,
|
|
84
|
-
viewBox: `0 0 24 24`,
|
|
85
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
86
|
-
fill: "none",
|
|
87
|
-
color: _ctx.color
|
|
88
|
-
}, _ctx.$attrs), [
|
|
89
|
-
(openBlock(true), createElementBlock(
|
|
90
|
-
Fragment,
|
|
91
|
-
null,
|
|
92
|
-
renderList(_ctx.currentIcon, (element, index) => {
|
|
93
|
-
return openBlock(), createBlock(
|
|
94
|
-
resolveDynamicComponent(element[0]),
|
|
95
|
-
mergeProps({
|
|
96
|
-
key: index,
|
|
97
|
-
ref_for: true
|
|
98
|
-
}, _ctx.transformAttrs(element[1], _ctx.calculatedStrokeWidth)),
|
|
99
|
-
null,
|
|
100
|
-
16
|
|
101
|
-
/* FULL_PROPS */
|
|
102
|
-
);
|
|
103
|
-
}),
|
|
104
|
-
128
|
|
105
|
-
/* KEYED_FRAGMENT */
|
|
106
|
-
))
|
|
107
|
-
], 16, _hoisted_1);
|
|
108
|
-
}
|
|
109
|
-
var HugeiconsIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/mahmudulhasan/Desktop/Projects/Hugeicons/packages/vue/src/components/HugeiconsIcon.vue"]]);
|
|
110
|
-
export {
|
|
111
|
-
$o as $,
|
|
112
|
-
AE as A,
|
|
113
|
-
CC as C,
|
|
114
|
-
HugeiconsIcon as H,
|
|
115
|
-
Nn as N,
|
|
116
|
-
SK as S,
|
|
117
|
-
TWr as T,
|
|
118
|
-
Ay as a,
|
|
119
|
-
dp as b,
|
|
120
|
-
cL as c,
|
|
121
|
-
dn as d,
|
|
122
|
-
m7 as e,
|
|
123
|
-
mn as m,
|
|
124
|
-
pkr as p
|
|
125
|
-
};
|