@agrotools1/at-components 2.0.14-beta.4 → 2.0.14-beta.5
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/accordion/index.js +10 -0
- package/dist/alert-dialog/index.js +20 -0
- package/dist/avatar/index.js +8 -0
- package/dist/badge/index.js +2 -0
- package/dist/breadcrumb/index.js +12 -0
- package/dist/button/index.js +2 -0
- package/dist/calendar/Calendar.vue.js +32 -31
- package/dist/calendar/index.js +26 -0
- package/dist/card/index.js +8 -0
- package/dist/carousel/CarouselNext.vue.js +3 -2
- package/dist/carousel/CarouselPrevious.vue.js +14 -13
- package/dist/carousel/index.js +14 -0
- package/dist/checkbox/index.js +4 -0
- package/dist/combobox/index.js +25 -0
- package/dist/command/CommandDialog.vue.js +9 -8
- package/dist/command/index.js +20 -0
- package/dist/data-table/DataTable.vue.js +11 -11
- package/dist/data-table/DataTablePagination.vue.js +7 -7
- package/dist/data-table/index.js +8 -0
- package/dist/date-picker/DatePicker.vue.js +17 -16
- package/dist/date-picker/index.js +4 -0
- package/dist/date-range-picker/DateRangePicker.vue.js +24 -23
- package/dist/date-range-picker/index.js +4 -0
- package/dist/dialog/index.js +24 -2
- package/dist/dropdown-menu/index.js +32 -0
- package/dist/illustration/index.js +6 -0
- package/dist/index.js +453 -453
- package/dist/input/index.js +4 -0
- package/dist/label/index.js +4 -0
- package/dist/multi-select/MultiSelectContent.vue.js +10 -10
- package/dist/multi-select/MultiSelectGroup.vue.js +3 -3
- package/dist/multi-select/MultiSelectItem.vue.js +8 -8
- package/dist/multi-select/MultiSelectRoot.vue.js +6 -6
- package/dist/multi-select/MultiSelectTrigger.vue.js +4 -4
- package/dist/multi-select/MultiSelectValue.vue.js +10 -9
- package/dist/multi-select/index.js +23 -0
- package/dist/pagination/index.js +18 -0
- package/dist/popover/index.js +10 -0
- package/dist/radio-group/index.js +6 -0
- package/dist/range-calendar/RangeCalendar.vue.js +23 -22
- package/dist/range-calendar/index.js +26 -0
- package/dist/select/index.js +24 -0
- package/dist/separator/index.js +4 -0
- package/dist/sheet/index.js +18 -0
- package/dist/sidebar/SidebarInput.vue.js +4 -4
- package/dist/sidebar/SidebarMenuButton.vue.js +7 -7
- package/dist/sidebar/SidebarMenuSkeleton.vue.js +4 -4
- package/dist/sidebar/index.js +46 -2
- package/dist/skeleton/index.js +4 -0
- package/dist/sonner/index.js +8 -2
- package/dist/stepper/index.js +16 -0
- package/dist/switch/index.js +4 -0
- package/dist/table/TableEmpty.vue.js +6 -6
- package/dist/table/index.js +22 -0
- package/dist/tabs/index.js +10 -2
- package/dist/tag/index.js +2 -0
- package/dist/textarea/index.js +4 -0
- package/dist/time-picker/TimePicker.vue.js +9 -8
- package/dist/time-picker/index.js +4 -0
- package/dist/tooltip/index.js +10 -0
- package/dist/upload/index.js +18 -0
- package/package.json +3 -3
|
@@ -4,14 +4,15 @@ import { toCalendarDateTime as i } from "../node_modules/.pnpm/@internationalize
|
|
|
4
4
|
import { getLocalTimeZone as S } from "../node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/queries.js";
|
|
5
5
|
import { DateFormatter as C } from "../node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/DateFormatter.js";
|
|
6
6
|
import { cn as g } from "../lib/utils.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
|
|
7
|
+
import "../button/index.js";
|
|
8
|
+
import D from "../calendar/Calendar.vue.js";
|
|
9
|
+
import k from "../popover/Popover.vue.js";
|
|
10
|
+
import B from "../popover/PopoverContent.vue.js";
|
|
11
|
+
import N from "../popover/PopoverTrigger.vue.js";
|
|
12
|
+
import j from "../time-picker/TimePicker.vue.js";
|
|
13
|
+
import z from "../button/Button.vue.js";
|
|
14
|
+
import U from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/calendar.js";
|
|
15
|
+
const E = { class: "absolute inset-y-0 end-0 flex items-center justify-center px-2.5" }, O = /* @__PURE__ */ y({
|
|
15
16
|
__name: "DatePicker",
|
|
16
17
|
props: {
|
|
17
18
|
modelValue: {},
|
|
@@ -53,11 +54,11 @@ const E = { class: "absolute inset-y-0 end-0 flex items-center justify-center px
|
|
|
53
54
|
timeStyle: t.timeStyle
|
|
54
55
|
})
|
|
55
56
|
);
|
|
56
|
-
return (e, o) => (c(), f(a(
|
|
57
|
+
return (e, o) => (c(), f(a(k), null, {
|
|
57
58
|
default: r(() => [
|
|
58
|
-
m(a(
|
|
59
|
+
m(a(N), { "as-child": "" }, {
|
|
59
60
|
default: r(() => [
|
|
60
|
-
m(a(
|
|
61
|
+
m(a(z), {
|
|
61
62
|
variant: "outline",
|
|
62
63
|
class: V(
|
|
63
64
|
a(g)(
|
|
@@ -69,7 +70,7 @@ const E = { class: "absolute inset-y-0 end-0 flex items-center justify-center px
|
|
|
69
70
|
default: r(() => [
|
|
70
71
|
b(x(l.value ? $.value.format(l.value.toDate(a(S)())) : e.placeholder) + " ", 1),
|
|
71
72
|
v("span", E, [
|
|
72
|
-
m(a(
|
|
73
|
+
m(a(U), { class: "size-4" })
|
|
73
74
|
])
|
|
74
75
|
]),
|
|
75
76
|
_: 1
|
|
@@ -77,15 +78,15 @@ const E = { class: "absolute inset-y-0 end-0 flex items-center justify-center px
|
|
|
77
78
|
]),
|
|
78
79
|
_: 1
|
|
79
80
|
}),
|
|
80
|
-
m(a(
|
|
81
|
+
m(a(B), { class: "w-auto p-0 pb-4" }, {
|
|
81
82
|
default: r(() => [
|
|
82
|
-
m(a(
|
|
83
|
+
m(a(D), {
|
|
83
84
|
modelValue: l.value,
|
|
84
85
|
"onUpdate:modelValue": o[0] || (o[0] = (d) => l.value = d),
|
|
85
86
|
locale: t.locale,
|
|
86
87
|
"initial-focus": ""
|
|
87
88
|
}, null, 8, ["modelValue", "locale"]),
|
|
88
|
-
e.enableTime ? (c(), f(a(
|
|
89
|
+
e.enableTime ? (c(), f(a(j), {
|
|
89
90
|
key: 0,
|
|
90
91
|
modelValue: s.value,
|
|
91
92
|
"onUpdate:modelValue": o[1] || (o[1] = (d) => s.value = d),
|
|
@@ -100,5 +101,5 @@ const E = { class: "absolute inset-y-0 end-0 flex items-center justify-center px
|
|
|
100
101
|
}
|
|
101
102
|
});
|
|
102
103
|
export {
|
|
103
|
-
|
|
104
|
+
O as default
|
|
104
105
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { defineComponent as x, computed as p, createBlock as V, openBlock as a, unref as e, withCtx as r, createVNode as
|
|
2
|
-
import { getLocalTimeZone as
|
|
1
|
+
import { defineComponent as x, computed as p, createBlock as V, openBlock as a, unref as e, withCtx as r, createVNode as o, normalizeClass as k, createElementBlock as m, createElementVNode as b, Fragment as s, createTextVNode as f, toDisplayString as n } from "vue";
|
|
2
|
+
import { getLocalTimeZone as i } from "../node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/queries.js";
|
|
3
3
|
import { DateFormatter as g } from "../node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/DateFormatter.js";
|
|
4
4
|
import { cn as D } from "../lib/utils.js";
|
|
5
|
+
import "../button/index.js";
|
|
5
6
|
import h from "../popover/Popover.vue.js";
|
|
6
|
-
import w from "../popover/
|
|
7
|
-
import B from "../
|
|
8
|
-
import C from "../
|
|
9
|
-
import S from "../
|
|
10
|
-
import N from "../
|
|
11
|
-
const j = { class: "absolute inset-y-0 end-0 flex items-center justify-center px-2.5" },
|
|
7
|
+
import w from "../popover/PopoverContent.vue.js";
|
|
8
|
+
import B from "../popover/PopoverTrigger.vue.js";
|
|
9
|
+
import C from "../range-calendar/RangeCalendar.vue.js";
|
|
10
|
+
import S from "../button/Button.vue.js";
|
|
11
|
+
import N from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/calendar.js";
|
|
12
|
+
const j = { class: "absolute inset-y-0 end-0 flex items-center justify-center px-2.5" }, G = /* @__PURE__ */ x({
|
|
12
13
|
__name: "DateRangePicker",
|
|
13
14
|
props: {
|
|
14
15
|
modelValue: {},
|
|
@@ -18,19 +19,19 @@ const j = { class: "absolute inset-y-0 end-0 flex items-center justify-center px
|
|
|
18
19
|
},
|
|
19
20
|
emits: ["update:modelValue"],
|
|
20
21
|
setup(_, { emit: v }) {
|
|
21
|
-
const
|
|
22
|
-
get: () =>
|
|
22
|
+
const l = _, y = v, t = p({
|
|
23
|
+
get: () => l.modelValue,
|
|
23
24
|
set: (c) => y("update:modelValue", c)
|
|
24
25
|
}), u = p(
|
|
25
|
-
() => new g(
|
|
26
|
-
dateStyle:
|
|
26
|
+
() => new g(l.locale, {
|
|
27
|
+
dateStyle: l.dateStyle
|
|
27
28
|
})
|
|
28
29
|
);
|
|
29
|
-
return (c,
|
|
30
|
+
return (c, d) => (a(), V(e(h), null, {
|
|
30
31
|
default: r(() => [
|
|
31
|
-
|
|
32
|
+
o(e(B), { "as-child": "" }, {
|
|
32
33
|
default: r(() => [
|
|
33
|
-
|
|
34
|
+
o(e(S), {
|
|
34
35
|
variant: "outline",
|
|
35
36
|
class: k(
|
|
36
37
|
e(D)(
|
|
@@ -42,15 +43,15 @@ const j = { class: "absolute inset-y-0 end-0 flex items-center justify-center px
|
|
|
42
43
|
default: r(() => [
|
|
43
44
|
t.value.start ? (a(), m(s, { key: 0 }, [
|
|
44
45
|
t.value.end ? (a(), m(s, { key: 0 }, [
|
|
45
|
-
f(n(u.value.format(t.value.start.toDate(e(
|
|
46
|
+
f(n(u.value.format(t.value.start.toDate(e(i)()))) + " - " + n(u.value.format(t.value.end.toDate(e(i)()))), 1)
|
|
46
47
|
], 64)) : (a(), m(s, { key: 1 }, [
|
|
47
|
-
f(n(u.value.format(t.value.start.toDate(e(
|
|
48
|
+
f(n(u.value.format(t.value.start.toDate(e(i)()))), 1)
|
|
48
49
|
], 64))
|
|
49
50
|
], 64)) : (a(), m(s, { key: 1 }, [
|
|
50
51
|
f(n(c.placeholder), 1)
|
|
51
52
|
], 64)),
|
|
52
53
|
b("span", j, [
|
|
53
|
-
|
|
54
|
+
o(e(N), { class: "size-4" })
|
|
54
55
|
])
|
|
55
56
|
]),
|
|
56
57
|
_: 1
|
|
@@ -58,12 +59,12 @@ const j = { class: "absolute inset-y-0 end-0 flex items-center justify-center px
|
|
|
58
59
|
]),
|
|
59
60
|
_: 1
|
|
60
61
|
}),
|
|
61
|
-
|
|
62
|
+
o(e(w), { class: "w-auto p-0 pb-4" }, {
|
|
62
63
|
default: r(() => [
|
|
63
|
-
|
|
64
|
+
o(e(C), {
|
|
64
65
|
modelValue: t.value,
|
|
65
|
-
"onUpdate:modelValue":
|
|
66
|
-
locale:
|
|
66
|
+
"onUpdate:modelValue": d[0] || (d[0] = ($) => t.value = $),
|
|
67
|
+
locale: l.locale,
|
|
67
68
|
"initial-focus": ""
|
|
68
69
|
}, null, 8, ["modelValue", "locale"])
|
|
69
70
|
]),
|
|
@@ -75,5 +76,5 @@ const j = { class: "absolute inset-y-0 end-0 flex items-center justify-center px
|
|
|
75
76
|
}
|
|
76
77
|
});
|
|
77
78
|
export {
|
|
78
|
-
|
|
79
|
+
G as default
|
|
79
80
|
};
|
package/dist/dialog/index.js
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
|
-
import { cva as
|
|
2
|
-
|
|
1
|
+
import { cva as t } from "class-variance-authority";
|
|
2
|
+
import { default as l } from "./Dialog.vue.js";
|
|
3
|
+
import { default as d } from "./DialogBody.vue.js";
|
|
4
|
+
import { default as i } from "./DialogClose.vue.js";
|
|
5
|
+
import { default as u } from "./DialogContent.vue.js";
|
|
6
|
+
import { default as p } from "./DialogDescription.vue.js";
|
|
7
|
+
import { default as x } from "./DialogFooter.vue.js";
|
|
8
|
+
import { default as A } from "./DialogHeader.vue.js";
|
|
9
|
+
import { default as b } from "./DialogOverlay.vue.js";
|
|
10
|
+
import { default as y } from "./DialogScrollContent.vue.js";
|
|
11
|
+
import { default as w } from "./DialogTitle.vue.js";
|
|
12
|
+
import { default as V } from "./DialogTrigger.vue.js";
|
|
13
|
+
const a = t(
|
|
3
14
|
"z-50 border-t-8 rounded-xl bg-neutral-100 shadow-lg duration-200 grid w-full gap-4",
|
|
4
15
|
{
|
|
5
16
|
variants: {
|
|
@@ -16,5 +27,16 @@ const a = r(
|
|
|
16
27
|
}
|
|
17
28
|
);
|
|
18
29
|
export {
|
|
30
|
+
l as AgtDialog,
|
|
31
|
+
d as AgtDialogBody,
|
|
32
|
+
i as AgtDialogClose,
|
|
33
|
+
u as AgtDialogContent,
|
|
34
|
+
p as AgtDialogDescription,
|
|
35
|
+
x as AgtDialogFooter,
|
|
36
|
+
A as AgtDialogHeader,
|
|
37
|
+
b as AgtDialogOverlay,
|
|
38
|
+
y as AgtDialogScrollContent,
|
|
39
|
+
w as AgtDialogTitle,
|
|
40
|
+
V as AgtDialogTrigger,
|
|
19
41
|
a as dialogContentVariants
|
|
20
42
|
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { default as t } from "./DropdownMenu.vue.js";
|
|
2
|
+
import { default as a } from "./DropdownMenuCheckboxItem.vue.js";
|
|
3
|
+
import { default as u } from "./DropdownMenuContent.vue.js";
|
|
4
|
+
import { default as d } from "./DropdownMenuGroup.vue.js";
|
|
5
|
+
import { default as g } from "./DropdownMenuItem.vue.js";
|
|
6
|
+
import { default as l } from "./DropdownMenuLabel.vue.js";
|
|
7
|
+
import { default as x } from "./DropdownMenuRadioGroup.vue.js";
|
|
8
|
+
import { default as M } from "./DropdownMenuRadioItem.vue.js";
|
|
9
|
+
import { default as A } from "./DropdownMenuSeparator.vue.js";
|
|
10
|
+
import { default as S } from "./DropdownMenuShortcut.vue.js";
|
|
11
|
+
import { default as C } from "./DropdownMenuSub.vue.js";
|
|
12
|
+
import { default as c } from "./DropdownMenuSubContent.vue.js";
|
|
13
|
+
import { default as G } from "./DropdownMenuSubTrigger.vue.js";
|
|
14
|
+
import { default as R } from "./DropdownMenuTrigger.vue.js";
|
|
15
|
+
import { DropdownMenuPortal as k } from "reka-ui";
|
|
16
|
+
export {
|
|
17
|
+
t as AgtDropdownMenu,
|
|
18
|
+
a as AgtDropdownMenuCheckboxItem,
|
|
19
|
+
u as AgtDropdownMenuContent,
|
|
20
|
+
d as AgtDropdownMenuGroup,
|
|
21
|
+
g as AgtDropdownMenuItem,
|
|
22
|
+
l as AgtDropdownMenuLabel,
|
|
23
|
+
k as AgtDropdownMenuPortal,
|
|
24
|
+
x as AgtDropdownMenuRadioGroup,
|
|
25
|
+
M as AgtDropdownMenuRadioItem,
|
|
26
|
+
A as AgtDropdownMenuSeparator,
|
|
27
|
+
S as AgtDropdownMenuShortcut,
|
|
28
|
+
C as AgtDropdownMenuSub,
|
|
29
|
+
c as AgtDropdownMenuSubContent,
|
|
30
|
+
G as AgtDropdownMenuSubTrigger,
|
|
31
|
+
R as AgtDropdownMenuTrigger
|
|
32
|
+
};
|