@signal24/vue-foundation 4.30.4 → 4.30.5

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,7 +1,7 @@
1
- import { defineComponent as q, ref as N, computed as O, watch as H, onMounted as z, createElementBlock as I, withDirectives as fe, openBlock as S, createElementVNode as U, toDisplayString as J, createCommentVNode as W, Fragment as he, renderList as pe, vModelSelect as _t, getCurrentInstance as Ne, withModifiers as Le, normalizeStyle as Wt, normalizeClass as P, renderSlot as K, reactive as Pt, h as ve, Teleport as jt, markRaw as Ut, onBeforeUnmount as me, resolveDirective as zt, createBlock as lt, createSlots as qt, withCtx as Te, createTextVNode as te, onUpdated as Jt, vModelText as Kt, onActivated as ut, onDeactivated as ct } from "vue";
2
- import { compact as dt, cloneDeep as Yt, uniq as Xt, groupBy as Zt, isEqual as Me, debounce as Gt, startCase as Qt, upperFirst as en, remove as tn, last as nn } from "lodash";
1
+ import { defineComponent as q, ref as N, computed as O, watch as H, onMounted as z, createElementBlock as I, withDirectives as fe, openBlock as S, createElementVNode as U, toDisplayString as J, createCommentVNode as W, Fragment as he, renderList as pe, vModelSelect as _t, getCurrentInstance as Le, withModifiers as ve, normalizeStyle as Wt, normalizeClass as P, renderSlot as K, reactive as Pt, h as me, Teleport as jt, markRaw as Ut, onBeforeUnmount as ge, resolveDirective as zt, createBlock as lt, createSlots as qt, withCtx as Se, createTextVNode as te, onUpdated as Jt, vModelText as Kt, onActivated as ut, onDeactivated as ct } from "vue";
2
+ import { compact as dt, cloneDeep as Yt, uniq as Xt, groupBy as Zt, isEqual as Ce, debounce as Gt, startCase as Qt, upperFirst as en, remove as tn, last as nn } from "lodash";
3
3
  import { configureOpenApiClient as on, OpenApiError as rn } from "@signal24/openapi-client-codegen";
4
- import { escapeHtml as Si } from "@vue/shared";
4
+ import { escapeHtml as Ti } from "@vue/shared";
5
5
  import { format as X, addDays as an, parse as sn } from "date-fns";
