vlite3 1.4.32 → 1.4.33

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 (43) hide show
  1. package/components/CategoryManager/CategoryManager.vue2.js +1 -1
  2. package/components/CategoryManager/CategoryNode.vue.js +30 -30
  3. package/components/CategoryMenu/CategoryMenu.vue.js +9 -11
  4. package/components/Chart/GanttChart.vue.d.ts +5 -1
  5. package/components/Chart/GanttChart.vue.js +2 -2
  6. package/components/Chart/GanttChart.vue2.js +977 -812
  7. package/components/Chart/GanttChartConnectorRouting.d.ts +83 -0
  8. package/components/Chart/GanttChartConnectorRouting.js +405 -0
  9. package/components/Chart/GanttChartDependencyUtils.js +43 -47
  10. package/components/Chart/types.d.ts +16 -1
  11. package/components/ColorPicker/ColorIro.vue2.js +78 -64
  12. package/components/ColorPicker/ColorPicker.vue.d.ts +5 -0
  13. package/components/ColorPicker/ColorPicker.vue.js +110 -64
  14. package/components/ColorPicker/constants.d.ts +2 -0
  15. package/components/ColorPicker/constants.js +4 -0
  16. package/components/ColorPicker/index.d.ts +1 -0
  17. package/components/CommandPalette/CommandPaletteContent.vue2.js +1 -1
  18. package/components/CommandPalette/{CommandPaletteItem.vue.js → CommandPaletteItem.vue2.js} +1 -1
  19. package/components/Dropdown/Dropdown.vue.js +100 -97
  20. package/components/Dropdown/DropdownMenu.vue.js +1 -1
  21. package/components/Form/{AccordionView.vue2.js → AccordionView.vue.js} +1 -1
  22. package/components/Form/FormField.vue.js +9 -8
  23. package/components/Form/index.vue2.js +1 -1
  24. package/components/Kanban/Kanban.vue.d.ts +16 -2
  25. package/components/Kanban/Kanban.vue.js +2 -2
  26. package/components/Kanban/Kanban.vue2.js +150 -86
  27. package/components/Kanban/types.d.ts +37 -0
  28. package/components/NavbarCommandPalette.vue.js +1 -1
  29. package/components/Screen/ScreenFilter.vue.js +1 -1
  30. package/components/ToastNotification.vue.js +1 -1
  31. package/components/ToastNotification.vue2.js +3 -3
  32. package/components/index.d.ts +1 -1
  33. package/composables/useKeyStroke.d.ts +18 -0
  34. package/composables/useKeyStroke.js +103 -77
  35. package/composables/useTheme.js +1 -1
  36. package/index.d.ts +1 -0
  37. package/index.js +235 -233
  38. package/package.json +10 -3
  39. package/style.css +1 -1
  40. package/utils/environment.d.ts +29 -0
  41. package/utils/environment.js +4 -0
  42. package/utils/functions.js +14 -13
  43. /package/components/Dropdown/{DropdownMenu.vue2.js → DropdownMenu.vue3.js} +0 -0
@@ -1,13 +1,13 @@
1
- import { defineComponent as ae, ref as a, computed as f, inject as ie, onMounted as se, onUnmounted as re, watch as x, provide as L, reactive as de, toRefs as ue, openBlock as R, createElementBlock as ce, normalizeStyle as fe, createVNode as N, unref as u, withCtx as m, createBlock as me, normalizeClass as ve, createSlots as he, renderSlot as v, normalizeProps as z, guardReactiveProps as j, createCommentVNode as ye, createElementVNode as ge } from "vue";
2
- import be from "v-tooltip-lite";
1
+ import { defineComponent as re, ref as a, computed as u, inject as de, onMounted as ue, onUnmounted as ce, watch as x, provide as L, reactive as fe, toRefs as me, openBlock as N, createElementBlock as ve, normalizeStyle as ye, createVNode as R, unref as c, withCtx as m, createBlock as j, normalizeClass as he, createSlots as ge, renderSlot as v, normalizeProps as z, guardReactiveProps as U, createCommentVNode as q, createElementVNode as be } from "vue";
2
+ import Ce from "v-tooltip-lite";
3
3
  import "v-tooltip-lite/style.css";
