@brumaombra/ui-vintage 0.3.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/{BackgroundGrid-Cxvbtefm.js → BackgroundGrid-BJDDcLzF.js} +1 -1
- package/dist/{Busy-1BeD2TRH.js → Busy-BaCc_Jo8.js} +2 -1
- package/dist/{CalendarPrevButton.vue_vue_type_script_setup_true_lang-BklOxtD-.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-DDtZ0Em0.js → DialogClose-DxCTEp0d.js} +2 -2
- 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-BMXrxvBF.js → DialogTitle.vue_vue_type_script_setup_true_lang-CycrzAMT.js} +23 -14
- package/dist/{DialogTrigger-CjJ8QNL_.js → DialogTrigger-Cb3rLcid.js} +3 -3
- 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-uKrMyOZf.js +79 -0
- package/dist/{NativeSelectOption.vue_vue_type_script_setup_true_lang-Ce5VmA0n.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-Csr3nKnG.js → SheetTitle.vue_vue_type_script_setup_true_lang-Ja7-gmXd.js} +6 -18
- 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 -7
- package/dist/alert.js +8 -18
- package/dist/background-grid.js +1 -1
- 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/index.d.ts +6 -0
- package/dist/components/landing/landing-content/LandingContent.vue.d.ts +21 -0
- package/dist/components/landing/landing-content/index.d.ts +2 -0
- package/dist/components/landing/landing-footer/LandingFooter.vue.d.ts +39 -0
- package/dist/components/landing/landing-footer/index.d.ts +3 -0
- package/dist/components/landing/landing-navbar/LandingNavbar.vue.d.ts +32 -0
- package/dist/components/landing/landing-navbar/index.d.ts +2 -0
- package/dist/components/landing/landing-shell/LandingShell.vue.d.ts +31 -0
- package/dist/components/landing/landing-shell/index.d.ts +2 -0
- 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/MessageToast.vue.d.ts +2 -0
- package/dist/components/message-toast/index.d.ts +2 -0
- package/dist/components/message-toast/message-toast-state.d.ts +18 -0
- 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/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 +89 -39
- 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 +32 -37
- package/dist/empty-state-card.js +5 -0
- package/dist/error-page.js +9 -7
- 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 +11 -0
- 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 +103 -0
- 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 -3
- 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 +1012 -175
- 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 +119 -2
- package/dist/HugeiconsIcon.vue-BJ-_Wtmk.js +0 -124
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot } from "vue";
|
|
2
|
+
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
3
|
+
const _hoisted_1 = { class: "border-y border-border" };
|
|
4
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "DataList",
|
|
6
|
+
props: {
|
|
7
|
+
class: {}
|
|
8
|
+
},
|
|
9
|
+
setup(__props) {
|
|
10
|
+
const props = __props;
|
|
11
|
+
return (_ctx, _cache) => {
|
|
12
|
+
return openBlock(), createElementBlock("table", {
|
|
13
|
+
"data-slot": "data-list",
|
|
14
|
+
class: normalizeClass(unref(cn)("w-full text-left text-xs md:text-sm", props.class))
|
|
15
|
+
}, [
|
|
16
|
+
createElementVNode("tbody", _hoisted_1, [
|
|
17
|
+
renderSlot(_ctx.$slots, "default")
|
|
18
|
+
])
|
|
19
|
+
], 2);
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
24
|
+
__name: "DataListItem",
|
|
25
|
+
props: {
|
|
26
|
+
class: {}
|
|
27
|
+
},
|
|
28
|
+
setup(__props) {
|
|
29
|
+
const props = __props;
|
|
30
|
+
return (_ctx, _cache) => {
|
|
31
|
+
return openBlock(), createElementBlock("tr", {
|
|
32
|
+
"data-slot": "data-list-item",
|
|
33
|
+
class: normalizeClass(unref(cn)("border-b border-border last:border-b-0", props.class))
|
|
34
|
+
}, [
|
|
35
|
+
renderSlot(_ctx.$slots, "default")
|
|
36
|
+
], 2);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
41
|
+
__name: "DataListLabel",
|
|
42
|
+
props: {
|
|
43
|
+
class: {}
|
|
44
|
+
},
|
|
45
|
+
setup(__props) {
|
|
46
|
+
const props = __props;
|
|
47
|
+
return (_ctx, _cache) => {
|
|
48
|
+
return openBlock(), createElementBlock("td", {
|
|
49
|
+
"data-slot": "data-list-label",
|
|
50
|
+
class: normalizeClass(unref(cn)("py-3 align-top text-muted-foreground", props.class))
|
|
51
|
+
}, [
|
|
52
|
+
renderSlot(_ctx.$slots, "default")
|
|
53
|
+
], 2);
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
58
|
+
__name: "DataListText",
|
|
59
|
+
props: {
|
|
60
|
+
class: {}
|
|
61
|
+
},
|
|
62
|
+
setup(__props) {
|
|
63
|
+
const props = __props;
|
|
64
|
+
return (_ctx, _cache) => {
|
|
65
|
+
return openBlock(), createElementBlock("div", {
|
|
66
|
+
"data-slot": "data-list-text",
|
|
67
|
+
class: normalizeClass(unref(cn)("line-clamp-3", props.class))
|
|
68
|
+
}, [
|
|
69
|
+
renderSlot(_ctx.$slots, "default")
|
|
70
|
+
], 2);
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
75
|
+
__name: "DataListValue",
|
|
76
|
+
props: {
|
|
77
|
+
class: {}
|
|
78
|
+
},
|
|
79
|
+
setup(__props) {
|
|
80
|
+
const props = __props;
|
|
81
|
+
return (_ctx, _cache) => {
|
|
82
|
+
return openBlock(), createElementBlock("td", {
|
|
83
|
+
"data-slot": "data-list-value",
|
|
84
|
+
class: normalizeClass(unref(cn)("py-3 pl-2 align-top text-right font-medium text-foreground", props.class))
|
|
85
|
+
}, [
|
|
86
|
+
renderSlot(_ctx.$slots, "default")
|
|
87
|
+
], 2);
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
export {
|
|
92
|
+
_sfc_main$4 as DataList,
|
|
93
|
+
_sfc_main$3 as DataListItem,
|
|
94
|
+
_sfc_main$2 as DataListLabel,
|
|
95
|
+
_sfc_main$1 as DataListText,
|
|
96
|
+
_sfc_main as DataListValue
|
|
97
|
+
};
|
package/dist/date-picker.js
CHANGED
|
@@ -1,84 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $ as $14e0f24ef4ac5c92$export$d0bdf45af03a6ea3, l as $14e0f24ef4ac5c92$export$aa8b41735afcabd2, m as $fb18d541ea1ad717$export$ad991b66133851cf, _ as _sfc_main$5 } from "./CalendarPrevButton.vue_vue_type_script_setup_true_lang-BklOxtD-.js";
|
|
3
|
-
import { H as HugeiconsIcon, c as cL } from "./HugeiconsIcon.vue-BJ-_Wtmk.js";
|
|
4
|
-
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
5
|
-
import { Button as _sfc_main$3 } from "./button.js";
|
|
6
|
-
import { _ as _sfc_main$1, a as _sfc_main$2, b as _sfc_main$4 } from "./PopoverTrigger.vue_vue_type_script_setup_true_lang-DFZJvU_P.js";
|
|
7
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
-
__name: "DatePicker",
|
|
9
|
-
props: {
|
|
10
|
-
defaultValue: {},
|
|
11
|
-
modelValue: {},
|
|
12
|
-
placeholder: { default: "Pick a date" },
|
|
13
|
-
disabled: { type: Boolean, default: false },
|
|
14
|
-
class: {},
|
|
15
|
-
contentClass: {}
|
|
16
|
-
},
|
|
17
|
-
emits: ["update:modelValue"],
|
|
18
|
-
setup(__props, { emit: __emit }) {
|
|
19
|
-
const props = __props;
|
|
20
|
-
const emits = __emit;
|
|
21
|
-
const internalDate = ref(props.defaultValue);
|
|
22
|
-
const isControlled = computed(() => props.modelValue !== void 0);
|
|
23
|
-
const date = computed({
|
|
24
|
-
get: () => isControlled.value ? props.modelValue : internalDate.value,
|
|
25
|
-
set: (value) => {
|
|
26
|
-
if (!isControlled.value)
|
|
27
|
-
internalDate.value = value;
|
|
28
|
-
emits("update:modelValue", value);
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
const defaultPlaceholder = computed(() => date.value ?? $14e0f24ef4ac5c92$export$d0bdf45af03a6ea3($14e0f24ef4ac5c92$export$aa8b41735afcabd2()));
|
|
32
|
-
const formatter = new $fb18d541ea1ad717$export$ad991b66133851cf("en-US", {
|
|
33
|
-
dateStyle: "long"
|
|
34
|
-
});
|
|
35
|
-
return (_ctx, _cache) => {
|
|
36
|
-
return openBlock(), createBlock(unref(_sfc_main$1), null, {
|
|
37
|
-
default: withCtx(({ close }) => [
|
|
38
|
-
createVNode(unref(_sfc_main$2), { "as-child": "" }, {
|
|
39
|
-
default: withCtx(() => [
|
|
40
|
-
createVNode(unref(_sfc_main$3), {
|
|
41
|
-
variant: "outline",
|
|
42
|
-
disabled: _ctx.disabled,
|
|
43
|
-
class: normalizeClass(unref(cn)("w-[240px] justify-start text-left font-normal", !date.value && "text-muted-foreground", props.class))
|
|
44
|
-
}, {
|
|
45
|
-
default: withCtx(() => [
|
|
46
|
-
createVNode(unref(HugeiconsIcon), {
|
|
47
|
-
icon: unref(cL),
|
|
48
|
-
class: "size-4"
|
|
49
|
-
}, null, 8, ["icon"]),
|
|
50
|
-
createTextVNode(" " + toDisplayString(date.value ? unref(formatter).format(date.value.toDate(unref($14e0f24ef4ac5c92$export$aa8b41735afcabd2)())) : _ctx.placeholder), 1)
|
|
51
|
-
]),
|
|
52
|
-
_: 1
|
|
53
|
-
}, 8, ["disabled", "class"])
|
|
54
|
-
]),
|
|
55
|
-
_: 1
|
|
56
|
-
}),
|
|
57
|
-
createVNode(unref(_sfc_main$4), {
|
|
58
|
-
class: normalizeClass(unref(cn)("w-auto p-0", props.contentClass)),
|
|
59
|
-
align: "start"
|
|
60
|
-
}, {
|
|
61
|
-
default: withCtx(() => [
|
|
62
|
-
createVNode(unref(_sfc_main$5), {
|
|
63
|
-
modelValue: date.value,
|
|
64
|
-
"onUpdate:modelValue": [
|
|
65
|
-
_cache[0] || (_cache[0] = ($event) => date.value = $event),
|
|
66
|
-
close
|
|
67
|
-
],
|
|
68
|
-
"default-placeholder": defaultPlaceholder.value,
|
|
69
|
-
layout: "month-and-year",
|
|
70
|
-
"initial-focus": ""
|
|
71
|
-
}, null, 8, ["modelValue", "default-placeholder", "onUpdate:modelValue"])
|
|
72
|
-
]),
|
|
73
|
-
_: 2
|
|
74
|
-
}, 1032, ["class"])
|
|
75
|
-
]),
|
|
76
|
-
_: 1
|
|
77
|
-
});
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
});
|
|
1
|
+
import { _, _ as _2 } from "./DatePicker.vue_vue_type_script_setup_true_lang-C2Ug81pX.js";
|
|
81
2
|
export {
|
|
82
|
-
|
|
83
|
-
|
|
3
|
+
_ as DatePicker,
|
|
4
|
+
_2 as default
|
|
84
5
|
};
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, createVNode } from "vue";
|
|
2
|
+
import { l as $14e0f24ef4ac5c92$export$aa8b41735afcabd2, n as $11d87f3f76e88657$export$93522d1a439f3617, o as $11d87f3f76e88657$export$e57ff100d91bd4b9 } from "./CalendarPrevButton.vue_vue_type_script_setup_true_lang-DdzS6YGM.js";
|
|
3
|
+
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./DatePicker.vue_vue_type_script_setup_true_lang-C2Ug81pX.js";
|
|
5
|
+
import { _ as _sfc_main$2 } from "./TimePicker.vue_vue_type_script_setup_true_lang-tbOoMfZu.js";
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "DateTimePicker",
|
|
8
|
+
props: {
|
|
9
|
+
defaultValue: { default: null },
|
|
10
|
+
modelValue: {},
|
|
11
|
+
minDate: { default: null },
|
|
12
|
+
maxDate: { default: null },
|
|
13
|
+
step: { default: 60 },
|
|
14
|
+
disabled: { type: Boolean, default: false },
|
|
15
|
+
datePlaceholder: { default: "Pick a date" },
|
|
16
|
+
class: {},
|
|
17
|
+
datePickerClass: {},
|
|
18
|
+
timePickerClass: {},
|
|
19
|
+
datePickerContentClass: {}
|
|
20
|
+
},
|
|
21
|
+
emits: ["update:modelValue"],
|
|
22
|
+
setup(__props, { emit: __emit }) {
|
|
23
|
+
const props = __props;
|
|
24
|
+
const emits = __emit;
|
|
25
|
+
const localTimeZone = $14e0f24ef4ac5c92$export$aa8b41735afcabd2();
|
|
26
|
+
const internalValue = ref(props.defaultValue);
|
|
27
|
+
const isControlled = computed(() => props.modelValue !== void 0);
|
|
28
|
+
const value = computed({
|
|
29
|
+
get: () => (isControlled.value ? props.modelValue : internalValue.value) ?? null,
|
|
30
|
+
set: (nextValue) => {
|
|
31
|
+
const resolvedValue = clampDate(nextValue);
|
|
32
|
+
if (!isControlled.value)
|
|
33
|
+
internalValue.value = resolvedValue;
|
|
34
|
+
emits("update:modelValue", resolvedValue);
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
const toPickerDateValue = (date) => {
|
|
38
|
+
if (!(date instanceof Date) || Number.isNaN(date.getTime()))
|
|
39
|
+
return void 0;
|
|
40
|
+
return $11d87f3f76e88657$export$93522d1a439f3617($11d87f3f76e88657$export$e57ff100d91bd4b9(date, localTimeZone));
|
|
41
|
+
};
|
|
42
|
+
const toTimeString = (date) => {
|
|
43
|
+
if (!(date instanceof Date) || Number.isNaN(date.getTime()))
|
|
44
|
+
return "";
|
|
45
|
+
return `${String(date.getHours()).padStart(2, "0")}:${String(date.getMinutes()).padStart(2, "0")}`;
|
|
46
|
+
};
|
|
47
|
+
const buildDate = (dateValue2, timeValue2) => {
|
|
48
|
+
if (!dateValue2)
|
|
49
|
+
return null;
|
|
50
|
+
const [hours = "0", minutes = "0"] = (timeValue2 || "00:00").split(":");
|
|
51
|
+
const nextDate = new Date(
|
|
52
|
+
dateValue2.year,
|
|
53
|
+
dateValue2.month - 1,
|
|
54
|
+
dateValue2.day,
|
|
55
|
+
Number(hours),
|
|
56
|
+
Number(minutes),
|
|
57
|
+
0,
|
|
58
|
+
0
|
|
59
|
+
);
|
|
60
|
+
return Number.isNaN(nextDate.getTime()) ? null : nextDate;
|
|
61
|
+
};
|
|
62
|
+
const areSameCalendarDay = (left, right) => {
|
|
63
|
+
if (!left || !right)
|
|
64
|
+
return false;
|
|
65
|
+
return left.year === right.year && left.month === right.month && left.day === right.day;
|
|
66
|
+
};
|
|
67
|
+
const clampDate = (date) => {
|
|
68
|
+
if (!date)
|
|
69
|
+
return null;
|
|
70
|
+
if (props.minDate && date.getTime() < props.minDate.getTime())
|
|
71
|
+
return new Date(props.minDate);
|
|
72
|
+
if (props.maxDate && date.getTime() > props.maxDate.getTime())
|
|
73
|
+
return new Date(props.maxDate);
|
|
74
|
+
return date;
|
|
75
|
+
};
|
|
76
|
+
const getFallbackDate = () => value.value ?? props.minDate ?? props.maxDate ?? /* @__PURE__ */ new Date();
|
|
77
|
+
const dateValue = computed({
|
|
78
|
+
get: () => toPickerDateValue(value.value),
|
|
79
|
+
set: (nextDateValue) => {
|
|
80
|
+
if (!nextDateValue) {
|
|
81
|
+
value.value = null;
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
const fallbackTime = toTimeString(value.value ?? props.minDate ?? props.maxDate);
|
|
85
|
+
value.value = buildDate(nextDateValue, fallbackTime);
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
const timeValue = computed({
|
|
89
|
+
get: () => toTimeString(value.value),
|
|
90
|
+
set: (nextTimeValue) => {
|
|
91
|
+
value.value = buildDate(toPickerDateValue(getFallbackDate()), nextTimeValue || toTimeString(getFallbackDate()));
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
const minDateValue = computed(() => toPickerDateValue(props.minDate));
|
|
95
|
+
const maxDateValue = computed(() => toPickerDateValue(props.maxDate));
|
|
96
|
+
const minTimeValue = computed(() => {
|
|
97
|
+
const selectedDate = dateValue.value;
|
|
98
|
+
const minimumDate = minDateValue.value;
|
|
99
|
+
return areSameCalendarDay(selectedDate, minimumDate) ? toTimeString(props.minDate) : void 0;
|
|
100
|
+
});
|
|
101
|
+
const maxTimeValue = computed(() => {
|
|
102
|
+
const selectedDate = dateValue.value;
|
|
103
|
+
const maximumDate = maxDateValue.value;
|
|
104
|
+
return areSameCalendarDay(selectedDate, maximumDate) ? toTimeString(props.maxDate) : void 0;
|
|
105
|
+
});
|
|
106
|
+
return (_ctx, _cache) => {
|
|
107
|
+
return openBlock(), createElementBlock("div", {
|
|
108
|
+
class: normalizeClass(unref(cn)("grid grid-cols-1 gap-3 md:grid-cols-[minmax(0,1.35fr)_minmax(0,1fr)]", props.class))
|
|
109
|
+
}, [
|
|
110
|
+
createElementVNode("div", null, [
|
|
111
|
+
createVNode(unref(_sfc_main$1), {
|
|
112
|
+
modelValue: dateValue.value,
|
|
113
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dateValue.value = $event),
|
|
114
|
+
disabled: props.disabled,
|
|
115
|
+
placeholder: props.datePlaceholder,
|
|
116
|
+
"min-value": minDateValue.value,
|
|
117
|
+
"max-value": maxDateValue.value,
|
|
118
|
+
class: normalizeClass(unref(cn)("w-full", props.datePickerClass)),
|
|
119
|
+
"content-class": props.datePickerContentClass
|
|
120
|
+
}, null, 8, ["modelValue", "disabled", "placeholder", "min-value", "max-value", "class", "content-class"])
|
|
121
|
+
]),
|
|
122
|
+
createElementVNode("div", null, [
|
|
123
|
+
createVNode(unref(_sfc_main$2), {
|
|
124
|
+
modelValue: timeValue.value,
|
|
125
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => timeValue.value = $event),
|
|
126
|
+
disabled: props.disabled,
|
|
127
|
+
step: props.step,
|
|
128
|
+
min: minTimeValue.value,
|
|
129
|
+
max: maxTimeValue.value,
|
|
130
|
+
class: normalizeClass(unref(cn)("w-full", props.timePickerClass))
|
|
131
|
+
}, null, 8, ["modelValue", "disabled", "step", "min", "max", "class"])
|
|
132
|
+
])
|
|
133
|
+
], 2);
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
export {
|
|
138
|
+
_sfc_main as DateTimePicker,
|
|
139
|
+
_sfc_main as default
|
|
140
|
+
};
|
package/dist/dialog.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { _, a, b, c, d, e } from "./DialogTitle.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementBlock, normalizeClass, createVNode,
|
|
3
|
-
import { D as DialogClose_default } from "./DialogClose-
|
|
1
|
+
import { _, a, b, c, d, e } from "./DialogTitle.vue_vue_type_script_setup_true_lang-CycrzAMT.js";
|
|
2
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementBlock, normalizeClass, createVNode, createElementVNode, createCommentVNode } from "vue";
|
|
3
|
+
import { D as DialogClose_default } from "./DialogClose-DxCTEp0d.js";
|
|
4
4
|
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
5
|
+
import { u as useForwardPropsEmits } from "./useForwardPropsEmits-GlUGKcIz.js";
|
|
6
|
+
import { D as DialogOverlay_default, a as DialogContent_default } from "./DialogTitle-jKgSCoXM.js";
|
|
7
|
+
import { D as DialogPortal_default } from "./DialogPortal-BiMJAKLg.js";
|
|
5
8
|
import { Button as _sfc_main$4 } from "./button.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { D as DialogOverlay_default, a as DialogContent_default } from "./DialogTitle-CLuntLBB.js";
|
|
9
|
-
import { D as DialogPortal_default } from "./DialogPortal-D81oXsCY.js";
|
|
10
|
-
import { r as reactiveOmit } from "./index-qGMU40e1.js";
|
|
11
|
-
import { D as DialogTrigger_default } from "./DialogTrigger-CjJ8QNL_.js";
|
|
9
|
+
import { r as reactiveOmit } from "./index-DDJjWaIl.js";
|
|
10
|
+
import { D as DialogTrigger_default } from "./DialogTrigger-Cb3rLcid.js";
|
|
12
11
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
13
12
|
__name: "DialogClose",
|
|
14
13
|
props: {
|
|
@@ -30,31 +29,16 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
30
29
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
31
30
|
__name: "DialogFooter",
|
|
32
31
|
props: {
|
|
33
|
-
class: {}
|
|
34
|
-
showCloseButton: { type: Boolean, default: false }
|
|
32
|
+
class: {}
|
|
35
33
|
},
|
|
36
34
|
setup(__props) {
|
|
37
35
|
const props = __props;
|
|
38
36
|
return (_ctx, _cache) => {
|
|
39
37
|
return openBlock(), createElementBlock("div", {
|
|
40
38
|
"data-slot": "dialog-footer",
|
|
41
|
-
class: normalizeClass(unref(cn)("flex flex-col-reverse gap-
|
|
39
|
+
class: normalizeClass(unref(cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", props.class))
|
|
42
40
|
}, [
|
|
43
|
-
renderSlot(_ctx.$slots, "default")
|
|
44
|
-
_ctx.showCloseButton ? (openBlock(), createBlock(unref(DialogClose_default), {
|
|
45
|
-
key: 0,
|
|
46
|
-
"as-child": ""
|
|
47
|
-
}, {
|
|
48
|
-
default: withCtx(() => [
|
|
49
|
-
createVNode(unref(_sfc_main$4), { variant: "outline" }, {
|
|
50
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
51
|
-
createTextVNode(" Close ")
|
|
52
|
-
])),
|
|
53
|
-
_: 1
|
|
54
|
-
})
|
|
55
|
-
]),
|
|
56
|
-
_: 1
|
|
57
|
-
})) : createCommentVNode("", true)
|
|
41
|
+
renderSlot(_ctx.$slots, "default")
|
|
58
42
|
], 2);
|
|
59
43
|
};
|
|
60
44
|
}
|
|
@@ -69,7 +53,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
69
53
|
disableOutsidePointerEvents: { type: Boolean },
|
|
70
54
|
asChild: { type: Boolean },
|
|
71
55
|
as: {},
|
|
72
|
-
class: {}
|
|
56
|
+
class: {},
|
|
57
|
+
showCloseButton: { type: Boolean, default: false }
|
|
73
58
|
},
|
|
74
59
|
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
|
75
60
|
setup(__props, { emit: __emit }) {
|
|
@@ -80,11 +65,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
80
65
|
return (_ctx, _cache) => {
|
|
81
66
|
return openBlock(), createBlock(unref(DialogPortal_default), null, {
|
|
82
67
|
default: withCtx(() => [
|
|
83
|
-
createVNode(unref(DialogOverlay_default), { class: "fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-black/45 backdrop-blur-[2px] transition-[opacity,backdrop-filter] ease-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" }, {
|
|
68
|
+
createVNode(unref(DialogOverlay_default), { class: "fixed inset-0 isolate z-50 grid place-items-center overflow-y-auto bg-black/45 backdrop-blur-[2px] transition-[opacity,backdrop-filter] ease-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" }, {
|
|
84
69
|
default: withCtx(() => [
|
|
85
70
|
createVNode(unref(DialogContent_default), mergeProps({
|
|
86
71
|
class: unref(cn)(
|
|
87
|
-
"relative z-50 my-
|
|
72
|
+
"relative z-50 my-6 grid w-full max-w-[calc(100%-2rem)] gap-4 rounded border border-border bg-card p-6 text-card-foreground outline-none duration-200 sm:max-w-[425px]",
|
|
88
73
|
props.class
|
|
89
74
|
)
|
|
90
75
|
}, { ..._ctx.$attrs, ...unref(forwarded) }, {
|
|
@@ -98,16 +83,26 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
98
83
|
}), {
|
|
99
84
|
default: withCtx(() => [
|
|
100
85
|
renderSlot(_ctx.$slots, "default"),
|
|
101
|
-
|
|
86
|
+
props.showCloseButton ? (openBlock(), createBlock(unref(DialogClose_default), {
|
|
87
|
+
key: 0,
|
|
88
|
+
"data-slot": "dialog-close",
|
|
89
|
+
"as-child": ""
|
|
90
|
+
}, {
|
|
102
91
|
default: withCtx(() => [
|
|
103
|
-
createVNode(unref(
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
92
|
+
createVNode(unref(_sfc_main$4), {
|
|
93
|
+
variant: "ghost",
|
|
94
|
+
size: "icon-sm",
|
|
95
|
+
class: "absolute top-4 right-4 p-0.5"
|
|
96
|
+
}, {
|
|
97
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
98
|
+
createElementVNode("span", { "aria-hidden": "true" }, "X", -1),
|
|
99
|
+
createElementVNode("span", { class: "sr-only" }, "Close", -1)
|
|
100
|
+
])),
|
|
101
|
+
_: 1
|
|
102
|
+
})
|
|
108
103
|
]),
|
|
109
104
|
_: 1
|
|
110
|
-
})
|
|
105
|
+
})) : createCommentVNode("", true)
|
|
111
106
|
]),
|
|
112
107
|
_: 3
|
|
113
108
|
}, 16, ["class"])
|
package/dist/error-page.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createBlock, createCommentVNode, createElementVNode, renderSlot, createVNode, withCtx, toDisplayString, createTextVNode } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { m as mn } from "./index.min-CZ9FIOXr.js";
|
|
3
|
+
import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
|
|
4
|
+
import { B as BackgroundGrid } from "./BackgroundGrid-BJDDcLzF.js";
|
|
4
5
|
import { Button as _sfc_main$4 } from "./button.js";
|
|
5
|
-
import { _ as _sfc_main$1 } from "./Card.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as _sfc_main$2
|
|
6
|
+
import { _ as _sfc_main$1 } from "./Card.vue_vue_type_script_setup_true_lang-D0pFVflK.js";
|
|
7
|
+
import { _ as _sfc_main$2 } from "./CardContent.vue_vue_type_script_setup_true_lang-dBzO0q1t.js";
|
|
8
|
+
import { _ as _sfc_main$3 } from "./CardFooter.vue_vue_type_script_setup_true_lang-B5EqgrgN.js";
|
|
7
9
|
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
8
10
|
const _hoisted_1 = { class: "relative z-10 mx-auto flex min-h-screen w-full max-w-6xl items-center justify-center px-4 py-10 sm:px-6 lg:px-8" };
|
|
9
11
|
const _hoisted_2 = { class: "w-full max-w-xl" };
|
|
@@ -12,8 +14,8 @@ const _hoisted_3 = {
|
|
|
12
14
|
class: "mb-4 flex justify-end gap-3"
|
|
13
15
|
};
|
|
14
16
|
const _hoisted_4 = { class: "text-sm font-semibold uppercase tracking-[0.24em] text-[var(--button-primary-light)] dark:text-[var(--button-primary-dark)]" };
|
|
15
|
-
const _hoisted_5 = { class: "
|
|
16
|
-
const _hoisted_6 = { class: "
|
|
17
|
+
const _hoisted_5 = { class: "text-2xl font-bold mt-3" };
|
|
18
|
+
const _hoisted_6 = { class: "text-sm leading-7 text-[var(--text-secondary-light)] dark:text-[var(--text-secondary-dark)] sm:text-base mt-4" };
|
|
17
19
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
20
|
__name: "ErrorPage",
|
|
19
21
|
props: {
|
|
@@ -81,7 +83,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
83
|
renderSlot(_ctx.$slots, "actions", { onAction: handleAction }, () => [
|
|
82
84
|
props.showDefaultAction ? (openBlock(), createBlock(unref(_sfc_main$4), {
|
|
83
85
|
key: 0,
|
|
84
|
-
variant: "
|
|
86
|
+
variant: "primary",
|
|
85
87
|
onClick: handleAction
|
|
86
88
|
}, {
|
|
87
89
|
default: withCtx(() => [
|
package/dist/field.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as cva } from "./index-FpH8cK6B.js";
|
|
2
2
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot, computed, Fragment, createTextVNode, toDisplayString, renderList, createCommentVNode, createBlock, withCtx, createVNode } from "vue";
|
|
3
3
|
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
4
|
-
import { _ as _sfc_main$a } from "./Label.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as _sfc_main$b } from "./Separator.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as _sfc_main$a } from "./Label.vue_vue_type_script_setup_true_lang-CdLIMAdF.js";
|
|
5
|
+
import { _ as _sfc_main$b } from "./Separator.vue_vue_type_script_setup_true_lang-D9BozdWD.js";
|
|
6
6
|
const _hoisted_1$3 = ["data-orientation"];
|
|
7
7
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "Field",
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
function getActiveElement() {
|
|
2
|
+
let activeElement = document.activeElement;
|
|
3
|
+
if (activeElement == null) return null;
|
|
4
|
+
while (activeElement != null && activeElement.shadowRoot != null && activeElement.shadowRoot.activeElement != null) activeElement = activeElement.shadowRoot.activeElement;
|
|
5
|
+
return activeElement;
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
getActiveElement as g
|
|
9
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"ui": {
|
|
3
|
+
"common": {
|
|
4
|
+
"empty": {
|
|
5
|
+
"title": "Nothing here yet",
|
|
6
|
+
"description": "There is no content to show right now."
|
|
7
|
+
},
|
|
8
|
+
"loading": {
|
|
9
|
+
"title": "Loading...",
|
|
10
|
+
"description": "Please wait a moment while we load the content."
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"buttons": {
|
|
14
|
+
"all": "All",
|
|
15
|
+
"close": "Close",
|
|
16
|
+
"cancel": "Cancel",
|
|
17
|
+
"delete": "Delete",
|
|
18
|
+
"confirm": "Confirm",
|
|
19
|
+
"filter": "Filter",
|
|
20
|
+
"search": "Search",
|
|
21
|
+
"apply": "Apply",
|
|
22
|
+
"clear": "Clear",
|
|
23
|
+
"loading": "Loading",
|
|
24
|
+
"loadMore": "Load more",
|
|
25
|
+
"save": "Save",
|
|
26
|
+
"update": "Update",
|
|
27
|
+
"goBack": "Go back"
|
|
28
|
+
},
|
|
29
|
+
"theme": {
|
|
30
|
+
"light": "Light",
|
|
31
|
+
"dark": "Dark",
|
|
32
|
+
"auto": "Auto",
|
|
33
|
+
"title": "Choose theme",
|
|
34
|
+
"ariaLabel": "Toggle theme selector"
|
|
35
|
+
},
|
|
36
|
+
"language": {
|
|
37
|
+
"title": "Choose language",
|
|
38
|
+
"ariaLabel": "Language selector"
|
|
39
|
+
},
|
|
40
|
+
"footer": {
|
|
41
|
+
"madeWith": "Made with",
|
|
42
|
+
"by": "by",
|
|
43
|
+
"allRightsReserved": "All rights reserved."
|
|
44
|
+
},
|
|
45
|
+
"select": {
|
|
46
|
+
"defaultPlaceholder": "Select an option"
|
|
47
|
+
},
|
|
48
|
+
"messageDialog": {
|
|
49
|
+
"error": "Error",
|
|
50
|
+
"success": "Success",
|
|
51
|
+
"info": "Information",
|
|
52
|
+
"warning": "Warning"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export default _default;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"ui": {
|
|
3
|
+
"common": {
|
|
4
|
+
"empty": {
|
|
5
|
+
"title": "Non c'è ancora niente qui",
|
|
6
|
+
"description": "Al momento non c'è alcun contenuto da mostrare."
|
|
7
|
+
},
|
|
8
|
+
"loading": {
|
|
9
|
+
"title": "Caricamento...",
|
|
10
|
+
"description": "Attendi un momento mentre carichiamo il contenuto."
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"buttons": {
|
|
14
|
+
"all": "Tutti",
|
|
15
|
+
"close": "Chiudi",
|
|
16
|
+
"cancel": "Annulla",
|
|
17
|
+
"delete": "Elimina",
|
|
18
|
+
"confirm": "Conferma",
|
|
19
|
+
"filter": "Filtra",
|
|
20
|
+
"search": "Cerca",
|
|
21
|
+
"apply": "Applica",
|
|
22
|
+
"clear": "Pulisci",
|
|
23
|
+
"loading": "Caricamento",
|
|
24
|
+
"loadMore": "Carica altro",
|
|
25
|
+
"save": "Salva",
|
|
26
|
+
"update": "Aggiorna",
|
|
27
|
+
"goBack": "Torna indietro"
|
|
28
|
+
},
|
|
29
|
+
"theme": {
|
|
30
|
+
"light": "Chiaro",
|
|
31
|
+
"dark": "Scuro",
|
|
32
|
+
"auto": "Automatico",
|
|
33
|
+
"title": "Scegli tema",
|
|
34
|
+
"ariaLabel": "Selettore tema"
|
|
35
|
+
},
|
|
36
|
+
"language": {
|
|
37
|
+
"title": "Scegli lingua",
|
|
38
|
+
"ariaLabel": "Selettore lingua"
|
|
39
|
+
},
|
|
40
|
+
"footer": {
|
|
41
|
+
"madeWith": "Fatto con",
|
|
42
|
+
"by": "da",
|
|
43
|
+
"allRightsReserved": "Tutti i diritti riservati."
|
|
44
|
+
},
|
|
45
|
+
"select": {
|
|
46
|
+
"defaultPlaceholder": "Seleziona un'opzione"
|
|
47
|
+
},
|
|
48
|
+
"messageDialog": {
|
|
49
|
+
"error": "Errore",
|
|
50
|
+
"success": "Successo",
|
|
51
|
+
"info": "Informazione",
|
|
52
|
+
"warning": "Attenzione"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export default _default;
|