@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
package/dist/select.js
CHANGED
|
@@ -1,30 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import {
|
|
1
|
+
import { defineComponent, toRefs, ref, computed, openBlock, createBlock, unref, withCtx, renderSlot, createElementBlock, createCommentVNode, Fragment, renderList, mergeProps, watch, createElementVNode, watchEffect, createVNode, withModifiers, resolveDynamicComponent, onMounted, nextTick, normalizeStyle, normalizeProps, guardReactiveProps, Teleport, createTextVNode, onUnmounted, onBeforeUnmount, toDisplayString, normalizeClass } from "vue";
|
|
2
|
+
import { a as useForwardProps, u as useForwardPropsEmits } from "./useForwardPropsEmits-GlUGKcIz.js";
|
|
3
|
+
import { c as createContext } from "./createContext-BabAT1K8.js";
|
|
4
|
+
import { i as isNullish } from "./nullish-D3tMkl6i.js";
|
|
5
|
+
import { u as useDirection } from "./useDirection-B2bMgzzV.js";
|
|
6
|
+
import { u as useFormControl } from "./useFormControl-DZ4LnB9F.js";
|
|
7
|
+
import { u as useCollection } from "./Collection-4P3HQ4uU.js";
|
|
8
|
+
import { a as PopperRoot_default, b as PopperContent_default, P as PopperAnchor_default } from "./PopperContent-DUJ8a4i0.js";
|
|
8
9
|
import { V as VisuallyHidden_default } from "./VisuallyHidden-udQT2Fmo.js";
|
|
9
|
-
import { i as isEqual, u as useTypeahead } from "./useTypeahead-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { u as
|
|
13
|
-
import {
|
|
10
|
+
import { i as isEqual, u as useTypeahead } from "./useTypeahead-4RK0Emcv.js";
|
|
11
|
+
import { a as useVModel, u as unrefElement, e as useResizeObserver } from "./index-Dw56kNV0.js";
|
|
12
|
+
import { P as Presence_default } from "./Presence-CTmUEdMR.js";
|
|
13
|
+
import { a as useBodyScrollLock, u as useHideOthers, F as FocusScope_default } from "./FocusScope-mzbqk6Y_.js";
|
|
14
|
+
import { u as useFocusGuards } from "./useFocusGuards-2C1jyYW5.js";
|
|
15
|
+
import { D as DismissableLayer_default, h as handleAndDispatchCustomEvent, T as Teleport_default } from "./Teleport-DTOwRCqx.js";
|
|
16
|
+
import { f as focusFirst } from "./utils-DbR1EZn-.js";
|
|
14
17
|
import { c as clamp } from "./clamp-D5Ye0kJT.js";
|
|
15
|
-
import { u as useForwardExpose } from "./useForwardExpose-
|
|
18
|
+
import { u as useForwardExpose } from "./useForwardExpose-BcX3VRdS.js";
|
|
16
19
|
import { P as Primitive } from "./Primitive-D3IcFg81.js";
|
|
17
|
-
import {
|
|
20
|
+
import { u as useNonce } from "./useNonce-CWj1JlPB.js";
|
|
18
21
|
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
var _a;
|
|
25
|
-
return (nonce == null ? void 0 : nonce.value) || ((_a = context.nonce) == null ? void 0 : _a.value);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
22
|
+
import { T as TWr, a as dn, C as CC } from "./index.min-CZ9FIOXr.js";
|
|
23
|
+
import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
|
|
24
|
+
import { g as getActiveElement } from "./getActiveElement-Bmy6QsUb.js";
|
|
25
|
+
import { r as reactiveOmit } from "./index-DDJjWaIl.js";
|
|
26
|
+
import { u as useId } from "./useId-CF6wz41D.js";
|
|
28
27
|
const OPEN_KEYS = [
|
|
29
28
|
" ",
|
|
30
29
|
"Enter",
|
|
@@ -48,7 +47,7 @@ function compare(value, currentValue, comparator) {
|
|
|
48
47
|
function shouldShowPlaceholder(value) {
|
|
49
48
|
return value === void 0 || value === null || value === "" || Array.isArray(value) && value.length === 0;
|
|
50
49
|
}
|
|
51
|
-
const _hoisted_1$
|
|
50
|
+
const _hoisted_1$4 = {
|
|
52
51
|
key: 0,
|
|
53
52
|
value: ""
|
|
54
53
|
};
|
|
@@ -197,7 +196,7 @@ var SelectRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ def
|
|
|
197
196
|
disabled: unref(disabled),
|
|
198
197
|
value: unref(modelValue)
|
|
199
198
|
}, {
|
|
200
|
-
default: withCtx(() => [unref(isNullish)(unref(modelValue)) ? (openBlock(), createElementBlock("option", _hoisted_1$
|
|
199
|
+
default: withCtx(() => [unref(isNullish)(unref(modelValue)) ? (openBlock(), createElementBlock("option", _hoisted_1$4)) : createCommentVNode("v-if", true), (openBlock(true), createElementBlock(Fragment, null, renderList(Array.from(optionsSet.value), (option) => {
|
|
201
200
|
return openBlock(), createElementBlock("option", mergeProps({ key: option.value ?? "" }, { ref_for: true }, option), null, 16);
|
|
202
201
|
}), 128))]),
|
|
203
202
|
_: 1
|
|
@@ -845,7 +844,7 @@ var SelectProvider_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
845
844
|
}
|
|
846
845
|
});
|
|
847
846
|
var SelectProvider_default = SelectProvider_vue_vue_type_script_setup_true_lang_default;
|
|
848
|
-
const _hoisted_1$
|
|
847
|
+
const _hoisted_1$3 = { key: 1 };
|
|
849
848
|
var SelectContent_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
850
849
|
inheritAttrs: false,
|
|
851
850
|
__name: "SelectContent",
|
|
@@ -983,7 +982,7 @@ var SelectContent_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
983
982
|
_: 3
|
|
984
983
|
}, 16)]),
|
|
985
984
|
_: 3
|
|
986
|
-
}, 8, ["present"])) : fragment.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
985
|
+
}, 8, ["present"])) : fragment.value ? (openBlock(), createElementBlock("div", _hoisted_1$3, [(openBlock(), createBlock(Teleport, { to: fragment.value }, [createVNode(SelectProvider_default, { context: unref(rootContext) }, {
|
|
987
986
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
988
987
|
_: 3
|
|
989
988
|
}, 8, ["context"])], 8, ["to"]))])) : createCommentVNode("v-if", true);
|
|
@@ -1758,7 +1757,7 @@ var SelectViewport_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
1758
1757
|
}
|
|
1759
1758
|
});
|
|
1760
1759
|
var SelectViewport_default = SelectViewport_vue_vue_type_script_setup_true_lang_default;
|
|
1761
|
-
const _sfc_main$
|
|
1760
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
1762
1761
|
__name: "Select",
|
|
1763
1762
|
props: {
|
|
1764
1763
|
open: { type: Boolean },
|
|
@@ -1788,7 +1787,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
1788
1787
|
};
|
|
1789
1788
|
}
|
|
1790
1789
|
});
|
|
1791
|
-
const _sfc_main$
|
|
1790
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
1792
1791
|
...{
|
|
1793
1792
|
inheritAttrs: false
|
|
1794
1793
|
},
|
|
@@ -1837,7 +1836,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
1837
1836
|
)
|
|
1838
1837
|
}), {
|
|
1839
1838
|
default: withCtx(() => [
|
|
1840
|
-
createVNode(unref(_sfc_main$
|
|
1839
|
+
createVNode(unref(_sfc_main$4)),
|
|
1841
1840
|
createVNode(unref(SelectViewport_default), {
|
|
1842
1841
|
class: normalizeClass(unref(cn)("p-1", _ctx.position === "popper" && "h-(--reka-select-trigger-height) w-full min-w-(--reka-select-trigger-width) scroll-my-1"))
|
|
1843
1842
|
}, {
|
|
@@ -1846,7 +1845,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
1846
1845
|
]),
|
|
1847
1846
|
_: 3
|
|
1848
1847
|
}, 8, ["class"]),
|
|
1849
|
-
createVNode(unref(_sfc_main$
|
|
1848
|
+
createVNode(unref(_sfc_main$5))
|
|
1850
1849
|
]),
|
|
1851
1850
|
_: 3
|
|
1852
1851
|
}, 16, ["class"])
|
|
@@ -1856,7 +1855,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
1856
1855
|
};
|
|
1857
1856
|
}
|
|
1858
1857
|
});
|
|
1859
|
-
const _sfc_main$
|
|
1858
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
1860
1859
|
__name: "SelectGroup",
|
|
1861
1860
|
props: {
|
|
1862
1861
|
asChild: { type: Boolean },
|
|
@@ -1874,10 +1873,10 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
1874
1873
|
};
|
|
1875
1874
|
}
|
|
1876
1875
|
});
|
|
1877
|
-
const _hoisted_1 = { class: "absolute right-2 flex size-3.5 items-center justify-center" };
|
|
1876
|
+
const _hoisted_1$2 = { class: "absolute right-2 flex size-3.5 items-center justify-center" };
|
|
1878
1877
|
const _hoisted_2 = { class: "sr-only" };
|
|
1879
1878
|
const _hoisted_3 = { class: "flex min-w-0 flex-1 flex-col" };
|
|
1880
|
-
const _sfc_main$
|
|
1879
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
1881
1880
|
__name: "SelectItem",
|
|
1882
1881
|
props: {
|
|
1883
1882
|
value: {},
|
|
@@ -1899,7 +1898,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
1899
1898
|
)
|
|
1900
1899
|
}), {
|
|
1901
1900
|
default: withCtx(() => [
|
|
1902
|
-
createElementVNode("span", _hoisted_1, [
|
|
1901
|
+
createElementVNode("span", _hoisted_1$2, [
|
|
1903
1902
|
createVNode(unref(SelectItemIndicator_default), null, {
|
|
1904
1903
|
default: withCtx(() => [
|
|
1905
1904
|
renderSlot(_ctx.$slots, "indicator-icon", {}, () => [
|
|
@@ -1934,7 +1933,51 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
1934
1933
|
};
|
|
1935
1934
|
}
|
|
1936
1935
|
});
|
|
1937
|
-
const
|
|
1936
|
+
const _hoisted_1$1 = { class: "flex min-w-0 flex-1 flex-col" };
|
|
1937
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
1938
|
+
__name: "SelectItemContent",
|
|
1939
|
+
props: {
|
|
1940
|
+
class: {},
|
|
1941
|
+
icon: {},
|
|
1942
|
+
label: {},
|
|
1943
|
+
description: {},
|
|
1944
|
+
iconClass: {},
|
|
1945
|
+
textClass: {},
|
|
1946
|
+
descriptionClass: {}
|
|
1947
|
+
},
|
|
1948
|
+
setup(__props) {
|
|
1949
|
+
const props = __props;
|
|
1950
|
+
return (_ctx, _cache) => {
|
|
1951
|
+
return openBlock(), createElementBlock("div", {
|
|
1952
|
+
"data-slot": "select-item-content",
|
|
1953
|
+
class: normalizeClass(unref(cn)("flex min-w-0 flex-1 items-start gap-2", props.class))
|
|
1954
|
+
}, [
|
|
1955
|
+
props.icon ? (openBlock(), createElementBlock("div", {
|
|
1956
|
+
key: 0,
|
|
1957
|
+
"data-slot": "select-item-content-icon",
|
|
1958
|
+
class: normalizeClass(unref(cn)("mt-0.5 shrink-0", props.iconClass))
|
|
1959
|
+
}, [
|
|
1960
|
+
createVNode(unref(HugeiconsIcon), {
|
|
1961
|
+
icon: props.icon,
|
|
1962
|
+
"stroke-width": 1.8
|
|
1963
|
+
}, null, 8, ["icon"])
|
|
1964
|
+
], 2)) : createCommentVNode("", true),
|
|
1965
|
+
createElementVNode("div", _hoisted_1$1, [
|
|
1966
|
+
createElementVNode("span", {
|
|
1967
|
+
"data-slot": "select-item-content-text",
|
|
1968
|
+
class: normalizeClass(unref(cn)("min-w-0 truncate", props.textClass))
|
|
1969
|
+
}, toDisplayString(props.label), 3),
|
|
1970
|
+
props.description ? (openBlock(), createElementBlock("span", {
|
|
1971
|
+
key: 0,
|
|
1972
|
+
"data-slot": "select-item-content-description",
|
|
1973
|
+
class: normalizeClass(unref(cn)("text-xs text-(--text-secondary-light) dark:text-(--text-secondary-dark)", props.descriptionClass))
|
|
1974
|
+
}, toDisplayString(props.description), 3)) : createCommentVNode("", true)
|
|
1975
|
+
])
|
|
1976
|
+
], 2);
|
|
1977
|
+
};
|
|
1978
|
+
}
|
|
1979
|
+
});
|
|
1980
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
1938
1981
|
__name: "SelectItemText",
|
|
1939
1982
|
props: {
|
|
1940
1983
|
asChild: { type: Boolean },
|
|
@@ -1952,7 +1995,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
1952
1995
|
};
|
|
1953
1996
|
}
|
|
1954
1997
|
});
|
|
1955
|
-
const _sfc_main$
|
|
1998
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
1956
1999
|
__name: "SelectLabel",
|
|
1957
2000
|
props: {
|
|
1958
2001
|
for: {},
|
|
@@ -1975,7 +2018,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
1975
2018
|
};
|
|
1976
2019
|
}
|
|
1977
2020
|
});
|
|
1978
|
-
const _sfc_main$
|
|
2021
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
1979
2022
|
__name: "SelectScrollDownButton",
|
|
1980
2023
|
props: {
|
|
1981
2024
|
asChild: { type: Boolean },
|
|
@@ -2003,7 +2046,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
2003
2046
|
};
|
|
2004
2047
|
}
|
|
2005
2048
|
});
|
|
2006
|
-
const _sfc_main$
|
|
2049
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
2007
2050
|
__name: "SelectScrollUpButton",
|
|
2008
2051
|
props: {
|
|
2009
2052
|
asChild: { type: Boolean },
|
|
@@ -2031,7 +2074,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
2031
2074
|
};
|
|
2032
2075
|
}
|
|
2033
2076
|
});
|
|
2034
|
-
const _sfc_main$
|
|
2077
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
2035
2078
|
__name: "SelectSeparator",
|
|
2036
2079
|
props: {
|
|
2037
2080
|
asChild: { type: Boolean },
|
|
@@ -2048,7 +2091,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
2048
2091
|
};
|
|
2049
2092
|
}
|
|
2050
2093
|
});
|
|
2051
|
-
const _sfc_main$
|
|
2094
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
2052
2095
|
__name: "SelectTrigger",
|
|
2053
2096
|
props: {
|
|
2054
2097
|
disabled: { type: Boolean },
|
|
@@ -2091,7 +2134,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
2091
2134
|
};
|
|
2092
2135
|
}
|
|
2093
2136
|
});
|
|
2094
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
2137
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
2095
2138
|
__name: "SelectValue",
|
|
2096
2139
|
props: {
|
|
2097
2140
|
placeholder: {},
|
|
@@ -2110,16 +2153,69 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2110
2153
|
};
|
|
2111
2154
|
}
|
|
2112
2155
|
});
|
|
2156
|
+
const _hoisted_1 = { class: "flex min-w-0 flex-1 flex-col" };
|
|
2157
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
2158
|
+
__name: "SelectValueContent",
|
|
2159
|
+
props: {
|
|
2160
|
+
placeholder: {},
|
|
2161
|
+
asChild: { type: Boolean },
|
|
2162
|
+
as: {},
|
|
2163
|
+
class: {},
|
|
2164
|
+
icon: {},
|
|
2165
|
+
label: {},
|
|
2166
|
+
description: {},
|
|
2167
|
+
iconClass: {},
|
|
2168
|
+
textClass: {},
|
|
2169
|
+
descriptionClass: {}
|
|
2170
|
+
},
|
|
2171
|
+
setup(__props) {
|
|
2172
|
+
const props = __props;
|
|
2173
|
+
return (_ctx, _cache) => {
|
|
2174
|
+
return openBlock(), createBlock(unref(SelectValue_default), {
|
|
2175
|
+
"data-slot": "select-value-content",
|
|
2176
|
+
placeholder: props.placeholder,
|
|
2177
|
+
class: normalizeClass(unref(cn)("flex min-w-0 flex-1 gap-2 text-left", props.description ? "items-start" : "items-center", props.class))
|
|
2178
|
+
}, {
|
|
2179
|
+
default: withCtx(() => [
|
|
2180
|
+
props.icon ? (openBlock(), createElementBlock("div", {
|
|
2181
|
+
key: 0,
|
|
2182
|
+
"data-slot": "select-value-content-icon",
|
|
2183
|
+
class: normalizeClass(unref(cn)("shrink-0", props.iconClass))
|
|
2184
|
+
}, [
|
|
2185
|
+
createVNode(unref(HugeiconsIcon), {
|
|
2186
|
+
icon: props.icon,
|
|
2187
|
+
"stroke-width": 1.8
|
|
2188
|
+
}, null, 8, ["icon"])
|
|
2189
|
+
], 2)) : createCommentVNode("", true),
|
|
2190
|
+
createElementVNode("div", _hoisted_1, [
|
|
2191
|
+
createElementVNode("span", {
|
|
2192
|
+
"data-slot": "select-value-content-text",
|
|
2193
|
+
class: normalizeClass(unref(cn)("min-w-0 truncate", props.textClass))
|
|
2194
|
+
}, toDisplayString(props.label), 3),
|
|
2195
|
+
props.description ? (openBlock(), createElementBlock("span", {
|
|
2196
|
+
key: 0,
|
|
2197
|
+
"data-slot": "select-value-content-description",
|
|
2198
|
+
class: normalizeClass(unref(cn)("text-xs text-(--text-secondary-light) dark:text-(--text-secondary-dark)", props.descriptionClass))
|
|
2199
|
+
}, toDisplayString(props.description), 3)) : createCommentVNode("", true)
|
|
2200
|
+
])
|
|
2201
|
+
]),
|
|
2202
|
+
_: 1
|
|
2203
|
+
}, 8, ["placeholder", "class"]);
|
|
2204
|
+
};
|
|
2205
|
+
}
|
|
2206
|
+
});
|
|
2113
2207
|
export {
|
|
2114
|
-
_sfc_main$
|
|
2115
|
-
_sfc_main$
|
|
2116
|
-
_sfc_main$
|
|
2117
|
-
_sfc_main$
|
|
2118
|
-
_sfc_main$
|
|
2119
|
-
_sfc_main$
|
|
2120
|
-
_sfc_main$
|
|
2121
|
-
_sfc_main$
|
|
2122
|
-
_sfc_main$
|
|
2123
|
-
_sfc_main$
|
|
2124
|
-
_sfc_main as
|
|
2208
|
+
_sfc_main$c as Select,
|
|
2209
|
+
_sfc_main$b as SelectContent,
|
|
2210
|
+
_sfc_main$a as SelectGroup,
|
|
2211
|
+
_sfc_main$9 as SelectItem,
|
|
2212
|
+
_sfc_main$8 as SelectItemContent,
|
|
2213
|
+
_sfc_main$7 as SelectItemText,
|
|
2214
|
+
_sfc_main$6 as SelectLabel,
|
|
2215
|
+
_sfc_main$5 as SelectScrollDownButton,
|
|
2216
|
+
_sfc_main$4 as SelectScrollUpButton,
|
|
2217
|
+
_sfc_main$3 as SelectSeparator,
|
|
2218
|
+
_sfc_main$2 as SelectTrigger,
|
|
2219
|
+
_sfc_main$1 as SelectValue,
|
|
2220
|
+
_sfc_main as SelectValueContent
|
|
2125
2221
|
};
|
package/dist/separator.js
CHANGED
package/dist/sheet.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { _, a, b, c, d } from "./SheetTitle.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _, a, b, c, d } from "./SheetTitle.vue_vue_type_script_setup_true_lang-Ja7-gmXd.js";
|
|
2
2
|
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementBlock, normalizeClass } from "vue";
|
|
3
|
-
import { D as DialogClose_default
|
|
3
|
+
import { D as DialogClose_default } from "./DialogClose-DxCTEp0d.js";
|
|
4
4
|
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
5
|
+
import { D as DialogTrigger_default } from "./DialogTrigger-Cb3rLcid.js";
|
|
5
6
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
6
7
|
__name: "SheetClose",
|
|
7
8
|
props: {
|
package/dist/sidebar.js
CHANGED
|
@@ -2,17 +2,18 @@ var _a;
|
|
|
2
2
|
import { c as cva } from "./index-FpH8cK6B.js";
|
|
3
3
|
import { defineComponent, openBlock, createElementBlock, mergeProps, unref, renderSlot, createBlock, withCtx, createVNode, normalizeStyle, createTextVNode, createElementVNode, normalizeClass, normalizeProps, guardReactiveProps, Fragment, toDisplayString, resolveDynamicComponent, computed, createCommentVNode, ref } from "vue";
|
|
4
4
|
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
5
|
-
import { _ as _sfc_main$o, a as _sfc_main$p, c as _sfc_main$q, d as _sfc_main$r, b as _sfc_main$s } from "./SheetTitle.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { c as createContext } from "./
|
|
5
|
+
import { _ as _sfc_main$o, a as _sfc_main$p, c as _sfc_main$q, d as _sfc_main$r, b as _sfc_main$s } from "./SheetTitle.vue_vue_type_script_setup_true_lang-Ja7-gmXd.js";
|
|
6
|
+
import { c as createContext } from "./createContext-BabAT1K8.js";
|
|
7
7
|
import { P as Primitive } from "./Primitive-D3IcFg81.js";
|
|
8
|
-
import { _ as _sfc_main$t } from "./Input.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as _sfc_main$u, b as _sfc_main$v, a as _sfc_main$w, T as TooltipProvider_default } from "./TooltipTrigger.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as _sfc_main$t } from "./Input.vue_vue_type_script_setup_true_lang-BdjbS5s7.js";
|
|
9
|
+
import { _ as _sfc_main$u, b as _sfc_main$v, a as _sfc_main$w, T as TooltipProvider_default } from "./TooltipTrigger.vue_vue_type_script_setup_true_lang-BMdZRPa3.js";
|
|
10
10
|
import { _ as _sfc_main$x } from "./Skeleton.vue_vue_type_script_setup_true_lang-BSbVyZz7.js";
|
|
11
|
-
import {
|
|
12
|
-
import { _ as _sfc_main$y } from "./Separator.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import {
|
|
11
|
+
import { g as useMediaQuery, a as useVModel, c as useEventListener, h as defaultDocument } from "./index-Dw56kNV0.js";
|
|
12
|
+
import { _ as _sfc_main$y } from "./Separator.vue_vue_type_script_setup_true_lang-D9BozdWD.js";
|
|
13
|
+
import { h as m7 } from "./index.min-CZ9FIOXr.js";
|
|
14
|
+
import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
|
|
14
15
|
import { Button as _sfc_main$z } from "./button.js";
|
|
15
|
-
import { r as reactiveOmit } from "./index-
|
|
16
|
+
import { r as reactiveOmit } from "./index-DDJjWaIl.js";
|
|
16
17
|
const SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
17
18
|
const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
18
19
|
const SIDEBAR_WIDTH = "16rem";
|
|
@@ -740,7 +741,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
740
741
|
return openBlock(), createBlock(unref(_sfc_main$z), {
|
|
741
742
|
"data-sidebar": "trigger",
|
|
742
743
|
"data-slot": "sidebar-trigger",
|
|
743
|
-
variant: "
|
|
744
|
+
variant: "secondary",
|
|
744
745
|
size: "icon",
|
|
745
746
|
class: normalizeClass(unref(cn)(props.class)),
|
|
746
747
|
onClick: unref(toggleSidebar)
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createVNode, createElementVNode, toDisplayString, normalizeClass } from "vue";
|
|
2
|
+
import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./Card.vue_vue_type_script_setup_true_lang-D0pFVflK.js";
|
|
4
|
+
import { _ as _sfc_main$2 } from "./CardContent.vue_vue_type_script_setup_true_lang-dBzO0q1t.js";
|
|
5
|
+
const _hoisted_1 = { class: "flex flex-col" };
|
|
6
|
+
const _hoisted_2 = { class: "mb-1 text-xs font-medium text-[var(--text-secondary-light)] dark:text-[var(--text-secondary-dark)]" };
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "SingleValueCard",
|
|
9
|
+
props: {
|
|
10
|
+
value: { type: [String, Number], required: true },
|
|
11
|
+
label: { type: String, required: true },
|
|
12
|
+
icon: { type: Object, required: true },
|
|
13
|
+
valueColor: { type: String, default: "default", validator: (value) => ["default", "green", "red", "gray"].includes(String(value)) }
|
|
14
|
+
},
|
|
15
|
+
setup(__props) {
|
|
16
|
+
const props = __props;
|
|
17
|
+
const valueClass = computed(() => {
|
|
18
|
+
switch (props.valueColor) {
|
|
19
|
+
case "green":
|
|
20
|
+
return "text-green-600 dark:text-green-400";
|
|
21
|
+
case "red":
|
|
22
|
+
return "text-red-600 dark:text-red-400";
|
|
23
|
+
case "gray":
|
|
24
|
+
return "text-gray-600 dark:text-gray-400";
|
|
25
|
+
default:
|
|
26
|
+
return "text-[var(--text-primary-light)] dark:text-[var(--text-primary-dark)]";
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
return (_ctx, _cache) => {
|
|
30
|
+
return openBlock(), createBlock(unref(_sfc_main$1), { class: "flex-row items-center !p-4" }, {
|
|
31
|
+
default: withCtx(() => [
|
|
32
|
+
createVNode(unref(_sfc_main$2), { class: "!p-0 gap-0 flex-row items-center" }, {
|
|
33
|
+
default: withCtx(() => [
|
|
34
|
+
createVNode(unref(_sfc_main$1), {
|
|
35
|
+
color: "gray",
|
|
36
|
+
class: "mr-4 flex h-12 w-12 flex-shrink-0 items-center justify-center !p-0"
|
|
37
|
+
}, {
|
|
38
|
+
default: withCtx(() => [
|
|
39
|
+
createVNode(unref(HugeiconsIcon), {
|
|
40
|
+
icon: props.icon,
|
|
41
|
+
class: "size-5"
|
|
42
|
+
}, null, 8, ["icon"])
|
|
43
|
+
]),
|
|
44
|
+
_: 1
|
|
45
|
+
}),
|
|
46
|
+
createElementVNode("div", _hoisted_1, [
|
|
47
|
+
createElementVNode("span", _hoisted_2, toDisplayString(props.label), 1),
|
|
48
|
+
createElementVNode("span", {
|
|
49
|
+
class: normalizeClass(["text-2xl md:text-xl font-bold", valueClass.value])
|
|
50
|
+
}, toDisplayString(props.value), 3)
|
|
51
|
+
])
|
|
52
|
+
]),
|
|
53
|
+
_: 1
|
|
54
|
+
})
|
|
55
|
+
]),
|
|
56
|
+
_: 1
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
export {
|
|
62
|
+
_sfc_main as SingleValueCard,
|
|
63
|
+
_sfc_main as default
|
|
64
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementVNode, toDisplayString, createElementBlock, createCommentVNode, createVNode } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "./Card.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as _sfc_main$2 } from "./Slider.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as _sfc_main$1 } from "./Card.vue_vue_type_script_setup_true_lang-D0pFVflK.js";
|
|
3
|
+
import { _ as _sfc_main$2 } from "./Slider.vue_vue_type_script_setup_true_lang-CSOSwGGr.js";
|
|
4
4
|
const _hoisted_1 = { class: "flex items-center justify-between gap-3" };
|
|
5
5
|
const _hoisted_2 = { class: "space-y-2" };
|
|
6
6
|
const _hoisted_3 = { class: "text-sm font-medium" };
|
package/dist/slider.js
CHANGED