@stencitecnologia/front-kit 0.1.29 → 0.1.30

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/index.es.js CHANGED
@@ -1,14 +1,14 @@
1
- import { computed as M, openBlock as R, createElementBlock as P, normalizeClass as So, toDisplayString as oo, createCommentVNode as E, createBlock as H, unref as T, mergeProps as Q, renderSlot as G, createElementVNode as io, createVNode as mo, ref as po, onMounted as er, onBeforeUnmount as tr, normalizeStyle as Io, watch as sr, withCtx as Z, createTextVNode as Po, createSlots as Ho, Fragment as ur, Teleport as fr, withModifiers as gr } from "vue";
1
+ import { computed as Y, openBlock as R, createElementBlock as P, normalizeClass as So, toDisplayString as oo, createCommentVNode as E, createBlock as H, unref as T, mergeProps as Q, renderSlot as G, createElementVNode as io, createVNode as mo, ref as po, onMounted as tr, onBeforeUnmount as ar, normalizeStyle as Ho, watch as jo, withCtx as Z, createTextVNode as qo, createSlots as Ao, Fragment as ur, Teleport as fr, withModifiers as gr } from "vue";
2
2
  import mr from "primevue/autocomplete";
3
3
  import { FontAwesomeIcon as pr } from "@fortawesome/vue-fontawesome";
4
4
  import br from "primevue/chart";
5
- import ar from "primevue/inputtext";
6
- import nr from "primevue/datepicker";
5
+ import nr from "primevue/inputtext";
6
+ import ir from "primevue/datepicker";
7
7
  import hr from "primevue/inputgroup";
8
8
  import vr from "primevue/inputgroupaddon";
9
9
  import kr from "primevue/popover";
10
10
  import yr from "primevue/inputmask";
11
- import ir from "primevue/dialog";
11
+ import dr from "primevue/dialog";
12
12
  import $r from "primevue/drawer";
13
13
  import Cr from "primevue/multiselect";
14
14
  import xr from "primevue/panel";
@@ -32,7 +32,7 @@ const Yr = {
32
32
  }
33
33
  },
