@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.
Files changed (62) hide show
  1. package/dist/accordion/index.js +10 -0
  2. package/dist/alert-dialog/index.js +20 -0
  3. package/dist/avatar/index.js +8 -0
  4. package/dist/badge/index.js +2 -0
  5. package/dist/breadcrumb/index.js +12 -0
  6. package/dist/button/index.js +2 -0
  7. package/dist/calendar/Calendar.vue.js +32 -31
  8. package/dist/calendar/index.js +26 -0
  9. package/dist/card/index.js +8 -0
  10. package/dist/carousel/CarouselNext.vue.js +3 -2
  11. package/dist/carousel/CarouselPrevious.vue.js +14 -13
  12. package/dist/carousel/index.js +14 -0
  13. package/dist/checkbox/index.js +4 -0
  14. package/dist/combobox/index.js +25 -0
  15. package/dist/command/CommandDialog.vue.js +9 -8
  16. package/dist/command/index.js +20 -0
  17. package/dist/data-table/DataTable.vue.js +11 -11
  18. package/dist/data-table/DataTablePagination.vue.js +7 -7
  19. package/dist/data-table/index.js +8 -0
  20. package/dist/date-picker/DatePicker.vue.js +17 -16
  21. package/dist/date-picker/index.js +4 -0
  22. package/dist/date-range-picker/DateRangePicker.vue.js +24 -23
  23. package/dist/date-range-picker/index.js +4 -0
  24. package/dist/dialog/index.js +24 -2
  25. package/dist/dropdown-menu/index.js +32 -0
  26. package/dist/illustration/index.js +6 -0
  27. package/dist/index.js +453 -453
  28. package/dist/input/index.js +4 -0
  29. package/dist/label/index.js +4 -0
  30. package/dist/multi-select/MultiSelectContent.vue.js +10 -10
  31. package/dist/multi-select/MultiSelectGroup.vue.js +3 -3
  32. package/dist/multi-select/MultiSelectItem.vue.js +8 -8
  33. package/dist/multi-select/MultiSelectRoot.vue.js +6 -6
  34. package/dist/multi-select/MultiSelectTrigger.vue.js +4 -4
  35. package/dist/multi-select/MultiSelectValue.vue.js +10 -9
  36. package/dist/multi-select/index.js +23 -0
  37. package/dist/pagination/index.js +18 -0
  38. package/dist/popover/index.js +10 -0
  39. package/dist/radio-group/index.js +6 -0
  40. package/dist/range-calendar/RangeCalendar.vue.js +23 -22
  41. package/dist/range-calendar/index.js +26 -0
  42. package/dist/select/index.js +24 -0
  43. package/dist/separator/index.js +4 -0
  44. package/dist/sheet/index.js +18 -0
  45. package/dist/sidebar/SidebarInput.vue.js +4 -4
  46. package/dist/sidebar/SidebarMenuButton.vue.js +7 -7
  47. package/dist/sidebar/SidebarMenuSkeleton.vue.js +4 -4
  48. package/dist/sidebar/index.js +46 -2
  49. package/dist/skeleton/index.js +4 -0
  50. package/dist/sonner/index.js +8 -2
  51. package/dist/stepper/index.js +16 -0
  52. package/dist/switch/index.js +4 -0
  53. package/dist/table/TableEmpty.vue.js +6 -6
  54. package/dist/table/index.js +22 -0
  55. package/dist/tabs/index.js +10 -2
  56. package/dist/tag/index.js +2 -0
  57. package/dist/textarea/index.js +4 -0
  58. package/dist/time-picker/TimePicker.vue.js +9 -8
  59. package/dist/time-picker/index.js +4 -0
  60. package/dist/tooltip/index.js +10 -0
  61. package/dist/upload/index.js +18 -0
  62. 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 D from "../popover/Popover.vue.js";
8
- import k from "../popover/PopoverTrigger.vue.js";
9
- import B from "../button/Button.vue.js";
10
- 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";
11
- import j from "../popover/PopoverContent.vue.js";
12
- import z from "../calendar/Calendar.vue.js";
13
- import U from "../time-picker/TimePicker.vue.js";
14
- const E = { class: "absolute inset-y-0 end-0 flex items-center justify-center px-2.5" }, M = /* @__PURE__ */ y({
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(D), null, {
57
+ return (e, o) => (c(), f(a(k), null, {
57
58
  default: r(() => [
58
- m(a(k), { "as-child": "" }, {
59
+ m(a(N), { "as-child": "" }, {
59
60
  default: r(() => [
60
- m(a(B), {
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(N), { class: "size-4" })
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(j), { class: "w-auto p-0 pb-4" }, {
81
+ m(a(B), { class: "w-auto p-0 pb-4" }, {
81
82
  default: r(() => [
82
- m(a(z), {
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(U), {
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
- M as default
104
+ O as default
104
105
  };
@@ -0,0 +1,4 @@
1
+ import { default as a } from "./DatePicker.vue.js";
2
+ export {
3
+ a as AgtDatePicker
4
+ };
@@ -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 l, normalizeClass as k, createElementBlock as m, createElementVNode as b, Fragment as s, createTextVNode as f, toDisplayString as n } from "vue";
2
- import { getLocalTimeZone as d } from "../node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/queries.js";
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/PopoverTrigger.vue.js";
7
- import B from "../button/Button.vue.js";
8
- import C 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";
9
- import S from "../popover/PopoverContent.vue.js";
10
- import N from "../range-calendar/RangeCalendar.vue.js";
11
- const j = { class: "absolute inset-y-0 end-0 flex items-center justify-center px-2.5" }, A = /* @__PURE__ */ x({
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 o = _, y = v, t = p({
22
- get: () => o.modelValue,
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(o.locale, {
26
- dateStyle: o.dateStyle
26
+ () => new g(l.locale, {
27
+ dateStyle: l.dateStyle
27
28
  })
28
29
  );
29
- return (c, i) => (a(), V(e(h), null, {
30
+ return (c, d) => (a(), V(e(h), null, {
30
31
  default: r(() => [
31
- l(e(w), { "as-child": "" }, {
32
+ o(e(B), { "as-child": "" }, {
32
33
  default: r(() => [
33
- l(e(B), {
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(d)()))) + " - " + n(u.value.format(t.value.end.toDate(e(d)()))), 1)
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(d)()))), 1)
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
- l(e(C), { class: "size-4" })
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
- l(e(S), { class: "w-auto p-0 pb-4" }, {
62
+ o(e(w), { class: "w-auto p-0 pb-4" }, {
62
63
  default: r(() => [
63
- l(e(N), {
64
+ o(e(C), {
64
65
  modelValue: t.value,
65
- "onUpdate:modelValue": i[0] || (i[0] = ($) => t.value = $),
66
- locale: o.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
- A as default
79
+ G as default
79
80
  };
@@ -0,0 +1,4 @@
1
+ import { default as t } from "./DateRangePicker.vue.js";
2
+ export {
3
+ t as AgtDateRangePicker
4
+ };
@@ -1,5 +1,16 @@
1
- import { cva as r } from "class-variance-authority";
2
- const a = r(
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
+ };
@@ -0,0 +1,6 @@
1
+ import { default as o } from "./Illustration.vue.js";
2
+ import { allIllustrations as a } from "./illustrations.js";
3
+ export {
4
+ o as AgtIllustration,
5
+ a as allIllustrations
6
+ };