@signal24/vue-foundation 4.25.8 → 4.26.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,11 +1,11 @@
1
1
  var $t = Object.defineProperty;
2
2
  var Bt = (e, t, n) => t in e ? $t(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var O = (e, t, n) => Bt(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { defineComponent as R, ref as S, computed as T, watch as D, onMounted as _, createElementBlock as k, withDirectives as oe, openBlock as b, createElementVNode as $, toDisplayString as W, createCommentVNode as V, Fragment as se, renderList as ie, vModelSelect as _t, getCurrentInstance as Ee, withModifiers as be, normalizeStyle as Nt, normalizeClass as A, renderSlot as U, reactive as Rt, h as le, Teleport as Wt, markRaw as Ut, onBeforeUnmount as ae, resolveDirective as jt, createBlock as tt, createSlots as Pt, withCtx as he, createTextVNode as Z, vModelText as qt, onActivated as nt, onDeactivated as ot } from "vue";
4
+ import { defineComponent as R, ref as S, computed as T, watch as D, onMounted as _, createElementBlock as k, withDirectives as le, openBlock as E, createElementVNode as $, toDisplayString as W, createCommentVNode as V, Fragment as re, renderList as ae, vModelSelect as _t, getCurrentInstance as Ee, withModifiers as ke, normalizeStyle as Nt, normalizeClass as A, renderSlot as j, reactive as Rt, h as ue, Teleport as Wt, markRaw as jt, onBeforeUnmount as ce, resolveDirective as Ut, createBlock as tt, createSlots as Pt, withCtx as ye, createTextVNode as Z, vModelText as qt, onActivated as nt, onDeactivated as ot } from "vue";
5
5
  import { compact as st, cloneDeep as zt, uniq as Kt, groupBy as Yt, debounce as Xt, isEqual as it, startCase as Zt, upperFirst as Gt, remove as Jt, last as Qt } from "lodash";
6
6
  import { configureOpenApiClient as en, OpenApiError as tn } from "@signal24/openapi-client-codegen/browser";
7
7
  import { escapeHtml as nn } from "@vue/shared";
8
- import { escapeHtml as ys } from "@vue/shared";
8
+ import { escapeHtml as ws } from "@vue/shared";
9
9
  import { format as P, addDays as on, parse as sn } from "date-fns";
10
10
  const ln = {
11
11
  key: 0,
@@ -13,7 +13,7 @@ const ln = {
13
13
  }, rn = {
14
14
  key: 0,
15
15
  value: null
16
- }, an = ["value"], jo = /* @__PURE__ */ R({
16
+ }, an = ["value"], Po = /* @__PURE__ */ R({
17
17
  __name: "vf-ajax-select",
18
18
  props: {
19
19
  modelValue: {},
@@ -26,8 +26,8 @@ const ln = {
26
26
  emits: ["update:modelValue"],
27
27
  setup(e, { emit: t }) {
28
28
  const n = e, o = t, l = S(null), s = T(() => l.value ? l.value.map((m) => {
29
- const E = m;
30
- return n.preprocesor ? n.preprocesor(E) : n.displayKey ? E[n.displayKey] : "";
29
+ const b = m;
30
+ return n.preprocesor ? n.preprocesor(b) : n.displayKey ? b[n.displayKey] : "";
31
31
  }) : null), a = S(n.modelValue ?? null);
32
32
  D(() => n.loadFn, r), D(
33
33
  () => n.modelValue,
@@ -36,21 +36,21 @@ const ln = {
36
36
  async function r() {
37
37
  l.value = await n.loadFn();
38
38
  }
39
- return _(r), (u, m) => s.value ? oe((b(), k("select", {
39
+ return _(r), (u, m) => s.value ? le((E(), k("select", {
40
40
  key: 1,
41
- "onUpdate:modelValue": m[0] || (m[0] = (E) => a.value = E)
41
+ "onUpdate:modelValue": m[0] || (m[0] = (b) => a.value = b)
42
42
  }, [
43
- n.nullText ? (b(), k("option", rn, W(n.nullText), 1)) : V("", !0),
44
- (b(!0), k(se, null, ie(s.value, (E, p) => {
43
+ n.nullText ? (E(), k("option", rn, W(n.nullText), 1)) : V("", !0),
44
+ (E(!0), k(re, null, ae(s.value, (b, p) => {
45
45
  var y;
46
- return b(), k("option", {
46
+ return E(), k("option", {
47
47
  key: p,
48
48
  value: (y = l.value) == null ? void 0 : y[p]
49
- }, W(E), 9, an);
49
+ }, W(b), 9, an);
50
50
  }), 128))
51
51
  ], 512)), [
52
52
  [_t, a.value]
53
- ]) : (b(), k("select", ln, [
53
+ ]) : (E(), k("select", ln, [
54
54
  $("option", null, W(n.loadingText || "Loading..."), 1)
55
55
  ]));
56
56
  }
@@ -65,11 +65,11 @@ const ln = {
65
65
  _(a);
66
66
  function a() {
67
67
  if (!s) return;
68
- const m = s.vnode.el, { styles: E, classes: p } = r(m, n);
69
- o.value = E, l.value = p;
68
+ const m = s.vnode.el, { styles: b, classes: p } = r(m, n);
69
+ o.value = b, l.value = p;
70
70
  }
71
- function r(m, E) {
72
- const p = t.anchor instanceof HTMLElement ? {} : t.anchor, y = E.getBoundingClientRect(), c = m.getBoundingClientRect();
71
+ function r(m, b) {
72
+ const p = t.anchor instanceof HTMLElement ? {} : t.anchor, y = b.getBoundingClientRect(), c = m.getBoundingClientRect();
73
73
  p.matchWidth && (c.width = y.width), p.matchHeight && (c.height = y.height);
74
74
  const f = p.class ? Array.isArray(p.class) ? p.class : [p.class] : [];
75
75
  let g, M;
@@ -102,27 +102,27 @@ const ln = {
102
102
  setTimeout(() => {
103
103
  window.addEventListener("click", u);
104
104
  }, 10);
105
- }), (m, E) => (b(), k("div", {
105
+ }), (m, b) => (E(), k("div", {
106
106
  class: A(["vf-overlay-anchor", l.value]),
107
107
  style: Nt(o.value),
108
- onClick: be(u, ["stop"])
108
+ onClick: ke(u, ["stop"])
109
109
  }, [
110
- U(m.$slots, "default")
110
+ j(m.$slots, "default")
111
111
  ], 6));
112
112
  }
113
113
  });
114
114
  let cn = 0;
115
- const N = Rt([]), Po = R({
115
+ const N = Rt([]), qo = R({
116
116
  setup() {
117
- return () => le("div", [
118
- ie(N, (e) => le(Wt, { key: e.id, to: "#vf-overlay-target" }, [e.wrapperVnode ?? e.vnode]))
117
+ return () => ue("div", [
118
+ ae(N, (e) => ue(Wt, { key: e.id, to: "#vf-overlay-target" }, [e.wrapperVnode ?? e.vnode]))
119
119
  ]);
120
120
  }
121
121
  });
122
- function ke(e, t, n) {
122
+ function de(e, t, n) {
123
123
  const o = document.getElementById("vf-overlay-target") ?? document.createElement("div");
124
124
  o.id = "vf-overlay-target", o.removeAttribute("inert"), document.body.appendChild(o);
125
- const l = String(++cn), s = Ut(e), a = le(s, t), r = n != null && n.anchor ? le(un, { overlayId: l, anchor: n.anchor }, () => [a]) : void 0, u = {
125
+ const l = String(++cn), s = jt(e), a = ue(s, t), r = n != null && n.anchor ? ue(un, { overlayId: l, anchor: n.anchor }, () => [a]) : void 0, u = {
126
126
  id: l,
127
127
  component: s,
128
128
  props: t,
@@ -132,7 +132,7 @@ function ke(e, t, n) {
132
132
  };
133
133
  return N.push(u), u;
134
134
  }
135
- function qo(e) {
135
+ function zo(e) {
136
136
  e.$ && lt(e.$);
137
137
  }
138
138
  function lt(e) {
@@ -148,7 +148,7 @@ function fn(e) {
148
148
  const t = N.findIndex((n) => n.id === e);
149
149
  return t >= 0 ? (N[t].props.callback(), !0) : !1;
150
150
  }
151
- function re(e) {
151
+ function ee(e) {
152
152
  const t = N.indexOf(e);
153
153
  t >= 0 && N.splice(t, 1);
154
154
  }
@@ -161,44 +161,64 @@ async function Te(e, t, n) {
161
161
  if (typeof u == "object" && "then" in u && typeof u.then == "function" && await u === !1)
162
162
  return;
163
163
  }
164
- re(l), o(r);
164
+ ee(l), o(r);
165
165
  } };
166
- l = ke(e, a, n);
166
+ l = de(e, a, n);
167
167
  });
168
168
  }
169
- function ue(e, t) {
169
+ async function vn(e, t) {
170
+ const n = e.vnode.component.props;
171
+ for (const o in t)
172
+ n[o] = t[o];
173
+ }
174
+ function ne(e, t) {
170
175
  return typeof e == "object" && !(e instanceof Error) ? {
171
176
  ...e,
172
177
  classes: e.classes ?? []
173
178
  } : { title: t ? e : void 0, message: t ?? e, classes: [] };
174
179
  }
175
- async function vn(e, t) {
176
- await Te(de, ue(e, t));
180
+ async function mn(e, t) {
181
+ await Te(oe, ne(e, t));
177
182
  }
178
- async function zo(e, t) {
179
- const n = ue(e, t);
180
- return await Te(de, {
183
+ async function Ko(e, t) {
184
+ const n = ne(e, t);
185
+ return await Te(oe, {
181
186
  ...n,
182
187
  shouldConfirm: !0
183
188
  }) === !0;
184
189
  }
185
- async function Ko(e, t) {
186
- const n = ue(e, t);
187
- return await Te(de, {
190
+ async function Yo(e, t) {
191
+ const n = ne(e, t);
192
+ return await Te(oe, {
188
193
  ...n,
189
194
  shouldConfirm: !0,
190
195
  classes: ["destructive", ...n.classes]
191
196
  }) === !0;
192
197
  }
193
- function Yo(e, t) {
194
- const n = ue(e, t), o = ke(de, {
198
+ function Xo(e, t) {
199
+ const n = ne(e, t), o = de(oe, {
200
+ ...n,
201
+ isBare: !0,
202
+ classes: ["wait", ...n.classes],
203
+ callback: () => {
204
+ }
205
+ });
206
+ return () => ee(o);
207
+ }
208
+ function Zo(e, t) {
209
+ const n = ne(e, t), o = de(oe, {
195
210
  ...n,
196
211
  isBare: !0,
197
212
  classes: ["wait", ...n.classes],
198
213
  callback: () => {
199
214
  }
200
215
  });
201
- return () => re(o);
216
+ return {
217
+ update: (l) => {
218
+ vn(o, { message: l });
219
+ },
220
+ dismiss: () => ee(o)
221
+ };
202
222
  }
203
223
  const I = {
204
224
  unhandledErrorSupportText: "please contact support",
@@ -207,51 +227,51 @@ const I = {
207
227
  defaultTimeFormat: "H:mm",
208
228
  defaultCurrencyDivisor: 1
209
229
  };
210
- function Xo(e) {
230
+ function Go(e) {
211
231
  Object.assign(I, e);
212
232
  }
213
- class ce extends Error {
233
+ class fe extends Error {
214
234
  constructor(t) {
215
235
  super(t), this.name = "UserError";
216
236
  }
217
237
  }
218
- function mn(e) {
219
- return e instanceof ce ? e.message : `An application error has occurred:
238
+ function pn(e) {
239
+ return e instanceof fe ? e.message : `An application error has occurred:
220
240
 
221
241
  ${Ce(e).message}
222
242
 
223
243
  Please refresh the page and try again. If this error persists, ${I.unhandledErrorSupportText}.`;
224
244
  }
225
245
  function Ce(e) {
226
- return pn(e) ? e : new Error(String(e));
246
+ return hn(e) ? e : new Error(String(e));
227
247
  }
228
- function pn(e) {
248
+ function hn(e) {
229
249
  return e instanceof Error || typeof e == "object" && e !== null && "message" in e && "name" in e;
230
250
  }
231
- async function Zo(e, t) {
251
+ async function Jo(e, t) {
232
252
  const n = Ce(e);
233
- return n instanceof ce || I.errorHandler(n), vn({
253
+ return n instanceof fe || I.errorHandler(n), mn({
234
254
  title: t == null ? void 0 : t.title,
235
255
  message: n,
236
256
  classes: t == null ? void 0 : t.classes
237
257
  });
238
258
  }
239
- async function Go(e) {
259
+ async function Qo(e) {
240
260
  const t = Ce(e);
241
- t instanceof ce || I.errorHandler(t);
261
+ t instanceof fe || I.errorHandler(t);
242
262
  }
243
263
  const G = Symbol("MaskState");
244
- function Jo(e, t) {
264
+ function es(e, t) {
245
265
  var l;
246
266
  const n = (l = e.$) == null ? void 0 : l.vnode.el, o = n.closest(".vf-modal");
247
- return hn(o ?? n, t);
267
+ return yn(o ?? n, t);
248
268
  }
249
- function Qo(e) {
269
+ function ts(e) {
250
270
  var o;
251
271
  const t = (o = e.$) == null ? void 0 : o.vnode.el, n = t.closest(".vf-modal");
252
272
  return rt(n ?? t);
253
273
  }
254
- function hn(e, t) {
274
+ function yn(e, t) {
255
275
  if (!e[G]) {
256
276
  const n = document.createElement("div");
257
277
  n.classList.add("vf-mask"), e.appendChild(n), e[G] = { maskEl: n };
@@ -261,8 +281,8 @@ function hn(e, t) {
261
281
  function rt(e) {
262
282
  e[G] && e.removeChild(e[G].maskEl);
263
283
  }
264
- const we = Symbol("FormMaskState");
265
- function yn(e, t, n) {
284
+ const be = Symbol("FormMaskState");
285
+ function gn(e, t, n) {
266
286
  const o = e instanceof Element ? e : ut(e);
267
287
  if (!o) return () => {
268
288
  };
@@ -271,7 +291,7 @@ function yn(e, t, n) {
271
291
  let s;
272
292
  l && (s = l.tagName === "INPUT" ? l.value : l.innerHTML, l.setAttribute("disabled", "disabled"), l.innerText = n ?? "Please wait...");
273
293
  const r = [...o.querySelectorAll("input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled])")];
274
- return r.forEach((u) => u.setAttribute("disabled", "disabled")), o[we] = {
294
+ return r.forEach((u) => u.setAttribute("disabled", "disabled")), o[be] = {
275
295
  disabledElements: r,
276
296
  waitButton: l,
277
297
  buttonHtml: s
@@ -280,21 +300,21 @@ function yn(e, t, n) {
280
300
  function at(e) {
281
301
  const t = e instanceof Element ? e : ut(e);
282
302
  if (!t) return;
283
- const n = t[we];
284
- n && (t.classList.remove("vf-masked"), n.disabledElements.forEach((o) => o.removeAttribute("disabled")), n.waitButton && (n.waitButton.innerHTML = n.buttonHtml, n.waitButton.removeAttribute("disabled")), delete t[we]);
303
+ const n = t[be];
304
+ n && (t.classList.remove("vf-masked"), n.disabledElements.forEach((o) => o.removeAttribute("disabled")), n.waitButton && (n.waitButton.innerHTML = n.buttonHtml, n.waitButton.removeAttribute("disabled")), delete t[be]);
285
305
  }
286
306
  function ut(e) {
287
307
  var n;
288
308
  const t = (n = e == null ? void 0 : e.$) == null ? void 0 : n.vnode.el;
289
309
  return t ? t.tagName === "FORM" ? t : t.querySelector("form") : null;
290
310
  }
291
- const gn = ["id"], wn = {
311
+ const wn = ["id"], bn = {
292
312
  key: 0,
293
313
  class: "vf-modal-header"
294
- }, En = { class: "vf-modal-content" }, bn = {
314
+ }, En = { class: "vf-modal-content" }, kn = {
295
315
  key: 1,
296
316
  class: "vf-modal-footer"
297
- }, kn = /* @__PURE__ */ R({
317
+ }, Tn = /* @__PURE__ */ R({
298
318
  __name: "vf-modal",
299
319
  props: {
300
320
  id: {},
@@ -311,23 +331,23 @@ const gn = ["id"], wn = {
311
331
  _(() => {
312
332
  var g;
313
333
  document.body.classList.add("vf-modal-open"), o.closeOnMaskClick && (window.addEventListener("keydown", m), (g = l.value) == null || g.addEventListener("click", u));
314
- }), ae(() => {
334
+ }), ce(() => {
315
335
  window.removeEventListener("keydown", m), document.body.querySelectorAll(".vf-modal").length > 0 || document.body.classList.remove("vf-modal-open");
316
336
  });
317
337
  function u(g) {
318
- g.target == l.value && E();
338
+ g.target == l.value && b();
319
339
  }
320
340
  function m(g) {
321
341
  if (g.key === "Esc" || g.key === "Escape") {
322
342
  const M = document.querySelectorAll(".vf-modal-wrap");
323
- M[M.length - 1] === l.value && E();
343
+ M[M.length - 1] === l.value && b();
324
344
  }
325
345
  }
326
- function E() {
346
+ function b() {
327
347
  lt(n);
328
348
  }
329
349
  function p() {
330
- return yn(s.value), () => y();
350
+ return gn(s.value), () => y();
331
351
  }
332
352
  function y() {
333
353
  at(s.value);
@@ -338,7 +358,7 @@ const gn = ["id"], wn = {
338
358
  function f() {
339
359
  a.value = !1;
340
360
  }
341
- return (g, M) => (b(), k("div", {
361
+ return (g, M) => (E(), k("div", {
342
362
  id: g.id,
343
363
  ref_key: "overlay",
344
364
  ref: l,
@@ -349,26 +369,26 @@ const gn = ["id"], wn = {
349
369
  ref: s,
350
370
  action: ".",
351
371
  class: A(["vf-modal", { scrolls: g.scrolls }]),
352
- onSubmit: M[0] || (M[0] = be((L) => g.$emit("formSubmit"), ["prevent"]))
372
+ onSubmit: M[0] || (M[0] = ke((L) => g.$emit("formSubmit"), ["prevent"]))
353
373
  }, [
354
- g.$slots.header ? (b(), k("div", wn, [
355
- U(g.$slots, "header"),
356
- o.closeX ? (b(), k("i", {
374
+ g.$slots.header ? (E(), k("div", bn, [
375
+ j(g.$slots, "header"),
376
+ o.closeX ? (E(), k("i", {
357
377
  key: 0,
358
378
  class: "close",
359
- onClick: E
379
+ onClick: b
360
380
  })) : V("", !0)
361
381
  ])) : V("", !0),
362
382
  $("div", En, [
363
- U(g.$slots, "default")
383
+ j(g.$slots, "default")
364
384
  ]),
365
- g.$slots.footer ? (b(), k("div", bn, [
366
- U(g.$slots, "footer")
385
+ g.$slots.footer ? (E(), k("div", kn, [
386
+ j(g.$slots, "footer")
367
387
  ])) : V("", !0)
368
388
  ], 34)
369
- ], 10, gn));
389
+ ], 10, wn));
370
390
  }
371
- }), Tn = ["innerHtml"], Cn = ["innerText"], de = /* @__PURE__ */ R({
391
+ }), Cn = ["innerHtml"], Sn = ["innerText"], oe = /* @__PURE__ */ R({
372
392
  __name: "vf-alert-modal",
373
393
  props: {
374
394
  isBare: { type: Boolean },
@@ -381,40 +401,40 @@ const gn = ["id"], wn = {
381
401
  callback: { type: Function }
382
402
  },
383
403
  setup(e) {
384
- const t = e, n = T(() => t.message instanceof Error ? mn(t.message) : t.message);
404
+ const t = e, n = T(() => t.message instanceof Error ? pn(t.message) : t.message);
385
405
  return (o, l) => {
386
- const s = jt("autofocus");
387
- return b(), tt(kn, {
406
+ const s = Ut("autofocus");
407
+ return E(), tt(Tn, {
388
408
  class: A(["vf-alert", ...o.classes ?? []])
389
409
  }, Pt({
390
- default: he(() => [
391
- o.iconClass ? (b(), k("i", {
410
+ default: ye(() => [
411
+ o.iconClass ? (E(), k("i", {
392
412
  key: 0,
393
413
  class: A(["vf-alert-icon", o.iconClass])
394
414
  }, null, 2)) : V("", !0),
395
- o.isHtml ? (b(), k("div", {
415
+ o.isHtml ? (E(), k("div", {
396
416
  key: 1,
397
417
  innerHtml: o.message,
398
418
  class: "user-message"
399
- }, null, 8, Tn)) : (b(), k("div", {
419
+ }, null, 8, Cn)) : (E(), k("div", {
400
420
  key: 2,
401
421
  innerText: n.value
402
- }, null, 8, Cn))
422
+ }, null, 8, Sn))
403
423
  ]),
404
424
  _: 2
405
425
  }, [
406
426
  o.title ? {
407
427
  name: "header",
408
- fn: he(() => [
428
+ fn: ye(() => [
409
429
  Z(W(o.title), 1)
410
430
  ]),
411
431
  key: "0"
412
432
  } : void 0,
413
433
  o.isBare ? void 0 : {
414
434
  name: "footer",
415
- fn: he(() => [
416
- o.shouldConfirm ? (b(), k(se, { key: 0 }, [
417
- oe((b(), k("button", {
435
+ fn: ye(() => [
436
+ o.shouldConfirm ? (E(), k(re, { key: 0 }, [
437
+ le((E(), k("button", {
418
438
  class: "primary",
419
439
  onClick: l[0] || (l[0] = () => o.callback(!0))
420
440
  }, l[3] || (l[3] = [
@@ -426,7 +446,7 @@ const gn = ["id"], wn = {
426
446
  class: "default",
427
447
  onClick: l[1] || (l[1] = () => o.callback(!1))
428
448
  }, "Cancel")
429
- ], 64)) : oe((b(), k("button", {
449
+ ], 64)) : le((E(), k("button", {
430
450
  key: 1,
431
451
  class: "default",
432
452
  onClick: l[2] || (l[2] = () => o.callback(!0))
@@ -442,11 +462,11 @@ const gn = ["id"], wn = {
442
462
  };
443
463
  }
444
464
  });
445
- function es(e, t, n) {
465
+ function ns(e, t, n) {
446
466
  const o = typeof t == "function" ? e.findIndex(t) : e.indexOf(t);
447
467
  return o === -1 ? !1 : (e.splice(o, 1, n), !0);
448
468
  }
449
- function ts(e, t) {
469
+ function os(e, t) {
450
470
  const n = document.createElement("div");
451
471
  n.classList.add("vf-overlay"), n.addEventListener("click", p), document.body.appendChild(n);
452
472
  const o = document.createElement("div");
@@ -461,8 +481,8 @@ function ts(e, t) {
461
481
  const f = document.createElement("div");
462
482
  f.classList.add("item"), f.style.userSelect = "none", f.innerText = c.title, o.appendChild(f), c.class && f.classList.add(c.class), c.shouldConfirm ? f.addEventListener("click", (g) => y(g, f, c.handler)) : f.addEventListener("click", () => c.handler());
463
483
  });
464
- const s = window.innerWidth - e.clientX, a = window.innerHeight - e.clientY, r = o.offsetHeight, u = o.offsetWidth, m = s < u ? e.clientX - u - 1 : e.clientX + 1, E = a < r ? e.clientY - r - 1 : e.clientY + 1;
465
- o.style.left = m + "px", o.style.top = E + "px", setTimeout(() => {
484
+ const s = window.innerWidth - e.clientX, a = window.innerHeight - e.clientY, r = o.offsetHeight, u = o.offsetWidth, m = s < u ? e.clientX - u - 1 : e.clientX + 1, b = a < r ? e.clientY - r - 1 : e.clientY + 1;
485
+ o.style.left = m + "px", o.style.top = b + "px", setTimeout(() => {
466
486
  o.style.width = o.offsetWidth + "px";
467
487
  }, 50);
468
488
  function p() {
@@ -479,14 +499,14 @@ function ts(e, t) {
479
499
  f.addEventListener("mouseleave", L), c.stopPropagation();
480
500
  }
481
501
  }
482
- const Sn = (e) => new Promise((t) => setTimeout(t, e)), ns = (e) => Sn(e * 1e3);
483
- function Mn(e) {
502
+ const Mn = (e) => new Promise((t) => setTimeout(t, e)), ss = (e) => Mn(e * 1e3);
503
+ function Ln(e) {
484
504
  return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
485
505
  }
486
- function os(e, t) {
506
+ function is(e, t) {
487
507
  return e != null ? zt(e) : t;
488
508
  }
489
- function ss(e, t) {
509
+ function ls(e, t) {
490
510
  const n = { ...e };
491
511
  for (const o of t)
492
512
  n[o] === "" && (n[o] = null);
@@ -495,12 +515,12 @@ function ss(e, t) {
495
515
  function Pe(e) {
496
516
  return e != null;
497
517
  }
498
- function is(e, t) {
518
+ function rs(e, t) {
499
519
  en(e, {
500
520
  ...t,
501
521
  onError(n, o) {
502
522
  var s;
503
- n instanceof tn && n.response.status === 422 && typeof n.body == "object" && n.body && "error" in n.body && typeof n.body.error == "string" && (n = new ce(n.body.error));
523
+ n instanceof tn && n.response.status === 422 && typeof n.body == "object" && n.body && "error" in n.body && typeof n.body.error == "string" && (n = new fe(n.body.error));
504
524
  const l = (s = t.onError) == null ? void 0 : s.call(t, n, o);
505
525
  return l !== void 0 ? l : n;
506
526
  }
@@ -513,7 +533,7 @@ function is(e, t) {
513
533
  * Copyright (c) 2021 Jason Wilson
514
534
  * Released under MIT license
515
535
  */
516
- var Ln = {
536
+ var xn = {
517
537
  symbol: "$",
518
538
  separator: ",",
519
539
  decimal: ".",
@@ -521,28 +541,28 @@ var Ln = {
521
541
  precision: 2,
522
542
  pattern: "!#",
523
543
  negativePattern: "-!#",
524
- format: On,
544
+ format: Dn,
525
545
  fromCents: !1
526
546
  }, ct = function(t) {
527
547
  return Math.round(t);
528
548
  }, Se = function(t) {
529
549
  return Math.pow(10, t);
530
- }, xn = function(t, n) {
550
+ }, Fn = function(t, n) {
531
551
  return ct(t / n) * n;
532
- }, Fn = /(\d)(?=(\d{3})+\b)/g, In = /(\d)(?=(\d\d)+\d\b)/g;
552
+ }, In = /(\d)(?=(\d{3})+\b)/g, On = /(\d)(?=(\d\d)+\d\b)/g;
533
553
  function H(e, t) {
534
554
  var n = this;
535
555
  if (!(n instanceof H))
536
556
  return new H(e, t);
537
- var o = Object.assign({}, Ln, t), l = Se(o.precision), s = ne(e, o);
538
- n.intValue = s, n.value = s / l, o.increment = o.increment || 1 / l, o.useVedic ? o.groups = In : o.groups = Fn, this.s = o, this.p = l;
557
+ var o = Object.assign({}, xn, t), l = Se(o.precision), s = ie(e, o);
558
+ n.intValue = s, n.value = s / l, o.increment = o.increment || 1 / l, o.useVedic ? o.groups = On : o.groups = In, this.s = o, this.p = l;
539
559
  }
540
- function ne(e, t) {
541
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = 0, l = t.decimal, s = t.errorOnInvalid, a = t.precision, r = t.fromCents, u = Se(a), m = typeof e == "number", E = e instanceof H;
542
- if (E && r)
560
+ function ie(e, t) {
561
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = 0, l = t.decimal, s = t.errorOnInvalid, a = t.precision, r = t.fromCents, u = Se(a), m = typeof e == "number", b = e instanceof H;
562
+ if (b && r)
543
563
  return e.intValue;
544
- if (m || E)
545
- o = E ? e.value : e;
564
+ if (m || b)
565
+ o = b ? e.value : e;
546
566
  else if (typeof e == "string") {
547
567
  var p = new RegExp("[^-\\d" + l + "]", "g"), y = new RegExp("\\" + l, "g");
548
568
  o = e.replace(/\((.*)\)/, "-$1").replace(p, "").replace(y, "."), o = o || 0;
@@ -553,9 +573,9 @@ function ne(e, t) {
553
573
  }
554
574
  return r || (o *= u, o = o.toFixed(4)), n ? ct(o) : o;
555
575
  }
556
- function On(e, t) {
557
- var n = t.pattern, o = t.negativePattern, l = t.symbol, s = t.separator, a = t.decimal, r = t.groups, u = ("" + e).replace(/^-/, "").split("."), m = u[0], E = u[1];
558
- return (e.value >= 0 ? n : o).replace("!", l).replace("#", m.replace(r, "$1" + s) + (E ? a + E : ""));
576
+ function Dn(e, t) {
577
+ var n = t.pattern, o = t.negativePattern, l = t.symbol, s = t.separator, a = t.decimal, r = t.groups, u = ("" + e).replace(/^-/, "").split("."), m = u[0], b = u[1];
578
+ return (e.value >= 0 ? n : o).replace("!", l).replace("#", m.replace(r, "$1" + s) + (b ? a + b : ""));
559
579
  }
560
580
  H.prototype = {
561
581
  /**
@@ -565,7 +585,7 @@ H.prototype = {
565
585
  */
566
586
  add: function(t) {
567
587
  var n = this.intValue, o = this.s, l = this.p;
568
- return H((n += ne(t, o)) / (o.fromCents ? 1 : l), o);
588
+ return H((n += ie(t, o)) / (o.fromCents ? 1 : l), o);
569
589
  },
570
590
  /**
571
591
  * Subtracts value.
@@ -574,7 +594,7 @@ H.prototype = {
574
594
  */
575
595
  subtract: function(t) {
576
596
  var n = this.intValue, o = this.s, l = this.p;
577
- return H((n -= ne(t, o)) / (o.fromCents ? 1 : l), o);
597
+ return H((n -= ie(t, o)) / (o.fromCents ? 1 : l), o);
578
598
  },
579
599
  /**
580
600
  * Multiplies values.
@@ -592,7 +612,7 @@ H.prototype = {
592
612
  */
593
613
  divide: function(t) {
594
614
  var n = this.intValue, o = this.s;
595
- return H(n /= ne(t, o, !1), o);
615
+ return H(n /= ie(t, o, !1), o);
596
616
  },
597
617
  /**
598
618
  * Takes the currency amount and distributes the values evenly. Any extra pennies
@@ -637,7 +657,7 @@ H.prototype = {
637
657
  */
638
658
  toString: function() {
639
659
  var t = this.intValue, n = this.p, o = this.s;
640
- return xn(t / n, o.increment).toFixed(o.precision);
660
+ return Fn(t / n, o.increment).toFixed(o.precision);
641
661
  },
642
662
  /**
643
663
  * Value for JSON serialization.
@@ -650,56 +670,56 @@ H.prototype = {
650
670
  const x = [];
651
671
  for (let e = 0; e < 256; ++e)
652
672
  x.push((e + 256).toString(16).slice(1));
653
- function Dn(e, t = 0) {
673
+ function Hn(e, t = 0) {
654
674
  return (x[e[t + 0]] + x[e[t + 1]] + x[e[t + 2]] + x[e[t + 3]] + "-" + x[e[t + 4]] + x[e[t + 5]] + "-" + x[e[t + 6]] + x[e[t + 7]] + "-" + x[e[t + 8]] + x[e[t + 9]] + "-" + x[e[t + 10]] + x[e[t + 11]] + x[e[t + 12]] + x[e[t + 13]] + x[e[t + 14]] + x[e[t + 15]]).toLowerCase();
655
675
  }
656
- let ye;
657
- const Hn = new Uint8Array(16);
658
- function Vn() {
659
- if (!ye) {
676
+ let ge;
677
+ const Vn = new Uint8Array(16);
678
+ function An() {
679
+ if (!ge) {
660
680
  if (typeof crypto > "u" || !crypto.getRandomValues)
661
681
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
662
- ye = crypto.getRandomValues.bind(crypto);
682
+ ge = crypto.getRandomValues.bind(crypto);
663
683
  }
664
- return ye(Hn);
684
+ return ge(Vn);
665
685
  }
666
- const An = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), qe = { randomUUID: An };
667
- function $n(e, t, n) {
686
+ const $n = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), qe = { randomUUID: $n };
687
+ function Bn(e, t, n) {
668
688
  var l;
669
689
  if (qe.randomUUID && !e)
670
690
  return qe.randomUUID();
671
691
  e = e || {};
672
- const o = e.random ?? ((l = e.rng) == null ? void 0 : l.call(e)) ?? Vn();
692
+ const o = e.random ?? ((l = e.rng) == null ? void 0 : l.call(e)) ?? An();
673
693
  if (o.length < 16)
674
694
  throw new Error("Random bytes length must be >= 16");
675
- return o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128, Dn(o);
695
+ return o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128, Hn(o);
676
696
  }
677
- function ls(e) {
697
+ function as(e) {
678
698
  return e.replace(/\n/g, "<br>");
679
699
  }
680
- function Bn(e) {
700
+ function _n(e) {
681
701
  return e.replace(/_/g, " ");
682
702
  }
683
- function _n(e) {
703
+ function Nn(e) {
684
704
  const t = e.replace(/\D/g, "").replace(/^1/, "");
685
705
  return t.length !== 10 ? e : "(" + t.substring(0, 3) + ") " + t.substring(3, 6) + "-" + t.substring(6);
686
706
  }
687
- function Nn(e, t) {
707
+ function Rn(e, t) {
688
708
  return H(e).divide(t ?? I.defaultCurrencyDivisor).format();
689
709
  }
690
- function rs() {
691
- return $n();
710
+ function us() {
711
+ return Bn();
692
712
  }
693
- const Rn = ["disabled", "placeholder", "required", "name"], Wn = {
713
+ const Wn = ["disabled", "placeholder", "required", "name"], jn = {
694
714
  key: 0,
695
715
  class: "no-results"
696
716
  }, Un = {
697
717
  key: 0,
698
718
  class: "group-title"
699
- }, jn = ["onMousemove", "onMousedown"], Pn = ["innerHTML"], qn = ["innerHTML"], zn = {
719
+ }, Pn = ["onMousemove", "onMousedown"], qn = ["innerHTML"], zn = ["innerHTML"], Kn = {
700
720
  key: 1,
701
721
  class: "no-results"
702
- }, Kn = "`1234567890-=[]\\;',./~!@#$%^&*()_+{}|:\"<>?qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM", Yn = /* @__PURE__ */ R({
722
+ }, Yn = "`1234567890-=[]\\;',./~!@#$%^&*()_+{}|:\"<>?qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM", Xn = /* @__PURE__ */ R({
703
723
  __name: "vf-smart-select",
704
724
  props: {
705
725
  modelValue: {},
@@ -740,21 +760,21 @@ const Rn = ["disabled", "placeholder", "required", "name"], Wn = {
740
760
  t({
741
761
  addRemoteOption: At
742
762
  });
743
- const r = S(), u = S(), m = S(), E = S(!1), p = S(), y = S(!1), c = S(""), f = S(null), g = S(null), M = S(!1), L = S(null), B = S(!1), wt = T(() => s.showCreateTextOnNewItem ?? !0), q = T(() => !!(s.options || p.value)), Et = T(() => s.options ?? p.value ?? []), bt = T(() => s.prependOptions ?? []), kt = T(() => s.appendOptions ?? []), xe = T(() => !!s.disabled || !q.value && !s.loadOptions), Tt = T(() => !q.value && s.preload ? "Loading..." : s.nullTitle ? s.nullTitle : s.placeholder || ""), Ct = T(() => s.noResultsText || "No options match your search."), z = T(() => s.valueExtractor ? s.valueExtractor : s.valueField ? (i) => i[s.valueField] : null), K = T(() => s.keyExtractor ? s.keyExtractor : s.keyField ? (i) => String(i[s.keyField]) : z.value ? (i) => String(z.value(i)) : null), fe = T(() => s.groupFormatter ? s.groupFormatter : s.groupField ? (i) => String(i[s.groupField]) : null), Fe = T(() => s.formatter ? s.formatter : s.labelField ? (i) => String(i[s.labelField]) : (i) => String(i)), Ie = T(() => s.selectionFormatter ? s.selectionFormatter : Fe.value), Oe = T(() => [...bt.value, ...Et.value, ...kt.value]), De = T(() => !!(s.groupField || s.groupFormatter)), ve = T(() => Oe.value.map((i, v) => {
744
- var Re, We, Ue;
745
- const h = (Re = fe.value) == null ? void 0 : Re.call(fe, i), d = Fe.value(i), w = (We = s.subtitleFormatter) == null ? void 0 : We.call(s, i), C = d ? d.trim().toLowerCase() : "", Ne = w ? w.trim().toLowerCase() : "", te = [];
746
- return s.searchFields ? s.searchFields.forEach((je) => {
747
- i[je] && te.push(String(i[je]).toLowerCase());
748
- }) : (te.push(C), Ne && te.push(Ne)), {
749
- key: ((Ue = K.value) == null ? void 0 : Ue.call(K, i)) ?? String(v),
763
+ const r = S(), u = S(), m = S(), b = S(!1), p = S(), y = S(!1), c = S(""), f = S(null), g = S(null), M = S(!1), L = S(null), B = S(!1), wt = T(() => s.showCreateTextOnNewItem ?? !0), q = T(() => !!(s.options || p.value)), bt = T(() => s.options ?? p.value ?? []), Et = T(() => s.prependOptions ?? []), kt = T(() => s.appendOptions ?? []), xe = T(() => !!s.disabled || !q.value && !s.loadOptions), Tt = T(() => !q.value && s.preload ? "Loading..." : s.nullTitle ? s.nullTitle : s.placeholder || ""), Ct = T(() => s.noResultsText || "No options match your search."), z = T(() => s.valueExtractor ? s.valueExtractor : s.valueField ? (i) => i[s.valueField] : null), K = T(() => s.keyExtractor ? s.keyExtractor : s.keyField ? (i) => String(i[s.keyField]) : z.value ? (i) => String(z.value(i)) : null), ve = T(() => s.groupFormatter ? s.groupFormatter : s.groupField ? (i) => String(i[s.groupField]) : null), Fe = T(() => s.formatter ? s.formatter : s.labelField ? (i) => String(i[s.labelField]) : (i) => String(i)), Ie = T(() => s.selectionFormatter ? s.selectionFormatter : Fe.value), Oe = T(() => [...Et.value, ...bt.value, ...kt.value]), De = T(() => !!(s.groupField || s.groupFormatter)), me = T(() => Oe.value.map((i, v) => {
764
+ var Re, We, je;
765
+ const h = (Re = ve.value) == null ? void 0 : Re.call(ve, i), d = Fe.value(i), w = (We = s.subtitleFormatter) == null ? void 0 : We.call(s, i), C = d ? d.trim().toLowerCase() : "", Ne = w ? w.trim().toLowerCase() : "", se = [];
766
+ return s.searchFields ? s.searchFields.forEach((Ue) => {
767
+ i[Ue] && se.push(String(i[Ue]).toLowerCase());
768
+ }) : (se.push(C), Ne && se.push(Ne)), {
769
+ key: ((je = K.value) == null ? void 0 : je.call(K, i)) ?? String(v),
750
770
  group: h,
751
771
  title: d,
752
772
  subtitle: w,
753
- searchContent: te.join(""),
773
+ searchContent: se.join(""),
754
774
  ref: i
755
775
  };
756
776
  })), F = T(() => {
757
- let i = [...ve.value];
777
+ let i = [...me.value];
758
778
  if (y.value) {
759
779
  const v = c.value.trim().toLowerCase();
760
780
  if (v.length) {
@@ -791,7 +811,7 @@ const Rn = ["disabled", "placeholder", "required", "name"], Wn = {
791
811
  options: v[h]
792
812
  }));
793
813
  });
794
- D(() => s.modelValue, pe), D(ve, () => {
814
+ D(() => s.modelValue, he), D(me, () => {
795
815
  M.value && setTimeout($e, 0);
796
816
  }), D(c, () => {
797
817
  y.value && !s.remoteSearch && !c.value.trim().length && (y.value = !1);
@@ -799,15 +819,15 @@ const Rn = ["disabled", "placeholder", "required", "name"], Wn = {
799
819
  M.value ? setTimeout(Dt, 0) : (y.value = !1, c.value = g.value ?? "", m.value && (m.value.style.visibility = "hidden"));
800
820
  }), D(F, () => {
801
821
  var i;
802
- s.modelValue !== null && f.value === null && pe(), (L.value !== null || y.value) && !F.value.find((v) => v.key == L.value) && (L.value = ((i = F.value[0]) == null ? void 0 : i.key) ?? o);
822
+ s.modelValue !== null && f.value === null && he(), (L.value !== null || y.value) && !F.value.find((v) => v.key == L.value) && (L.value = ((i = F.value[0]) == null ? void 0 : i.key) ?? o);
803
823
  }), _(async () => {
804
- B.value = s.onCreateItem !== void 0, s.loadOptions && s.preload && await He(), !s.options && (s.valueField || s.valueExtractor) && (!s.loadOptions || s.preload) ? c.value = s.loadingText ?? "..." : pe(), D(f, () => {
824
+ B.value = s.onCreateItem !== void 0, s.loadOptions && s.preload && await He(), !s.options && (s.valueField || s.valueExtractor) && (!s.loadOptions || s.preload) ? c.value = s.loadingText ?? "..." : he(), D(f, () => {
805
825
  f.value !== s.modelValue && a(
806
826
  "update:modelValue",
807
827
  Pe(f.value) && z.value !== null ? z.value(f.value) : f.value
808
828
  );
809
829
  }), s.remoteSearch && D(c, Xt(Mt, 250));
810
- }), ae(() => {
830
+ }), ce(() => {
811
831
  var i;
812
832
  (i = m.value) == null || i.remove();
813
833
  });
@@ -817,7 +837,7 @@ const Rn = ["disabled", "placeholder", "required", "name"], Wn = {
817
837
  async function Ve() {
818
838
  var v;
819
839
  const i = s.remoteSearch && y.value && c.value.length ? c.value : null;
820
- E.value = !0, p.value = await ((v = s.loadOptions) == null ? void 0 : v.call(s, i)) ?? [], E.value = !1, Ae();
840
+ b.value = !0, p.value = await ((v = s.loadOptions) == null ? void 0 : v.call(s, i)) ?? [], b.value = !1, Ae();
821
841
  }
822
842
  function Mt() {
823
843
  y.value && (Ve(), y.value = c.value.trim().length > 0);
@@ -833,11 +853,11 @@ const Rn = ["disabled", "placeholder", "required", "name"], Wn = {
833
853
  return;
834
854
  }
835
855
  if (i.key == "ArrowUp" || i.key == "ArrowDown")
836
- return i.preventDefault(), me(i.key == "ArrowUp" ? -1 : 1);
856
+ return i.preventDefault(), pe(i.key == "ArrowUp" ? -1 : 1);
837
857
  if (i.key == "PageUp" || i.key == "PageDown")
838
- return i.preventDefault(), me(i.key == "PageUp" ? -10 : 10);
858
+ return i.preventDefault(), pe(i.key == "PageUp" ? -10 : 10);
839
859
  if (i.key == "Home" || i.key == "End")
840
- return i.preventDefault(), me(i.key == "Home" ? -Number.MAX_SAFE_INTEGER : Number.MAX_SAFE_INTEGER);
860
+ return i.preventDefault(), pe(i.key == "Home" ? -Number.MAX_SAFE_INTEGER : Number.MAX_SAFE_INTEGER);
841
861
  if (i.key == "Enter") {
842
862
  i.preventDefault();
843
863
  const v = F.value.find((h) => h.key == L.value);
@@ -847,7 +867,7 @@ const Rn = ["disabled", "placeholder", "required", "name"], Wn = {
847
867
  c.value.length > 1 && (y.value = !0);
848
868
  return;
849
869
  }
850
- !i.metaKey && Kn.includes(i.key) && (y.value = !0);
870
+ !i.metaKey && Yn.includes(i.key) && (y.value = !0);
851
871
  }
852
872
  }
853
873
  function xt() {
@@ -895,7 +915,7 @@ const Rn = ["disabled", "placeholder", "required", "name"], Wn = {
895
915
  function Vt(i) {
896
916
  L.value = i ? i.key : null;
897
917
  }
898
- function me(i) {
918
+ function pe(i) {
899
919
  const v = F.value.findIndex((C) => C.key == L.value);
900
920
  let h = v + i;
901
921
  if (h < 0 ? h = 0 : h >= F.value.length && (h = F.value.length - 1), v == h) return;
@@ -911,12 +931,12 @@ const Rn = ["disabled", "placeholder", "required", "name"], Wn = {
911
931
  const d = c.value.trim();
912
932
  c.value = "", f.value = null, g.value = null, (v = s.onCreateItem) == null || v.call(s, d);
913
933
  } else {
914
- const w = ve.value.find((C) => C.key == i.key).ref;
934
+ const w = me.value.find((C) => C.key == i.key).ref;
915
935
  f.value = w, g.value = Ie.value(w), c.value = g.value ?? "";
916
936
  }
917
937
  (h = u.value) == null || h.blur(), _e();
918
938
  }
919
- function pe() {
939
+ function he() {
920
940
  s.modelValue !== null ? (f.value = z.value ? Oe.value.find((i) => s.modelValue === z.value(i)) : s.modelValue, g.value = Pe(f.value) ? Ie.value(f.value) : null, c.value = g.value ?? "") : (f.value = null, g.value = null, c.value = "");
921
941
  }
922
942
  function At(i) {
@@ -934,12 +954,12 @@ const Rn = ["disabled", "placeholder", "required", "name"], Wn = {
934
954
  const h = Array.from(v).findIndex((C) => C === u.value), d = v[h + 1];
935
955
  d && setTimeout(() => d.focus(), 0);
936
956
  }
937
- return (i, v) => (b(), k("div", {
957
+ return (i, v) => (E(), k("div", {
938
958
  ref_key: "el",
939
959
  ref: r,
940
960
  class: A(["vf-smart-select", { disabled: xe.value, open: M.value }])
941
961
  }, [
942
- oe($("input", {
962
+ le($("input", {
943
963
  ref_key: "searchField",
944
964
  ref: u,
945
965
  "onUpdate:modelValue": v[0] || (v[0] = (h) => c.value = h),
@@ -953,57 +973,57 @@ const Rn = ["disabled", "placeholder", "required", "name"], Wn = {
953
973
  onKeydown: Lt,
954
974
  onFocus: xt,
955
975
  onBlur: Ot
956
- }, null, 42, Rn), [
976
+ }, null, 42, Wn), [
957
977
  [qt, c.value]
958
978
  ]),
959
- M.value ? (b(), k("div", {
979
+ M.value ? (E(), k("div", {
960
980
  key: 0,
961
981
  ref_key: "optionsContainer",
962
982
  ref: m,
963
983
  class: A(["vf-smart-select-options", { grouped: De.value }])
964
984
  }, [
965
- q.value ? (b(!0), k(se, { key: 1 }, ie(St.value, (h) => (b(), k("div", {
985
+ q.value ? (E(!0), k(re, { key: 1 }, ae(St.value, (h) => (E(), k("div", {
966
986
  key: h.groupTitle,
967
987
  class: "group"
968
988
  }, [
969
- h.groupTitle ? (b(), k("div", Un, [
970
- U(i.$slots, "group", {
989
+ h.groupTitle ? (E(), k("div", Un, [
990
+ j(i.$slots, "group", {
971
991
  group: h.groupTitle
972
992
  }, () => [
973
993
  Z(W(h.groupTitle), 1)
974
994
  ])
975
995
  ])) : V("", !0),
976
- (b(!0), k(se, null, ie(h.options, (d) => {
996
+ (E(!0), k(re, null, ae(h.options, (d) => {
977
997
  var w;
978
- return b(), k("div", {
998
+ return E(), k("div", {
979
999
  key: d.key,
980
1000
  class: A(["option", [L.value === d.key && "highlighted", d.ref && ((w = i.classForOption) == null ? void 0 : w.call(i, d.ref))]]),
981
1001
  onMousemove: (C) => Vt(d),
982
1002
  onMousedown: (C) => Be(d)
983
1003
  }, [
984
- U(i.$slots, "option", { option: d }, () => [
1004
+ j(i.$slots, "option", { option: d }, () => [
985
1005
  $("div", {
986
1006
  class: "title",
987
1007
  innerHTML: d.title
988
- }, null, 8, Pn),
989
- d.subtitle ? (b(), k("div", {
1008
+ }, null, 8, qn),
1009
+ d.subtitle ? (E(), k("div", {
990
1010
  key: 0,
991
1011
  class: "subtitle",
992
1012
  innerHTML: d.subtitle
993
- }, null, 8, qn)) : V("", !0)
1013
+ }, null, 8, zn)) : V("", !0)
994
1014
  ])
995
- ], 42, jn);
1015
+ ], 42, Pn);
996
1016
  }), 128)),
997
- !F.value.length && c.value ? (b(), k("div", zn, [
998
- U(i.$slots, "no-results", {}, () => [
1017
+ !F.value.length && c.value ? (E(), k("div", Kn, [
1018
+ j(i.$slots, "no-results", {}, () => [
999
1019
  Z(W(Ct.value), 1)
1000
1020
  ])
1001
1021
  ])) : V("", !0)
1002
- ]))), 128)) : (b(), k("div", Wn, "Loading..."))
1022
+ ]))), 128)) : (E(), k("div", jn, "Loading..."))
1003
1023
  ], 2)) : V("", !0)
1004
1024
  ], 2));
1005
1025
  }
1006
- }), as = /* @__PURE__ */ R({
1026
+ }), cs = /* @__PURE__ */ R({
1007
1027
  __name: "vf-ez-smart-select",
1008
1028
  props: {
1009
1029
  modelValue: {},
@@ -1026,9 +1046,9 @@ const Rn = ["disabled", "placeholder", "required", "name"], Wn = {
1026
1046
  }
1027
1047
  ), D(a, (r) => {
1028
1048
  var m;
1029
- const u = r ? (m = o.value.find((E) => it(E, r))) == null ? void 0 : m.value : null;
1049
+ const u = r ? (m = o.value.find((b) => it(b, r))) == null ? void 0 : m.value : null;
1030
1050
  s("update:modelValue", u ?? null);
1031
- }), (r, u) => (b(), tt(Yn, {
1051
+ }), (r, u) => (E(), tt(Xn, {
1032
1052
  modelValue: a.value,
1033
1053
  "onUpdate:modelValue": u[0] || (u[0] = (m) => a.value = m),
1034
1054
  options: o.value,
@@ -1039,16 +1059,16 @@ const Rn = ["disabled", "placeholder", "required", "name"], Wn = {
1039
1059
  }, null, 8, ["modelValue", "options", "formatter", "null-title", "placeholder", "name"]));
1040
1060
  }
1041
1061
  });
1042
- function us() {
1062
+ function ds() {
1043
1063
  return S();
1044
1064
  }
1045
- const Xn = { class: "content" }, Zn = { class: "message" }, Gn = {
1065
+ const Zn = { class: "content" }, Gn = { class: "message" }, Jn = {
1046
1066
  key: 0,
1047
1067
  class: "close"
1048
- }, Jn = {
1068
+ }, Qn = {
1049
1069
  key: 0,
1050
1070
  class: "progress-bar"
1051
- }, Qn = /* @__PURE__ */ R({
1071
+ }, eo = /* @__PURE__ */ R({
1052
1072
  __name: "vf-toast",
1053
1073
  props: {
1054
1074
  message: {},
@@ -1071,15 +1091,15 @@ const Xn = { class: "content" }, Zn = { class: "message" }, Gn = {
1071
1091
  duration: l * 1e3,
1072
1092
  easing: "linear"
1073
1093
  }), setTimeout(() => t.callback(), l * 1e3);
1074
- }), (l, s) => (b(), k("div", {
1094
+ }), (l, s) => (E(), k("div", {
1075
1095
  class: A(["vf-toast", l.className]),
1076
- onClick: be(n, ["stop"])
1096
+ onClick: ke(n, ["stop"])
1077
1097
  }, [
1078
- $("div", Xn, [
1079
- $("div", Zn, W(l.message), 1),
1080
- l.disableClose ? V("", !0) : (b(), k("div", Gn, "x"))
1098
+ $("div", Zn, [
1099
+ $("div", Gn, W(l.message), 1),
1100
+ l.disableClose ? V("", !0) : (E(), k("div", Jn, "x"))
1081
1101
  ]),
1082
- l.durationSecs !== null ? (b(), k("div", Jn, [
1102
+ l.durationSecs !== null ? (E(), k("div", Qn, [
1083
1103
  $("div", {
1084
1104
  ref_key: "progressInnerEl",
1085
1105
  ref: o,
@@ -1089,88 +1109,88 @@ const Xn = { class: "content" }, Zn = { class: "message" }, Gn = {
1089
1109
  ], 2));
1090
1110
  }
1091
1111
  });
1092
- function cs(e) {
1093
- const t = ke(Qn, {
1112
+ function fs(e) {
1113
+ const t = de(eo, {
1094
1114
  ...e,
1095
- callback: () => re(t)
1115
+ callback: () => ee(t)
1096
1116
  });
1097
- return () => re(t);
1117
+ return () => ee(t);
1098
1118
  }
1099
- function eo(e) {
1119
+ function to(e) {
1100
1120
  const t = Math.floor(Math.log(e) / Math.log(1024)), o = (e / Math.pow(1024, t)).toFixed(2), l = ["B", "KB", "MB", "GB", "TB"][t];
1101
1121
  return `${o} ${l}`;
1102
1122
  }
1103
- function to(e) {
1104
- return e != null && String(e).length ? e : "-";
1105
- }
1106
1123
  function no(e) {
1107
- return e || "-";
1124
+ return e != null && String(e).length ? e : "-";
1108
1125
  }
1109
1126
  function oo(e) {
1110
- return e === null || typeof e == "string" && !/^\d+$/.test(e) ? e : Mn(Number(e));
1127
+ return e || "-";
1111
1128
  }
1112
1129
  function so(e) {
1113
- return e && _n(e);
1130
+ return e === null || typeof e == "string" && !/^\d+$/.test(e) ? e : Ln(Number(e));
1114
1131
  }
1115
1132
  function io(e) {
1133
+ return e && Nn(e);
1134
+ }
1135
+ function lo(e) {
1116
1136
  return e ? Gt(e) : null;
1117
1137
  }
1118
1138
  function dt(e) {
1119
1139
  return e ? Zt(e) : null;
1120
1140
  }
1121
- function lo(e) {
1122
- return e ? e.toUpperCase() : null;
1123
- }
1124
1141
  function ro(e) {
1125
- return e ? dt(e.toLowerCase()) : null;
1142
+ return e ? e.toUpperCase() : null;
1126
1143
  }
1127
1144
  function ao(e) {
1128
- return e ? Bn(e) : null;
1145
+ return e ? dt(e.toLowerCase()) : null;
1129
1146
  }
1130
- function uo(e, t) {
1131
- return Nn(e, t);
1147
+ function uo(e) {
1148
+ return e ? _n(e) : null;
1132
1149
  }
1133
1150
  function co(e, t) {
1134
- return H(e).divide(t).value;
1151
+ return Rn(e, t);
1135
1152
  }
1136
1153
  function fo(e, t) {
1137
- return e && P(new Date(e), t ?? I.defaultDateFormat);
1154
+ return H(e).divide(t).value;
1138
1155
  }
1139
1156
  function vo(e, t) {
1140
- return e && P(new Date(e), t ?? I.defaultTimeFormat);
1157
+ return e && P(new Date(e), t ?? I.defaultDateFormat);
1141
1158
  }
1142
1159
  function mo(e, t) {
1160
+ return e && P(new Date(e), t ?? I.defaultTimeFormat);
1161
+ }
1162
+ function po(e, t) {
1143
1163
  return e && P(new Date(e), t ?? `${I.defaultDateFormat} ${I.defaultTimeFormat}`);
1144
1164
  }
1145
- function po(e) {
1165
+ function ho(e) {
1146
1166
  return e && P(on(sn(e, "yyyy-MM-dd", /* @__PURE__ */ new Date()), 1), I.defaultDateFormat);
1147
1167
  }
1148
1168
  const ze = {
1149
- bytes: eo,
1150
- dash: to,
1151
- dashZeros: no,
1152
- number: oo,
1153
- phone: so,
1154
- upperFirst: io,
1169
+ bytes: to,
1170
+ dash: no,
1171
+ dashZeros: oo,
1172
+ number: so,
1173
+ phone: io,
1174
+ upperFirst: lo,
1155
1175
  startCase: dt,
1156
- upperCase: lo,
1157
- upperWords: ro,
1158
- desnake: ao,
1159
- usCurrency: uo,
1160
- divide: co,
1161
- date: fo,
1162
- time: vo,
1163
- dateTime: mo,
1164
- oneDayForward: po
1165
- }, ds = (e) => ({
1176
+ upperCase: ro,
1177
+ upperWords: ao,
1178
+ desnake: uo,
1179
+ usCurrency: co,
1180
+ divide: fo,
1181
+ date: vo,
1182
+ time: mo,
1183
+ dateTime: po,
1184
+ oneDayForward: ho
1185
+ }, vs = (e) => ({
1166
1186
  ...ze,
1167
1187
  ...e(ze)
1168
1188
  }), Me = Symbol("HookState");
1169
- function fs(e, t) {
1189
+ function ms(e, t) {
1170
1190
  const n = t ?? Ee();
1171
- _(() => ho(n, e), n), nt(() => yo(n), n), ot(() => Ke(n), n), ae(() => Ke(n), n);
1191
+ _(() => yo(n, e), n), nt(() => go(n), n), ot(() => Ke(n), n), ce(() => Ke(n), n);
1172
1192
  }
1173
- function ho(e, t) {
1193
+ function yo(e, t) {
1174
1194
  const n = {};
1175
1195
  if (t.elScrolledToBottom && (n.el = new J(e.vnode.el, t.elScrolledToBottom)), t.ancestorScrolledToBottom) {
1176
1196
  const o = ft(e.vnode.el);
@@ -1178,7 +1198,7 @@ function ho(e, t) {
1178
1198
  }
1179
1199
  t.windowScrolledToBottom && (n.window = new J(window, t.windowScrolledToBottom)), e[Me] = n;
1180
1200
  }
1181
- function yo(e) {
1201
+ function go(e) {
1182
1202
  var n, o, l;
1183
1203
  const t = e[Me];
1184
1204
  (n = t == null ? void 0 : t.el) == null || n.install(), (o = t == null ? void 0 : t.ancestor) == null || o.install(), (l = t == null ? void 0 : t.window) == null || l.install();
@@ -1188,12 +1208,12 @@ function Ke(e) {
1188
1208
  const t = e[Me];
1189
1209
  (n = t == null ? void 0 : t.el) == null || n.uninstall(), (o = t == null ? void 0 : t.ancestor) == null || o.uninstall(), (l = t == null ? void 0 : t.window) == null || l.uninstall();
1190
1210
  }
1191
- const ge = ["auto", "scroll"];
1211
+ const we = ["auto", "scroll"];
1192
1212
  function ft(e) {
1193
1213
  const t = e.parentElement;
1194
1214
  if (!t) return null;
1195
1215
  const n = window.getComputedStyle(t);
1196
- return ge.includes(n.overflow) || ge.includes(n.overflowX) || ge.includes(n.overflowY) ? t : ft(t);
1216
+ return we.includes(n.overflow) || we.includes(n.overflowX) || we.includes(n.overflowY) ? t : ft(t);
1197
1217
  }
1198
1218
  class J {
1199
1219
  constructor(t, n) {
@@ -1211,10 +1231,10 @@ class J {
1211
1231
  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);
1212
1232
  }
1213
1233
  }
1214
- function vs(e) {
1215
- _(() => window.addEventListener("resize", e)), nt(() => window.addEventListener("resize", e)), ot(() => window.removeEventListener("resize", e)), ae(() => window.removeEventListener("resize", e));
1234
+ function ps(e) {
1235
+ _(() => window.addEventListener("resize", e)), nt(() => window.addEventListener("resize", e)), ot(() => window.removeEventListener("resize", e)), ce(() => window.removeEventListener("resize", e));
1216
1236
  }
1217
- const go = {
1237
+ const wo = {
1218
1238
  mounted: Xe,
1219
1239
  updated: Xe
1220
1240
  }, Ye = Symbol("HasAutoFocused");
@@ -1224,7 +1244,7 @@ function Xe(e, t) {
1224
1244
  const n = ["BUTTON", "INPUT", "TEXTAREA", "SELECT"].indexOf(e.tagName) > -1 ? e : e.querySelectorAll("input")[0];
1225
1245
  setTimeout(() => n.focus(), 10);
1226
1246
  }
1227
- const wo = {
1247
+ const bo = {
1228
1248
  mounted: Eo
1229
1249
  }, Y = Symbol("ConfirmState");
1230
1250
  function Eo(e, t) {
@@ -1249,10 +1269,10 @@ function Eo(e, t) {
1249
1269
  e[Y] = s, l && (e.innerHTML = l), (r = t.value) != null && r.class && e.classList.add(t.value.class), e.addEventListener("mouseout", s.resetHandler);
1250
1270
  });
1251
1271
  }
1252
- const bo = {
1253
- beforeMount: ko
1272
+ const ko = {
1273
+ beforeMount: To
1254
1274
  };
1255
- function ko(e) {
1275
+ function To(e) {
1256
1276
  e.addEventListener("blur", () => {
1257
1277
  let t = e.value;
1258
1278
  /^\d{1,2}\/\d{1,2}$/.test(t) && (t += "/" + P(/* @__PURE__ */ new Date(), "yy"));
@@ -1260,21 +1280,21 @@ function ko(e) {
1260
1280
  isNaN(n) ? e.value = "" : e.value = P(n, "MM/dd/yyyy"), e.dispatchEvent(new Event("input"));
1261
1281
  });
1262
1282
  }
1263
- const To = {
1283
+ const Co = {
1264
1284
  beforeMount: Ze,
1265
1285
  updated: Ze
1266
1286
  };
1267
1287
  function Ze(e, t) {
1268
- t.value == t.oldValue && e.innerHTML.length || (e.innerText = Co(e, t));
1288
+ t.value == t.oldValue && e.innerHTML.length || (e.innerText = So(e, t));
1269
1289
  }
1270
- function Co(e, t) {
1271
- var m, E;
1290
+ function So(e, t) {
1291
+ var m, b;
1272
1292
  if (!t.value)
1273
1293
  return ((m = e.attributes.getNamedItem("placeholder")) == null ? void 0 : m.value) ?? "";
1274
1294
  let n = "";
1275
1295
  const o = t.value.replace(/ /g, "T").replace(/\.\d+Z$/, "Z"), l = e.attributes.getNamedItem("local") !== null ? o.replace(/Z$/, "") : o.replace(/(Z|\+00:00)?$/, "Z"), s = new Date(l);
1276
1296
  e.attributes.getNamedItem("display-utc") !== null && s.setMinutes(s.getMinutes() - s.getTimezoneOffset());
1277
- let a = (E = e.attributes.getNamedItem("format")) == null ? void 0 : E.value;
1297
+ let a = (b = e.attributes.getNamedItem("format")) == null ? void 0 : b.value;
1278
1298
  const r = e.attributes.getNamedItem("date-only") !== null;
1279
1299
  if (!a && e.attributes.getNamedItem("relative-date") !== null) {
1280
1300
  const p = /* @__PURE__ */ new Date();
@@ -1291,44 +1311,44 @@ function Co(e, t) {
1291
1311
  let u = P(s, a);
1292
1312
  return n && (u = n + " " + u), u;
1293
1313
  }
1294
- const So = {
1314
+ const Mo = {
1295
1315
  beforeMount: Ge,
1296
1316
  updated: Ge,
1297
- unmounted: Mo
1317
+ unmounted: Lo
1298
1318
  };
1299
1319
  function Ge(e, t) {
1300
1320
  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");
1301
1321
  }
1302
- function Mo(e) {
1322
+ function Lo(e) {
1303
1323
  e.tagName === "LABEL" && (e.classList.remove("disabled"), e = e.querySelector("input")), e.removeAttribute("disabled");
1304
1324
  }
1305
- const Lo = {
1325
+ const xo = {
1306
1326
  beforeMount: Je,
1307
1327
  updated: Je,
1308
1328
  unmounted: mt
1309
- }, ee = Symbol("HasAutoFocused"), Le = [];
1310
- function xo() {
1329
+ }, te = Symbol("HasAutoFocused"), Le = [];
1330
+ function Fo() {
1311
1331
  Le.forEach(vt);
1312
1332
  }
1313
- setInterval(xo, 1e3);
1333
+ setInterval(Fo, 1e3);
1314
1334
  function Je(e, t) {
1315
1335
  var a;
1316
1336
  if (t.value == t.oldValue) return;
1317
1337
  if (!t.value) return mt(e);
1318
1338
  const n = new Date(t.value), o = (a = e.attributes.getNamedItem("base-time")) == null ? void 0 : a.value, l = n.getTime() - (o ? new Date(o).getTime() - t.value * 1e3 : 0), s = e.getAttribute("no-seconds") === null;
1319
- e[ee] || Le.push(e), e[ee] = {
1339
+ e[te] || Le.push(e), e[te] = {
1320
1340
  startTs: l,
1321
1341
  includeSeconds: s
1322
1342
  }, vt(e);
1323
1343
  }
1324
1344
  function vt(e) {
1325
- const t = e[ee], n = Math.round((Date.now() - t.startTs) / 1e3);
1326
- e.innerText = Fo(n, t.includeSeconds);
1345
+ const t = e[te], n = Math.round((Date.now() - t.startTs) / 1e3);
1346
+ e.innerText = Io(n, t.includeSeconds);
1327
1347
  }
1328
1348
  function mt(e) {
1329
- e[ee] && (Jt(Le, e), delete e[ee]), e.innerText = "-";
1349
+ e[te] && (Jt(Le, e), delete e[te]), e.innerText = "-";
1330
1350
  }
1331
- function Fo(e, t) {
1351
+ function Io(e, t) {
1332
1352
  const n = [], o = Math.floor(e / 86400);
1333
1353
  o && n.push(o + "d"), e -= o * 86400;
1334
1354
  const l = Math.floor(e / 3600);
@@ -1336,34 +1356,34 @@ function Fo(e, t) {
1336
1356
  const s = Math.floor(e / 60);
1337
1357
  return (o || l || s) && n.push(s + "m"), t ? n.length || n.push("0m") : (e -= s * 60, n.push(e + "s")), n.join(" ");
1338
1358
  }
1339
- const Io = {
1359
+ const Oo = {
1340
1360
  mounted: pt,
1341
- updated: Oo,
1361
+ updated: Do,
1342
1362
  unmounted: ht
1343
- }, j = /* @__PURE__ */ new Map();
1363
+ }, U = /* @__PURE__ */ new Map();
1344
1364
  function pt(e, t) {
1345
- j.size === 0 && window.addEventListener("keydown", yt), j.set(t.value.toLowerCase(), [...j.get(t.value.toLowerCase()) ?? [], e]);
1365
+ U.size === 0 && window.addEventListener("keydown", yt), U.set(t.value.toLowerCase(), [...U.get(t.value.toLowerCase()) ?? [], e]);
1346
1366
  }
1347
1367
  function ht(e, t) {
1348
- const n = j.get(t.value.toLowerCase());
1368
+ const n = U.get(t.value.toLowerCase());
1349
1369
  if (n) {
1350
1370
  const o = n.indexOf(e);
1351
- o !== -1 && n.splice(o, 1), n.length === 0 && j.delete(t.value.toLowerCase());
1371
+ o !== -1 && n.splice(o, 1), n.length === 0 && U.delete(t.value.toLowerCase());
1352
1372
  }
1353
- j.size === 0 && window.removeEventListener("keydown", yt);
1373
+ U.size === 0 && window.removeEventListener("keydown", yt);
1354
1374
  }
1355
- function Oo(e, t) {
1375
+ function Do(e, t) {
1356
1376
  ht(e, t), pt(e, t);
1357
1377
  }
1358
1378
  function yt(e) {
1359
1379
  if (typeof e.key != "string") return;
1360
- const t = e.key.toLowerCase(), n = j.get(t);
1380
+ const t = e.key.toLowerCase(), n = U.get(t);
1361
1381
  if (n) {
1362
1382
  const o = Qt(n);
1363
1383
  o == null || o.click(), e.preventDefault();
1364
1384
  }
1365
1385
  }
1366
- const X = Symbol("InfiniteScrollHandler"), Do = {
1386
+ const X = Symbol("InfiniteScrollHandler"), Ho = {
1367
1387
  mounted(e, t) {
1368
1388
  e[X] = new J(e, t.value);
1369
1389
  },
@@ -1375,14 +1395,14 @@ const X = Symbol("InfiniteScrollHandler"), Do = {
1375
1395
  var t;
1376
1396
  (t = e[X]) == null || t.uninstall(), delete e[X];
1377
1397
  }
1378
- }, Ho = {
1398
+ }, Vo = {
1379
1399
  beforeMount: Qe,
1380
1400
  updated: Qe
1381
1401
  };
1382
1402
  function Qe(e, t) {
1383
1403
  e.tagName == "LABEL" && (e = e.querySelector("input")), t.value ? e.setAttribute("readonly", "readonly") : e.removeAttribute("readonly");
1384
1404
  }
1385
- const Vo = {
1405
+ const Ao = {
1386
1406
  mounted: et,
1387
1407
  updated: et,
1388
1408
  unmounted: gt
@@ -1395,7 +1415,7 @@ function et(e, t) {
1395
1415
  content: n,
1396
1416
  html: e.getAttribute("html") !== null
1397
1417
  };
1398
- e[Q] ? e[Q].configure(l) : e[Q] = new Ao(e, l);
1418
+ e[Q] ? e[Q].configure(l) : e[Q] = new $o(e, l);
1399
1419
  } else
1400
1420
  gt(e);
1401
1421
  }
@@ -1403,7 +1423,7 @@ function gt(e) {
1403
1423
  var t;
1404
1424
  (t = e[Q]) == null || t.destroy(), delete e[Q];
1405
1425
  }
1406
- class Ao {
1426
+ class $o {
1407
1427
  constructor(t, n) {
1408
1428
  O(this, "lastMoveEvt");
1409
1429
  O(this, "checkInterval");
@@ -1451,62 +1471,64 @@ class Ao {
1451
1471
  this.shouldShow = !1, this.removeTooltip(), this.el.removeEventListener("mouseenter", this.handleTargetMouseEnterWithContext), this.el.removeEventListener("mouseleave", this.handleTargetMouseLeaveWithContext), this.el.removeEventListener("click", this.handleTargetMouseLeaveWithContext);
1452
1472
  }
1453
1473
  }
1454
- function $o(e) {
1455
- e.directive("autofocus", go), e.directive("confirm-button", wo), e.directive("date-input", bo), e.directive("datetime", To), e.directive("disabled", So), e.directive("duration", Lo), e.directive("hotkey", Io), e.directive("infinite-scroll", Do), e.directive("readonly", Ho), e.directive("tooltip", Vo);
1474
+ function Bo(e) {
1475
+ e.directive("autofocus", wo), e.directive("confirm-button", bo), e.directive("date-input", ko), e.directive("datetime", Co), e.directive("disabled", Mo), e.directive("duration", xo), e.directive("hotkey", Oo), e.directive("infinite-scroll", Ho), e.directive("readonly", Vo), e.directive("tooltip", Ao);
1456
1476
  }
1457
- function ms(e) {
1458
- $o(e);
1477
+ function hs(e) {
1478
+ Bo(e);
1459
1479
  }
1460
1480
  export {
1461
- Po as OverlayContainer,
1462
- ce as UserError,
1463
- jo as VfAjaxSelect,
1464
- de as VfAlertModal,
1465
- as as VfEzSmartSelect,
1466
- kn as VfModal,
1467
- Yn as VfSmartSelect,
1468
- os as cloneProp,
1469
- Xo as configureVf,
1470
- is as configureVfOpenApiClient,
1471
- ds as createFilters,
1472
- ke as createOverlayInjection,
1473
- Bn as desnakeCase,
1481
+ qo as OverlayContainer,
1482
+ fe as UserError,
1483
+ Po as VfAjaxSelect,
1484
+ oe as VfAlertModal,
1485
+ cs as VfEzSmartSelect,
1486
+ Tn as VfModal,
1487
+ Xn as VfSmartSelect,
1488
+ is as cloneProp,
1489
+ Go as configureVf,
1490
+ rs as configureVfOpenApiClient,
1491
+ vs as createFilters,
1492
+ de as createOverlayInjection,
1493
+ _n as desnakeCase,
1474
1494
  fn as dismissOverlayInjectionById,
1475
- qo as dismissOverlayInjectionByInstance,
1495
+ zo as dismissOverlayInjectionByInstance,
1476
1496
  lt as dismissOverlayInjectionByInternalInstance,
1477
1497
  dn as dismissOverlayInjectionByVnode,
1478
- ys as escapeHtml,
1479
- mn as formatError,
1480
- Mn as formatNumber,
1481
- _n as formatPhone,
1482
- Nn as formatUSCurrency,
1483
- Go as handleError,
1484
- Zo as handleErrorAndAlert,
1485
- ms as installVf,
1486
- pn as isError,
1498
+ ws as escapeHtml,
1499
+ pn as formatError,
1500
+ Ln as formatNumber,
1501
+ Nn as formatPhone,
1502
+ Rn as formatUSCurrency,
1503
+ Qo as handleError,
1504
+ Jo as handleErrorAndAlert,
1505
+ hs as installVf,
1506
+ hn as isError,
1487
1507
  Pe as isNotNullOrUndefined,
1488
- Jo as maskComponent,
1489
- hn as maskEl,
1490
- yn as maskForm,
1491
- ls as nl2br,
1492
- ss as nullifyEmptyInputs,
1508
+ es as maskComponent,
1509
+ yn as maskEl,
1510
+ gn as maskForm,
1511
+ as as nl2br,
1512
+ ls as nullifyEmptyInputs,
1493
1513
  Te as presentOverlay,
1494
- re as removeOverlayInjection,
1495
- es as replaceElement,
1496
- vn as showAlert,
1497
- zo as showConfirm,
1498
- Ko as showConfirmDestroy,
1499
- ts as showContextMenu,
1500
- cs as showToast,
1501
- Yo as showWait,
1502
- Sn as sleep,
1503
- ns as sleepSecs,
1514
+ ee as removeOverlayInjection,
1515
+ ns as replaceElement,
1516
+ mn as showAlert,
1517
+ Ko as showConfirm,
1518
+ Yo as showConfirmDestroy,
1519
+ os as showContextMenu,
1520
+ Zo as showMutableWait,
1521
+ fs as showToast,
1522
+ Xo as showWait,
1523
+ Mn as sleep,
1524
+ ss as sleepSecs,
1504
1525
  Ce as toError,
1505
- Qo as unmaskComponent,
1526
+ ts as unmaskComponent,
1506
1527
  rt as unmaskEl,
1507
1528
  at as unmaskForm,
1508
- fs as useInfiniteScroll,
1509
- vs as useResizeWatcher,
1510
- rs as uuid,
1511
- us as vfModalRef
1529
+ vn as updateOverlayProps,
1530
+ ms as useInfiniteScroll,
1531
+ ps as useResizeWatcher,
1532
+ us as uuid,
1533
+ ds as vfModalRef
1512
1534
  };