vue-spear-tip 0.2.3 → 0.2.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 (53) hide show
  1. package/dist/.vite/manifest.json +37 -26
  2. package/dist/{Button-cbcEkM7_.js → Button-B9kTMsWx.js} +1 -1
  3. package/dist/{Button-DLwCpVMw.cjs → Button-n3ORJB24.cjs} +1 -1
  4. package/dist/{CodeHighlight-S56-Bjb4.cjs → CodeHighlight-DKD4c3o1.cjs} +1 -1
  5. package/dist/{CodeHighlight--bHBm26g.js → CodeHighlight-zWW7mCKo.js} +1 -1
  6. package/dist/{DateField-Bb5PeP-p.cjs → DateField-B15N_Er2.cjs} +1 -1
  7. package/dist/{DateField-DJLkM7rb.js → DateField-CLsz3fl7.js} +2 -2
  8. package/dist/{FieldComponent.vue_vue_type_script_lang-rAazuFFa.cjs → FieldComponent.vue_vue_type_script_lang-CuwGxCct.cjs} +1 -1
  9. package/dist/{FieldComponent.vue_vue_type_script_lang-By0JOopJ.js → FieldComponent.vue_vue_type_script_lang-a0D3sf1R.js} +1 -1
  10. package/dist/{SelectField-BKVqEEnz.cjs → SelectField-C8v92730.cjs} +6 -6
  11. package/dist/{SelectField-BlEqF2q8.js → SelectField-Dg0c03Hn.js} +85 -79
  12. package/dist/{StringField-Byq8Dx1a.js → StringField-CN2J5hnc.js} +32 -32
  13. package/dist/{StringField-DMIQoDmu.cjs → StringField-SQwneDFM.cjs} +1 -1
  14. package/dist/{Tabs-Dg29GD51.js → Tabs-Btq9At3D.js} +1 -1
  15. package/dist/{Tabs-B_D5RI-z.cjs → Tabs-bdR0rIkV.cjs} +1 -1
  16. package/dist/TextField-CEstqDvf.js +19365 -0
  17. package/dist/TextField-DwbNmleH.cjs +149 -0
  18. package/dist/components/Fields/TextField/index.d.ts +2 -0
  19. package/dist/components/LazyComponents.d.ts +3 -6
  20. package/dist/{index-B83tFSld.js → index-Bm3M_ugz.js} +139 -138
  21. package/dist/{index-CGAPrV7s.cjs → index-pJmyVDoY.cjs} +1 -1
  22. package/dist/kit/fields/index.d.ts +2 -1
  23. package/dist/vue-spear-tip.cjs.js +1 -1
  24. package/dist/vue-spear-tip.css +1 -1
  25. package/dist/vue-spear-tip.es.js +10 -9
  26. package/docs/index.html +2 -2
  27. package/docs/static/Button-BUq3qi9I.js +1 -0
  28. package/docs/static/{CodeHighlight-BQ25duXm.js → CodeHighlight-BKaQtkER.js} +1 -1
  29. package/docs/static/DateField-BOXDZRGA.js +31 -0
  30. package/docs/static/FieldComponent.vue_vue_type_script_lang-CKikbrmF.js +1 -0
  31. package/docs/static/{SelectField-Bs98mAKt.js → SelectField-CWS45VNb.js} +7 -7
  32. package/docs/static/{StringField-DFb36eXt.js → StringField-DWX_WNoM.js} +1 -1
  33. package/docs/static/{StringField-DV9336PV.css → StringField-whdxCITB.css} +1 -1
  34. package/docs/static/Tabs-BNDTIJ3z.js +1 -0
  35. package/docs/static/TextField-CXCoqL3z.js +149 -0
  36. package/docs/static/TextField-DInjI1Vp.css +1 -0
  37. package/docs/static/index-D8NZNe9k.js +2 -0
  38. package/docs/static/main-D7RDfHbv.css +1 -0
  39. package/docs/static/main-b2Vu8ssu.js +103 -0
  40. package/package.json +23 -1
  41. package/docs/static/Button-DxJ7h7AA.js +0 -1
  42. package/docs/static/ButtonInherited-DYe32AI3.js +0 -1
  43. package/docs/static/DateField-TKU4XDjB.js +0 -31
  44. package/docs/static/FieldComponent.vue_vue_type_script_lang-WVgJj2LN.js +0 -1
  45. package/docs/static/Tabs-DT8e9al2.js +0 -1
  46. package/docs/static/index-B4WAjdZv.js +0 -2
  47. package/docs/static/index-BKGyjPLC.js +0 -2
  48. package/docs/static/index-BeSPwKX9.js +0 -2
  49. package/docs/static/index-BjKdsJkM.js +0 -2
  50. package/docs/static/index-CLRCgB9R.js +0 -2
  51. package/docs/static/index-D1X50h1O.js +0 -2
  52. package/docs/static/main-C7jrUur6.css +0 -1
  53. package/docs/static/main-CEZk-nhN.js +0 -103
@@ -1,7 +1,7 @@
1
1
  var St = Object.defineProperty;
2
2
  var r = (t, e) => St(t, "name", { value: e, configurable: !0 });
3
- import { P as G, W as ot, V as xt } from "./index-B83tFSld.js";
4
- import { F as Dt } from "./FieldComponent.vue_vue_type_script_lang-By0JOopJ.js";
3
+ import { P as K, W as ot, V as xt } from "./index-Bm3M_ugz.js";
4
+ import { F as Dt } from "./FieldComponent.vue_vue_type_script_lang-a0D3sf1R.js";
5
5
  import { createElementBlock as It, openBlock as Nt, normalizeClass as Et, createElementVNode as Mt } from "vue";
6
6
  import { _ as _t } from "./_plugin-vue_export-helper-B9nE8o7z.js";
7
7
  var lt = "​";
@@ -28,7 +28,7 @@ function dt(t) {
28
28
  })();
29
29
  }
30
30
  r(dt, "i");
