vlite3 1.1.2 → 1.1.4

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 (87) hide show
  1. package/components/AttachmentsList/AttachmentsList.vue.d.ts +1 -1
  2. package/components/AttachmentsList/AttachmentsList.vue.js +237 -163
  3. package/components/Avatar.vue.js +1 -1
  4. package/components/AvatarUploader/AvatarUploader.vue.js +40 -37
  5. package/components/Button.vue.js +30 -28
  6. package/components/Carousel/Carousel.vue.d.ts +2 -2
  7. package/components/CategoryManager/CategoryManager.vue.d.ts +10 -2
  8. package/components/CategoryManager/CategoryManager.vue.js +137 -118
  9. package/components/CategoryManager/CategoryNode.vue.d.ts +2 -0
  10. package/components/CategoryManager/CategoryNode.vue.js +93 -88
  11. package/components/Chat/ChatBubble.vue.js +22 -22
  12. package/components/CheckBox.vue.js +29 -28
  13. package/components/CommandPalette/CommandPaletteContent.vue2.js +1 -1
  14. package/components/CommandPalette/{CommandPaletteItem.vue.js → CommandPaletteItem.vue2.js} +1 -1
  15. package/components/ConfirmationModal.vue.js +30 -28
  16. package/components/CopyButton.vue.d.ts +50 -0
  17. package/components/CopyButton.vue.js +69 -0
  18. package/components/CopyButton.vue2.js +4 -0
  19. package/components/DataTable/DataTable.vue.js +44 -44
  20. package/components/DatePicker.vue.js +41 -35
  21. package/components/DateRangePicker.vue.js +18 -17
  22. package/components/Dropdown/Dropdown.vue.d.ts +3 -0
  23. package/components/Dropdown/Dropdown.vue.js +117 -115
  24. package/components/Dropdown/DropdownBooleanItem.vue.js +16 -15
  25. package/components/Dropdown/DropdownItem.vue.js +21 -20
  26. package/components/Dropdown/DropdownMenu.vue.js +1 -1
  27. package/components/Dropdown/DropdownMenu.vue2.js +13 -12
  28. package/components/Dropdown/DropdownTrigger.vue.d.ts +2 -0
  29. package/components/Dropdown/DropdownTrigger.vue.js +10 -6
  30. package/components/Dropdown/composables/useDropdownHydration.d.ts +2 -0
  31. package/components/Dropdown/composables/useDropdownSelection.d.ts +1 -0
  32. package/components/Dropdown/composables/useDropdownSelection.js +46 -31
  33. package/components/FilePicker/FilePicker.vue.js +93 -90
  34. package/components/Form/CustomFields.vue.js +2 -2
  35. package/components/Form/Form.vue.js +2 -2
  36. package/components/Form/Form.vue2.js +68 -64
  37. package/components/Form/FormField.vue.js +204 -148
  38. package/components/Form/FormFields.vue.js +2 -2
  39. package/components/Form/FormFields.vue2.js +28 -27
  40. package/components/Form/types.d.ts +2 -2
  41. package/components/Form/utils/form.utils.d.ts +3 -3
  42. package/components/Form/utils/form.utils.js +37 -37
  43. package/components/Input.vue.js +64 -62
  44. package/components/Invoice/Invoice.vue.js +9 -7
  45. package/components/Invoice/InvoiceTotals.vue.d.ts +14 -0
  46. package/components/Invoice/InvoiceTotals.vue.js +86 -0
  47. package/components/Invoice/InvoiceTotals.vue2.js +4 -0
  48. package/components/Invoice/InvoiceVariant1.vue.d.ts +3 -1
  49. package/components/Invoice/InvoiceVariant1.vue.js +194 -207
  50. package/components/Invoice/InvoiceVariant2.vue.d.ts +3 -1
  51. package/components/Invoice/InvoiceVariant2.vue.js +109 -118
  52. package/components/Invoice/InvoiceVariant3.vue.d.ts +3 -1
  53. package/components/Invoice/InvoiceVariant3.vue.js +157 -167
  54. package/components/Invoice/InvoiceVariant4.vue.d.ts +3 -1
  55. package/components/Invoice/InvoiceVariant4.vue.js +192 -202
  56. package/components/Invoice/index.d.ts +1 -0
  57. package/components/Invoice/types.d.ts +22 -0
  58. package/components/Masonry/Masonry.vue.d.ts +1 -1
  59. package/components/Modal.vue.js +1 -1
  60. package/components/Modal.vue2.js +60 -54
  61. package/components/MultiSelect/MultiSelect.vue.js +47 -46
  62. package/components/MultiSelect/composables/useMultiSelectHydration.d.ts +2 -0
  63. package/components/NavbarCommandPalette.vue.js +1 -1
  64. package/components/NumberInput.vue.js +2 -2
  65. package/components/NumberInput.vue2.js +121 -116
  66. package/components/PricingPlan/PricingPlan.vue.d.ts +1 -1
  67. package/components/SidePanel.vue.js +2 -2
  68. package/components/SidePanel.vue2.js +58 -52
  69. package/components/Stats/StatItem.vue.js +96 -91
  70. package/components/Stats/types.d.ts +1 -0
  71. package/components/Switch.vue.d.ts +6 -1
  72. package/components/Switch.vue.js +61 -24
  73. package/components/TagInput/TagInput.vue.d.ts +187 -0
  74. package/components/TagInput/TagInput.vue.js +113 -0
  75. package/components/TagInput/TagInput.vue2.js +4 -0
  76. package/components/TagInput/index.d.ts +1 -0
  77. package/components/Textarea.vue.js +19 -18
  78. package/components/ThumbnailSelector/ThumbnailSelector.vue.js +2 -2
  79. package/components/ThumbnailSelector/ThumbnailSelector.vue2.js +19 -16
  80. package/core/config.d.ts +36 -0
  81. package/index.d.ts +2 -0
  82. package/index.js +130 -124
  83. package/package.json +1 -1
  84. package/style.css +616 -1
  85. package/types/button.d.ts +1 -1
  86. package/types/styles.d.ts +1 -0
  87. package/utils/functions.js +9 -9
