@stonecrop/aform 0.19.0 → 0.20.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.
package/dist/aform.js CHANGED
@@ -1,11 +1,11 @@
1
- import { install as pe } from "@stonecrop/atable";
2
- import { defineComponent as V, computed as I, useModel as G, openBlock as u, createElementBlock as m, Fragment as L, createElementVNode as a, toDisplayString as g, withDirectives as p, vModelCheckbox as Le, vShow as P, mergeModels as Q, useId as qe, ref as A, inject as re, watch as X, normalizeClass as O, withKeys as _, withModifiers as R, vModelText as Y, createCommentVNode as B, renderList as j, renderSlot as fe, createTextVNode as ne, unref as J, createVNode as oe, withCtx as Fe, useTemplateRef as le, onMounted as we, nextTick as _e, reactive as ve, vModelSelect as Ce, provide as Be, createBlock as ee, watchEffect as Re, resolveDynamicComponent as $e, mergeProps as Ve } from "vue";
1
+ import { install as Le } from "@stonecrop/atable";
2
+ import { defineComponent as V, computed as A, useModel as G, openBlock as u, createElementBlock as m, Fragment as L, createElementVNode as a, toDisplayString as g, withDirectives as p, vModelCheckbox as qe, vShow as P, mergeModels as Q, useId as Fe, ref as I, inject as re, watch as Z, normalizeClass as O, withKeys as _, withModifiers as R, vModelText as Y, createCommentVNode as B, renderList as j, renderSlot as fe, createTextVNode as ne, unref as J, createVNode as oe, withCtx as _e, useTemplateRef as le, onMounted as we, nextTick as Ce, reactive as ve, vModelSelect as Be, provide as Re, createBlock as ee, watchEffect as Ve, resolveDynamicComponent as $e, mergeProps as Ne } from "vue";
3
3
  import { vOnClickOutside as ye } from "@vueuse/components";
4
- import { onClickOutside as De, useFileDialog as Ne } from "@vueuse/core";
4
+ import { onClickOutside as De, useFileDialog as Ue } from "@vueuse/core";
5
5
  import './assets/index.css';function ce(e) {
6
6
  return Function(`"use strict"; return (${e})`)();
7
7
  }
8
- const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" }, Ee = { class: "aform_display-value" }, Ke = ["for"], Pe = { class: "aform_checkbox-container aform_input-field" }, Qe = ["id", "disabled", "required"], Ye = ["innerHTML"], Ge = /* @__PURE__ */ V({
8
+ const He = { class: "aform_form-element" }, Ee = { class: "aform_field-label" }, Ke = { class: "aform_display-value" }, Pe = ["for"], Qe = { class: "aform_checkbox-container aform_input-field" }, Ye = ["id", "disabled", "required"], Ge = ["innerHTML"], ze = /* @__PURE__ */ V({
9
9
  __name: "ACheckbox",
10
10
  props: /* @__PURE__ */ Q({
11
11
  schema: {},
@@ -23,17 +23,17 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
23
23
  }),
24
24
  emits: ["update:modelValue"],
25
25
  setup(e) {
26
- const s = I(() => e.errors?.length ? e.errors.join("; ") : e.validation.errorMessage ?? ""), n = G(e, "modelValue");
26
+ const s = A(() => e.errors?.length ? e.errors.join("; ") : e.validation.errorMessage ?? ""), n = G(e, "modelValue");
27
27
  return (c, t) => (u(), m("div", He, [
28
28
  e.mode === "display" ? (u(), m(L, { key: 0 }, [
29
- a("label", Ue, g(e.label), 1),
30
- a("span", Ee, g(n.value ? "✓" : "✗"), 1)
29
+ a("label", Ee, g(e.label), 1),
30
+ a("span", Ke, g(n.value ? "✓" : "✗"), 1)
31
31
  ], 64)) : (u(), m(L, { key: 1 }, [
32
32
  a("label", {
33
33
  class: "aform_field-label",
34
34
  for: e.uuid
35
- }, g(e.label), 9, Ke),
36
- a("span", Pe, [
35
+ }, g(e.label), 9, Pe),
36
+ a("span", Qe, [
37
37
  p(a("input", {
38
38
  id: e.uuid,
39
39
  "onUpdate:modelValue": t[0] || (t[0] = (d) => n.value = d),
@@ -41,34 +41,34 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
41
41
  class: "aform_checkbox",
42
42
  disabled: e.mode === "read",
43
43
  required: e.required
44
- }, null, 8, Qe), [
45
- [Le, n.value]
44
+ }, null, 8, Ye), [
45
+ [qe, n.value]
46
46
  ])
47
47
  ]),
48
48
  p(a("p", {
49
49
  class: "aform_error",
50
50
  innerHTML: s.value
51
- }, null, 8, Ye), [
51
+ }, null, 8, Ge), [
52
52
  [P, s.value]
53
53
  ])
54
54
  ], 64))
55
55
  ]));
56
56
  }
