@signal24/vue-foundation 4.3.7 → 4.5.0

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.
@@ -1,16 +1,16 @@
1
- var $e = Object.defineProperty;
2
- var Ae = (e, t, n) => t in e ? $e(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var m = (e, t, n) => (Ae(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { defineComponent as D, defineProps as Ve, defineEmits as Be, ref as I, computed as B, openBlock as c, createElementBlock as u, createElementVNode as y, toDisplayString as M, withDirectives as F, createCommentVNode as T, Fragment as _, renderList as z, vModelSelect as Fe, reactive as _e, h as ve, markRaw as Ne, getCurrentInstance as ge, onMounted as X, onBeforeUnmount as Y, createBlock as Z, Teleport as Ke, normalizeClass as b, withModifiers as Re, renderSlot as U, resolveDirective as ye, createSlots as Ue, withCtx as j, createTextVNode as ne, vModelText as je, watch as ie, onActivated as Ee, onDeactivated as Te } from "vue";
5
- import { debounce as Pe, isEqual as Oe, upperFirst as We, startCase as qe, cloneDeep as ze, remove as Xe } from "lodash";
6
- import { escapeHtml as Ye } from "@vue/shared";
7
- import { escapeHtml as Un } from "@vue/shared";
8
- import { format as W } from "date-fns";
9
- const Ze = D({
1
+ var Ve = Object.defineProperty;
2
+ var Fe = (e, t, n) => t in e ? Ve(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var m = (e, t, n) => (Fe(e, typeof t != "symbol" ? t + "" : t, n), n);
4
+ import { defineComponent as x, defineProps as Re, defineEmits as Ne, ref as w, computed as N, openBlock as u, createElementBlock as f, createElementVNode as k, toDisplayString as H, withDirectives as K, createCommentVNode as b, Fragment as U, renderList as G, vModelSelect as Ke, getCurrentInstance as Q, onMounted as B, normalizeClass as T, normalizeStyle as Ue, withModifiers as Ee, renderSlot as R, reactive as je, h as j, Teleport as We, markRaw as Pe, onBeforeUnmount as J, resolveDirective as Oe, createBlock as be, createSlots as qe, withCtx as z, createTextVNode as se, vModelText as ze, watch as oe, onActivated as Te, onDeactivated as we } from "vue";
5
+ import { debounce as Xe, isEqual as ke, upperFirst as Ye, startCase as Ze, cloneDeep as Ge, remove as Qe } from "lodash";
6
+ import { escapeHtml as Je } from "@vue/shared";
7
+ import { escapeHtml as Zn } from "@vue/shared";
8
+ import { format as Y } from "date-fns";
9
+ const et = x({
10
10
  setup() {
11
- const e = Ve();
12
- Be(["update:modelValue"]);
13
- const t = I(null), n = B(() => t.value ? t.value.map((o) => e.preprocesor ? e.preprocesor(o) : o[e.displayKey ?? ""]) : null), i = I(e.modelValue ?? null);
11
+ const e = Re();
12
+ Ne(["update:modelValue"]);
13
+ const t = w(null), n = N(() => t.value ? t.value.map((o) => e.preprocesor ? e.preprocesor(o) : o[e.displayKey ?? ""]) : null), i = w(e.modelValue ?? null);
14
14
  return { props: e, options: t, renderOptions: n, selectedItem: i };
15
15
  },
16
16
  watch: {
@@ -32,190 +32,250 @@ const Ze = D({
32
32
  this.options = await this.props.loadFn();
33
33
  }
34
34
  }
35
- }), be = (e, t) => {
35
+ }), Se = (e, t) => {
36
36
  const n = e.__vccOpts || e;
37
37
  for (const [i, s] of t)
38
38
  n[i] = s;
39
39
  return n;
40
- }, Ge = {
40
+ }, tt = {
41
41
  key: 0,
42
42
  disabled: ""
43
- }, Qe = {
43
+ }, nt = {
44
44
  key: 0,
45
45
  value: null
46
- }, Je = ["value"];
47
- function et(e, t, n, i, s, o) {
48
- return e.renderOptions ? F((c(), u("select", {
46
+ }, it = ["value"];
47
+ function st(e, t, n, i, s, o) {
48
+ return e.renderOptions ? K((u(), f("select", {
49
49
  key: 1,
50
50
  "onUpdate:modelValue": t[0] || (t[0] = (r) => e.selectedItem = r)
51
51
  }, [
52
- e.props.nullText ? (c(), u("option", Qe, M(e.props.nullText), 1)) : T("", !0),
53
- (c(!0), u(_, null, z(e.renderOptions, (r, l) => {
54
- var a;
55
- return c(), u("option", {
52
+ e.props.nullText ? (u(), f("option", nt, H(e.props.nullText), 1)) : b("", !0),
53
+ (u(!0), f(U, null, G(e.renderOptions, (r, l) => {
54
+ var c;
55
+ return u(), f("option", {
56
56
  key: l,
57
- value: (a = e.options) == null ? void 0 : a[l]
58
- }, M(r), 9, Je);
57
+ value: (c = e.options) == null ? void 0 : c[l]
58
+ }, H(r), 9, it);
59
59
  }), 128))
60
60
  ], 512)), [
61
- [Fe, e.selectedItem]
62
- ]) : (c(), u("select", Ge, [
63
- y("option", null, M(e.props.loadingText || "Loading..."), 1)
61
+ [Ke, e.selectedItem]
62
+ ]) : (u(), f("select", tt, [
63
+ k("option", null, H(e.props.loadingText || "Loading..."), 1)
64
64
  ]));
65
65
  }
66
- const vn = /* @__PURE__ */ be(Ze, [["render", et]]);
67
- let tt = 0;
68
- const O = _e([]), gn = D({
66
+ const kn = /* @__PURE__ */ Se(et, [["render", st]]), ot = ["onClick"], lt = /* @__PURE__ */ x({
67
+ __name: "overlay-anchor",
68
+ props: {
69
+ overlayId: {},
70
+ anchor: {}
71
+ },
72
+ setup(e) {
73
+ const t = e, n = t.anchor instanceof HTMLElement ? t.anchor : t.anchor.el, i = w({ visibility: "hidden", top: "0", left: "0" }), s = w([]), o = Q();
74
+ B(r);
75
+ function r() {
76
+ const v = o.vnode.el, { styles: h, classes: a } = l(v, n);
77
+ i.value = h, s.value = a;
78
+ }
79
+ function l(v, h) {
80
+ const a = t.anchor instanceof HTMLElement ? {} : t.anchor, p = h.getBoundingClientRect(), d = v.getBoundingClientRect();
81
+ a.matchWidth && (d.width = p.width), a.matchHeight && (d.height = p.height);
82
+ const g = a.class ? Array.isArray(a.class) ? a.class : [a.class] : [];
83
+ let E, S;
84
+ if (a.y === "center")
85
+ E = p.top + p.height / 2 - d.height / 2, g.push("anchored-center-y");
86
+ else {
87
+ const L = (p.bottom + d.height < window.innerHeight || a.y === "below") && a.y !== "above";
88
+ E = L ? p.bottom : p.top - d.height, g.push(L ? "anchored-top" : "anchored-bottom");
89
+ }
90
+ if (a.x === "center")
91
+ S = p.left + p.width / 2 - d.width / 2, g.push("anchored-center-x");
92
+ else {
93
+ const L = (p.left + d.width < window.innerWidth || a.x === "left") && a.x !== "right";
94
+ S = L ? p.left : p.right - d.width, g.push(L ? "anchored-left" : "anchored-right");
95
+ }
96
+ return {
97
+ styles: {
98
+ top: `${E}px`,
99
+ left: `${S}px`,
100
+ ...a.matchWidth ? { width: `${d.width}px` } : {},
101
+ ...a.matchHeight ? { height: `${d.height}px` } : {}
102
+ },
103
+ classes: g
104
+ };
105
+ }
106
+ function c() {
107
+ window.removeEventListener("click", c), ct(t.overlayId);
108
+ }
109
+ return B(() => {
110
+ setTimeout(() => {
111
+ window.addEventListener("click", c);
112
+ }, 10);
113
+ }), (v, h) => (u(), f("div", {
114
+ class: T(["vf-overlay-anchor", s.value]),
115
+ style: Ue(i.value),
116
+ onClick: Ee(c, ["stop"])
117
+ }, [
118
+ R(v.$slots, "default")
119
+ ], 14, ot));
120
+ }
121
+ });
122
+ let rt = 0;
123
+ const O = je([]), Sn = x({
69
124
  setup() {
70
- return () => ve("div", { id: "modal-container" }, [
71
- z(O, (e) => e.vnode)
125
+ return () => j("div", [
126
+ G(O, (e) => j(We, { key: e.id, to: "#vf-overlay-target" }, [e.wrapperVnode ?? e.vnode]))
72
127
  ]);
73
128
  }
74
129
  });
75
- function we(e, t) {
76
- const n = document.getElementById("vf-modal-target") ?? document.createElement("div");
77
- n.id = "vf-modal-target", n.removeAttribute("inert"), document.body.appendChild(n);
78
- const i = Ne(e), s = {
79
- id: String(++tt),
80
- component: i,
130
+ function xe(e, t, n) {
131
+ const i = document.getElementById("vf-overlay-target") ?? document.createElement("div");
132
+ i.id = "vf-overlay-target", i.removeAttribute("inert"), document.body.appendChild(i);
133
+ const s = String(++rt), o = Pe(e), r = j(o, t), l = n != null && n.anchor ? j(lt, { overlayId: s, anchor: n.anchor }, () => [r]) : void 0, c = {
134
+ id: s,
135
+ component: o,
81
136
  props: t,
82
- vnode: ve(i, t)
137
+ options: n ?? {},
138
+ vnode: r,
139
+ wrapperVnode: l
83
140
  };
84
- return O.push(s), s;
141
+ return O.push(c), c;
85
142
  }
86
- function Se(e) {
87
- const t = O.indexOf(e);
88
- t >= 0 && O.splice(t, 1);
89
- }
90
- function yn(e) {
91
- ke(e.$);
143
+ function xn(e) {
144
+ Le(e.$);
92
145
  }
93
- function ke(e) {
146
+ function Le(e) {
94
147
  let t = e;
95
- for (; t && !nt(t.vnode); )
148
+ for (; t && !at(t.vnode); )
96
149
  t = t.parent;
97
150
  }
98
- function nt(e) {
99
- var n, i;
100
- const t = O.findIndex((s) => s.vnode.component === e.component);
101
- return t >= 0 ? ((i = (n = O[t].props).callback) == null || i.call(n, void 0), O.splice(t, 1), !0) : !1;
151
+ function at(e) {
152
+ const t = O.findIndex((n) => n.vnode.component === e.component);
153
+ return t >= 0 ? (O[t].props.callback(), !0) : !1;
154
+ }
155
+ function ct(e) {
156
+ const t = O.findIndex((n) => n.id === e);
157
+ return t >= 0 ? (O[t].props.callback(), !0) : !1;
158
+ }
159
+ function Ce(e) {
160
+ const t = O.indexOf(e);
161
+ t >= 0 && O.splice(t, 1);
102
162
  }
103
- async function G(e, t) {
104
- return new Promise((n) => {
105
- let i = null;
106
- const o = { ...t, callback: (r) => {
107
- Se(i), n(r);
163
+ async function ee(e, t, n) {
164
+ return new Promise((i) => {
165
+ let s = null;
166
+ const r = { ...t, callback: (l) => {
167
+ Ce(s), i(l);
108
168
  } };
109
- i = we(e, o);
169
+ s = xe(e, r, n);
110
170
  });
111
171
  }
112
- function N(e, t) {
172
+ function W(e, t) {
113
173
  return { title: t ? e : void 0, message: t ?? e };
114
174
  }
115
- async function se(e, t) {
116
- await G(R, N(e, t));
175
+ async function le(e, t) {
176
+ await ee(q, W(e, t));
117
177
  }
118
- async function En(e, t) {
119
- return await G(R, {
120
- ...N(e, t),
178
+ async function Ln(e, t) {
179
+ return await ee(q, {
180
+ ...W(e, t),
121
181
  shouldConfirm: !0
122
182
  }) === !0;
123
183
  }
124
- async function Tn(e, t) {
125
- return await G(R, {
126
- ...N(e, t),
184
+ async function Cn(e, t) {
185
+ return await ee(q, {
186
+ ...W(e, t),
127
187
  shouldConfirm: !0,
128
188
  classes: ["destructive"]
129
189
  }) === !0;
130
190
  }
131
- function On(e, t) {
132
- const n = we(R, {
133
- ...N(e, t),
191
+ function Mn(e, t) {
192
+ const n = xe(q, {
193
+ ...W(e, t),
134
194
  isBare: !0,
135
195
  classes: ["wait"],
136
196
  callback: () => {
137
197
  }
138
198
  });
139
- return () => Se(n);
199
+ return () => Ce(n);
140
200
  }
141
- const $ = {
201
+ const V = {
142
202
  unhandledErrorSupportText: "please contact support",
143
203
  errorHandler: (e) => console.error("Unhandled error:", e),
144
204
  defaultDateTimeFormat: "MM/dd/yy HH:mm"
145
205
  };
146
- function bn(e) {
147
- Object.assign($, e);
206
+ function In(e) {
207
+ Object.assign(V, e);
148
208
  }
149
- class K extends Error {
209
+ class P extends Error {
150
210
  constructor(t) {
151
211
  super(t), this.name = "UserError";
152
212
  }
153
213
  }
154
- function it(e) {
155
- return e instanceof K ? e.message : `An application error has occurred:
214
+ function dt(e) {
215
+ return e instanceof P ? e.message : `An application error has occurred:
156
216
 
157
- ${Q(e).message}
217
+ ${te(e).message}
158
218
 
159
- Please refresh the page and try again. If this error persists, ${$.unhandledErrorSupportText}.`;
219
+ Please refresh the page and try again. If this error persists, ${V.unhandledErrorSupportText}.`;
160
220
  }
161
- function Q(e) {
221
+ function te(e) {
162
222
  return e instanceof Error ? e : new Error(String(e));
163
223
  }
164
- async function wn(e, t) {
165
- const n = Q(e);
166
- return n instanceof K || $.errorHandler(n), t ? se(t, n) : se(n);
224
+ async function Hn(e, t) {
225
+ const n = te(e);
226
+ return n instanceof P || V.errorHandler(n), t ? le(t, n) : le(n);
167
227
  }
168
- async function Sn(e) {
169
- const t = Q(e);
170
- t instanceof K || $.errorHandler(t);
228
+ async function Dn(e) {
229
+ const t = te(e);
230
+ t instanceof P || V.errorHandler(t);
171
231
  }
172
- const x = Symbol("MaskState");
173
- function kn(e, t) {
232
+ const D = Symbol("MaskState");
233
+ function An(e, t) {
174
234
  const n = e.$.vnode.el, i = n.closest(".vf-modal");
175
- return st(i ?? n, t);
235
+ return ut(i ?? n, t);
176
236
  }
177
- function Mn(e) {
237
+ function $n(e) {
178
238
  const t = e.$.vnode.el, n = t.closest(".vf-modal");
179
239
  return Me(n ?? t);
180
240
  }
181
- function st(e, t) {
182
- if (!e[x]) {
241
+ function ut(e, t) {
242
+ if (!e[D]) {
183
243
  const n = document.createElement("div");
184
- n.classList.add("vf-mask"), e.appendChild(n), e[x] = { maskEl: n };
244
+ n.classList.add("vf-mask"), e.appendChild(n), e[D] = { maskEl: n };
185
245
  }
186
- return e[x].maskEl.innerText = t ?? "", () => Me(e);
246
+ return e[D].maskEl.innerText = t ?? "", () => Me(e);
187
247
  }
188
248
  function Me(e) {
189
- e[x] && e.removeChild(e[x].maskEl);
249
+ e[D] && e.removeChild(e[D].maskEl);
190
250
  }
191
- const q = Symbol("FormMaskState");
192
- function ot(e, t, n) {
193
- const i = e instanceof Element ? e : Le(e);
251
+ const Z = Symbol("FormMaskState");
252
+ function ht(e, t, n) {
253
+ const i = e instanceof Element ? e : He(e);
194
254
  i.classList.add("vf-masked");
195
255
  const s = t instanceof Element ? t : i.querySelectorAll(t ?? 'button:not([disabled]):not([type="button"])')[0], o = s.tagName === "INPUT" ? s.value : s.innerHTML;
196
256
  s.setAttribute("disabled", "disabled"), s.innerText = n ?? "Please wait...";
197
257
  const l = [...i.querySelectorAll("input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled])")];
198
- return l.forEach((a) => a.setAttribute("disabled", "disabled")), i[q] = {
258
+ return l.forEach((c) => c.setAttribute("disabled", "disabled")), i[Z] = {
199
259
  disabledElements: l,
200
260
  waitButton: s,
201
261
  buttonHtml: o
202
- }, () => xe(i);
262
+ }, () => Ie(i);
203
263
  }
204
- function xe(e) {
205
- const t = e instanceof Element ? e : Le(e), n = t[q];
206
- n && (t.classList.remove("vf-masked"), n.disabledElements.forEach((i) => i.removeAttribute("disabled")), n.waitButton.innerHTML = n.buttonHtml, n.waitButton.removeAttribute("disabled"), delete t[q]);
264
+ function Ie(e) {
265
+ const t = e instanceof Element ? e : He(e), n = t[Z];
266
+ n && (t.classList.remove("vf-masked"), n.disabledElements.forEach((i) => i.removeAttribute("disabled")), n.waitButton.innerHTML = n.buttonHtml, n.waitButton.removeAttribute("disabled"), delete t[Z]);
207
267
  }
208
- function Le(e) {
268
+ function He(e) {
209
269
  const t = e.$.vnode.el;
210
270
  return t.tagName === "FORM" ? t : t.querySelector("form");
211
271
  }
212
- const lt = ["id"], rt = {
272
+ const ft = ["id"], pt = {
213
273
  key: 0,
214
274
  class: "vf-modal-header"
215
- }, at = { class: "vf-modal-content" }, ct = {
275
+ }, mt = { class: "vf-modal-content" }, vt = {
216
276
  key: 1,
217
277
  class: "vf-modal-footer"
218
- }, dt = /* @__PURE__ */ D({
278
+ }, yt = /* @__PURE__ */ x({
219
279
  __name: "modal",
220
280
  props: {
221
281
  id: {},
@@ -226,67 +286,65 @@ const lt = ["id"], rt = {
226
286
  },
227
287
  emits: ["formSubmit"],
228
288
  setup(e, { expose: t }) {
229
- const n = e, i = ge();
289
+ const n = e, i = Q();
230
290
  t({ mask: v, unmask: h });
231
- const s = I(), o = I();
232
- X(() => {
233
- var d;
234
- document.body.classList.add("vf-modal-open"), n.closeOnMaskClick && (window.addEventListener("keydown", l), (d = s.value) == null || d.addEventListener("click", r));
235
- }), Y(() => {
291
+ const s = w(), o = w();
292
+ B(() => {
293
+ var a;
294
+ document.body.classList.add("vf-modal-open"), n.closeOnMaskClick && (window.addEventListener("keydown", l), (a = s.value) == null || a.addEventListener("click", r));
295
+ }), J(() => {
236
296
  window.removeEventListener("keydown", l), document.body.querySelectorAll(".vf-modal").length > 0 || document.body.classList.remove("vf-modal-open");
237
297
  });
238
- function r(d) {
239
- d.target == s.value && a();
298
+ function r(a) {
299
+ a.target == s.value && c();
240
300
  }
241
- function l(d) {
242
- if (d.key === "Esc" || d.key === "Escape") {
243
- const E = document.querySelectorAll(".vf-modal-wrap");
244
- E[E.length - 1] === s.value && a();
301
+ function l(a) {
302
+ if (a.key === "Esc" || a.key === "Escape") {
303
+ const p = document.querySelectorAll(".vf-modal-wrap");
304
+ p[p.length - 1] === s.value && c();
245
305
  }
246
306
  }
247
- function a() {
248
- ke(i);
307
+ function c() {
308
+ Le(i);
249
309
  }
250
310
  function v() {
251
- ot(o.value);
311
+ ht(o.value);
252
312
  }
253
313
  function h() {
254
- xe(o.value);
314
+ Ie(o.value);
255
315
  }
256
- return (d, E) => (c(), Z(Ke, { to: "#vf-modal-target" }, [
257
- y("div", {
258
- id: d.id,
259
- class: b(["vf-overlay vf-modal-wrap", n.class]),
260
- ref_key: "overlay",
261
- ref: s
316
+ return (a, p) => (u(), f("div", {
317
+ id: a.id,
318
+ class: T(["vf-overlay vf-modal-wrap", n.class]),
319
+ ref_key: "overlay",
320
+ ref: s
321
+ }, [
322
+ k("form", {
323
+ action: ".",
324
+ class: T(["vf-modal", { scrolls: a.scrolls }]),
325
+ onSubmit: p[0] || (p[0] = Ee((d) => a.$emit("formSubmit"), ["prevent"])),
326
+ ref_key: "form",
327
+ ref: o
262
328
  }, [
263
- y("form", {
264
- action: ".",
265
- class: b(["vf-modal", { scrolls: d.scrolls }]),
266
- onSubmit: E[0] || (E[0] = Re((f) => d.$emit("formSubmit"), ["prevent"])),
267
- ref_key: "form",
268
- ref: o
269
- }, [
270
- d.$slots.header ? (c(), u("div", rt, [
271
- U(d.$slots, "header"),
272
- n.closeX ? (c(), u("i", {
273
- key: 0,
274
- class: "close",
275
- onClick: a
276
- })) : T("", !0)
277
- ])) : T("", !0),
278
- y("div", at, [
279
- U(d.$slots, "default")
280
- ]),
281
- d.$slots.footer ? (c(), u("div", ct, [
282
- U(d.$slots, "footer")
283
- ])) : T("", !0)
284
- ], 34)
285
- ], 10, lt)
286
- ]));
329
+ a.$slots.header ? (u(), f("div", pt, [
330
+ R(a.$slots, "header"),
331
+ n.closeX ? (u(), f("i", {
332
+ key: 0,
333
+ class: "close",
334
+ onClick: c
335
+ })) : b("", !0)
336
+ ])) : b("", !0),
337
+ k("div", mt, [
338
+ R(a.$slots, "default")
339
+ ]),
340
+ a.$slots.footer ? (u(), f("div", vt, [
341
+ R(a.$slots, "footer")
342
+ ])) : b("", !0)
343
+ ], 34)
344
+ ], 10, ft));
287
345
  }
288
346
  });
289
- const ut = ["innerHtml"], ht = ["innerText"], R = /* @__PURE__ */ D({
347
+ const gt = ["innerHtml"], Et = ["innerText"], q = /* @__PURE__ */ x({
290
348
  __name: "alert-modal",
291
349
  props: {
292
350
  isBare: { type: Boolean },
@@ -298,53 +356,53 @@ const ut = ["innerHtml"], ht = ["innerText"], R = /* @__PURE__ */ D({
298
356
  callback: { type: Function }
299
357
  },
300
358
  setup(e) {
301
- const t = e, n = B(() => t.message instanceof Error ? it(t.message) : t.message);
359
+ const t = e, n = N(() => t.message instanceof Error ? dt(t.message) : t.message);
302
360
  return (i, s) => {
303
- const o = ye("autofocus");
304
- return c(), Z(dt, {
305
- class: b(["vf-alert", i.classes])
306
- }, Ue({
307
- default: j(() => [
308
- i.isHtml ? (c(), u("div", {
361
+ const o = Oe("autofocus");
362
+ return u(), be(yt, {
363
+ class: T(["vf-alert", i.classes])
364
+ }, qe({
365
+ default: z(() => [
366
+ i.isHtml ? (u(), f("div", {
309
367
  key: 0,
310
368
  innerHtml: i.message,
311
369
  class: "user-message"
312
- }, null, 8, ut)) : (c(), u("div", {
370
+ }, null, 8, gt)) : (u(), f("div", {
313
371
  key: 1,
314
372
  innerText: n.value
315
- }, null, 8, ht))
373
+ }, null, 8, Et))
316
374
  ]),
317
375
  _: 2
318
376
  }, [
319
377
  i.title ? {
320
378
  name: "header",
321
- fn: j(() => [
322
- y("h1", null, M(i.title), 1)
379
+ fn: z(() => [
380
+ k("h1", null, H(i.title), 1)
323
381
  ]),
324
382
  key: "0"
325
383
  } : void 0,
326
384
  i.isBare ? void 0 : {
327
385
  name: "footer",
328
- fn: j(() => [
329
- i.shouldConfirm ? (c(), u(_, { key: 0 }, [
330
- F((c(), u("button", {
386
+ fn: z(() => [
387
+ i.shouldConfirm ? (u(), f(U, { key: 0 }, [
388
+ K((u(), f("button", {
331
389
  class: "primary",
332
390
  onClick: s[0] || (s[0] = () => i.callback(!0))
333
391
  }, [
334
- ne("Confirm")
392
+ se("Confirm")
335
393
  ])), [
336
394
  [o]
337
395
  ]),
338
- y("button", {
396
+ k("button", {
339
397
  class: "default",
340
398
  onClick: s[1] || (s[1] = () => i.callback(!1))
341
399
  }, "Cancel")
342
- ], 64)) : F((c(), u("button", {
400
+ ], 64)) : K((u(), f("button", {
343
401
  key: 1,
344
402
  class: "default",
345
403
  onClick: s[2] || (s[2] = () => i.callback(!0))
346
404
  }, [
347
- ne("OK")
405
+ se("OK")
348
406
  ])), [
349
407
  [o]
350
408
  ])
@@ -355,52 +413,52 @@ const ut = ["innerHtml"], ht = ["innerText"], R = /* @__PURE__ */ D({
355
413
  };
356
414
  }
357
415
  });
358
- let V;
359
- const ft = new Uint8Array(16);
360
- function pt() {
361
- if (!V && (V = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !V))
416
+ let F;
417
+ const Ot = new Uint8Array(16);
418
+ function bt() {
419
+ if (!F && (F = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !F))
362
420
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
363
- return V(ft);
421
+ return F(Ot);
364
422
  }
365
- const p = [];
423
+ const y = [];
366
424
  for (let e = 0; e < 256; ++e)
367
- p.push((e + 256).toString(16).slice(1));
368
- function mt(e, t = 0) {
369
- return (p[e[t + 0]] + p[e[t + 1]] + p[e[t + 2]] + p[e[t + 3]] + "-" + p[e[t + 4]] + p[e[t + 5]] + "-" + p[e[t + 6]] + p[e[t + 7]] + "-" + p[e[t + 8]] + p[e[t + 9]] + "-" + p[e[t + 10]] + p[e[t + 11]] + p[e[t + 12]] + p[e[t + 13]] + p[e[t + 14]] + p[e[t + 15]]).toLowerCase();
425
+ y.push((e + 256).toString(16).slice(1));
426
+ function Tt(e, t = 0) {
427
+ return (y[e[t + 0]] + y[e[t + 1]] + y[e[t + 2]] + y[e[t + 3]] + "-" + y[e[t + 4]] + y[e[t + 5]] + "-" + y[e[t + 6]] + y[e[t + 7]] + "-" + y[e[t + 8]] + y[e[t + 9]] + "-" + y[e[t + 10]] + y[e[t + 11]] + y[e[t + 12]] + y[e[t + 13]] + y[e[t + 14]] + y[e[t + 15]]).toLowerCase();
370
428
  }
371
- const vt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), oe = {
372
- randomUUID: vt
429
+ const wt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), re = {
430
+ randomUUID: wt
373
431
  };
374
- function gt(e, t, n) {
375
- if (oe.randomUUID && !t && !e)
376
- return oe.randomUUID();
432
+ function kt(e, t, n) {
433
+ if (re.randomUUID && !t && !e)
434
+ return re.randomUUID();
377
435
  e = e || {};
378
- const i = e.random || (e.rng || pt)();
436
+ const i = e.random || (e.rng || bt)();
379
437
  if (i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, t) {
380
438
  n = n || 0;
381
439
  for (let s = 0; s < 16; ++s)
382
440
  t[n + s] = i[s];
383
441
  return t;
384
442
  }
385
- return mt(i);
443
+ return Tt(i);
386
444
  }
387
- function xn(e) {
445
+ function Bn(e) {
388
446
  return e.replace(/\n/g, "<br>");
389
447
  }
390
- function yt(e) {
448
+ function St(e) {
391
449
  return e.replace(/_/g, " ");
392
450
  }
393
- function Et(e) {
451
+ function xt(e) {
394
452
  const t = e.replace(/\D/g, "").replace(/^1/, "");
395
453
  return t.length != 10 ? e : "(" + t.substring(0, 3) + ") " + t.substring(3, 6) + "-" + t.substring(6);
396
454
  }
397
- function Tt(e) {
455
+ function Lt(e) {
398
456
  return "$" + Number(e).toFixed(3).replace(/0$/, "").replace(/\B(?=(\d{3})+(?!\d))/g, ",");
399
457
  }
400
- function Ln() {
401
- return gt();
458
+ function _n() {
459
+ return kt();
402
460
  }
403
- const w = Symbol("null"), le = Symbol("create"), Ot = "`1234567890-=[]\\;',./~!@#$%^&*()_+{}|:\"<>?qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM", bt = {
461
+ const C = Symbol("null"), ae = Symbol("create"), Ct = "`1234567890-=[]\\;',./~!@#$%^&*()_+{}|:\"<>?qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM", Mt = {
404
462
  props: {
405
463
  modelValue: {
406
464
  type: null,
@@ -477,13 +535,13 @@ const w = Symbol("null"), le = Symbol("create"), Ot = "`1234567890-=[]\\;',./~!@
477
535
  },
478
536
  optionsDescriptors() {
479
537
  return this.allOptions.map((e, t) => {
480
- var l, a;
538
+ var l, c;
481
539
  const n = this.formatter(e), i = (l = this.subtitleFormatter) == null ? void 0 : l.call(this, e), s = n ? n.trim().toLowerCase() : "", o = i ? i.trim().toLowerCase() : "", r = [];
482
540
  return this.searchFields ? this.searchFields.forEach((v) => {
483
541
  e[v] && r.push(String(e[v]).toLowerCase());
484
542
  }) : (r.push(s), o && r.push(o)), {
485
543
  // eslint-disable-next-line vue/no-use-computed-property-like-method
486
- key: ((a = this.effectiveKeyExtractor) == null ? void 0 : a.call(this, e)) ?? String(t),
544
+ key: ((c = this.effectiveKeyExtractor) == null ? void 0 : c.call(this, e)) ?? String(t),
487
545
  title: n,
488
546
  subtitle: i,
489
547
  searchContent: r.join(""),
@@ -497,7 +555,7 @@ const w = Symbol("null"), le = Symbol("create"), Ot = "`1234567890-=[]\\;',./~!@
497
555
  const t = this.searchText.trim().toLowerCase();
498
556
  if (t.length) {
499
557
  e = e.filter((s) => s.searchContent.includes(t));
500
- const n = Ye(this.searchText).replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&"), i = new RegExp(`(${n})`, "ig");
558
+ const n = Je(this.searchText).replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&"), i = new RegExp(`(${n})`, "ig");
501
559
  e = e.map((s) => {
502
560
  var o;
503
561
  return {
@@ -506,13 +564,13 @@ const w = Symbol("null"), le = Symbol("create"), Ot = "`1234567890-=[]\\;',./~!@
506
564
  subtitle: (o = s.subtitle) == null ? void 0 : o.replace(i, "<mark>$1</mark>")
507
565
  };
508
566
  }), this.shouldShowCreateOption && (e.find((o) => o.searchContent === t) !== void 0 || e.push({
509
- key: le,
567
+ key: ae,
510
568
  title: "Create <strong>" + this.searchText.trim() + "</strong>..."
511
569
  }));
512
570
  }
513
571
  } else
514
572
  this.nullTitle && e.unshift({
515
- key: w,
573
+ key: C,
516
574
  title: this.nullTitle
517
575
  });
518
576
  return e;
@@ -538,7 +596,7 @@ const w = Symbol("null"), le = Symbol("create"), Ot = "`1234567890-=[]\\;',./~!@
538
596
  },
539
597
  effectiveOptions() {
540
598
  var e;
541
- this.modelValue && !this.selectedOption && this.handleValueChanged(), this.highlightedOptionKey && !this.effectiveOptions.find((t) => t.key == this.highlightedOptionKey) && (this.highlightedOptionKey = ((e = this.effectiveOptions[0]) == null ? void 0 : e.key) ?? w);
599
+ this.modelValue && !this.selectedOption && this.handleValueChanged(), this.highlightedOptionKey && !this.effectiveOptions.find((t) => t.key == this.highlightedOptionKey) && (this.highlightedOptionKey = ((e = this.effectiveOptions[0]) == null ? void 0 : e.key) ?? C);
542
600
  }
543
601
  },
544
602
  async mounted() {
@@ -547,7 +605,7 @@ const w = Symbol("null"), le = Symbol("create"), Ot = "`1234567890-=[]\\;',./~!@
547
605
  "update:modelValue",
548
606
  this.selectedOption && this.valueExtractor ? this.valueExtractor(this.selectedOption) : this.selectedOption
549
607
  );
550
- }), this.remoteSearch && this.$watch("searchText", Pe(this.reloadOptionsIfSearching, 250));
608
+ }), this.remoteSearch && this.$watch("searchText", Xe(this.reloadOptionsIfSearching, 250));
551
609
  },
552
610
  methods: {
553
611
  async loadRemoteOptions() {
@@ -592,7 +650,7 @@ const w = Symbol("null"), le = Symbol("create"), Ot = "`1234567890-=[]\\;',./~!@
592
650
  this.searchText.length > 1 && (this.isSearching = !0);
593
651
  return;
594
652
  }
595
- !e.metaKey && Ot.includes(e.key) && (this.isSearching = !0);
653
+ !e.metaKey && Ct.includes(e.key) && (this.isSearching = !0);
596
654
  }
597
655
  },
598
656
  handleInputFocused() {
@@ -600,7 +658,7 @@ const w = Symbol("null"), le = Symbol("create"), Ot = "`1234567890-=[]\\;',./~!@
600
658
  },
601
659
  setHighlightedOptionKey(e) {
602
660
  var t;
603
- this.selectedOption ? this.highlightedOptionKey = this.getOptionKey(this.selectedOption) : e ? this.highlightedOptionKey = ((t = this.effectiveOptions) == null ? void 0 : t[0].key) ?? w : this.nullTitle && (this.highlightedOptionKey = w);
661
+ this.selectedOption ? this.highlightedOptionKey = this.getOptionKey(this.selectedOption) : e ? this.highlightedOptionKey = ((t = this.effectiveOptions) == null ? void 0 : t[0].key) ?? C : this.nullTitle && (this.highlightedOptionKey = C);
604
662
  },
605
663
  getOptionKey(e) {
606
664
  var t;
@@ -610,7 +668,7 @@ const w = Symbol("null"), le = Symbol("create"), Ot = "`1234567890-=[]\\;',./~!@
610
668
  const t = this.effectiveOptions.find((i) => i.ref === e);
611
669
  if (t)
612
670
  return t;
613
- const n = this.effectiveOptions.find((i) => Oe(i.ref, e));
671
+ const n = this.effectiveOptions.find((i) => ke(i.ref, e));
614
672
  return n || null;
615
673
  },
616
674
  handleInputBlurred() {
@@ -648,9 +706,9 @@ const w = Symbol("null"), le = Symbol("create"), Ot = "`1234567890-=[]\\;',./~!@
648
706
  s.offsetTop < i.scrollTop ? i.scrollTop = s.offsetTop : s.offsetTop + s.offsetHeight > i.scrollTop + i.clientHeight && (i.scrollTop = s.offsetTop + s.offsetHeight - i.clientHeight);
649
707
  },
650
708
  selectOption(e) {
651
- if (this.isSearching = !1, e.key == w)
709
+ if (this.isSearching = !1, e.key == C)
652
710
  this.searchText = "", this.selectedOption = null, this.selectedOptionTitle = null;
653
- else if (e.key === le) {
711
+ else if (e.key === ae) {
654
712
  const t = this.searchText.trim();
655
713
  this.searchText = "", this.selectedOption = null, this.selectedOptionTitle = null, this.$emit("createItem", t);
656
714
  } else {
@@ -667,61 +725,61 @@ const w = Symbol("null"), le = Symbol("create"), Ot = "`1234567890-=[]\\;',./~!@
667
725
  }
668
726
  }
669
727
  };
670
- const wt = ["placeholder"], St = {
728
+ const It = ["placeholder"], Ht = {
671
729
  key: 0,
672
730
  ref: "optionsContainer",
673
731
  class: "vf-smart-select-options"
674
- }, kt = {
732
+ }, Dt = {
675
733
  key: 0,
676
734
  class: "no-results"
677
- }, Mt = ["onMousemove", "onMousedown"], xt = ["innerHTML"], Lt = ["innerHTML"], Ct = {
735
+ }, At = ["onMousemove", "onMousedown"], $t = ["innerHTML"], Bt = ["innerHTML"], _t = {
678
736
  key: 0,
679
737
  class: "no-results"
680
738
  };
681
- function It(e, t, n, i, s, o) {
682
- const r = ye("disabled");
683
- return c(), u("div", {
684
- class: b(["vf-smart-select", { disabled: o.effectiveDisabled, open: e.shouldDisplayOptions }])
739
+ function Vt(e, t, n, i, s, o) {
740
+ const r = Oe("disabled");
741
+ return u(), f("div", {
742
+ class: T(["vf-smart-select", { disabled: o.effectiveDisabled, open: e.shouldDisplayOptions }])
685
743
  }, [
686
- F(y("input", {
744
+ K(k("input", {
687
745
  "onUpdate:modelValue": t[0] || (t[0] = (l) => e.searchText = l),
688
746
  ref: "searchField",
689
747
  type: "text",
690
- class: b({ nullable: !!n.nullTitle }),
748
+ class: T({ nullable: !!n.nullTitle }),
691
749
  onKeydown: t[1] || (t[1] = (...l) => o.handleKeyDown && o.handleKeyDown(...l)),
692
750
  placeholder: o.effectivePlaceholder,
693
751
  onFocus: t[2] || (t[2] = (...l) => o.handleInputFocused && o.handleInputFocused(...l)),
694
752
  onBlur: t[3] || (t[3] = (...l) => o.handleInputBlurred && o.handleInputBlurred(...l))
695
- }, null, 42, wt), [
696
- [je, e.searchText],
753
+ }, null, 42, It), [
754
+ [ze, e.searchText],
697
755
  [r, o.effectiveDisabled]
698
756
  ]),
699
- e.shouldDisplayOptions ? (c(), u("div", St, [
700
- e.isLoaded ? (c(), u(_, { key: 1 }, [
701
- (c(!0), u(_, null, z(o.effectiveOptions, (l) => (c(), u("div", {
757
+ e.shouldDisplayOptions ? (u(), f("div", Ht, [
758
+ e.isLoaded ? (u(), f(U, { key: 1 }, [
759
+ (u(!0), f(U, null, G(o.effectiveOptions, (l) => (u(), f("div", {
702
760
  key: String(l.key),
703
- class: b(["option", {
761
+ class: T(["option", {
704
762
  highlighted: e.highlightedOptionKey === l.key
705
763
  }]),
706
- onMousemove: (a) => o.handleOptionHover(l),
707
- onMousedown: (a) => o.selectOption(l)
764
+ onMousemove: (c) => o.handleOptionHover(l),
765
+ onMousedown: (c) => o.selectOption(l)
708
766
  }, [
709
- y("div", {
767
+ k("div", {
710
768
  class: "title",
711
769
  innerHTML: l.title
712
- }, null, 8, xt),
713
- l.subtitle ? (c(), u("div", {
770
+ }, null, 8, $t),
771
+ l.subtitle ? (u(), f("div", {
714
772
  key: 0,
715
773
  class: "subtitle",
716
774
  innerHTML: l.subtitle
717
- }, null, 8, Lt)) : T("", !0)
718
- ], 42, Mt))), 128)),
719
- !o.effectiveOptions.length && e.searchText ? (c(), u("div", Ct, M(o.effectiveNoResultsText), 1)) : T("", !0)
720
- ], 64)) : (c(), u("div", kt, "Loading..."))
721
- ], 512)) : T("", !0)
775
+ }, null, 8, Bt)) : b("", !0)
776
+ ], 42, At))), 128)),
777
+ !o.effectiveOptions.length && e.searchText ? (u(), f("div", _t, H(o.effectiveNoResultsText), 1)) : b("", !0)
778
+ ], 64)) : (u(), f("div", Dt, "Loading..."))
779
+ ], 512)) : b("", !0)
722
780
  ], 2);
723
781
  }
724
- const Ht = /* @__PURE__ */ be(bt, [["render", It]]), Cn = /* @__PURE__ */ D({
782
+ const Ft = /* @__PURE__ */ Se(Mt, [["render", Vt]]), Vn = /* @__PURE__ */ x({
725
783
  __name: "ez-smart-select",
726
784
  props: {
727
785
  modelValue: {},
@@ -732,182 +790,206 @@ const Ht = /* @__PURE__ */ be(bt, [["render", It]]), Cn = /* @__PURE__ */ D({
732
790
  },
733
791
  emits: ["update:modelValue"],
734
792
  setup(e, { emit: t }) {
735
- const n = e, i = B(() => Array.isArray(n.options) ? n.options.map((r) => ({ value: r, label: r })) : Object.entries(n.options).map(([r, l]) => ({
793
+ const n = e, i = N(() => Array.isArray(n.options) ? n.options.map((r) => ({ value: r, label: r })) : Object.entries(n.options).map(([r, l]) => ({
736
794
  value: r,
737
795
  label: l
738
- }))), s = B(() => n.formatter ? (r) => {
796
+ }))), s = N(() => n.formatter ? (r) => {
739
797
  var l;
740
798
  return (l = n.formatter) == null ? void 0 : l.call(n, r.label);
741
- } : (r) => r.label), o = I(i.value.find((r) => r.value === n.modelValue) ?? null);
742
- return ie(
799
+ } : (r) => r.label), o = w(i.value.find((r) => r.value === n.modelValue) ?? null);
800
+ return oe(
743
801
  () => n.modelValue,
744
802
  (r) => {
745
803
  o.value = i.value.find((l) => l.value === r) ?? null;
746
804
  }
747
- ), ie(o, (r) => {
805
+ ), oe(o, (r) => {
748
806
  var l;
749
- t("update:modelValue", r ? ((l = i.value.find((a) => Oe(a, r))) == null ? void 0 : l.value) ?? null : null);
750
- }), (r, l) => (c(), Z(Ht, {
807
+ t("update:modelValue", r ? ((l = i.value.find((c) => ke(c, r))) == null ? void 0 : l.value) ?? null : null);
808
+ }), (r, l) => (u(), be(Ft, {
751
809
  modelValue: o.value,
752
- "onUpdate:modelValue": l[0] || (l[0] = (a) => o.value = a),
810
+ "onUpdate:modelValue": l[0] || (l[0] = (c) => o.value = c),
753
811
  options: i.value,
754
812
  formatter: s.value,
755
813
  "null-title": r.nullTitle
756
814
  }, null, 8, ["modelValue", "options", "formatter", "null-title"]));
757
815
  }
758
816
  });
759
- function Dt(e) {
817
+ function Rt(e) {
760
818
  const t = Math.floor(Math.log(e) / Math.log(1024)), i = (e / Math.pow(1024, t)).toFixed(2), s = ["B", "KB", "MB", "GB", "TB"][t];
761
819
  return `${i} ${s}`;
762
820
  }
763
- function $t(e) {
821
+ function Nt(e) {
764
822
  return e != null && String(e).length ? e : "-";
765
823
  }
766
- function At(e) {
824
+ function Kt(e) {
767
825
  return e || "-";
768
826
  }
769
- function Vt(e) {
770
- return e === null || typeof e == "string" && !/^\d+$/.test(e) ? e : jt(Number(e));
827
+ function Ut(e) {
828
+ return e === null || typeof e == "string" && !/^\d+$/.test(e) ? e : Zt(Number(e));
771
829
  }
772
- function Bt(e) {
773
- return e && Et(e);
830
+ function jt(e) {
831
+ return e && xt(e);
774
832
  }
775
- function Ft(e) {
776
- return e ? We(e) : null;
833
+ function Wt(e) {
834
+ return e ? Ye(e) : null;
777
835
  }
778
- function _t(e) {
779
- return e ? qe(e) : null;
836
+ function Pt(e) {
837
+ return e ? Ze(e) : null;
780
838
  }
781
- function Nt(e) {
839
+ function qt(e) {
782
840
  return e ? e.toUpperCase() : null;
783
841
  }
784
- function Kt(e) {
785
- return e ? yt(e) : null;
786
- }
787
- function Rt(e) {
788
- return Tt(e);
789
- }
790
- const re = {
791
- bytes: Dt,
792
- dash: $t,
793
- dashZeros: At,
794
- number: Vt,
795
- phone: Bt,
796
- upperFirst: Ft,
797
- startCase: _t,
798
- upperCase: Nt,
799
- desnake: Kt,
800
- usCurrency: Rt
801
- }, In = (e) => ({
802
- ...re,
803
- ...e(re)
842
+ function zt(e) {
843
+ return e ? St(e) : null;
844
+ }
845
+ function Xt(e) {
846
+ return Lt(e);
847
+ }
848
+ const ce = {
849
+ bytes: Rt,
850
+ dash: Nt,
851
+ dashZeros: Kt,
852
+ number: Ut,
853
+ phone: jt,
854
+ upperFirst: Wt,
855
+ startCase: Pt,
856
+ upperCase: qt,
857
+ desnake: zt,
858
+ usCurrency: Xt
859
+ }, Fn = (e) => ({
860
+ ...ce,
861
+ ...e(ce)
804
862
  });
805
- function Hn(e, t, n) {
863
+ function Rn(e, t, n) {
806
864
  const i = typeof t == "function" ? e.findIndex(t) : e.indexOf(t);
807
865
  return i === -1 ? !1 : (e.splice(i, 1, n), !0);
808
866
  }
809
- function Dn(e, t) {
867
+ function Nn(e, t) {
810
868
  const n = document.createElement("div");
811
- n.classList.add("vf-overlay"), n.addEventListener("click", d), document.body.appendChild(n);
869
+ n.classList.add("vf-overlay"), n.addEventListener("click", a), document.body.appendChild(n);
812
870
  const i = document.createElement("div");
813
871
  i.classList.add("vf-context-menu"), i.style.position = "absolute", n.appendChild(i);
814
872
  const s = e.currentTarget;
815
- s.style.userSelect = "none", s.classList.add("context-menu-active"), t.targetClass && s.classList.add(t.targetClass), t.class && i.classList.add(t.class), t.items.forEach((f) => {
816
- if (f == "-") {
817
- const A = document.createElement("div");
818
- A.classList.add("separator"), i.appendChild(A);
873
+ s.style.userSelect = "none", s.classList.add("context-menu-active"), t.targetClass && s.classList.add(t.targetClass), t.class && i.classList.add(t.class), t.items.forEach((d) => {
874
+ if (d == "-") {
875
+ const E = document.createElement("div");
876
+ E.classList.add("separator"), i.appendChild(E);
819
877
  return;
820
878
  }
821
879
  const g = document.createElement("div");
822
- g.classList.add("item"), g.style.userSelect = "none", g.innerText = f.title, i.appendChild(g), f.class && g.classList.add(f.class), f.shouldConfirm ? g.addEventListener("click", () => E(g, f.handler)) : g.addEventListener("click", () => f.handler());
880
+ g.classList.add("item"), g.style.userSelect = "none", g.innerText = d.title, i.appendChild(g), d.class && g.classList.add(d.class), d.shouldConfirm ? g.addEventListener("click", () => p(g, d.handler)) : g.addEventListener("click", () => d.handler());
823
881
  });
824
- const o = window.innerWidth - e.clientX, r = window.innerHeight - e.clientY, l = i.offsetHeight, a = i.offsetWidth, v = o < a ? e.clientX - a - 1 : e.clientX + 1, h = r < l ? e.clientY - l - 1 : e.clientY + 1;
882
+ const o = window.innerWidth - e.clientX, r = window.innerHeight - e.clientY, l = i.offsetHeight, c = i.offsetWidth, v = o < c ? e.clientX - c - 1 : e.clientX + 1, h = r < l ? e.clientY - l - 1 : e.clientY + 1;
825
883
  i.style.left = v + "px", i.style.top = h + "px", setTimeout(() => {
826
884
  i.style.width = i.offsetWidth + "px";
827
885
  }, 50);
828
- function d() {
886
+ function a() {
829
887
  t.targetClass && s.classList.remove(t.targetClass), s.classList.remove("context-menu-active"), s.style.userSelect = "", n.remove();
830
888
  }
831
- function E(f, g) {
832
- if (f.classList.contains("pending-confirm"))
889
+ function p(d, g) {
890
+ if (d.classList.contains("pending-confirm"))
833
891
  return g();
834
- const A = f.innerHTML;
835
- f.classList.add("pending-confirm"), f.innerText = "Confirm";
836
- const te = () => {
837
- f.classList.remove("pending-confirm"), f.innerHTML = A, f.removeEventListener("mouseleave", te);
892
+ const E = d.innerHTML;
893
+ d.classList.add("pending-confirm"), d.innerText = "Confirm";
894
+ const S = () => {
895
+ d.classList.remove("pending-confirm"), d.innerHTML = E, d.removeEventListener("mouseleave", S);
838
896
  };
839
- f.addEventListener("mouseleave", te), e.stopPropagation();
897
+ d.addEventListener("mouseleave", S), e.stopPropagation();
840
898
  }
841
899
  }
842
- const Ut = (e) => new Promise((t) => setTimeout(t, e)), $n = (e) => Ut(e * 1e3);
843
- function jt(e) {
900
+ const Yt = (e) => new Promise((t) => setTimeout(t, e)), Kn = (e) => Yt(e * 1e3);
901
+ function Zt(e) {
844
902
  return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
845
903
  }
846
- function An(e, t) {
847
- return e != null ? ze(e) : t;
904
+ function Un(e, t) {
905
+ return e != null ? Ge(e) : t;
848
906
  }
849
- function Vn(e, t) {
907
+ function jn(e, t) {
850
908
  const n = { ...e };
851
909
  for (const i of t)
852
910
  n[i] === "" && (n[i] = null);
853
911
  return n;
854
912
  }
855
- function Pt(e) {
913
+ function Gt(e) {
856
914
  return e instanceof Error && "status" in e && "body" in e;
857
915
  }
858
- function Bn({ apiClient: e, onRequest: t, onError: n, CancelablePromise: i }) {
916
+ function Wn({ apiClient: e, onRequest: t, onError: n, CancelablePromise: i }) {
859
917
  const s = e.request.request.bind(e.request);
860
- e.request.request = (o) => (t && (o = t(o)), new i((r, l, a) => {
918
+ e.request.request = (o) => (o = Qt(o), t && (o = t(o)), new i((r, l, c) => {
861
919
  const v = s(o);
862
- a(v.cancel), v.then(r).catch((h) => {
863
- if (Pt(h) && typeof h.body == "object" && "error" in h.body) {
920
+ c(v.cancel), v.then(r).catch((h) => {
921
+ if (Gt(h) && typeof h.body == "object" && "error" in h.body) {
864
922
  if (h.status === 422)
865
- return l(new K(h.body.error));
923
+ return l(new P(h.body.error));
866
924
  h.message = `${h.body.error} (${h.status})`;
867
925
  }
868
926
  if (n) {
869
- const d = n(h, o);
870
- if (d === null)
927
+ const a = n(h, o);
928
+ if (a === null)
871
929
  return;
872
- if (d instanceof Error)
873
- return l(d);
930
+ if (a instanceof Error)
931
+ return l(a);
874
932
  }
875
933
  l(h);
876
934
  });
877
935
  }));
878
936
  }
879
- const J = Symbol("HookState");
880
- function Fn(e, t) {
881
- const n = t ?? ge();
882
- X(() => Wt(n, e), n), Ee(() => qt(n), n), Te(() => ae(n), n), Y(() => ae(n), n);
937
+ class de {
938
+ constructor(t) {
939
+ m(this, "validator", null);
940
+ m(this, "lastModifiedDate", null);
941
+ m(this, "size", 0);
942
+ m(this, "path", "");
943
+ m(this, "name", "");
944
+ m(this, "type", "");
945
+ m(this, "blob");
946
+ this.blob = t;
947
+ }
883
948
  }
884
- function Wt(e, t) {
949
+ function Qt(e) {
950
+ if (!(typeof e.body == "object" && Object.values(e.body).some((s) => s instanceof de)))
951
+ return e;
952
+ const n = {}, i = {};
953
+ for (const [s, o] of Object.entries(e.body))
954
+ o instanceof de ? n[s] = o.blob : i[s] = o;
955
+ return n._payload = new Blob([JSON.stringify(i)], { type: "application/json" }), {
956
+ ...e,
957
+ body: void 0,
958
+ formData: n
959
+ };
960
+ }
961
+ const ne = Symbol("HookState");
962
+ function Pn(e, t) {
963
+ const n = t ?? Q();
964
+ B(() => Jt(n, e), n), Te(() => en(n), n), we(() => ue(n), n), J(() => ue(n), n);
965
+ }
966
+ function Jt(e, t) {
885
967
  const n = {};
886
- if (t.elScrolledToBottom && (n.el = new L(e.vnode.el, t.elScrolledToBottom)), t.ancestorScrolledToBottom) {
887
- const i = Ce(e.vnode.el);
888
- i ? n.ancestor = new L(i, t.ancestorScrolledToBottom) : console.warn("[VueFoundation] No scollable ancestor found for component:", e);
968
+ if (t.elScrolledToBottom && (n.el = new A(e.vnode.el, t.elScrolledToBottom)), t.ancestorScrolledToBottom) {
969
+ const i = De(e.vnode.el);
970
+ i ? n.ancestor = new A(i, t.ancestorScrolledToBottom) : console.warn("[VueFoundation] No scollable ancestor found for component:", e);
889
971
  }
890
- t.windowScrolledToBottom && (n.window = new L(window, t.windowScrolledToBottom)), e[J] = n;
972
+ t.windowScrolledToBottom && (n.window = new A(window, t.windowScrolledToBottom)), e[ne] = n;
891
973
  }
892
- function qt(e) {
974
+ function en(e) {
893
975
  var n, i, s;
894
- const t = e[J];
976
+ const t = e[ne];
895
977
  (n = t == null ? void 0 : t.el) == null || n.install(), (i = t == null ? void 0 : t.ancestor) == null || i.install(), (s = t == null ? void 0 : t.window) == null || s.install();
896
978
  }
897
- function ae(e) {
979
+ function ue(e) {
898
980
  var n, i, s;
899
- const t = e[J];
981
+ const t = e[ne];
900
982
  (n = t == null ? void 0 : t.el) == null || n.uninstall(), (i = t == null ? void 0 : t.ancestor) == null || i.uninstall(), (s = t == null ? void 0 : t.window) == null || s.uninstall();
901
983
  }
902
- const P = ["auto", "scroll"];
903
- function Ce(e) {
984
+ const X = ["auto", "scroll"];
985
+ function De(e) {
904
986
  const t = e.parentElement;
905
987
  if (!t)
906
988
  return null;
907
989
  const n = window.getComputedStyle(t);
908
- return P.includes(n.overflow) || P.includes(n.overflowX) || P.includes(n.overflowY) ? t : Ce(t);
990
+ return X.includes(n.overflow) || X.includes(n.overflowX) || X.includes(n.overflowY) ? t : De(t);
909
991
  }
910
- class L {
992
+ class A {
911
993
  constructor(t, n) {
912
994
  m(this, "isTripped", !1);
913
995
  m(this, "onScrollWithContext", this.onScroll.bind(this));
@@ -923,30 +1005,30 @@ class L {
923
1005
  Math.ceil(this.el.scrollTop + this.el.clientHeight + 5) >= this.el.scrollHeight ? this.isTripped || (this.handler(t), this.isTripped = !0) : this.isTripped && (this.isTripped = !1);
924
1006
  }
925
1007
  }
926
- function _n(e) {
927
- X(() => window.addEventListener("resize", e)), Ee(() => window.addEventListener("resize", e)), Te(() => window.removeEventListener("resize", e)), Y(() => window.removeEventListener("resize", e));
1008
+ function qn(e) {
1009
+ B(() => window.addEventListener("resize", e)), Te(() => window.addEventListener("resize", e)), we(() => window.removeEventListener("resize", e)), J(() => window.removeEventListener("resize", e));
928
1010
  }
929
- const zt = {
930
- mounted: de,
931
- updated: de
932
- }, ce = Symbol("HasAutoFocused");
933
- function de(e, t) {
934
- if (t.value === void 0 && e[ce] || t.value !== void 0 && !t.value || t.oldValue !== void 0 && t.value == t.oldValue)
1011
+ const tn = {
1012
+ mounted: fe,
1013
+ updated: fe
1014
+ }, he = Symbol("HasAutoFocused");
1015
+ function fe(e, t) {
1016
+ if (t.value === void 0 && e[he] || t.value !== void 0 && !t.value || t.oldValue !== void 0 && t.value == t.oldValue)
935
1017
  return;
936
- e[ce] = !0;
1018
+ e[he] = !0;
937
1019
  const n = ["BUTTON", "INPUT", "TEXTAREA", "SELECT"].indexOf(e.tagName) > -1 ? e : e.querySelectorAll("input")[0];
938
1020
  setTimeout(() => n.focus(), 10);
939
1021
  }
940
- const Xt = {
941
- mounted: Yt
942
- }, S = Symbol("ConfirmState");
943
- function Yt(e) {
1022
+ const nn = {
1023
+ mounted: sn
1024
+ }, M = Symbol("ConfirmState");
1025
+ function sn(e) {
944
1026
  e.addEventListener("click", (t) => {
945
1027
  const n = Date.now();
946
- if (e[S]) {
947
- if (n - e[S].initTime < 300)
1028
+ if (e[M]) {
1029
+ if (n - e[M].initTime < 300)
948
1030
  return;
949
- e[S].resetHandler(), e.dispatchEvent(new Event("confirm"));
1031
+ e[M].resetHandler(), e.dispatchEvent(new Event("confirm"));
950
1032
  return;
951
1033
  }
952
1034
  t.preventDefault(), t.stopImmediatePropagation();
@@ -954,34 +1036,34 @@ function Yt(e) {
954
1036
  initTime: n,
955
1037
  preconfirmHtml: e.innerHTML,
956
1038
  resetHandler: () => {
957
- e.innerHTML = i.preconfirmHtml, e.blur(), e.removeEventListener("mouseout", i.resetHandler), delete e[S];
1039
+ e.innerHTML = i.preconfirmHtml, e.blur(), e.removeEventListener("mouseout", i.resetHandler), delete e[M];
958
1040
  }
959
1041
  };
960
- e[S] = i, e.innerHTML = "Confirm", e.addEventListener("mouseout", i.resetHandler);
1042
+ e[M] = i, e.innerHTML = "Confirm", e.addEventListener("mouseout", i.resetHandler);
961
1043
  });
962
1044
  }
963
- const Zt = {
964
- beforeMount: Gt
1045
+ const on = {
1046
+ beforeMount: ln
965
1047
  };
966
- function Gt(e) {
1048
+ function ln(e) {
967
1049
  e.addEventListener("blur", () => {
968
1050
  let t = e.value;
969
- /^\d{1,2}\/\d{1,2}$/.test(t) && (t += "/" + W(/* @__PURE__ */ new Date(), "yy"));
1051
+ /^\d{1,2}\/\d{1,2}$/.test(t) && (t += "/" + Y(/* @__PURE__ */ new Date(), "yy"));
970
1052
  const n = Date.parse(t);
971
- isNaN(n) ? e.value = "" : e.value = W(n, "MM/dd/yyyy"), e.dispatchEvent(new Event("input"));
1053
+ isNaN(n) ? e.value = "" : e.value = Y(n, "MM/dd/yyyy"), e.dispatchEvent(new Event("input"));
972
1054
  });
973
1055
  }
974
- const Qt = {
975
- beforeMount: ue,
976
- updated: ue
1056
+ const rn = {
1057
+ beforeMount: pe,
1058
+ updated: pe
977
1059
  };
978
- function ue(e, t) {
979
- t.value == t.oldValue && e.innerHTML.length || (e.innerText = Jt(e, t));
1060
+ function pe(e, t) {
1061
+ t.value == t.oldValue && e.innerHTML.length || (e.innerText = an(e, t));
980
1062
  }
981
- function Jt(e, t) {
982
- var a, v;
1063
+ function an(e, t) {
1064
+ var c, v;
983
1065
  if (!t.value)
984
- return ((a = e.attributes.getNamedItem("placeholder")) == null ? void 0 : a.value) ?? "";
1066
+ return ((c = e.attributes.getNamedItem("placeholder")) == null ? void 0 : c.value) ?? "";
985
1067
  let n = "";
986
1068
  const i = t.value.replace(/ /g, "T").replace(/\.\d+Z$/, "Z"), s = e.attributes.getNamedItem("local") !== null ? i.replace(/Z$/, "") : i.replace(/(Z|\+00:00)?$/, "Z"), o = new Date(s);
987
1069
  e.attributes.getNamedItem("display-utc") !== null && o.setMinutes(o.getMinutes() - o.getTimezoneOffset());
@@ -990,50 +1072,50 @@ function Jt(e, t) {
990
1072
  const h = /* @__PURE__ */ new Date();
991
1073
  h.getFullYear() == o.getFullYear() && h.getMonth() == o.getMonth() && h.getDate() == o.getDate() && (n = "at", r = "HH:mm");
992
1074
  }
993
- r || (r = $.defaultDateTimeFormat);
994
- let l = W(o, r);
1075
+ r || (r = V.defaultDateTimeFormat);
1076
+ let l = Y(o, r);
995
1077
  return n && (l = n + " " + l), l;
996
1078
  }
997
- const en = {
998
- beforeMount: he,
999
- updated: he,
1000
- unmounted: tn
1079
+ const cn = {
1080
+ beforeMount: me,
1081
+ updated: me,
1082
+ unmounted: dn
1001
1083
  };
1002
- function he(e, t) {
1084
+ function me(e, t) {
1003
1085
  e.tagName === "LABEL" && (t.value ? e.classList.remove("disabled") : e.classList.add("disabled"), e = e.querySelector("input")), t.value ? e.setAttribute("disabled", "disabled") : e.removeAttribute("disabled");
1004
1086
  }
1005
- function tn(e) {
1087
+ function dn(e) {
1006
1088
  e.tagName === "LABEL" && (e.classList.remove("disabled"), e = e.querySelector("input")), e.removeAttribute("disabled");
1007
1089
  }
1008
- const nn = {
1009
- beforeMount: fe,
1010
- updated: fe,
1011
- unmounted: He
1012
- }, H = Symbol("HasAutoFocused"), ee = [];
1013
- function sn() {
1014
- ee.forEach(Ie);
1015
- }
1016
- setInterval(sn, 1e3);
1017
- function fe(e, t) {
1090
+ const un = {
1091
+ beforeMount: ve,
1092
+ updated: ve,
1093
+ unmounted: $e
1094
+ }, _ = Symbol("HasAutoFocused"), ie = [];
1095
+ function hn() {
1096
+ ie.forEach(Ae);
1097
+ }
1098
+ setInterval(hn, 1e3);
1099
+ function ve(e, t) {
1018
1100
  var r;
1019
1101
  if (t.value == t.oldValue)
1020
1102
  return;
1021
1103
  if (!t.value)
1022
- return He(e);
1104
+ return $e(e);
1023
1105
  const n = new Date(t.value), i = (r = e.attributes.getNamedItem("base-time")) == null ? void 0 : r.value, s = n.getTime() - (i ? new Date(i).getTime() - t.value * 1e3 : 0), o = e.getAttribute("no-seconds") === null;
1024
- e[H] || ee.push(e), e[H] = {
1106
+ e[_] || ie.push(e), e[_] = {
1025
1107
  startTs: s,
1026
1108
  includeSeconds: o
1027
- }, Ie(e);
1109
+ }, Ae(e);
1028
1110
  }
1029
- function Ie(e) {
1030
- const t = e[H], n = Math.round((Date.now() - t.startTs) / 1e3);
1031
- e.innerText = on(n, t.includeSeconds);
1111
+ function Ae(e) {
1112
+ const t = e[_], n = Math.round((Date.now() - t.startTs) / 1e3);
1113
+ e.innerText = fn(n, t.includeSeconds);
1032
1114
  }
1033
- function He(e) {
1034
- e[H] && (Xe(ee, e), delete e[H]), e.innerText = "-";
1115
+ function $e(e) {
1116
+ e[_] && (Qe(ie, e), delete e[_]), e.innerText = "-";
1035
1117
  }
1036
- function on(e, t) {
1118
+ function fn(e, t) {
1037
1119
  const n = [], i = Math.floor(e / 86400);
1038
1120
  i && n.push(i + "d"), e -= i * 86400;
1039
1121
  const s = Math.floor(e / 3600);
@@ -1041,31 +1123,31 @@ function on(e, t) {
1041
1123
  const o = Math.floor(e / 60);
1042
1124
  return (i || s || o) && n.push(o + "m"), t ? n.length || n.push("0m") : (e -= o * 60, n.push(e + "s")), n.join(" ");
1043
1125
  }
1044
- const k = Symbol("InfiniteScrollHandler"), ln = {
1126
+ const I = Symbol("InfiniteScrollHandler"), pn = {
1045
1127
  mounted(e, t) {
1046
- e[k] = new L(e, t.value);
1128
+ e[I] = new A(e, t.value);
1047
1129
  },
1048
1130
  updated(e, t) {
1049
1131
  var n;
1050
- (n = e[k]) == null || n.uninstall(), e[k] = new L(e, t.value);
1132
+ (n = e[I]) == null || n.uninstall(), e[I] = new A(e, t.value);
1051
1133
  },
1052
1134
  unmounted(e) {
1053
1135
  var t;
1054
- (t = e[k]) == null || t.uninstall(), delete e[k];
1136
+ (t = e[I]) == null || t.uninstall(), delete e[I];
1055
1137
  }
1056
- }, rn = {
1057
- beforeMount: pe,
1058
- updated: pe
1138
+ }, mn = {
1139
+ beforeMount: ye,
1140
+ updated: ye
1059
1141
  };
1060
- function pe(e, t) {
1142
+ function ye(e, t) {
1061
1143
  e.tagName == "LABEL" && (e = e.querySelector("input")), t.value ? e.setAttribute("readonly", "readonly") : e.removeAttribute("readonly");
1062
1144
  }
1063
- const an = {
1064
- mounted: me,
1065
- updated: me,
1066
- unmounted: De
1067
- }, C = Symbol("TooltipState");
1068
- function me(e, t) {
1145
+ const vn = {
1146
+ mounted: ge,
1147
+ updated: ge,
1148
+ unmounted: Be
1149
+ }, $ = Symbol("TooltipState");
1150
+ function ge(e, t) {
1069
1151
  var i;
1070
1152
  let n = ((i = e.attributes.getNamedItem("tip")) == null ? void 0 : i.value) ?? t.value;
1071
1153
  if (t.value || (n = null), n) {
@@ -1073,15 +1155,15 @@ function me(e, t) {
1073
1155
  content: n,
1074
1156
  html: e.getAttribute("html") !== null
1075
1157
  };
1076
- e[C] ? e[C].configure(s) : e[C] = new cn(e, s);
1158
+ e[$] ? e[$].configure(s) : e[$] = new yn(e, s);
1077
1159
  } else
1078
- De(e);
1160
+ Be(e);
1079
1161
  }
1080
- function De(e) {
1162
+ function Be(e) {
1081
1163
  var t;
1082
- (t = e[C]) == null || t.destroy(), delete e[C];
1164
+ (t = e[$]) == null || t.destroy(), delete e[$];
1083
1165
  }
1084
- class cn {
1166
+ class yn {
1085
1167
  constructor(t, n) {
1086
1168
  m(this, "lastMoveEvt");
1087
1169
  m(this, "checkInterval");
@@ -1129,58 +1211,60 @@ class cn {
1129
1211
  this.shouldShow = !1, this.removeTooltip(), this.el.removeEventListener("mouseenter", this.handleTargetMouseEnterWithContext), this.el.removeEventListener("mouseleave", this.handleTargetMouseLeaveWithContext);
1130
1212
  }
1131
1213
  }
1132
- function dn(e) {
1133
- e.directive("autofocus", zt), e.directive("confirm-button", Xt), e.directive("date-input", Zt), e.directive("datetime", Qt), e.directive("disabled", en), e.directive("duration", nn), e.directive("infinite-scroll", ln), e.directive("readonly", rn), e.directive("tooltip", an);
1214
+ function gn(e) {
1215
+ e.directive("autofocus", tn), e.directive("confirm-button", nn), e.directive("date-input", on), e.directive("datetime", rn), e.directive("disabled", cn), e.directive("duration", un), e.directive("infinite-scroll", pn), e.directive("readonly", mn), e.directive("tooltip", vn);
1134
1216
  }
1135
- function Nn(e) {
1136
- dn(e);
1217
+ function zn(e) {
1218
+ gn(e);
1137
1219
  }
1138
1220
  export {
1139
- gn as ModalContainer,
1140
- K as UserError,
1141
- vn as VfAjaxSelect,
1142
- R as VfAlertModal,
1143
- Cn as VfEzSmartSelect,
1144
- dt as VfModal,
1145
- Ht as VfSmartSelect,
1146
- An as cloneProp,
1147
- bn as configureVf,
1148
- In as createFilters,
1149
- we as createModalInjection,
1150
- yt as desnakeCase,
1151
- Un as escapeHtml,
1152
- it as formatError,
1153
- jt as formatNumber,
1154
- Et as formatPhone,
1155
- Tt as formatUSCurrency,
1156
- Sn as handleError,
1157
- wn as handleErrorAndAlert,
1158
- Bn as installApiClientInterceptors,
1159
- Nn as installVf,
1160
- Pt as isApiError,
1161
- kn as maskComponent,
1162
- st as maskEl,
1163
- ot as maskForm,
1164
- xn as nl2br,
1165
- Vn as nullifyEmptyInputs,
1166
- G as presentModal,
1167
- Se as removeModalInjection,
1168
- yn as removeModalInjectionByInstance,
1169
- ke as removeModalInjectionByInternalInstance,
1170
- nt as removeModalInjectionByVnode,
1171
- Hn as replaceElement,
1172
- se as showAlert,
1173
- En as showConfirm,
1174
- Tn as showConfirmDestroy,
1175
- Dn as showContextMenu,
1176
- On as showWait,
1177
- Ut as sleep,
1178
- $n as sleepSecs,
1179
- Q as toError,
1180
- Mn as unmaskComponent,
1221
+ de as FileUploadRequest,
1222
+ Sn as OverlayContainer,
1223
+ P as UserError,
1224
+ kn as VfAjaxSelect,
1225
+ q as VfAlertModal,
1226
+ Vn as VfEzSmartSelect,
1227
+ yt as VfModal,
1228
+ Ft as VfSmartSelect,
1229
+ Un as cloneProp,
1230
+ In as configureVf,
1231
+ Fn as createFilters,
1232
+ xe as createOverlayInjection,
1233
+ St as desnakeCase,
1234
+ ct as dismissOverlayInjectionById,
1235
+ xn as dismissOverlayInjectionByInstance,
1236
+ Le as dismissOverlayInjectionByInternalInstance,
1237
+ at as dismissOverlayInjectionByVnode,
1238
+ Zn as escapeHtml,
1239
+ dt as formatError,
1240
+ Zt as formatNumber,
1241
+ xt as formatPhone,
1242
+ Lt as formatUSCurrency,
1243
+ Dn as handleError,
1244
+ Hn as handleErrorAndAlert,
1245
+ Wn as installApiClientInterceptors,
1246
+ zn as installVf,
1247
+ Gt as isApiError,
1248
+ An as maskComponent,
1249
+ ut as maskEl,
1250
+ ht as maskForm,
1251
+ Bn as nl2br,
1252
+ jn as nullifyEmptyInputs,
1253
+ ee as presentOverlay,
1254
+ Ce as removeOverlayInjection,
1255
+ Rn as replaceElement,
1256
+ le as showAlert,
1257
+ Ln as showConfirm,
1258
+ Cn as showConfirmDestroy,
1259
+ Nn as showContextMenu,
1260
+ Mn as showWait,
1261
+ Yt as sleep,
1262
+ Kn as sleepSecs,
1263
+ te as toError,
1264
+ $n as unmaskComponent,
1181
1265
  Me as unmaskEl,
1182
- xe as unmaskForm,
1183
- Fn as useInfiniteScroll,
1184
- _n as useResizeWatcher,
1185
- Ln as uuid
1266
+ Ie as unmaskForm,
1267
+ Pn as useInfiniteScroll,
1268
+ qn as useResizeWatcher,
1269
+ _n as uuid
1186
1270
  };