6
6
  const ln = {
7
7
  key: 0,
@@ -9,7 +9,7 @@ const ln = {
9
9
  }, un = {
10
10
  key: 0,
11
11
  value: null
12
- }, cn = ["value"], Xo = /* @__PURE__ */ q({
12
+ }, cn = ["value"], Yo = /* @__PURE__ */ q({
13
13
  __name: "vf-ajax-select",
14
14
  props: {
15
15
  modelValue: {},
@@ -54,7 +54,7 @@ const ln = {
54
54
  defaultTimeFormat: "H:mm",
55
55
  defaultCurrencyDivisor: 1
56
56
  };
57
- function Zo(e) {
57
+ function Xo(e) {
58
58
  Object.assign(D, e);
59
59
  }
60
60
  const dn = /* @__PURE__ */ q({
@@ -64,7 +64,7 @@ const dn = /* @__PURE__ */ q({
64
64
  anchor: {}
65
65
  },
66
66
  setup(e) {
67
- const t = e, o = t.anchor instanceof HTMLElement ? t.anchor : t.anchor.el, a = N({ visibility: "hidden", top: "0", left: "0" }), p = N([]), l = Ne();
67
+ const t = e, o = t.anchor instanceof HTMLElement ? t.anchor : t.anchor.el, a = N({ visibility: "hidden", top: "0", left: "0" }), p = N([]), l = Le();
68
68
  z(y);
69
69
  function y() {
70
70
  if (!l) return;
@@ -108,7 +108,7 @@ const dn = /* @__PURE__ */ q({
108
108
  }), (v, c) => (S(), I("div", {
109
109
  class: P(["vf-overlay-anchor", p.value]),
110
110
  style: Wt(a.value),
111
- onClick: Le(E, ["stop"])
111
+ onClick: ve(E, ["stop"])
112
112
  }, [
113
113
  K(v.$slots, "default")
114
114
  ], 6));
@@ -119,17 +119,17 @@ const j = Pt([]);
119
119
  H(j, () => {
120
120
  D.onOverlaysChanged?.(j.length);
121
121
  });
122
- const Go = q({
122
+ const Zo = q({
123
123
  setup() {
124
- return () => ve("div", [
125
- pe(j, (e) => ve(jt, { key: e.id, to: "#vf-overlay-target" }, [e.wrapperVnode ?? e.vnode]))
124
+ return () => me("div", [
125
+ pe(j, (e) => me(jt, { key: e.id, to: "#vf-overlay-target" }, [e.wrapperVnode ?? e.vnode]))
126
126
  ]);
127
127
  }
128
128
  });
129
- function ge(e, t, o) {
129
+ function ye(e, t, o) {
130
130
  const a = document.getElementById("vf-overlay-target") ?? document.createElement("div");
131
131
  a.id = "vf-overlay-target", a.removeAttribute("inert"), document.body.appendChild(a);
132
- const p = String(++fn), l = Ut(e), y = ve(l, t), g = o?.anchor ? ve(dn, { overlayId: p, anchor: o.anchor }, () => [y]) : void 0, E = {
132
+ const p = String(++fn), l = Ut(e), y = me(l, t), g = o?.anchor ? me(dn, { overlayId: p, anchor: o.anchor }, () => [y]) : void 0, E = {
133
133
  id: p,
134
134
  component: l,
135
135
  props: t,
@@ -139,7 +139,7 @@ function ge(e, t, o) {
139
139
  };
140
140
  return j.push(E), E;
141
141
  }
142
- function Qo(e) {
142
+ function Go(e) {
143
143
  e.$ && ft(e.$);
144
144
  }
145
145
  function ft(e) {
@@ -170,7 +170,7 @@ async function Re(e, t, o) {
170
170
  }
171
171
  re(p), a(g);
172
172
  } };
173
- p = ge(e, y, o);
173
+ p = ye(e, y, o);
174
174
  });
175
175
  }
176
176
  async function vn(e, t) {
@@ -187,14 +187,14 @@ function se(e, t) {
187
187
  async function ht(e, t) {
188
188
  await Re(le, se(e, t));
189
189
  }
190
- async function ei(e, t) {
190
+ async function Qo(e, t) {
191
191
  const o = se(e, t);
192
192
  return await Re(le, {
193
193
  ...o,
194
194
  shouldConfirm: !0
195
195
  }) === !0;
196
196
  }
197
- async function ti(e, t) {
197
+ async function ei(e, t) {
198
198
  const o = se(e, t);
199
199
  return await Re(le, {
200
200
  ...o,
@@ -202,8 +202,8 @@ async function ti(e, t) {
202
202
  classes: ["destructive", ...o.classes]
203
203
  }) === !0;
204
204
  }
205
- function ni(e, t) {
206
- const o = se(e, t), a = ge(le, {
205
+ function ti(e, t) {
206
+ const o = se(e, t), a = ye(le, {
207
207
  ...o,
208
208
  isBare: !0,
209
209
  classes: ["wait", ...o.classes],
@@ -212,8 +212,8 @@ function ni(e, t) {
212
212
  });
213
213
  return () => re(a);
214
214
  }
215
- function oi(e, t) {
216
- const o = se(e, t), a = ge(le, {
215
+ function ni(e, t) {
216
+ const o = se(e, t), a = ye(le, {
217
217
  ...o,
218
218
  isBare: !0,
219
219
  classes: ["wait", ...o.classes],
@@ -227,43 +227,43 @@ function oi(e, t) {
227
227
  dismiss: () => re(a)
228
228
  };
229
229
  }
230
- class ye extends Error {
230
+ class Ee extends Error {
231
231
  constructor(t) {
232
232
  super(t), this.name = "UserError";
233
233
  }
234
234
  }
235
235
  function mn(e) {
236
- return e instanceof ye ? e.message : `An application error has occurred:
236
+ return e instanceof Ee ? e.message : `An application error has occurred:
237
237
 
238
- ${Ee(e).message}
238
+ ${ke(e).message}
239
239
 
240
240
  Please refresh the page and try again. If this error persists, ${D.unhandledErrorSupportText}.`;
241
241
  }
242
- function Ee(e, t) {
242
+ function ke(e, t) {
243
243
  const o = gn(e) ? e : new Error(String(e));
244
- return t && (o.cause = Ee(t)), o;
244
+ return t && (o.cause = ke(t)), o;
245
245
  }
246
246
  function gn(e) {
247
247
  return e instanceof Error || typeof e == "object" && e !== null && "message" in e && "name" in e;
248
248
  }
249
- async function ii(e, t) {
250
- const o = Ee(e, t?.cause);
251
- return o instanceof ye || D.errorHandler(o), ht({
249
+ async function oi(e, t) {
250
+ const o = ke(e, t?.cause);
251
+ return o instanceof Ee || D.errorHandler(o), ht({
252
252
  title: t?.title,
253
253
  message: o,
254
254
  classes: t?.classes
255
255
  });
256
256
  }
257
- async function ri(e, t) {
258
- const o = Ee(e, t);
259
- o instanceof ye || D.errorHandler(o);
257
+ async function ii(e, t) {
258
+ const o = ke(e, t);
259
+ o instanceof Ee || D.errorHandler(o);
260
260
  }
261
261
  const ne = Symbol("MaskState");
262
- function ai(e, t) {
262
+ function ri(e, t) {
263
263
  const o = e.$?.vnode.el, a = o.closest(".vf-modal");
264
264
  return yn(a ?? o, t);
265
265
  }
266
- function si(e) {
266
+ function ai(e) {
267
267
  const t = e.$?.vnode.el, o = t.closest(".vf-modal");
268
268
  return pt(o ?? t);
269
269
  }
@@ -277,7 +277,7 @@ function yn(e, t) {
277
277
  function pt(e) {
278
278
  e[ne] && e.removeChild(e[ne].maskEl);
279
279
  }
280
- const Ce = Symbol("FormMaskState");
280
+ const Oe = Symbol("FormMaskState");
281
281
  function En(e, t, o) {
282
282
  const a = e instanceof Element ? e : mt(e);
283
283
  if (!a) return () => {
@@ -287,7 +287,7 @@ function En(e, t, o) {
287
287
  let l;
288
288
  p && (l = p.tagName === "INPUT" ? p.value : p.innerHTML, p.setAttribute("disabled", "disabled"), p.innerText = o ?? "Please wait...");
289
289
  const g = [...a.querySelectorAll("input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled])")];
290
- return g.forEach((E) => E.setAttribute("disabled", "disabled")), a[Ce] = {
290
+ return g.forEach((E) => E.setAttribute("disabled", "disabled")), a[Oe] = {
291
291
  disabledElements: g,
292
292
  waitButton: p,
293
293
  buttonHtml: l
@@ -296,8 +296,8 @@ function En(e, t, o) {
296
296
  function vt(e) {
297
297
  const t = e instanceof Element ? e : mt(e);
298
298
  if (!t) return;
299
- const o = t[Ce];
300
- o && (t.classList.remove("vf-masked"), o.disabledElements.forEach((a) => a.removeAttribute("disabled")), o.waitButton && (o.waitButton.innerHTML = o.buttonHtml, o.waitButton.removeAttribute("disabled")), delete t[Ce]);
299
+ const o = t[Oe];
300
+ o && (t.classList.remove("vf-masked"), o.disabledElements.forEach((a) => a.removeAttribute("disabled")), o.waitButton && (o.waitButton.innerHTML = o.buttonHtml, o.waitButton.removeAttribute("disabled")), delete t[Oe]);
301
301
  }
302
302
  function mt(e) {
303
303
  const t = e?.$?.vnode.el;
@@ -321,12 +321,12 @@ const kn = ["id"], wn = {
321
321
  },
322
322
  emits: ["formSubmit"],
323
323
  setup(e, { expose: t }) {
324
- const o = Ne(), a = e;
324
+ const o = Le(), a = e;
325
325
  t({ mask: n, unmask: r, hide: i, unhide: s });
326
326
  const p = N(), l = N(), y = N(!1), g = O(() => dt([...Array.isArray(a.class) ? a.class : [a.class], y.value && "hidden"]));
327
327
  z(() => {
328
328
  document.body.classList.add("vf-modal-open"), a.closeOnMaskClick && (window.addEventListener("keydown", v), p.value?.addEventListener("click", E));
329
- }), me(() => {
329
+ }), ge(() => {
330
330
  window.removeEventListener("keydown", v), document.body.querySelectorAll(".vf-modal").length > 0 || document.body.classList.remove("vf-modal-open");
331
331
  });
332
332
  function E(u) {
@@ -364,7 +364,7 @@ const kn = ["id"], wn = {
364
364
  ref: l,
365
365
  action: ".",
366
366
  class: P(["vf-modal", { scrolls: e.scrolls }]),
367
- onSubmit: h[0] || (h[0] = Le((f) => u.$emit("formSubmit"), ["prevent"]))
367
+ onSubmit: h[0] || (h[0] = ve((f) => u.$emit("formSubmit"), ["prevent"]))
368
368
  }, [
369
369
  u.$slots.header ? (S(), I("div", wn, [
370
370
  K(u.$slots, "header"),
@@ -403,7 +403,7 @@ const kn = ["id"], wn = {
403
403
  class: P(["vf-alert", ...e.classes ?? []]),
404
404
  scrolls: ""
405
405
  }, qt({
406
- default: Te(() => [
406
+ default: Se(() => [
407
407
  e.iconClass ? (S(), I("i", {
408
408
  key: 0,
409
409
  class: P(["vf-alert-icon", e.iconClass])
@@ -421,14 +421,14 @@ const kn = ["id"], wn = {
421
421
  }, [
422
422
  e.title ? {
423
423
  name: "header",
424
- fn: Te(() => [
424
+ fn: Se(() => [
425
425
  te(J(e.title), 1)
426
426
  ]),
427
427
  key: "0"
428
428
  } : void 0,
429
429
  e.isBare ? void 0 : {
430
430
  name: "footer",
431
- fn: Te(() => [
431
+ fn: Se(() => [
432
432
  e.shouldConfirm ? (S(), I(he, { key: 0 }, [
433
433
  fe((S(), I("button", {
434
434
  class: "primary",
@@ -983,8 +983,8 @@ function On() {
983
983
  this.opt = r;
984
984
  var s = 0, u = "wrapMatches", h = this.getSeparatedKeywords(typeof n == "string" ? [n] : n), f = h.keywords, m = h.length, x = this.opt.caseSensitive ? "" : "i", T = function C(L) {
985
985
  var R = new RegExp(i.createRegExp(L), "gm" + x), F = 0;
986
- i.log('Searching with expression "' + R + '"'), i[u](R, 1, function(V, ke) {
987
- return i.opt.filter(ke, L, s, F);
986
+ i.log('Searching with expression "' + R + '"'), i[u](R, 1, function(V, we) {
987
+ return i.opt.filter(we, L, s, F);
988
988
  }, function(V) {
989
989
  F++, s++, i.opt.each(V);
990
990
  }, function() {
@@ -1080,11 +1080,11 @@ function On() {
1080
1080
  }
1081
1081
  var Nn = On();
1082
1082
  const Ln = /* @__PURE__ */ Mn(Nn);
1083
- function li(e, t, o) {
1083
+ function si(e, t, o) {
1084
1084
  const a = typeof t == "function" ? e.findIndex(t) : e.indexOf(t);
1085
1085
  return a === -1 ? !1 : (e.splice(a, 1, o), !0);
1086
1086
  }
1087
- function ui(e, t) {
1087
+ function li(e, t) {
1088
1088
  const o = document.createElement("div");
1089
1089
  o.classList.add("vf-overlay"), o.addEventListener("click", n), document.body.appendChild(o);
1090
1090
  const a = document.createElement("div");
@@ -1117,14 +1117,14 @@ function ui(e, t) {
1117
1117
  s.addEventListener("mouseleave", f), i.stopPropagation();
1118
1118
  }
1119
1119
  }
1120
- const Rn = (e) => new Promise((t) => setTimeout(t, e)), ci = (e) => Rn(e * 1e3);
1120
+ const Rn = (e) => new Promise((t) => setTimeout(t, e)), ui = (e) => Rn(e * 1e3);
1121
1121
  function Fn(e) {
1122
1122
  return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
1123
1123
  }
1124
- function di(e, t) {
1124
+ function ci(e, t) {
1125
1125
  return e != null ? Yt(e) : t;
1126
1126
  }
1127
- function fi(e, t) {
1127
+ function di(e, t) {
1128
1128
  const o = { ...e };
1129
1129
  for (const a of t)
1130
1130
  o[a] === "" && (o[a] = null);
@@ -1133,11 +1133,11 @@ function fi(e, t) {
1133
1133
  function Ye(e) {
1134
1134
  return e != null;
1135
1135
  }
1136
- function hi(e, t) {
1136
+ function fi(e, t) {
1137
1137
  on(e, {
1138
1138
  ...t,
1139
1139
  onError(o, a) {
1140
- o instanceof rn && o.response.status === 422 && typeof o.body == "object" && o.body && "error" in o.body && typeof o.body.error == "string" && (o = new ye(o.body.error));
1140
+ o instanceof rn && o.response.status === 422 && typeof o.body == "object" && o.body && "error" in o.body && typeof o.body.error == "string" && (o = new Ee(o.body.error));
1141
1141
  const p = t.onError?.(o, a);
1142
1142
  return p !== void 0 ? p : o;
1143
1143
  }
@@ -1283,15 +1283,15 @@ for (let e = 0; e < 256; ++e)
1283
1283
  function Bn(e, t = 0) {
1284
1284
  return (A[e[t + 0]] + A[e[t + 1]] + A[e[t + 2]] + A[e[t + 3]] + "-" + A[e[t + 4]] + A[e[t + 5]] + "-" + A[e[t + 6]] + A[e[t + 7]] + "-" + A[e[t + 8]] + A[e[t + 9]] + "-" + A[e[t + 10]] + A[e[t + 11]] + A[e[t + 12]] + A[e[t + 13]] + A[e[t + 14]] + A[e[t + 15]]).toLowerCase();
1285
1285
  }
1286
- let Se;
1286
+ let Ie;
1287
1287
  const _n = new Uint8Array(16);
1288
1288
  function Wn() {
1289
- if (!Se) {
1289
+ if (!Ie) {
1290
1290
  if (typeof crypto > "u" || !crypto.getRandomValues)
1291
1291
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1292
- Se = crypto.getRandomValues.bind(crypto);
1292
+ Ie = crypto.getRandomValues.bind(crypto);
1293
1293
  }
1294
- return Se(_n);
1294
+ return Ie(_n);
1295
1295
  }
1296
1296
  const Pn = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Xe = { randomUUID: Pn };
1297
1297
  function jn(e, t, o) {
@@ -1304,7 +1304,7 @@ function jn(e, t, o) {
1304
1304
  function Un(e, t, o) {
1305
1305
  return Xe.randomUUID && !e ? Xe.randomUUID() : jn(e);
1306
1306
  }
1307
- function pi(e) {
1307
+ function hi(e) {
1308
1308
  return e.replace(/\n/g, "<br>");
1309
1309
  }
1310
1310
  function zn(e) {
@@ -1317,7 +1317,7 @@ function qn(e) {
1317
1317
  function Jn(e, t) {
1318
1318
  return _(e).divide(t ?? D.defaultCurrencyDivisor).format();
1319
1319
  }
1320
- function vi() {
1320
+ function pi() {
1321
1321
  return Un();
1322
1322
  }
1323
1323
  const Kn = ["disabled", "placeholder", "required", "name"], Yn = {
@@ -1370,14 +1370,14 @@ const Kn = ["disabled", "placeholder", "required", "name"], Yn = {
1370
1370
  t({
1371
1371
  addRemoteOption: Bt
1372
1372
  });
1373
- const g = N(), E = N(), v = N(), c = N(!1), n = N(), r = N(!1), i = N(""), s = N(null), u = N(null), h = N(!1), f = N(null), m = N(!1), x = O(() => l.showCreateTextOnNewItem ?? !0), T = O(() => !!(l.options || n.value)), C = O(() => l.options ?? n.value ?? []), L = O(() => l.prependOptions ?? []), R = O(() => l.appendOptions ?? []), F = O(() => !!l.disabled || !T.value && !l.loadOptions), V = O(() => l.loadingText || "..."), ke = O(() => !T.value && (!l.loadOptions || l.preload || l.modelValue && (l.valueField || l.valueExtractor)) ? V.value : l.nullTitle ? l.nullTitle : l.placeholder || ""), It = O(() => l.noResultsText || "No options match your search."), Z = O(() => l.valueExtractor ? l.valueExtractor : l.valueField ? (d) => d[l.valueField] : null), we = O(() => l.keyExtractor ? l.keyExtractor : l.keyField ? (d) => String(d[l.keyField]) : Z.value ? (d) => String(Z.value(d)) : null), Mt = O(() => l.groupFormatter ? l.groupFormatter : l.groupField ? (d) => String(d[l.groupField]) : null), $e = O(() => l.formatter ? l.formatter : l.labelField ? (d) => String(d[l.labelField]) : (d) => String(d)), He = O(() => l.selectionFormatter ? l.selectionFormatter : $e.value), Ve = O(() => [...L.value, ...C.value, ...R.value]), Be = O(() => !!(l.groupField || l.groupFormatter)), xe = O(() => Ve.value.map((d, b) => {
1373
+ const g = N(), E = N(), v = N(), c = N(!1), n = N(), r = N(!1), i = N(""), s = N(null), u = N(null), h = N(!1), f = N(null), m = N(!1), x = O(() => l.showCreateTextOnNewItem ?? !0), T = O(() => !!(l.options || n.value)), C = O(() => l.options ?? n.value ?? []), L = O(() => l.prependOptions ?? []), R = O(() => l.appendOptions ?? []), F = O(() => !!l.disabled || !T.value && !l.loadOptions), V = O(() => l.loadingText || "..."), we = O(() => !T.value && (!l.loadOptions || l.preload || l.modelValue && (l.valueField || l.valueExtractor)) ? V.value : l.nullTitle ? l.nullTitle : l.placeholder || ""), It = O(() => l.noResultsText || "No options match your search."), Z = O(() => l.valueExtractor ? l.valueExtractor : l.valueField ? (d) => d[l.valueField] : null), xe = O(() => l.keyExtractor ? l.keyExtractor : l.keyField ? (d) => String(d[l.keyField]) : Z.value ? (d) => String(Z.value(d)) : null), Mt = O(() => l.groupFormatter ? l.groupFormatter : l.groupField ? (d) => String(d[l.groupField]) : null), $e = O(() => l.formatter ? l.formatter : l.labelField ? (d) => String(d[l.labelField]) : (d) => String(d)), He = O(() => l.selectionFormatter ? l.selectionFormatter : $e.value), Ve = O(() => [...L.value, ...C.value, ...R.value]), Be = O(() => !!(l.groupField || l.groupFormatter)), be = O(() => Ve.value.map((d, b) => {
1374
1374
  const k = Mt.value?.(d), w = $e.value(d), M = l.subtitleFormatter?.(d), B = w ? w.trim().toLowerCase() : "", qe = M ? M.trim().toLowerCase() : "", ue = [];
1375
1375
  return l.searchFields ? l.searchFields.forEach((Je) => {
1376
1376
  d[Je] && ue.push(
1377
1377
  String(d[Je]).toLowerCase().replace(/^[a-z0-9 ]+$/i, "")
1378
1378
  );
1379
1379
  }) : (ue.push(B), qe && ue.push(qe)), {
1380
- key: we.value?.(d) ?? String(b),
1380
+ key: xe.value?.(d) ?? String(b),
1381
1381
  group: k,
1382
1382
  title: w,
1383
1383
  subtitle: M,
@@ -1385,7 +1385,7 @@ const Kn = ["disabled", "placeholder", "required", "name"], Yn = {
1385
1385
  ref: d
1386
1386
  };
1387
1387
  })), $ = O(() => {
1388
- let d = [...xe.value];
1388
+ let d = [...be.value];
1389
1389
  if (r.value) {
1390
1390
  const b = i.value.trim().toLowerCase().replace(/[^a-z0-9 ]+$/i, "");
1391
1391
  b.length && (d = d.filter((k) => k.searchContent.includes(b)), m.value && (d.find((w) => w.searchContent === b) !== void 0 || d.push({
@@ -1411,7 +1411,7 @@ const Kn = ["disabled", "placeholder", "required", "name"], Yn = {
1411
1411
  options: b[k]
1412
1412
  }));
1413
1413
  });
1414
- H(() => l.modelValue, G), H(xe, () => {
1414
+ H(() => l.modelValue, G), H(be, () => {
1415
1415
  h.value && setTimeout(je, 0);
1416
1416
  }), H(i, () => {
1417
1417
  r.value && !l.remoteSearch && !i.value.trim().length && (r.value = !1);
@@ -1422,9 +1422,9 @@ const Kn = ["disabled", "placeholder", "required", "name"], Yn = {
1422
1422
  }), z(async () => {
1423
1423
  m.value = l.onCreateItem !== void 0, l.loadOptions && l.preload ? await _e() : !l.options && !l.loadOptions && (l.valueField || l.valueExtractor) || G(), H(s, () => {
1424
1424
  const d = Ye(s.value) && Z.value !== null ? Z.value(s.value) : s.value;
1425
- Me(l.modelValue, d) || y("update:modelValue", d);
1425
+ Ce(l.modelValue, d) || y("update:modelValue", d);
1426
1426
  }), l.remoteSearch && H(i, Gt(Ot, 250));
1427
- }), me(() => {
1427
+ }), ge(() => {
1428
1428
  v.value?.remove();
1429
1429
  });
1430
1430
  async function _e() {
@@ -1448,11 +1448,11 @@ const Kn = ["disabled", "placeholder", "required", "name"], Yn = {
1448
1448
  return;
1449
1449
  }
1450
1450
  if (d.key == "ArrowUp" || d.key == "ArrowDown")
1451
- return d.preventDefault(), be(d.key == "ArrowUp" ? -1 : 1);
1451
+ return d.preventDefault(), Te(d.key == "ArrowUp" ? -1 : 1);
1452
1452
  if (d.key == "PageUp" || d.key == "PageDown")
1453
- return d.preventDefault(), be(d.key == "PageUp" ? -10 : 10);
1453
+ return d.preventDefault(), Te(d.key == "PageUp" ? -10 : 10);
1454
1454
  if (d.key == "Home" || d.key == "End")
1455
- return d.preventDefault(), be(d.key == "Home" ? -Number.MAX_SAFE_INTEGER : Number.MAX_SAFE_INTEGER);
1455
+ return d.preventDefault(), Te(d.key == "Home" ? -Number.MAX_SAFE_INTEGER : Number.MAX_SAFE_INTEGER);
1456
1456
  if (d.key == "Enter") {
1457
1457
  d.preventDefault();
1458
1458
  const b = $.value.find((k) => k.key == f.value);
@@ -1475,13 +1475,13 @@ const Kn = ["disabled", "placeholder", "required", "name"], Yn = {
1475
1475
  s.value ? f.value = Ft(s.value) : l.nullTitle && (f.value = a);
1476
1476
  }
1477
1477
  function Ft(d) {
1478
- return we.value ? we.value(s.value) : At(d)?.key ?? "";
1478
+ return xe.value ? xe.value(s.value) : At(d)?.key ?? "";
1479
1479
  }
1480
1480
  function At(d) {
1481
1481
  const b = $.value.find((M) => M.ref === d);
1482
1482
  if (b)
1483
1483
  return b;
1484
- const k = l.keyExtractor ? (M, B) => l.keyExtractor(M) === l.keyExtractor(B) : Me, w = $.value.find((M) => k(M.ref, d));
1484
+ const k = l.keyExtractor ? (M, B) => l.keyExtractor(M) === l.keyExtractor(B) : Ce, w = $.value.find((M) => k(M.ref, d));
1485
1485
  return w || null;
1486
1486
  }
1487
1487
  function Dt() {
@@ -1508,7 +1508,7 @@ const Kn = ["disabled", "placeholder", "required", "name"], Yn = {
1508
1508
  function Vt(d) {
1509
1509
  f.value = d ? d.key : null;
1510
1510
  }
1511
- function be(d) {
1511
+ function Te(d) {
1512
1512
  const b = $.value.findIndex((B) => B.key == f.value);
1513
1513
  let k = b + d;
1514
1514
  if (k < 0 ? k = 0 : k >= $.value.length && (k = $.value.length - 1), b == k) return;
@@ -1523,7 +1523,7 @@ const Kn = ["disabled", "placeholder", "required", "name"], Yn = {
1523
1523
  const b = i.value.trim();
1524
1524
  i.value = "", s.value = null, u.value = null, l.onCreateItem?.(b);
1525
1525
  } else {
1526
- const k = xe.value.find((w) => w.key == d.key).ref;
1526
+ const k = be.value.find((w) => w.key == d.key).ref;
1527
1527
  s.value = k, u.value = He.value(k), i.value = u.value ?? "";
1528
1528
  }
1529
1529
  E.value?.blur(), ze();
@@ -1568,7 +1568,7 @@ const Kn = ["disabled", "placeholder", "required", "name"], Yn = {
1568
1568
  type: "text",
1569
1569
  disabled: F.value,
1570
1570
  class: P({ nullable: !!e.nullTitle }),
1571
- placeholder: ke.value,
1571
+ placeholder: we.value,
1572
1572
  required: e.required,
1573
1573
  name: e.name,
1574
1574
  "data-1p-ignore": "",
@@ -1623,7 +1623,7 @@ const Kn = ["disabled", "placeholder", "required", "name"], Yn = {
1623
1623
  ], 2)) : W("", !0)
1624
1624
  ], 2));
1625
1625
  }
1626
- }), mi = /* @__PURE__ */ q({
1626
+ }), vi = /* @__PURE__ */ q({
1627
1627
  __name: "vf-ez-smart-select",
1628
1628
  props: {
1629
1629
  modelValue: {},
@@ -1645,7 +1645,7 @@ const Kn = ["disabled", "placeholder", "required", "name"], Yn = {
1645
1645
  y.value = a.value.find((E) => E.value === g) ?? null;
1646
1646
  }
1647
1647
  ), H(y, (g) => {
1648
- const E = g ? a.value.find((v) => Me(v, g))?.value : null;
1648
+ const E = g ? a.value.find((v) => Ce(v, g))?.value : null;
1649
1649
  l("update:modelValue", E ?? null);
1650
1650
  }), (g, E) => (S(), lt(no, {
1651
1651
  modelValue: y.value,
@@ -1658,16 +1658,13 @@ const Kn = ["disabled", "placeholder", "required", "name"], Yn = {
1658
1658
  }, null, 8, ["modelValue", "options", "formatter", "null-title", "placeholder", "name"]));
1659
1659
  }
1660
1660
  });
1661
- function gi() {
1661
+ function mi() {
1662
1662
  return N();
1663
1663
  }
1664
1664
  const oo = { class: "content" }, io = { class: "message" }, ro = {
1665
- key: 0,
1666
- class: "close"
1667
- }, ao = {
1668
1665
  key: 0,
1669
1666
  class: "progress-bar"
1670
- }, so = /* @__PURE__ */ q({
1667
+ }, ao = /* @__PURE__ */ q({
1671
1668
  __name: "vf-toast",
1672
1669
  props: {
1673
1670
  position: {},
@@ -1683,113 +1680,120 @@ const oo = { class: "content" }, io = { class: "message" }, ro = {
1683
1680
  function o() {
1684
1681
  t.onClick ? (t.onClick(), t.callback()) : t.disableClose || t.callback();
1685
1682
  }
1686
- const a = N();
1683
+ function a() {
1684
+ t.callback();
1685
+ }
1686
+ const p = N();
1687
1687
  return t.durationSecs !== null && z(() => {
1688
- const p = t.durationSecs ?? 5;
1689
- a.value?.animate([{ width: "0%" }, { width: "100%" }], {
1690
- duration: p * 1e3,
1688
+ const l = t.durationSecs ?? 5;
1689
+ p.value?.animate([{ width: "0%" }, { width: "100%" }], {
1690
+ duration: l * 1e3,
1691
1691
  easing: "linear"
1692
- }), setTimeout(() => t.callback(), p * 1e3);
1693
- }), (p, l) => (S(), I("div", {
1692
+ }), setTimeout(() => t.callback(), l * 1e3);
1693
+ }), (l, y) => (S(), I("div", {
1694
1694
  class: P(["vf-toast", [e.className, { top: e.position === "top", bottom: e.position !== "top" }]]),
1695
- onClick: Le(o, ["stop"])
1695
+ onClick: ve(o, ["stop"])
1696
1696
  }, [
1697
1697
  U("div", oo, [
1698
1698
  U("div", io, J(e.message), 1),
1699
- e.disableClose ? W("", !0) : (S(), I("div", ro, "x"))
1699
+ e.disableClose ? W("", !0) : (S(), I("div", {
1700
+ key: 0,
1701
+ class: "close",
1702
+ onClick: ve(a, ["stop"])
1703
+ }, "x"))
1700
1704
  ]),
1701
- e.durationSecs !== null ? (S(), I("div", ao, [
1705
+ e.durationSecs !== null ? (S(), I("div", ro, [
1702
1706
  U("div", {
1703
1707
  ref_key: "progressInnerEl",
1704
- ref: a,
1708
+ ref: p,
1705
1709
  class: "inner"
1706
1710
  }, null, 512)
1707
1711
  ])) : W("", !0)
1708
1712
  ], 2));
1709
1713
  }
1710
1714
  });
1711
- function yi(e) {
1712
- const t = ge(so, {
1715
+ function gi(e) {
1716
+ const t = ye(ao, {
1713
1717
  ...e,
1714
1718
  callback: () => re(t)
1715
1719
  });
1716
1720
  return () => re(t);
1717
1721
  }
1718
- function lo(e) {
1722
+ function so(e) {
1719
1723
  const t = Math.floor(Math.log(e) / Math.log(1024)), a = (e / Math.pow(1024, t)).toFixed(2), p = ["B", "KB", "MB", "GB", "TB"][t];
1720
1724
  return `${a} ${p}`;
1721
1725
  }
1722
- function uo(e) {
1726
+ function lo(e) {
1723
1727
  return e != null && String(e).length ? e : "-";
1724
1728
  }
1725
- function co(e) {
1729
+ function uo(e) {
1726
1730
  return e || "-";
1727
1731
  }
1728
- function fo(e) {
1732
+ function co(e) {
1729
1733
  return e === null || typeof e == "string" && !/^\d+$/.test(e) ? e : Fn(Number(e));
1730
1734
  }
1731
- function ho(e) {
1735
+ function fo(e) {
1732
1736
  return e && qn(e);
1733
1737
  }
1734
- function po(e) {
1738
+ function ho(e) {
1735
1739
  return e ? en(e) : null;
1736
1740
  }
1737
1741
  function yt(e) {
1738
1742
  return e ? Qt(e) : null;
1739
1743
  }
1740
- function vo(e) {
1744
+ function po(e) {
1741
1745
  return e ? e.toUpperCase() : null;
1742
1746
  }
1743
- function mo(e) {
1747
+ function vo(e) {
1744
1748
  return e ? yt(e.toLowerCase()) : null;
1745
1749
  }
1746
- function go(e) {
1750
+ function mo(e) {
1747
1751
  return e ? zn(e) : null;
1748
1752
  }
1749
- function yo(e, t) {
1753
+ function go(e, t) {
1750
1754
  return Jn(e, t);
1751
1755
  }
1752
- function Eo(e, t) {
1756
+ function yo(e, t) {
1753
1757
  return _(e).divide(t).value;
1754
1758
  }
1755
- function ko(e, t) {
1759
+ function Eo(e, t) {
1756
1760
  return e && X(new Date(e), t ?? D.defaultDateFormat);
1757
1761
  }
1758
- function wo(e, t) {
1762
+ function ko(e, t) {
1759
1763
  return e && X(new Date(e), t ?? D.defaultTimeFormat);
1760
1764
  }
1761
- function xo(e, t) {
1765
+ function wo(e, t) {
1762
1766
  return e && X(new Date(e), t ?? `${D.defaultDateFormat} ${D.defaultTimeFormat}`);
1763
1767
  }
1764
- function bo(e) {
1768
+ function xo(e) {
1765
1769
  return e && X(an(sn(e, "yyyy-MM-dd", /* @__PURE__ */ new Date()), 1), D.defaultDateFormat);
1766
1770
  }
1767
1771
  const Ze = {
1768
- bytes: lo,
1769
- dash: uo,
1770
- dashZeros: co,
1771
- number: fo,
1772
- phone: ho,
1773
- upperFirst: po,
1772
+ bytes: so,
1773
+ dash: lo,
1774
+ dashZeros: uo,
1775
+ number: co,
1776
+ phone: fo,
1777
+ upperFirst: ho,
1774
1778
  startCase: yt,
1775
- upperCase: vo,
1776
- upperWords: mo,
1777
- desnake: go,
1778
- usCurrency: yo,
1779
- divide: Eo,
1780
- date: ko,
1781
- time: wo,
1782
- dateTime: xo,
1783
- oneDayForward: bo
1784
- }, Ei = (e) => ({
1779
+ upperCase: po,
1780
+ upperWords: vo,
1781
+ desnake: mo,
1782
+ usCurrency: go,
1783
+ divide: yo,
1784
+ date: Eo,
1785
+ time: ko,
1786
+ dateTime: wo,
1787
+ oneDayForward: xo
1788
+ }, yi = (e) => ({
1785
1789
  ...Ze,
1786
1790
  ...e(Ze)
1787
1791
  }), Ae = Symbol("HookState");
1788
- function ki(e, t) {
1789
- const o = t ?? Ne();
1790
- z(() => To(o, e), o), ut(() => So(o), o), ct(() => Ge(o), o), me(() => Ge(o), o);
1792
+ function Ei(e, t) {
1793
+ const o = t ?? Le();
1794
+ z(() => bo(o, e), o), ut(() => To(o), o), ct(() => Ge(o), o), ge(() => Ge(o), o);
1791
1795
  }
1792
- function To(e, t) {
1796
+ function bo(e, t) {
1793
1797
  const o = {};
1794
1798
  if (t.elScrolledToBottom && (o.el = new oe(e.vnode.el, t.elScrolledToBottom)), t.ancestorScrolledToBottom) {
1795
1799
  const a = Et(e.vnode.el);
@@ -1797,7 +1801,7 @@ function To(e, t) {
1797
1801
  }
1798
1802
  t.windowScrolledToBottom && (o.window = new oe(window, t.windowScrolledToBottom)), e[Ae] = o;
1799
1803
  }
1800
- function So(e) {
1804
+ function To(e) {
1801
1805
  const t = e[Ae];
1802
1806
  t?.el?.install(), t?.ancestor?.install(), t?.window?.install();
1803
1807
  }
@@ -1805,12 +1809,12 @@ function Ge(e) {
1805
1809
  const t = e[Ae];
1806
1810
  t?.el?.uninstall(), t?.ancestor?.uninstall(), t?.window?.uninstall();
1807
1811
  }
1808
- const Ie = ["auto", "scroll"];
1812
+ const Me = ["auto", "scroll"];
1809
1813
  function Et(e) {
1810
1814
  const t = e.parentElement;
1811
1815
  if (!t) return null;
1812
1816
  const o = window.getComputedStyle(t);
1813
- return Ie.includes(o.overflow) || Ie.includes(o.overflowX) || Ie.includes(o.overflowY) ? t : Et(t);
1817
+ return Me.includes(o.overflow) || Me.includes(o.overflowX) || Me.includes(o.overflowY) ? t : Et(t);
1814
1818
  }
1815
1819
  class oe {
1816
1820
  constructor(t, o) {
@@ -1828,10 +1832,10 @@ class oe {
1828
1832
  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);
1829
1833
  }
1830
1834
  }
1831
- function wi(e) {
1832
- z(() => window.addEventListener("resize", e)), ut(() => window.addEventListener("resize", e)), ct(() => window.removeEventListener("resize", e)), me(() => window.removeEventListener("resize", e));
1835
+ function ki(e) {
1836
+ z(() => window.addEventListener("resize", e)), ut(() => window.addEventListener("resize", e)), ct(() => window.removeEventListener("resize", e)), ge(() => window.removeEventListener("resize", e));
1833
1837
  }
1834
- const Io = {
1838
+ const So = {
1835
1839
  mounted: et,
1836
1840
  updated: et
1837
1841
  }, Qe = Symbol("HasAutoFocused");
@@ -1841,10 +1845,10 @@ function et(e, t) {
1841
1845
  const o = ["BUTTON", "INPUT", "TEXTAREA", "SELECT"].indexOf(e.tagName) > -1 ? e : e.querySelectorAll("input")[0];
1842
1846
  setTimeout(() => o.focus(), 10);
1843
1847
  }
1844
- const Mo = {
1845
- mounted: Co
1848
+ const Io = {
1849
+ mounted: Mo
1846
1850
  }, Q = Symbol("ConfirmState");
1847
- function Co(e, t) {
1851
+ function Mo(e, t) {
1848
1852
  e.addEventListener("click", (o) => {
1849
1853
  const a = Date.now(), p = t.value?.text !== void 0 ? t.value.text : "Confirm";
1850
1854
  if (e[Q]) {
@@ -1864,10 +1868,10 @@ function Co(e, t) {
1864
1868
  e[Q] = l, p && (e.innerHTML = p), t.value?.class && e.classList.add(t.value.class), e.addEventListener("mouseout", l.resetHandler);
1865
1869
  });
1866
1870
  }
1867
- const Oo = {
1868
- beforeMount: No
1871
+ const Co = {
1872
+ beforeMount: Oo
1869
1873
  };
1870
- function No(e) {
1874
+ function Oo(e) {
1871
1875
  e.addEventListener("blur", () => {
1872
1876
  let t = e.value;
1873
1877
  /^\d{1,2}\/\d{1,2}$/.test(t) && (t += "/" + X(/* @__PURE__ */ new Date(), "yy"));
@@ -1875,14 +1879,14 @@ function No(e) {
1875
1879
  isNaN(o) ? e.value = "" : e.value = X(o, "MM/dd/yyyy"), e.dispatchEvent(new Event("input"));
1876
1880
  });
1877
1881
  }
1878
- const Lo = {
1882
+ const No = {
1879
1883
  beforeMount: tt,
1880
1884
  updated: tt
1881
1885
  };
1882
1886
  function tt(e, t) {
1883
- t.value == t.oldValue && e.innerHTML.length || (e.innerText = Ro(e, t));
1887
+ t.value == t.oldValue && e.innerHTML.length || (e.innerText = Lo(e, t));
1884
1888
  }
1885
- function Ro(e, t) {
1889
+ function Lo(e, t) {
1886
1890
  if (!t.value)
1887
1891
  return e.attributes.getNamedItem("placeholder")?.value ?? "";
1888
1892
  let o = "";
@@ -1905,26 +1909,26 @@ function Ro(e, t) {
1905
1909
  let E = X(l, y);
1906
1910
  return o && (E = o + " " + E), E;
1907
1911
  }
1908
- const Fo = {
1912
+ const Ro = {
1909
1913
  beforeMount: nt,
1910
1914
  updated: nt,
1911
- unmounted: Ao
1915
+ unmounted: Fo
1912
1916
  };
1913
1917
  function nt(e, t) {
1914
1918
  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");
1915
1919
  }
1916
- function Ao(e) {
1920
+ function Fo(e) {
1917
1921
  e.tagName === "LABEL" && (e.classList.remove("disabled"), e = e.querySelector("input")), e.removeAttribute("disabled");
1918
1922
  }
1919
- const Do = {
1923
+ const Ao = {
1920
1924
  beforeMount: ot,
1921
1925
  updated: ot,
1922
1926
  unmounted: wt
1923
1927
  }, ae = Symbol("HasAutoFocused"), De = [];
1924
- function $o() {
1928
+ function Do() {
1925
1929
  De.forEach(kt);
1926
1930
  }
1927
- setInterval($o, 1e3);
1931
+ setInterval(Do, 1e3);
1928
1932
  function ot(e, t) {
1929
1933
  if (t.value == t.oldValue) return;
1930
1934
  if (!t.value) return wt(e);
@@ -1936,12 +1940,12 @@ function ot(e, t) {
1936
1940
  }
1937
1941
  function kt(e) {
1938
1942
  const t = e[ae], o = Math.round((Date.now() - t.startTs) / 1e3);
1939
- e.innerText = Ho(o, t.includeSeconds);
1943
+ e.innerText = $o(o, t.includeSeconds);
1940
1944
  }
1941
1945
  function wt(e) {
1942
1946
  e[ae] && (tn(De, e), delete e[ae]), e.innerText = "-";
1943
1947
  }
1944
- function Ho(e, t) {
1948
+ function $o(e, t) {
1945
1949
  const o = [], a = Math.floor(e / 86400);
1946
1950
  a && o.push(a + "d"), e -= a * 86400;
1947
1951
  const p = Math.floor(e / 3600);
@@ -1949,9 +1953,9 @@ function Ho(e, t) {
1949
1953
  const l = Math.floor(e / 60);
1950
1954
  return (a || p || l) && o.push(l + "m"), t ? o.length || o.push("0m") : (e -= l * 60, o.push(e + "s")), o.join(" ");
1951
1955
  }
1952
- const Vo = {
1956
+ const Ho = {
1953
1957
  mounted: xt,
1954
- updated: Bo,
1958
+ updated: Vo,
1955
1959
  unmounted: bt
1956
1960
  }, Y = /* @__PURE__ */ new Map();
1957
1961
  function xt(e, t) {
@@ -1965,7 +1969,7 @@ function bt(e, t) {
1965
1969
  }
1966
1970
  Y.size === 0 && window.removeEventListener("keydown", Tt);
1967
1971
  }
1968
- function Bo(e, t) {
1972
+ function Vo(e, t) {
1969
1973
  bt(e, t), xt(e, t);
1970
1974
  }
1971
1975
  function Tt(e) {
@@ -1973,7 +1977,7 @@ function Tt(e) {
1973
1977
  const t = e.key.toLowerCase(), o = Y.get(t);
1974
1978
  o && (nn(o)?.click(), e.preventDefault());
1975
1979
  }
1976
- const ee = Symbol("InfiniteScrollHandler"), _o = {
1980
+ const ee = Symbol("InfiniteScrollHandler"), Bo = {
1977
1981
  mounted(e, t) {
1978
1982
  e[ee] = new oe(e, t.value);
1979
1983
  },
@@ -1983,14 +1987,14 @@ const ee = Symbol("InfiniteScrollHandler"), _o = {
1983
1987
  unmounted(e) {
1984
1988
  e[ee]?.uninstall(), delete e[ee];
1985
1989
  }
1986
- }, Wo = {
1990
+ }, _o = {
1987
1991
  beforeMount: it,
1988
1992
  updated: it
1989
1993
  };
1990
1994
  function it(e, t) {
1991
1995
  e.tagName == "LABEL" && (e = e.querySelector("input")), t.value ? e.setAttribute("readonly", "readonly") : e.removeAttribute("readonly");
1992
1996
  }
1993
- const Oe = /* @__PURE__ */ new WeakMap(), Po = {
1997
+ const Ne = /* @__PURE__ */ new WeakMap(), Wo = {
1994
1998
  beforeMount(e, t) {
1995
1999
  t.value === !1 || D.disableStickyMinWidthDirective || rt(e);
1996
2000
  },
@@ -2006,13 +2010,13 @@ function rt(e) {
2006
2010
  const o = window.getComputedStyle(e).minWidth.match(/^(\d+)px$/)?.[1], a = o ? parseInt(o, 10) : 0;
2007
2011
  e.clientWidth <= a || (e.style.minWidth = `${e.clientWidth}px`);
2008
2012
  });
2009
- Oe.set(e, t), t.observe(e);
2013
+ Ne.set(e, t), t.observe(e);
2010
2014
  }
2011
2015
  function at(e) {
2012
- const t = Oe.get(e);
2013
- t && (t.unobserve(e), Oe.delete(e));
2016
+ const t = Ne.get(e);
2017
+ t && (t.unobserve(e), Ne.delete(e));
2014
2018
  }
2015
- const jo = {
2019
+ const Po = {
2016
2020
  mounted: st,
2017
2021
  updated: st,
2018
2022
  unmounted: St
@@ -2025,14 +2029,14 @@ function st(e, t) {
2025
2029
  html: e.getAttribute("html") !== null,
2026
2030
  alertOnTap: e.getAttribute("alert-on-tap") !== null
2027
2031
  };
2028
- e[ie] ? e[ie].configure(a) : e[ie] = new Uo(e, a);
2032
+ e[ie] ? e[ie].configure(a) : e[ie] = new jo(e, a);
2029
2033
  } else
2030
2034
  St(e);
2031
2035
  }
2032
2036
  function St(e) {
2033
2037
  e[ie]?.destroy(), delete e[ie];
2034
2038
  }
2035
- class Uo {
2039
+ class jo {
2036
2040
  constructor(t, o) {
2037
2041
  this.el = t, this.config = o, t.addEventListener("mouseenter", this.handleTargetMouseEnterWithContext), t.addEventListener("mouseleave", this.handleTargetMouseLeaveWithContext), t.addEventListener("click", this.handleTargetMouseLeaveWithContext), o.alertOnTap && t.addEventListener("touchstart", () => this.showTapAlert());
2038
2042
  }
@@ -2086,64 +2090,64 @@ class Uo {
2086
2090
  this.shouldShow = !1, this.removeTooltip(), this.el.removeEventListener("mouseenter", this.handleTargetMouseEnterWithContext), this.el.removeEventListener("mouseleave", this.handleTargetMouseLeaveWithContext), this.el.removeEventListener("click", this.handleTargetMouseLeaveWithContext);
2087
2091
  }
2088
2092
  }
2089
- function zo(e) {
2090
- e.directive("autofocus", Io), e.directive("confirm-button", Mo), e.directive("date-input", Oo), e.directive("datetime", Lo), e.directive("disabled", Fo), e.directive("duration", Do), e.directive("hotkey", Vo), e.directive("infinite-scroll", _o), e.directive("readonly", Wo), e.directive("tooltip", jo), e.directive("sticky-min-width", Po);
2093
+ function Uo(e) {
2094
+ e.directive("autofocus", So), e.directive("confirm-button", Io), e.directive("date-input", Co), e.directive("datetime", No), e.directive("disabled", Ro), e.directive("duration", Ao), e.directive("hotkey", Ho), e.directive("infinite-scroll", Bo), e.directive("readonly", _o), e.directive("tooltip", Po), e.directive("sticky-min-width", Wo);
2091
2095
  }
2092
- function xi(e) {
2093
- zo(e);
2096
+ function wi(e) {
2097
+ Uo(e);
2094
2098
  }
2095
2099
  export {
2096
- Go as OverlayContainer,
2097
- ye as UserError,
2098
- Xo as VfAjaxSelect,
2100
+ Zo as OverlayContainer,
2101
+ Ee as UserError,
2102
+ Yo as VfAjaxSelect,
2099
2103
  le as VfAlertModal,
2100
- mi as VfEzSmartSelect,
2104
+ vi as VfEzSmartSelect,
2101
2105
  Tn as VfModal,
2102
2106
  no as VfSmartSelect,
2103
- di as cloneProp,
2104
- Zo as configureVf,
2105
- hi as configureVfOpenApiClient,
2106
- Ei as createFilters,
2107
- ge as createOverlayInjection,
2107
+ ci as cloneProp,
2108
+ Xo as configureVf,
2109
+ fi as configureVfOpenApiClient,
2110
+ yi as createFilters,
2111
+ ye as createOverlayInjection,
2108
2112
  zn as desnakeCase,
2109
2113
  pn as dismissOverlayInjectionById,
2110
- Qo as dismissOverlayInjectionByInstance,
2114
+ Go as dismissOverlayInjectionByInstance,
2111
2115
  ft as dismissOverlayInjectionByInternalInstance,
2112
2116
  hn as dismissOverlayInjectionByVnode,
2113
- Si as escapeHtml,
2117
+ Ti as escapeHtml,
2114
2118
  mn as formatError,
2115
2119
  Fn as formatNumber,
2116
2120
  qn as formatPhone,
2117
2121
  Jn as formatUSCurrency,
2118
- ri as handleError,
2119
- ii as handleErrorAndAlert,
2120
- xi as installVf,
2122
+ ii as handleError,
2123
+ oi as handleErrorAndAlert,
2124
+ wi as installVf,
2121
2125
  gn as isError,
2122
2126
  Ye as isNotNullOrUndefined,
2123
- ai as maskComponent,
2127
+ ri as maskComponent,
2124
2128
  yn as maskEl,
2125
2129
  En as maskForm,
2126
- pi as nl2br,
2127
- fi as nullifyEmptyInputs,
2130
+ hi as nl2br,
2131
+ di as nullifyEmptyInputs,
2128
2132
  Re as presentOverlay,
2129
2133
  re as removeOverlayInjection,
2130
- li as replaceElement,
2134
+ si as replaceElement,
2131
2135
  ht as showAlert,
2132
- ei as showConfirm,
2133
- ti as showConfirmDestroy,
2134
- ui as showContextMenu,
2135
- oi as showMutableWait,
2136
- yi as showToast,
2137
- ni as showWait,
2136
+ Qo as showConfirm,
2137
+ ei as showConfirmDestroy,
2138
+ li as showContextMenu,
2139
+ ni as showMutableWait,
2140
+ gi as showToast,
2141
+ ti as showWait,
2138
2142
  Rn as sleep,
2139
- ci as sleepSecs,
2140
- Ee as toError,
2141
- si as unmaskComponent,
2143
+ ui as sleepSecs,
2144
+ ke as toError,
2145
+ ai as unmaskComponent,
2142
2146
  pt as unmaskEl,
2143
2147
  vt as unmaskForm,
2144
2148
  vn as updateOverlayProps,
2145
- ki as useInfiniteScroll,
2146
- wi as useResizeWatcher,
2147
- vi as uuid,
2148
- gi as vfModalRef
2149
+ Ei as useInfiniteScroll,
2150
+ ki as useResizeWatcher,
2151
+ pi as uuid,
2152
+ mi as vfModalRef
2149
2153
  };