57
- }), U = (e, s) => {
57
+ }), H = (e, s) => {
58
58
  const n = e.__vccOpts || e;
59
59
  for (const [c, t] of s)
60
60
  n[c] = t;
61
61
  return n;
62
- }, ze = /* @__PURE__ */ U(Ge, [["__scopeId", "data-v-ca06741d"]]), We = {
62
+ }, We = /* @__PURE__ */ H(ze, [["__scopeId", "data-v-ca06741d"]]), Je = {
63
63
  key: 0,
64
64
  class: "aform_display-value"
65
- }, Je = { class: "aform_form-link-wrapper" }, Xe = { class: "input-group" }, Ze = ["placeholder", "aria-label", "required", "aria-expanded", "aria-controls", "aria-activedescendant", "disabled", "onKeydown"], Oe = ["onKeydown"], je = ["aria-label"], et = {
65
+ }, Xe = { class: "aform_form-link-wrapper" }, Ze = { class: "input-group" }, Oe = ["placeholder", "aria-label", "required", "aria-expanded", "aria-controls", "aria-activedescendant", "disabled", "onKeydown"], je = ["onKeydown"], et = ["aria-label"], tt = {
66
66
  key: 0,
67
67
  class: "autocomplete-result loading"
68
- }, tt = ["id", "aria-selected", "onMousedown"], at = {
68
+ }, at = ["id", "aria-selected", "onMousedown"], lt = {
69
69
  key: 0,
70
70
  class: "aform_field-label"
71
- }, lt = /* @__PURE__ */ V({
71
+ }, nt = /* @__PURE__ */ V({
72
72
  __name: "AFormLink",
73
73
  props: /* @__PURE__ */ Q({
74
74
  schema: {},
@@ -98,10 +98,10 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
98
98
  }),
99
99
  emits: ["update:modelValue"],
100
100
  setup(e) {
101
- const s = `${e.uuid ?? `aform-link-${qe()}`}-listbox`, n = G(e, "modelValue"), c = I(() => T(n.value) !== void 0), t = I(() => {
101
+ const s = `${e.uuid ?? `aform-link-${Fe()}`}-listbox`, n = G(e, "modelValue"), c = A(() => T(n.value) !== void 0), t = A(() => {
102
102
  const D = T(n.value);
103
103
  return D === void 0 ? "—" : e.formatter ? e.formatter(l(n.value)) : f(n.value) ?? D;
104
- }), d = A(c.value ? t.value : ""), y = A(!1), k = A(!1), v = A([]), h = A(null), x = re("aformLinkNavigator", null), $ = re("aformLinkResolver", null);
104
+ }), d = I(c.value ? t.value : ""), y = I(!1), k = I(!1), v = I([]), h = I(null), x = re("aformLinkNavigator", null), $ = re("aformLinkResolver", null);
105
105
  function T(D) {
106
106
  if (D == null) return;
107
107
  if (typeof D == "string") return D === "" ? void 0 : D;
@@ -120,7 +120,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
120
120
  const C = T(D);
121
121
  return C !== void 0 ? { id: C } : { id: "" };
122
122
  }
123
- X(
123
+ Z(
124
124
  () => T(n.value),
125
125
  async (D) => {
126
126
  if (!(!D || f(n.value)))
@@ -129,8 +129,8 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
129
129
  if (e.filterFunction ? (C = (await (typeof e.filterFunction == "string" ? ce(e.filterFunction) : e.filterFunction)(String(D))).find((ue) => String(ue.id) === String(D)), E = C?.displayText, E === void 0 && console.warn(
130
130
  `[AFormLink] filterFunction returned no matching result for id "${D}". The function must return an item whose \`id\` exactly matches the search string.`
131
131
  )) : $ && e.doctype && (E = await $(e.doctype, D.toString()) ?? void 0), E) {
132
- const Z = { ...l(n.value), ...C, id: D, displayText: E };
133
- d.value = e.formatter ? e.formatter(Z) : E, n.value = Z;
132
+ const X = { ...l(n.value), ...C, id: D, displayText: E };
133
+ d.value = e.formatter ? e.formatter(X) : E, n.value = X;
134
134
  }
135
135
  } catch {
136
136
  }
@@ -171,9 +171,9 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
171
171
  return (D, C) => (u(), m("div", {
172
172
  class: O(["aform_form-element", { "aform_form-element--embedded": e.embedded }])
173
173
  }, [
174
- e.mode === "display" ? (u(), m("span", We, g(t.value), 1)) : (u(), m(L, { key: 1 }, [
175
- p((u(), m("div", Je, [
176
- a("div", Xe, [
174
+ e.mode === "display" ? (u(), m("span", Je, g(t.value), 1)) : (u(), m(L, { key: 1 }, [
175
+ p((u(), m("div", Xe, [
176
+ a("div", Ze, [
177
177
  p(a("input", {
178
178
  "onUpdate:modelValue": C[0] || (C[0] = (E) => d.value = E),
179
179
  type: "text",
@@ -197,7 +197,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
197
197
  _(w, ["esc"]),
198
198
  _(w, ["tab"])
199
199
  ]
200
- }, null, 42, Ze), [
200
+ }, null, 42, Oe), [
201
201
  [Y, d.value]
202
202
  ]),
203
203
  c.value && !e.disabled && !e.embedded ? (u(), m("button", {
@@ -208,7 +208,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
208
208
  onKeydown: _(R(o, ["prevent"]), ["enter"])
209
209
  }, [
210
210
  a("span", null, g(e.icon === "chevron-right" ? "›" : "→"), 1)
211
- ], 40, Oe)) : B("", !0)
211
+ ], 40, je)) : B("", !0)
212
212
  ]),
213
213
  y.value ? (u(), m("ul", {
214
214
  key: 0,
@@ -217,27 +217,27 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
217
217
  role: "listbox",
218
218
  "aria-label": e.ariaLabel
219
219
  }, [
220
- k.value ? (u(), m("li", et, "Loading…")) : (u(!0), m(L, { key: 1 }, j(v.value, (E, Z) => (u(), m("li", {
221
- id: `${s}-opt-${Z}`,
220
+ k.value ? (u(), m("li", tt, "Loading…")) : (u(!0), m(L, { key: 1 }, j(v.value, (E, X) => (u(), m("li", {
221
+ id: `${s}-opt-${X}`,
222
222
  key: String(E.id),
223
223
  role: "option",
224
- "aria-selected": Z === h.value,
225
- class: O(["autocomplete-result", { "is-active": Z === h.value }]),
224
+ "aria-selected": X === h.value,
225
+ class: O(["autocomplete-result", { "is-active": X === h.value }]),
226
226
  onMousedown: R((ie) => q(E), ["prevent"])
227
227
  }, [
228
228
  fe(D.$slots, "option", { option: E }, () => [
229
229
  ne(g(E.displayText ?? String(E.id)), 1)
230
230
  ], !0)
231
- ], 42, tt))), 128))
232
- ], 8, je)) : B("", !0)
231
+ ], 42, at))), 128))
232
+ ], 8, et)) : B("", !0)
233
233
  ])), [
234
234
  [J(ye), r]
235
235
  ]),
236
- e.label && !e.embedded ? (u(), m("label", at, g(e.label), 1)) : B("", !0)
236
+ e.label && !e.embedded ? (u(), m("label", lt, g(e.label), 1)) : B("", !0)
237
237
  ], 64))
238
238
  ], 2));
239
239
  }
240
- }), Me = /* @__PURE__ */ U(lt, [["__scopeId", "data-v-154d79c9"]]), nt = { class: "aform_form-element acurrency" }, ot = { class: "aform_display-value" }, st = { class: "aform_field-label" }, it = { class: "acurrency__row" }, ut = { class: "acurrency__field acurrency__field--amount" }, dt = { class: "acurrency__group" }, rt = { class: "acurrency__currency" }, ct = { class: "acurrency__amount-wrap" }, mt = ["id", "disabled", "required"], ft = ["for"], vt = { class: "acurrency__row acurrency__row--base" }, yt = { class: "acurrency__field acurrency__field--base-currency" }, ht = ["value"], bt = { class: "aform_field-label" }, gt = { class: "acurrency__field acurrency__field--base-amount" }, $t = ["value"], kt = { class: "aform_field-label" }, xt = { class: "acurrency__field acurrency__field--exchange-rate" }, wt = ["value"], Dt = { class: "aform_field-label" }, Mt = ["innerHTML"], ke = 6, Tt = /* @__PURE__ */ V({
240
+ }), Me = /* @__PURE__ */ H(nt, [["__scopeId", "data-v-154d79c9"]]), ot = { class: "aform_form-element acurrency" }, st = { class: "aform_display-value" }, it = { class: "aform_field-label" }, ut = { class: "acurrency__row" }, dt = { class: "acurrency__field acurrency__field--amount" }, rt = { class: "acurrency__group" }, ct = { class: "acurrency__currency" }, mt = { class: "acurrency__amount-wrap" }, ft = ["id", "disabled", "required"], vt = ["for"], yt = { class: "acurrency__row acurrency__row--base" }, ht = { class: "acurrency__field acurrency__field--base-currency" }, bt = ["value"], gt = { class: "aform_field-label" }, $t = { class: "acurrency__field acurrency__field--base-amount" }, kt = ["value"], xt = { class: "aform_field-label" }, wt = { class: "acurrency__field acurrency__field--exchange-rate" }, Dt = ["value"], Mt = { class: "aform_field-label" }, Tt = ["innerHTML"], ke = 6, St = /* @__PURE__ */ V({
241
241
  __name: "ACurrencyInput",
242
242
  props: /* @__PURE__ */ Q({
243
243
  schema: {},
@@ -268,11 +268,11 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
268
268
  }),
269
269
  emits: ["update:modelValue"],
270
270
  setup(e) {
271
- const s = (r) => r.symbol ?? r.displayText ?? String(r.id), n = G(e, "modelValue"), c = I(() => {
271
+ const s = (r) => r.symbol ?? r.displayText ?? String(r.id), n = G(e, "modelValue"), c = A(() => {
272
272
  const r = e.options.baseCurrency ?? n.value?.baseCurrency;
273
273
  return r ? typeof r == "string" ? { id: r } : r : { id: "" };
274
- }), t = re("aformLinkResolver", null), d = A(c.value);
275
- X(
274
+ }), t = re("aformLinkResolver", null), d = I(c.value);
275
+ Z(
276
276
  c,
277
277
  async (r) => {
278
278
  if (!r.id || r.displayText || !t || !e.options.doctype) {
@@ -288,13 +288,13 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
288
288
  },
289
289
  { immediate: !0 }
290
290
  );
291
- const y = I(() => {
291
+ const y = A(() => {
292
292
  const r = d.value;
293
293
  return r?.id ? r.displayText ?? String(r.id) : "";
294
294
  }), k = (r) => {
295
295
  const F = d.value.id;
296
296
  return !r || String(r) === String(F) ? 1 : String(r) === String(n.value?.currency?.id) ? n.value?.exchangeRate ?? e.options.exchangeRates?.[String(r)] ?? 1 : e.options.exchangeRates?.[String(r)] ?? 1;
297
- }, v = I(() => {
297
+ }, v = A(() => {
298
298
  const { precision: r } = e.options;
299
299
  return r === void 0 ? ke : Number.isInteger(r) && r >= 0 && r <= 100 ? r : ke;
300
300
  }), h = (r) => Number(r.toFixed(v.value)), x = (r, F) => {
@@ -306,10 +306,10 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
306
306
  baseCurrency: d.value,
307
307
  baseAmount: h(r * b)
308
308
  };
309
- }, $ = I({
309
+ }, $ = A({
310
310
  get: () => n.value?.amount ?? 0,
311
311
  set: (r) => x(r, n.value?.currency ?? { id: "" })
312
- }), T = I({
312
+ }), T = A({
313
313
  get: () => n.value?.currency ?? { id: "" },
314
314
  set: (r) => x(n.value?.amount ?? 0, r)
315
315
  }), f = /* @__PURE__ */ new Set([
@@ -331,10 +331,10 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
331
331
  }, o = (r) => {
332
332
  const F = r.clipboardData?.getData("text") ?? "";
333
333
  /^-?\d*\.?\d*$/.test(F) || r.preventDefault();
334
- }, i = I(() => {
334
+ }, i = A(() => {
335
335
  const r = n.value;
336
336
  return !!r?.baseCurrency?.id && (r.currency?.id !== r.baseCurrency?.id || r.amount !== r.baseAmount);
337
- }), w = I(() => {
337
+ }), w = A(() => {
338
338
  const r = n.value;
339
339
  if (!r || !r.currency?.id) return "—";
340
340
  const F = r.currency.displayText ?? String(r.currency.id), b = `${r.amount} ${F}`;
@@ -342,15 +342,15 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
342
342
  const q = r.baseCurrency.displayText ?? String(r.baseCurrency.id);
343
343
  return `${b} (${r.baseAmount} ${q})`;
344
344
  });
345
- return (r, F) => (u(), m("div", nt, [
345
+ return (r, F) => (u(), m("div", ot, [
346
346
  e.mode === "display" ? (u(), m(L, { key: 0 }, [
347
- a("span", ot, g(w.value), 1),
348
- a("label", st, g(e.label), 1)
347
+ a("span", st, g(w.value), 1),
348
+ a("label", it, g(e.label), 1)
349
349
  ], 64)) : (u(), m(L, { key: 1 }, [
350
- a("div", it, [
351
- a("div", ut, [
352
- a("div", dt, [
353
- a("div", rt, [
350
+ a("div", ut, [
351
+ a("div", dt, [
352
+ a("div", rt, [
353
+ a("div", ct, [
354
354
  oe(Me, {
355
355
  modelValue: T.value,
356
356
  "onUpdate:modelValue": F[0] || (F[0] = (b) => T.value = b),
@@ -364,13 +364,13 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
364
364
  "filter-function": e.options.filterFunction,
365
365
  "is-async": e.options.isAsync
366
366
  }, {
367
- option: Fe(({ option: b }) => [
367
+ option: _e(({ option: b }) => [
368
368
  ne(g(b.symbol ? `${b.symbol} — ` : "") + g(b.displayText ?? b.id), 1)
369
369
  ]),
370
370
  _: 1
371
371
  }, 8, ["modelValue", "mode", "placeholder", "aria-label", "required", "doctype", "filter-function", "is-async"])
372
372
  ]),
373
- a("div", ct, [
373
+ a("div", mt, [
374
374
  p(a("input", {
375
375
  id: e.uuid,
376
376
  "onUpdate:modelValue": F[1] || (F[1] = (b) => $.value = b),
@@ -380,7 +380,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
380
380
  required: e.required,
381
381
  onKeydown: l,
382
382
  onPaste: o
383
- }, null, 40, mt), [
383
+ }, null, 40, ft), [
384
384
  [
385
385
  Y,
386
386
  $.value,
@@ -391,57 +391,57 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
391
391
  a("label", {
392
392
  class: "aform_field-label",
393
393
  for: e.uuid
394
- }, g(e.label), 9, ft)
394
+ }, g(e.label), 9, vt)
395
395
  ])
396
396
  ])
397
397
  ])
398
398
  ]),
399
- a("div", vt, [
400
- a("div", yt, [
399
+ a("div", yt, [
400
+ a("div", ht, [
401
401
  a("input", {
402
402
  value: y.value,
403
403
  class: "aform_input-field acurrency__base-field",
404
404
  type: "text",
405
405
  disabled: ""
406
- }, null, 8, ht),
407
- a("label", bt, g(e.baseCurrencyLabel), 1)
406
+ }, null, 8, bt),
407
+ a("label", gt, g(e.baseCurrencyLabel), 1)
408
408
  ]),
409
- a("div", gt, [
409
+ a("div", $t, [
410
410
  a("input", {
411
411
  value: n.value.baseAmount,
412
412
  class: "aform_input-field acurrency__base-field",
413
413
  type: "number",
414
414
  disabled: ""
415
- }, null, 8, $t),
416
- a("label", kt, g(e.baseAmountLabel), 1)
415
+ }, null, 8, kt),
416
+ a("label", xt, g(e.baseAmountLabel), 1)
417
417
  ]),
418
- a("div", xt, [
418
+ a("div", wt, [
419
419
  a("input", {
420
420
  value: n.value.exchangeRate,
421
421
  class: "aform_input-field acurrency__base-field",
422
422
  type: "number",
423
423
  disabled: ""
424
- }, null, 8, wt),
425
- a("label", Dt, g(e.exchangeRateLabel), 1)
424
+ }, null, 8, Dt),
425
+ a("label", Mt, g(e.exchangeRateLabel), 1)
426
426
  ])
427
427
  ]),
428
428
  p(a("p", {
429
429
  class: "aform_error",
430
430
  innerHTML: e.validation.errorMessage
431
- }, null, 8, Mt), [
431
+ }, null, 8, Tt), [
432
432
  [P, e.validation.errorMessage]
433
433
  ])
434
434
  ], 64))
435
435
  ]));
436
436
  }
437
- }), St = /* @__PURE__ */ U(Tt, [["__scopeId", "data-v-15bec6ef"]]), At = { class: "aform_display-value" }, It = { key: 0 }, pt = ["innerHTML"], Lt = {
437
+ }), It = /* @__PURE__ */ H(St, [["__scopeId", "data-v-15bec6ef"]]), At = { class: "aform_display-value" }, pt = { key: 0 }, Lt = ["innerHTML"], qt = {
438
438
  ref: "datepicker",
439
439
  class: "adatepicker",
440
440
  tabindex: "0"
441
- }, qt = {
441
+ }, Ft = {
442
442
  colspan: "5",
443
443
  tabindex: -1
444
- }, Ft = { key: 0 }, _t = { colspan: "7" }, Ct = { class: "date-input" }, Bt = ["value"], Rt = ["value"], Vt = ["onClick", "onKeydown", "onMouseover"], Nt = ["innerHTML"], Ht = 6, xe = 7, Ut = /* @__PURE__ */ V({
444
+ }, _t = { key: 0 }, Ct = { colspan: "7" }, Bt = { class: "date-input" }, Rt = ["value"], Vt = ["value"], Nt = ["onClick", "onKeydown", "onMouseover"], Ut = ["innerHTML"], Ht = 6, xe = 7, Et = /* @__PURE__ */ V({
445
445
  __name: "ADatePicker",
446
446
  props: /* @__PURE__ */ Q({
447
447
  schema: {},
@@ -459,10 +459,10 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
459
459
  }),
460
460
  emits: /* @__PURE__ */ Q(["get-date"], ["update:modelValue"]),
461
461
  setup(e, { expose: s, emit: n }) {
462
- const c = I(() => e.errors?.length ? e.errors.join("; ") : e.validation.errorMessage ?? ""), t = G(e, "modelValue"), d = A(new Date(t.value)), y = A(d.value.getMonth()), k = A(d.value.getFullYear()), v = A([]), h = A(new Date(t.value)), x = A(null), $ = A(null), T = le("start-date-input"), f = le("end-date-input"), l = n, o = I(() => new Date(k.value, y.value, 1).toLocaleDateString(void 0, {
462
+ const c = A(() => e.errors?.length ? e.errors.join("; ") : e.validation.errorMessage ?? ""), t = G(e, "modelValue"), d = I(new Date(t.value)), y = I(d.value.getMonth()), k = I(d.value.getFullYear()), v = I([]), h = I(new Date(t.value)), x = I(null), $ = I(null), T = le("start-date-input"), f = le("end-date-input"), l = n, o = A(() => new Date(k.value, y.value, 1).toLocaleDateString(void 0, {
463
463
  year: "numeric",
464
464
  month: "long"
465
- })), i = I(() => x.value != null ? r(x.value) : ""), w = I(() => $.value != null ? r($.value) : ""), r = (M) => z(M) ? M.getMonth() + 1 + "/" + M.getDate() + "/" + M.getFullYear() : "", F = (M) => {
465
+ })), i = A(() => x.value != null ? r(x.value) : ""), w = A(() => $.value != null ? r($.value) : ""), r = (M) => z(M) ? M.getMonth() + 1 + "/" + M.getDate() + "/" + M.getFullYear() : "", F = (M) => {
466
466
  const S = /* @__PURE__ */ new Date();
467
467
  return y.value !== S.getMonth() ? !1 : S.toDateString() === new Date(M).toDateString();
468
468
  }, b = (M) => new Date(M).toDateString() === new Date(d.value).toDateString(), q = (M) => {
@@ -474,19 +474,21 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
474
474
  }, W = (M, S) => (M - 1) * xe + S, te = (M) => {
475
475
  const S = x.value;
476
476
  if (!z(S)) return !1;
477
- const H = new Date(M), K = $.value, ae = z(K) ? K : new Date(h.value);
478
- return H.getTime() > S.getTime() && H.getTime() < ae.getTime();
477
+ const U = new Date(M), K = $.value, ae = z(K) ? K : new Date(h.value);
478
+ return U.getTime() > S.getTime() && U.getTime() < ae.getTime();
479
479
  }, D = (M, S) => v.value[W(M, S)], C = (M) => {
480
480
  h.value = new Date(v.value[M]);
481
- }, E = () => {
481
+ }, E = (M) => {
482
+ M.target?.tagName !== "INPUT" && M.preventDefault();
483
+ }, X = () => {
482
484
  v.value = [];
483
- const M = new Date(k.value, y.value, 1), S = M.getDay(), H = M.setDate(M.getDate() - S);
485
+ const M = new Date(k.value, y.value, 1), S = M.getDay(), U = M.setDate(M.getDate() - S);
484
486
  for (const K of Array(43).keys())
485
- v.value.push(H + K * 864e5);
486
- }, Z = () => k.value -= 1, ie = () => k.value += 1, ue = () => {
487
- y.value == 0 ? (y.value = 11, Z()) : y.value -= 1;
487
+ v.value.push(U + K * 864e5);
488
+ }, ie = () => k.value -= 1, ue = () => k.value += 1, Ie = () => {
489
+ y.value == 0 ? (y.value = 11, ie()) : y.value -= 1;
488
490
  }, Ae = () => {
489
- y.value == 11 ? (y.value = 0, ie()) : y.value += 1;
491
+ y.value == 11 ? (y.value = 0, ue()) : y.value += 1;
490
492
  }, he = (M) => {
491
493
  M.key === "Enter" && de();
492
494
  }, be = (M) => {
@@ -495,7 +497,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
495
497
  S == null || $.value != null ? (x.value = t.value, $.value = null) : z(S) && d.value.getTime() < S.getTime() ? ($.value = null, x.value = t.value) : $.value = t.value, T.value && (T.value.value = r(x.value) ?? ""), f.value && (f.value.value = r($.value) ?? "");
496
498
  }
497
499
  ge();
498
- }, Ie = () => {
500
+ }, pe = () => {
499
501
  const M = x.value, S = $.value;
500
502
  z(S) && z(M) && S.getTime() < M.getTime() && ([x.value, $.value] = [S, M]);
501
503
  }, z = (M) => M instanceof Date && !isNaN(M.getTime()), de = () => {
@@ -511,7 +513,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
511
513
  const M = new Date(f.value.value);
512
514
  $.value = z(M) ? M : null;
513
515
  }
514
- z(x.value) && (z($.value) && Ie(), d.value = x.value), ge();
516
+ z(x.value) && (z($.value) && pe(), d.value = x.value), ge();
515
517
  }, ge = () => {
516
518
  l("get-date", {
517
519
  start: e.selectRange ? x.value : null,
@@ -520,7 +522,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
520
522
  });
521
523
  };
522
524
  return we(async () => {
523
- E(), await _e();
525
+ X(), await Ce();
524
526
  const M = document.getElementsByClassName("selectedDate");
525
527
  if (M.length > 0)
526
528
  M[0].focus();
@@ -528,44 +530,44 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
528
530
  const S = document.getElementsByClassName("todaysDate");
529
531
  S.length > 0 && S[0].focus();
530
532
  }
531
- }), X([y, k], E), s({ currentMonth: y, currentYear: k, selectedDate: d }), (M, S) => e.mode === "display" || e.mode === "read" ? (u(), m(L, { key: 0 }, [
533
+ }), Z([y, k], X), s({ currentMonth: y, currentYear: k, selectedDate: d }), (M, S) => e.mode === "display" || e.mode === "read" ? (u(), m(L, { key: 0 }, [
532
534
  a("span", At, g(t.value ? new Date(t.value).toLocaleDateString() : ""), 1),
533
- e.label ? (u(), m("label", It, g(e.label), 1)) : B("", !0),
535
+ e.label ? (u(), m("label", pt, g(e.label), 1)) : B("", !0),
534
536
  p(a("p", {
535
537
  class: "aform_error",
536
538
  innerHTML: c.value
537
- }, null, 8, pt), [
539
+ }, null, 8, Lt), [
538
540
  [P, c.value]
539
541
  ])
540
542
  ], 64)) : (u(), m(L, { key: 1 }, [
541
- a("div", Lt, [
542
- a("table", null, [
543
+ a("div", qt, [
544
+ a("table", { onMousedown: E }, [
543
545
  a("tbody", null, [
544
546
  a("tr", null, [
545
547
  a("td", {
546
548
  id: "previous-month-btn",
547
549
  tabindex: -1,
548
- onClick: ue
550
+ onClick: Ie
549
551
  }, "<"),
550
- a("th", qt, g(o.value), 1),
552
+ a("th", Ft, g(o.value), 1),
551
553
  a("td", {
552
554
  id: "next-month-btn",
553
555
  tabindex: -1,
554
556
  onClick: Ae
555
557
  }, ">")
556
558
  ]),
557
- e.selectRange ? (u(), m("tr", Ft, [
558
- a("td", _t, [
559
- a("div", Ct, [
559
+ e.selectRange ? (u(), m("tr", _t, [
560
+ a("td", Ct, [
561
+ a("div", Bt, [
560
562
  a("input", {
561
563
  ref: "start-date-input",
562
564
  value: i.value,
563
565
  class: "date-input-start aform_input-field",
564
566
  type: "text",
565
567
  placeholder: "start date",
566
- onBlur: S[0] || (S[0] = (H) => de()),
568
+ onBlur: S[0] || (S[0] = (U) => de()),
567
569
  onKeydown: he
568
- }, null, 40, Bt),
570
+ }, null, 40, Rt),
569
571
  S[2] || (S[2] = a("div", null, "-", -1)),
570
572
  a("input", {
571
573
  ref: "end-date-input",
@@ -573,9 +575,9 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
573
575
  class: "date-input-end aform_input-field",
574
576
  type: "text",
575
577
  placeholder: "end date",
576
- onBlur: S[1] || (S[1] = (H) => de()),
578
+ onBlur: S[1] || (S[1] = (U) => de()),
577
579
  onKeydown: he
578
- }, null, 40, Rt)
580
+ }, null, 40, Vt)
579
581
  ])
580
582
  ])
581
583
  ])) : B("", !0),
@@ -588,41 +590,41 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
588
590
  a("td", null, "S"),
589
591
  a("td", null, "S")
590
592
  ], -1)),
591
- (u(), m(L, null, j(Ht, (H) => a("tr", { key: H }, [
593
+ (u(), m(L, null, j(Ht, (U) => a("tr", { key: U }, [
592
594
  (u(), m(L, null, j(xe, (K) => a("td", {
593
595
  ref_for: !0,
594
596
  ref: "celldate",
595
- key: W(H, K),
597
+ key: W(U, K),
596
598
  class: O(["date-cell", {
597
- todaysDate: F(D(H, K)),
598
- selectedDate: b(D(H, K)),
599
- withinRange: e.selectRange ? te(D(H, K)) : !1,
600
- startDate: e.selectRange ? q(D(H, K)) : !1,
601
- endDate: e.selectRange ? N(D(H, K)) : !1
599
+ todaysDate: F(D(U, K)),
600
+ selectedDate: b(D(U, K)),
601
+ withinRange: e.selectRange ? te(D(U, K)) : !1,
602
+ startDate: e.selectRange ? q(D(U, K)) : !1,
603
+ endDate: e.selectRange ? N(D(U, K)) : !1
602
604
  }]),
603
605
  contenteditable: !1,
604
606
  spellcheck: !1,
605
607
  tabindex: 0,
606
- onClick: R((ae) => be(W(H, K)), ["prevent", "stop"]),
607
- onKeydown: _((ae) => be(W(H, K)), ["enter"]),
608
- onMouseover: (ae) => C(W(H, K))
609
- }, g(new Date(D(H, K)).getDate()), 43, Vt)), 64))
608
+ onClick: R((ae) => be(W(U, K)), ["prevent", "stop"]),
609
+ onKeydown: _((ae) => be(W(U, K)), ["enter"]),
610
+ onMouseover: (ae) => C(W(U, K))
611
+ }, g(new Date(D(U, K)).getDate()), 43, Nt)), 64))
610
612
  ])), 64))
611
613
  ])
612
- ])
614
+ ], 32)
613
615
  ], 512),
614
616
  p(a("p", {
615
617
  class: "aform_error",
616
618
  innerHTML: c.value
617
- }, null, 8, Nt), [
619
+ }, null, 8, Ut), [
618
620
  [P, c.value]
619
621
  ])
620
622
  ], 64));
621
623
  }
622
- }), Te = /* @__PURE__ */ U(Ut, [["__scopeId", "data-v-9e85c95a"]]), Et = { class: "adate_time" }, Kt = { class: "adate_time_fields" }, Pt = ["onKeydown"], Qt = ["onKeydown"], Yt = {
624
+ }), Te = /* @__PURE__ */ H(Et, [["__scopeId", "data-v-322c2ceb"]]), Kt = { class: "adate_time" }, Pt = { class: "adate_time_fields" }, Qt = ["onKeydown"], Yt = ["onKeydown"], Gt = {
623
625
  key: 0,
624
626
  class: "colon"
625
- }, Gt = ["onKeydown"], zt = /* @__PURE__ */ V({
627
+ }, zt = ["onKeydown"], Wt = /* @__PURE__ */ V({
626
628
  __name: "ADateTime",
627
629
  props: {
628
630
  allowMilitaryTime: { type: Boolean, default: !1 },
@@ -638,7 +640,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
638
640
  hours: String(e.defaultHours).padStart(2, "0"),
639
641
  minutes: String(e.defaultMinutes).padStart(2, "0"),
640
642
  seconds: String(e.defaultSeconds).padStart(2, "0")
641
- }), d = A(e.defaultMeridiem == "AM" ? "AM" : "PM");
643
+ }), d = I(e.defaultMeridiem == "AM" ? "AM" : "PM");
642
644
  we(() => {
643
645
  k();
644
646
  });
@@ -669,17 +671,17 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
669
671
  const r = Number(t.hours);
670
672
  !e.allowMilitaryTime && r !== w && (w === 11 && r === 12 || w === 12 && r === 11) && $(), t.hours = String(x(Number(t.hours), i, o)).padStart(2, "0"), t.minutes = String(x(Number(t.minutes), 0, 59)).padStart(2, "0"), t.seconds = String(x(Number(t.seconds), 0, 59)).padStart(2, "0");
671
673
  };
672
- X(
674
+ Z(
673
675
  () => t.hours,
674
676
  (f, l) => {
675
677
  t.hours = Number(f) > 99 ? l : f;
676
678
  }
677
- ), X(
679
+ ), Z(
678
680
  () => t.minutes,
679
681
  (f, l) => {
680
682
  t.minutes = Number(f) > 99 ? l : f;
681
683
  }
682
- ), X(
684
+ ), Z(
683
685
  () => t.seconds,
684
686
  (f, l) => {
685
687
  t.seconds = Number(f) > 99 ? l : f;
@@ -703,8 +705,8 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
703
705
  w instanceof HTMLInputElement && (w.value = i, w.dispatchEvent(new Event("input")));
704
706
  }
705
707
  };
706
- return (f, l) => (u(), m("div", Et, [
707
- a("div", Kt, [
708
+ return (f, l) => (u(), m("div", Kt, [
709
+ a("div", Pt, [
708
710
  p(a("input", {
709
711
  "onUpdate:modelValue": l[0] || (l[0] = (o) => t.hours = o),
710
712
  type: "text",
@@ -717,7 +719,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
717
719
  l[2] || (l[2] = _(R((o) => h("hours"), ["prevent"]), ["up"])),
718
720
  l[3] || (l[3] = _(R((o) => h("hours", -1), ["prevent"]), ["down"]))
719
721
  ]
720
- }, null, 40, Pt), [
722
+ }, null, 40, Qt), [
721
723
  [Y, t.hours]
722
724
  ]),
723
725
  l[12] || (l[12] = a("span", { class: "colon" }, ":", -1)),
@@ -733,10 +735,10 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
733
735
  l[5] || (l[5] = _(R((o) => h("minutes"), ["prevent"]), ["up"])),
734
736
  l[6] || (l[6] = _(R((o) => h("minutes", -1), ["prevent"]), ["down"]))
735
737
  ]
736
- }, null, 40, Qt), [
738
+ }, null, 40, Yt), [
737
739
  [Y, t.minutes]
738
740
  ]),
739
- e.useSeconds ? (u(), m("span", Yt, ":")) : B("", !0),
741
+ e.useSeconds ? (u(), m("span", Gt, ":")) : B("", !0),
740
742
  e.useSeconds ? p((u(), m("input", {
741
743
  key: 1,
742
744
  "onUpdate:modelValue": l[7] || (l[7] = (o) => t.seconds = o),
@@ -750,7 +752,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
750
752
  l[8] || (l[8] = _(R((o) => h("seconds"), ["prevent"]), ["up"])),
751
753
  l[9] || (l[9] = _(R((o) => h("seconds", -1), ["prevent"]), ["down"]))
752
754
  ]
753
- }, null, 40, Gt)), [
755
+ }, null, 40, zt)), [
754
756
  [Y, t.seconds]
755
757
  ]) : B("", !0),
756
758
  e.allowMilitaryTime ? B("", !0) : p((u(), m("select", {
@@ -763,15 +765,15 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
763
765
  a("option", { value: "AM" }, "AM", -1),
764
766
  a("option", { value: "PM" }, "PM", -1)
765
767
  ])], 544)), [
766
- [Ce, d.value]
768
+ [Be, d.value]
767
769
  ])
768
770
  ])
769
771
  ]));
770
772
  }
771
- }), me = /* @__PURE__ */ U(zt, [["__scopeId", "data-v-959a3e41"]]), Wt = { class: "adate-selection" }, Jt = {
773
+ }), me = /* @__PURE__ */ H(Wt, [["__scopeId", "data-v-959a3e41"]]), Jt = { class: "adate-selection" }, Xt = {
772
774
  key: 3,
773
775
  class: "empty"
774
- }, Xt = /* @__PURE__ */ V({
776
+ }, Zt = /* @__PURE__ */ V({
775
777
  __name: "ADateSelection",
776
778
  props: {
777
779
  showDate: { type: Boolean, default: !0 },
@@ -788,8 +790,8 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
788
790
  emits: ["get-date", "get-time", "get-range"],
789
791
  setup(e, { emit: s }) {
790
792
  const n = s;
791
- Be("select-range", e.selectRange);
792
- const c = /* @__PURE__ */ new Date(), t = A(c), d = A(c), y = A(0), k = A(0), v = (l, o) => {
793
+ Re("select-range", e.selectRange);
794
+ const c = /* @__PURE__ */ new Date(), t = I(c), d = I(c), y = I(0), k = I(0), v = (l, o) => {
793
795
  const i = new Date(l);
794
796
  return i.setHours(0, 0, 0, 0), new Date(i.getTime() + o);
795
797
  }, h = (l) => {
@@ -813,7 +815,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
813
815
  }, f = (l) => {
814
816
  k.value = h(l), x();
815
817
  };
816
- return (l, o) => (u(), m("div", Wt, [
818
+ return (l, o) => (u(), m("div", Jt, [
817
819
  e.showDate ? (u(), ee(Te, {
818
820
  key: 0,
819
821
  "select-range": e.selectRange,
@@ -841,10 +843,10 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
841
843
  onGetTime: f
842
844
  }, null, 8, ["allow-military-time", "default-hours", "default-minutes", "default-seconds", "default-meridiem", "use-seconds"])
843
845
  ], 64)) : B("", !0),
844
- !e.showTime && !e.showDate ? (u(), m("p", Jt, "empty")) : B("", !0)
846
+ !e.showTime && !e.showDate ? (u(), m("p", Xt, "empty")) : B("", !0)
845
847
  ]));
846
848
  }
847
- }), se = /* @__PURE__ */ U(Xt, [["__scopeId", "data-v-eeadb3e2"]]), Zt = { class: "aform_display-value" }, Ot = ["id", "value", "disabled", "required"], jt = ["for"], ea = ["innerHTML"], ta = /* @__PURE__ */ V({
849
+ }), se = /* @__PURE__ */ H(Zt, [["__scopeId", "data-v-eeadb3e2"]]), Ot = { class: "aform_display-value" }, jt = ["id", "value", "disabled", "required"], ea = ["for"], ta = ["innerHTML"], aa = /* @__PURE__ */ V({
848
850
  __name: "ADate",
849
851
  props: /* @__PURE__ */ Q({
850
852
  schema: {},
@@ -862,13 +864,13 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
862
864
  }),
863
865
  emits: ["update:modelValue"],
864
866
  setup(e) {
865
- const s = I(() => e.errors?.length ? e.errors.join("; ") : e.validation.errorMessage ?? ""), n = G(e, "modelValue"), c = A(n.value ? new Date(n.value) : /* @__PURE__ */ new Date()), t = I({
867
+ const s = A(() => e.errors?.length ? e.errors.join("; ") : e.validation.errorMessage ?? ""), n = G(e, "modelValue"), c = I(n.value ? new Date(n.value) : /* @__PURE__ */ new Date()), t = A({
866
868
  get: () => c.value.toISOString().split("T")[0],
867
869
  set: (v) => {
868
870
  c.value = new Date(v), n.value = v;
869
871
  }
870
- }), d = le("picker"), y = A(!1);
871
- De(d, () => y.value = !1), X(
872
+ }), d = le("picker"), y = I(!1);
873
+ De(d, () => y.value = !1), Z(
872
874
  () => n.value,
873
875
  (v) => {
874
876
  v && (c.value = new Date(v));
@@ -879,7 +881,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
879
881
  };
880
882
  return (v, h) => (u(), m("div", null, [
881
883
  e.mode === "display" ? (u(), m(L, { key: 0 }, [
882
- a("span", Zt, g(n.value ? new Date(t.value).toLocaleDateString() : ""), 1),
884
+ a("span", Ot, g(n.value ? new Date(t.value).toLocaleDateString() : ""), 1),
883
885
  a("label", null, g(e.label), 1)
884
886
  ], 64)) : (u(), m(L, { key: 1 }, [
885
887
  p(a("input", {
@@ -897,11 +899,11 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
897
899
  },
898
900
  ["prevent"]
899
901
  ))
900
- }, null, 8, Ot), [
902
+ }, null, 8, jt), [
901
903
  [Y, t.value]
902
904
  ]),
903
- a("label", { for: e.uuid }, g(e.label), 9, jt),
904
- p(a("p", { innerHTML: s.value }, null, 8, ea), [
905
+ a("label", { for: e.uuid }, g(e.label), 9, ea),
906
+ p(a("p", { innerHTML: s.value }, null, 8, ta), [
905
907
  [P, s.value]
906
908
  ]),
907
909
  y.value ? (u(), ee(se, {
@@ -915,16 +917,16 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
915
917
  ], 64))
916
918
  ]));
917
919
  }
918
- }), aa = /* @__PURE__ */ U(ta, [["__scopeId", "data-v-a73c275b"]]), la = {
920
+ }), la = /* @__PURE__ */ H(aa, [["__scopeId", "data-v-a73c275b"]]), na = {
919
921
  key: 0,
920
922
  class: "input-wrapper"
921
- }, na = { class: "aform_display-value" }, oa = ["innerHTML"], sa = { class: "input-wrapper" }, ia = ["disabled"], ua = {
923
+ }, oa = { class: "aform_display-value" }, sa = ["innerHTML"], ia = { class: "input-wrapper" }, ua = ["disabled"], da = {
922
924
  id: "autocomplete-results",
923
925
  class: "autocomplete-results"
924
- }, da = {
926
+ }, ra = {
925
927
  key: 0,
926
928
  class: "loading autocomplete-result"
927
- }, ra = ["onClick"], ca = ["innerHTML"], ma = /* @__PURE__ */ V({
929
+ }, ca = ["onClick"], ma = ["innerHTML"], fa = /* @__PURE__ */ V({
928
930
  __name: "ADropdown",
929
931
  props: /* @__PURE__ */ Q({
930
932
  schema: {},
@@ -945,7 +947,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
945
947
  }),
946
948
  emits: ["update:modelValue"],
947
949
  setup(e) {
948
- const s = I(() => e.errors?.length ? e.errors.join("; ") : e.validation.errorMessage ?? ""), n = G(e, "modelValue"), c = A(n.value ?? ""), t = ve({
950
+ const s = A(() => e.errors?.length ? e.errors.join("; ") : e.validation.errorMessage ?? ""), n = G(e, "modelValue"), c = I(n.value ?? ""), t = ve({
949
951
  activeItemIndex: null,
950
952
  open: !1,
951
953
  loading: !1,
@@ -993,20 +995,20 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
993
995
  }
994
996
  t.activeItemIndex = 0;
995
997
  };
996
- return (l, o) => e.mode === "display" ? (u(), m("div", la, [
997
- a("span", na, g(n.value ?? ""), 1),
998
+ return (l, o) => e.mode === "display" ? (u(), m("div", na, [
999
+ a("span", oa, g(n.value ?? ""), 1),
998
1000
  a("label", null, g(e.label), 1),
999
1001
  p(a("p", {
1000
1002
  class: "aform_error",
1001
1003
  innerHTML: s.value
1002
- }, null, 8, oa), [
1004
+ }, null, 8, sa), [
1003
1005
  [P, s.value]
1004
1006
  ])
1005
1007
  ])) : p((u(), m("div", {
1006
1008
  key: 1,
1007
1009
  class: O(["autocomplete", { isOpen: t.open }])
1008
1010
  }, [
1009
- a("div", sa, [
1011
+ a("div", ia, [
1010
1012
  p(a("input", {
1011
1013
  "onUpdate:modelValue": o[0] || (o[0] = (i) => n.value = i),
1012
1014
  type: "text",
@@ -1020,15 +1022,15 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1020
1022
  _(d, ["esc"]),
1021
1023
  _(d, ["tab"])
1022
1024
  ]
1023
- }, null, 40, ia), [
1025
+ }, null, 40, ua), [
1024
1026
  [Y, n.value]
1025
1027
  ]),
1026
- p(a("ul", ua, [
1027
- t.loading ? (u(), m("li", da, "Loading results...")) : (u(!0), m(L, { key: 1 }, j(t.results, (i, w) => (u(), m("li", {
1028
+ p(a("ul", da, [
1029
+ t.loading ? (u(), m("li", ra, "Loading results...")) : (u(!0), m(L, { key: 1 }, j(t.results, (i, w) => (u(), m("li", {
1028
1030
  key: i,
1029
1031
  class: O(["autocomplete-result", { "is-active": w === t.activeItemIndex }]),
1030
1032
  onClick: R((r) => k(i), ["stop"])
1031
- }, g(i), 11, ra))), 128))
1033
+ }, g(i), 11, ca))), 128))
1032
1034
  ], 512), [
1033
1035
  [P, t.open]
1034
1036
  ]),
@@ -1037,17 +1039,17 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1037
1039
  p(a("p", {
1038
1040
  class: "aform_error",
1039
1041
  innerHTML: s.value
1040
- }, null, 8, ca), [
1042
+ }, null, 8, ma), [
1041
1043
  [P, s.value]
1042
1044
  ])
1043
1045
  ], 2)), [
1044
1046
  [J(ye), d]
1045
1047
  ]);
1046
1048
  }
1047
- }), fa = /* @__PURE__ */ U(ma, [["__scopeId", "data-v-2b75e2d5"]]), va = { class: "aduration" }, ya = { class: "aform_display-value" }, ha = { class: "aduration__footer" }, ba = {
1049
+ }), va = /* @__PURE__ */ H(fa, [["__scopeId", "data-v-2b75e2d5"]]), ya = { class: "aduration" }, ha = { class: "aform_display-value" }, ba = { class: "aduration__footer" }, ga = {
1048
1050
  key: 0,
1049
1051
  class: "aduration__summary"
1050
- }, ga = { class: "aduration__value" }, $a = { class: "aduration__ms" }, ka = /* @__PURE__ */ V({
1052
+ }, $a = { class: "aduration__value" }, ka = { class: "aduration__ms" }, xa = /* @__PURE__ */ V({
1051
1053
  __name: "ADuration",
1052
1054
  props: /* @__PURE__ */ Q({
1053
1055
  label: { default: "Duration" },
@@ -1060,30 +1062,30 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1060
1062
  }),
1061
1063
  emits: ["update:modelValue"],
1062
1064
  setup(e) {
1063
- const s = G(e, "modelValue"), n = A(null), c = A(null), t = I(() => {
1065
+ const s = G(e, "modelValue"), n = I(null), c = I(null), t = A(() => {
1064
1066
  if (!n.value || !c.value) return 0;
1065
1067
  const v = c.value.getTime() - n.value.getTime();
1066
1068
  return v > 0 ? v : 0;
1067
1069
  });
1068
- X(t, (v) => {
1070
+ Z(t, (v) => {
1069
1071
  s.value = v;
1070
1072
  });
1071
1073
  const d = (v) => {
1072
1074
  n.value = v.start, c.value = v.end, s.value = t.value;
1073
- }, y = I(() => {
1075
+ }, y = A(() => {
1074
1076
  const v = t.value;
1075
1077
  if (v === 0) return "0s";
1076
1078
  const h = Math.floor(v / 1e3) % 60, x = Math.floor(v / 6e4) % 60, $ = Math.floor(v / 36e5) % 24, T = Math.floor(v / 864e5);
1077
1079
  return [T && `${T}d`, $ && `${$}h`, x && `${x}m`, h && `${h}s`].filter(Boolean).join(" ") || "0s";
1078
- }), k = I(() => {
1080
+ }), k = A(() => {
1079
1081
  const v = s.value;
1080
1082
  if (!v) return "—";
1081
1083
  const h = Math.floor(v / 1e3) % 60, x = Math.floor(v / 6e4) % 60, $ = Math.floor(v / 36e5) % 24, T = Math.floor(v / 864e5);
1082
1084
  return [T && `${T}d`, $ && `${$}h`, x && `${x}m`, h && `${h}s`].filter(Boolean).join(" ") || "0s";
1083
1085
  });
1084
- return (v, h) => (u(), m("div", va, [
1086
+ return (v, h) => (u(), m("div", ya, [
1085
1087
  e.mode === "display" || e.mode === "read" ? (u(), m(L, { key: 0 }, [
1086
- a("span", ya, g(k.value), 1),
1088
+ a("span", ha, g(k.value), 1),
1087
1089
  a("label", null, g(e.label), 1)
1088
1090
  ], 64)) : (u(), m(L, { key: 1 }, [
1089
1091
  oe(se, {
@@ -1095,18 +1097,18 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1095
1097
  "use-seconds": e.useSeconds,
1096
1098
  onGetRange: d
1097
1099
  }, null, 8, ["allow-military-time", "use-seconds"]),
1098
- a("div", ha, [
1100
+ a("div", ba, [
1099
1101
  a("label", null, g(e.label), 1),
1100
- n.value && c.value ? (u(), m("div", ba, [
1102
+ n.value && c.value ? (u(), m("div", ga, [
1101
1103
  h[0] || (h[0] = a("span", { class: "aduration__label" }, "Duration:", -1)),
1102
- a("span", ga, g(y.value), 1),
1103
- a("span", $a, "(" + g(s.value ?? 0) + " ms)", 1)
1104
+ a("span", $a, g(y.value), 1),
1105
+ a("span", ka, "(" + g(s.value ?? 0) + " ms)", 1)
1104
1106
  ])) : B("", !0)
1105
1107
  ])
1106
1108
  ], 64))
1107
1109
  ]));
1108
1110
  }
1109
- }), xa = /* @__PURE__ */ U(ka, [["__scopeId", "data-v-22611dd6"]]), wa = { class: "adaterange" }, Da = { class: "aform_display-value" }, Ma = ["id", "value", "disabled"], Ta = ["for"], Sa = ["innerHTML"], Aa = /* @__PURE__ */ V({
1111
+ }), wa = /* @__PURE__ */ H(xa, [["__scopeId", "data-v-22611dd6"]]), Da = { class: "adaterange" }, Ma = { class: "aform_display-value" }, Ta = ["id", "value", "disabled"], Sa = ["for"], Ia = ["innerHTML"], Aa = /* @__PURE__ */ V({
1110
1112
  __name: "ADateRange",
1111
1113
  props: /* @__PURE__ */ Q({
1112
1114
  schema: {},
@@ -1126,14 +1128,14 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1126
1128
  }),
1127
1129
  emits: ["update:modelValue"],
1128
1130
  setup(e) {
1129
- const s = (i) => new Date(i).toLocaleDateString(), n = I(() => e.errors?.length ? e.errors.join("; ") : e.validation.errorMessage ?? ""), c = G(e, "modelValue"), t = A(c.value.start_date ? new Date(c.value.start_date) : null), d = A(c.value.end_date ? new Date(c.value.end_date) : null), y = A(!1), k = A(null);
1131
+ const s = (i) => new Date(i).toLocaleDateString(), n = A(() => e.errors?.length ? e.errors.join("; ") : e.validation.errorMessage ?? ""), c = G(e, "modelValue"), t = I(c.value.start_date ? new Date(c.value.start_date) : null), d = I(c.value.end_date ? new Date(c.value.end_date) : null), y = I(!1), k = I(null);
1130
1132
  De(k, () => y.value = !1);
1131
1133
  const v = () => {
1132
1134
  e.mode !== "read" && (y.value = !0);
1133
- }, h = (i) => i ? `${i.getMonth() + 1}/${i.getDate()}/${i.getFullYear()}` : "", x = I(() => {
1135
+ }, h = (i) => i ? `${i.getMonth() + 1}/${i.getDate()}/${i.getFullYear()}` : "", x = A(() => {
1134
1136
  const i = h(t.value), w = h(d.value);
1135
1137
  return i && w ? `${i} — ${w}` : i ? `${i} — ...` : "";
1136
- }), $ = I(() => {
1138
+ }), $ = A(() => {
1137
1139
  const i = c.value.start_date, w = c.value.end_date;
1138
1140
  return !i && !w ? "" : i && w ? `${s(i)} — ${s(w)}` : i ? `From ${s(i)}` : `Until ${s(w)}`;
1139
1141
  }), T = () => {
@@ -1147,15 +1149,15 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1147
1149
  }, o = (i) => {
1148
1150
  i.start && (t.value = i.start), i.end && (d.value = i.end, T(), y.value = !1), l();
1149
1151
  };
1150
- return X(
1152
+ return Z(
1151
1153
  () => c.value,
1152
1154
  (i) => {
1153
1155
  t.value = i.start_date ? new Date(i.start_date) : null, d.value = i.end_date ? new Date(i.end_date) : null;
1154
1156
  },
1155
1157
  { deep: !0 }
1156
- ), (i, w) => (u(), m("div", wa, [
1158
+ ), (i, w) => (u(), m("div", Da, [
1157
1159
  e.mode === "display" ? (u(), m(L, { key: 0 }, [
1158
- a("span", Da, g($.value), 1),
1160
+ a("span", Ma, g($.value), 1),
1159
1161
  a("label", null, g(e.label), 1)
1160
1162
  ], 64)) : (u(), m(L, { key: 1 }, [
1161
1163
  a("input", {
@@ -1167,9 +1169,9 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1167
1169
  disabled: e.mode === "read",
1168
1170
  readonly: "",
1169
1171
  onClick: v
1170
- }, null, 8, Ma),
1171
- a("label", { for: e.uuid }, g(e.label), 9, Ta),
1172
- p(a("p", { innerHTML: n.value }, null, 8, Sa), [
1172
+ }, null, 8, Ta),
1173
+ a("label", { for: e.uuid }, g(e.label), 9, Sa),
1174
+ p(a("p", { innerHTML: n.value }, null, 8, Ia), [
1173
1175
  [P, n.value]
1174
1176
  ]),
1175
1177
  y.value ? (u(), ee(se, {
@@ -1184,13 +1186,13 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1184
1186
  ], 64))
1185
1187
  ]));
1186
1188
  }
1187
- }), Ia = /* @__PURE__ */ U(Aa, [["__scopeId", "data-v-b5838478"]]), pa = { class: "aform" }, La = {
1189
+ }), pa = /* @__PURE__ */ H(Aa, [["__scopeId", "data-v-b5838478"]]), La = { class: "aform" }, qa = {
1188
1190
  key: 0,
1189
1191
  class: "aform-nested-section"
1190
- }, qa = {
1192
+ }, Fa = {
1191
1193
  key: 0,
1192
1194
  class: "aform-nested-label"
1193
- }, Fa = /* @__PURE__ */ V({
1195
+ }, _a = /* @__PURE__ */ V({
1194
1196
  __name: "AForm",
1195
1197
  props: /* @__PURE__ */ Q({
1196
1198
  schema: {},
@@ -1202,8 +1204,8 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1202
1204
  }),
1203
1205
  emits: /* @__PURE__ */ Q(["update:schema", "update:data"], ["update:data"]),
1204
1206
  setup(e, { emit: s }) {
1205
- const n = s, c = G(e, "data"), t = (f) => (f.kind === "link" || f.kind === "fieldset") && "schema" in f && Array.isArray(f.schema) && f.schema.length > 0, d = A({});
1206
- X(
1207
+ const n = s, c = G(e, "data"), t = (f) => (f.kind === "link" || f.kind === "fieldset") && "schema" in f && Array.isArray(f.schema) && f.schema.length > 0, d = I({});
1208
+ Z(
1207
1209
  () => c.value,
1208
1210
  (f) => {
1209
1211
  !e.schema || !f || e.schema.forEach((l) => {
@@ -1223,14 +1225,14 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1223
1225
  if (f.kind !== "field") return {};
1224
1226
  const l = f.width;
1225
1227
  return l ? { flexBasis: l, width: l } : {};
1226
- }, h = I(() => e.mode ?? "edit");
1228
+ }, h = A(() => e.mode ?? "edit");
1227
1229
  function x(f) {
1228
1230
  const l = f.mode;
1229
1231
  return l || h.value;
1230
1232
  }
1231
- const $ = A([]);
1232
- Re(() => {
1233
- e.schema && $.value.length !== e.schema.length && ($.value = e.schema.map((f, l) => I({
1233
+ const $ = I([]);
1234
+ Ve(() => {
1235
+ e.schema && $.value.length !== e.schema.length && ($.value = e.schema.map((f, l) => A({
1234
1236
  get() {
1235
1237
  return c.value?.[e.schema[l].fieldname];
1236
1238
  },
@@ -1240,11 +1242,11 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1240
1242
  }
1241
1243
  })));
1242
1244
  });
1243
- const T = I(() => $.value);
1244
- return (f, l) => (u(), m("form", pa, [
1245
+ const T = A(() => $.value);
1246
+ return (f, l) => (u(), m("form", La, [
1245
1247
  (u(!0), m(L, null, j(e.schema, (o, i) => (u(), m(L, { key: i }, [
1246
- t(o) ? (u(), m("div", La, [
1247
- o.label && o.kind !== "fieldset" ? (u(), m("h4", qa, g(o.label), 1)) : B("", !0),
1248
+ t(o) ? (u(), m("div", qa, [
1249
+ o.label && o.kind !== "fieldset" ? (u(), m("h4", Fa, g(o.label), 1)) : B("", !0),
1248
1250
  (u(), ee($e(o.component ?? "AForm"), {
1249
1251
  data: d.value[o.fieldname],
1250
1252
  mode: x(o),
@@ -1254,7 +1256,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1254
1256
  errors: e.errors,
1255
1257
  "onUpdate:data": (w) => y(o.fieldname, w)
1256
1258
  }, null, 40, ["data", "mode", "schema", "label", "collapsible", "errors", "onUpdate:data"]))
1257
- ])) : o.hidden ? B("", !0) : (u(), ee($e(o.component), Ve({
1259
+ ])) : o.hidden ? B("", !0) : (u(), ee($e(o.component), Ne({
1258
1260
  key: 1,
1259
1261
  modelValue: T.value[i].value,
1260
1262
  "onUpdate:modelValue": (w) => T.value[i].value = w,
@@ -1267,7 +1269,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1267
1269
  ], 64))), 128))
1268
1270
  ]));
1269
1271
  }
1270
- }), Se = /* @__PURE__ */ U(Fa, [["__scopeId", "data-v-bb17171c"]]), _a = /* @__PURE__ */ V({
1272
+ }), Se = /* @__PURE__ */ H(_a, [["__scopeId", "data-v-bb17171c"]]), Ca = /* @__PURE__ */ V({
1271
1273
  __name: "CollapseButton",
1272
1274
  props: {
1273
1275
  collapsed: { type: Boolean }
@@ -1277,7 +1279,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1277
1279
  class: O(["collapse-button", e.collapsed ? "rotated" : "unrotated"])
1278
1280
  }, "×", 2));
1279
1281
  }
1280
- }), Ca = /* @__PURE__ */ U(_a, [["__scopeId", "data-v-6f1c1b45"]]), Ba = /* @__PURE__ */ V({
1282
+ }), Ba = /* @__PURE__ */ H(Ca, [["__scopeId", "data-v-6f1c1b45"]]), Ra = /* @__PURE__ */ V({
1281
1283
  __name: "AFieldset",
1282
1284
  props: {
1283
1285
  schema: {},
@@ -1288,7 +1290,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1288
1290
  mode: { default: "edit" }
1289
1291
  },
1290
1292
  setup(e, { expose: s }) {
1291
- const n = A(!1), c = A(e.data || []), t = A(e.schema), d = (y) => {
1293
+ const n = I(!1), c = I(e.data || []), t = I(e.schema), d = (y) => {
1292
1294
  y.preventDefault(), e.collapsible && (n.value = !n.value);
1293
1295
  };
1294
1296
  return s({ collapsed: n }), (y, k) => (u(), m("fieldset", null, [
@@ -1298,7 +1300,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1298
1300
  onSubmit: d
1299
1301
  }, [
1300
1302
  ne(g(e.label) + " ", 1),
1301
- e.collapsible ? (u(), ee(Ca, {
1303
+ e.collapsible ? (u(), ee(Ba, {
1302
1304
  key: 0,
1303
1305
  collapsed: n.value
1304
1306
  }, null, 8, ["collapsed"])) : B("", !0)
@@ -1315,16 +1317,16 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1315
1317
  ], !0)
1316
1318
  ]));
1317
1319
  }
1318
- }), Ra = /* @__PURE__ */ U(Ba, [["__scopeId", "data-v-162e7317"]]), Va = { class: "aform_form-element aform_file-attach aform__grid--full" }, Na = {
1320
+ }), Va = /* @__PURE__ */ H(Ra, [["__scopeId", "data-v-162e7317"]]), Na = { class: "aform_form-element aform_file-attach aform__grid--full" }, Ua = {
1319
1321
  key: 0,
1320
1322
  class: "aform_file-attach-feedback"
1321
1323
  }, Ha = {
1322
1324
  key: 1,
1323
1325
  class: "aform_display-value"
1324
- }, Ua = {
1326
+ }, Ea = {
1325
1327
  key: 0,
1326
1328
  class: "aform_file-attach-feedback"
1327
- }, Ea = ["disabled"], Ka = ["disabled"], Pa = /* @__PURE__ */ V({
1329
+ }, Ka = ["disabled"], Pa = ["disabled"], Qa = /* @__PURE__ */ V({
1328
1330
  __name: "AFileAttach",
1329
1331
  props: {
1330
1332
  schema: {},
@@ -1338,13 +1340,13 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1338
1340
  errors: {}
1339
1341
  },
1340
1342
  setup(e) {
1341
- const { files: s, open: n, reset: c, onChange: t } = Ne(), d = I(() => {
1343
+ const { files: s, open: n, reset: c, onChange: t } = Ue(), d = A(() => {
1342
1344
  const y = s.value?.length ?? 0;
1343
1345
  return `${y} ${y === 1 ? "file" : "files"}`;
1344
1346
  });
1345
- return t((y) => y), (y, k) => (u(), m("div", Va, [
1347
+ return t((y) => y), (y, k) => (u(), m("div", Na, [
1346
1348
  e.mode === "display" ? (u(), m(L, { key: 0 }, [
1347
- J(s) ? (u(), m("div", Na, [
1349
+ J(s) ? (u(), m("div", Ua, [
1348
1350
  a("p", null, [
1349
1351
  a("b", null, g(d.value), 1)
1350
1352
  ]),
@@ -1353,7 +1355,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1353
1355
  }, g(v.name), 1))), 128))
1354
1356
  ])) : (u(), m("span", Ha, "No file selected"))
1355
1357
  ], 64)) : (u(), m(L, { key: 1 }, [
1356
- J(s) ? (u(), m("div", Ua, [
1358
+ J(s) ? (u(), m("div", Ea, [
1357
1359
  a("p", null, [
1358
1360
  k[2] || (k[2] = ne(" You have selected: ", -1)),
1359
1361
  a("b", null, g(d.value), 1)
@@ -1367,17 +1369,17 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1367
1369
  class: "aform_form-btn",
1368
1370
  disabled: e.mode === "read",
1369
1371
  onClick: k[0] || (k[0] = (v) => J(n)())
1370
- }, g(e.label), 9, Ea),
1372
+ }, g(e.label), 9, Ka),
1371
1373
  a("button", {
1372
1374
  type: "button",
1373
1375
  disabled: !J(s) || e.mode === "read",
1374
1376
  class: "aform_form-btn",
1375
1377
  onClick: k[1] || (k[1] = (v) => J(c)())
1376
- }, "Reset", 8, Ka)
1378
+ }, "Reset", 8, Pa)
1377
1379
  ], 64))
1378
1380
  ]));
1379
1381
  }
1380
- }), Qa = /* @__PURE__ */ U(Pa, [["__scopeId", "data-v-8eefd179"]]), Ya = { class: "aform_form-element" }, Ga = { class: "aform_display-value" }, za = { class: "aform_field-label" }, Wa = ["id", "disabled", "required"], Ja = ["for"], Xa = ["innerHTML"], Za = /* @__PURE__ */ V({
1382
+ }), Ya = /* @__PURE__ */ H(Qa, [["__scopeId", "data-v-8eefd179"]]), Ga = { class: "aform_form-element" }, za = { class: "aform_display-value" }, Wa = { class: "aform_field-label" }, Ja = ["id", "disabled", "required"], Xa = ["for"], Za = ["innerHTML"], Oa = /* @__PURE__ */ V({
1381
1383
  __name: "ANumericInput",
1382
1384
  props: /* @__PURE__ */ Q({
1383
1385
  schema: {},
@@ -1395,11 +1397,11 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1395
1397
  }),
1396
1398
  emits: ["update:modelValue"],
1397
1399
  setup(e) {
1398
- const s = I(() => e.errors?.length ? e.errors.join("; ") : e.validation.errorMessage ?? ""), n = G(e, "modelValue");
1399
- return (c, t) => (u(), m("div", Ya, [
1400
+ const s = A(() => e.errors?.length ? e.errors.join("; ") : e.validation.errorMessage ?? ""), n = G(e, "modelValue");
1401
+ return (c, t) => (u(), m("div", Ga, [
1400
1402
  e.mode === "display" ? (u(), m(L, { key: 0 }, [
1401
- a("span", Ga, g(n.value ?? ""), 1),
1402
- a("label", za, g(e.label), 1)
1403
+ a("span", za, g(n.value ?? ""), 1),
1404
+ a("label", Wa, g(e.label), 1)
1403
1405
  ], 64)) : (u(), m(L, { key: 1 }, [
1404
1406
  p(a("input", {
1405
1407
  id: e.uuid,
@@ -1408,23 +1410,23 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1408
1410
  type: "number",
1409
1411
  disabled: e.mode === "read",
1410
1412
  required: e.required
1411
- }, null, 8, Wa), [
1413
+ }, null, 8, Ja), [
1412
1414
  [Y, n.value]
1413
1415
  ]),
1414
1416
  a("label", {
1415
1417
  class: "aform_field-label",
1416
1418
  for: e.uuid
1417
- }, g(e.label), 9, Ja),
1419
+ }, g(e.label), 9, Xa),
1418
1420
  p(a("p", {
1419
1421
  class: "aform_error",
1420
1422
  innerHTML: s.value
1421
- }, null, 8, Xa), [
1423
+ }, null, 8, Za), [
1422
1424
  [P, s.value]
1423
1425
  ])
1424
1426
  ], 64))
1425
1427
  ]));
1426
1428
  }
1427
- }), Oa = { class: "aform_form-element aquantity" }, ja = { class: "aform_display-value" }, el = { class: "aform_field-label" }, tl = { class: "aquantity__row" }, al = { class: "aquantity__field aquantity__field--qty" }, ll = { class: "aquantity__group" }, nl = ["id", "disabled", "required"], ol = { class: "aquantity__uom" }, sl = ["id", "disabled", "aria-expanded", "aria-activedescendant", "onKeydown"], il = { class: "aquantity__uom-value" }, ul = ["aria-label"], dl = ["id", "aria-selected", "onMouseenter", "onClick"], rl = ["for"], cl = { class: "aquantity__row aquantity__row--stock" }, ml = { class: "aquantity__field aquantity__field--stock-uom" }, fl = ["value"], vl = { class: "aform_field-label" }, yl = { class: "aquantity__field aquantity__field--stock-qty" }, hl = ["value"], bl = { class: "aform_field-label" }, gl = { class: "aquantity__field aquantity__field--conversion" }, $l = ["value"], kl = { class: "aform_field-label" }, xl = ["innerHTML"], wl = /* @__PURE__ */ V({
1429
+ }), ja = { class: "aform_form-element aquantity" }, el = { class: "aform_display-value" }, tl = { class: "aform_field-label" }, al = { class: "aquantity__row" }, ll = { class: "aquantity__field aquantity__field--qty" }, nl = { class: "aquantity__group" }, ol = ["id", "disabled", "required"], sl = { class: "aquantity__uom" }, il = ["id", "disabled", "aria-expanded", "aria-activedescendant", "onKeydown"], ul = { class: "aquantity__uom-value" }, dl = ["aria-label"], rl = ["id", "aria-selected", "onMouseenter", "onClick"], cl = ["for"], ml = { class: "aquantity__row aquantity__row--stock" }, fl = { class: "aquantity__field aquantity__field--stock-uom" }, vl = ["value"], yl = { class: "aform_field-label" }, hl = { class: "aquantity__field aquantity__field--stock-qty" }, bl = ["value"], gl = { class: "aform_field-label" }, $l = { class: "aquantity__field aquantity__field--conversion" }, kl = ["value"], xl = { class: "aform_field-label" }, wl = ["innerHTML"], Dl = /* @__PURE__ */ V({
1428
1430
  __name: "AQuantityInput",
1429
1431
  props: /* @__PURE__ */ Q({
1430
1432
  schema: {},
@@ -1449,7 +1451,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1449
1451
  }),
1450
1452
  emits: ["update:modelValue"],
1451
1453
  setup(e) {
1452
- const s = G(e, "modelValue"), n = I(() => e.options.uoms ?? []), c = (b) => Number(b.toFixed(6)), t = (b) => {
1454
+ const s = G(e, "modelValue"), n = A(() => e.options.uoms ?? []), c = (b) => Number(b.toFixed(6)), t = (b) => {
1453
1455
  const q = e.options.stockUom ?? s.value.stockUom;
1454
1456
  if (!b || b === q) return 1;
1455
1457
  const N = e.options.conversionFactors?.[b];
@@ -1463,10 +1465,10 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1463
1465
  stockUom: e.options.stockUom ?? s.value.stockUom,
1464
1466
  stockQty: c(b * N)
1465
1467
  };
1466
- }, y = I({
1468
+ }, y = A({
1467
1469
  get: () => s.value?.qty ?? 0,
1468
1470
  set: (b) => d(b, s.value?.uom ?? "")
1469
- }), k = I({
1471
+ }), k = A({
1470
1472
  get: () => s.value?.uom ?? "",
1471
1473
  set: (b) => d(s.value?.qty ?? 0, b)
1472
1474
  }), v = /* @__PURE__ */ new Set([
@@ -1510,23 +1512,23 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1510
1512
  }
1511
1513
  const b = n.value[$.activeIndex];
1512
1514
  b !== void 0 && o(b);
1513
- }, r = I(() => {
1515
+ }, r = A(() => {
1514
1516
  const b = s.value;
1515
1517
  return !!b?.stockUom && (b.uom !== b.stockUom || b.qty !== b.stockQty);
1516
- }), F = I(() => {
1518
+ }), F = A(() => {
1517
1519
  const b = s.value;
1518
1520
  if (!b || !b.uom) return "—";
1519
1521
  const q = `${b.qty} ${b.uom}`;
1520
1522
  return r.value ? `${q} (${b.stockQty} ${b.stockUom})` : q;
1521
1523
  });
1522
- return (b, q) => (u(), m("div", Oa, [
1524
+ return (b, q) => (u(), m("div", ja, [
1523
1525
  e.mode === "display" ? (u(), m(L, { key: 0 }, [
1524
- a("span", ja, g(F.value), 1),
1525
- a("label", el, g(e.label), 1)
1526
+ a("span", el, g(F.value), 1),
1527
+ a("label", tl, g(e.label), 1)
1526
1528
  ], 64)) : (u(), m(L, { key: 1 }, [
1527
- a("div", tl, [
1528
- a("div", al, [
1529
- a("div", ll, [
1529
+ a("div", al, [
1530
+ a("div", ll, [
1531
+ a("div", nl, [
1530
1532
  p(a("input", {
1531
1533
  id: e.uuid,
1532
1534
  "onUpdate:modelValue": q[0] || (q[0] = (N) => y.value = N),
@@ -1536,7 +1538,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1536
1538
  required: e.required,
1537
1539
  onKeydown: h,
1538
1540
  onPaste: x
1539
- }, null, 40, nl), [
1541
+ }, null, 40, ol), [
1540
1542
  [
1541
1543
  Y,
1542
1544
  y.value,
@@ -1544,7 +1546,7 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1544
1546
  { number: !0 }
1545
1547
  ]
1546
1548
  ]),
1547
- p((u(), m("div", ol, [
1549
+ p((u(), m("div", sl, [
1548
1550
  a("button", {
1549
1551
  id: `${e.uuid}-uom`,
1550
1552
  type: "button",
@@ -1561,12 +1563,12 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1561
1563
  _(f, ["esc"])
1562
1564
  ]
1563
1565
  }, [
1564
- a("span", il, g(k.value || e.uomLabel), 1),
1566
+ a("span", ul, g(k.value || e.uomLabel), 1),
1565
1567
  q[3] || (q[3] = a("span", {
1566
1568
  class: "aquantity__caret",
1567
1569
  "aria-hidden": "true"
1568
1570
  }, null, -1))
1569
- ], 40, sl),
1571
+ ], 40, il),
1570
1572
  p(a("ul", {
1571
1573
  class: "aquantity__uom-menu",
1572
1574
  role: "listbox",
@@ -1580,8 +1582,8 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1580
1582
  class: O(["aquantity__uom-option", { "is-active": W === $.activeIndex }]),
1581
1583
  onMouseenter: (te) => $.activeIndex = W,
1582
1584
  onClick: (te) => o(N)
1583
- }, g(N), 43, dl))), 128))
1584
- ], 8, ul), [
1585
+ }, g(N), 43, rl))), 128))
1586
+ ], 8, dl), [
1585
1587
  [P, $.open]
1586
1588
  ])
1587
1589
  ])), [
@@ -1591,66 +1593,66 @@ const He = { class: "aform_form-element" }, Ue = { class: "aform_field-label" },
1591
1593
  a("label", {
1592
1594
  class: "aform_field-label",
1593
1595
  for: e.uuid
1594
- }, g(e.label), 9, rl)
1596
+ }, g(e.label), 9, cl)
1595
1597
  ])
1596
1598
  ]),
1597
- a("div", cl, [
1598
- a("div", ml, [
1599
+ a("div", ml, [
1600
+ a("div", fl, [
1599
1601
  a("input", {
1600
1602
  value: s.value.stockUom,
1601
1603
  class: "aform_input-field aquantity__stock-field",
1602
1604
  type: "text",
1603
1605
  disabled: ""
1604
- }, null, 8, fl),
1605
- a("label", vl, g(e.stockUomLabel), 1)
1606
+ }, null, 8, vl),
1607
+ a("label", yl, g(e.stockUomLabel), 1)
1606
1608
  ]),
1607
- a("div", yl, [
1609
+ a("div", hl, [
1608
1610
  a("input", {
1609
1611
  value: s.value.stockQty,
1610
1612
  class: "aform_input-field aquantity__stock-field",
1611
1613
  type: "number",
1612
1614
  disabled: ""
1613
- }, null, 8, hl),
1614
- a("label", bl, g(e.stockQtyLabel), 1)
1615
+ }, null, 8, bl),
1616
+ a("label", gl, g(e.stockQtyLabel), 1)
1615
1617
  ]),
1616
- a("div", gl, [
1618
+ a("div", $l, [
1617
1619
  a("input", {
1618
1620
  value: s.value.conversionFactor,
1619
1621
  class: "aform_input-field aquantity__stock-field",
1620
1622
  type: "number",
1621
1623
  disabled: ""
1622
- }, null, 8, $l),
1623
- a("label", kl, g(e.conversionFactorLabel), 1)
1624
+ }, null, 8, kl),
1625
+ a("label", xl, g(e.conversionFactorLabel), 1)
1624
1626
  ])
1625
1627
  ]),
1626
1628
  p(a("p", {
1627
1629
  class: "aform_error",
1628
1630
  innerHTML: e.validation.errorMessage
1629
- }, null, 8, xl), [
1631
+ }, null, 8, wl), [
1630
1632
  [P, e.validation.errorMessage]
1631
1633
  ])
1632
1634
  ], 64))
1633
1635
  ]));
1634
1636
  }
1635
- }), Dl = /* @__PURE__ */ U(wl, [["__scopeId", "data-v-0b714861"]]);
1636
- function Ml(e) {
1637
+ }), Ml = /* @__PURE__ */ H(Dl, [["__scopeId", "data-v-0b714861"]]);
1638
+ function Tl(e) {
1637
1639
  try {
1638
1640
  return ce(e);
1639
1641
  } catch {
1640
1642
  return;
1641
1643
  }
1642
1644
  }
1643
- function Tl(e) {
1645
+ function Sl(e) {
1644
1646
  const s = e.value;
1645
1647
  if (!s) return;
1646
- const n = Ml(s);
1648
+ const n = Tl(s);
1647
1649
  if (n) {
1648
1650
  const t = e.instance?.locale;
1649
1651
  return n(t);
1650
1652
  }
1651
1653
  return s;
1652
1654
  }
1653
- function Sl(e, s) {
1655
+ function Il(e, s) {
1654
1656
  let n = e;
1655
1657
  const c = [s, "/", "-", "(", ")", " "];
1656
1658
  for (const t of c)
@@ -1668,17 +1670,17 @@ function Al(e, s, n) {
1668
1670
  }
1669
1671
  return c.slice(0, s.length);
1670
1672
  }
1671
- function Il(e, s) {
1672
- const n = Tl(s);
1673
+ function pl(e, s) {
1674
+ const n = Sl(s);
1673
1675
  if (!n) return;
1674
- const c = "#", t = e.value, d = Sl(t, c);
1676
+ const c = "#", t = e.value, d = Il(t, c);
1675
1677
  if (d) {
1676
1678
  const y = Al(d, n, c), k = s.instance;
1677
1679
  k?.maskFilled && (k.maskFilled = !y.includes(c)), e.value = y;
1678
1680
  } else
1679
1681
  e.value = n;
1680
1682
  }
1681
- const pl = { class: "aform_form-element" }, Ll = { class: "aform_display-value" }, ql = { class: "aform_field-label" }, Fl = ["id", "disabled", "maxlength", "required"], _l = ["for"], Cl = ["innerHTML"], Bl = /* @__PURE__ */ V({
1683
+ const Ll = { class: "aform_form-element" }, ql = { class: "aform_display-value" }, Fl = { class: "aform_field-label" }, _l = ["id", "disabled", "maxlength", "required"], Cl = ["for"], Bl = ["innerHTML"], Rl = /* @__PURE__ */ V({
1682
1684
  __name: "ATextInput",
1683
1685
  props: /* @__PURE__ */ Q({
1684
1686
  schema: {},
@@ -1696,11 +1698,11 @@ const pl = { class: "aform_form-element" }, Ll = { class: "aform_display-value"
1696
1698
  }),
1697
1699
  emits: ["update:modelValue"],
1698
1700
  setup(e) {
1699
- const s = I(() => e.errors?.length ? e.errors.join("; ") : e.validation.errorMessage ?? ""), n = A(!0), c = G(e, "modelValue");
1700
- return (t, d) => (u(), m("div", pl, [
1701
+ const s = A(() => e.errors?.length ? e.errors.join("; ") : e.validation.errorMessage ?? ""), n = I(!0), c = G(e, "modelValue");
1702
+ return (t, d) => (u(), m("div", Ll, [
1701
1703
  e.mode === "display" ? (u(), m(L, { key: 0 }, [
1702
- a("span", Ll, g(c.value ?? ""), 1),
1703
- a("label", ql, g(e.label), 1)
1704
+ a("span", ql, g(c.value ?? ""), 1),
1705
+ a("label", Fl, g(e.label), 1)
1704
1706
  ], 64)) : (u(), m(L, { key: 1 }, [
1705
1707
  p(a("input", {
1706
1708
  id: e.uuid,
@@ -1709,24 +1711,24 @@ const pl = { class: "aform_form-element" }, Ll = { class: "aform_display-value"
1709
1711
  disabled: e.mode === "read",
1710
1712
  maxlength: e.mask && n.value ? e.mask.length : void 0,
1711
1713
  required: e.required
1712
- }, null, 8, Fl), [
1714
+ }, null, 8, _l), [
1713
1715
  [Y, c.value],
1714
- [J(Il), e.mask]
1716
+ [J(pl), e.mask]
1715
1717
  ]),
1716
1718
  a("label", {
1717
1719
  class: "aform_field-label",
1718
1720
  for: e.uuid
1719
- }, g(e.label), 9, _l),
1721
+ }, g(e.label), 9, Cl),
1720
1722
  p(a("p", {
1721
1723
  class: "aform_error",
1722
1724
  innerHTML: s.value
1723
- }, null, 8, Cl), [
1725
+ }, null, 8, Bl), [
1724
1726
  [P, s.value]
1725
1727
  ])
1726
1728
  ], 64))
1727
1729
  ]));
1728
1730
  }
1729
- }), Rl = { class: "aform_form-element" }, Vl = { class: "aform_display-value aform_textbox-display" }, Nl = { class: "aform_field-label" }, Hl = ["id", "placeholder", "rows", "maxlength", "disabled", "required"], Ul = ["for"], El = ["innerHTML"], Kl = /* @__PURE__ */ V({
1731
+ }), Vl = { class: "aform_form-element" }, Nl = { class: "aform_display-value aform_textbox-display" }, Ul = { class: "aform_field-label" }, Hl = ["id", "placeholder", "rows", "maxlength", "disabled", "required"], El = ["for"], Kl = ["innerHTML"], Pl = /* @__PURE__ */ V({
1730
1732
  __name: "ATextboxInput",
1731
1733
  props: /* @__PURE__ */ Q({
1732
1734
  schema: {},
@@ -1747,11 +1749,11 @@ const pl = { class: "aform_form-element" }, Ll = { class: "aform_display-value"
1747
1749
  }),
1748
1750
  emits: ["update:modelValue"],
1749
1751
  setup(e) {
1750
- const s = I(() => e.errors?.length ? e.errors.join("; ") : e.validation.errorMessage ?? ""), n = G(e, "modelValue");
1751
- return (c, t) => (u(), m("div", Rl, [
1752
+ const s = A(() => e.errors?.length ? e.errors.join("; ") : e.validation.errorMessage ?? ""), n = G(e, "modelValue");
1753
+ return (c, t) => (u(), m("div", Vl, [
1752
1754
  e.mode === "display" ? (u(), m(L, { key: 0 }, [
1753
- a("span", Vl, g(n.value ?? ""), 1),
1754
- a("label", Nl, g(e.label), 1)
1755
+ a("span", Nl, g(n.value ?? ""), 1),
1756
+ a("label", Ul, g(e.label), 1)
1755
1757
  ], 64)) : (u(), m(L, { key: 1 }, [
1756
1758
  p(a("textarea", {
1757
1759
  id: e.uuid,
@@ -1768,20 +1770,20 @@ const pl = { class: "aform_form-element" }, Ll = { class: "aform_display-value"
1768
1770
  a("label", {
1769
1771
  class: "aform_field-label",
1770
1772
  for: e.uuid
1771
- }, g(e.label), 9, Ul),
1773
+ }, g(e.label), 9, El),
1772
1774
  p(a("p", {
1773
1775
  class: "aform_error",
1774
1776
  innerHTML: s.value
1775
- }, null, 8, El), [
1777
+ }, null, 8, Kl), [
1776
1778
  [P, s.value]
1777
1779
  ])
1778
1780
  ], 64))
1779
1781
  ]));
1780
1782
  }
1781
- }), Pl = /* @__PURE__ */ U(Kl, [["__scopeId", "data-v-2a9c793b"]]), Ql = { class: "login-container" }, Yl = { class: "account-container" }, Gl = { class: "account-header" }, zl = { id: "account-title" }, Wl = { id: "account-subtitle" }, Jl = { class: "login-form-container" }, Xl = { class: "login-form-email aform_form-element" }, Zl = ["disabled"], Ol = { class: "login-form-password aform_form-element" }, jl = ["disabled"], en = ["disabled"], tn = {
1783
+ }), Ql = /* @__PURE__ */ H(Pl, [["__scopeId", "data-v-2a9c793b"]]), Yl = { class: "login-container" }, Gl = { class: "account-container" }, zl = { class: "account-header" }, Wl = { id: "account-title" }, Jl = { id: "account-subtitle" }, Xl = { class: "login-form-container" }, Zl = { class: "login-form-email aform_form-element" }, Ol = ["disabled"], jl = { class: "login-form-password aform_form-element" }, en = ["disabled"], tn = ["disabled"], an = {
1782
1784
  key: 0,
1783
1785
  class: "material-symbols-outlined loading-icon"
1784
- }, an = /* @__PURE__ */ V({
1786
+ }, ln = /* @__PURE__ */ V({
1785
1787
  __name: "Login",
1786
1788
  props: {
1787
1789
  headerTitle: { default: "Login" },
@@ -1789,7 +1791,7 @@ const pl = { class: "aform_form-element" }, Ll = { class: "aform_display-value"
1789
1791
  },
1790
1792
  emits: ["loginFailed", "loginSuccess"],
1791
1793
  setup(e, { emit: s }) {
1792
- const n = s, c = A(""), t = A(""), d = A(!1), y = A(!1);
1794
+ const n = s, c = I(""), t = I(""), d = I(!1), y = I(!1);
1793
1795
  function k(v) {
1794
1796
  if (v.preventDefault(), d.value = !0, y.value) {
1795
1797
  d.value = !1, n("loginFailed");
@@ -1797,16 +1799,16 @@ const pl = { class: "aform_form-element" }, Ll = { class: "aform_display-value"
1797
1799
  }
1798
1800
  d.value = !1, n("loginSuccess");
1799
1801
  }
1800
- return (v, h) => (u(), m("div", Ql, [
1802
+ return (v, h) => (u(), m("div", Yl, [
1801
1803
  a("div", null, [
1802
- a("div", Yl, [
1803
- a("div", Gl, [
1804
- a("h1", zl, g(e.headerTitle), 1),
1805
- a("p", Wl, g(e.headerSubtitle), 1)
1804
+ a("div", Gl, [
1805
+ a("div", zl, [
1806
+ a("h1", Wl, g(e.headerTitle), 1),
1807
+ a("p", Jl, g(e.headerSubtitle), 1)
1806
1808
  ]),
1807
1809
  a("form", { onSubmit: k }, [
1808
- a("div", Jl, [
1809
- a("div", Xl, [
1810
+ a("div", Xl, [
1811
+ a("div", Zl, [
1810
1812
  h[2] || (h[2] = a("label", {
1811
1813
  id: "login-email",
1812
1814
  for: "email",
@@ -1823,11 +1825,11 @@ const pl = { class: "aform_form-element" }, Ll = { class: "aform_display-value"
1823
1825
  "auto-complete": "email",
1824
1826
  "auto-correct": "off",
1825
1827
  disabled: d.value
1826
- }, null, 8, Zl), [
1828
+ }, null, 8, Ol), [
1827
1829
  [Y, c.value]
1828
1830
  ])
1829
1831
  ]),
1830
- a("div", Ol, [
1832
+ a("div", jl, [
1831
1833
  h[3] || (h[3] = a("label", {
1832
1834
  id: "login-password",
1833
1835
  for: "password",
@@ -1840,7 +1842,7 @@ const pl = { class: "aform_form-element" }, Ll = { class: "aform_display-value"
1840
1842
  name: "password",
1841
1843
  type: "password",
1842
1844
  disabled: d.value
1843
- }, null, 8, jl), [
1845
+ }, null, 8, en), [
1844
1846
  [Y, t.value]
1845
1847
  ])
1846
1848
  ]),
@@ -1849,9 +1851,9 @@ const pl = { class: "aform_form-element" }, Ll = { class: "aform_display-value"
1849
1851
  disabled: d.value || !c.value || !t.value,
1850
1852
  onClick: k
1851
1853
  }, [
1852
- d.value ? (u(), m("span", tn, "progress_activity")) : B("", !0),
1854
+ d.value ? (u(), m("span", an, "progress_activity")) : B("", !0),
1853
1855
  h[4] || (h[4] = a("span", { id: "login-form-button" }, "Login", -1))
1854
- ], 8, en)
1856
+ ], 8, tn)
1855
1857
  ])
1856
1858
  ], 32),
1857
1859
  h[5] || (h[5] = a("button", { class: "btn" }, [
@@ -1861,40 +1863,40 @@ const pl = { class: "aform_form-element" }, Ll = { class: "aform_display-value"
1861
1863
  ])
1862
1864
  ]));
1863
1865
  }
1864
- }), fn = /* @__PURE__ */ U(an, [["__scopeId", "data-v-2c0f0634"]]), ln = {}, nn = { class: "aform-loading" }, on = { class: "aform-loading__label" };
1865
- function sn(e, s) {
1866
- return u(), m("div", nn, [
1867
- a("div", on, [
1866
+ }), vn = /* @__PURE__ */ H(ln, [["__scopeId", "data-v-2c0f0634"]]), nn = {}, on = { class: "aform-loading" }, sn = { class: "aform-loading__label" };
1867
+ function un(e, s) {
1868
+ return u(), m("div", on, [
1869
+ a("div", sn, [
1868
1870
  fe(e.$slots, "default", {}, void 0, !0)
1869
1871
  ]),
1870
1872
  s[0] || (s[0] = a("div", { class: "aform-loading__bar" }, null, -1))
1871
1873
  ]);
1872
1874
  }
1873
- const un = /* @__PURE__ */ U(ln, [["render", sn], ["__scopeId", "data-v-274f5ba3"]]);
1874
- function vn(e) {
1875
- e.use(pe), e.component("ACheckbox", ze), e.component("ACurrencyInput", St), e.component("ADate", aa), e.component("ADropdown", fa), e.component("ADatePicker", Te), e.component("ADateTime", me), e.component("ADateRange", Ia), e.component("ADateSelection", se), e.component("AFieldset", Ra), e.component("AFileAttach", Qa), e.component("AForm", Se), e.component("AFormLink", Me), e.component("ANumericInput", Za), e.component("AQuantityInput", Dl), e.component("ATextInput", Bl), e.component("ATextboxInput", Pl), e.component("ADuration", xa), e.component("AFormLoading", un);
1875
+ const dn = /* @__PURE__ */ H(nn, [["render", un], ["__scopeId", "data-v-274f5ba3"]]);
1876
+ function yn(e) {
1877
+ e.use(Le), e.component("ACheckbox", We), e.component("ACurrencyInput", It), e.component("ADate", la), e.component("ADropdown", va), e.component("ADatePicker", Te), e.component("ADateTime", me), e.component("ADateRange", pa), e.component("ADateSelection", se), e.component("AFieldset", Va), e.component("AFileAttach", Ya), e.component("AForm", Se), e.component("AFormLink", Me), e.component("ANumericInput", Oa), e.component("AQuantityInput", Ml), e.component("ATextInput", Rl), e.component("ATextboxInput", Ql), e.component("ADuration", wa), e.component("AFormLoading", dn);
1876
1878
  }
1877
1879
  export {
1878
- ze as ACheckbox,
1879
- St as ACurrencyInput,
1880
- aa as ADate,
1880
+ We as ACheckbox,
1881
+ It as ACurrencyInput,
1882
+ la as ADate,
1881
1883
  Te as ADatePicker,
1882
- Ia as ADateRange,
1884
+ pa as ADateRange,
1883
1885
  se as ADateSelection,
1884
1886
  me as ADateTime,
1885
- fa as ADropdown,
1886
- xa as ADuration,
1887
- Ra as AFieldset,
1888
- Qa as AFileAttach,
1887
+ va as ADropdown,
1888
+ wa as ADuration,
1889
+ Va as AFieldset,
1890
+ Ya as AFileAttach,
1889
1891
  Se as AForm,
1890
1892
  Me as AFormLink,
1891
- un as AFormLoading,
1892
- Za as ANumericInput,
1893
- Dl as AQuantityInput,
1894
- Bl as ATextInput,
1895
- Pl as ATextboxInput,
1896
- fn as Login,
1893
+ dn as AFormLoading,
1894
+ Oa as ANumericInput,
1895
+ Ml as AQuantityInput,
1896
+ Rl as ATextInput,
1897
+ Ql as ATextboxInput,
1898
+ vn as Login,
1897
1899
  ce as deserializeFunction,
1898
- vn as install
1900
+ yn as install
1899
1901
  };
1900
1902
  //# sourceMappingURL=aform.js.map