4
- import Ce from "./DropdownMenu.vue.js";
5
- import pe from "./DropdownTrigger.vue.js";
6
- import Se from "../ConfirmationModal.vue.js";
7
- import { useDropdownIds as we } from "./composables/useDropdownIds.js";
8
- import { useDropdownSelection as Oe } from "./composables/useDropdownSelection.js";
9
- import { useDropdownHydration as $e } from "./composables/useDropdownHydration.js";
10
- const He = /* @__PURE__ */ ae({
4
+ import pe from "./DropdownMenu.vue.js";
5
+ import Se from "./DropdownTrigger.vue.js";
6
+ import we from "../ConfirmationModal.vue.js";
7
+ import { useDropdownIds as Oe } from "./composables/useDropdownIds.js";
8
+ import { useDropdownSelection as $e } from "./composables/useDropdownSelection.js";
9
+ import { useDropdownHydration as Ie } from "./composables/useDropdownHydration.js";
10
+ const Ve = /* @__PURE__ */ re({
11
11
  __name: "Dropdown",
12
12
  props: {
13
13
  selected: {},
@@ -54,63 +54,65 @@ const He = /* @__PURE__ */ ae({
54
54
  trigger: { default: "click" }
55
55
  },
56
56
  emits: ["onSelect", "update:modelValue", "onOpen", "onClose", "update:isOpen", "load-more", "search"],
57
- setup(t, { emit: U }) {
58
- const l = t, h = U, b = a(!1), y = a(null), r = a({
57
+ setup(t, { emit: F }) {
58
+ const n = t, y = F, h = a(!1), g = a(null), G = u(() => n.doubleConfirmation || h.value ? !0 : (n.options ?? []).some(
59
+ (e) => typeof e == "object" && e !== null && !!e.confirmation
60
+ )), r = a({
59
61
  title: "Confirm Selection",
60
62
  description: "Are you sure you want to select this option?",
61
63
  confirmText: "Confirm",
62
64
  cancelText: "Cancel",
63
65
  variant: "primary"
64
- }), q = f(() => l.position ? l.position : l.direction === "rtl" ? "bottom-end" : "bottom-start"), F = f(() => l.nestedPosition ? l.nestedPosition : l.direction === "rtl" ? "left-start" : "right-start"), C = a(l.isOpen || !1), p = a(0), G = a(null), O = a(null), $ = () => {
66
+ }), J = u(() => n.position ? n.position : n.direction === "rtl" ? "bottom-end" : "bottom-start"), K = u(() => n.nestedPosition ? n.nestedPosition : n.direction === "rtl" ? "left-start" : "right-start"), C = a(n.isOpen || !1), p = a(0), Q = a(null), O = a(null), $ = () => {
65
67
  O.value && setTimeout(() => {
66
68
  O.value?.focus({ preventScroll: !0 });
67
69
  }, 10);
68
- }, J = `dropdown-${Math.random().toString(36).substring(2, 9)}`, I = f(() => l.menuId || J), g = a([]), s = ie("dropdown-context", null), K = (e) => {
69
- g.value.includes(e) || g.value.push(e), s?.registerChildId?.(e);
70
- }, Q = (e) => {
71
- g.value = g.value.filter((o) => o !== e), s?.unregisterChildId?.(e);
70
+ }, X = `dropdown-${Math.random().toString(36).substring(2, 9)}`, I = u(() => n.menuId || X), b = a([]), s = de("dropdown-context", null), Y = (e) => {
71
+ b.value.includes(e) || b.value.push(e), s?.registerChildId?.(e);
72
+ }, Z = (e) => {
73
+ b.value = b.value.filter((o) => o !== e), s?.unregisterChildId?.(e);
72
74
  };
73
- se(() => {
75
+ ue(() => {
74
76
  s?.registerChildId && s.registerChildId(`#${I.value}`);
75
- }), re(() => {
77
+ }), ce(() => {
76
78
  s?.unregisterChildId && s.unregisterChildId(`#${I.value}`);
77
79
  }), x(
78
- () => l.isOpen,
80
+ () => n.isOpen,
79
81
  (e) => {
80
82
  if (e !== void 0) {
81
- if ((l.disabled || l.readonly) && e) return;
83
+ if ((n.disabled || n.readonly) && e) return;
82
84
  C.value = e;
83
85
  }
84
86
  }
85
87
  );
86
88
  const A = (e) => {
87
- if (l.disabled || l.readonly) {
88
- C.value = !1, h("update:isOpen", !1);
89
+ if (n.disabled || n.readonly) {
90
+ C.value = !1, y("update:isOpen", !1);
89
91
  return;
90
92
  }
91
- C.value = e, h("update:isOpen", e), h(e ? "onOpen" : "onClose"), s?.onChildToggle?.(e);
93
+ C.value = e, y("update:isOpen", e), y(e ? "onOpen" : "onClose"), s?.onChildToggle?.(e);
92
94
  }, S = () => {
93
95
  A(!1);
94
- }, X = (e) => {
96
+ }, _ = (e) => {
95
97
  e ? p.value++ : p.value = Math.max(0, p.value - 1);
96
98
  };
97
99
  L("dropdown-context", {
98
100
  close: S,
99
101
  onChildToggle: (e) => {
100
- X(e), s?.onChildToggle?.(e);
102
+ _(e), s?.onChildToggle?.(e);
101
103
  },
102
- registerChildId: K,
103
- unregisterChildId: Q
104
+ registerChildId: Y,
105
+ unregisterChildId: Z
104
106
  }), L("modal-context", null);
105
- const k = f(() => l.options ? l.options.map((e) => typeof e == "string" || typeof e == "number" ? { label: String(e), value: String(e) } : e) : []), w = a([]), E = a(!1), T = a(!1);
107
+ const k = u(() => n.options ? n.options.map((e) => typeof e == "string" || typeof e == "number" ? { label: String(e), value: String(e) } : e) : []), w = a([]), E = a(!1), T = a(!1);
106
108
  x(
107
109
  k,
108
110
  (e) => {
109
111
  if (e) {
110
- if (l.remote) {
112
+ if (n.remote) {
111
113
  const o = [...w.value];
112
- e.forEach((n) => {
113
- o.some((i) => i.value !== void 0 && n.value !== void 0 ? typeof i.value == "object" && i.key && n.key ? i.key === n.key && i.value[i.key] === n.value[n.key] : i.value === n.value : i.label === n.label) || o.push(n);
114
+ e.forEach((l) => {
115
+ o.some((i) => i.value !== void 0 && l.value !== void 0 ? typeof i.value == "object" && i.key && l.key ? i.key === l.key && i.value[i.key] === l.value[l.key] : i.value === l.value : i.label === l.label) || o.push(l);
114
116
  }), w.value = o;
115
117
  } else
116
118
  w.value = e;
@@ -121,24 +123,24 @@ const He = /* @__PURE__ */ ae({
121
123
  },
122
124
  { immediate: !0 }
123
125
  );
124
- const c = f(() => {
125
- const e = [...w.value], o = new Set(e.map((n) => n.value ?? n.label));
126
- return B.value.forEach((n, d) => {
127
- o.has(d) || (e.unshift(n), o.add(d));
126
+ const f = u(() => {
127
+ const e = [...w.value], o = new Set(e.map((l) => l.value ?? l.label));
128
+ return B.value.forEach((l, d) => {
129
+ o.has(d) || (e.unshift(l), o.add(d));
128
130
  }), e;
129
- }), { selectedBuffer: B, isHydrating: Y, hydrateSelected: H } = $e({
130
- fetchSelected: l.fetchSelected,
131
- getAvailableOptions: () => c.value,
131
+ }), { selectedBuffer: B, isHydrating: ee, hydrateSelected: H } = Ie({
132
+ fetchSelected: n.fetchSelected,
133
+ getAvailableOptions: () => f.value,
132
134
  isReady: () => T.value
133
- }), { getAllRecursiveIds: Z } = we(), _ = de({
134
- ...ue(l),
135
- options: c
136
- }), { currentValue: M, selectedLabel: V, selectedIcon: W, selectOption: ee } = Oe(
137
- _,
138
- h
139
- ), te = f(() => {
140
- const e = l.ignoreClickOutside || [], o = Z(c.value);
141
- return [.../* @__PURE__ */ new Set([...e, ...o, ...g.value])];
135
+ }), { getAllRecursiveIds: te } = Oe(), ne = fe({
136
+ ...me(n),
137
+ options: f
138
+ }), { currentValue: M, selectedLabel: V, selectedIcon: W, selectOption: le } = $e(
139
+ ne,
140
+ y
141
+ ), oe = u(() => {
142
+ const e = n.ignoreClickOutside || [], o = te(f.value);
143
+ return [.../* @__PURE__ */ new Set([...e, ...o, ...b.value])];
142
144
  });
143
145
  x(
144
146
  () => M.value,
@@ -147,9 +149,9 @@ const He = /* @__PURE__ */ ae({
147
149
  },
148
150
  { deep: !0 }
149
151
  );
150
- const le = (e) => {
151
- if (l.disabled || l.readonly || e.disabled) return;
152
- l.doubleConfirmation || !!e.confirmation ? (y.value = e, typeof e.confirmation == "object" ? r.value = {
152
+ const ae = (e) => {
153
+ if (n.disabled || n.readonly || e.disabled) return;
154
+ n.doubleConfirmation || !!e.confirmation ? (g.value = e, typeof e.confirmation == "object" ? r.value = {
153
155
  title: e.confirmation.title || "Confirm Selection",
154
156
  description: e.confirmation.description || "Are you sure you want to select this option?",
155
157
  confirmText: e.confirmation.confirmText || "Confirm",
@@ -161,50 +163,50 @@ const He = /* @__PURE__ */ ae({
161
163
  confirmText: "Confirm",
162
164
  cancelText: "Cancel",
163
165
  variant: "primary"
164
- }, b.value = !0, S()) : (D(e), l.closeOnSelect && (S(), $()));
166
+ }, h.value = !0, S()) : (D(e), n.closeOnSelect && (S(), $()));
165
167
  }, D = (e) => {
166
- if (l.disabled || l.readonly || e.disabled) return;
168
+ if (n.disabled || n.readonly || e.disabled) return;
167
169
  const o = e.value ?? e.label;
168
170
  B.value.has(o) || B.value.set(o, e);
169
- const n = ee(e);
170
- if (!l.isNested) {
171
+ const l = le(e);
172
+ if (!n.isNested) {
171
173
  const d = e._originalOption || e, i = d.value ?? d.label;
172
174
  (e._path || [d]).forEach((P) => {
173
175
  typeof P.onSelect == "function" && P.onSelect({
174
176
  value: i,
175
177
  option: P,
176
- data: c.value || [],
177
- values: n
178
+ data: f.value || [],
179
+ values: l
178
180
  });
179
181
  });
180
182
  }
181
- }, ne = () => {
182
- y.value && (D(y.value), y.value = null, b.value = !1, $());
183
- }, oe = () => {
184
- y.value = null, b.value = !1, $();
183
+ }, ie = () => {
184
+ g.value && (D(g.value), g.value = null, h.value = !1, $());
185
+ }, se = () => {
186
+ g.value = null, h.value = !1, $();
185
187
  };
186
- return (e, o) => (R(), ce("div", {
188
+ return (e, o) => (N(), ve("div", {
187
189
  class: "relative inline-block text-left",
188
- style: fe({ direction: t.direction }),
190
+ style: ye({ direction: t.direction }),
189
191
  ref_key: "dropdownWrapper",
190
- ref: G
192
+ ref: Q
191
193
  }, [
192
- N(u(be), {
194
+ R(c(Ce), {
193
195
  content: "",
194
196
  trigger: t.trigger,
195
197
  arrow: !1,
196
198
  disabled: t.disabled || t.readonly,
197
199
  teleport: t.teleport,
198
200
  offset: t.offset,
199
- placement: q.value,
201
+ placement: J.value,
200
202
  isOpen: C.value,
201
203
  keepAlive: p.value > 0,
202
204
  menuId: I.value,
203
- ignoreClickOutside: te.value,
205
+ ignoreClickOutside: oe.value,
204
206
  class: "w-full flex!",
205
207
  className: "dropdown " + (t.className || "") + (t.variant === "transparent" ? " unstyled-dropdown" : "") + (t.variant === "secondary" ? " dropdown-secondary" : ""),
206
- onOnShow: o[2] || (o[2] = (n) => e.$emit("onOpen")),
207
- onOnHide: o[3] || (o[3] = (n) => e.$emit("onClose")),
208
+ onOnShow: o[2] || (o[2] = (l) => e.$emit("onOpen")),
209
+ onOnHide: o[3] || (o[3] = (l) => e.$emit("onClose")),
208
210
  "onUpdate:isOpen": A,
209
211
  triggerClass: "w-full flex items-center",
210
212
  styles: {
@@ -215,16 +217,16 @@ const He = /* @__PURE__ */ ae({
215
217
  ...t.variant === "transparent" ? { background: "transparent", border: "none", boxShadow: "none" } : {}
216
218
  }
217
219
  }, {
218
- trigger: m(({ isOpen: n }) => [
219
- v(e.$slots, "trigger", z(j({
220
- selectedLabel: u(V),
221
- selectedIcon: t.showSelectedIcon ? u(W) : void 0,
222
- isOpen: n
220
+ trigger: m(({ isOpen: l }) => [
221
+ v(e.$slots, "trigger", z(U({
222
+ selectedLabel: c(V),
223
+ selectedIcon: t.showSelectedIcon ? c(W) : void 0,
224
+ isOpen: l
223
225
  })), () => [
224
- N(pe, {
225
- "selected-label": u(V),
226
- "selected-icon": t.showSelectedIcon ? u(W) : void 0,
227
- "is-open": n,
226
+ R(Se, {
227
+ "selected-label": c(V),
228
+ "selected-icon": t.showSelectedIcon ? c(W) : void 0,
229
+ "is-open": l,
228
230
  direction: t.direction,
229
231
  disabled: t.disabled,
230
232
  readonly: t.readonly,
@@ -234,34 +236,34 @@ const He = /* @__PURE__ */ ae({
234
236
  ])
235
237
  ]),
236
238
  default: m(() => [
237
- !(t.disabled || t.readonly) && (k.value.length || c.value.length || e.$slots.menu || e.$slots.item || e.$slots.default || t.remote || t.searchable) ? (R(), me(Ce, {
239
+ !(t.disabled || t.readonly) && (k.value.length || f.value.length || e.$slots.menu || e.$slots.item || e.$slots.default || t.remote || t.searchable) ? (N(), j(pe, {
238
240
  key: 0,
239
241
  options: k.value,
240
- cachedOptions: c.value,
241
- class: ve(t.className),
242
+ cachedOptions: f.value,
243
+ class: he(t.className),
242
244
  emptyMessage: t.emptyMessage,
243
245
  searchEmptyMessage: t.searchEmptyMessage,
244
- selected: u(M),
246
+ selected: c(M),
245
247
  selectedIndex: t.selectedIndex,
246
248
  maxHeight: t.maxHeight,
247
- nestedPosition: F.value,
249
+ nestedPosition: K.value,
248
250
  nestedOffset: t.nestedOffset,
249
251
  selectable: t.selectable,
250
252
  direction: t.direction,
251
253
  isCustomSlotMenu: !!e.$slots?.default || !!e.$slots?.menu,
252
254
  layout: t.layout,
253
255
  columns: t.columns,
254
- loading: t.loading || u(Y),
256
+ loading: t.loading || c(ee),
255
257
  hasMore: t.hasMore,
256
258
  searchable: t.searchable,
257
259
  remote: t.remote,
258
260
  debounceTime: t.debounceTime,
259
261
  trigger: t.trigger,
260
- onSelect: le,
262
+ onSelect: ae,
261
263
  onClose: S,
262
- onLoadMore: o[0] || (o[0] = (n) => e.$emit("load-more")),
263
- onSearch: o[1] || (o[1] = (n) => e.$emit("search", n))
264
- }, he({ _: 2 }, [
264
+ onLoadMore: o[0] || (o[0] = (l) => e.$emit("load-more")),
265
+ onSearch: o[1] || (o[1] = (l) => e.$emit("search", l))
266
+ }, ge({ _: 2 }, [
265
267
  e.$slots.menu || e.$slots?.default ? {
266
268
  name: "menu",
267
269
  fn: m(() => [
@@ -272,8 +274,8 @@ const He = /* @__PURE__ */ ae({
272
274
  } : void 0,
273
275
  e.$slots.item ? {
274
276
  name: "item",
275
- fn: m((n) => [
276
- v(e.$slots, "item", z(j(n)))
277
+ fn: m((l) => [
278
+ v(e.$slots, "item", z(U(l)))
277
279
  ]),
278
280
  key: "1"
279
281
  } : void 0,
@@ -291,21 +293,22 @@ const He = /* @__PURE__ */ ae({
291
293
  ]),
292
294
  key: "3"
293
295
  } : void 0
294
- ]), 1032, ["options", "cachedOptions", "class", "emptyMessage", "searchEmptyMessage", "selected", "selectedIndex", "maxHeight", "nestedPosition", "nestedOffset", "selectable", "direction", "isCustomSlotMenu", "layout", "columns", "loading", "hasMore", "searchable", "remote", "debounceTime", "trigger"])) : ye("", !0)
296
+ ]), 1032, ["options", "cachedOptions", "class", "emptyMessage", "searchEmptyMessage", "selected", "selectedIndex", "maxHeight", "nestedPosition", "nestedOffset", "selectable", "direction", "isCustomSlotMenu", "layout", "columns", "loading", "hasMore", "searchable", "remote", "debounceTime", "trigger"])) : q("", !0)
295
297
  ]),
296
298
  _: 3
297
299
  }, 8, ["trigger", "disabled", "teleport", "offset", "placement", "isOpen", "keepAlive", "menuId", "ignoreClickOutside", "className", "styles"]),
298
- N(Se, {
299
- show: b.value,
300
+ G.value ? (N(), j(we, {
301
+ key: 0,
302
+ show: h.value,
300
303
  title: r.value.title,
301
304
  description: r.value.description,
302
305
  "confirm-text": r.value.confirmText,
303
306
  "cancel-text": r.value.cancelText,
304
307
  variant: r.value.variant,
305
- onConfirm: ne,
306
- onCancel: oe
307
- }, null, 8, ["show", "title", "description", "confirm-text", "cancel-text", "variant"]),
308
- ge("span", {
308
+ onConfirm: ie,
309
+ onCancel: se
310
+ }, null, 8, ["show", "title", "description", "confirm-text", "cancel-text", "variant"])) : q("", !0),
311
+ be("span", {
309
312
  ref_key: "focusTrapAfter",
310
313
  ref: O,
311
314
  tabindex: "-1",
@@ -316,5 +319,5 @@ const He = /* @__PURE__ */ ae({
316
319
  }
317
320
  });
318
321
  export {
319
- He as default
322
+ Ve as default
320
323
  };
@@ -1,4 +1,4 @@
1
- import o from "./DropdownMenu.vue2.js";
1
+ import o from "./DropdownMenu.vue3.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-173c7a02"]]);
@@ -1,5 +1,5 @@
1
1
  import o from "./AccordionView.vue3.js";
2
- /* empty css */
2
+ /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-bb30cb10"]]);
5
5
  export {
@@ -69,7 +69,7 @@ const Be = /* @__PURE__ */ q({
69
69
  richTextEditor: t(se)
70
70
  }, P = t(s), e = d, h = j, o = (a, l) => {
71
71
  h("change", { value: a, data: l });
72
- }, k = (a) => {
72
+ }, R = (a) => {
73
73
  h("change", { value: a });
74
74
  }, u = c(() => K(e.field, {
75
75
  values: e.values,
@@ -92,7 +92,7 @@ const Be = /* @__PURE__ */ q({
92
92
  }, y = X(
93
93
  e.field.placeholderI18n,
94
94
  e.field.placeholder
95
- ), R = e.variant === "floating" && e.label && !e.floatingActive, f = R ? "" : y;
95
+ ), k = e.variant === "floating" && e.label && !e.floatingActive, f = k ? "" : y;
96
96
  if (a === "text" || a === "email" || a === "password" || a === "tel" || a === "url" || a === "search" || a === "textarea" || !a)
97
97
  return {
98
98
  ...i,
@@ -185,7 +185,7 @@ const Be = /* @__PURE__ */ q({
185
185
  triggerProps: {
186
186
  variant: e.variant === "floating" ? "outline-floating" : e.variant || "outline",
187
187
  size: e.size,
188
- ...R ? { text: "​" } : {}
188
+ ...k ? { text: "​" } : {}
189
189
  }
190
190
  };
191
191
  if (a === "multiSelect")
@@ -233,7 +233,7 @@ const Be = /* @__PURE__ */ q({
233
233
  variant: e.variant === "floating" ? "outline-floating" : e.variant || "outline",
234
234
  size: e.size,
235
235
  class: "px-3!",
236
- ...R ? { text: "​" } : {}
236
+ ...k ? { text: "​" } : {}
237
237
  }
238
238
  };
239
239
  if (a === "dateRangePicker")
@@ -298,7 +298,8 @@ const Be = /* @__PURE__ */ q({
298
298
  modelValue: e.value || "#000000",
299
299
  variant: e.variant,
300
300
  size: e.size,
301
- rounded: e.rounded
301
+ rounded: e.rounded,
302
+ allowReset: e.field.props?.allowReset ?? !1
302
303
  };
303
304
  if (a === "iconPicker")
304
305
  return {
@@ -342,14 +343,14 @@ const Be = /* @__PURE__ */ q({
342
343
  }), N = c(() => {
343
344
  const a = u.value;
344
345
  return a === "text" || a === "email" || a === "password" || a === "tel" || a === "url" || a === "search" || a === "textarea" || a === "switch" || a === "check" || !a ? {
345
- "update:modelValue": k
346
+ "update:modelValue": R
346
347
  } : a === "number" && x.value ? {
347
348
  "update:modelValue": (l) => {
348
349
  const n = l === "" ? void 0 : Number(l);
349
350
  h("change", { value: isNaN(n) ? void 0 : n });
350
351
  }
351
352
  } : a === "number" ? {
352
- "update:modelValue": k
353
+ "update:modelValue": R
353
354
  } : a === "select" ? {
354
355
  onSelect: (l) => {
355
356
  o(l.value, l.data);
@@ -381,7 +382,7 @@ const Be = /* @__PURE__ */ q({
381
382
  o(l);
382
383
  }
383
384
  } : a === "tags" ? {
384
- "update:modelValue": k,
385
+ "update:modelValue": R,
385
386
  change: (l) => o(l)
386
387
  } : a === "richTextEditor" ? {
387
388
  "update:modelValue": (l) => o(l)
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as b, computed as d, openBlock as n, createElementBlock as g, createElementVNode as R, createBlock as r, withCtx as x, createTextVNode as k, toDisplayString as I, createCommentVNode as v, unref as l } from "vue";
2
2
  import B from "./TableView.vue.js";
3
- import C from "./AccordionView.vue2.js";
3
+ import C from "./AccordionView.vue.js";
4
4
  import U from "../Label.vue.js";
5
5
  import N from "../Button.vue.js";
6
6
  import { useCustomFieldRows as V } from "./composables/useCustomFieldRows.js";
@@ -32,12 +32,26 @@ declare const __VLS_component: import('vue').DefineComponent<KanbanProps, {}, {}
32
32
  change: (payload: KanbanChangeEvent) => any;
33
33
  move: (payload: KanbanMoveEvent) => any;
34
34
  "update:data": (val: Record<string | number, any[]>) => any;
35
- "item-moved": (itemId: string | number, toColumnId: string | number, newPosition: number, item: any) => any;
35
+ "item-move-failed": (payload: {
36
+ itemId: string | number;
37
+ toColumnId: string | number;
38
+ fromColumnId: string | number;
39
+ newPosition: number;
40
+ item: any;
41
+ error: unknown;
42
+ }) => any;
36
43
  }, string, import('vue').PublicProps, Readonly<KanbanProps> & Readonly<{
37
44
  onChange?: (payload: KanbanChangeEvent) => any;
38
45
  onMove?: (payload: KanbanMoveEvent) => any;
39
46
  "onUpdate:data"?: (val: Record<string | number, any[]>) => any;
40
- "onItem-moved"?: (itemId: string | number, toColumnId: string | number, newPosition: number, item: any) => any;
47
+ "onItem-move-failed"?: (payload: {
48
+ itemId: string | number;
49
+ toColumnId: string | number;
50
+ fromColumnId: string | number;
51
+ newPosition: number;
52
+ item: any;
53
+ error: unknown;
54
+ }) => any;
41
55
  }>, {
42
56
  class: string;
43
57
  group: string;
@@ -1,7 +1,7 @@
1
1
  import o from "./Kanban.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-52c07c6d"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2dd0633e"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };