vlite3 1.1.1 → 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 (117) hide show
  1. package/components/AttachmentsList/AttachmentsList.vue.d.ts +2 -17
  2. package/components/AttachmentsList/AttachmentsList.vue.js +273 -175
  3. package/components/Avatar.vue.js +1 -1
  4. package/components/AvatarUploader/AvatarUploader.vue.d.ts +1 -1
  5. package/components/AvatarUploader/AvatarUploader.vue.js +40 -37
  6. package/components/Button.vue.d.ts +1 -1
  7. package/components/Button.vue.js +30 -28
  8. package/components/Calendar/Calendar.vue.d.ts +6 -6
  9. package/components/Carousel/Carousel.vue.d.ts +2 -2
  10. package/components/CategoryManager/CategoryManager.vue.d.ts +12 -3
  11. package/components/CategoryManager/CategoryManager.vue.js +204 -145
  12. package/components/CategoryManager/CategoryNode.vue.d.ts +2 -0
  13. package/components/CategoryManager/CategoryNode.vue.js +93 -88
  14. package/components/CategoryManager/types.d.ts +14 -0
  15. package/components/Chat/ChatBubble.vue.js +22 -22
  16. package/components/CheckBox.vue.js +29 -28
  17. package/components/Chip/Chip.vue.d.ts +2 -2
  18. package/components/ConfirmationModal.vue.d.ts +2 -2
  19. package/components/ConfirmationModal.vue.js +30 -28
  20. package/components/CopyButton.vue.d.ts +50 -0
  21. package/components/CopyButton.vue.js +69 -0
  22. package/components/CopyButton.vue2.js +4 -0
  23. package/components/CustomFieldsDisplay/CustomFieldsDisplay.vue.d.ts +1 -1
  24. package/components/DataTable/DataTable.vue.d.ts +3 -3
  25. package/components/DataTable/DataTable.vue.js +44 -44
  26. package/components/DatePicker.vue.js +41 -35
  27. package/components/DateRangePicker.vue.js +18 -17
  28. package/components/Dropdown/Dropdown.vue.d.ts +5 -2
  29. package/components/Dropdown/Dropdown.vue.js +117 -115
  30. package/components/Dropdown/DropdownBooleanItem.vue.js +16 -15
  31. package/components/Dropdown/DropdownGroupedLayout.vue.d.ts +1 -1
  32. package/components/Dropdown/DropdownItem.vue.js +21 -20
  33. package/components/Dropdown/DropdownMenu.vue.d.ts +1 -1
  34. package/components/Dropdown/DropdownMenu.vue.js +1 -1
  35. package/components/Dropdown/DropdownMenu.vue2.js +13 -12
  36. package/components/Dropdown/DropdownTrigger.vue.d.ts +3 -1
  37. package/components/Dropdown/DropdownTrigger.vue.js +10 -6
  38. package/components/Dropdown/composables/useDropdownHydration.d.ts +2 -0
  39. package/components/Dropdown/composables/useDropdownSelection.d.ts +1 -0
  40. package/components/Dropdown/composables/useDropdownSelection.js +46 -31
  41. package/components/FilePicker/FilePicker.vue.d.ts +1 -1
  42. package/components/FilePicker/FilePicker.vue.js +93 -90
  43. package/components/Form/CustomFields.vue.js +2 -2
  44. package/components/Form/Form.vue.js +1 -1
  45. package/components/Form/Form.vue2.js +230 -238
  46. package/components/Form/FormField.vue.d.ts +1 -1
  47. package/components/Form/FormField.vue.js +204 -148
  48. package/components/Form/FormFields.vue.js +2 -2
  49. package/components/Form/FormFields.vue2.js +28 -27
  50. package/components/Form/types.d.ts +2 -2
  51. package/components/Form/utils/form.utils.d.ts +3 -3
  52. package/components/Form/utils/form.utils.js +37 -37
  53. package/components/Input.vue.d.ts +3 -3
  54. package/components/Input.vue.js +64 -62
  55. package/components/Invoice/Invoice.vue.d.ts +1 -4
  56. package/components/Invoice/Invoice.vue.js +22 -13
  57. package/components/Invoice/InvoiceTotals.vue.d.ts +14 -0
  58. package/components/Invoice/InvoiceTotals.vue.js +86 -0
  59. package/components/Invoice/InvoiceTotals.vue2.js +4 -0
  60. package/components/Invoice/InvoiceVariant1.vue.d.ts +6 -1
  61. package/components/Invoice/InvoiceVariant1.vue.js +304 -271
  62. package/components/Invoice/InvoiceVariant2.vue.d.ts +6 -1
  63. package/components/Invoice/InvoiceVariant2.vue.js +168 -181
  64. package/components/Invoice/InvoiceVariant3.vue.d.ts +6 -1
  65. package/components/Invoice/InvoiceVariant3.vue.js +215 -182
  66. package/components/Invoice/InvoiceVariant4.vue.d.ts +6 -1
  67. package/components/Invoice/InvoiceVariant4.vue.js +281 -238
  68. package/components/Invoice/index.d.ts +1 -0
  69. package/components/Invoice/types.d.ts +26 -0
  70. package/components/List/List.vue.d.ts +1 -9
  71. package/components/List/List.vue.js +166 -165
  72. package/components/List/ListFieldRow.vue.d.ts +2 -2
  73. package/components/List/ListFieldRow.vue.js +50 -50
  74. package/components/Masonry/Masonry.vue.d.ts +1 -1
  75. package/components/Modal.vue.js +1 -1
  76. package/components/Modal.vue2.js +60 -54
  77. package/components/MultiSelect/MultiSelect.vue.d.ts +1 -1
  78. package/components/MultiSelect/MultiSelect.vue.js +47 -46
  79. package/components/MultiSelect/composables/useMultiSelectHydration.d.ts +2 -0
  80. package/components/Navbar/NavbarItem.vue.d.ts +1 -1
  81. package/components/NumberInput.vue.d.ts +2 -2
  82. package/components/NumberInput.vue.js +2 -2
  83. package/components/NumberInput.vue2.js +121 -116
  84. package/components/OTPInput/OTPInput.vue.d.ts +1 -1
  85. package/components/PricingPlan/PricingPlan.vue.d.ts +2 -2
  86. package/components/SidePanel.vue.js +2 -2
  87. package/components/SidePanel.vue2.js +58 -52
  88. package/components/SidebarMenu/SidebarMenu.vue.d.ts +1 -1
  89. package/components/Stats/StatItem.vue.js +96 -91
  90. package/components/Stats/Stats.vue.d.ts +1 -1
  91. package/components/Stats/types.d.ts +1 -0
  92. package/components/StatusChip/status-map.js +27 -7
  93. package/components/Switch.vue.d.ts +6 -1
  94. package/components/Switch.vue.js +61 -24
  95. package/components/TagInput/TagInput.vue.d.ts +187 -0
  96. package/components/TagInput/TagInput.vue.js +113 -0
  97. package/components/TagInput/TagInput.vue2.js +4 -0
  98. package/components/TagInput/index.d.ts +1 -0
  99. package/components/Textarea.vue.js +19 -18
  100. package/components/ThumbnailSelector/ThumbnailSelector.vue.d.ts +2 -2
  101. package/components/ThumbnailSelector/ThumbnailSelector.vue.js +2 -2
  102. package/components/ThumbnailSelector/ThumbnailSelector.vue2.js +19 -16
  103. package/components/Workbook/Workbook.vue.d.ts +3 -3
  104. package/core/config.d.ts +112 -0
  105. package/core/index.js +17 -5
  106. package/index.d.ts +2 -0
  107. package/index.js +279 -271
  108. package/package.json +1 -1
  109. package/style.css +617 -2
  110. package/types/button.d.ts +1 -1
  111. package/types/config.type.d.ts +6 -0
  112. package/types/list.type.d.ts +6 -0
  113. package/types/styles.d.ts +1 -0
  114. package/utils/configUtils.d.ts +9 -0
  115. package/utils/configUtils.js +7 -0
  116. package/utils/functions.js +9 -9
  117. package/utils/index.d.ts +1 -0