31
- var V = { isEnabled: /* @__PURE__ */ r(function() {
31
+ var L = { isEnabled: /* @__PURE__ */ r(function() {
32
32
  var t;
33
33
  return (t = window.TAGIFY_DEBUG) === null || t === void 0 || t;
34
34
  }, "isEnabled"), log: /* @__PURE__ */ r(function() {
@@ -152,21 +152,21 @@ function Tt(t, e) {
152
152
  }
153
153
  r(Tt, "w");
154
154
  function y(t, e, i) {
155
- return t ? (e && (t.__tagifyTagData = i ? e : w({}, t.__tagifyTagData || {}, e)), t.__tagifyTagData) : (V.warn("tag element doesn't exist", { tagElm: t, data: e }), e);
155
+ return t ? (e && (t.__tagifyTagData = i ? e : w({}, t.__tagifyTagData || {}, e)), t.__tagifyTagData) : (L.warn("tag element doesn't exist", { tagElm: t, data: e }), e);
156
156
  }
157
157
  r(y, "y");
158
- function k(t) {
158
+ function V(t) {
159
159
  if (t && t.parentNode) {
160
160
  var e = t, i = window.getSelection(), n = i.getRangeAt(0);
161
161
  i.rangeCount && (n.setStartAfter(e), n.collapse(!0), i.removeAllRanges(), i.addRange(n));
162
162
  }
163
163
  }
164
- r(k, "T");
164
+ r(V, "T");
165
165
  function Ot(t, e) {
166
166
  t.forEach((function(i) {
167
167
  if (y(i.previousSibling) || !i.previousSibling) {
168
168
  var n = document.createTextNode("​");
169
- i.before(n), e && k(n);
169
+ i.before(n), e && V(n);
170
170
  }
171
171
  }));
172
172
  }
@@ -242,7 +242,7 @@ function Pt() {
242
242
  this.dropdown.refs(), this.DOM.dropdown.__tagify = this;
243
243
  }
244
244
  r(Pt, "A");
245
- var K, B, jt = (K = (function(t) {
245
+ var $, B, jt = ($ = (function(t) {
246
246
  for (var e = 1; e < arguments.length; e++) {
247
247
  var i = arguments[e] != null ? arguments[e] : {}, n = Object.keys(i);
248
248
  typeof Object.getOwnPropertySymbols == "function" && (n = n.concat(Object.getOwnPropertySymbols(i).filter((function(s) {
@@ -308,13 +308,13 @@ var K, B, jt = (K = (function(t) {
308
308
  var b = n ? s : e.dropdown.getNextOrPrevOption(s, !c);
309
309
  e.dropdown.selectOption(s, t, (function() {
310
310
  if (b) {
311
- var C = b.getAttribute("value");
312
- b = e.dropdown.getSuggestionNodeByValue(C), e.dropdown.highlightOption(b);
311
+ var k = b.getAttribute("value");
312
+ b = e.dropdown.getSuggestionNodeByValue(k), e.dropdown.highlightOption(b);
313
313
  }
314
314
  }));
315
315
  } else e.dropdown.hide(), o || e.addTags(e.state.inputText.trim(), !0);
316
316
  })).catch((function(b) {
317
- return V.warn(b);
317
+ return L.warn(b);
318
318
  }));
319
319
  break;
320
320
  case "Backspace":
@@ -338,7 +338,7 @@ var K, B, jt = (K = (function(t) {
338
338
  }), 100), this.settings.hooks.suggestionClick(t, { tagify: this, tagData: n, suggestionElm: i }).then((function() {
339
339
  i ? e.dropdown.selectOption(i, t) : e.dropdown.hide();
340
340
  })).catch((function(s) {
341
- return V.warn(s);
341
+ return L.warn(s);
342
342
  }));
343
343
  }
344
344
  }, "onClick"), onScroll: /* @__PURE__ */ r(function(t) {
@@ -391,8 +391,8 @@ var K, B, jt = (K = (function(t) {
391
391
  return t || (e = this.state.dropdown.suggestions), this.addTags(e, !0), this;
392
392
  }, "selectAll"), filterListItems: /* @__PURE__ */ r(function(t, e) {
393
393
  var i, n, s, a, o, l, d = /* @__PURE__ */ r(function() {
394
- var b, C, P = void 0, j = void 0;
395
- b = p[I], n = ((C = Object) != null && typeof Symbol < "u" && C[Symbol.hasInstance] ? C[Symbol.hasInstance](b) : b instanceof C) ? p[I] : { value: p[I] };
394
+ var b, k, P = void 0, j = void 0;
395
+ b = p[I], n = ((k = Object) != null && typeof Symbol < "u" && k[Symbol.hasInstance] ? k[Symbol.hasInstance](b) : b instanceof k) ? p[I] : { value: p[I] };
396
396
  var O, S = Object.keys(n).some((function(x) {
397
397
  return D.includes(x);
398
398
  })) ? D : ["value"];
@@ -474,7 +474,7 @@ var K, B, jt = (K = (function(t) {
474
474
  }, "fillHeaderFooter"), position: /* @__PURE__ */ r(function(t) {
475
475
  var e = this.settings.dropdown, i = this.dropdown.getAppendTarget();
476
476
  if (e.position != "manual" && i) {
477
- var n, s, a, o, l, d, u, c, g, h, f = this.DOM.dropdown, p = e.RTL, m = i === document.body, v = i === this.DOM.scope, T = m ? window.pageYOffset : i.scrollTop, D = document.fullscreenElement || document.webkitFullscreenElement || document.documentElement, I = D.clientHeight, N = Math.max(D.clientWidth || 0, window.innerWidth || 0), b = N > 480 ? e.position : "all", C = this.DOM[b == "input" ? "input" : "scope"];
477
+ var n, s, a, o, l, d, u, c, g, h, f = this.DOM.dropdown, p = e.RTL, m = i === document.body, v = i === this.DOM.scope, T = m ? window.pageYOffset : i.scrollTop, D = document.fullscreenElement || document.webkitFullscreenElement || document.documentElement, I = D.clientHeight, N = Math.max(D.clientWidth || 0, window.innerWidth || 0), b = N > 480 ? e.position : "all", k = this.DOM[b == "input" ? "input" : "scope"];
478
478
  if (t = t || f.clientHeight, this.state.dropdown.visible) {
479
479
  if (b == "text" ? (a = (n = (function() {
480
480
  var O = document.getSelection();
@@ -488,7 +488,7 @@ var K, B, jt = (K = (function(t) {
488
488
  var S = 0, x = 0;
489
489
  for (O = O.parentNode; O && O != D; ) S += O.offsetTop || 0, x += O.offsetLeft || 0, O = O.parentNode;
490
490
  return { top: S, left: x };
491
- })(i), n = C.getBoundingClientRect(), s = v ? -1 : n.top - d.top, a = (v ? n.height : n.bottom - d.top) - 1, o = v ? -1 : n.left - d.left, l = n.width + "px"), !m) {
491
+ })(i), n = k.getBoundingClientRect(), s = v ? -1 : n.top - d.top, a = (v ? n.height : n.bottom - d.top) - 1, o = v ? -1 : n.left - d.left, l = n.width + "px"), !m) {
492
492
  var P = (function() {
493
493
  for (var O = 0, S = e.appendTarget.parentNode; S; ) O += S.scrollTop || 0, S = S.parentNode;
494
494
  return O;
@@ -499,7 +499,7 @@ var K, B, jt = (K = (function(t) {
499
499
  s = Math.floor(s), a = Math.ceil(a), c = N - o < 120, g = ((u = (j = e.placeAbove) !== null && j !== void 0 ? j : I - n.bottom < t) ? s : a) + T, h = o + (p && n.width || 0) + window.pageXOffset, h = b == "text" && c ? "right: 0;" : "left: ".concat(h, "px;"), f.style.cssText = "".concat(h, " top: ").concat(g, "px; min-width: ").concat(l, "; max-width: ").concat(l), f.setAttribute("placement", u ? "top" : "bottom"), f.setAttribute("position", b);
500
500
  }
501
501
  }
502
- }, "position") }) != null ? B : {}, Object.getOwnPropertyDescriptors ? Object.defineProperties(K, Object.getOwnPropertyDescriptors(B)) : (function(t, e) {
502
+ }, "position") }) != null ? B : {}, Object.getOwnPropertyDescriptors ? Object.defineProperties($, Object.getOwnPropertyDescriptors(B)) : (function(t, e) {
503
503
  var i = Object.keys(t);
504
504
  if (Object.getOwnPropertySymbols) {
505
505
  var n = Object.getOwnPropertySymbols(t);
@@ -507,8 +507,8 @@ var K, B, jt = (K = (function(t) {
507
507
  }
508
508
  return i;
509
509
  })(Object(B)).forEach((function(t) {
510
- Object.defineProperty(K, t, Object.getOwnPropertyDescriptor(B, t));
511
- })), K), U = "@yaireo/tagify/", Ft = { empty: "empty", exceed: "number of tags exceeded", pattern: "pattern mismatch", duplicate: "already exists", notAllowed: "not allowed" }, Rt = { wrapper: /* @__PURE__ */ r(function(t, e) {
510
+ Object.defineProperty($, t, Object.getOwnPropertyDescriptor(B, t));
511
+ })), $), U = "@yaireo/tagify/", Ft = { empty: "empty", exceed: "number of tags exceeded", pattern: "pattern mismatch", duplicate: "already exists", notAllowed: "not allowed" }, Rt = { wrapper: /* @__PURE__ */ r(function(t, e) {
512
512
  return '<tags class="'.concat(e.classNames.namespace, " ").concat(e.mode ? "".concat(e.classNames[e.mode + "Mode"]) : "", " ").concat(t.className, `"
513
513
  `).concat(e.readonly ? "readonly" : "", `
514
514
  `).concat(e.disabled ? "disabled" : "", `
@@ -760,11 +760,11 @@ var Wt = { customBinding: /* @__PURE__ */ r(function() {
760
760
  var u, c, g, h = e.getTagElms(), f = a.anchorNode.length === 1 && a.anchorNode.nodeValue == "​";
761
761
  if (i.backspace == "edit" && d) return u = a.anchorNode.nodeType == 1 ? null : a.anchorNode.previousElementSibling, setTimeout(e.editTag.bind(e), 0, u), void t.preventDefault();
762
762
  if (ht() && yt(d, Element)) return g = ct(d), d.hasAttribute("readonly") || d.remove(), e.DOM.input.focus(), void setTimeout((function() {
763
- k(g), e.DOM.input.click();
763
+ V(g), e.DOM.input.click();
764
764
  }));
765
765
  if (a.anchorNode.nodeName == "BR") return;
766
766
  if ((o || d) && a.anchorNode.nodeType == 1 ? c = a.anchorOffset == 0 ? o ? h[0] : null : h[Math.min(h.length, a.anchorOffset) - 1] : o ? c = a.anchorNode.nextElementSibling : yt(d, Element) && (c = d), a.anchorNode.nodeType == 3 && !a.anchorNode.nodeValue && a.anchorNode.previousElementSibling && t.preventDefault(), (d || o) && !i.backspace || a.type != "Range" && !a.anchorOffset && a.anchorNode == e.DOM.input && t.key != "Delete") return void t.preventDefault();
767
- if (a.type != "Range" && c && c.hasAttribute("readonly")) return void k(ct(c));
767
+ if (a.type != "Range" && c && c.hasAttribute("readonly")) return void V(ct(c));
768
768
  t.key == "Delete" && f && y(a.anchorNode.nextSibling) && e.removeTags(a.anchorNode.nextSibling);
769
769
  break;
770
770
  case "Enter":
@@ -931,14 +931,14 @@ var Wt = { customBinding: /* @__PURE__ */ r(function() {
931
931
  else if (s.nodeType == 1 && s.querySelector(e.settings.classNames.tagSelector)) {
932
932
  var a, o = document.createTextNode("");
933
933
  s.childNodes[0].nodeType == 3 && s.previousSibling.nodeName != "BR" && (o = document.createTextNode(`
934
- `)), (a = s).replaceWith.apply(a, nt([o].concat(nt(nt(s.childNodes).slice(0, -1))))), k(o);
934
+ `)), (a = s).replaceWith.apply(a, nt([o].concat(nt(nt(s.childNodes).slice(0, -1))))), V(o);
935
935
  } else if (H.call(e, s)) {
936
936
  var l;
937
937
  if (((l = s.previousSibling) === null || l === void 0 ? void 0 : l.nodeType) != 3 || s.previousSibling.textContent || s.previousSibling.remove(), s.previousSibling && s.previousSibling.nodeName == "BR") {
938
938
  s.previousSibling.replaceWith(`
939
939
  ​`);
940
940
  for (var d = s.nextSibling, u = ""; d; ) u += d.textContent, d = d.nextSibling;
941
- u.trim() && k(s.previousSibling);
941
+ u.trim() && V(s.previousSibling);
942
942
  } else s.previousSibling && !y(s.previousSibling) || s.before("​");
943
943
  }
944
944
  })), n.removedNodes.forEach((function(s) {
@@ -974,7 +974,7 @@ function bt(t) {
974
974
  return t;
975
975
  }
976
976
  r(bt, "G");
977
- function $(t) {
977
+ function X(t) {
978
978
  return (function(e) {
979
979
  if (Array.isArray(e)) return st(e);
980
980
  })(t) || (function(e) {
@@ -990,10 +990,10 @@ function $(t) {
990
990
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
991
991
  })();
992
992
  }
993
- r($, "$");
994
- function X(t, e) {
993
+ r(X, "$");
994
+ function G(t, e) {
995
995
  if (!t) {
996
- V.warn("input element not found", t);
996
+ L.warn("input element not found", t);
997
997
  var i = new Proxy(this, { get: /* @__PURE__ */ r(function() {
998
998
  return function() {
999
999
  return i;
@@ -1001,7 +1001,7 @@ function X(t, e) {
1001
1001
  }, "get") });
1002
1002
  return i;
1003
1003
  }
1004
- if (t.__tagify) return V.warn("input element is already Tagified - Same instance is returned.", t), t.__tagify;
1004
+ if (t.__tagify) return L.warn("input element is already Tagified - Same instance is returned.", t), t.__tagify;
1005
1005
  var n;
1006
1006
  w(this, (function(s) {
1007
1007
  var a = document.createTextNode(""), o = {};
@@ -1037,7 +1037,7 @@ function X(t, e) {
1037
1037
  if ((h = c.cloneData ? w({}, h) : h).tagify = this, u.event && (h.event = this.cloneEvent(u.event)), vt(u, Object)) for (var f in u) vt(u[f], HTMLElement) && (h[f] = u[f]);
1038
1038
  g = new CustomEvent(d, { detail: h });
1039
1039
  } catch (p) {
1040
- V.warn(p);
1040
+ L.warn(p);
1041
1041
  }
1042
1042
  a.dispatchEvent(g);
1043
1043
  }
@@ -1067,8 +1067,8 @@ function X(t, e) {
1067
1067
  };
1068
1068
  })(e.id), this.applySettings(t, e), this.state = { inputText: "", editing: !1, composing: !1, actions: {}, mixMode: {}, dropdown: {}, flaggedTags: {} }, this.value = [], this.listeners = {}, this.DOM = {}, this.build(t), Pt.call(this), this.getCSSVars(), this.loadOriginalValues(), this.events.customBinding.call(this), this.events.binding.call(this), t.autofocus && this.DOM.input.focus(), t.__tagify = this;
1069
1069
  }
1070
- r(X, "Q");
1071
- X.prototype = { _dropdown: jt, placeCaretAfterNode: k, getSetTagData: y, helpers: { sameStr: q, removeCollectionProp: ut, omit: at, isObject: M, parseHTML: Z, escapeHTML: R, extend: w, concatWithoutDups: gt, getUID: pt, isNodeTag: H }, customEventsList: ["change", "add", "remove", "invalid", "input", "paste", "click", "keydown", "focus", "blur", "edit:input", "edit:beforeUpdate", "edit:updated", "edit:start", "edit:keydown", "dropdown:show", "dropdown:hide", "dropdown:select", "dropdown:updated", "dropdown:noMatch", "dropdown:scroll"], dataProps: ["__isValid", "__removed", "__originalData", "__originalHTML", "__tagId"], trim: /* @__PURE__ */ r(function(t) {
1070
+ r(G, "Q");
1071
+ G.prototype = { _dropdown: jt, placeCaretAfterNode: V, getSetTagData: y, helpers: { sameStr: q, removeCollectionProp: ut, omit: at, isObject: M, parseHTML: Z, escapeHTML: R, extend: w, concatWithoutDups: gt, getUID: pt, isNodeTag: H }, customEventsList: ["change", "add", "remove", "invalid", "input", "paste", "click", "keydown", "focus", "blur", "edit:input", "edit:beforeUpdate", "edit:updated", "edit:start", "edit:keydown", "dropdown:show", "dropdown:hide", "dropdown:select", "dropdown:updated", "dropdown:noMatch", "dropdown:scroll"], dataProps: ["__isValid", "__removed", "__originalData", "__originalHTML", "__tagId"], trim: /* @__PURE__ */ r(function(t) {
1072
1072
  return this.settings.trim && t && typeof t == "string" ? t.trim() : t;
1073
1073
  }, "trim"), parseHTML: Z, templates: Rt, parseTemplate: /* @__PURE__ */ r(function(t, e) {
1074
1074
  return Z((t = this.settings.templates[t] || t).apply(this, e));
@@ -1214,15 +1214,15 @@ X.prototype = { _dropdown: jt, placeCaretAfterNode: k, getSetTagData: y, helpers
1214
1214
  if (!A(o, Object) || !("editable" in o) || o.editable) return o = y(t, { __originalData: w({}, o), __originalHTML: t.cloneNode(!0) }), y(o.__originalHTML, o.__originalData), s.setAttribute("contenteditable", !0), t.classList.add(n.classNames.tagEditing), this.events.callbacks.onEditTagFocus.call(this, t), s.addEventListener("click", l.onEditTagClick.bind(this, t)), s.addEventListener("blur", l.onEditTagBlur.bind(this, this.getTagTextNode(t))), s.addEventListener("input", l.onEditTagInput.bind(this, s)), s.addEventListener("paste", l.onEditTagPaste.bind(this, s)), s.addEventListener("keydown", (function(c) {
1215
1215
  return l.onEditTagkeydown.call(i, c, t);
1216
1216
  })), s.addEventListener("compositionstart", l.onCompositionStart.bind(this)), s.addEventListener("compositionend", l.onCompositionEnd.bind(this)), e.skipValidation || (d = this.editTagToggleValidity(t)), s.originalIsValid = d, this.trigger("edit:start", { tag: t, index: a, data: o, isValid: d }), s.focus(), !u && this.setRangeAtStartEnd(!1, s), n.dropdown.enabled === 0 && !u && this.dropdown.show(), this.state.hasFocus = !0, this;
1217
- } else V.warn("Cannot find element in Tag template: .", n.classNames.tagTextSelector);
1217
+ } else L.warn("Cannot find element in Tag template: .", n.classNames.tagTextSelector);
1218
1218
  }, "editTag"), editTagToggleValidity: /* @__PURE__ */ r(function(t, e) {
1219
1219
  var i;
1220
1220
  if (e = e || y(t)) return (i = !("__isValid" in e) || e.__isValid === !0) || this.removeTagsFromValue(t), this.update(), t.classList.toggle(this.settings.classNames.tagNotAllowed, !i), e.__isValid = i, e.__isValid;
1221
- V.warn("tag has no data: ", t, e);
1221
+ L.warn("tag has no data: ", t, e);
1222
1222
  }, "editTagToggleValidity"), onEditTagDone: /* @__PURE__ */ r(function(t, e) {
1223
1223
  t = t || this.state.editing.scope, e = e || {};
1224
1224
  var i, n, s = this.settings, a = { tag: t, index: this.getNodeIndex(t), previousData: y(t), data: e };
1225
- this.trigger("edit:beforeUpdate", a, { cloneData: !1 }), this.state.editing = !1, delete e.__originalData, delete e.__originalHTML, t && t.parentNode && (((n = e[s.tagTextProp]) !== void 0 ? !((i = (n += "").trim) === null || i === void 0) && i.call(n) : !(s.tagTextProp in e) && e.value) ? (t = this.replaceTag(t, e), this.editTagToggleValidity(t, e), s.a11y.focusableTags ? t.focus() : s.mode != "select" && k(t)) : this.removeTags(t)), this.trigger("edit:updated", a), s.dropdown.closeOnSelect && this.dropdown.hide(), this.settings.keepInvalidTags && this.reCheckInvalidTags();
1225
+ this.trigger("edit:beforeUpdate", a, { cloneData: !1 }), this.state.editing = !1, delete e.__originalData, delete e.__originalHTML, t && t.parentNode && (((n = e[s.tagTextProp]) !== void 0 ? !((i = (n += "").trim) === null || i === void 0) && i.call(n) : !(s.tagTextProp in e) && e.value) ? (t = this.replaceTag(t, e), this.editTagToggleValidity(t, e), s.a11y.focusableTags ? t.focus() : s.mode != "select" && V(t)) : this.removeTags(t)), this.trigger("edit:updated", a), s.dropdown.closeOnSelect && this.dropdown.hide(), this.settings.keepInvalidTags && this.reCheckInvalidTags();
1226
1226
  }, "onEditTagDone"), replaceTag: /* @__PURE__ */ r(function(t, e) {
1227
1227
  e && e.value !== "" && e.value !== void 0 || (e = t.__tagifyTagData), e.__isValid && e.__isValid != 1 && w(e, this.getInvalidTagAttrs(e, e.__isValid));
1228
1228
  var i = this.createTagElem(e);
@@ -1232,7 +1232,7 @@ X.prototype = { _dropdown: jt, placeCaretAfterNode: k, getSetTagData: y, helpers
1232
1232
  this.value.length = 0;
1233
1233
  var e = this.settings.classNames, i = [e.tagNotAllowed.split(" ")[0], e.tagHide];
1234
1234
  [].forEach.call(this.getTagElms(), (function(n) {
1235
- $(n.classList).some((function(s) {
1235
+ X(n.classList).some((function(s) {
1236
1236
  return i.includes(s);
1237
1237
  })) || t.value.push(y(n));
1238
1238
  })), this.update(), this.dropdown.refilter();
@@ -1283,7 +1283,7 @@ X.prototype = { _dropdown: jt, placeCaretAfterNode: k, getSetTagData: y, helpers
1283
1283
  return e;
1284
1284
  }, "getNodeIndex"), getTagElms: /* @__PURE__ */ r(function() {
1285
1285
  for (var t = arguments.length, e = new Array(t), i = 0; i < t; i++) e[i] = arguments[i];
1286
- var n = "." + $(this.settings.classNames.tag.split(" ")).concat($(e)).join(".");
1286
+ var n = "." + X(this.settings.classNames.tag.split(" ")).concat(X(e)).join(".");
1287
1287
  return [].slice.call(this.DOM.scope.querySelectorAll(n));
1288
1288
  }, "getTagElms"), getLastTag: /* @__PURE__ */ r(function() {
1289
1289
  var t = this.settings.classNames, e = this.DOM.scope.querySelectorAll("".concat(t.tagSelector, ":not(.").concat(t.tagHide, "):not([readonly])"));
@@ -1363,7 +1363,7 @@ X.prototype = { _dropdown: jt, placeCaretAfterNode: k, getSetTagData: y, helpers
1363
1363
  o in p || (o = "value"), p[o] = e.trim(p[o]), (p[o] || p[o] === 0) && h.push(p);
1364
1364
  } else if (f != null && f !== "" && f !== void 0) {
1365
1365
  var m;
1366
- (m = h).push.apply(m, $(g(f)));
1366
+ (m = h).push.apply(m, X(g(f)));
1367
1367
  }
1368
1368
  return h;
1369
1369
  }), []));
@@ -1464,7 +1464,7 @@ X.prototype = { _dropdown: jt, placeCaretAfterNode: k, getSetTagData: y, helpers
1464
1464
  return i.classList.add(s.settings.classNames.tagNoAnimation);
1465
1465
  }), 300), this.update(), !o) {
1466
1466
  var l = this.insertAfterTag(i) || i;
1467
- setTimeout(k, 0, l);
1467
+ setTimeout(V, 0, l);
1468
1468
  }
1469
1469
  return this.state.tag = null, this.postProcessNewTagNode(i, n.tagData), this.trigger("add", { tag: n, data: t }), i;
1470
1470
  }, "prefixedTextToTag"), appendTag: /* @__PURE__ */ r(function(t) {
@@ -1552,8 +1552,8 @@ X.prototype = { _dropdown: jt, placeCaretAfterNode: k, getSetTagData: y, helpers
1552
1552
  } else t += l.textContent;
1553
1553
  }));
1554
1554
  }, "i"))(this.DOM.input), t;
1555
- }, "getMixedTagsAsString") }, X.prototype.removeTag = X.prototype.removeTags;
1556
- var Ut = Object.defineProperty, qt = Object.getOwnPropertyDescriptor, L = /* @__PURE__ */ r((t, e, i, n) => {
1555
+ }, "getMixedTagsAsString") }, G.prototype.removeTag = G.prototype.removeTags;
1556
+ var Ut = Object.defineProperty, qt = Object.getOwnPropertyDescriptor, C = /* @__PURE__ */ r((t, e, i, n) => {
1557
1557
  for (var s = n > 1 ? void 0 : n ? qt(e, i) : e, a = t.length - 1, o; a >= 0; a--)
1558
1558
  (o = t[a]) && (s = (n ? o(e, i, s) : o(s)) || s);
1559
1559
  return n && s && Ut(e, i, s), s;
@@ -1563,6 +1563,7 @@ let _ = (W = class extends Dt {
1563
1563
  "click"
1564
1564
  ];
1565
1565
  autofocus = !1;
1566
+ inputValidatePattern = null;
1566
1567
  mode = "select";
1567
1568
  items = null;
1568
1569
  placeholder = {
@@ -1579,14 +1580,11 @@ let _ = (W = class extends Dt {
1579
1580
  _isFirstValueSet = !1;
1580
1581
  _isIgnoreSetTags = !1;
1581
1582
  mountedParent() {
1582
- this.tagify = new X(this.$refs.selectInput, {
1583
- enforceWhitelist: this.mode == "select" ? void 0 : this.mode != "tags",
1583
+ let e = {
1584
1584
  mode: this.mode == "select" ? "select" : void 0,
1585
- escapeHTML: !1,
1586
1585
  whitelist: this.itemsInner,
1587
- editTags: this.mode == "tags",
1588
1586
  dropdown: {
1589
- maxTags: 5,
1587
+ // maxTags: 5,
1590
1588
  // fetchSuggestions: this.mode != 'select',
1591
1589
  highlightFirst: !0,
1592
1590
  clearOnSelect: !0,
@@ -1595,27 +1593,27 @@ let _ = (W = class extends Dt {
1595
1593
  maxItems: 2e3
1596
1594
  },
1597
1595
  onChangeAfterBlur: !1,
1598
- delimiters: null,
1599
- placeholder: this.placeholder?.[this.VST.$r.locale] || this.placeholder?.en || this.placeholder || "Выберите значение",
1596
+ // delimiters: null,
1597
+ placeholder: typeof this.placeholder == "string" ? this.placeholder : this.placeholder?.[this.VST.$r.locale] || this.placeholder?.en || "Выберите значение",
1600
1598
  callbacks: {
1601
- change: /* @__PURE__ */ r((e) => {
1602
- let i = "";
1603
- e.detail?.value?.trim?.()?.length && e.detail?.value != "null" && (this.mode == "select" ? (i = typeof e.detail?.value == "string" && (e.detail?.value?.trim?.()?.startsWith("{") || e.detail?.value?.trim?.()?.startsWith("[")) ? JSON.parse(e.detail?.value)?.[0]?.key : e.detail?.value?.[0]?.key || e.detail?.value?.key, this.nextTick(() => {
1604
- const n = JSON.parse(JSON.stringify(this.itemsInner.find(
1605
- (s) => s?.key === i
1599
+ change: /* @__PURE__ */ r((i) => {
1600
+ let n = "";
1601
+ i.detail?.value?.trim?.()?.length && i.detail?.value != "null" && (this.mode == "select" ? (n = typeof i.detail?.value == "string" && (i.detail?.value?.trim?.()?.startsWith("{") || i.detail?.value?.trim?.()?.startsWith("[")) ? JSON.parse(i.detail?.value)?.[0]?.key : i.detail?.value?.[0]?.key || i.detail?.value?.key, this.nextTick(() => {
1602
+ const s = JSON.parse(JSON.stringify(this.itemsInner.find(
1603
+ (a) => a?.key === n
1606
1604
  )?.value ?? null));
1607
- n && (this.tagify.addTags(this.reactiveValue = n), this.$emit("update:modelValue", this.value = i));
1608
- }, 4)) : this.mode == "multi" ? (this.tagify.removeAllTags(), i = JSON.parse(e.detail?.value), i = Array.isArray(i) ? i.map((n) => n.key) : [i], this.tagify.addTags(JSON.parse(e.detail?.value)), this.nextTick(() => {
1609
- this.$emit("update:modelValue", this.value = i), this.reactiveValue = e.detail?.value;
1610
- }, 4)) : this.mode == "tags" && (this.tagify.removeAllTags(), i = JSON.parse(e.detail?.value), this.tagify.addTags(i), this.nextTick(() => {
1611
- this.reactiveValue = e.detail?.value, this.nextTick(() => {
1612
- this._isFirstValueSet = !0, this._isIgnoreSetTags = !0, this.$emit("update:modelValue", this.value = i);
1605
+ s && (this.tagify.addTags(this.reactiveValue = s), this.$emit("update:modelValue", this.value = n));
1606
+ }, 4)) : this.mode == "multi" ? (this.tagify.removeAllTags(), n = JSON.parse(i.detail?.value), n = Array.isArray(n) ? n.map((s) => s.key) : [n], this.tagify.addTags(JSON.parse(i.detail?.value)), this.nextTick(() => {
1607
+ this.$emit("update:modelValue", this.value = n), this.reactiveValue = i.detail?.value;
1608
+ }, 4)) : this.mode == "tags" && (this.tagify.removeAllTags(), n = JSON.parse(i.detail?.value), this.tagify.addTags(n), this.nextTick(() => {
1609
+ this.reactiveValue = i.detail?.value, this.nextTick(() => {
1610
+ this._isFirstValueSet = !0, this._isIgnoreSetTags = !0, this.$emit("update:modelValue", this.value = n);
1613
1611
  });
1614
1612
  }, 4)));
1615
1613
  }, "change"),
1616
- remove: /* @__PURE__ */ r((e) => {
1617
- this.mode == "select" && !(e.detail?.tagify?.value ?? []).length && this.value !== null ? (this.tagify.removeAllTags(), this.reactiveValue = null, this.$emit("update:modelValue", this.value = null)) : this.mode == "tags" ? !JSON.parse(this.reactiveValue)?.filter((n) => n.key != e.detail?.data?.key)?.length && this.reactiveValue != "[]" && (this.tagify.removeAllTags(), this.$emit("update:modelValue", this.value = []), this.reactiveValue = "[]") : typeof this.reactiveValue == "string" && (this.reactiveValue?.startsWith("{") || this.reactiveValue?.startsWith("[")) && this.nextTick(() => {
1618
- !JSON.parse(this.reactiveValue)?.filter((n) => n.key != e.detail?.data?.key)?.length && this.reactiveValue != "[]" && (this.reactiveValue = "[]", this.tagify.removeAllTags(), this.$emit("update:modelValue", this.value = []));
1614
+ remove: /* @__PURE__ */ r((i) => {
1615
+ this.mode == "select" && !(i.detail?.tagify?.value ?? []).length && this.value !== null ? (this.tagify.removeAllTags(), this.reactiveValue = null, this.$emit("update:modelValue", this.value = null)) : this.mode == "tags" ? !JSON.parse(this.reactiveValue)?.filter((s) => s.key != i.detail?.data?.key)?.length && this.reactiveValue != "[]" && (this.tagify.removeAllTags(), this.$emit("update:modelValue", this.value = []), this.reactiveValue = "[]") : typeof this.reactiveValue == "string" && (this.reactiveValue?.startsWith("{") || this.reactiveValue?.startsWith("[")) && this.nextTick(() => {
1616
+ !JSON.parse(this.reactiveValue)?.filter((s) => s.key != i.detail?.data?.key)?.length && this.reactiveValue != "[]" && (this.reactiveValue = "[]", this.tagify.removeAllTags(), this.$emit("update:modelValue", this.value = []));
1619
1617
  }, 4);
1620
1618
  }, "remove")
1621
1619
  },
@@ -1644,7 +1642,11 @@ let _ = (W = class extends Dt {
1644
1642
  // // return `<div class='tagify__dropdown'>${t.value}</div>`
1645
1643
  // // }
1646
1644
  }
1647
- }), this.setTags();
1645
+ };
1646
+ this.mode !== "tags" ? e.editTags = !1 : this.inputValidatePattern?.trim?.() && (e.pattern = new RegExp(this.inputValidatePattern.trim(), "i"), e.editTags = {
1647
+ clicks: 1,
1648
+ keepInvalid: !0
1649
+ }), this.tagify = new G(this.$refs.selectInput, e), this.setTags();
1648
1650
  }
1649
1651
  setTags() {
1650
1652
  if (this.tagify?.removeAllTags?.(), this.mode == "select") {
@@ -1676,32 +1678,35 @@ let _ = (W = class extends Dt {
1676
1678
  this.nextTick(() => this.setTags());
1677
1679
  }
1678
1680
  }, r(W, "SelectField"), W);
1679
- L([
1680
- G(Boolean)
1681
+ C([
1682
+ K(Boolean)
1681
1683
  ], _.prototype, "autofocus", 2);
1682
- L([
1683
- G(String)
1684
+ C([
1685
+ K(String)
1686
+ ], _.prototype, "inputValidatePattern", 2);
1687
+ C([
1688
+ K(String)
1684
1689
  ], _.prototype, "mode", 2);
1685
- L([
1686
- G(Array)
1690
+ C([
1691
+ K(Array)
1687
1692
  ], _.prototype, "items", 2);
1688
- L([
1689
- G(String, Object)
1693
+ C([
1694
+ K(String, Object)
1690
1695
  ], _.prototype, "placeholder", 2);
1691
- L([
1696
+ C([
1692
1697
  ot("items", !0)
1693
1698
  ], _.prototype, "_itemsWatch", 1);
1694
- L([
1699
+ C([
1695
1700
  ot("value", !0)
1696
1701
  ], _.prototype, "_valueWatch", 1);
1697
- L([
1702
+ C([
1698
1703
  ot("modelValue", !0)
1699
1704
  ], _.prototype, "_modelValueWatch", 1);
1700
- _ = L([
1705
+ _ = C([
1701
1706
  xt
1702
1707
  ], _);
1703
- const zt = ["value", "autofocus"];
1704
- function Jt(t, e, i, n, s, a) {
1708
+ const Kt = ["id", "value", "autofocus"];
1709
+ function zt(t, e, i, n, s, a) {
1705
1710
  return Nt(), It("div", {
1706
1711
  class: Et(["d-inline-block mx2px my1px w100%", {
1707
1712
  "vst-select-multi": t.mode == "multi" || t.mode == "tags"
@@ -1709,13 +1714,14 @@ function Jt(t, e, i, n, s, a) {
1709
1714
  }, [
1710
1715
  Mt("input", {
1711
1716
  ref: "selectInput",
1717
+ id: "vst-select-" + t.VST.generateRandomKey(),
1712
1718
  value: t.reactiveValue,
1713
1719
  autofocus: t.autofocus
1714
- }, null, 8, zt)
1720
+ }, null, 8, Kt)
1715
1721
  ], 2);
1716
1722
  }
1717
- r(Jt, "render");
1718
- const Yt = /* @__PURE__ */ _t(_, [["render", Jt]]);
1723
+ r(zt, "render");
1724
+ const Yt = /* @__PURE__ */ _t(_, [["render", zt]]);
1719
1725
  export {
1720
1726
  Yt as default
1721
1727
  };
@@ -1,13 +1,13 @@
1
1
  var We = Object.defineProperty;
2
2
  var o = (u, e) => We(u, "name", { value: e, configurable: !0 });
3
- import { P as j, C as Je, V as Qe } from "./index-B83tFSld.js";
4
- import { F as et } from "./FieldComponent.vue_vue_type_script_lang-By0JOopJ.js";
3
+ import { P as j, C as Je, V as Qe } from "./index-Bm3M_ugz.js";
4
+ import { F as et } from "./FieldComponent.vue_vue_type_script_lang-a0D3sf1R.js";
5
5
  import { isRef as tt, ref as O, watch as x, onMounted as st, onUnmounted as it, readonly as at, defineComponent as nt, toRef as G, h as ut, createElementBlock as M, openBlock as y, createElementVNode as q, resolveComponent as X, normalizeClass as de, createCommentVNode as W, createBlock as pe, createVNode as je, withKeys as rt, normalizeStyle as lt, toDisplayString as ce, resolveDynamicComponent as ot, withCtx as ht, createTextVNode as dt } from "vue";
6
6
  import { _ as pt } from "./_plugin-vue_export-helper-B9nE8o7z.js";
7
- function b(u) {
7
+ function I(u) {
8
8
  return typeof u == "string" || u instanceof String;
9
9
  }
10
- o(b, "isString");
10
+ o(I, "isString");
11
11
  function qe(u) {
12
12
  var e;
13
13
  return typeof u == "object" && u != null && (u == null || (e = u.constructor) == null ? void 0 : e.name) === "Object";
@@ -123,7 +123,7 @@ function c(u, e) {
123
123
  o(c, "IMask");
124
124
  function He(u) {
125
125
  if (u == null) throw new Error("mask property should be defined");
126
- return u instanceof RegExp ? c.MaskedRegExp : b(u) ? c.MaskedPattern : u === Date ? c.MaskedDate : u === Number ? c.MaskedNumber : Array.isArray(u) || u === Array ? c.MaskedDynamic : c.Masked && u.prototype instanceof c.Masked ? u : c.Masked && u instanceof c.Masked ? u.constructor : u instanceof Function ? c.MaskedFunction : (console.warn("Mask not found for mask", u), c.Masked);
126
+ return u instanceof RegExp ? c.MaskedRegExp : I(u) ? c.MaskedPattern : u === Date ? c.MaskedDate : u === Number ? c.MaskedNumber : Array.isArray(u) || u === Array ? c.MaskedDynamic : c.Masked && u.prototype instanceof c.Masked ? u : c.Masked && u instanceof c.Masked ? u.constructor : u instanceof Function ? c.MaskedFunction : (console.warn("Mask not found for mask", u), c.Masked);
127
127
  }
128
128
  o(He, "maskedClass");
129
129
  function z(u) {
@@ -580,7 +580,7 @@ const ue = class ue {
580
580
  o(ue, "ChangeDetails");
581
581
  let f = ue;
582
582
  c.ChangeDetails = f;
583
- const be = class be {
583
+ const Ie = class Ie {
584
584
  /** Tail value as string */
585
585
  /** Tail start position */
586
586
  /** Start position */
@@ -619,8 +619,8 @@ const be = class be {
619
619
  return this.value = this.value.slice(0, -1), e;
620
620
  }
621
621
  };
622
- o(be, "ContinuousTailDetails");
623
- let A = be;
622
+ o(Ie, "ContinuousTailDetails");
623
+ let A = Ie;
624
624
  const L = class L {
625
625
  /** */
626
626
  /** */
@@ -726,7 +726,7 @@ const L = class L {
726
726
  }
727
727
  /** Appends tail */
728
728
  appendTail(e) {
729
- return b(e) && (e = new A(String(e))), e.appendTo(this);
729
+ return I(e) && (e = new A(String(e))), e.appendTo(this);
730
730
  }
731
731
  /** Appends char */
732
732
  _appendCharRaw(e, t) {
@@ -779,8 +779,8 @@ const L = class L {
779
779
  }
780
780
  /** Appends symbols considering flags */
781
781
  append(e, t, s) {
782
- if (!b(e)) throw new Error("value should be string");
783
- const i = b(s) ? new A(String(s)) : s;
782
+ if (!I(e)) throw new Error("value should be string");
783
+ const i = I(s) ? new A(String(s)) : s;
784
784
  t != null && t.tail && (t._beforeTailState = this.state);
785
785
  let a;
786
786
  [e, a] = this.doPrepare(e, t);
@@ -878,7 +878,7 @@ const D = class D {
878
878
  }
879
879
  extend(e) {
880
880
  if (!String(e)) return;
881
- e = b(e) ? new A(String(e)) : e;
881
+ e = I(e) ? new A(String(e)) : e;
882
882
  const t = this.chunks[this.chunks.length - 1], s = t && // if stops are same or tail has no stop
883
883
  (t.stop === e.stop || e.stop == null) && // if tail chunk goes just after last chunk
884
884
  e.from === t.from + t.toString().length;
@@ -966,7 +966,7 @@ const D = class D {
966
966
  };
967
967
  o(D, "ChunksTailDetails");
968
968
  let te = D;
969
- const Ie = class Ie {
969
+ const be = class be {
970
970
  constructor(e, t) {
971
971
  this.masked = e, this._log = [];
972
972
  const {
@@ -1062,8 +1062,8 @@ const Ie = class Ie {
1062
1062
  });
1063
1063
  }
1064
1064
  };
1065
- o(Ie, "PatternCursor");
1066
- let ve = Ie;
1065
+ o(be, "PatternCursor");
1066
+ let ve = be;
1067
1067
  const we = class we {
1068
1068
  /** */
1069
1069
  /** */
@@ -1139,7 +1139,7 @@ const we = class we {
1139
1139
  return new A("");
1140
1140
  }
1141
1141
  appendTail(e) {
1142
- return b(e) && (e = new A(String(e))), e.appendTo(this);
1142
+ return I(e) && (e = new A(String(e))), e.appendTo(this);
1143
1143
  }
1144
1144
  append(e, t, s) {
1145
1145
  const i = this._appendChar(e[0], t);
@@ -1698,7 +1698,7 @@ const mt = "d{.}`m{.}`Y", B = class B extends E {
1698
1698
  } = e;
1699
1699
  return {
1700
1700
  ...i,
1701
- mask: b(t) ? t : s
1701
+ mask: I(t) ? t : s
1702
1702
  };
1703
1703
  }
1704
1704
  /** Pattern mask for date according to {@link MaskedDate#format} */
@@ -1727,7 +1727,7 @@ const mt = "d{.}`m{.}`Y", B = class B extends E {
1727
1727
  }, n = Object.assign({}, B.GET_DEFAULT_BLOCKS());
1728
1728
  e.min && (n.Y.from = e.min.getFullYear()), e.max && (n.Y.to = e.max.getFullYear()), e.min && e.max && n.Y.from === n.Y.to && (n.m.from = e.min.getMonth() + 1, n.m.to = e.max.getMonth() + 1, n.m.from === n.m.to && (n.d.from = e.min.getDate(), n.d.to = e.max.getDate())), Object.assign(n, this.blocks, i), super._update({
1729
1729
  ...a,
1730
- mask: b(t) ? t : s,
1730
+ mask: I(t) ? t : s,
1731
1731
  blocks: n
1732
1732
  });
1733
1733
  }
@@ -2647,7 +2647,7 @@ function St(u, e) {
2647
2647
  ]);
2648
2648
  }
2649
2649
  o(St, "render$1");
2650
- var Vt = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, I = /* @__PURE__ */ o((u, e, t, s) => {
2650
+ var Vt = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, b = /* @__PURE__ */ o((u, e, t, s) => {
2651
2651
  for (var i = s > 1 ? void 0 : s ? Bt(e, t) : e, a = u.length - 1, n; a >= 0; a--)
2652
2652
  (n = u[a]) && (i = (s ? n(e, t, i) : n(i)) || i);
2653
2653
  return s && i && Vt(e, t, i), i;
@@ -2859,35 +2859,35 @@ let S = (U = class extends et {
2859
2859
  return ["date", "datetime", "datetimeSec"].includes(this.maskPreset ?? "");
2860
2860
  }
2861
2861
  }, o(U, "StringField"), U);
2862
- I([
2862
+ b([
2863
2863
  j(String)
2864
2864
  ], S.prototype, "maskPreset", 2);
2865
- I([
2865
+ b([
2866
2866
  j(Boolean)
2867
2867
  ], S.prototype, "force12hours", 2);
2868
- I([
2868
+ b([
2869
2869
  j(Boolean)
2870
2870
  ], S.prototype, "alwaysCopyIcon", 2);
2871
- I([
2871
+ b([
2872
2872
  j(Boolean)
2873
2873
  ], S.prototype, "disabled", 2);
2874
- I([
2874
+ b([
2875
2875
  j(String)
2876
2876
  ], S.prototype, "dtPresetLocale", 2);
2877
- I([
2877
+ b([
2878
2878
  j(String)
2879
2879
  ], S.prototype, "placeholder", 2);
2880
- I([
2880
+ b([
2881
2881
  Je("isDateTime")
2882
2882
  ], S.prototype, "_valueComputed", 1);
2883
- S = I([
2883
+ S = b([
2884
2884
  Qe
2885
2885
  ], S);
2886
- const xt = { class: "relative w100%" }, bt = {
2886
+ const xt = { class: "relative w100%" }, It = {
2887
2887
  key: 0,
2888
2888
  class: "w22px h22px text-stone absolute t-13px l-12px z4 cursor-pointer hover:scale-130"
2889
2889
  };
2890
- function It(u, e, t, s, i, a) {
2890
+ function bt(u, e, t, s, i, a) {
2891
2891
  const n = X("IMaskComponent"), r = X("ClipboardDocumentListIcon"), l = X("CheckBadgeIcon"), h = X("NoSymbolIcon");
2892
2892
  return y(), M("div", {
2893
2893
  class: de(["d-inline-block my2px w100% relative", {
@@ -2926,7 +2926,7 @@ function It(u, e, t, s, i, a) {
2926
2926
  })
2927
2927
  }, ce(u.utc), 5)) : W("", !0)
2928
2928
  ]),
2929
- u.disabled || u.alwaysCopyIcon ? (y(), M("div", bt, [
2929
+ u.disabled || u.alwaysCopyIcon ? (y(), M("div", It, [
2930
2930
  u._isOnlyValueCopied ? (y(), pe(l, {
2931
2931
  key: 1,
2932
2932
  class: "text-emerald-500"
@@ -2954,8 +2954,8 @@ function It(u, e, t, s, i, a) {
2954
2954
  })) : W("", !0)
2955
2955
  ], 2);
2956
2956
  }
2957
- o(It, "render");
2958
- const Ot = /* @__PURE__ */ pt(S, [["render", It], ["__scopeId", "data-v-9b5c4527"]]);
2957
+ o(bt, "render");
2958
+ const Ot = /* @__PURE__ */ pt(S, [["render", bt], ["__scopeId", "data-v-a613e302"]]);
2959
2959
  export {
2960
2960
  Ot as default
2961
2961
  };