34
34
  setup(o) {
35
- const r = o, e = M(() => ({
35
+ const r = o, e = Y(() => ({
36
36
  "ui-alert-success": r.variant === "success",
37
37
  "ui-alert-warning": r.variant === "warning",
38
38
  "ui-alert-error": r.variant === "error",
@@ -75,7 +75,7 @@ const Yr = {
75
75
  "clear"
76
76
  ],
77
77
  setup(o, { emit: r }) {
78
- const e = o, t = r, a = M({
78
+ const e = o, t = r, a = Y({
79
79
  get: () => e.modelValue,
80
80
  set: (l) => t("update:modelValue", l)
81
81
  }), c = (l) => t("complete", l), i = (l) => t("item-select", l), m = () => t("clear");
@@ -149,7 +149,7 @@ const Yr = {
149
149
  }
150
150
  },
151
151
  setup(o) {
152
- const r = o, e = M(() => [
152
+ const r = o, e = Y(() => [
153
153
  "ui-btn",
154
154
  {
155
155
  "ui-btn-primary": r.variant === "primary",
@@ -161,7 +161,7 @@ const Yr = {
161
161
  "ui-btn-danger": r.variant === "danger",
162
162
  "ui-btn-sm": r.size === "sm"
163
163
  }
164
- ]), t = M(() => r.disabled || r.loading);
164
+ ]), t = Y(() => r.disabled || r.loading);
165
165
  return (a, c) => (R(), P("button", Q(a.$attrs, {
166
166
  disabled: t.value,
167
167
  class: e.value,
@@ -216,7 +216,7 @@ const Yr = {
216
216
  }
217
217
  },
218
218
  setup(o) {
219
- const r = o, e = M(() => !!(r.title || r.subtitle)), t = M(() => [
219
+ const r = o, e = Y(() => !!(r.title || r.subtitle)), t = Y(() => [
220
220
  "ui-card",
221
221
  r.className,
222
222
  { "ui-card-has-footer": r.hasFooter }
@@ -273,15 +273,15 @@ const Yr = {
273
273
  { borderColor: "#a855f7", backgroundColor: "rgba(168, 85, 247, 0.60)" }
274
274
  ]), e = o, t = po(null), a = po(!1);
275
275
  function c(B, k) {
276
- const z = { ...B };
276
+ const M = { ...B };
277
277
  for (const y of Object.keys(k))
278
- k[y] !== null && typeof k[y] == "object" && !Array.isArray(k[y]) && typeof B[y] == "object" ? z[y] = c(B[y] ?? {}, k[y]) : z[y] = k[y];
279
- return z;
278
+ k[y] !== null && typeof k[y] == "object" && !Array.isArray(k[y]) && typeof B[y] == "object" ? M[y] = c(B[y] ?? {}, k[y]) : M[y] = k[y];
279
+ return M;
280
280
  }
281
- const i = M(() => !["pie", "doughnut"].includes(e.type)), m = M(() => e.height ? e.height : i.value ? "300px" : "400px"), l = M(() => {
281
+ const i = Y(() => !["pie", "doughnut"].includes(e.type)), m = Y(() => e.height ? e.height : i.value ? "300px" : "400px"), l = Y(() => {
282
282
  if (!e.data?.datasets) return e.data;
283
- const B = e.data.datasets.map((k, z) => {
284
- const y = r[z % r.length];
283
+ const B = e.data.datasets.map((k, M) => {
284
+ const y = r[M % r.length];
285
285
  return ["pie", "doughnut"].includes(e.type) ? {
286
286
  ...k,
287
287
  backgroundColor: r.map((f) => f.backgroundColor),
@@ -296,7 +296,7 @@ const Yr = {
296
296
  };
297
297
  });
298
298
  return { ...e.data, datasets: B };
299
- }), b = M(() => ({
299
+ }), b = Y(() => ({
300
300
  responsive: !0,
301
301
  maintainAspectRatio: !1,
302
302
  plugins: {
@@ -328,10 +328,10 @@ const Yr = {
328
328
  border: { display: !1 }
329
329
  }
330
330
  } : void 0
331
- })), $ = M(() => c(b.value, e.options));
332
- return er(() => {
331
+ })), $ = Y(() => c(b.value, e.options));
332
+ return tr(() => {
333
333
  a.value = !0;
334
- }), tr(() => {
334
+ }), ar(() => {
335
335
  a.value = !1, t.value?.chart && t.value.chart.destroy();
336
336
  }), (B, k) => a.value ? (R(), H(T(br), {
337
337
  key: 0,
@@ -340,7 +340,7 @@ const Yr = {
340
340
  type: o.type,
341
341
  data: l.value,
342
342
  options: $.value,
343
- style: Io({ height: m.value, width: "100%" })
343
+ style: Ho({ height: m.value, width: "100%" })
344
344
  }, null, 8, ["type", "data", "options", "style"])) : E("", !0);
345
345
  }
346
346
  }, Ar = { class: "ui-currency" }, r0 = {
@@ -376,12 +376,12 @@ const Yr = {
376
376
  if (!l) return null;
377
377
  const b = l.replace(/\D/g, "");
378
378
  return b ? Number(b) / 100 : null;
379
- }, i = M(() => a(e.modelValue)), m = (l) => {
379
+ }, i = Y(() => a(e.modelValue)), m = (l) => {
380
380
  const b = c(l.target.value);
381
381
  t("update:modelValue", b), l.target.value = a(b);
382
382
  };
383
383
  return (l, b) => (R(), P("div", Ar, [
384
- mo(T(ar), Q({
384
+ mo(T(nr), Q({
385
385
  value: i.value,
386
386
  placeholder: o.placeholder,
387
387
  disabled: o.disabled,
@@ -427,7 +427,7 @@ const Yr = {
427
427
  },
428
428
  emits: ["update:modelValue"],
429
429
  setup(o, { emit: r }) {
430
- const e = o, t = r, a = M({
430
+ const e = o, t = r, a = Y({
431
431
  get: () => e.modelValue,
432
432
  set: (c) => t("update:modelValue", c)
433
433
  });
@@ -495,7 +495,7 @@ const Yr = {
495
495
  },
496
496
  emits: ["update:modelValue", "update:textValue", "blur"],
497
497
  setup(o, { expose: r, emit: e }) {
498
- const t = o, a = e, c = po(null), i = po(""), m = po(null), l = po(0), b = M(() => t.selectionMode === "range"), $ = (u) => String(u).padStart(2, "0"), B = (u) => {
498
+ const t = o, a = e, c = po(null), i = po(""), m = po(null), l = po(0), b = Y(() => t.selectionMode === "range"), $ = (u) => String(u).padStart(2, "0"), B = (u) => {
499
499
  if (!(u instanceof Date) || Number.isNaN(u.getTime())) return "";
500
500
  const s = $(u.getDate()), n = $(u.getMonth() + 1), d = String(u.getFullYear());
501
501
  return `${s}/${n}/${d}`;
@@ -507,7 +507,7 @@ const Yr = {
507
507
  if (d < 1 || d > 12 || n < 1 || n > 31 || h < 1e3 || h > 9999) return null;
508
508
  const g = new Date(h, d - 1, n);
509
509
  return g.getFullYear() !== h || g.getMonth() !== d - 1 || g.getDate() !== n ? null : g;
510
- }, z = (u) => !(!(u instanceof Date) || Number.isNaN(u.getTime()) || t.minDate && u < t.minDate || t.maxDate && u > t.maxDate), y = (u) => {
510
+ }, M = (u) => !(!(u instanceof Date) || Number.isNaN(u.getTime()) || t.minDate && u < t.minDate || t.maxDate && u > t.maxDate), y = (u) => {
511
511
  const [s, n] = u || [], d = s ? B(s) : "", h = n ? B(n) : "";
512
512
  return !d && !h ? "" : d && !h ? `${d} - ` : `${d} - ${h}`;
513
513
  }, p = (u) => {
@@ -561,7 +561,7 @@ const Yr = {
561
561
  c.value && c.value.toggle(u);
562
562
  }, O = () => {
563
563
  const u = /* @__PURE__ */ new Date(), s = new Date(u.getFullYear(), u.getMonth(), u.getDate());
564
- if (z(s)) {
564
+ if (M(s)) {
565
565
  if (b.value) {
566
566
  const n = [s, s];
567
567
  x(n), a("update:modelValue", n);
@@ -569,13 +569,13 @@ const Yr = {
569
569
  }
570
570
  C(s), a("update:modelValue", s);
571
571
  }
572
- }, S = M({
572
+ }, S = Y({
573
573
  get: () => i.value,
574
574
  set: (u) => W(u)
575
- }), U = M(
575
+ }), U = Y(
576
576
  () => b.value && !!i.value && !f(i.value)
577
577
  );
578
- return r({ hasPartialInput: U }), sr(
578
+ return r({ hasPartialInput: U }), jo(
579
579
  () => t.modelValue,
580
580
  (u) => {
581
581
  if (u === null) {
@@ -611,7 +611,7 @@ const Yr = {
611
611
  onClick: V
612
612
  }, {
613
613
  default: Z(() => [...s[2] || (s[2] = [
614
- Po(" Limpar ", -1)
614
+ qo(" Limpar ", -1)
615
615
  ])]),
616
616
  _: 1
617
617
  }, 8, ["disabled"])) : E("", !0),
@@ -624,7 +624,7 @@ const Yr = {
624
624
  onClick: O
625
625
  }, {
626
626
  default: Z(() => [...s[3] || (s[3] = [
627
- Po(" Hoje ", -1)
627
+ qo(" Hoje ", -1)
628
628
  ])]),
629
629
  _: 1
630
630
  }, 8, ["disabled"])) : E("", !0),
@@ -652,7 +652,7 @@ const Yr = {
652
652
  ref: c
653
653
  }, {
654
654
  default: Z(() => [
655
- mo(T(nr), {
655
+ mo(T(ir), {
656
656
  modelValue: m.value,
657
657
  "onUpdate:modelValue": [
658
658
  s[1] || (s[1] = (n) => m.value = n),
@@ -688,11 +688,11 @@ const Yr = {
688
688
  },
689
689
  emits: ["update:modelValue"],
690
690
  setup(o, { emit: r }) {
691
- const e = o, t = r, a = M({
691
+ const e = o, t = r, a = Y({
692
692
  get: () => e.modelValue,
693
693
  set: (c) => t("update:modelValue", c)
694
694
  });
695
- return (c, i) => (R(), H(T(nr), Q({
695
+ return (c, i) => (R(), H(T(ir), Q({
696
696
  modelValue: a.value,
697
697
  "onUpdate:modelValue": i[0] || (i[0] = (m) => a.value = m),
698
698
  disabled: o.disabled,
@@ -702,7 +702,7 @@ const Yr = {
702
702
  ]
703
703
  }, c.$attrs), null, 16, ["modelValue", "disabled", "class"]));
704
704
  }
705
- }, Ao = (o, r) => {
705
+ }, No = (o, r) => {
706
706
  const e = o.__vccOpts || o;
707
707
  for (const [t, a] of r)
708
708
  e[t] = a;
@@ -752,7 +752,7 @@ const Yr = {
752
752
  },
753
753
  emits: ["update:modelValue", "hide", "show"],
754
754
  setup(o, { emit: r }) {
755
- const e = o, t = r, a = M({
755
+ const e = o, t = r, a = Y({
756
756
  get: () => e.modelValue,
757
757
  set: ($) => t("update:modelValue", $)
758
758
  }), c = {
@@ -760,10 +760,10 @@ const Yr = {
760
760
  md: "32rem",
761
761
  lg: "48rem",
762
762
  full: "64rem"
763
- }, i = M(() => ({
763
+ }, i = Y(() => ({
764
764
  width: `min(92vw, ${c[e.size]})`
765
- })), m = M(() => !!(e.icon || e.content)), l = () => t("hide"), b = () => t("show");
766
- return ($, B) => (R(), H(T(ir), {
765
+ })), m = Y(() => !!(e.icon || e.content)), l = () => t("hide"), b = () => t("show");
766
+ return ($, B) => (R(), H(T(dr), {
767
767
  visible: a.value,
768
768
  "onUpdate:visible": B[0] || (B[0] = (k) => a.value = k),
769
769
  modal: "",
@@ -772,10 +772,10 @@ const Yr = {
772
772
  closable: o.closable,
773
773
  "dismissable-mask": o.dismissableMask,
774
774
  "close-on-escape": o.closeOnEscape,
775
- style: Io(i.value),
775
+ style: Ho(i.value),
776
776
  onHide: l,
777
777
  onShow: b
778
- }, Ho({
778
+ }, Ao({
779
779
  default: Z(() => [
780
780
  m.value && !$.$slots.default ? (R(), P("div", Pr, [
781
781
  o.icon ? (R(), H(Mo, {
@@ -805,7 +805,7 @@ const Yr = {
805
805
  } : void 0
806
806
  ]), 1032, ["visible", "header", "closable", "dismissable-mask", "close-on-escape", "style"]));
807
807
  }
808
- }, a0 = /* @__PURE__ */ Ao(Er, [["__scopeId", "data-v-d952cadc"]]), Ur = { class: "ui-drawer-content" }, n0 = /* @__PURE__ */ Object.assign({
808
+ }, a0 = /* @__PURE__ */ No(Er, [["__scopeId", "data-v-d952cadc"]]), Ur = { class: "ui-drawer-content" }, n0 = /* @__PURE__ */ Object.assign({
809
809
  inheritAttrs: !1
810
810
  }, {
811
811
  __name: "BaseDrawer",
@@ -833,7 +833,7 @@ const Yr = {
833
833
  },
834
834
  emits: ["update:visible"],
835
835
  setup(o, { emit: r }) {
836
- const e = o, t = r, a = M(() => e.visible), c = () => t("update:visible", !1), i = (l) => {
836
+ const e = o, t = r, a = Y(() => e.visible), c = () => t("update:visible", !1), i = (l) => {
837
837
  l.target === l.currentTarget && c();
838
838
  }, m = (l) => {
839
839
  t("update:visible", l);
@@ -890,7 +890,7 @@ const Yr = {
890
890
  }
891
891
  },
892
892
  setup(o) {
893
- const r = o, e = M(() => !!r.image), t = M(() => !!r.description);
893
+ const r = o, e = Y(() => !!r.image), t = Y(() => !!r.description);
894
894
  return (a, c) => (R(), P("div", _r, [
895
895
  io("div", Xr, [
896
896
  e.value ? (R(), P("img", {
@@ -913,7 +913,7 @@ const Yr = {
913
913
  ])
914
914
  ]));
915
915
  }
916
- }, i0 = /* @__PURE__ */ Ao(oe, [["__scopeId", "data-v-91327e2b"]]), re = { class: "ui-field" }, ee = ["for"], te = { class: "ui-control" }, ae = {
916
+ }, i0 = /* @__PURE__ */ No(oe, [["__scopeId", "data-v-91327e2b"]]), re = { class: "ui-field" }, ee = ["for"], te = { class: "ui-control" }, ae = {
917
917
  key: 1,
918
918
  class: "ui-error",
919
919
  role: "alert"
@@ -941,7 +941,7 @@ const Yr = {
941
941
  }
942
942
  },
943
943
  setup(o) {
944
- const r = o, e = M(() => !!r.label), t = M(() => !!r.error), a = M(() => !!r.help);
944
+ const r = o, e = Y(() => !!r.label), t = Y(() => !!r.error), a = Y(() => !!r.help);
945
945
  return (c, i) => (R(), P("div", re, [
946
946
  e.value ? (R(), P("label", {
947
947
  key: 0,
@@ -976,11 +976,11 @@ const Yr = {
976
976
  },
977
977
  emits: ["update:modelValue"],
978
978
  setup(o, { emit: r }) {
979
- const e = o, t = r, a = M({
979
+ const e = o, t = r, a = Y({
980
980
  get: () => e.modelValue,
981
981
  set: (c) => t("update:modelValue", c)
982
982
  });
983
- return (c, i) => (R(), H(T(ar), Q({
983
+ return (c, i) => (R(), H(T(nr), Q({
984
984
  modelValue: a.value,
985
985
  "onUpdate:modelValue": i[0] || (i[0] = (m) => a.value = m),
986
986
  disabled: o.disabled,
@@ -1022,18 +1022,21 @@ const Yr = {
1022
1022
  },
1023
1023
  emits: ["update:modelValue", "hide", "show"],
1024
1024
  setup(o, { emit: r }) {
1025
- const e = o, t = r, a = M({
1026
- get: () => e.modelValue,
1027
- set: (b) => t("update:modelValue", b)
1028
- }), c = {
1025
+ const e = o, t = r, a = po(e.modelValue);
1026
+ jo(() => e.modelValue, (b) => {
1027
+ a.value = b;
1028
+ }), jo(a, (b) => {
1029
+ t("update:modelValue", b);
1030
+ });
1031
+ const c = {
1029
1032
  sm: "24rem",
1030
1033
  md: "38rem",
1031
1034
  lg: "56rem",
1032
1035
  full: "72rem"
1033
- }, i = M(() => ({
1036
+ }, i = Y(() => ({
1034
1037
  width: `min(92vw, ${c[e.size]})`
1035
1038
  })), m = () => t("hide"), l = () => t("show");
1036
- return (b, $) => (R(), H(T(ir), {
1039
+ return (b, $) => (R(), H(T(dr), {
1037
1040
  visible: a.value,
1038
1041
  "onUpdate:visible": $[0] || ($[0] = (B) => a.value = B),
1039
1042
  modal: "",
@@ -1042,10 +1045,10 @@ const Yr = {
1042
1045
  closable: o.closable,
1043
1046
  "dismissable-mask": o.dismissableMask,
1044
1047
  "close-on-escape": o.closeOnEscape,
1045
- style: Io(i.value),
1048
+ style: Ho(i.value),
1046
1049
  onHide: m,
1047
1050
  onShow: l
1048
- }, Ho({
1051
+ }, Ao({
1049
1052
  default: Z(() => [
1050
1053
  G(b.$slots, "default")
1051
1054
  ]),
@@ -1109,7 +1112,7 @@ const Yr = {
1109
1112
  },
1110
1113
  emits: ["update:modelValue"],
1111
1114
  setup(o, { emit: r }) {
1112
- const e = o, t = r, a = M({
1115
+ const e = o, t = r, a = Y({
1113
1116
  get: () => e.modelValue,
1114
1117
  set: (c) => t("update:modelValue", c)
1115
1118
  });
@@ -1149,7 +1152,7 @@ const Yr = {
1149
1152
  }
1150
1153
  },
1151
1154
  setup(o) {
1152
- const r = o, e = M(() => ({
1155
+ const r = o, e = Y(() => ({
1153
1156
  "ui-panel": !0,
1154
1157
  [`ui-panel--${r.variant}`]: !!r.variant
1155
1158
  }));
@@ -1158,7 +1161,7 @@ const Yr = {
1158
1161
  toggleable: o.toggleable,
1159
1162
  collapsed: o.collapsed,
1160
1163
  class: So(e.value)
1161
- }, Ho({
1164
+ }, Ao({
1162
1165
  default: Z(() => [
1163
1166
  G(t.$slots, "default", {}, void 0, !0)
1164
1167
  ]),
@@ -1180,7 +1183,7 @@ const Yr = {
1180
1183
  } : void 0
1181
1184
  ]), 1032, ["header", "toggleable", "collapsed", "class"]));
1182
1185
  }
1183
- }, u0 = /* @__PURE__ */ Ao(ie, [["__scopeId", "data-v-cc034b6b"]]), f0 = {
1186
+ }, u0 = /* @__PURE__ */ No(ie, [["__scopeId", "data-v-cc034b6b"]]), f0 = {
1184
1187
  __name: "BaseRadioButton",
1185
1188
  props: {
1186
1189
  modelValue: {
@@ -1210,7 +1213,7 @@ const Yr = {
1210
1213
  },
1211
1214
  emits: ["update:modelValue"],
1212
1215
  setup(o, { emit: r }) {
1213
- const e = o, t = r, a = M({
1216
+ const e = o, t = r, a = Y({
1214
1217
  get: () => e.modelValue,
1215
1218
  set: (c) => t("update:modelValue", c)
1216
1219
  });
@@ -1245,7 +1248,7 @@ const Yr = {
1245
1248
  }
1246
1249
  },
1247
1250
  setup(o) {
1248
- const r = o, e = M(() => r.disabled || r.loading), t = M(() => [
1251
+ const r = o, e = Y(() => r.disabled || r.loading), t = Y(() => [
1249
1252
  "ui-btn",
1250
1253
  {
1251
1254
  "ui-btn-primary": r.variant === "primary",
@@ -1279,7 +1282,7 @@ const Yr = {
1279
1282
  }
1280
1283
  },
1281
1284
  setup(o) {
1282
- const r = o, e = M(() => !!r.label);
1285
+ const r = o, e = Y(() => !!r.label);
1283
1286
  return (t, a) => (R(), P("div", de, [
1284
1287
  e.value ? (R(), P("span", le, oo(o.label), 1)) : E("", !0),
1285
1288
  a[0] || (a[0] = io("div", { class: "ui-section-divider__line" }, null, -1))
@@ -1327,10 +1330,10 @@ const Yr = {
1327
1330
  },
1328
1331
  emits: ["update:modelValue"],
1329
1332
  setup(o, { emit: r }) {
1330
- const e = o, t = r, a = M({
1333
+ const e = o, t = r, a = Y({
1331
1334
  get: () => e.modelValue,
1332
1335
  set: (i) => t("update:modelValue", i)
1333
- }), c = M(() => e.optionEmpty ? [
1336
+ }), c = Y(() => e.optionEmpty ? [
1334
1337
  e.optionEmpty,
1335
1338
  ...e.options
1336
1339
  ] : e.options);
@@ -1371,12 +1374,12 @@ const Yr = {
1371
1374
  },
1372
1375
  emits: ["update:modelValue"],
1373
1376
  setup(o, { emit: r }) {
1374
- const e = o, t = r, a = M({
1377
+ const e = o, t = r, a = Y({
1375
1378
  get: () => e.modelValue,
1376
1379
  set: (i) => {
1377
1380
  e.disabled || e.loading || t("update:modelValue", i);
1378
1381
  }
1379
- }), c = M(() => e.disabled || e.loading);
1382
+ }), c = Y(() => e.disabled || e.loading);
1380
1383
  return (i, m) => (R(), H(T(Dr), {
1381
1384
  modelValue: a.value,
1382
1385
  "onUpdate:modelValue": m[0] || (m[0] = (l) => a.value = l),
@@ -1415,7 +1418,7 @@ const Yr = {
1415
1418
  },
1416
1419
  emits: ["update:modelValue"],
1417
1420
  setup(o, { emit: r }) {
1418
- const e = o, t = r, a = M({
1421
+ const e = o, t = r, a = Y({
1419
1422
  get: () => e.modelValue,
1420
1423
  set: (c) => t("update:modelValue", c)
1421
1424
  });
@@ -1480,11 +1483,11 @@ var ce = { transitionDuration: "{transition.duration}" }, se = { borderWidth: "0
1480
1483
  .p-treetable-mask.p-overlay-mask {
1481
1484
  --px-mask-background: light-dark(rgba(255,255,255,0.5),rgba(0,0,0,0.3));
1482
1485
  }
1483
- `, xu = { root: nu, header: iu, headerCell: du, columnTitle: lu, row: cu, bodyCell: su, footerCell: uu, columnFooter: fu, footer: gu, columnResizer: mu, resizeIndicator: pu, sortIcon: bu, loadingIcon: hu, nodeToggleButton: vu, paginatorTop: ku, paginatorBottom: yu, colorScheme: $u, css: Cu }, wu = { mask: { background: "{content.background}", color: "{text.muted.color}" }, icon: { size: "2rem" } }, Bu = { loader: wu }, Ru = Object.defineProperty, Du = Object.defineProperties, Su = Object.getOwnPropertyDescriptors, qo = Object.getOwnPropertySymbols, Mu = Object.prototype.hasOwnProperty, zu = Object.prototype.propertyIsEnumerable, Eo = (o, r, e) => r in o ? Ru(o, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[r] = e, Uo, Yu = (Uo = ((o, r) => {
1484
- for (var e in r || (r = {})) Mu.call(r, e) && Eo(o, e, r[e]);
1485
- if (qo) for (var e of qo(r)) zu.call(r, e) && Eo(o, e, r[e]);
1486
+ `, xu = { root: nu, header: iu, headerCell: du, columnTitle: lu, row: cu, bodyCell: su, footerCell: uu, columnFooter: fu, footer: gu, columnResizer: mu, resizeIndicator: pu, sortIcon: bu, loadingIcon: hu, nodeToggleButton: vu, paginatorTop: ku, paginatorBottom: yu, colorScheme: $u, css: Cu }, wu = { mask: { background: "{content.background}", color: "{text.muted.color}" }, icon: { size: "2rem" } }, Bu = { loader: wu }, Ru = Object.defineProperty, Du = Object.defineProperties, Su = Object.getOwnPropertyDescriptors, Eo = Object.getOwnPropertySymbols, Mu = Object.prototype.hasOwnProperty, zu = Object.prototype.propertyIsEnumerable, Uo = (o, r, e) => r in o ? Ru(o, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[r] = e, _o, Yu = (_o = ((o, r) => {
1487
+ for (var e in r || (r = {})) Mu.call(r, e) && Uo(o, e, r[e]);
1488
+ if (Eo) for (var e of Eo(r)) zu.call(r, e) && Uo(o, e, r[e]);
1486
1489
  return o;
1487
- })({}, Ie), Du(Uo, Su({ components: { accordion: ge, autocomplete: xe, avatar: Me, badge: We, blockui: Ae, breadcrumb: Ee, button: Xe, card: ot, carousel: it, cascadeselect: gt, checkbox: bt, chip: Ct, colorpicker: Dt, confirmdialog: zt, confirmpopup: Tt, contextmenu: Nt, datatable: sa, dataview: ha, datepicker: Fa, dialog: Pa, divider: Xa, dock: Ja, drawer: tn, editor: sn, fieldset: pn, fileupload: xn, floatlabel: Sn, galleria: Pn, iconfield: En, iftalabel: Xn, image: Kn, imagecompare: ri, inlinemessage: ii, inplace: ci, inputchips: gi, inputgroup: pi, inputnumber: ki, inputotp: Ci, inputtext: wi, knob: Mi, listbox: Fi, megamenu: _i, menu: Ki, menubar: id, message: bd, metergroup: xd, multiselect: Od, orderlist: Wd, organizationchart: Ad, overlaybadge: Pd, paginator: Xd, panel: rl, panelmenu: dl, password: gl, picklist: bl, popover: kl, progressbar: xl, progressspinner: Bl, radiobutton: Sl, rating: Yl, ripple: Ol, scrollpanel: Fl, select: _l, selectbutton: Gl, skeleton: Kl, slider: nc, speeddial: dc, splitbutton: cc, splitter: gc, stepper: Cc, steps: Sc, tabmenu: Lc, tabs: Nc, tabview: Zc, tag: Kc, terminal: ts, textarea: ns, tieredmenu: fs, timeline: vs, toast: Ss, togglebutton: Os, toggleswitch: Fs, toolbar: Is, tooltip: Ns, tree: Gs, treeselect: au, treetable: xu, virtualscroller: Bu }, css: Pt })));
1490
+ })({}, Ie), Du(_o, Su({ components: { accordion: ge, autocomplete: xe, avatar: Me, badge: We, blockui: Ae, breadcrumb: Ee, button: Xe, card: ot, carousel: it, cascadeselect: gt, checkbox: bt, chip: Ct, colorpicker: Dt, confirmdialog: zt, confirmpopup: Tt, contextmenu: Nt, datatable: sa, dataview: ha, datepicker: Fa, dialog: Pa, divider: Xa, dock: Ja, drawer: tn, editor: sn, fieldset: pn, fileupload: xn, floatlabel: Sn, galleria: Pn, iconfield: En, iftalabel: Xn, image: Kn, imagecompare: ri, inlinemessage: ii, inplace: ci, inputchips: gi, inputgroup: pi, inputnumber: ki, inputotp: Ci, inputtext: wi, knob: Mi, listbox: Fi, megamenu: _i, menu: Ki, menubar: id, message: bd, metergroup: xd, multiselect: Od, orderlist: Wd, organizationchart: Ad, overlaybadge: Pd, paginator: Xd, panel: rl, panelmenu: dl, password: gl, picklist: bl, popover: kl, progressbar: xl, progressspinner: Bl, radiobutton: Sl, rating: Yl, ripple: Ol, scrollpanel: Fl, select: _l, selectbutton: Gl, skeleton: Kl, slider: nc, speeddial: dc, splitbutton: cc, splitter: gc, stepper: Cc, steps: Sc, tabmenu: Lc, tabs: Nc, tabview: Zc, tag: Kc, terminal: ts, textarea: ns, tieredmenu: fs, timeline: vs, toast: Ss, togglebutton: Os, toggleswitch: Fs, toolbar: Is, tooltip: Ns, tree: Gs, treeselect: au, treetable: xu, virtualscroller: Bu }, css: Pt })));
1488
1491
  const Vu = {
1489
1492
  startsWith: "Começa com",
1490
1493
  contains: "Contém",
@@ -1588,22 +1591,22 @@ function $0(o, r) {
1588
1591
  function e(t) {
1589
1592
  o.value && (o.value.contains(t.target) || r(t));
1590
1593
  }
1591
- er(() => {
1594
+ tr(() => {
1592
1595
  document.addEventListener("pointerdown", e);
1593
- }), tr(() => {
1596
+ }), ar(() => {
1594
1597
  document.removeEventListener("pointerdown", e);
1595
1598
  });
1596
1599
  }
1597
1600
  function vo(o) {
1598
1601
  return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
1599
1602
  }
1600
- var $o = { exports: {} }, Ou = $o.exports, _o;
1601
- function dr() {
1602
- return _o || (_o = 1, (function(o, r) {
1603
+ var $o = { exports: {} }, Ou = $o.exports, Xo;
1604
+ function lr() {
1605
+ return Xo || (Xo = 1, (function(o, r) {
1603
1606
  (function(e, t) {
1604
1607
  o.exports = t();
1605
1608
  })(Ou, (function() {
1606
- var e = 1e3, t = 6e4, a = 36e5, c = "millisecond", i = "second", m = "minute", l = "hour", b = "day", $ = "week", B = "month", k = "quarter", z = "year", y = "date", p = "Invalid Date", f = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, C = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(s) {
1609
+ var e = 1e3, t = 6e4, a = 36e5, c = "millisecond", i = "second", m = "minute", l = "hour", b = "day", $ = "week", B = "month", k = "quarter", M = "year", y = "date", p = "Invalid Date", f = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, C = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(s) {
1607
1610
  var n = ["th", "st", "nd", "rd"], d = s % 100;
1608
1611
  return "[" + s + (n[(d - 20) % 10] || n[d] || n[0]) + "]";
1609
1612
  } }, x = function(s, n, d) {
@@ -1619,7 +1622,7 @@ function dr() {
1619
1622
  }, a: function(s) {
1620
1623
  return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
1621
1624
  }, p: function(s) {
1622
- return { M: B, y: z, w: $, d: b, D: y, h: l, m, s: i, ms: c, Q: k }[s] || String(s || "").toLowerCase().replace(/s$/, "");
1625
+ return { M: B, y: M, w: $, d: b, D: y, h: l, m, s: i, ms: c, Q: k }[s] || String(s || "").toLowerCase().replace(/s$/, "");
1623
1626
  }, u: function(s) {
1624
1627
  return s === void 0;
1625
1628
  } }, V = "en", W = {};
@@ -1635,8 +1638,8 @@ function dr() {
1635
1638
  var D = n.split("-");
1636
1639
  if (!g && D.length > 1) return s(D[0]);
1637
1640
  } else {
1638
- var Y = n.name;
1639
- W[Y] = n, g = Y;
1641
+ var z = n.name;
1642
+ W[z] = n, g = z;
1640
1643
  }
1641
1644
  return !h && g && (V = g), g || !h && V;
1642
1645
  }, O = function(s, n) {
@@ -1661,8 +1664,8 @@ function dr() {
1661
1664
  if (typeof g == "string" && !/Z$/i.test(g)) {
1662
1665
  var D = g.match(f);
1663
1666
  if (D) {
1664
- var Y = D[2] - 1 || 0, I = (D[7] || "0").substring(0, 3);
1665
- return w ? new Date(Date.UTC(D[1], Y, D[3] || 1, D[4] || 0, D[5] || 0, D[6] || 0, I)) : new Date(D[1], Y, D[3] || 1, D[4] || 0, D[5] || 0, D[6] || 0, I);
1667
+ var z = D[2] - 1 || 0, I = (D[7] || "0").substring(0, 3);
1668
+ return w ? new Date(Date.UTC(D[1], z, D[3] || 1, D[4] || 0, D[5] || 0, D[6] || 0, I)) : new Date(D[1], z, D[3] || 1, D[4] || 0, D[5] || 0, D[6] || 0, I);
1666
1669
  }
1667
1670
  }
1668
1671
  return new Date(g);
@@ -1688,20 +1691,20 @@ function dr() {
1688
1691
  }, n.valueOf = function() {
1689
1692
  return this.$d.getTime();
1690
1693
  }, n.startOf = function(d, h) {
1691
- var g = this, w = !!S.u(h) || h, D = S.p(d), Y = function(ro, X) {
1694
+ var g = this, w = !!S.u(h) || h, D = S.p(d), z = function(ro, X) {
1692
1695
  var K = S.w(g.$u ? Date.UTC(g.$y, X, ro) : new Date(g.$y, X, ro), g);
1693
1696
  return w ? K : K.endOf(b);
1694
1697
  }, I = function(ro, X) {
1695
1698
  return S.w(g.toDate()[ro].apply(g.toDate("s"), (w ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), g);
1696
1699
  }, N = this.$W, _ = this.$M, J = this.$D, lo = "set" + (this.$u ? "UTC" : "");
1697
1700
  switch (D) {
1698
- case z:
1699
- return w ? Y(1, 0) : Y(31, 11);
1701
+ case M:
1702
+ return w ? z(1, 0) : z(31, 11);
1700
1703
  case B:
1701
- return w ? Y(1, _) : Y(0, _ + 1);
1704
+ return w ? z(1, _) : z(0, _ + 1);
1702
1705
  case $:
1703
1706
  var ao = this.$locale().weekStart || 0, go = (N < ao ? N + 7 : N) - ao;
1704
- return Y(w ? J - go : J + (6 - go), _);
1707
+ return z(w ? J - go : J + (6 - go), _);
1705
1708
  case b:
1706
1709
  case y:
1707
1710
  return I(lo + "Hours", 0);
@@ -1717,11 +1720,11 @@ function dr() {
1717
1720
  }, n.endOf = function(d) {
1718
1721
  return this.startOf(d, !1);
1719
1722
  }, n.$set = function(d, h) {
1720
- var g, w = S.p(d), D = "set" + (this.$u ? "UTC" : ""), Y = (g = {}, g[b] = D + "Date", g[y] = D + "Date", g[B] = D + "Month", g[z] = D + "FullYear", g[l] = D + "Hours", g[m] = D + "Minutes", g[i] = D + "Seconds", g[c] = D + "Milliseconds", g)[w], I = w === b ? this.$D + (h - this.$W) : h;
1721
- if (w === B || w === z) {
1723
+ var g, w = S.p(d), D = "set" + (this.$u ? "UTC" : ""), z = (g = {}, g[b] = D + "Date", g[y] = D + "Date", g[B] = D + "Month", g[M] = D + "FullYear", g[l] = D + "Hours", g[m] = D + "Minutes", g[i] = D + "Seconds", g[c] = D + "Milliseconds", g)[w], I = w === b ? this.$D + (h - this.$W) : h;
1724
+ if (w === B || w === M) {
1722
1725
  var N = this.clone().set(y, 1);
1723
- N.$d[Y](I), N.init(), this.$d = N.set(y, Math.min(this.$D, N.daysInMonth())).$d;
1724
- } else Y && this.$d[Y](I);
1726
+ N.$d[z](I), N.init(), this.$d = N.set(y, Math.min(this.$D, N.daysInMonth())).$d;
1727
+ } else z && this.$d[z](I);
1725
1728
  return this.init(), this;
1726
1729
  }, n.set = function(d, h) {
1727
1730
  return this.clone().$set(d, h);
@@ -1730,14 +1733,14 @@ function dr() {
1730
1733
  }, n.add = function(d, h) {
1731
1734
  var g, w = this;
1732
1735
  d = Number(d);
1733
- var D = S.p(h), Y = function(_) {
1736
+ var D = S.p(h), z = function(_) {
1734
1737
  var J = O(w);
1735
1738
  return S.w(J.date(J.date() + Math.round(_ * d)), w);
1736
1739
  };
1737
1740
  if (D === B) return this.set(B, this.$M + d);
1738
- if (D === z) return this.set(z, this.$y + d);
1739
- if (D === b) return Y(1);
1740
- if (D === $) return Y(7);
1741
+ if (D === M) return this.set(M, this.$y + d);
1742
+ if (D === b) return z(1);
1743
+ if (D === $) return z(7);
1741
1744
  var I = (g = {}, g[m] = t, g[l] = a, g[i] = e, g)[D] || 1, N = this.$d.getTime() + d * I;
1742
1745
  return S.w(N, this);
1743
1746
  }, n.subtract = function(d, h) {
@@ -1745,10 +1748,10 @@ function dr() {
1745
1748
  }, n.format = function(d) {
1746
1749
  var h = this, g = this.$locale();
1747
1750
  if (!this.isValid()) return g.invalidDate || p;
1748
- var w = d || "YYYY-MM-DDTHH:mm:ssZ", D = S.z(this), Y = this.$H, I = this.$m, N = this.$M, _ = g.weekdays, J = g.months, lo = g.meridiem, ao = function(X, K, no, co) {
1751
+ var w = d || "YYYY-MM-DDTHH:mm:ssZ", D = S.z(this), z = this.$H, I = this.$m, N = this.$M, _ = g.weekdays, J = g.months, lo = g.meridiem, ao = function(X, K, no, co) {
1749
1752
  return X && (X[K] || X(h, w)) || no[K].slice(0, co);
1750
1753
  }, go = function(X) {
1751
- return S.s(Y % 12 || 12, X, "0");
1754
+ return S.s(z % 12 || 12, X, "0");
1752
1755
  }, ro = lo || function(X, K, no) {
1753
1756
  var co = X < 12 ? "AM" : "PM";
1754
1757
  return no ? co.toLowerCase() : co;
@@ -1781,17 +1784,17 @@ function dr() {
1781
1784
  case "dddd":
1782
1785
  return _[h.$W];
1783
1786
  case "H":
1784
- return String(Y);
1787
+ return String(z);
1785
1788
  case "HH":
1786
- return S.s(Y, 2, "0");
1789
+ return S.s(z, 2, "0");
1787
1790
  case "h":
1788
1791
  return go(1);
1789
1792
  case "hh":
1790
1793
  return go(2);
1791
1794
  case "a":
1792
- return ro(Y, I, !0);
1795
+ return ro(z, I, !0);
1793
1796
  case "A":
1794
- return ro(Y, I, !1);
1797
+ return ro(z, I, !1);
1795
1798
  case "m":
1796
1799
  return String(I);
1797
1800
  case "mm":
@@ -1811,11 +1814,11 @@ function dr() {
1811
1814
  }, n.utcOffset = function() {
1812
1815
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1813
1816
  }, n.diff = function(d, h, g) {
1814
- var w, D = this, Y = S.p(h), I = O(d), N = (I.utcOffset() - this.utcOffset()) * t, _ = this - I, J = function() {
1817
+ var w, D = this, z = S.p(h), I = O(d), N = (I.utcOffset() - this.utcOffset()) * t, _ = this - I, J = function() {
1815
1818
  return S.m(D, I);
1816
1819
  };
1817
- switch (Y) {
1818
- case z:
1820
+ switch (z) {
1821
+ case M:
1819
1822
  w = J() / 12;
1820
1823
  break;
1821
1824
  case B:
@@ -1863,7 +1866,7 @@ function dr() {
1863
1866
  return this.$d.toUTCString();
1864
1867
  }, s;
1865
1868
  })(), u = U.prototype;
1866
- return O.prototype = u, [["$ms", c], ["$s", i], ["$m", m], ["$H", l], ["$W", b], ["$M", B], ["$y", z], ["$D", y]].forEach((function(s) {
1869
+ return O.prototype = u, [["$ms", c], ["$s", i], ["$m", m], ["$H", l], ["$W", b], ["$M", B], ["$y", M], ["$D", y]].forEach((function(s) {
1867
1870
  u[s[1]] = function(n) {
1868
1871
  return this.$g(n, s[0], s[1]);
1869
1872
  };
@@ -1875,13 +1878,13 @@ function dr() {
1875
1878
  }));
1876
1879
  })($o)), $o.exports;
1877
1880
  }
1878
- var Lu = dr();
1881
+ var Lu = lr();
1879
1882
  const eo = /* @__PURE__ */ vo(Lu);
1880
- var Co = { exports: {} }, Tu = Co.exports, Xo;
1883
+ var Co = { exports: {} }, Tu = Co.exports, Zo;
1881
1884
  function Wu() {
1882
- return Xo || (Xo = 1, (function(o, r) {
1885
+ return Zo || (Zo = 1, (function(o, r) {
1883
1886
  (function(e, t) {
1884
- o.exports = t(dr());
1887
+ o.exports = t(lr());
1885
1888
  })(Tu, (function(e) {
1886
1889
  function t(i) {
1887
1890
  return i && typeof i == "object" && "default" in i ? i : { default: i };
@@ -1894,9 +1897,9 @@ function Wu() {
1894
1897
  })(Co)), Co.exports;
1895
1898
  }
1896
1899
  Wu();
1897
- var xo = { exports: {} }, Fu = xo.exports, Zo;
1900
+ var xo = { exports: {} }, Fu = xo.exports, Go;
1898
1901
  function ju() {
1899
- return Zo || (Zo = 1, (function(o, r) {
1902
+ return Go || (Go = 1, (function(o, r) {
1900
1903
  (function(e, t) {
1901
1904
  o.exports = t();
1902
1905
  })(Fu, (function() {
@@ -1915,7 +1918,7 @@ function ju() {
1915
1918
  }], k = function(f) {
1916
1919
  var v = l[f];
1917
1920
  return v && (v.indexOf ? v : v.s.concat(v.f));
1918
- }, z = function(f, v) {
1921
+ }, M = function(f, v) {
1919
1922
  var C, x = l.meridiem;
1920
1923
  if (x) {
1921
1924
  for (var L = 1; L <= 24; L += 1) if (f.indexOf(x(L, 0, v)) > -1) {
@@ -1925,9 +1928,9 @@ function ju() {
1925
1928
  } else C = f === (v ? "pm" : "PM");
1926
1929
  return C;
1927
1930
  }, y = { A: [m, function(f) {
1928
- this.afternoon = z(f, !1);
1931
+ this.afternoon = M(f, !1);
1929
1932
  }], a: [m, function(f) {
1930
- this.afternoon = z(f, !0);
1933
+ this.afternoon = M(f, !0);
1931
1934
  }], Q: [a, function(f) {
1932
1935
  this.month = 3 * (f - 1) + 1;
1933
1936
  }], S: [a, function(f) {
@@ -1976,8 +1979,8 @@ function ju() {
1976
1979
  return (function(w) {
1977
1980
  var D = w.afternoon;
1978
1981
  if (D !== void 0) {
1979
- var Y = w.hours;
1980
- D ? Y < 12 && (w.hours += 12) : Y === 12 && (w.hours = 0), delete w.afternoon;
1982
+ var z = w.hours;
1983
+ D ? z < 12 && (w.hours += 12) : z === 12 && (w.hours = 0), delete w.afternoon;
1981
1984
  }
1982
1985
  })(S), S;
1983
1986
  };
@@ -1994,7 +1997,7 @@ function ju() {
1994
1997
  S && (u = A[2]), l = this.$locale(), !O && u && (l = C.Ls[u]), this.$d = (function(h, g, w, D) {
1995
1998
  try {
1996
1999
  if (["x", "X"].indexOf(g) > -1) return new Date((g === "X" ? 1e3 : 1) * h);
1997
- var Y = p(g)(h), I = Y.year, N = Y.month, _ = Y.day, J = Y.hours, lo = Y.minutes, ao = Y.seconds, go = Y.milliseconds, ro = Y.zone, X = Y.week, K = /* @__PURE__ */ new Date(), no = _ || (I || N ? 1 : K.getDate()), co = I || K.getFullYear(), ko = 0;
2000
+ var z = p(g)(h), I = z.year, N = z.month, _ = z.day, J = z.hours, lo = z.minutes, ao = z.seconds, go = z.milliseconds, ro = z.zone, X = z.week, K = /* @__PURE__ */ new Date(), no = _ || (I || N ? 1 : K.getDate()), co = I || K.getFullYear(), ko = 0;
1998
2001
  I && !N || (ko = N > 0 ? N - 1 : K.getMonth());
1999
2002
  var yo, Oo = J || 0, Lo = lo || 0, To = ao || 0, Wo = go || 0;
2000
2003
  return ro ? new Date(Date.UTC(co, ko, no, Oo, Lo, To, Wo + 60 * ro.offset * 1e3)) : w ? new Date(Date.UTC(co, ko, no, Oo, Lo, To, Wo)) : (yo = new Date(co, ko, no, Oo, Lo, To, Wo), X && (yo = D(yo).week(X).toDate()), yo);
@@ -2019,9 +2022,9 @@ function ju() {
2019
2022
  }
2020
2023
  var Iu = ju();
2021
2024
  const Hu = /* @__PURE__ */ vo(Iu);
2022
- var wo = { exports: {} }, Au = wo.exports, Go;
2025
+ var wo = { exports: {} }, Au = wo.exports, Jo;
2023
2026
  function Nu() {
2024
- return Go || (Go = 1, (function(o, r) {
2027
+ return Jo || (Jo = 1, (function(o, r) {
2025
2028
  (function(e, t) {
2026
2029
  o.exports = t();
2027
2030
  })(Au, (function() {
@@ -2031,7 +2034,7 @@ function Nu() {
2031
2034
  c.en.formats = e, i.format = function(l) {
2032
2035
  l === void 0 && (l = "YYYY-MM-DDTHH:mm:ssZ");
2033
2036
  var b = this.$locale().formats, $ = (function(B, k) {
2034
- return B.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(z, y, p) {
2037
+ return B.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(M, y, p) {
2035
2038
  var f = p && p.toUpperCase();
2036
2039
  return y || k[p] || e[p] || k[f].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(v, C, x) {
2037
2040
  return C || x.slice(1);
@@ -2046,9 +2049,9 @@ function Nu() {
2046
2049
  }
2047
2050
  var Pu = Nu();
2048
2051
  const qu = /* @__PURE__ */ vo(Pu);
2049
- var Bo = { exports: {} }, Eu = Bo.exports, Jo;
2052
+ var Bo = { exports: {} }, Eu = Bo.exports, Qo;
2050
2053
  function Uu() {
2051
- return Jo || (Jo = 1, (function(o, r) {
2054
+ return Qo || (Qo = 1, (function(o, r) {
2052
2055
  (function(e, t) {
2053
2056
  o.exports = t();
2054
2057
  })(Eu, (function() {
@@ -2107,9 +2110,9 @@ function Uu() {
2107
2110
  }, l.toString = function() {
2108
2111
  return this.toDate().toUTCString();
2109
2112
  };
2110
- var z = l.toDate;
2113
+ var M = l.toDate;
2111
2114
  l.toDate = function(p) {
2112
- return p === "s" && this.$offset ? m(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : z.call(this);
2115
+ return p === "s" && this.$offset ? m(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : M.call(this);
2113
2116
  };
2114
2117
  var y = l.diff;
2115
2118
  l.diff = function(p, f, v) {
@@ -2123,52 +2126,52 @@ function Uu() {
2123
2126
  }
2124
2127
  var _u = Uu();
2125
2128
  const Xu = /* @__PURE__ */ vo(_u);
2126
- var Ro = { exports: {} }, Zu = Ro.exports, Qo;
2129
+ var Ro = { exports: {} }, Zu = Ro.exports, Ko;
2127
2130
  function Gu() {
2128
- return Qo || (Qo = 1, (function(o, r) {
2131
+ return Ko || (Ko = 1, (function(o, r) {
2129
2132
  (function(e, t) {
2130
2133
  o.exports = t();
2131
2134
  })(Zu, (function() {
2132
2135
  var e = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, t = {};
2133
2136
  return function(a, c, i) {
2134
- var m, l = function(k, z, y) {
2137
+ var m, l = function(k, M, y) {
2135
2138
  y === void 0 && (y = {});
2136
2139
  var p = new Date(k), f = (function(v, C) {
2137
2140
  C === void 0 && (C = {});
2138
2141
  var x = C.timeZoneName || "short", L = v + "|" + x, V = t[L];
2139
2142
  return V || (V = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: v, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: x }), t[L] = V), V;
2140
- })(z, y);
2143
+ })(M, y);
2141
2144
  return f.formatToParts(p);
2142
- }, b = function(k, z) {
2143
- for (var y = l(k, z), p = [], f = 0; f < y.length; f += 1) {
2145
+ }, b = function(k, M) {
2146
+ for (var y = l(k, M), p = [], f = 0; f < y.length; f += 1) {
2144
2147
  var v = y[f], C = v.type, x = v.value, L = e[C];
2145
2148
  L >= 0 && (p[L] = parseInt(x, 10));
2146
2149
  }
2147
2150
  var V = p[3], W = V === 24 ? 0 : V, F = p[0] + "-" + p[1] + "-" + p[2] + " " + W + ":" + p[4] + ":" + p[5] + ":000", A = +k;
2148
2151
  return (i.utc(F).valueOf() - (A -= A % 1e3)) / 6e4;
2149
2152
  }, $ = c.prototype;
2150
- $.tz = function(k, z) {
2153
+ $.tz = function(k, M) {
2151
2154
  k === void 0 && (k = m);
2152
2155
  var y, p = this.utcOffset(), f = this.toDate(), v = f.toLocaleString("en-US", { timeZone: k }), C = Math.round((f - new Date(v)) / 1e3 / 60), x = 15 * -Math.round(f.getTimezoneOffset() / 15) - C;
2153
- if (!Number(x)) y = this.utcOffset(0, z);
2154
- else if (y = i(v, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(x, !0), z) {
2156
+ if (!Number(x)) y = this.utcOffset(0, M);
2157
+ else if (y = i(v, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(x, !0), M) {
2155
2158
  var L = y.utcOffset();
2156
2159
  y = y.add(p - L, "minute");
2157
2160
  }
2158
2161
  return y.$x.$timezone = k, y;
2159
2162
  }, $.offsetName = function(k) {
2160
- var z = this.$x.$timezone || i.tz.guess(), y = l(this.valueOf(), z, { timeZoneName: k }).find((function(p) {
2163
+ var M = this.$x.$timezone || i.tz.guess(), y = l(this.valueOf(), M, { timeZoneName: k }).find((function(p) {
2161
2164
  return p.type.toLowerCase() === "timezonename";
2162
2165
  }));
2163
2166
  return y && y.value;
2164
2167
  };
2165
2168
  var B = $.startOf;
2166
- $.startOf = function(k, z) {
2167
- if (!this.$x || !this.$x.$timezone) return B.call(this, k, z);
2169
+ $.startOf = function(k, M) {
2170
+ if (!this.$x || !this.$x.$timezone) return B.call(this, k, M);
2168
2171
  var y = i(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
2169
- return B.call(y, k, z).tz(this.$x.$timezone, !0);
2170
- }, i.tz = function(k, z, y) {
2171
- var p = y && z, f = y || z || m, v = b(+i(), f);
2172
+ return B.call(y, k, M).tz(this.$x.$timezone, !0);
2173
+ }, i.tz = function(k, M, y) {
2174
+ var p = y && M, f = y || M || m, v = b(+i(), f);
2172
2175
  if (typeof k != "string") return i(k).tz(f);
2173
2176
  var C = (function(W, F, A) {
2174
2177
  var j = W - 60 * F * 1e3, O = b(j, A);
@@ -2213,7 +2216,7 @@ const Ku = [
2213
2216
  const r = eo(o);
2214
2217
  return r.isValid() ? r : null;
2215
2218
  };
2216
- function Ko(o) {
2219
+ function or(o) {
2217
2220
  const r = to(o);
2218
2221
  return r ? r.startOf("day").toDate() : null;
2219
2222
  }
@@ -2315,7 +2318,7 @@ function I0(o) {
2315
2318
  "($1) $2-$3"
2316
2319
  ) : o;
2317
2320
  }
2318
- function or(o, r) {
2321
+ function rr(o, r) {
2319
2322
  var e = Object.keys(o);
2320
2323
  if (Object.getOwnPropertySymbols) {
2321
2324
  var t = Object.getOwnPropertySymbols(o);
@@ -2328,9 +2331,9 @@ function or(o, r) {
2328
2331
  function ho(o) {
2329
2332
  for (var r = 1; r < arguments.length; r++) {
2330
2333
  var e = arguments[r] != null ? arguments[r] : {};
2331
- r % 2 ? or(Object(e), !0).forEach(function(t) {
2334
+ r % 2 ? rr(Object(e), !0).forEach(function(t) {
2332
2335
  rf(o, t, e[t]);
2333
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(e)) : or(Object(e)).forEach(function(t) {
2336
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(e)) : rr(Object(e)).forEach(function(t) {
2334
2337
  Object.defineProperty(o, t, Object.getOwnPropertyDescriptor(e, t));
2335
2338
  });
2336
2339
  }
@@ -2347,7 +2350,7 @@ function rf(o, r, e) {
2347
2350
  function Do(o) {
2348
2351
  return typeof o == "function";
2349
2352
  }
2350
- function jo(o) {
2353
+ function Io(o) {
2351
2354
  return o !== null && typeof o == "object" && !Array.isArray(o);
2352
2355
  }
2353
2356
  function Vo(o) {
@@ -2355,21 +2358,21 @@ function Vo(o) {
2355
2358
  $validator: o
2356
2359
  };
2357
2360
  }
2358
- function lr(o) {
2361
+ function cr(o) {
2359
2362
  return typeof o == "object" ? o.$valid : o;
2360
2363
  }
2361
- function cr(o) {
2364
+ function sr(o) {
2362
2365
  return o.$validator || o;
2363
2366
  }
2364
2367
  function ef(o, r) {
2365
- if (!jo(o)) throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof o}`);
2366
- if (!jo(r) && !Do(r)) throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");
2368
+ if (!Io(o)) throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof o}`);
2369
+ if (!Io(r) && !Do(r)) throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");
2367
2370
  const e = Vo(r);
2368
2371
  return e.$params = ho(ho({}, e.$params || {}), o), e;
2369
2372
  }
2370
2373
  function tf(o, r) {
2371
2374
  if (!Do(o) && typeof T(o) != "string") throw new Error(`[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided ${typeof o}`);
2372
- if (!jo(r) && !Do(r)) throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");
2375
+ if (!Io(r) && !Do(r)) throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");
2373
2376
  const e = Vo(r);
2374
2377
  return e.$message = o, e;
2375
2378
  }
@@ -2389,9 +2392,9 @@ function nf(o) {
2389
2392
  return T(r).reduce((c, i, m) => {
2390
2393
  const l = Object.entries(i).reduce((b, $) => {
2391
2394
  let [B, k] = $;
2392
- const z = o[B] || {}, y = Object.entries(z).reduce((p, f) => {
2395
+ const M = o[B] || {}, y = Object.entries(M).reduce((p, f) => {
2393
2396
  let [v, C] = f;
2394
- const L = cr(C).call(this, k, i, m, ...t), V = lr(L);
2397
+ const L = sr(C).call(this, k, i, m, ...t), V = cr(L);
2395
2398
  if (p.$data[v] = L, p.$data.$invalid = !V || !!p.$data.$invalid, p.$data.$error = p.$data.$invalid, !V) {
2396
2399
  let W = C.$message || "";
2397
2400
  const F = C.$params || {};
@@ -2463,7 +2466,7 @@ const bo = (o) => {
2463
2466
  return !1;
2464
2467
  }
2465
2468
  return !!String(o).length;
2466
- }, No = (o) => (o = T(o), Array.isArray(o) ? o.length : typeof o == "object" ? Object.keys(o).length : String(o).length);
2469
+ }, Po = (o) => (o = T(o), Array.isArray(o) ? o.length : typeof o == "object" ? Object.keys(o).length : String(o).length);
2467
2470
  function uo() {
2468
2471
  for (var o = arguments.length, r = new Array(o), e = 0; e < o; e++)
2469
2472
  r[e] = arguments[e];
@@ -2472,13 +2475,13 @@ function uo() {
2472
2475
  var q = /* @__PURE__ */ Object.freeze({
2473
2476
  __proto__: null,
2474
2477
  forEach: nf,
2475
- len: No,
2478
+ len: Po,
2476
2479
  normalizeValidatorObject: Vo,
2477
2480
  regex: uo,
2478
2481
  req: bo,
2479
2482
  unwrap: T,
2480
- unwrapNormalizedValidator: cr,
2481
- unwrapValidatorResponse: lr,
2483
+ unwrapNormalizedValidator: sr,
2484
+ unwrapValidatorResponse: cr,
2482
2485
  withAsync: af,
2483
2486
  withMessage: tf,
2484
2487
  withParams: ef
@@ -2495,7 +2498,7 @@ var lf = uo(df), cf = {
2495
2498
  }
2496
2499
  };
2497
2500
  function sf(o) {
2498
- return (r) => !bo(r) || No(r) <= T(o);
2501
+ return (r) => !bo(r) || Po(r) <= T(o);
2499
2502
  }
2500
2503
  function uf(o) {
2501
2504
  return {
@@ -2513,7 +2516,7 @@ function uf(o) {
2513
2516
  };
2514
2517
  }
2515
2518
  function ff(o) {
2516
- return (r) => !bo(r) || No(r) >= T(o);
2519
+ return (r) => !bo(r) || Po(r) >= T(o);
2517
2520
  }
2518
2521
  function gf(o) {
2519
2522
  return {
@@ -2589,10 +2592,10 @@ function yf(o) {
2589
2592
  function $f(o, r = /* @__PURE__ */ new Date()) {
2590
2593
  const e = zo(o);
2591
2594
  if (!e) return !1;
2592
- const t = Ko(r);
2593
- return Ko(e) > t;
2595
+ const t = or(r);
2596
+ return or(e) > t;
2594
2597
  }
2595
- function rr(o) {
2598
+ function er(o) {
2596
2599
  const r = zo(o);
2597
2600
  return !!r && eo(r).isValid();
2598
2601
  }
@@ -2651,7 +2654,7 @@ const fo = (o) => (r) => !q.req(r) || o(r), H0 = q.withMessage("Campo obrigatór
2651
2654
  fo((o) => wf(so(o)))
2652
2655
  ), Z0 = q.withMessage(
2653
2656
  "Data inválida.",
2654
- (o) => o == null || o === "" ? !0 : o instanceof Date ? rr(o) : rr(zo(o))
2657
+ (o) => o == null || o === "" ? !0 : o instanceof Date ? er(o) : er(zo(o))
2655
2658
  ), G0 = q.withMessage(
2656
2659
  "Data não pode ser maior que hoje.",
2657
2660
  fo((o) => !$f(zo(o)))
@@ -2721,7 +2724,7 @@ export {
2721
2724
  S0 as formatWeekday,
2722
2725
  so as onlyNumber,
2723
2726
  k0 as setupPrimeVue,
2724
- Ko as startOfDay,
2727
+ or as startOfDay,
2725
2728
  L0 as toCamelCaseWords,
2726
2729
  zo as toDate,
2727
2730
  C0 as today,