@@ -1,13 +1,13 @@
1
- import { defineComponent as z, computed as m, openBlock as x, createBlock as k, unref as D, withCtx as h, createElementVNode as L, createVNode as g, renderSlot as B, mergeProps as P } from "vue";
2
- import V from "./Button.vue.js";
3
- import U from "./Dropdown/Dropdown.vue.js";
1
+ import { defineComponent as z, computed as m, openBlock as w, createBlock as $, unref as D, withCtx as h, createElementVNode as p, createVNode as g, renderSlot as L, mergeProps as x } from "vue";
2
+ import P from "./Button.vue.js";
3
+ import B from "./Dropdown/Dropdown.vue.js";
4
4
  import "@iconify/vue";
5
- import { $t as I } from "../utils/i18n.js";
5
+ import { $t as V } from "../utils/i18n.js";
6
6
  /* empty css */
7
7
  /* empty css */
8
- import j, { TimePicker as C } from "v-datepicker-lite";
8
+ import U, { TimePicker as j } from "v-datepicker-lite";
9
9
  import "v-datepicker-lite/style.css";
10
- const F = { class: "overflow-hidden min-w-[300px]" }, G = /* @__PURE__ */ z({
10
+ const C = { class: "overflow-hidden min-w-[300px]" }, G = /* @__PURE__ */ z({
11
11
  __name: "DatePicker",
12
12
  props: {
13
13
  placeholder: {},
@@ -29,45 +29,45 @@ const F = { class: "overflow-hidden min-w-[300px]" }, G = /* @__PURE__ */ z({
29
29
  readonly: { type: Boolean }
30
30
  },
31
31
  emits: ["update:modelValue", "change"],
32
- setup(t, { emit: N }) {
33
- const r = t, y = N, a = m({
32
+ setup(t, { emit: I }) {
33
+ const r = t, y = I, a = m({
34
34
  get: () => r.modelValue ?? r.value,
35
35
  set: (e) => {
36
36
  y("update:modelValue", e), y("change", e);
37
37
  }
38
- }), T = (e) => e instanceof Date ? e.getHours() !== 0 || e.getMinutes() !== 0 : typeof e == "string" ? e.includes("T") || /\d{2}:\d{2}/.test(e) : !1, u = (e) => {
38
+ }), N = (e) => e instanceof Date ? e.getHours() !== 0 || e.getMinutes() !== 0 : typeof e == "string" ? e.includes("T") || /\d{2}:\d{2}/.test(e) : !1, u = (e) => {
39
39
  if (!e) return null;
40
40
  if (e instanceof Date)
41
41
  return isNaN(e.getTime()) ? null : new Date(e.getFullYear(), e.getMonth(), e.getDate());
42
42
  if (typeof e == "string") {
43
43
  if (/^\d{4}-\d{2}-\d{2}$/.test(e)) {
44
- const [l, d, o] = e.split("-").map(Number);
45
- return new Date(l, d - 1, o);
44
+ const [d, l, o] = e.split("-").map(Number);
45
+ return new Date(d, l - 1, o);
46
46
  }
47
47
  if (e.includes("T")) {
48
- const l = e.split("T")[0], [d, o, s] = l.split("-").map(Number);
49
- return new Date(d, o - 1, s);
48
+ const d = e.split("T")[0], [l, o, s] = d.split("-").map(Number);
49
+ return new Date(l, o - 1, s);
50
50
  }
51
51
  const i = new Date(e);
52
52
  return isNaN(i.getTime()) ? null : i;
53
53
  }
54
54
  return null;
55
55
  }, c = (e) => {
56
- const n = e.getFullYear(), i = String(e.getMonth() + 1).padStart(2, "0"), l = String(e.getDate()).padStart(2, "0");
57
- return `${n}-${i}-${l}`;
56
+ const n = e.getFullYear(), i = String(e.getMonth() + 1).padStart(2, "0"), d = String(e.getDate()).padStart(2, "0");
57
+ return `${n}-${i}-${d}`;
58
58
  }, b = (e) => {
59
59
  try {
60
60
  if (e && typeof e == "object") {
61
- const d = e.startDate || e.start, o = e.endDate || e.end;
62
- if (d && o) {
63
- const s = u(d), w = u(o);
64
- if (s && w) return { startDate: s, endDate: w };
61
+ const l = e.startDate || e.start, o = e.endDate || e.end;
62
+ if (l && o) {
63
+ const s = u(l), k = u(o);
64
+ if (s && k) return { startDate: s, endDate: k };
65
65
  }
66
66
  }
67
67
  const n = u(e);
68
68
  if (!n) return null;
69
- const i = new Date(n), l = new Date(n);
70
- return l.setDate(i.getDate() + 6), { startDate: i, endDate: l };
69
+ const i = new Date(n), d = new Date(n);
70
+ return d.setDate(i.getDate() + 6), { startDate: i, endDate: d };
71
71
  } catch {
72
72
  return null;
73
73
  }
@@ -99,7 +99,7 @@ const F = { class: "overflow-hidden min-w-[300px]" }, G = /* @__PURE__ */ z({
99
99
  }
100
100
  const e = new Date(a.value);
101
101
  if (isNaN(e.getTime())) return String(a.value);
102
- const n = r.mode === "dateTime" && T(a.value);
102
+ const n = r.mode === "dateTime" && N(a.value);
103
103
  return e.toLocaleDateString("en-US", {
104
104
  month: "short",
105
105
  day: "numeric",
@@ -110,9 +110,9 @@ const F = { class: "overflow-hidden min-w-[300px]" }, G = /* @__PURE__ */ z({
110
110
  return String(a.value);
111
111
  }
112
112
  }), v = m(() => {
113
- if (r.placeholderI18n) return I(r.placeholderI18n);
113
+ if (r.placeholderI18n) return V(r.placeholderI18n);
114
114
  if (r.placeholder !== void 0) return r.placeholder;
115
- const e = I("vlite.datePicker.placeholder");
115
+ const e = V("vlite.datePicker.placeholder");
116
116
  return e !== "vlite.datePicker.placeholder" ? e : "Select date";
117
117
  }), S = (e) => {
118
118
  if (r.mode === "week") {
@@ -133,8 +133,8 @@ const F = { class: "overflow-hidden min-w-[300px]" }, G = /* @__PURE__ */ z({
133
133
  }
134
134
  }
135
135
  a.value = e;
136
- }, $ = m(() => r.mode === "week" && a.value && typeof a.value == "object" && (a.value.startDate || a.value.start) || a.value);
137
- return (e, n) => t.mode !== "time" ? (x(), k(D(U), {
136
+ }, T = m(() => r.mode === "week" && a.value && typeof a.value == "object" && (a.value.startDate || a.value.start) || a.value);
137
+ return (e, n) => t.mode !== "time" ? (w(), $(D(B), {
138
138
  key: 0,
139
139
  position: "bottom-start",
140
140
  class: "w-full",
@@ -143,23 +143,26 @@ const F = { class: "overflow-hidden min-w-[300px]" }, G = /* @__PURE__ */ z({
143
143
  disabled: t.disabled || t.readonly
144
144
  }, {
145
145
  trigger: h(() => [
146
- B(e.$slots, "default", {
146
+ L(e.$slots, "default", {
147
147
  value: a.value,
148
148
  displayValue: f.value
149
149
  }, () => [
150
- g(V, P({
150
+ g(P, x({
151
151
  text: f.value?.replace("-", "—") || v.value,
152
152
  variant: t.variant || "outline",
153
153
  size: t.size || "md",
154
154
  icon: t.icon || "lucide:calendar",
155
155
  disabled: t.disabled
156
- }, t.btnProps, { class: "w-full justify-start text-left font-normal" }), null, 16, ["text", "variant", "size", "icon", "disabled"])
156
+ }, t.btnProps, {
157
+ class: "w-full justify-start text-left font-normal",
158
+ "data-testid": e.$attrs["data-testid"] || (e.$attrs.name ? `datepicker-${e.$attrs.name}` : "datepicker")
159
+ }), null, 16, ["text", "variant", "size", "icon", "disabled", "data-testid"])
157
160
  ])
158
161
  ]),
159
162
  default: h(() => [
160
- L("div", F, [
161
- g(D(j), {
162
- value: $.value,
163
+ p("div", C, [
164
+ g(D(U), {
165
+ value: T.value,
163
166
  mode: t.mode,
164
167
  "min-date": t.minDate,
165
168
  "max-date": t.maxDate,
@@ -174,7 +177,7 @@ const F = { class: "overflow-hidden min-w-[300px]" }, G = /* @__PURE__ */ z({
174
177
  ])
175
178
  ]),
176
179
  _: 3
177
- }, 8, ["teleport", "disabled"])) : (x(), k(D(C), {
180
+ }, 8, ["teleport", "disabled"])) : (w(), $(D(j), {
178
181
  key: 1,
179
182
  "model-value": a.value,
180
183
  "onUpdate:modelValue": [
@@ -192,13 +195,16 @@ const F = { class: "overflow-hidden min-w-[300px]" }, G = /* @__PURE__ */ z({
192
195
  readonly: t.readonly
193
196
  }, {
194
197
  default: h(() => [
195
- g(V, P({
198
+ g(P, x({
196
199
  text: f.value || v.value,
197
200
  variant: t.variant || "outline",
198
201
  size: t.size || "md",
199
202
  icon: t.icon || (t.mode === "time" ? "lucide:clock" : "lucide:calendar"),
200
203
  disabled: t.disabled
201
- }, t.btnProps, { class: "w-full justify-start text-left font-normal" }), null, 16, ["text", "variant", "size", "icon", "disabled"])
204
+ }, t.btnProps, {
205
+ class: "w-full justify-start text-left font-normal",
206
+ "data-testid": e.$attrs["data-testid"] || (e.$attrs.name ? `timepicker-${e.$attrs.name}` : "timepicker")
207
+ }), null, 16, ["text", "variant", "size", "icon", "disabled", "data-testid"])
202
208
  ]),
203
209
  _: 1
204
210
  }, 8, ["model-value", "mode", "min-date", "max-date", "disabled-dates", "minuteInterval", "disabled", "readonly"]));
@@ -1,5 +1,5 @@
1
- import { defineComponent as F, ref as b, watch as L, computed as u, openBlock as d, createBlock as m, unref as v, withCtx as D, createElementVNode as i, createElementBlock as w, Fragment as T, renderList as z, createCommentVNode as B, createVNode as h, normalizeClass as y, toDisplayString as x, createTextVNode as E } from "vue";
2
- import $ from "./Dropdown/Dropdown.vue.js";
1
+ import { defineComponent as $, ref as b, watch as F, computed as u, openBlock as d, createBlock as m, unref as v, withCtx as D, createElementVNode as i, createElementBlock as w, Fragment as L, renderList as T, createCommentVNode as z, createVNode as h, normalizeClass as y, toDisplayString as x, createTextVNode as B } from "vue";
2
+ import E from "./Dropdown/Dropdown.vue.js";
3
3
  import R from "./Icon.vue.js";
4
4
  import { $t as l } from "../utils/i18n.js";
5
5
  /* empty css */
@@ -10,7 +10,7 @@ import "v-datepicker-lite/style.css";
10
10
  const j = { class: "flex items-center justify-start gap-2 w-full" }, H = { class: "flex flex-col sm:flex-row bg-background rounded-md" }, Q = {
11
11
  key: 0,
12
12
  class: "flex flex-col gap-1 sm:pr-3 py-2 sm:border-r border-border max-h-[280px]"
13
- }, O = { class: "flex flex-col sm:flex-row items-center gap-4 py-2 p-3" }, I = { class: "border border-border rounded-md overflow-hidden bg-background" }, U = { class: "flex items-center justify-center shrink-0" }, q = { class: "border border-border rounded-md overflow-hidden bg-background" }, te = /* @__PURE__ */ F({
13
+ }, O = { class: "flex flex-col sm:flex-row items-center gap-4 py-2 p-3" }, I = { class: "border border-border rounded-md overflow-hidden bg-background" }, U = { class: "flex items-center justify-center shrink-0" }, q = { class: "border border-border rounded-md overflow-hidden bg-background" }, te = /* @__PURE__ */ $({
14
14
  __name: "DateRangePicker",
15
15
  props: {
16
16
  modelValue: {},
@@ -28,7 +28,7 @@ const j = { class: "flex items-center justify-start gap-2 w-full" }, H = { class
28
28
  emits: ["update:modelValue", "change"],
29
29
  setup(s, { emit: M }) {
30
30
  const g = s, k = M, o = b(!1), c = b(0);
31
- L(o, (a) => {
31
+ F(o, (a) => {
32
32
  a && c.value++;
33
33
  });
34
34
  const n = u({
@@ -46,13 +46,13 @@ const j = { class: "flex items-center justify-start gap-2 w-full" }, H = { class
46
46
  n.value = { ...n.value, startDate: a };
47
47
  }, S = (a) => {
48
48
  n.value = { ...n.value, endDate: a };
49
- }, _ = u(() => {
49
+ }, C = u(() => {
50
50
  if (n.value.endDate) {
51
51
  const a = new Date(n.value.endDate);
52
52
  if (!isNaN(a.getTime())) return a.toISOString();
53
53
  }
54
54
  return g.maxDate;
55
- }), C = u(() => {
55
+ }), N = u(() => {
56
56
  if (n.value.startDate) {
57
57
  const a = new Date(n.value.startDate);
58
58
  if (!isNaN(a.getTime())) return a.toISOString();
@@ -66,7 +66,7 @@ const j = { class: "flex items-center justify-start gap-2 w-full" }, H = { class
66
66
  } catch {
67
67
  return "";
68
68
  }
69
- }, N = u(() => [
69
+ }, V = u(() => [
70
70
  {
71
71
  label: l("vlite.dateRangePicker.today") !== "vlite.dateRangePicker.today" ? l("vlite.dateRangePicker.today") : "Today",
72
72
  value: "today",
@@ -112,7 +112,7 @@ const j = { class: "flex items-center justify-start gap-2 w-full" }, H = { class
112
112
  value: "last_year",
113
113
  icon: "lucide:history"
114
114
  }
115
- ]), V = (a) => {
115
+ ]), _ = (a) => {
116
116
  const e = /* @__PURE__ */ new Date();
117
117
  let t = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date();
118
118
  switch (e.setHours(0, 0, 0, 0), t.setHours(0, 0, 0, 0), r.setHours(0, 0, 0, 0), a.value) {
@@ -146,7 +146,7 @@ const j = { class: "flex items-center justify-start gap-2 w-full" }, H = { class
146
146
  }
147
147
  n.value = { startDate: t, endDate: r }, c.value++, o.value = !1;
148
148
  };
149
- return (a, e) => (d(), m(v($), {
149
+ return (a, e) => (d(), m(v(E), {
150
150
  isOpen: o.value,
151
151
  "onUpdate:isOpen": e[0] || (e[0] = (t) => o.value = t),
152
152
  position: "bottom-start",
@@ -160,36 +160,37 @@ const j = { class: "flex items-center justify-start gap-2 w-full" }, H = { class
160
160
  variant: s.variant || "outline",
161
161
  size: s.size || "md",
162
162
  disabled: s.disabled,
163
- class: y(["w-full justify-between text-left font-normal", [s.triggerClass, { "ring-1 ring-ring ring-offset-[1]": t }]])
163
+ class: y(["w-full justify-between text-left font-normal", [s.triggerClass, { "ring-1 ring-ring ring-offset-[1]": t }]]),
164
+ "data-testid": a.$attrs["data-testid"] || (a.$attrs.name ? `daterange-${a.$attrs.name}` : "daterange")
164
165
  }, {
165
166
  default: D(() => [
166
167
  i("div", j, [
167
168
  i("span", {
168
169
  class: y({ "text-muted-foreground": !n.value.startDate })
169
170
  }, x(n.value.startDate ? f(n.value.startDate) : s.placeholderStart), 3),
170
- e[1] || (e[1] = E(" — ", -1)),
171
+ e[1] || (e[1] = B(" — ", -1)),
171
172
  i("span", {
172
173
  class: y({ "text-muted-foreground": !n.value.endDate })
173
174
  }, x(n.value.endDate ? f(n.value.endDate) : s.placeholderEnd), 3)
174
175
  ])
175
176
  ]),
176
177
  _: 1
177
- }, 8, ["variant", "size", "disabled", "class"])
178
+ }, 8, ["variant", "size", "disabled", "class", "data-testid"])
178
179
  ]),
179
180
  menu: D(() => [
180
181
  i("div", H, [
181
182
  s.showQuickRanges ? (d(), w("div", Q, [
182
183
  e[2] || (e[2] = i("div", { class: "text-xs pl-2 pb-2 font-semibold text-muted-foreground uppercase tracking-wider" }, " Quick Ranges ", -1)),
183
- (d(!0), w(T, null, z(N.value, (t) => (d(), m(P, {
184
+ (d(!0), w(L, null, T(V.value, (t) => (d(), m(P, {
184
185
  key: t.value,
185
186
  text: t.label,
186
187
  icon: t.icon,
187
188
  variant: "ghost",
188
189
  size: "sm",
189
190
  class: "justify-start w-full font-normal",
190
- onClick: (r) => V(t)
191
+ onClick: (r) => _(t)
191
192
  }, null, 8, ["text", "icon", "onClick"]))), 128))
192
- ])) : B("", !0),
193
+ ])) : z("", !0),
193
194
  i("div", O, [
194
195
  i("div", I, [
195
196
  (d(), m(v(p), {
@@ -197,7 +198,7 @@ const j = { class: "flex items-center justify-start gap-2 w-full" }, H = { class
197
198
  value: n.value.startDate,
198
199
  onChange: Y,
199
200
  mode: "date",
200
- "max-date": _.value,
201
+ "max-date": C.value,
201
202
  "min-date": s.minDate,
202
203
  disabled: s.disabled,
203
204
  class: "min-w-[270px]",
@@ -220,7 +221,7 @@ const j = { class: "flex items-center justify-start gap-2 w-full" }, H = { class
220
221
  value: n.value.endDate,
221
222
  onChange: S,
222
223
  mode: "date",
223
- "min-date": C.value,
224
+ "min-date": N.value,
224
225
  "max-date": s.maxDate,
225
226
  class: "min-w-[270px]",
226
227
  disabled: s.disabled,
@@ -22,6 +22,7 @@ type __VLS_Props = {
22
22
  nestedPosition?: TooltTipPlacement;
23
23
  nestedOffset?: [number, number];
24
24
  showSelectedLabel?: boolean;
25
+ showSelectedIcon?: boolean;
25
26
  selectable?: boolean;
26
27
  doubleConfirmation?: boolean;
27
28
  layout?: 'default' | 'grouped';
@@ -42,6 +43,7 @@ declare function __VLS_template(): {
42
43
  slots: {
43
44
  trigger?(_: {
44
45
  selectedLabel: string;
46
+ selectedIcon: string;
45
47
  isOpen: boolean;
46
48
  }): any;
47
49
  default?(_: {}): any;
@@ -83,12 +85,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
83
85
  onOnOpen?: () => any;
84
86
  "onUpdate:isOpen"?: (value: boolean) => any;
85
87
  }>, {
86
- disabled: boolean;
88
+ columns: number | string;
87
89
  loading: boolean;
90
+ disabled: boolean;
88
91
  direction: "ltr" | "rtl";
89
92
  selectable: boolean;
90
93
  options: (IDropdownOption | string | number)[];
91
- columns: number | string;
92
94
  selectedIndex: number | null;
93
95
  maxHeight: string;
94
96
  layout: "default" | "grouped";
@@ -104,6 +106,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
104
106
  isOpen: boolean;
105
107
  teleport: boolean;
106
108
  showSelectedLabel: boolean;
109
+ showSelectedIcon: boolean;
107
110
  doubleConfirmation: boolean;
108
111
  isNested: boolean;
109
112
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;