@@ -1,8 +1,8 @@
1
- import { defineComponent as x, ref as w, computed as z, openBlock as i, createElementBlock as r, createElementVNode as b, normalizeClass as o, createVNode as n, withCtx as V, createCommentVNode as g, withModifiers as C } from "vue";
1
+ import { defineComponent as x, ref as w, computed as z, openBlock as i, createElementBlock as n, createElementVNode as b, normalizeClass as r, createVNode as o, withCtx as V, createCommentVNode as g, withModifiers as C } from "vue";
2
2
  import c from "../Icon.vue.js";
3
3
  import U from "../FilePicker/FilePicker.vue.js";
4
- import A from "../Avatar.vue.js";
5
- const R = { class: "inline-block" }, j = ["onClick"], F = /* @__PURE__ */ x({
4
+ import $ from "../Avatar.vue.js";
5
+ const A = ["data-testid"], R = ["onClick"], F = /* @__PURE__ */ x({
6
6
  name: "AvatarUploader",
7
7
  __name: "AvatarUploader",
8
8
  props: {
@@ -19,48 +19,51 @@ const R = { class: "inline-block" }, j = ["onClick"], F = /* @__PURE__ */ x({
19
19
  },
20
20
  emits: ["update:modelValue", "change", "error"],
21
21
  setup(e, { emit: v }) {
22
- const a = e, t = v, d = w(null), m = z(() => {
22
+ const t = e, l = v, d = w(null), m = z(() => {
23
23
  if (d.value) return d.value;
24
- if (typeof a.modelValue == "string") return a.modelValue;
25
- if (a.modelValue && a.modelValue.fileUrl) return a.modelValue.fileUrl;
26
- if (a.modelValue && a.modelValue.base64) return a.modelValue.base64;
27
- if (a.modelValue && a.modelValue.file instanceof File)
24
+ if (typeof t.modelValue == "string") return t.modelValue;
25
+ if (t.modelValue && t.modelValue.fileUrl) return t.modelValue.fileUrl;
26
+ if (t.modelValue && t.modelValue.base64) return t.modelValue.base64;
27
+ if (t.modelValue && t.modelValue.file instanceof File)
28
28
  try {
29
- return URL.createObjectURL(a.modelValue.file);
29
+ return URL.createObjectURL(t.modelValue.file);
30
30
  } catch {
31
31
  }
32
32
  return null;
33
- }), h = (l) => {
34
- if (!l || Array.isArray(l)) {
35
- Array.isArray(l) && l.length === 0 && f();
33
+ }), h = (a) => {
34
+ if (!a || Array.isArray(a)) {
35
+ Array.isArray(a) && a.length === 0 && f();
36
36
  return;
37
37
  }
38
- if (l.base64)
39
- d.value = l.base64, t("update:modelValue", l.base64);
40
- else if (l.file)
38
+ if (a.base64)
39
+ d.value = a.base64, l("update:modelValue", a.base64);
40
+ else if (a.file)
41
41
  try {
42
- d.value = URL.createObjectURL(l.file), t("update:modelValue", l);
42
+ d.value = URL.createObjectURL(a.file), l("update:modelValue", a);
43
43
  } catch {
44
44
  }
45
- t("change", l);
46
- }, y = (l) => {
47
- t("error", l);
45
+ l("change", a);
46
+ }, y = (a) => {
47
+ l("error", a);
48
48
  }, f = () => {
49
- d.value = null, t("update:modelValue", null), t("change", null);
49
+ d.value = null, l("update:modelValue", null), l("change", null);
50
50
  };
51
- return (l, u) => (i(), r("div", R, [
51
+ return (a, u) => (i(), n("div", {
52
+ class: "inline-block",
53
+ "data-testid": a.$attrs["data-testid"] || (a.$attrs.name ? `avatar-${a.$attrs.name}` : "avatar-uploader")
54
+ }, [
52
55
  b("div", {
53
- class: o(["relative inline-block group", e.rounded === "full" ? "rounded-full" : "rounded-md"])
56
+ class: r(["relative inline-block group", e.rounded === "full" ? "rounded-full" : "rounded-md"])
54
57
  }, [
55
- n(A, {
58
+ o($, {
56
59
  src: m.value || void 0,
57
60
  fallback: e.fallback,
58
61
  alt: e.alt,
59
62
  size: e.size,
60
63
  rounded: e.rounded,
61
- class: o(e.className)
64
+ class: r(e.className)
62
65
  }, null, 8, ["src", "fallback", "alt", "size", "rounded", "class"]),
63
- n(U, {
66
+ o(U, {
64
67
  disabled: !e.editable || e.disabled || e.loading,
65
68
  "return-format": "base64",
66
69
  "file-types": ["image/jpeg", "image/png", "image/webp", "image/gif"],
@@ -72,44 +75,44 @@ const R = { class: "inline-block" }, j = ["onClick"], F = /* @__PURE__ */ x({
72
75
  trigger: V(({ trigger: s, isLoading: k }) => [
73
76
  b("button", {
74
77
  type: "button",
75
- class: o(["absolute inset-0 cursor-pointer", { "cursor-default": !e.editable || e.disabled }]),
76
- onClick: (B) => e.editable && !e.disabled ? s() : null
78
+ class: r(["absolute inset-0 cursor-pointer", { "cursor-default": !e.editable || e.disabled }]),
79
+ onClick: (j) => e.editable && !e.disabled ? s() : null
77
80
  }, [
78
- e.loading || k ? (i(), r("div", {
81
+ e.loading || k ? (i(), n("div", {
79
82
  key: 0,
80
- class: o(["absolute inset-0 flex items-center justify-center bg-[#7878783b] text-white", e.rounded === "full" ? "rounded-full" : "rounded-md"])
83
+ class: r(["absolute inset-0 flex items-center justify-center bg-[#7878783b] text-white", e.rounded === "full" ? "rounded-full" : "rounded-md"])
81
84
  }, [
82
- n(c, {
85
+ o(c, {
83
86
  icon: "lucide:loader-2",
84
87
  class: "animate-spin w-1/3 h-1/3"
85
88
  })
86
- ], 2)) : e.editable && !e.disabled ? (i(), r("div", {
89
+ ], 2)) : e.editable && !e.disabled ? (i(), n("div", {
87
90
  key: 1,
88
- class: o(["absolute inset-0 flex items-center justify-center bg-[#00000051] text-white opacity-0 group-hover:opacity-100 transition-opacity", e.rounded === "full" ? "rounded-full" : "rounded-md"])
91
+ class: r(["absolute inset-0 flex items-center justify-center bg-[#00000051] text-white opacity-0 group-hover:opacity-100 transition-opacity", e.rounded === "full" ? "rounded-full" : "rounded-md"])
89
92
  }, [
90
- n(c, {
93
+ o(c, {
91
94
  icon: "lucide:camera",
92
95
  class: "w-1/3 h-1/3"
93
96
  })
94
97
  ], 2)) : g("", !0)
95
- ], 10, j)
98
+ ], 10, R)
96
99
  ]),
97
100
  _: 1
98
101
  }, 8, ["disabled", "max-size"]),
99
- (m.value || e.modelValue) && e.editable && !e.disabled && !e.loading ? (i(), r("button", {
102
+ (m.value || e.modelValue) && e.editable && !e.disabled && !e.loading ? (i(), n("button", {
100
103
  key: 0,
101
104
  type: "button",
102
105
  class: "absolute -top-1 -right-1 z-10 p-1 bg-background border border-border rounded-full text-muted-foreground shadow-sm hover:text-destructive hover:border-destructive transition-all opacity-0 group-hover:opacity-100 scale-75 group-hover:scale-100",
103
106
  onClick: C(f, ["stop"]),
104
107
  title: "Remove image"
105
108
  }, [
106
- n(c, {
109
+ o(c, {
107
110
  icon: "lucide:x",
108
111
  class: "w-3 h-3"
109
112
  })
110
113
  ])) : g("", !0)
111
114
  ], 2)
112
- ]));
115
+ ], 8, A));
113
116
  }
114
117
  });
115
118
  export {
@@ -1,8 +1,8 @@
1
- import { defineComponent as k, computed as a, useSlots as z, withDirectives as B, openBlock as o, createElementBlock as g, normalizeClass as r, createBlock as d, createCommentVNode as h, renderSlot as m, createTextVNode as b, toDisplayString as f, unref as I } from "vue";
1
+ import { defineComponent as z, computed as l, useSlots as k, withDirectives as $, openBlock as o, createElementBlock as g, normalizeClass as s, createBlock as d, createCommentVNode as h, renderSlot as m, createTextVNode as b, toDisplayString as f, unref as B } from "vue";
2
2
  import u from "./Icon.vue.js";
3
- import { vRipple as R } from "../directives/vRipple.js";
4
- import { $t as S } from "../utils/i18n.js";
5
- const $ = ["type", "disabled"], T = /* @__PURE__ */ k({
3
+ import { vRipple as I } from "../directives/vRipple.js";
4
+ import { $t as R } from "../utils/i18n.js";
5
+ const S = ["type", "disabled", "data-testid"], T = /* @__PURE__ */ z({
6
6
  __name: "Button",
7
7
  props: {
8
8
  variant: { default: "primary" },
@@ -22,10 +22,10 @@ const $ = ["type", "disabled"], T = /* @__PURE__ */ k({
22
22
  asIcon: { type: Boolean }
23
23
  },
24
24
  setup(e) {
25
- const t = e, l = a(() => t.textI18n ? S(t.textI18n) : t.text), x = z(), s = a(
26
- () => t?.asIcon || t.icon && !l.value && !x.default
27
- ), v = a(() => {
28
- const n = `inline-flex items-center justify-center whitespace-nowrap text-sm font-medium disabled:pointer-events-none disabled:opacity-50 active:scale-[0.98] cursor-pointer gap-2 ${s.value ? "icon-only shrink-0" : ""}`, i = {
25
+ const t = e, r = l(() => t.textI18n ? R(t.textI18n) : t.text), v = k(), i = l(
26
+ () => t?.asIcon || t.icon && !r.value && !v.default
27
+ ), x = l(() => {
28
+ const n = `inline-flex items-center justify-center whitespace-nowrap text-sm font-medium disabled:pointer-events-none disabled:opacity-50 active:scale-[0.98] cursor-pointer gap-2 ${i.value ? "icon-only shrink-0" : ""}`, a = {
29
29
  primary: "bg-primary text-primary-foreground hover:bg-primary/90",
30
30
  "primary-light": "bg-primary-light text-primary-fg-light hover:bg-primary/20",
31
31
  secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
@@ -45,7 +45,8 @@ const $ = ["type", "disabled"], T = /* @__PURE__ */ k({
45
45
  "outline-info": "border border-info text-info hover:bg-info/10",
46
46
  "outline-success": "border border-success text-success hover:bg-success/10",
47
47
  ghost: "hover:bg-accent hover:text-accent-foreground text-foreground",
48
- link: "text-primary underline-offset-4 hover:underline"
48
+ link: "text-primary underline-offset-4 hover:underline",
49
+ transparent: ""
49
50
  }, w = {
50
51
  xs: "h-6.5 px-2",
51
52
  sm: "h-7.5 px-3",
@@ -53,14 +54,14 @@ const $ = ["type", "disabled"], T = /* @__PURE__ */ k({
53
54
  md: "h-9 px-4 py-2",
54
55
  lg: "h-10 px-4",
55
56
  xl: "h-12 px-10"
56
- }, p = {
57
+ }, y = {
57
58
  xs: "h-6.5 w-6.5 min-h-6.5 min-w-6.5",
58
59
  sm: "h-7.5 w-7.5 min-h-7.5 min-w-7.5",
59
60
  sm2: "h-8 w-8 min-h-8 min-w-8",
60
61
  md: "h-9 w-9 min-h-9 min-w-9",
61
62
  lg: "h-10 w-10 min-h-10 min-w-10",
62
63
  xl: "h-12 w-12 min-h-12 min-w-12"
63
- }, y = {
64
+ }, p = {
64
65
  none: "rounded-none",
65
66
  sm: "rounded-sm",
66
67
  sm2: "rounded-sm",
@@ -70,15 +71,15 @@ const $ = ["type", "disabled"], T = /* @__PURE__ */ k({
70
71
  "2xl": "rounded-2xl",
71
72
  full: "rounded-full"
72
73
  };
73
- let C = s.value ? p[t.size] : w[t.size];
74
+ let C = i.value ? y[t.size] : w[t.size];
74
75
  return [
75
76
  n,
76
- i[t.variant],
77
- y[t.rounded],
77
+ a[t.variant],
78
+ p[t.rounded],
78
79
  C,
79
80
  t.class
80
81
  ].join(" ");
81
- }), c = a(() => {
82
+ }), c = l(() => {
82
83
  const n = {
83
84
  xs: "w-3 h-3",
84
85
  sm: "w-4 h-4",
@@ -86,7 +87,7 @@ const $ = ["type", "disabled"], T = /* @__PURE__ */ k({
86
87
  md: "w-4 h-4",
87
88
  lg: "w-4 h-4",
88
89
  xl: "w-4 h-4"
89
- }, i = {
90
+ }, a = {
90
91
  xs: "w-3 h-3",
91
92
  sm: "w-4 h-4",
92
93
  sm2: "w-4 h-4",
@@ -94,39 +95,40 @@ const $ = ["type", "disabled"], T = /* @__PURE__ */ k({
94
95
  lg: "w-4 h-4",
95
96
  xl: "w-4 h-4"
96
97
  };
97
- return s.value ? i[t.size] : n[t.size];
98
+ return i.value ? a[t.size] : n[t.size];
98
99
  });
99
- return (n, i) => B((o(), g("button", {
100
+ return (n, a) => $((o(), g("button", {
100
101
  type: e.type,
101
- class: r([v.value, "cursor-pointer"]),
102
- disabled: e.disabled || e.loading
102
+ class: s([x.value, "cursor-pointer"]),
103
+ disabled: e.disabled || e.loading,
104
+ "data-testid": n.$attrs["data-testid"] || (r.value ? `btn-${r.value.toString().toLowerCase().replace(/[^a-z0-9]+/g, "-")}` : e.icon ? `btn-${e.icon.replace(/[^a-zA-Z0-9]+/g, "-")}` : "button")
103
105
  }, [
104
106
  e.loading ? (o(), d(u, {
105
107
  key: 0,
106
108
  icon: "lucide:loader-2",
107
- class: r(["animate-spin pointer-events-none", c.value])
109
+ class: s(["animate-spin pointer-events-none", c.value])
108
110
  }, null, 8, ["class"])) : e.icon ? (o(), d(u, {
109
111
  key: 1,
110
112
  icon: e.icon,
111
- class: r(["pointer-events-none", [e.iconClass, c.value, s.value ? "mx-auto" : ""]])
113
+ class: s(["pointer-events-none", [e.iconClass, c.value, i.value ? "mx-auto" : ""]])
112
114
  }, null, 8, ["icon", "class"])) : h("", !0),
113
115
  e.textClass ? (o(), g("span", {
114
116
  key: 2,
115
- class: r(e.textClass)
117
+ class: s(e.textClass)
116
118
  }, [
117
119
  m(n.$slots, "default", {}, () => [
118
- b(f(l.value), 1)
120
+ b(f(r.value), 1)
119
121
  ])
120
122
  ], 2)) : m(n.$slots, "default", { key: 3 }, () => [
121
- b(f(l.value), 1)
123
+ b(f(r.value), 1)
122
124
  ]),
123
125
  e.iconRight && !e.loading ? (o(), d(u, {
124
126
  key: 4,
125
127
  icon: e.iconRight,
126
- class: r([[e.iconRightClass, c.value], "h-4 w-4 pointer-events-none"])
128
+ class: s([[e.iconRightClass, c.value], "h-4 w-4 pointer-events-none"])
127
129
  }, null, 8, ["icon", "class"])) : h("", !0)
128
- ], 10, $)), [
129
- [I(R)]
130
+ ], 10, S)), [
131
+ [B(I)]
130
132
  ]);
131
133
  }
132
134
  });
@@ -352,7 +352,7 @@ declare function __VLS_template(): {
352
352
  };
353
353
  }>> & Readonly<{
354
354
  "onSlide-change"?: ((index: number) => any) | undefined;
355
- }>, "state" | "focus" | "direction" | "draggable" | "easing" | "goNext" | "gap" | "pagination" | "paginationSize" | "paginationVisibility" | "paginationHoverInitialTimeout" | "paginationHoverEdgeThreshold" | "autoPlay" | "autoPlayInterval" | "itemsToShow" | "speed" | "mousewheel" | "loop" | "currentItem" | "bufferSize" | "maxDomElements" | "goToSlide" | "goPrev" | "autoFocus" | "wheelOptions" | "canGoNext" | "canGoPrev"> & import('vue').ShallowUnwrapRef<{
355
+ }>, "state" | "focus" | "direction" | "draggable" | "easing" | "gap" | "goNext" | "pagination" | "paginationSize" | "paginationVisibility" | "paginationHoverInitialTimeout" | "paginationHoverEdgeThreshold" | "autoPlay" | "autoPlayInterval" | "itemsToShow" | "speed" | "mousewheel" | "loop" | "currentItem" | "bufferSize" | "maxDomElements" | "goToSlide" | "goPrev" | "autoFocus" | "wheelOptions" | "canGoNext" | "canGoPrev"> & import('vue').ShallowUnwrapRef<{
356
356
  goToSlide: (index: number, smooth?: boolean) => void;
357
357
  goNext: (smooth?: boolean) => void;
358
358
  goPrev: (smooth?: boolean) => void;
@@ -778,7 +778,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
778
778
  };
779
779
  }>> & Readonly<{
780
780
  "onSlide-change"?: ((index: number) => any) | undefined;
781
- }>, "state" | "focus" | "direction" | "draggable" | "easing" | "goNext" | "gap" | "pagination" | "paginationSize" | "paginationVisibility" | "paginationHoverInitialTimeout" | "paginationHoverEdgeThreshold" | "autoPlay" | "autoPlayInterval" | "itemsToShow" | "speed" | "mousewheel" | "loop" | "currentItem" | "bufferSize" | "maxDomElements" | "goToSlide" | "goPrev" | "autoFocus" | "wheelOptions" | "canGoNext" | "canGoPrev"> & import('vue').ShallowUnwrapRef<{
781
+ }>, "state" | "focus" | "direction" | "draggable" | "easing" | "gap" | "goNext" | "pagination" | "paginationSize" | "paginationVisibility" | "paginationHoverInitialTimeout" | "paginationHoverEdgeThreshold" | "autoPlay" | "autoPlayInterval" | "itemsToShow" | "speed" | "mousewheel" | "loop" | "currentItem" | "bufferSize" | "maxDomElements" | "goToSlide" | "goPrev" | "autoFocus" | "wheelOptions" | "canGoNext" | "canGoPrev"> & import('vue').ShallowUnwrapRef<{
782
782
  goToSlide: (index: number, smooth?: boolean) => void;
783
783
  goNext: (smooth?: boolean) => void;
784
784
  goPrev: (smooth?: boolean) => void;
@@ -13,13 +13,21 @@ declare const __VLS_component: import('vue').DefineComponent<CategoryManagerProp
13
13
  "update:modelValue": (val: CategoryItem[]) => any;
14
14
  onAdd: (item: CategoryItem) => any;
15
15
  onEdit: (item: CategoryItem) => any;
16
- onReorder: (val: CategoryItem[]) => any;
16
+ onReorder: (val: {
17
+ id: string | number;
18
+ parentId: string | number | null;
19
+ position: number;
20
+ }) => any;
17
21
  }, string, import('vue').PublicProps, Readonly<CategoryManagerProps> & Readonly<{
18
22
  onOnDelete?: (item: CategoryItem) => any;
19
23
  "onUpdate:modelValue"?: (val: CategoryItem[]) => any;
20
24
  onOnAdd?: (item: CategoryItem) => any;
21
25
  onOnEdit?: (item: CategoryItem) => any;
22
- onOnReorder?: (val: CategoryItem[]) => any;
26
+ onOnReorder?: (val: {
27
+ id: string | number;
28
+ parentId: string | number | null;
29
+ position: number;
30
+ }) => any;
23
31
  }>, {
24
32
  size: "sm" | "md" | "lg";
25
33
  readonly: boolean;