@wgalleti/primevue-components 0.27.1 → 0.28.1

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.
Files changed (27) hide show
  1. package/dist/components/crud/WCrudSubview.vue.d.ts +5 -0
  2. package/dist/components/crud/WEditableTable.vue.d.ts +21 -0
  3. package/dist/{components-IFeCNSdg.js → components-BZNvfFed.js} +542 -496
  4. package/dist/components-BZNvfFed.js.map +1 -0
  5. package/dist/components-jGABNYAb.cjs +25 -0
  6. package/dist/components-jGABNYAb.cjs.map +1 -0
  7. package/dist/components.cjs +1 -1
  8. package/dist/components.js +1 -1
  9. package/dist/{composables-S1-B8Ncs.cjs → composables-DPnCytUq.cjs} +2 -2
  10. package/dist/{composables-S1-B8Ncs.cjs.map → composables-DPnCytUq.cjs.map} +1 -1
  11. package/dist/{composables-DrTx5qQQ.js → composables-LdwFk9Ri.js} +2 -2
  12. package/dist/{composables-DrTx5qQQ.js.map → composables-LdwFk9Ri.js.map} +1 -1
  13. package/dist/composables.cjs +1 -1
  14. package/dist/composables.js +2 -2
  15. package/dist/index.cjs +1 -1
  16. package/dist/index.js +3 -3
  17. package/dist/primevue-components.css +1 -1
  18. package/dist/types/editableTable.d.ts +22 -0
  19. package/dist/types/index.d.ts +1 -1
  20. package/dist/{useFormKeyboardNav-BsKFhycF.cjs → useFormKeyboardNav-BDVRfk3k.cjs} +2 -2
  21. package/dist/{useFormKeyboardNav-BsKFhycF.cjs.map → useFormKeyboardNav-BDVRfk3k.cjs.map} +1 -1
  22. package/dist/{useFormKeyboardNav-Cv8b6Vh3.js → useFormKeyboardNav-DQW9gHzu.js} +12 -17
  23. package/dist/{useFormKeyboardNav-Cv8b6Vh3.js.map → useFormKeyboardNav-DQW9gHzu.js.map} +1 -1
  24. package/package.json +1 -1
  25. package/dist/components-IFeCNSdg.js.map +0 -1
  26. package/dist/components-olkx_5ZP.cjs +0 -25
  27. package/dist/components-olkx_5ZP.cjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { _ as e, a as t, f as n, l as r, n as i, o as a, r as o, t as s } from "./useFormKeyboardNav-Cv8b6Vh3.js";
1
+ import { _ as e, a as t, f as n, l as r, n as i, o as a, r as o, t as s } from "./useFormKeyboardNav-DQW9gHzu.js";
2
2
  import { a as c, n as l, t as u } from "./routeTabs-D6m8PuP6.js";
3
3
  import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as _, createStaticVNode as v, createTextVNode as y, createVNode as b, defineComponent as x, guardReactiveProps as S, h as C, inject as w, isRef as T, mergeModels as E, mergeProps as D, nextTick as O, normalizeClass as k, normalizeProps as A, normalizeStyle as j, onBeforeUnmount as ee, onMounted as te, onScopeDispose as ne, openBlock as M, provide as N, reactive as re, readonly as ie, ref as P, renderList as F, renderSlot as I, resolveDirective as ae, shallowRef as oe, toDisplayString as L, toRef as se, unref as R, useModel as ce, useSlots as le, vModelText as ue, vShow as z, watch as B, withCtx as V, withDirectives as H, withKeys as U, withModifiers as W } from "vue";
4
4
  import de from "primevue/datatable";
@@ -735,6 +735,7 @@ var yt = { class: "w-fk-option" }, bt = { class: "w-fk-option__label" }, xt = {
735
735
  loading: k.value,
736
736
  "show-clear": !1,
737
737
  fluid: "",
738
+ "auto-option-focus": "",
738
739
  onComplete: Ee,
739
740
  onItemSelect: De,
740
741
  "onUpdate:modelValue": Oe,
@@ -2292,7 +2293,7 @@ var cn = { class: "w-crud-form" }, ln = {
2292
2293
  ref: o,
2293
2294
  class: "w-crud-form",
2294
2295
  onSubmit: W(c, ["prevent"]),
2295
- onKeydown: r[2] ||= (...e) => R(d) && R(d)(...e)
2296
+ onKeydownCapture: r[2] ||= (...e) => R(d) && R(d)(...e)
2296
2297
  }, [
2297
2298
  b(Nn, {
2298
2299
  ref_key: "rendererRef",
@@ -3319,46 +3320,63 @@ var Bn = { class: "w-crud" }, Vn = {
3319
3320
  ]);
3320
3321
  };
3321
3322
  }
3322
- }), Cr = { class: "w-editable-table" }, wr = {
3323
+ }), Cr = {
3323
3324
  key: 0,
3324
3325
  class: "w-editable-table__toolbar"
3325
- }, Tr = ["disabled"], Er = { class: "w-editable-table__table" }, Dr = {
3326
+ }, wr = ["disabled"], Tr = ["role"], Er = {
3326
3327
  key: 0,
3327
3328
  class: "w-editable-table__group-row"
3328
- }, Or = {
3329
+ }, Dr = {
3329
3330
  key: 0,
3330
3331
  class: "w-editable-table__toggle-col"
3331
- }, kr = ["colspan"], Ar = {
3332
+ }, Or = ["colspan"], kr = {
3332
3333
  key: 1,
3333
3334
  class: "w-editable-table__action-col"
3334
- }, jr = {
3335
+ }, Ar = {
3335
3336
  key: 0,
3336
3337
  class: "w-editable-table__toggle-col"
3337
- }, Mr = {
3338
+ }, jr = {
3338
3339
  key: 1,
3339
3340
  class: "w-editable-table__action-col"
3340
- }, Nr = { key: 0 }, Pr = ["colspan"], Fr = {
3341
+ }, Mr = { key: 0 }, Nr = ["colspan"], Pr = {
3341
3342
  key: 0,
3342
- class: "w-editable-table__toggle-col"
3343
- }, Ir = ["aria-expanded", "onClick"], Lr = {
3343
+ class: "w-editable-table__toggle-col",
3344
+ "data-card": "expander"
3345
+ }, Fr = [
3346
+ "aria-expanded",
3347
+ "aria-label",
3348
+ "onClick"
3349
+ ], Ir = {
3350
+ key: 0,
3351
+ class: "w-editable-table__toggle-label"
3352
+ }, Lr = ["data-card"], Rr = {
3353
+ key: 0,
3354
+ class: "w-editable-table__card-label"
3355
+ }, zr = {
3344
3356
  key: 3,
3345
3357
  class: "w-editable-table__text"
3346
- }, Rr = {
3358
+ }, Br = {
3347
3359
  key: 1,
3348
- class: "w-editable-table__action-col"
3349
- }, zr = ["onClick"], Br = {
3360
+ class: "w-editable-table__action-col",
3361
+ "data-card": "actions"
3362
+ }, Vr = ["onClick"], Hr = {
3350
3363
  key: 0,
3351
3364
  class: "w-editable-table__expansion"
3352
- }, Vr = ["colspan"], Hr = { key: 1 }, Ur = { class: "w-editable-table__footer" }, Wr = {
3365
+ }, Ur = ["colspan"], Wr = { key: 1 }, Gr = { class: "w-editable-table__footer" }, Kr = {
3353
3366
  key: 0,
3354
- class: "w-editable-table__toggle-col"
3355
- }, Gr = {
3367
+ class: "w-editable-table__toggle-col",
3368
+ "data-card": "hidden"
3369
+ }, qr = ["data-card"], Jr = {
3370
+ key: 0,
3371
+ class: "w-editable-table__card-label"
3372
+ }, Yr = {
3356
3373
  key: 0,
3357
3374
  class: "w-editable-table__footer-label"
3358
- }, Kr = { key: 1 }, qr = {
3375
+ }, Xr = { key: 1 }, Zr = {
3359
3376
  key: 1,
3360
- class: "w-editable-table__action-col"
3361
- }, Jr = /* @__PURE__ */ x({
3377
+ class: "w-editable-table__action-col",
3378
+ "data-card": "hidden"
3379
+ }, Qr = /* @__PURE__ */ x({
3362
3380
  __name: "WEditableTable",
3363
3381
  props: {
3364
3382
  modelValue: { default: () => [] },
@@ -3378,42 +3396,51 @@ var Bn = { class: "w-crud" }, Vn = {
3378
3396
  type: Boolean,
3379
3397
  default: !1
3380
3398
  },
3381
- rowKey: {}
3399
+ rowKey: {},
3400
+ cardMode: { default: "auto" },
3401
+ expansionLabel: { default: "Detalhes" }
3382
3402
  },
3383
3403
  emits: [
3384
3404
  "update:modelValue",
3385
3405
  "add",
3386
3406
  "remove"
3387
3407
  ],
3388
- setup(e, { emit: t }) {
3389
- let r = e, i = t, { formatNumber: a } = n(), o = P(/* @__PURE__ */ new Set());
3390
- function s(e) {
3391
- return o.value.has(e);
3408
+ setup(t, { emit: r }) {
3409
+ let i = t, a = r, { formatNumber: o } = n(), { isRetrato: s } = e(), c = f(() => i.cardMode === "always" || i.cardMode !== "never" && s.value), l = f(() => i.columns.find((e) => e.card === "title")?.field ?? i.columns[0]?.field);
3410
+ function u(e) {
3411
+ return e.card ? e.card : e.field === l.value ? "title" : "field";
3392
3412
  }
3393
- function c(e) {
3394
- let t = new Set(o.value);
3395
- t.has(e) ? t.delete(e) : t.add(e), o.value = t;
3413
+ function _(e) {
3414
+ return e.group ? `${e.group} · ${e.header}` : e.header;
3396
3415
  }
3397
- function l(e) {
3416
+ let v = P(/* @__PURE__ */ new Set());
3417
+ function b(e) {
3418
+ return v.value.has(e);
3419
+ }
3420
+ function x(e) {
3421
+ let t = new Set(v.value);
3422
+ t.has(e) ? t.delete(e) : t.add(e), v.value = t;
3423
+ }
3424
+ function S(e) {
3398
3425
  let t = e.options;
3399
3426
  return t ? T(t) ? t.value : t : [];
3400
3427
  }
3401
- function u(e) {
3428
+ function C(e) {
3402
3429
  return e.align ? e.align : e.editor === "number" ? "right" : "left";
3403
3430
  }
3404
- function _(e) {
3431
+ function w(e) {
3405
3432
  return e.editor === "number" || e.footer === "sum" || e.decimals != null;
3406
3433
  }
3407
- function v(e) {
3408
- return [`w-editable-table__cell--${u(e)}`, ..._(e) ? ["w-editable-table__cell--num"] : []];
3434
+ function E(e) {
3435
+ return [`w-editable-table__cell--${C(e)}`, ...w(e) ? ["w-editable-table__cell--num"] : []];
3409
3436
  }
3410
- function b(e) {
3411
- if (e.width != null) return { width: typeof e.width == "number" ? `${e.width}px` : e.width };
3437
+ function D(e) {
3438
+ if (!(c.value || e.width == null)) return { width: typeof e.width == "number" ? `${e.width}px` : e.width };
3412
3439
  }
3413
- function x(e, t, n) {
3414
- return r.disabled ? !0 : typeof e.disabled == "function" ? e.disabled(t, n) : !!e.disabled;
3440
+ function O(e, t, n) {
3441
+ return i.disabled ? !0 : typeof e.disabled == "function" ? e.disabled(t, n) : !!e.disabled;
3415
3442
  }
3416
- function S(e) {
3443
+ function A(e) {
3417
3444
  if (typeof e == "number") return Number.isFinite(e) ? e : 0;
3418
3445
  if (typeof e == "string" && e.trim()) {
3419
3446
  let t = Number(e.replace(/\./g, "").replace(",", "."));
@@ -3421,37 +3448,40 @@ var Bn = { class: "w-crud" }, Vn = {
3421
3448
  }
3422
3449
  return 0;
3423
3450
  }
3424
- function C(e, t) {
3451
+ function ee(e, t) {
3425
3452
  let n = t[e.field];
3426
- return e.format ? e.format(n, t) : n == null || n === "" ? "—" : _(e) ? `${a(S(n), e.decimals ?? 2)}${e.suffix ?? ""}` : `${String(n)}${e.suffix ?? ""}`;
3453
+ return e.format ? e.format(n, t) : n == null || n === "" ? "—" : w(e) ? `${o(A(n), e.decimals ?? 2)}${e.suffix ?? ""}` : `${String(n)}${e.suffix ?? ""}`;
3427
3454
  }
3428
- function w(e, t, n) {
3429
- let a = r.modelValue.map((r, i) => i === e ? {
3455
+ function te(e, t, n) {
3456
+ let r = i.modelValue.map((r, i) => i === e ? {
3430
3457
  ...r,
3431
3458
  [t]: n
3432
3459
  } : r);
3433
- i("update:modelValue", a);
3460
+ a("update:modelValue", r);
3434
3461
  }
3435
- function E(e, t) {
3436
- i("update:modelValue", r.modelValue.filter((e, n) => n !== t)), o.value = /* @__PURE__ */ new Set(), i("remove", e, t);
3462
+ function ne(e, t) {
3463
+ a("update:modelValue", i.modelValue.filter((e, n) => n !== t)), v.value = /* @__PURE__ */ new Set(), a("remove", e, t);
3437
3464
  }
3438
- function D(e, t) {
3439
- if (r.rowKey) {
3440
- let t = e[r.rowKey];
3465
+ function N(e, t) {
3466
+ if (i.rowKey) {
3467
+ let t = e[i.rowKey];
3441
3468
  if (typeof t == "string" || typeof t == "number") return t;
3442
3469
  }
3443
3470
  return t;
3444
3471
  }
3445
- let O = f(() => r.columns.some((e) => typeof e.footer == "function" || e.footer === "sum"));
3446
- function A(e) {
3447
- if (typeof e.footer == "function") return e.footer(r.modelValue);
3472
+ let re = f(() => i.columns.some((e) => typeof e.footer == "function" || e.footer === "sum"));
3473
+ function ie(e) {
3474
+ if (typeof e.footer == "function") return e.footer(i.modelValue);
3448
3475
  if (e.footer !== "sum") return "";
3449
- let t = r.modelValue.reduce((t, n) => t + S(n[e.field]), 0);
3450
- return `${a(t, e.decimals ?? 2)}${e.suffix ?? ""}`;
3476
+ let t = i.modelValue.reduce((t, n) => t + A(n[e.field]), 0);
3477
+ return `${o(t, e.decimals ?? 2)}${e.suffix ?? ""}`;
3478
+ }
3479
+ function ae(e) {
3480
+ return typeof e.footer == "function" || e.footer === "sum";
3451
3481
  }
3452
- let ee = f(() => r.columns.find((e) => !e.footer || e.footer === "none")?.field ?? null), te = f(() => r.columns.length + +!!r.expandable + +!!r.removable), ne = f(() => r.columns.some((e) => e.group)), N = f(() => {
3482
+ let oe = f(() => i.columns.find((e) => !e.footer || e.footer === "none")?.field ?? null), se = f(() => i.columns.length + +!!i.expandable + +!!i.removable), ce = f(() => i.columns.some((e) => e.group)), le = f(() => {
3453
3483
  let e = [];
3454
- for (let t of r.columns) {
3484
+ for (let t of i.columns) {
3455
3485
  let n = t.group ?? "", r = e[e.length - 1];
3456
3486
  r && n && r.label === n ? r.span += 1 : e.push({
3457
3487
  label: n,
@@ -3461,65 +3491,70 @@ var Bn = { class: "w-crud" }, Vn = {
3461
3491
  }
3462
3492
  return e;
3463
3493
  });
3464
- return (t, n) => (M(), h("div", Cr, [t.$slots.toolbar || t.$slots["toolbar-extra"] || e.addLabel ? (M(), h("div", wr, [I(t.$slots, "toolbar", {}, () => [e.addLabel ? (M(), h("button", {
3494
+ return (e, n) => (M(), h("div", { class: k(["w-editable-table", { "w-editable-table--cards": c.value }]) }, [e.$slots.toolbar || e.$slots["toolbar-extra"] || t.addLabel ? (M(), h("div", Cr, [I(e.$slots, "toolbar", {}, () => [t.addLabel ? (M(), h("button", {
3465
3495
  key: 0,
3466
3496
  type: "button",
3467
3497
  class: "w-editable-table__add",
3468
- disabled: e.disabled,
3469
- onClick: n[0] ||= (e) => i("add")
3470
- }, [n[1] ||= g("i", { class: "pi pi-plus" }, null, -1), y(L(e.addLabel), 1)], 8, Tr)) : m("", !0)]), I(t.$slots, "toolbar-extra")])) : m("", !0), g("table", Er, [
3471
- g("thead", null, [ne.value ? (M(), h("tr", Dr, [
3472
- e.expandable ? (M(), h("th", Or)) : m("", !0),
3473
- (M(!0), h(d, null, F(N.value, (e) => (M(), h("th", {
3498
+ disabled: t.disabled,
3499
+ onClick: n[0] ||= (e) => a("add")
3500
+ }, [n[1] ||= g("i", { class: "pi pi-plus" }, null, -1), y(L(t.addLabel), 1)], 8, wr)) : m("", !0)]), I(e.$slots, "toolbar-extra")])) : m("", !0), g("table", {
3501
+ class: "w-editable-table__table",
3502
+ role: c.value ? "presentation" : void 0
3503
+ }, [
3504
+ g("thead", null, [ce.value ? (M(), h("tr", Er, [
3505
+ t.expandable ? (M(), h("th", Dr)) : m("", !0),
3506
+ (M(!0), h(d, null, F(le.value, (e) => (M(), h("th", {
3474
3507
  key: e.key,
3475
3508
  colspan: e.span,
3476
3509
  class: k(["w-editable-table__group", { "w-editable-table__group--label": e.label }])
3477
- }, L(e.label), 11, kr))), 128)),
3478
- e.removable ? (M(), h("th", Ar)) : m("", !0)
3510
+ }, L(e.label), 11, Or))), 128)),
3511
+ t.removable ? (M(), h("th", kr)) : m("", !0)
3479
3512
  ])) : m("", !0), g("tr", null, [
3480
- e.expandable ? (M(), h("th", jr)) : m("", !0),
3481
- (M(!0), h(d, null, F(e.columns, (e) => (M(), h("th", {
3513
+ t.expandable ? (M(), h("th", Ar)) : m("", !0),
3514
+ (M(!0), h(d, null, F(t.columns, (e) => (M(), h("th", {
3482
3515
  key: e.field,
3483
- class: k(v(e)),
3484
- style: j(b(e))
3516
+ class: k(E(e)),
3517
+ style: j(D(e))
3485
3518
  }, L(e.header), 7))), 128)),
3486
- e.removable ? (M(), h("th", Mr)) : m("", !0)
3519
+ t.removable ? (M(), h("th", jr)) : m("", !0)
3487
3520
  ])]),
3488
- e.modelValue.length ? m("", !0) : (M(), h("tbody", Nr, [g("tr", null, [g("td", {
3489
- colspan: te.value,
3490
- class: "w-editable-table__empty"
3491
- }, [I(t.$slots, "empty", {}, () => [y(L(e.emptyMessage), 1)])], 8, Pr)])])),
3492
- (M(!0), h(d, null, F(e.modelValue, (r, i) => (M(), h("tbody", { key: D(r, i) }, [g("tr", { class: k(["w-editable-table__row", { "w-editable-table__row--alt": i % 2 == 1 }]) }, [
3493
- e.expandable ? (M(), h("td", Fr, [g("button", {
3521
+ t.modelValue.length ? m("", !0) : (M(), h("tbody", Mr, [g("tr", null, [g("td", {
3522
+ colspan: se.value,
3523
+ class: "w-editable-table__empty",
3524
+ "data-card": "expansion"
3525
+ }, [I(e.$slots, "empty", {}, () => [y(L(t.emptyMessage), 1)])], 8, Nr)])])),
3526
+ (M(!0), h(d, null, F(t.modelValue, (r, i) => (M(), h("tbody", { key: N(r, i) }, [g("tr", { class: k(["w-editable-table__row", { "w-editable-table__row--alt": i % 2 == 1 }]) }, [
3527
+ t.expandable ? (M(), h("td", Pr, [g("button", {
3494
3528
  type: "button",
3495
3529
  class: "w-editable-table__toggle",
3496
- "aria-expanded": s(i),
3497
- "aria-label": "Detalhes da linha",
3498
- onClick: (e) => c(i)
3499
- }, [g("i", { class: k(s(i) ? "pi pi-chevron-down" : "pi pi-chevron-right") }, null, 2)], 8, Ir)])) : m("", !0),
3500
- (M(!0), h(d, null, F(e.columns, (e) => (M(), h("td", {
3501
- key: e.field,
3502
- class: k(v(e)),
3503
- style: j(b(e))
3504
- }, [I(t.$slots, `cell-${e.field}`, {
3530
+ "aria-expanded": b(i),
3531
+ "aria-label": t.expansionLabel,
3532
+ onClick: (e) => x(i)
3533
+ }, [g("i", { class: k(b(i) ? "pi pi-chevron-down" : "pi pi-chevron-right") }, null, 2), c.value ? (M(), h("span", Ir, L(t.expansionLabel), 1)) : m("", !0)], 8, Fr)])) : m("", !0),
3534
+ (M(!0), h(d, null, F(t.columns, (t) => (M(), h("td", {
3535
+ key: t.field,
3536
+ class: k(E(t)),
3537
+ style: j(D(t)),
3538
+ "data-card": u(t)
3539
+ }, [c.value ? (M(), h("span", Rr, L(_(t)), 1)) : m("", !0), I(e.$slots, `cell-${t.field}`, {
3505
3540
  row: r,
3506
3541
  index: i,
3507
- value: r[e.field],
3508
- column: e
3509
- }, () => [e.editor === "number" ? (M(), p(R(fe), {
3542
+ value: r[t.field],
3543
+ column: t
3544
+ }, () => [t.editor === "number" ? (M(), p(R(fe), {
3510
3545
  key: 0,
3511
- "model-value": r[e.field],
3546
+ "model-value": r[t.field],
3512
3547
  fluid: "",
3513
3548
  locale: "pt-BR",
3514
- min: e.min,
3515
- max: e.max,
3516
- "min-fraction-digits": e.decimals == null ? void 0 : e.decimals,
3517
- "max-fraction-digits": e.decimals == null ? void 0 : e.decimals,
3518
- suffix: e.suffix,
3519
- placeholder: e.placeholder,
3520
- disabled: x(e, r, i),
3549
+ min: t.min,
3550
+ max: t.max,
3551
+ "min-fraction-digits": t.decimals == null ? void 0 : t.decimals,
3552
+ "max-fraction-digits": t.decimals == null ? void 0 : t.decimals,
3553
+ suffix: t.suffix,
3554
+ placeholder: t.placeholder,
3555
+ disabled: O(t, r, i),
3521
3556
  "input-class": "w-editable-table__num",
3522
- "onUpdate:modelValue": (t) => w(i, e.field, t)
3557
+ "onUpdate:modelValue": (e) => te(i, t.field, e)
3523
3558
  }, null, 8, [
3524
3559
  "model-value",
3525
3560
  "min",
@@ -3530,28 +3565,28 @@ var Bn = { class: "w-crud" }, Vn = {
3530
3565
  "placeholder",
3531
3566
  "disabled",
3532
3567
  "onUpdate:modelValue"
3533
- ])) : e.editor === "text" ? (M(), p(R(q), {
3568
+ ])) : t.editor === "text" ? (M(), p(R(q), {
3534
3569
  key: 1,
3535
- "model-value": r[e.field],
3570
+ "model-value": r[t.field],
3536
3571
  fluid: "",
3537
- placeholder: e.placeholder,
3538
- disabled: x(e, r, i),
3539
- "onUpdate:modelValue": (t) => w(i, e.field, t)
3572
+ placeholder: t.placeholder,
3573
+ disabled: O(t, r, i),
3574
+ "onUpdate:modelValue": (e) => te(i, t.field, e)
3540
3575
  }, null, 8, [
3541
3576
  "model-value",
3542
3577
  "placeholder",
3543
3578
  "disabled",
3544
3579
  "onUpdate:modelValue"
3545
- ])) : e.editor === "select" ? (M(), p(R(J), {
3580
+ ])) : t.editor === "select" ? (M(), p(R(J), {
3546
3581
  key: 2,
3547
- "model-value": r[e.field],
3582
+ "model-value": r[t.field],
3548
3583
  fluid: "",
3549
- options: l(e),
3550
- "option-label": e.optionLabel || "label",
3551
- "option-value": e.optionValue || "value",
3552
- placeholder: e.placeholder,
3553
- disabled: x(e, r, i),
3554
- "onUpdate:modelValue": (t) => w(i, e.field, t)
3584
+ options: S(t),
3585
+ "option-label": t.optionLabel || "label",
3586
+ "option-value": t.optionValue || "value",
3587
+ placeholder: t.placeholder,
3588
+ disabled: O(t, r, i),
3589
+ "onUpdate:modelValue": (e) => te(i, t.field, e)
3555
3590
  }, null, 8, [
3556
3591
  "model-value",
3557
3592
  "options",
@@ -3560,47 +3595,51 @@ var Bn = { class: "w-crud" }, Vn = {
3560
3595
  "placeholder",
3561
3596
  "disabled",
3562
3597
  "onUpdate:modelValue"
3563
- ])) : (M(), h("span", Lr, L(C(e, r)), 1))])], 6))), 128)),
3564
- e.removable ? (M(), h("td", Rr, [g("button", {
3598
+ ])) : (M(), h("span", zr, L(ee(t, r)), 1))])], 14, Lr))), 128)),
3599
+ t.removable ? (M(), h("td", Br, [g("button", {
3565
3600
  type: "button",
3566
3601
  class: "w-editable-table__remove",
3567
3602
  "aria-label": "Remover linha",
3568
- onClick: (e) => E(r, i)
3569
- }, [...n[2] ||= [g("i", { class: "pi pi-trash" }, null, -1)]], 8, zr)])) : m("", !0)
3570
- ], 2), e.expandable && s(i) ? (M(), h("tr", Br, [g("td", { colspan: te.value }, [I(t.$slots, "expansion", {
3603
+ onClick: (e) => ne(r, i)
3604
+ }, [...n[2] ||= [g("i", { class: "pi pi-trash" }, null, -1)]], 8, Vr)])) : m("", !0)
3605
+ ], 2), t.expandable && b(i) ? (M(), h("tr", Hr, [g("td", {
3606
+ colspan: se.value,
3607
+ "data-card": "expansion"
3608
+ }, [I(e.$slots, "expansion", {
3571
3609
  row: r,
3572
3610
  index: i
3573
- })], 8, Vr)])) : m("", !0)]))), 128)),
3574
- O.value ? (M(), h("tfoot", Hr, [g("tr", Ur, [
3575
- e.expandable ? (M(), h("td", Wr)) : m("", !0),
3576
- (M(!0), h(d, null, F(e.columns, (n) => (M(), h("td", {
3611
+ })], 8, Ur)])) : m("", !0)]))), 128)),
3612
+ re.value ? (M(), h("tfoot", Wr, [g("tr", Gr, [
3613
+ t.expandable ? (M(), h("td", Kr)) : m("", !0),
3614
+ (M(!0), h(d, null, F(t.columns, (n) => (M(), h("td", {
3577
3615
  key: n.field,
3578
- class: k(v(n)),
3579
- style: j(b(n))
3580
- }, [I(t.$slots, `footer-${n.field}`, {
3581
- rows: e.modelValue,
3616
+ class: k(E(n)),
3617
+ style: j(D(n)),
3618
+ "data-card": n.field === oe.value ? "total-label" : ae(n) ? "read" : "hidden"
3619
+ }, [c.value && ae(n) ? (M(), h("span", Jr, L(_(n)), 1)) : m("", !0), I(e.$slots, `footer-${n.field}`, {
3620
+ rows: t.modelValue,
3582
3621
  column: n
3583
- }, () => [n.field === ee.value ? (M(), h("span", Gr, L(e.footerLabel), 1)) : (M(), h("span", Kr, L(A(n)), 1))])], 6))), 128)),
3584
- e.removable ? (M(), h("td", qr)) : m("", !0)
3622
+ }, () => [n.field === oe.value ? (M(), h("span", Yr, L(t.footerLabel), 1)) : (M(), h("span", Xr, L(ie(n)), 1))])], 14, qr))), 128)),
3623
+ t.removable ? (M(), h("td", Zr)) : m("", !0)
3585
3624
  ])])) : m("", !0)
3586
- ])]));
3625
+ ], 8, Tr)], 2));
3587
3626
  }
3588
- }), Yr = { class: "w-crud-subview" }, Xr = {
3627
+ }), $r = { class: "w-crud-subview" }, ei = {
3589
3628
  key: 0,
3590
3629
  class: "w-crud-subview__header"
3591
- }, Zr = { class: "w-crud-subview__heading" }, Qr = {
3630
+ }, ti = { class: "w-crud-subview__heading" }, ni = {
3592
3631
  key: 0,
3593
3632
  class: "w-crud-subview__title"
3594
- }, $r = {
3633
+ }, ri = {
3595
3634
  key: 0,
3596
3635
  class: "w-crud-subview__count"
3597
- }, ei = {
3636
+ }, ii = {
3598
3637
  key: 1,
3599
3638
  class: "w-crud-subview__subtitle"
3600
- }, ti = {
3639
+ }, ai = {
3601
3640
  key: 0,
3602
3641
  class: "w-crud-subview__actions"
3603
- }, ni = { class: "w-crud-subview__row-actions" }, ri = ["onClick"], ii = ["onClick"], ai = "__acoes", oi = /* @__PURE__ */ x({
3642
+ }, oi = { class: "w-crud-subview__row-actions" }, si = ["onClick"], ci = ["onClick"], li = "__acoes", ui = /* @__PURE__ */ x({
3604
3643
  __name: "WCrudSubview",
3605
3644
  props: {
3606
3645
  crud: {},
@@ -3620,21 +3659,24 @@ var Bn = { class: "w-crud" }, Vn = {
3620
3659
  dialogWidth: { default: "520px" },
3621
3660
  formColumns: {},
3622
3661
  footerLabel: {},
3623
- rowKey: {}
3662
+ rowKey: {},
3663
+ cardMode: {},
3664
+ expansionLabel: {}
3624
3665
  },
3625
3666
  setup(e) {
3626
3667
  let t = e, n = le(), r = f(() => t.crud.items.value), i = f(() => t.crud.config.canCreate !== !1 && !t.disabled), a = f(() => t.crud.config.canEdit !== !1 && !t.disabled), o = f(() => t.crud.config.canDelete !== !1 && !t.disabled), s = f(() => a.value || o.value), c = f(() => s.value ? [...t.columns, {
3627
- field: ai,
3668
+ field: li,
3628
3669
  header: "",
3629
3670
  width: "5rem",
3630
- align: "right"
3631
- }] : t.columns), l = f(() => Object.keys(n).filter((e) => e.startsWith("cell-") && e !== `cell-${ai}`)), u = f(() => Object.keys(n).filter((e) => e.startsWith("field-") || e.startsWith("image-")));
3671
+ align: "right",
3672
+ card: "actions"
3673
+ }] : t.columns), l = f(() => Object.keys(n).filter((e) => e.startsWith("cell-") && e !== `cell-${li}`)), u = f(() => Object.keys(n).filter((e) => e.startsWith("field-") || e.startsWith("image-")));
3632
3674
  function d(e) {
3633
3675
  t.crud.config.onChange(e);
3634
3676
  }
3635
- return (t, n) => (M(), h("div", Yr, [
3636
- e.title || t.$slots["toolbar-actions"] ? (M(), h("div", Xr, [g("div", Zr, [e.title ? (M(), h("h3", Qr, [y(L(e.title) + " ", 1), r.value.length ? (M(), h("span", $r, L(r.value.length), 1)) : m("", !0)])) : m("", !0), e.subtitle ? (M(), h("p", ei, L(e.subtitle), 1)) : m("", !0)]), t.$slots["toolbar-actions"] ? (M(), h("div", ti, [I(t.$slots, "toolbar-actions")])) : m("", !0)])) : m("", !0),
3637
- b(Jr, {
3677
+ return (t, n) => (M(), h("div", $r, [
3678
+ e.title || t.$slots["toolbar-actions"] ? (M(), h("div", ei, [g("div", ti, [e.title ? (M(), h("h3", ni, [y(L(e.title) + " ", 1), r.value.length ? (M(), h("span", ri, L(r.value.length), 1)) : m("", !0)])) : m("", !0), e.subtitle ? (M(), h("p", ii, L(e.subtitle), 1)) : m("", !0)]), t.$slots["toolbar-actions"] ? (M(), h("div", ai, [I(t.$slots, "toolbar-actions")])) : m("", !0)])) : m("", !0),
3679
+ b(Qr, {
3638
3680
  "model-value": r.value,
3639
3681
  columns: c.value,
3640
3682
  expandable: e.expandable,
@@ -3643,22 +3685,24 @@ var Bn = { class: "w-crud" }, Vn = {
3643
3685
  "empty-message": e.emptyMessage ?? e.crud.labels.emptyMessage,
3644
3686
  "footer-label": e.footerLabel,
3645
3687
  "row-key": e.rowKey,
3688
+ "card-mode": e.cardMode,
3689
+ "expansion-label": e.expansionLabel,
3646
3690
  "onUpdate:modelValue": d,
3647
3691
  onAdd: n[0] ||= (t) => e.crud.openCreateDialog()
3648
3692
  }, _({
3649
- [`cell-${ai}`]: V(({ row: t, index: r }) => [g("div", ni, [a.value ? (M(), h("button", {
3693
+ [`cell-${li}`]: V(({ row: t, index: r }) => [g("div", oi, [a.value ? (M(), h("button", {
3650
3694
  key: 0,
3651
3695
  type: "button",
3652
3696
  class: "w-crud-subview__action",
3653
3697
  "aria-label": "Editar",
3654
3698
  onClick: (n) => e.crud.openEditDialog(t, r)
3655
- }, [...n[3] ||= [g("i", { class: "pi pi-pencil" }, null, -1)]], 8, ri)) : m("", !0), o.value ? (M(), h("button", {
3699
+ }, [...n[3] ||= [g("i", { class: "pi pi-pencil" }, null, -1)]], 8, si)) : m("", !0), o.value ? (M(), h("button", {
3656
3700
  key: 1,
3657
3701
  type: "button",
3658
3702
  class: "w-crud-subview__action w-crud-subview__action--danger",
3659
3703
  "aria-label": "Excluir",
3660
3704
  onClick: (n) => e.crud.confirmDelete(t, r)
3661
- }, [...n[4] ||= [g("i", { class: "pi pi-trash" }, null, -1)]], 8, ii)) : m("", !0)])]),
3705
+ }, [...n[4] ||= [g("i", { class: "pi pi-trash" }, null, -1)]], 8, ci)) : m("", !0)])]),
3662
3706
  _: 2
3663
3707
  }, [
3664
3708
  t.$slots["toolbar-extra"] ? {
@@ -3688,7 +3732,9 @@ var Bn = { class: "w-crud" }, Vn = {
3688
3732
  "add-label",
3689
3733
  "empty-message",
3690
3734
  "footer-label",
3691
- "row-key"
3735
+ "row-key",
3736
+ "card-mode",
3737
+ "expansion-label"
3692
3738
  ]),
3693
3739
  b(Fn, {
3694
3740
  visible: e.crud.dialogVisible.value,
@@ -3732,7 +3778,7 @@ var Bn = { class: "w-crud" }, Vn = {
3732
3778
  ])
3733
3779
  ]));
3734
3780
  }
3735
- }), si = /* @__PURE__ */ x({
3781
+ }), di = /* @__PURE__ */ x({
3736
3782
  __name: "WDateRange",
3737
3783
  props: {
3738
3784
  modelValue: { default: null },
@@ -3774,14 +3820,14 @@ var Bn = { class: "w-crud" }, Vn = {
3774
3820
  "disabled"
3775
3821
  ]));
3776
3822
  }
3777
- }), ci = {
3823
+ }), fi = {
3778
3824
  class: "w-fileupload",
3779
3825
  style: {
3780
3826
  display: "flex",
3781
3827
  "flex-direction": "column",
3782
3828
  gap: "0.5rem"
3783
3829
  }
3784
- }, li = ["accept", "multiple"], ui = {
3830
+ }, pi = ["accept", "multiple"], mi = {
3785
3831
  key: 0,
3786
3832
  style: {
3787
3833
  "list-style": "none",
@@ -3791,12 +3837,12 @@ var Bn = { class: "w-crud" }, Vn = {
3791
3837
  "flex-direction": "column",
3792
3838
  gap: "0.35rem"
3793
3839
  }
3794
- }, di = { style: {
3840
+ }, hi = { style: {
3795
3841
  flex: "1",
3796
3842
  overflow: "hidden",
3797
3843
  "text-overflow": "ellipsis",
3798
3844
  "white-space": "nowrap"
3799
- } }, fi = { style: { opacity: "0.6" } }, pi = /* @__PURE__ */ x({
3845
+ } }, gi = { style: { opacity: "0.6" } }, _i = /* @__PURE__ */ x({
3800
3846
  __name: "WFileUpload",
3801
3847
  props: {
3802
3848
  modelValue: { default: null },
@@ -3845,7 +3891,7 @@ var Bn = { class: "w-crud" }, Vn = {
3845
3891
  function l(e) {
3846
3892
  return e < 1024 ? `${e} B` : e < 1048576 ? `${(e / 1024).toFixed(0)} KB` : `${(e / 1048576).toFixed(1)} MB`;
3847
3893
  }
3848
- return (t, n) => (M(), h("div", ci, [
3894
+ return (t, n) => (M(), h("div", fi, [
3849
3895
  g("div", null, [b(R(K), {
3850
3896
  type: "button",
3851
3897
  label: e.chooseLabel,
@@ -3863,8 +3909,8 @@ var Bn = { class: "w-crud" }, Vn = {
3863
3909
  multiple: e.multiple,
3864
3910
  style: { display: "none" },
3865
3911
  onChange: s
3866
- }, null, 40, li),
3867
- a.value.length ? (M(), h("ul", ui, [(M(!0), h(d, null, F(a.value, (t, r) => (M(), h("li", {
3912
+ }, null, 40, pi),
3913
+ a.value.length ? (M(), h("ul", mi, [(M(!0), h(d, null, F(a.value, (t, r) => (M(), h("li", {
3868
3914
  key: `${t.name}-${r}`,
3869
3915
  style: {
3870
3916
  display: "flex",
@@ -3877,8 +3923,8 @@ var Bn = { class: "w-crud" }, Vn = {
3877
3923
  class: "pi pi-file",
3878
3924
  style: { opacity: "0.6" }
3879
3925
  }, null, -1),
3880
- g("span", di, L(t.name), 1),
3881
- g("span", fi, L(l(t.size)), 1),
3926
+ g("span", hi, L(t.name), 1),
3927
+ g("span", gi, L(l(t.size)), 1),
3882
3928
  b(R(K), {
3883
3929
  type: "button",
3884
3930
  icon: "pi pi-times",
@@ -3896,10 +3942,10 @@ var Bn = { class: "w-crud" }, Vn = {
3896
3942
  ]));
3897
3943
  }
3898
3944
  });
3899
- function mi(e) {
3945
+ function vi(e) {
3900
3946
  return String(e ?? "").normalize("NFD").replace(/\p{Diacritic}/gu, "").toLocaleLowerCase();
3901
3947
  }
3902
- function hi(e, { optionValue: t = "id", optionLabel: n = "nome", groupBy: r, groupLabel: i } = {}) {
3948
+ function yi(e, { optionValue: t = "id", optionLabel: n = "nome", groupBy: r, groupLabel: i } = {}) {
3903
3949
  let a = [], o = /* @__PURE__ */ new Map();
3904
3950
  for (let s of e ?? []) {
3905
3951
  let e = s[t];
@@ -3925,19 +3971,19 @@ function hi(e, { optionValue: t = "id", optionLabel: n = "nome", groupBy: r, gro
3925
3971
  }
3926
3972
  return a;
3927
3973
  }
3928
- function gi(e) {
3929
- return e.children?.length ? e.children.flatMap(gi) : e.value === void 0 ? [] : [e.value];
3974
+ function bi(e) {
3975
+ return e.children?.length ? e.children.flatMap(bi) : e.value === void 0 ? [] : [e.value];
3930
3976
  }
3931
- function _i(e) {
3932
- return e.flatMap(gi);
3977
+ function xi(e) {
3978
+ return e.flatMap(bi);
3933
3979
  }
3934
- function vi(e) {
3980
+ function Si(e) {
3935
3981
  let t = /* @__PURE__ */ new Map(), n = (e) => {
3936
3982
  t.set(e.key, e), e.children?.forEach(n);
3937
3983
  };
3938
3984
  return e.forEach(n), t;
3939
3985
  }
3940
- function yi(e, t) {
3986
+ function Ci(e, t) {
3941
3987
  let n = new Set(t ?? []), r = {}, i = (e) => {
3942
3988
  if (!e.children?.length) {
3943
3989
  let t = e.value !== void 0 && n.has(e.value);
@@ -3967,10 +4013,10 @@ function yi(e, t) {
3967
4013
  };
3968
4014
  return e.forEach(i), r;
3969
4015
  }
3970
- function bi(e, t, n = []) {
3971
- let r = mi(t).trim();
4016
+ function wi(e, t, n = []) {
4017
+ let r = vi(t).trim();
3972
4018
  if (!r) return [...e];
3973
- let i = (e) => mi(e.label).includes(r) ? !0 : n.some((t) => mi(e.data?.[t]).includes(r)), a = [];
4019
+ let i = (e) => vi(e.label).includes(r) ? !0 : n.some((t) => vi(e.data?.[t]).includes(r)), a = [];
3974
4020
  for (let r of e) {
3975
4021
  if (!r.children?.length) {
3976
4022
  i(r) && a.push(r);
@@ -3980,7 +4026,7 @@ function bi(e, t, n = []) {
3980
4026
  a.push(r);
3981
4027
  continue;
3982
4028
  }
3983
- let e = bi(r.children, t, n);
4029
+ let e = wi(r.children, t, n);
3984
4030
  e.length && a.push({
3985
4031
  ...r,
3986
4032
  children: e
@@ -3988,7 +4034,7 @@ function bi(e, t, n = []) {
3988
4034
  }
3989
4035
  return a;
3990
4036
  }
3991
- function xi(e, t, n) {
4037
+ function Ti(e, t, n) {
3992
4038
  let r = new Set(t);
3993
4039
  if (!n) return (e ?? []).filter((e) => !r.has(e));
3994
4040
  let i = [...e ?? []], a = new Set(i);
@@ -3997,19 +4043,19 @@ function xi(e, t, n) {
3997
4043
  }
3998
4044
  //#endregion
3999
4045
  //#region src/components/form/WTreeSelect.vue?vue&type=script&setup=true&lang.ts
4000
- var Si = {
4046
+ var Ei = {
4001
4047
  key: 0,
4002
4048
  class: "w-tree-select__head"
4003
- }, Ci = {
4049
+ }, Di = {
4004
4050
  key: 0,
4005
4051
  class: "w-tree-select__count"
4006
- }, wi = { key: 1 }, Ti = {
4052
+ }, Oi = { key: 1 }, ki = {
4007
4053
  key: 2,
4008
4054
  class: "w-tree-select__actions"
4009
- }, Ei = {
4055
+ }, Ai = {
4010
4056
  key: 2,
4011
4057
  class: "w-tree-select__empty"
4012
- }, Di = /* @__PURE__ */ x({
4058
+ }, ji = /* @__PURE__ */ x({
4013
4059
  __name: "WTreeSelect",
4014
4060
  props: {
4015
4061
  modelValue: { default: () => [] },
@@ -4050,13 +4096,13 @@ var Si = {
4050
4096
  },
4051
4097
  emits: ["update:modelValue"],
4052
4098
  setup(e, { emit: t }) {
4053
- let n = e, r = t, i = P(""), a = P({}), o = f(() => hi(n.options, {
4099
+ let n = e, r = t, i = P(""), a = P({}), o = f(() => yi(n.options, {
4054
4100
  optionValue: n.optionValue,
4055
4101
  optionLabel: n.optionLabel,
4056
4102
  groupBy: n.groupBy,
4057
4103
  groupLabel: n.groupLabel
4058
- })), s = f(() => vi(o.value)), c = f(() => n.filter && i.value.trim().length > 0), l = f(() => c.value ? bi(o.value, i.value, n.filterFields) : o.value), u = f(() => yi(o.value, n.modelValue)), d = f(() => _i(o.value).length), g = f(() => {
4059
- let e = new Set(_i(o.value));
4104
+ })), s = f(() => Si(o.value)), c = f(() => n.filter && i.value.trim().length > 0), l = f(() => c.value ? wi(o.value, i.value, n.filterFields) : o.value), u = f(() => Ci(o.value, n.modelValue)), d = f(() => xi(o.value).length), g = f(() => {
4105
+ let e = new Set(xi(o.value));
4060
4106
  return n.modelValue.filter((t) => e.has(t)).length;
4061
4107
  }), _ = f(() => (n.showCount || n.showToggleAll) && (d.value > 0 || n.loading)), v = f(() => !n.loading && l.value.length === 0), x = f(() => c.value ? n.filterEmptyMessage : n.emptyMessage);
4062
4108
  function S(e) {
@@ -4075,10 +4121,10 @@ var Si = {
4075
4121
  function w(e, t) {
4076
4122
  if (n.disabled) return;
4077
4123
  let i = s.value.get(e.key);
4078
- i && r("update:modelValue", xi(n.modelValue, gi(i), t));
4124
+ i && r("update:modelValue", Ti(n.modelValue, bi(i), t));
4079
4125
  }
4080
4126
  function T() {
4081
- n.disabled || r("update:modelValue", _i(o.value));
4127
+ n.disabled || r("update:modelValue", xi(o.value));
4082
4128
  }
4083
4129
  function E() {
4084
4130
  n.disabled || r("update:modelValue", []);
@@ -4087,7 +4133,7 @@ var Si = {
4087
4133
  I(t.$slots, "header", {
4088
4134
  selectedCount: g.value,
4089
4135
  total: d.value
4090
- }, () => [_.value ? (M(), h("div", Si, [e.showCount ? (M(), h("span", Ci, L(g.value) + " de " + L(d.value) + " selecionados ", 1)) : (M(), h("span", wi)), e.showToggleAll ? (M(), h("div", Ti, [b(R(K), {
4136
+ }, () => [_.value ? (M(), h("div", Ei, [e.showCount ? (M(), h("span", Di, L(g.value) + " de " + L(d.value) + " selecionados ", 1)) : (M(), h("span", Oi)), e.showToggleAll ? (M(), h("div", ki, [b(R(K), {
4091
4137
  type: "button",
4092
4138
  label: "Marcar todos",
4093
4139
  text: "",
@@ -4124,7 +4170,7 @@ var Si = {
4124
4170
  ])]),
4125
4171
  _: 1
4126
4172
  })) : m("", !0),
4127
- v.value ? (M(), h("div", Ei, [I(t.$slots, "empty", { filtering: c.value }, () => [y(L(x.value), 1)])])) : (M(), p(R(Ae), {
4173
+ v.value ? (M(), h("div", Ai, [I(t.$slots, "empty", { filtering: c.value }, () => [y(L(x.value), 1)])])) : (M(), p(R(Ae), {
4128
4174
  key: 1,
4129
4175
  value: l.value,
4130
4176
  "selection-mode": "checkbox",
@@ -4148,9 +4194,9 @@ var Si = {
4148
4194
  ]))
4149
4195
  ], 2));
4150
4196
  }
4151
- }), Oi = null;
4152
- function ki() {
4153
- return Oi ||= Promise.all([
4197
+ }), Mi = null;
4198
+ function Ni() {
4199
+ return Mi ||= Promise.all([
4154
4200
  import("echarts/core"),
4155
4201
  import("echarts/charts"),
4156
4202
  import("echarts/components"),
@@ -4166,11 +4212,11 @@ function ki() {
4166
4212
  n.TooltipComponent,
4167
4213
  r.CanvasRenderer,
4168
4214
  r.SVGRenderer
4169
- ]), e)).catch(() => (Oi = null, null)), Oi;
4215
+ ]), e)).catch(() => (Mi = null, null)), Mi;
4170
4216
  }
4171
- var Ai = (e, t = "") => typeof window > "u" ? t : getComputedStyle(document.documentElement).getPropertyValue(e).trim() || t;
4172
- function ji() {
4173
- let e = Ai("--fg"), t = Ai("--fg-muted"), n = Ai("--border"), r = Ai("--surface"), i = Ai("--font-sans", "sans-serif"), a = {
4217
+ var Pi = (e, t = "") => typeof window > "u" ? t : getComputedStyle(document.documentElement).getPropertyValue(e).trim() || t;
4218
+ function Fi() {
4219
+ let e = Pi("--fg"), t = Pi("--fg-muted"), n = Pi("--border"), r = Pi("--surface"), i = Pi("--font-sans", "sans-serif"), a = {
4174
4220
  axisLine: { lineStyle: { color: n } },
4175
4221
  axisTick: { show: !1 },
4176
4222
  axisLabel: { color: t },
@@ -4185,7 +4231,7 @@ function ji() {
4185
4231
  4,
4186
4232
  5,
4187
4233
  6
4188
- ].map((e) => Ai(`--viz-${e}`)),
4234
+ ].map((e) => Pi(`--viz-${e}`)),
4189
4235
  backgroundColor: "transparent",
4190
4236
  textStyle: {
4191
4237
  color: e,
@@ -4235,7 +4281,7 @@ function ji() {
4235
4281
  ] } }
4236
4282
  };
4237
4283
  }
4238
- function Mi() {
4284
+ function Ii() {
4239
4285
  let e = [
4240
4286
  "#141a22",
4241
4287
  "#5a6573",
@@ -4288,16 +4334,16 @@ function Mi() {
4288
4334
  bar: { itemStyle: { borderRadius: 0 } }
4289
4335
  };
4290
4336
  }
4291
- function Ni() {
4337
+ function Li() {
4292
4338
  return {
4293
4339
  text: "",
4294
- color: Ai("--primary"),
4340
+ color: Pi("--primary"),
4295
4341
  maskColor: "transparent",
4296
4342
  spinnerRadius: 8,
4297
4343
  lineWidth: 2
4298
4344
  };
4299
4345
  }
4300
- function Pi({ data: e, format: t = (e) => String(e), centerLabel: n = "", centerSub: r = "" }) {
4346
+ function Ri({ data: e, format: t = (e) => String(e), centerLabel: n = "", centerSub: r = "" }) {
4301
4347
  return {
4302
4348
  tooltip: {
4303
4349
  trigger: "item",
@@ -4331,13 +4377,13 @@ function Pi({ data: e, format: t = (e) => String(e), centerLabel: n = "", center
4331
4377
  }
4332
4378
  //#endregion
4333
4379
  //#region src/components/charts/WChart.vue?vue&type=script&setup=true&lang.ts
4334
- var Fi = {
4380
+ var zi = {
4335
4381
  key: 0,
4336
4382
  class: "w-chart__empty"
4337
- }, Ii = {
4383
+ }, Bi = {
4338
4384
  key: 1,
4339
4385
  class: "w-chart__empty"
4340
- }, Li = /*#__PURE__*/ Wt(/* @__PURE__ */ x({
4386
+ }, Vi = /*#__PURE__*/ Wt(/* @__PURE__ */ x({
4341
4387
  __name: "WChart",
4342
4388
  props: {
4343
4389
  option: {},
@@ -4361,15 +4407,15 @@ var Fi = {
4361
4407
  let t = e, n = P(null), r = oe(null), i = P(!1), a = null, o = null, s = () => {
4362
4408
  r.value && r.value.setOption(t.option, !0);
4363
4409
  }, c = () => {
4364
- r.value && (t.loading ? r.value.showLoading("default", Ni()) : r.value.hideLoading());
4410
+ r.value && (t.loading ? r.value.showLoading("default", Li()) : r.value.hideLoading());
4365
4411
  }, l = async () => {
4366
- let e = await ki();
4412
+ let e = await Ni();
4367
4413
  if (n.value) {
4368
4414
  if (!e) {
4369
4415
  i.value = !0;
4370
4416
  return;
4371
4417
  }
4372
- i.value = !1, r.value?.dispose(), r.value = e.init(n.value, t.print ? Mi() : ji(), { renderer: t.print ? "svg" : t.renderer }), s(), c();
4418
+ i.value = !1, r.value?.dispose(), r.value = e.init(n.value, t.print ? Ii() : Fi(), { renderer: t.print ? "svg" : t.renderer }), s(), c();
4373
4419
  }
4374
4420
  };
4375
4421
  return B(() => t.option, s, { deep: !0 }), B(() => t.loading, c), B([() => t.print, () => t.renderer], () => void l()), te(() => {
@@ -4379,13 +4425,13 @@ var Fi = {
4379
4425
  }), (t, r) => (M(), h("div", {
4380
4426
  class: "w-chart",
4381
4427
  style: j(e.height ? { "--w-chart-h": e.height } : void 0)
4382
- }, [e.empty && !e.loading ? (M(), h("div", Fi, [I(t.$slots, "empty", {}, () => [y(L(e.emptyMessage), 1)], !0)])) : i.value ? (M(), h("div", Ii, [I(t.$slots, "unavailable", {}, () => [r[0] ||= y("Gráfico indisponível.", -1)], !0)])) : m("", !0), H(g("div", {
4428
+ }, [e.empty && !e.loading ? (M(), h("div", zi, [I(t.$slots, "empty", {}, () => [y(L(e.emptyMessage), 1)], !0)])) : i.value ? (M(), h("div", Bi, [I(t.$slots, "unavailable", {}, () => [r[0] ||= y("Gráfico indisponível.", -1)], !0)])) : m("", !0), H(g("div", {
4383
4429
  ref_key: "container",
4384
4430
  ref: n,
4385
4431
  class: "w-chart__canvas"
4386
4432
  }, null, 512), [[z, !e.empty && !i.value]])], 4));
4387
4433
  }
4388
- }), [["__scopeId", "data-v-fe796670"]]), Ri = /* @__PURE__ */ x({
4434
+ }), [["__scopeId", "data-v-fe796670"]]), Hi = /* @__PURE__ */ x({
4389
4435
  __name: "WStatusTag",
4390
4436
  props: {
4391
4437
  value: {},
@@ -4506,10 +4552,10 @@ var Fi = {
4506
4552
  severity: r.value.severity
4507
4553
  }, null, 8, ["value", "severity"]));
4508
4554
  }
4509
- }), zi = { class: "w-page-header" }, Bi = { class: "w-page-header-content" }, Vi = { class: "w-page-header-title" }, Hi = {
4555
+ }), Ui = { class: "w-page-header" }, Wi = { class: "w-page-header-content" }, Gi = { class: "w-page-header-title" }, Ki = {
4510
4556
  key: 0,
4511
4557
  class: "w-page-header-subtitle"
4512
- }, Ui = { class: "w-page-header-actions" }, Wi = /* @__PURE__ */ x({
4558
+ }, qi = { class: "w-page-header-actions" }, Ji = /* @__PURE__ */ x({
4513
4559
  __name: "WPageHeader",
4514
4560
  props: {
4515
4561
  title: {},
@@ -4520,17 +4566,17 @@ var Fi = {
4520
4566
  emits: ["action"],
4521
4567
  setup(e, { emit: t }) {
4522
4568
  let n = t;
4523
- return (t, r) => (M(), h("div", zi, [g("div", Bi, [g("h2", Vi, L(e.title), 1), e.subtitle ? (M(), h("p", Hi, L(e.subtitle), 1)) : m("", !0)]), g("div", Ui, [I(t.$slots, "actions"), e.actionLabel ? (M(), p(R(K), {
4569
+ return (t, r) => (M(), h("div", Ui, [g("div", Wi, [g("h2", Gi, L(e.title), 1), e.subtitle ? (M(), h("p", Ki, L(e.subtitle), 1)) : m("", !0)]), g("div", qi, [I(t.$slots, "actions"), e.actionLabel ? (M(), p(R(K), {
4524
4570
  key: 0,
4525
4571
  label: e.actionLabel,
4526
4572
  icon: e.actionIcon,
4527
4573
  onClick: r[0] ||= (e) => n("action")
4528
4574
  }, null, 8, ["label", "icon"])) : m("", !0)])]));
4529
4575
  }
4530
- }), Gi = { class: "w-empty-state" }, Ki = { class: "w-empty-state-icon" }, qi = { class: "w-empty-state-title" }, Ji = {
4576
+ }), Yi = { class: "w-empty-state" }, Xi = { class: "w-empty-state-icon" }, Zi = { class: "w-empty-state-title" }, Qi = {
4531
4577
  key: 0,
4532
4578
  class: "w-empty-state-description"
4533
- }, Yi = /* @__PURE__ */ x({
4579
+ }, $i = /* @__PURE__ */ x({
4534
4580
  __name: "WEmptyState",
4535
4581
  props: {
4536
4582
  icon: {},
@@ -4542,10 +4588,10 @@ var Fi = {
4542
4588
  emits: ["action"],
4543
4589
  setup(e, { emit: t }) {
4544
4590
  let n = t;
4545
- return (t, r) => (M(), h("div", Gi, [
4546
- g("div", Ki, [g("i", { class: k(e.icon) }, null, 2)]),
4547
- g("p", qi, L(e.title), 1),
4548
- e.description ? (M(), h("p", Ji, L(e.description), 1)) : m("", !0),
4591
+ return (t, r) => (M(), h("div", Yi, [
4592
+ g("div", Xi, [g("i", { class: k(e.icon) }, null, 2)]),
4593
+ g("p", Zi, L(e.title), 1),
4594
+ e.description ? (M(), h("p", Qi, L(e.description), 1)) : m("", !0),
4549
4595
  e.actionLabel ? (M(), p(R(K), {
4550
4596
  key: 1,
4551
4597
  label: e.actionLabel,
@@ -4556,10 +4602,10 @@ var Fi = {
4556
4602
  }, null, 8, ["label", "icon"])) : m("", !0)
4557
4603
  ]));
4558
4604
  }
4559
- }), Xi = { class: "w-detail-header" }, Zi = { class: "w-detail-header-left" }, Qi = { class: "w-detail-header-content" }, $i = { class: "w-detail-header-title" }, ea = {
4605
+ }), ea = { class: "w-detail-header" }, ta = { class: "w-detail-header-left" }, na = { class: "w-detail-header-content" }, ra = { class: "w-detail-header-title" }, ia = {
4560
4606
  key: 0,
4561
4607
  class: "w-detail-header-subtitle"
4562
- }, ta = { class: "w-detail-header-actions" }, na = /* @__PURE__ */ x({
4608
+ }, aa = { class: "w-detail-header-actions" }, oa = /* @__PURE__ */ x({
4563
4609
  __name: "WDetailHeader",
4564
4610
  props: {
4565
4611
  title: {},
@@ -4575,7 +4621,7 @@ var Fi = {
4575
4621
  function r() {
4576
4622
  t.backTo ? n.push(typeof t.backTo == "string" ? { name: t.backTo } : t.backTo) : t.backRoute ? n.push({ name: t.backRoute }) : n.back();
4577
4623
  }
4578
- return (t, n) => (M(), h("div", Xi, [g("div", Zi, [
4624
+ return (t, n) => (M(), h("div", ea, [g("div", ta, [
4579
4625
  b(R(K), {
4580
4626
  icon: "pi pi-arrow-left",
4581
4627
  text: "",
@@ -4586,27 +4632,27 @@ var Fi = {
4586
4632
  key: 0,
4587
4633
  class: k([e.icon, "w-detail-header-icon"])
4588
4634
  }, null, 2)) : m("", !0),
4589
- g("div", Qi, [g("h2", $i, L(e.title), 1), e.subtitle ? (M(), h("p", ea, L(e.subtitle), 1)) : m("", !0)]),
4590
- e.status ? (M(), p(Ri, {
4635
+ g("div", na, [g("h2", ra, L(e.title), 1), e.subtitle ? (M(), h("p", ia, L(e.subtitle), 1)) : m("", !0)]),
4636
+ e.status ? (M(), p(Hi, {
4591
4637
  key: 1,
4592
4638
  value: e.status,
4593
4639
  map: e.statusMap
4594
4640
  }, null, 8, ["value", "map"])) : m("", !0)
4595
- ]), g("div", ta, [I(t.$slots, "actions")])]));
4641
+ ]), g("div", aa, [I(t.$slots, "actions")])]));
4596
4642
  }
4597
- }), ra = {
4643
+ }), sa = {
4598
4644
  key: 0,
4599
4645
  class: "w-info-card-title"
4600
- }, ia = {
4646
+ }, ca = {
4601
4647
  key: 1,
4602
4648
  class: "w-info-card-metrics"
4603
- }, aa = { class: "w-info-card-metric-label" }, oa = { class: "w-info-card-metric-value" }, sa = {
4649
+ }, la = { class: "w-info-card-metric-label" }, ua = { class: "w-info-card-metric-value" }, da = {
4604
4650
  key: 0,
4605
4651
  class: "w-info-card-metric-suffix"
4606
- }, ca = {
4652
+ }, fa = {
4607
4653
  key: 2,
4608
4654
  class: "w-info-card-grid"
4609
- }, la = { class: "w-info-card-label" }, ua = { class: "w-info-card-value" }, da = /* @__PURE__ */ x({
4655
+ }, pa = { class: "w-info-card-label" }, ma = { class: "w-info-card-value" }, ha = /* @__PURE__ */ x({
4610
4656
  __name: "WInfoCard",
4611
4657
  props: {
4612
4658
  title: {},
@@ -4619,34 +4665,34 @@ var Fi = {
4619
4665
  let n = e.value;
4620
4666
  return n == null || n === "" ? "-" : e.format === "currency" ? t(Number(n)) : e.format === "date" ? r(String(n)) : e.format === "datetime" ? r(String(n), "DD/MM/YYYY HH:mm") : e.format === "number" ? i(Number(n), e.decimals ?? 2) : String(n);
4621
4667
  }
4622
- return (t, n) => (M(), h("div", { class: k(["w-info-card", `w-info-card--${e.variant}`]) }, [e.title ? (M(), h("h3", ra, L(e.title), 1)) : m("", !0), e.variant === "metric" ? (M(), h("div", ia, [(M(!0), h(d, null, F(e.fields, (e) => (M(), h("div", {
4668
+ return (t, n) => (M(), h("div", { class: k(["w-info-card", `w-info-card--${e.variant}`]) }, [e.title ? (M(), h("h3", sa, L(e.title), 1)) : m("", !0), e.variant === "metric" ? (M(), h("div", ca, [(M(!0), h(d, null, F(e.fields, (e) => (M(), h("div", {
4623
4669
  key: e.label,
4624
4670
  class: "w-info-card-metric"
4625
4671
  }, [
4626
- g("span", aa, L(e.label), 1),
4627
- g("span", oa, L(a(e)), 1),
4628
- e.suffix ? (M(), h("span", sa, L(e.suffix), 1)) : m("", !0)
4629
- ]))), 128))])) : (M(), h("div", ca, [(M(!0), h(d, null, F(e.fields, (e) => (M(), h("div", {
4672
+ g("span", la, L(e.label), 1),
4673
+ g("span", ua, L(a(e)), 1),
4674
+ e.suffix ? (M(), h("span", da, L(e.suffix), 1)) : m("", !0)
4675
+ ]))), 128))])) : (M(), h("div", fa, [(M(!0), h(d, null, F(e.fields, (e) => (M(), h("div", {
4630
4676
  key: e.label,
4631
4677
  class: "w-info-card-field"
4632
- }, [g("span", la, L(e.label), 1), g("span", ua, L(a(e)), 1)]))), 128))]))], 2));
4678
+ }, [g("span", pa, L(e.label), 1), g("span", ma, L(a(e)), 1)]))), 128))]))], 2));
4633
4679
  }
4634
- }), fa = {
4680
+ }), ga = {
4635
4681
  key: 0,
4636
4682
  class: "w-kpi-card__loading"
4637
- }, pa = { class: "w-kpi-card__loading-content" }, ma = { class: "w-kpi-card__header" }, ha = {
4683
+ }, _a = { class: "w-kpi-card__loading-content" }, va = { class: "w-kpi-card__header" }, ya = {
4638
4684
  key: 0,
4639
4685
  class: "w-kpi-card__icon"
4640
- }, ga = {
4686
+ }, ba = {
4641
4687
  key: 1,
4642
4688
  class: "w-kpi-card__trend"
4643
- }, _a = { class: "w-kpi-card__content" }, va = { class: "w-kpi-card__label" }, ya = { class: "w-kpi-card__value" }, ba = {
4689
+ }, xa = { class: "w-kpi-card__content" }, Sa = { class: "w-kpi-card__label" }, Ca = { class: "w-kpi-card__value" }, wa = {
4644
4690
  key: 0,
4645
4691
  class: "w-kpi-card__hint"
4646
- }, xa = {
4692
+ }, Ta = {
4647
4693
  key: 0,
4648
4694
  class: "w-kpi-card__footer"
4649
- }, Sa = /* @__PURE__ */ x({
4695
+ }, Ea = /* @__PURE__ */ x({
4650
4696
  __name: "WKpiCard",
4651
4697
  props: {
4652
4698
  label: {},
@@ -4658,10 +4704,10 @@ var Fi = {
4658
4704
  loading: { type: Boolean }
4659
4705
  },
4660
4706
  setup(e) {
4661
- return (t, n) => (M(), h("article", { class: k(["w-kpi-card", e.severity ? `w-kpi-card--${e.severity}` : ""]) }, [e.loading ? (M(), h("div", fa, [b(R(X), {
4707
+ return (t, n) => (M(), h("article", { class: k(["w-kpi-card", e.severity ? `w-kpi-card--${e.severity}` : ""]) }, [e.loading ? (M(), h("div", ga, [b(R(X), {
4662
4708
  shape: "circle",
4663
4709
  size: "2.75rem"
4664
- }), g("div", pa, [
4710
+ }), g("div", _a, [
4665
4711
  b(R(X), {
4666
4712
  width: "6rem",
4667
4713
  height: "0.75rem"
@@ -4675,22 +4721,22 @@ var Fi = {
4675
4721
  height: "0.75rem"
4676
4722
  })
4677
4723
  ])])) : (M(), h(d, { key: 1 }, [
4678
- g("div", ma, [e.icon || t.$slots.icon ? (M(), h("div", ha, [I(t.$slots, "icon", {}, () => [e.icon ? (M(), h("i", {
4724
+ g("div", va, [e.icon || t.$slots.icon ? (M(), h("div", ya, [I(t.$slots, "icon", {}, () => [e.icon ? (M(), h("i", {
4679
4725
  key: 0,
4680
4726
  class: k(e.icon)
4681
- }, null, 2)) : m("", !0)])])) : m("", !0), e.trend || t.$slots.trend ? (M(), h("div", ga, [I(t.$slots, "trend", {}, () => [e.trend ? (M(), h("span", {
4727
+ }, null, 2)) : m("", !0)])])) : m("", !0), e.trend || t.$slots.trend ? (M(), h("div", ba, [I(t.$slots, "trend", {}, () => [e.trend ? (M(), h("span", {
4682
4728
  key: 0,
4683
4729
  class: k(["w-kpi-card__trend-badge", e.trend.direction ? `w-kpi-card__trend-badge--${e.trend.direction}` : ""])
4684
4730
  }, L(e.trend.value), 3)) : m("", !0)])])) : m("", !0)]),
4685
- g("div", _a, [
4686
- g("p", va, L(e.label), 1),
4687
- g("div", ya, [I(t.$slots, "value", {}, () => [y(L(e.value), 1)])]),
4688
- e.hint || t.$slots.hint ? (M(), h("p", ba, [I(t.$slots, "hint", {}, () => [y(L(e.hint), 1)])])) : m("", !0)
4731
+ g("div", xa, [
4732
+ g("p", Sa, L(e.label), 1),
4733
+ g("div", Ca, [I(t.$slots, "value", {}, () => [y(L(e.value), 1)])]),
4734
+ e.hint || t.$slots.hint ? (M(), h("p", wa, [I(t.$slots, "hint", {}, () => [y(L(e.hint), 1)])])) : m("", !0)
4689
4735
  ]),
4690
- t.$slots.footer ? (M(), h("footer", xa, [I(t.$slots, "footer")])) : m("", !0)
4736
+ t.$slots.footer ? (M(), h("footer", Ta, [I(t.$slots, "footer")])) : m("", !0)
4691
4737
  ], 64))], 2));
4692
4738
  }
4693
- }), Ca = /* @__PURE__ */ x({
4739
+ }), Da = /* @__PURE__ */ x({
4694
4740
  __name: "WKpiGrid",
4695
4741
  props: {
4696
4742
  items: { default: () => [] },
@@ -4706,7 +4752,7 @@ var Fi = {
4706
4752
  key: n,
4707
4753
  item: e,
4708
4754
  index: n
4709
- })), 128)) : (M(!0), h(d, { key: 1 }, F(e.items, (e, t) => (M(), p(Sa, {
4755
+ })), 128)) : (M(!0), h(d, { key: 1 }, F(e.items, (e, t) => (M(), p(Ea, {
4710
4756
  key: t,
4711
4757
  label: e.label,
4712
4758
  value: e.value,
@@ -4725,16 +4771,16 @@ var Fi = {
4725
4771
  "loading"
4726
4772
  ]))), 128))], 2));
4727
4773
  }
4728
- }), wa = { class: "w-section-header__main" }, Ta = {
4774
+ }), Oa = { class: "w-section-header__main" }, ka = {
4729
4775
  key: 0,
4730
4776
  class: "w-section-header__icon"
4731
- }, Ea = { class: "w-section-header__content" }, Da = { class: "w-section-header__title-row" }, Oa = { class: "w-section-header__title" }, ka = {
4777
+ }, Aa = { class: "w-section-header__content" }, ja = { class: "w-section-header__title-row" }, Ma = { class: "w-section-header__title" }, Na = {
4732
4778
  key: 0,
4733
4779
  class: "w-section-header__subtitle"
4734
- }, Aa = {
4780
+ }, Pa = {
4735
4781
  key: 0,
4736
4782
  class: "w-section-header__actions"
4737
- }, ja = /* @__PURE__ */ x({
4783
+ }, Fa = /* @__PURE__ */ x({
4738
4784
  __name: "WSectionHeader",
4739
4785
  props: {
4740
4786
  title: {},
@@ -4743,21 +4789,21 @@ var Fi = {
4743
4789
  compact: { type: Boolean }
4744
4790
  },
4745
4791
  setup(e) {
4746
- return (t, n) => (M(), h("div", { class: k(["w-section-header", { "w-section-header--compact": e.compact }]) }, [g("div", wa, [e.icon || t.$slots.icon ? (M(), h("div", Ta, [I(t.$slots, "icon", {}, () => [e.icon ? (M(), h("i", {
4792
+ return (t, n) => (M(), h("div", { class: k(["w-section-header", { "w-section-header--compact": e.compact }]) }, [g("div", Oa, [e.icon || t.$slots.icon ? (M(), h("div", ka, [I(t.$slots, "icon", {}, () => [e.icon ? (M(), h("i", {
4747
4793
  key: 0,
4748
4794
  class: k(e.icon)
4749
- }, null, 2)) : m("", !0)])])) : m("", !0), g("div", Ea, [g("div", Da, [g("h3", Oa, L(e.title), 1), I(t.$slots, "meta")]), e.subtitle ? (M(), h("p", ka, L(e.subtitle), 1)) : m("", !0)])]), t.$slots.actions ? (M(), h("div", Aa, [I(t.$slots, "actions")])) : m("", !0)], 2));
4795
+ }, null, 2)) : m("", !0)])])) : m("", !0), g("div", Aa, [g("div", ja, [g("h3", Ma, L(e.title), 1), I(t.$slots, "meta")]), e.subtitle ? (M(), h("p", Na, L(e.subtitle), 1)) : m("", !0)])]), t.$slots.actions ? (M(), h("div", Pa, [I(t.$slots, "actions")])) : m("", !0)], 2));
4750
4796
  }
4751
- }), Ma = {
4797
+ }), Ia = {
4752
4798
  key: 0,
4753
4799
  class: "w-form-section__header"
4754
- }, Na = { class: "w-form-section__content" }, Pa = { class: "w-form-section__title" }, Fa = {
4800
+ }, La = { class: "w-form-section__content" }, Ra = { class: "w-form-section__title" }, za = {
4755
4801
  key: 0,
4756
4802
  class: "w-form-section__description"
4757
- }, Ia = {
4803
+ }, Ba = {
4758
4804
  key: 0,
4759
4805
  class: "w-form-section__actions"
4760
- }, La = { class: "w-form-section__body" }, Ra = /* @__PURE__ */ x({
4806
+ }, Va = { class: "w-form-section__body" }, Ha = /* @__PURE__ */ x({
4761
4807
  __name: "WFormSection",
4762
4808
  props: {
4763
4809
  title: {},
@@ -4765,18 +4811,18 @@ var Fi = {
4765
4811
  variant: {}
4766
4812
  },
4767
4813
  setup(e) {
4768
- return (t, n) => (M(), h("section", { class: k(["w-form-section", e.variant ? `w-form-section--${e.variant}` : ""]) }, [e.title || e.description || t.$slots.actions ? (M(), h("div", Ma, [g("div", Na, [g("h3", Pa, L(e.title), 1), e.description ? (M(), h("p", Fa, L(e.description), 1)) : m("", !0)]), t.$slots.actions ? (M(), h("div", Ia, [I(t.$slots, "actions")])) : m("", !0)])) : m("", !0), g("div", La, [I(t.$slots, "default")])], 2));
4814
+ return (t, n) => (M(), h("section", { class: k(["w-form-section", e.variant ? `w-form-section--${e.variant}` : ""]) }, [e.title || e.description || t.$slots.actions ? (M(), h("div", Ia, [g("div", La, [g("h3", Ra, L(e.title), 1), e.description ? (M(), h("p", za, L(e.description), 1)) : m("", !0)]), t.$slots.actions ? (M(), h("div", Ba, [I(t.$slots, "actions")])) : m("", !0)])) : m("", !0), g("div", Va, [I(t.$slots, "default")])], 2));
4769
4815
  }
4770
- }), za = {
4816
+ }), Ua = {
4771
4817
  key: 0,
4772
4818
  class: "w-action-bar__primary"
4773
- }, Ba = {
4819
+ }, Wa = {
4774
4820
  key: 1,
4775
4821
  class: "w-action-bar__filters"
4776
- }, Va = {
4822
+ }, Ga = {
4777
4823
  key: 2,
4778
4824
  class: "w-action-bar__secondary"
4779
- }, Ha = /* @__PURE__ */ x({
4825
+ }, Ka = /* @__PURE__ */ x({
4780
4826
  __name: "WActionBar",
4781
4827
  props: {
4782
4828
  align: { default: "between" },
@@ -4787,15 +4833,15 @@ var Fi = {
4787
4833
  },
4788
4834
  setup(e) {
4789
4835
  return (t, n) => (M(), h("div", { class: k(["w-action-bar", [`w-action-bar--${e.align}`, { "w-action-bar--stack": e.stackOnMobile }]]) }, [
4790
- t.$slots.primary || t.$slots.default ? (M(), h("div", za, [I(t.$slots, "primary", {}, () => [I(t.$slots, "default")])])) : m("", !0),
4791
- t.$slots.filters ? (M(), h("div", Ba, [I(t.$slots, "filters")])) : m("", !0),
4792
- t.$slots.secondary ? (M(), h("div", Va, [I(t.$slots, "secondary")])) : m("", !0)
4836
+ t.$slots.primary || t.$slots.default ? (M(), h("div", Ua, [I(t.$slots, "primary", {}, () => [I(t.$slots, "default")])])) : m("", !0),
4837
+ t.$slots.filters ? (M(), h("div", Wa, [I(t.$slots, "filters")])) : m("", !0),
4838
+ t.$slots.secondary ? (M(), h("div", Ga, [I(t.$slots, "secondary")])) : m("", !0)
4793
4839
  ], 2));
4794
4840
  }
4795
- }), Ua = { class: "w-progress-flow__marker" }, Wa = { class: "w-progress-flow__content" }, Ga = { class: "w-progress-flow__label" }, Ka = {
4841
+ }), qa = { class: "w-progress-flow__marker" }, Ja = { class: "w-progress-flow__content" }, Ya = { class: "w-progress-flow__label" }, Xa = {
4796
4842
  key: 0,
4797
4843
  class: "w-progress-flow__description"
4798
- }, qa = /* @__PURE__ */ x({
4844
+ }, Za = /* @__PURE__ */ x({
4799
4845
  __name: "WProgressFlow",
4800
4846
  props: {
4801
4847
  steps: {},
@@ -4814,9 +4860,9 @@ var Fi = {
4814
4860
  step: e,
4815
4861
  index: n,
4816
4862
  state: r(n)
4817
- }, () => [g("div", Ua, [g("span", null, L(n + 1), 1)]), g("div", Wa, [g("p", Ga, L(e.label), 1), e.description ? (M(), h("p", Ka, L(e.description), 1)) : m("", !0)])])], 2))), 128))], 2));
4863
+ }, () => [g("div", qa, [g("span", null, L(n + 1), 1)]), g("div", Ja, [g("p", Ya, L(e.label), 1), e.description ? (M(), h("p", Xa, L(e.description), 1)) : m("", !0)])])], 2))), 128))], 2));
4818
4864
  }
4819
- }), Ja = Symbol("w-step-flow"), Ya = /* @__PURE__ */ x({
4865
+ }), Qa = Symbol("w-step-flow"), $a = /* @__PURE__ */ x({
4820
4866
  __name: "WStepFlow",
4821
4867
  props: {
4822
4868
  modelValue: { default: 0 },
@@ -4832,7 +4878,7 @@ var Fi = {
4832
4878
  function s(e) {
4833
4879
  n.disabled || r("update:modelValue", n.modelValue === e ? 0 : e);
4834
4880
  }
4835
- N(Ja, {
4881
+ N(Qa, {
4836
4882
  active: i,
4837
4883
  toggle: s,
4838
4884
  disabled: a,
@@ -4860,48 +4906,48 @@ var Fi = {
4860
4906
  onKeydown: l
4861
4907
  }, [I(e.$slots, "default")], 34));
4862
4908
  }
4863
- }), Xa = { class: "w-step-section__rail" }, Za = {
4909
+ }), eo = { class: "w-step-section__rail" }, to = {
4864
4910
  key: 0,
4865
4911
  class: "w-step-section__line"
4866
- }, Qa = { class: "w-step-section__body" }, $a = { class: "w-step-section__card" }, eo = { class: "w-step-section__header" }, to = [
4912
+ }, no = { class: "w-step-section__body" }, ro = { class: "w-step-section__card" }, io = { class: "w-step-section__header" }, ao = [
4867
4913
  "aria-expanded",
4868
4914
  "aria-current",
4869
4915
  "disabled"
4870
- ], no = { class: "w-step-section__title" }, ro = {
4916
+ ], oo = { class: "w-step-section__title" }, so = {
4871
4917
  key: 0,
4872
4918
  class: "w-step-section__count"
4873
- }, io = {
4919
+ }, co = {
4874
4920
  key: 1,
4875
4921
  class: "w-step-section__summary"
4876
- }, ao = {
4922
+ }, lo = {
4877
4923
  key: 0,
4878
4924
  class: "w-step-section__actions"
4879
- }, oo = { class: "w-step-section__content" }, so = {
4925
+ }, uo = { class: "w-step-section__content" }, fo = {
4880
4926
  key: 0,
4881
4927
  class: "w-step-section__footer"
4882
- }, co = { class: "w-step-section__head" }, lo = [
4928
+ }, po = { class: "w-step-section__head" }, mo = [
4883
4929
  "aria-expanded",
4884
4930
  "aria-current",
4885
4931
  "disabled"
4886
- ], uo = {
4932
+ ], ho = {
4887
4933
  key: 0,
4888
4934
  class: "pi pi-check"
4889
- }, fo = { class: "w-step-section__title" }, po = {
4935
+ }, go = { class: "w-step-section__title" }, _o = {
4890
4936
  key: 0,
4891
4937
  class: "w-step-section__count"
4892
- }, mo = {
4938
+ }, vo = {
4893
4939
  key: 1,
4894
4940
  class: "w-step-section__summary"
4895
- }, ho = {
4941
+ }, yo = {
4896
4942
  key: 1,
4897
4943
  class: "w-step-section__actions"
4898
- }, go = {
4944
+ }, bo = {
4899
4945
  key: 0,
4900
4946
  class: "w-step-section__panel"
4901
- }, _o = { class: "w-step-section__content" }, vo = {
4947
+ }, xo = { class: "w-step-section__content" }, So = {
4902
4948
  key: 0,
4903
4949
  class: "w-step-section__footer"
4904
- }, yo = /* @__PURE__ */ x({
4950
+ }, Co = /* @__PURE__ */ x({
4905
4951
  __name: "WStepSection",
4906
4952
  props: {
4907
4953
  step: {},
@@ -4914,7 +4960,7 @@ var Fi = {
4914
4960
  }
4915
4961
  },
4916
4962
  setup(e) {
4917
- let t = e, n = w(Ja, null), r = P(!0), i = f(() => n ? n.active.value === t.step : r.value), a = f(() => t.disabled || (n?.disabled.value ?? !1)), o = f(() => n?.orientation.value === "horizontal"), s = f(() => n !== null), c = f(() => o.value && n != null && t.step < n.active.value);
4963
+ let t = e, n = w(Qa, null), r = P(!0), i = f(() => n ? n.active.value === t.step : r.value), a = f(() => t.disabled || (n?.disabled.value ?? !1)), o = f(() => n?.orientation.value === "horizontal"), s = f(() => n !== null), c = f(() => o.value && n != null && t.step < n.active.value);
4918
4964
  function l() {
4919
4965
  a.value || (n ? n.toggle(t.step) : r.value = !r.value);
4920
4966
  }
@@ -4924,7 +4970,7 @@ var Fi = {
4924
4970
  "w-step-section--open": i.value,
4925
4971
  "w-step-section--done": c.value
4926
4972
  }])
4927
- }, [g("div", co, [
4973
+ }, [g("div", po, [
4928
4974
  s.value ? (M(), h("span", {
4929
4975
  key: 0,
4930
4976
  class: k(["w-step-section__line", { "w-step-section__line--done": c.value || i.value }])
@@ -4943,19 +4989,19 @@ var Fi = {
4943
4989
  "w-step-section__badge--done": c.value
4944
4990
  }]),
4945
4991
  "aria-hidden": "true"
4946
- }, [c.value ? (M(), h("i", uo)) : (M(), h(d, { key: 1 }, [y(L(e.step), 1)], 64))], 2),
4947
- g("h2", fo, L(e.title), 1),
4948
- e.count == null ? m("", !0) : (M(), h("span", po, L(e.count), 1)),
4949
- e.summary ? (M(), h("span", mo, L(e.summary), 1)) : m("", !0)
4950
- ], 8, lo),
4951
- t.$slots.actions ? (M(), h("div", ho, [I(t.$slots, "actions", { open: i.value })])) : m("", !0)
4952
- ]), i.value ? (M(), h("div", go, [g("div", _o, [I(t.$slots, "default")]), t.$slots.footer ? (M(), h("div", vo, [I(t.$slots, "footer")])) : m("", !0)])) : m("", !0)], 2)) : (M(), h("div", {
4992
+ }, [c.value ? (M(), h("i", ho)) : (M(), h(d, { key: 1 }, [y(L(e.step), 1)], 64))], 2),
4993
+ g("h2", go, L(e.title), 1),
4994
+ e.count == null ? m("", !0) : (M(), h("span", _o, L(e.count), 1)),
4995
+ e.summary ? (M(), h("span", vo, L(e.summary), 1)) : m("", !0)
4996
+ ], 8, mo),
4997
+ t.$slots.actions ? (M(), h("div", yo, [I(t.$slots, "actions", { open: i.value })])) : m("", !0)
4998
+ ]), i.value ? (M(), h("div", bo, [g("div", xo, [I(t.$slots, "default")]), t.$slots.footer ? (M(), h("div", So, [I(t.$slots, "footer")])) : m("", !0)])) : m("", !0)], 2)) : (M(), h("div", {
4953
4999
  key: 0,
4954
5000
  class: k(["w-step-section", { "w-step-section--open": i.value }])
4955
- }, [g("div", Xa, [g("span", {
5001
+ }, [g("div", eo, [g("span", {
4956
5002
  class: k(["w-step-section__badge", { "w-step-section__badge--on": i.value }]),
4957
5003
  "aria-hidden": "true"
4958
- }, L(e.step), 3), s.value ? (M(), h("span", Za)) : m("", !0)]), g("div", Qa, [g("div", $a, [g("div", eo, [g("button", {
5004
+ }, L(e.step), 3), s.value ? (M(), h("span", to)) : m("", !0)]), g("div", no, [g("div", ro, [g("div", io, [g("button", {
4959
5005
  type: "button",
4960
5006
  class: "w-step-section__trigger",
4961
5007
  "aria-expanded": i.value,
@@ -4964,24 +5010,24 @@ var Fi = {
4964
5010
  onClick: l
4965
5011
  }, [
4966
5012
  g("i", { class: k(["w-step-section__chevron", i.value ? "pi pi-chevron-down" : "pi pi-chevron-right"]) }, null, 2),
4967
- g("h2", no, L(e.title), 1),
4968
- e.count == null ? m("", !0) : (M(), h("span", ro, L(e.count), 1)),
4969
- e.summary ? (M(), h("span", io, L(e.summary), 1)) : m("", !0)
4970
- ], 8, to), t.$slots.actions ? (M(), h("div", ao, [I(t.$slots, "actions", { open: i.value })])) : m("", !0)]), i.value ? (M(), h(d, { key: 0 }, [g("div", oo, [I(t.$slots, "default")]), t.$slots.footer ? (M(), h("div", so, [I(t.$slots, "footer")])) : m("", !0)], 64)) : m("", !0)])])], 2));
5013
+ g("h2", oo, L(e.title), 1),
5014
+ e.count == null ? m("", !0) : (M(), h("span", so, L(e.count), 1)),
5015
+ e.summary ? (M(), h("span", co, L(e.summary), 1)) : m("", !0)
5016
+ ], 8, ao), t.$slots.actions ? (M(), h("div", lo, [I(t.$slots, "actions", { open: i.value })])) : m("", !0)]), i.value ? (M(), h(d, { key: 0 }, [g("div", uo, [I(t.$slots, "default")]), t.$slots.footer ? (M(), h("div", fo, [I(t.$slots, "footer")])) : m("", !0)], 64)) : m("", !0)])])], 2));
4971
5017
  }
4972
- }), bo = { class: "w-check-list" }, xo = {
5018
+ }), wo = { class: "w-check-list" }, To = {
4973
5019
  key: 0,
4974
5020
  class: "w-check-list__header"
4975
- }, So = { class: "w-check-list__title" }, Co = {
5021
+ }, Eo = { class: "w-check-list__title" }, Do = {
4976
5022
  key: 0,
4977
5023
  class: "w-check-list__count"
4978
- }, wo = {
5024
+ }, Oo = {
4979
5025
  key: 1,
4980
5026
  class: "w-check-list__items"
4981
- }, To = { class: "w-check-list__label" }, Eo = {
5027
+ }, ko = { class: "w-check-list__label" }, Ao = {
4982
5028
  key: 2,
4983
5029
  class: "w-check-list__empty"
4984
- }, Do = /* @__PURE__ */ x({
5030
+ }, jo = /* @__PURE__ */ x({
4985
5031
  __name: "WCheckList",
4986
5032
  props: {
4987
5033
  title: {},
@@ -5001,62 +5047,62 @@ var Fi = {
5001
5047
  function a(e) {
5002
5048
  return i[e] ?? i.warn;
5003
5049
  }
5004
- return (t, n) => (M(), h("div", bo, [e.title || e.showCount ? (M(), h("div", xo, [g("span", So, L(e.title), 1), e.showCount ? (M(), h("span", Co, L(r.value), 1)) : m("", !0)])) : m("", !0), e.items.length ? (M(), h("ul", wo, [(M(!0), h(d, null, F(e.items, (e, t) => (M(), h("li", {
5050
+ return (t, n) => (M(), h("div", wo, [e.title || e.showCount ? (M(), h("div", To, [g("span", Eo, L(e.title), 1), e.showCount ? (M(), h("span", Do, L(r.value), 1)) : m("", !0)])) : m("", !0), e.items.length ? (M(), h("ul", Oo, [(M(!0), h(d, null, F(e.items, (e, t) => (M(), h("li", {
5005
5051
  key: `${e.label}-${t}`,
5006
5052
  class: "w-check-list__item"
5007
- }, [g("i", { class: k([a(e.nivel), `w-check-list__icon--${e.nivel}`]) }, null, 2), g("span", To, L(e.label), 1)]))), 128))])) : (M(), h("div", Eo, [I(t.$slots, "empty", {}, () => [y(L(e.emptyMessage), 1)])]))]));
5053
+ }, [g("i", { class: k([a(e.nivel), `w-check-list__icon--${e.nivel}`]) }, null, 2), g("span", ko, L(e.label), 1)]))), 128))])) : (M(), h("div", Ao, [I(t.$slots, "empty", {}, () => [y(L(e.emptyMessage), 1)])]))]));
5008
5054
  }
5009
- }), Oo = .85;
5010
- function ko(e, t, n) {
5055
+ }), Mo = .85;
5056
+ function No(e, t, n) {
5011
5057
  return !e || e.largura <= 0 || e.altura <= 0 ? !1 : e.largura <= t && e.altura <= n;
5012
5058
  }
5013
- function Ao(e, t, n, r = Oo) {
5059
+ function Po(e, t, n, r = Mo) {
5014
5060
  if (!t || t.largura <= 0 || t.altura <= 0 || e.largura <= 0 || e.altura <= 0) return "completo";
5015
5061
  let i = e.largura * r, a = e.altura * r;
5016
- return ko(t, i, a) ? "completo" : ko(n, i, a) ? "curto" : "oculto";
5062
+ return No(t, i, a) ? "completo" : No(n, i, a) ? "curto" : "oculto";
5017
5063
  }
5018
5064
  //#endregion
5019
5065
  //#region src/components/ui/WMapSelect.vue?vue&type=script&setup=true&lang.ts
5020
- var jo = { class: "w-map-select__body" }, Mo = {
5066
+ var Fo = { class: "w-map-select__body" }, Io = {
5021
5067
  key: 0,
5022
5068
  class: "w-map-select__fallback"
5023
- }, No = {
5069
+ }, Lo = {
5024
5070
  key: 1,
5025
5071
  class: "w-map-select__badge"
5026
- }, Po = { class: "w-map-select__detail-nome" }, Fo = {
5072
+ }, Ro = { class: "w-map-select__detail-nome" }, zo = {
5027
5073
  key: 0,
5028
5074
  class: "w-map-select__detail-sub"
5029
- }, Io = {
5075
+ }, Bo = {
5030
5076
  key: 0,
5031
5077
  class: "w-map-select__panel"
5032
- }, Lo = [
5078
+ }, Vo = [
5033
5079
  "aria-expanded",
5034
5080
  "aria-label",
5035
5081
  "title"
5036
- ], Ro = {
5082
+ ], Ho = {
5037
5083
  key: 0,
5038
5084
  class: "w-map-select__collapse-count"
5039
- }, zo = { class: "w-map-select__panel-head" }, Bo = { class: "w-map-select__meta" }, Vo = { class: "w-map-select__count" }, Ho = ["disabled"], Uo = { class: "w-map-select__list" }, Wo = [
5085
+ }, Uo = { class: "w-map-select__panel-head" }, Wo = { class: "w-map-select__meta" }, Go = { class: "w-map-select__count" }, Ko = ["disabled"], qo = { class: "w-map-select__list" }, Jo = [
5040
5086
  "aria-pressed",
5041
5087
  "disabled",
5042
5088
  "onClick"
5043
- ], Go = { class: "w-map-select__box" }, Ko = {
5089
+ ], Yo = { class: "w-map-select__box" }, Xo = {
5044
5090
  key: 0,
5045
5091
  class: "pi pi-check"
5046
- }, qo = { class: "w-map-select__item-text" }, Jo = { class: "w-map-select__item-name" }, Yo = {
5092
+ }, Zo = { class: "w-map-select__item-text" }, Qo = { class: "w-map-select__item-name" }, $o = {
5047
5093
  key: 0,
5048
5094
  class: "w-map-select__item-sub"
5049
- }, Xo = {
5095
+ }, es = {
5050
5096
  key: 0,
5051
5097
  class: "pi pi-exclamation-circle w-map-select__item-nogeo",
5052
5098
  title: "Talhão sem contorno cadastrado"
5053
- }, Zo = {
5099
+ }, ts = {
5054
5100
  key: 1,
5055
5101
  class: "w-map-select__item-area"
5056
- }, Qo = {
5102
+ }, ns = {
5057
5103
  key: 0,
5058
5104
  class: "w-map-select__empty"
5059
- }, $o = { class: "w-map-select__area" }, es = { class: "w-map-select__area-unit" }, ts = "O mapa não pôde ser carregado. Selecione os talhões pela lista ao lado.", ns = "O mapa não pôde ser carregado.", rs = /* @__PURE__ */ x({
5105
+ }, rs = { class: "w-map-select__area" }, is = { class: "w-map-select__area-unit" }, as = "O mapa não pôde ser carregado. Selecione os talhões pela lista ao lado.", os = "O mapa não pôde ser carregado.", ss = /* @__PURE__ */ x({
5060
5106
  __name: "WMapSelect",
5061
5107
  props: {
5062
5108
  modelValue: { default: () => [] },
@@ -5084,7 +5130,7 @@ var jo = { class: "w-map-select__body" }, Mo = {
5084
5130
  },
5085
5131
  badgeLabel: { default: "Satélite" },
5086
5132
  emptyMessage: { default: "Nenhum talhão encontrado" },
5087
- mapErrorMessage: { default: ts },
5133
+ mapErrorMessage: { default: as },
5088
5134
  disabled: {
5089
5135
  type: Boolean,
5090
5136
  default: !1
@@ -5122,7 +5168,7 @@ var jo = { class: "w-map-select__body" }, Mo = {
5122
5168
  type: Function,
5123
5169
  default: void 0
5124
5170
  },
5125
- labelFitScale: { default: Oo },
5171
+ labelFitScale: { default: Mo },
5126
5172
  labelFullFromZoom: { default: 13 },
5127
5173
  featureDetail: { default: "none" },
5128
5174
  detailPlacement: { default: "cursor" }
@@ -5135,7 +5181,7 @@ var jo = { class: "w-map-select__body" }, Mo = {
5135
5181
  "update:collapsed"
5136
5182
  ],
5137
5183
  setup(e, { expose: t, emit: r }) {
5138
- let i = e, a = r, o = le(), { formatNumber: s } = n(), c = f(() => i.layout === "sobreposto"), l = f(() => !i.readonly && (!!o.footer || i.areaLabel !== "")), u = f(() => i.readonly && i.mapErrorMessage === ts ? ns : i.mapErrorMessage), p = P(!1), _ = f(() => i.collapsed != null), v = f(() => _.value ? !!i.collapsed : p.value);
5184
+ let i = e, a = r, o = le(), { formatNumber: s } = n(), c = f(() => i.layout === "sobreposto"), l = f(() => !i.readonly && (!!o.footer || i.areaLabel !== "")), u = f(() => i.readonly && i.mapErrorMessage === as ? os : i.mapErrorMessage), p = P(!1), _ = f(() => i.collapsed != null), v = f(() => _.value ? !!i.collapsed : p.value);
5139
5185
  function x(e) {
5140
5186
  v.value !== e && (_.value || (p.value = e), a("update:collapsed", e));
5141
5187
  }
@@ -5317,7 +5363,7 @@ var jo = { class: "w-map-select__body" }, Mo = {
5317
5363
  if (!r || !a) return;
5318
5364
  let o = je(a);
5319
5365
  if (!o) return;
5320
- let s = Me(a), c = t ? "completo" : Ao(Le(n), Ie(o), s && s !== o ? Ie(s) : null, i.labelFitScale);
5366
+ let s = Me(a), c = t ? "completo" : Po(Le(n), Ie(o), s && s !== o ? Ie(s) : null, i.labelFitScale);
5321
5367
  c !== "oculto" && r.setContent(c === "curto" ? s : o), r.getElement()?.classList.toggle("w-map-select__tip--fora", c === "oculto");
5322
5368
  });
5323
5369
  }
@@ -5447,7 +5493,7 @@ var jo = { class: "w-map-select__body" }, Mo = {
5447
5493
  "w-map-select--overlay": c.value,
5448
5494
  "w-map-select--collapsed": c.value && v.value && !e.readonly
5449
5495
  }])
5450
- }, [g("div", jo, [g("div", {
5496
+ }, [g("div", Fo, [g("div", {
5451
5497
  class: "w-map-select__map",
5452
5498
  style: j({ "--w-map-h": e.height })
5453
5499
  }, [
@@ -5456,7 +5502,7 @@ var jo = { class: "w-map-select__body" }, Mo = {
5456
5502
  ref: z,
5457
5503
  class: "w-map-select__canvas"
5458
5504
  }, null, 512),
5459
- W.value ? (M(), h("div", Mo, [n[1] ||= g("i", { class: "pi pi-map" }, null, -1), g("span", null, L(u.value), 1)])) : e.badgeLabel ? (M(), h("span", No, [n[2] ||= g("i", { class: "pi pi-globe" }, null, -1), y(L(e.badgeLabel), 1)])) : m("", !0),
5505
+ W.value ? (M(), h("div", Io, [n[1] ||= g("i", { class: "pi pi-map" }, null, -1), g("span", null, L(u.value), 1)])) : e.badgeLabel ? (M(), h("span", Lo, [n[2] ||= g("i", { class: "pi pi-globe" }, null, -1), y(L(e.badgeLabel), 1)])) : m("", !0),
5460
5506
  Y.value && e.featureDetail !== "none" ? (M(), h("div", {
5461
5507
  key: 2,
5462
5508
  class: k(["w-map-select__detail", {
@@ -5470,8 +5516,8 @@ var jo = { class: "w-map-select__body" }, Mo = {
5470
5516
  feature: Y.value,
5471
5517
  selected: E(Y.value.id),
5472
5518
  close: Ee
5473
- }, () => [g("span", Po, L(Y.value.nome), 1), Y.value.subtitulo ? (M(), h("span", Fo, L(Y.value.subtitulo), 1)) : m("", !0)])], 6)) : m("", !0)
5474
- ], 4), e.readonly ? m("", !0) : (M(), h("div", Io, [
5519
+ }, () => [g("span", Ro, L(Y.value.nome), 1), Y.value.subtitulo ? (M(), h("span", zo, L(Y.value.subtitulo), 1)) : m("", !0)])], 6)) : m("", !0)
5520
+ ], 4), e.readonly ? m("", !0) : (M(), h("div", Bo, [
5475
5521
  c.value ? (M(), h("button", {
5476
5522
  key: 0,
5477
5523
  type: "button",
@@ -5480,8 +5526,8 @@ var jo = { class: "w-map-select__body" }, Mo = {
5480
5526
  "aria-label": C.value,
5481
5527
  title: C.value,
5482
5528
  onClick: S
5483
- }, [g("i", { class: k(["pi", v.value ? "pi-list" : "pi-chevron-right"]) }, null, 2), e.modelValue.length ? (M(), h("span", Ro, L(e.modelValue.length), 1)) : m("", !0)], 8, Lo)) : m("", !0),
5484
- g("div", zo, [b(R(he), null, {
5529
+ }, [g("i", { class: k(["pi", v.value ? "pi-list" : "pi-chevron-right"]) }, null, 2), e.modelValue.length ? (M(), h("span", Ho, L(e.modelValue.length), 1)) : m("", !0)], 8, Vo)) : m("", !0),
5530
+ g("div", Uo, [b(R(he), null, {
5485
5531
  default: V(() => [b(R(ge), { class: "pi pi-search" }), b(R(q), {
5486
5532
  modelValue: ae.value,
5487
5533
  "onUpdate:modelValue": n[0] ||= (e) => ae.value = e,
@@ -5495,13 +5541,13 @@ var jo = { class: "w-map-select__body" }, Mo = {
5495
5541
  "aria-label"
5496
5542
  ])]),
5497
5543
  _: 1
5498
- }), g("div", Bo, [g("span", Vo, L(re.value), 1), g("button", {
5544
+ }), g("div", Wo, [g("span", Go, L(re.value), 1), g("button", {
5499
5545
  type: "button",
5500
5546
  class: "w-map-select__clear",
5501
5547
  disabled: e.disabled || !e.modelValue.length,
5502
5548
  onClick: A
5503
- }, L(e.clearLabel), 9, Ho)])]),
5504
- g("ul", Uo, [(M(!0), h(d, null, F(se.value, (n) => (M(), h("li", { key: n.id }, [I(t.$slots, "item", {
5549
+ }, L(e.clearLabel), 9, Ko)])]),
5550
+ g("ul", qo, [(M(!0), h(d, null, F(se.value, (n) => (M(), h("li", { key: n.id }, [I(t.$slots, "item", {
5505
5551
  feature: n,
5506
5552
  selected: E(n.id)
5507
5553
  }, () => [g("button", {
@@ -5511,11 +5557,11 @@ var jo = { class: "w-map-select__body" }, Mo = {
5511
5557
  disabled: e.disabled,
5512
5558
  onClick: (e) => D(n.id)
5513
5559
  }, [
5514
- g("span", Go, [E(n.id) ? (M(), h("i", Ko)) : m("", !0)]),
5515
- g("span", qo, [g("span", Jo, L(n.nome), 1), n.subtitulo ? (M(), h("span", Yo, L(n.subtitulo), 1)) : m("", !0)]),
5516
- n.geometria ? m("", !0) : (M(), h("i", Xo)),
5517
- n.area == null ? m("", !0) : (M(), h("span", Zo, L(ce(n)), 1))
5518
- ], 10, Wo)])]))), 128)), se.value.length ? m("", !0) : (M(), h("li", Qo, [I(t.$slots, "empty", {}, () => [y(L(e.emptyMessage), 1)])]))])
5560
+ g("span", Yo, [E(n.id) ? (M(), h("i", Xo)) : m("", !0)]),
5561
+ g("span", Zo, [g("span", Qo, L(n.nome), 1), n.subtitulo ? (M(), h("span", $o, L(n.subtitulo), 1)) : m("", !0)]),
5562
+ n.geometria ? m("", !0) : (M(), h("i", es)),
5563
+ n.area == null ? m("", !0) : (M(), h("span", ts, L(ce(n)), 1))
5564
+ ], 10, Jo)])]))), 128)), se.value.length ? m("", !0) : (M(), h("li", ns, [I(t.$slots, "empty", {}, () => [y(L(e.emptyMessage), 1)])]))])
5519
5565
  ]))]), l.value ? (M(), h("div", {
5520
5566
  key: 0,
5521
5567
  ref_key: "footer",
@@ -5524,13 +5570,13 @@ var jo = { class: "w-map-select__body" }, Mo = {
5524
5570
  }, [I(t.$slots, "footer", {
5525
5571
  area: N.value,
5526
5572
  features: ne.value
5527
- }, () => [g("span", $o, [
5573
+ }, () => [g("span", rs, [
5528
5574
  y(L(e.areaLabel) + " ", 1),
5529
5575
  g("strong", null, L(ue.value), 1),
5530
- g("span", es, L(e.areaSuffix), 1)
5576
+ g("span", is, L(e.areaSuffix), 1)
5531
5577
  ])])], 512)) : m("", !0)], 2));
5532
5578
  }
5533
- }), is = {
5579
+ }), cs = {
5534
5580
  nota: {
5535
5581
  tone: "nota",
5536
5582
  label: "Nota",
@@ -5576,7 +5622,7 @@ var jo = { class: "w-map-select__body" }, Mo = {
5576
5622
  label: "Em aberto",
5577
5623
  icon: "pi pi-question-circle"
5578
5624
  }
5579
- }, as = {
5625
+ }, ls = {
5580
5626
  note: "nota",
5581
5627
  info: "nota",
5582
5628
  observacao: "nota",
@@ -5603,19 +5649,19 @@ var jo = { class: "w-map-select__body" }, Mo = {
5603
5649
  help: "pergunta",
5604
5650
  duvida: "pergunta"
5605
5651
  };
5606
- function os(e) {
5652
+ function us(e) {
5607
5653
  return e.trim().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "");
5608
5654
  }
5609
- function ss(e) {
5610
- let t = os(e);
5611
- return is[t] ?? is[as[t]] ?? null;
5655
+ function ds(e) {
5656
+ let t = us(e);
5657
+ return cs[t] ?? cs[ls[t]] ?? null;
5612
5658
  }
5613
- var cs = new Ne().utils.escapeHtml;
5614
- function ls(e, t) {
5659
+ var fs = new Ne().utils.escapeHtml;
5660
+ function ps(e, t) {
5615
5661
  let n = t?.trim() || e.label;
5616
- return `<div class="md-alert md-alert--${e.tone}"><p class="md-alert__head"><i class="${e.icon}" aria-hidden="true"></i>${cs(n)}</p><div class="md-alert__body">`;
5662
+ return `<div class="md-alert md-alert--${e.tone}"><p class="md-alert__head"><i class="${e.icon}" aria-hidden="true"></i>${fs(n)}</p><div class="md-alert__body">`;
5617
5663
  }
5618
- var us = "</div></div>", ds = {
5664
+ var ms = "</div></div>", hs = {
5619
5665
  bash: () => import("highlight.js/lib/languages/bash"),
5620
5666
  python: () => import("highlight.js/lib/languages/python"),
5621
5667
  javascript: () => import("highlight.js/lib/languages/javascript"),
@@ -5629,7 +5675,7 @@ var us = "</div></div>", ds = {
5629
5675
  ini: () => import("highlight.js/lib/languages/ini"),
5630
5676
  markdown: () => import("highlight.js/lib/languages/markdown"),
5631
5677
  dockerfile: () => import("highlight.js/lib/languages/dockerfile")
5632
- }, fs = {
5678
+ }, gs = {
5633
5679
  sh: "bash",
5634
5680
  shell: "bash",
5635
5681
  zsh: "bash",
@@ -5657,28 +5703,28 @@ var us = "</div></div>", ds = {
5657
5703
  postgres: "sql",
5658
5704
  postgresql: "sql",
5659
5705
  docker: "dockerfile"
5660
- }, ps = null, ms = null;
5661
- function hs() {
5662
- return ps !== null;
5706
+ }, _s = null, vs = null;
5707
+ function ys() {
5708
+ return _s !== null;
5663
5709
  }
5664
- async function gs() {
5665
- if (ps || ms) return ms ?? void 0;
5666
- ms = (async () => {
5710
+ async function bs() {
5711
+ if (_s || vs) return vs ?? void 0;
5712
+ vs = (async () => {
5667
5713
  let e = (await import("highlight.js/lib/core")).default;
5668
- await Promise.all(Object.entries(ds).map(async ([t, n]) => {
5714
+ await Promise.all(Object.entries(hs).map(async ([t, n]) => {
5669
5715
  let r = await n();
5670
5716
  e.registerLanguage(t, r.default);
5671
- })), ps = (t, n) => e.highlight(t, { language: n }).value;
5672
- })(), await ms;
5717
+ })), _s = (t, n) => e.highlight(t, { language: n }).value;
5718
+ })(), await vs;
5673
5719
  }
5674
- function _s(e) {
5675
- let t = os(e);
5676
- return fs[t] ?? t;
5720
+ function xs(e) {
5721
+ let t = us(e);
5722
+ return gs[t] ?? t;
5677
5723
  }
5678
- function vs(e) {
5679
- return os(e).replace(/[^\w\s-]/g, "").trim().replace(/\s+/g, "-") || "secao";
5724
+ function Ss(e) {
5725
+ return us(e).replace(/[^\w\s-]/g, "").trim().replace(/\s+/g, "-") || "secao";
5680
5726
  }
5681
- var ys = /* @__PURE__ */ new Set([
5727
+ var Cs = /* @__PURE__ */ new Set([
5682
5728
  "detalhes",
5683
5729
  "details",
5684
5730
  "passos",
@@ -5689,8 +5735,8 @@ var ys = /* @__PURE__ */ new Set([
5689
5735
  "tabs",
5690
5736
  "aba",
5691
5737
  "tab"
5692
- ]), bs = /^\s*([^\s]+)\s*(.*)$/;
5693
- function xs() {
5738
+ ]), ws = /^\s*([^\s]+)\s*(.*)$/;
5739
+ function Ts() {
5694
5740
  let e = new Ne({
5695
5741
  html: !1,
5696
5742
  linkify: !0,
@@ -5702,16 +5748,16 @@ function xs() {
5702
5748
  3,
5703
5749
  4
5704
5750
  ],
5705
- slugify: vs,
5751
+ slugify: Ss,
5706
5752
  permalink: Z.permalink.linkInsideHeader({
5707
5753
  symbol: "",
5708
5754
  class: "md-anchor",
5709
5755
  placement: "after",
5710
5756
  ariaHidden: !0
5711
5757
  })
5712
- }), Ss(e), ws(e), Ts(e), Es(e), Ds(e), Os(e), ks(e), e;
5758
+ }), Es(e), Os(e), ks(e), As(e), js(e), Ms(e), Ns(e), e;
5713
5759
  }
5714
- function Ss(e) {
5760
+ function Es(e) {
5715
5761
  e.core.ruler.after("block", "lz_alerta", (e) => {
5716
5762
  let t = e.tokens;
5717
5763
  for (let e = 0; e < t.length; e += 1) {
@@ -5721,9 +5767,9 @@ function Ss(e) {
5721
5767
  if (r?.type !== "paragraph_open" || i?.type !== "inline") continue;
5722
5768
  let a = /^\[!([^\]\n]+)\][ \t]*([^\n]*)\n?/.exec(i.content);
5723
5769
  if (!a) continue;
5724
- let o = ss(a[1]);
5770
+ let o = ds(a[1]);
5725
5771
  if (!o) continue;
5726
- let s = Cs(t, e);
5772
+ let s = Ds(t, e);
5727
5773
  s && (i.content = i.content.slice(a[0].length), n.type = "lz_alerta_open", n.tag = "div", n.meta = {
5728
5774
  spec: o,
5729
5775
  titulo: a[2]
@@ -5732,10 +5778,10 @@ function Ss(e) {
5732
5778
  return !0;
5733
5779
  }), e.renderer.rules.lz_alerta_open = (e, t) => {
5734
5780
  let n = e[t].meta;
5735
- return ls(n.spec, n.titulo);
5736
- }, e.renderer.rules.lz_alerta_close = () => us;
5781
+ return ps(n.spec, n.titulo);
5782
+ }, e.renderer.rules.lz_alerta_close = () => ms;
5737
5783
  }
5738
- function Cs(e, t) {
5784
+ function Ds(e, t) {
5739
5785
  let n = 0;
5740
5786
  for (let r = t; r < e.length; r += 1) {
5741
5787
  let t = e[r];
@@ -5744,37 +5790,37 @@ function Cs(e, t) {
5744
5790
  }
5745
5791
  return null;
5746
5792
  }
5747
- function ws(e) {
5793
+ function Os(e) {
5748
5794
  let t = [];
5749
5795
  e.use(Q, "lz", {
5750
5796
  validate: (e) => {
5751
- let t = bs.exec(e);
5797
+ let t = ws.exec(e);
5752
5798
  if (!t) return !1;
5753
- let n = os(t[1]);
5754
- return ys.has(n) || ss(n) !== null;
5799
+ let n = us(t[1]);
5800
+ return Cs.has(n) || ds(n) !== null;
5755
5801
  },
5756
5802
  render: (e, n) => {
5757
5803
  let r = e[n];
5758
5804
  if (r.nesting !== 1) {
5759
5805
  let e = t.pop();
5760
- return e === "detalhes" ? "</div></details>\n" : e === "aba" ? "</section>\n" : e === "alerta" ? `${us}\n` : "</div>\n";
5806
+ return e === "detalhes" ? "</div></details>\n" : e === "aba" ? "</section>\n" : e === "alerta" ? `${ms}\n` : "</div>\n";
5761
5807
  }
5762
- let i = bs.exec(r.info) ?? [
5808
+ let i = ws.exec(r.info) ?? [
5763
5809
  "",
5764
5810
  "",
5765
5811
  ""
5766
- ], a = os(i[1]), o = i[2]?.trim();
5767
- if (a === "detalhes" || a === "details") return t.push("detalhes"), `<details class="md-details"><summary>${cs(o || "Detalhes")}</summary><div class="md-details__body">`;
5812
+ ], a = us(i[1]), o = i[2]?.trim();
5813
+ if (a === "detalhes" || a === "details") return t.push("detalhes"), `<details class="md-details"><summary>${fs(o || "Detalhes")}</summary><div class="md-details__body">`;
5768
5814
  if (a === "passos" || a === "steps") return t.push("bloco"), "<div class=\"md-steps\">";
5769
5815
  if (a === "cards" || a === "grade") return t.push("bloco"), "<div class=\"md-cards\">";
5770
5816
  if (a === "abas" || a === "tabs") return t.push("bloco"), "<div class=\"md-tabs\" data-md-tabs>";
5771
- if (a === "aba" || a === "tab") return t.push("aba"), `<section class="md-tabs__panel" data-md-tab="${cs(o || "Aba")}">`;
5772
- let s = ss(a);
5773
- return s ? (t.push("alerta"), ls(s, o)) : (t.push("bloco"), "<div>");
5817
+ if (a === "aba" || a === "tab") return t.push("aba"), `<section class="md-tabs__panel" data-md-tab="${fs(o || "Aba")}">`;
5818
+ let s = ds(a);
5819
+ return s ? (t.push("alerta"), ps(s, o)) : (t.push("bloco"), "<div>");
5774
5820
  }
5775
5821
  });
5776
5822
  }
5777
- function Ts(e) {
5823
+ function ks(e) {
5778
5824
  e.core.ruler.after("inline", "lz_tarefas", (e) => {
5779
5825
  let t = e.tokens;
5780
5826
  for (let n = 2; n < t.length; n += 1) {
@@ -5791,26 +5837,26 @@ function Ts(e) {
5791
5837
  return !0;
5792
5838
  });
5793
5839
  }
5794
- function Es(e) {
5840
+ function As(e) {
5795
5841
  e.renderer.rules.fence = (e, t) => {
5796
- let n = e[t], r = n.info.trim(), i = r.split(/\s+/)[0] ?? "", a = _s(i), o = /title="([^"]*)"/.exec(r)?.[1];
5797
- if (a === "mermaid") return `<figure class="md-mermaid" data-md-mermaid><pre class="md-mermaid__fonte">${cs(n.content)}</pre>` + (o ? `<figcaption>${cs(o)}</figcaption>` : "") + "</figure>\n";
5798
- let s = ps && ds[a] ? ps(n.content, a) : cs(n.content);
5799
- return `<div class="md-code" data-md-code>${o || i ? `<div class="md-code__bar"><span class="md-code__title">${cs(o ?? "")}</span><span class="md-code__lang">${cs(i)}</span></div>` : ""}<pre class="md-code__pre"><code class="hljs language-${cs(a)}">${s}</code></pre></div>\n`;
5842
+ let n = e[t], r = n.info.trim(), i = r.split(/\s+/)[0] ?? "", a = xs(i), o = /title="([^"]*)"/.exec(r)?.[1];
5843
+ if (a === "mermaid") return `<figure class="md-mermaid" data-md-mermaid><pre class="md-mermaid__fonte">${fs(n.content)}</pre>` + (o ? `<figcaption>${fs(o)}</figcaption>` : "") + "</figure>\n";
5844
+ let s = _s && hs[a] ? _s(n.content, a) : fs(n.content);
5845
+ return `<div class="md-code" data-md-code>${o || i ? `<div class="md-code__bar"><span class="md-code__title">${fs(o ?? "")}</span><span class="md-code__lang">${fs(i)}</span></div>` : ""}<pre class="md-code__pre"><code class="hljs language-${fs(a)}">${s}</code></pre></div>\n`;
5800
5846
  };
5801
5847
  }
5802
- function Ds(e) {
5848
+ function js(e) {
5803
5849
  let t = e.renderer.rules.table_open;
5804
5850
  e.renderer.rules.table_open = (e, n, r, i, a) => `<div class="md-table">${t ? t(e, n, r, i, a) : a.renderToken(e, n, r)}`, e.renderer.rules.table_close = (e, t, n, r, i) => `${i.renderToken(e, t, n)}</div>`;
5805
5851
  }
5806
- function Os(e) {
5852
+ function Ms(e) {
5807
5853
  let t = e.renderer.rules.link_open;
5808
5854
  e.renderer.rules.link_open = (e, n, r, i, a) => {
5809
5855
  let o = String(e[n].attrGet("href") ?? "");
5810
5856
  return /^https?:\/\//i.test(o) && (e[n].attrSet("target", "_blank"), e[n].attrSet("rel", "noopener noreferrer"), e[n].attrJoin("class", "md-link-externo")), t ? t(e, n, r, i, a) : a.renderToken(e, n, r);
5811
5857
  };
5812
5858
  }
5813
- function ks(e) {
5859
+ function Ns(e) {
5814
5860
  e.core.ruler.after("inline", "lz_figuras", (e) => {
5815
5861
  let t = e.tokens;
5816
5862
  for (let e = 1; e < t.length - 1; e += 1) {
@@ -5826,17 +5872,17 @@ function ks(e) {
5826
5872
  let o = t ? t(e, n, r, i, a) : a.renderToken(e, n, r);
5827
5873
  if (!e[n].meta?.figura) return o;
5828
5874
  let s = e[n].content?.trim();
5829
- return s ? `${o}<figcaption>${cs(s)}</figcaption>` : o;
5875
+ return s ? `${o}<figcaption>${fs(s)}</figcaption>` : o;
5830
5876
  };
5831
5877
  }
5832
- var As = null;
5833
- function js() {
5834
- return As ||= xs(), As;
5878
+ var Ps = null;
5879
+ function Fs() {
5880
+ return Ps ||= Ts(), Ps;
5835
5881
  }
5836
- function Ms(e) {
5882
+ function Is(e) {
5837
5883
  return (e.children ?? []).filter((e) => e.type === "text" || e.type === "code_inline").map((e) => e.content).join("").trim();
5838
5884
  }
5839
- function Ns(e) {
5885
+ function Ls(e) {
5840
5886
  let t = [];
5841
5887
  for (let n = 0; n < e.length; n += 1) {
5842
5888
  let r = e[n];
@@ -5846,13 +5892,13 @@ function Ns(e) {
5846
5892
  let a = String(r.attrGet("id") ?? ""), o = e[n + 1];
5847
5893
  !a || o?.type !== "inline" || t.push({
5848
5894
  id: a,
5849
- text: Ms(o),
5895
+ text: Is(o),
5850
5896
  level: i
5851
5897
  });
5852
5898
  }
5853
5899
  return t;
5854
5900
  }
5855
- function Ps(e) {
5901
+ function Rs(e) {
5856
5902
  return Pe.sanitize(e, { ADD_ATTR: [
5857
5903
  "target",
5858
5904
  "open",
@@ -5860,16 +5906,16 @@ function Ps(e) {
5860
5906
  "disabled"
5861
5907
  ] });
5862
5908
  }
5863
- function Fs(e) {
5864
- let t = js(), n = {}, r = t.parse(e ?? "", n);
5909
+ function zs(e) {
5910
+ let t = Fs(), n = {}, r = t.parse(e ?? "", n);
5865
5911
  return {
5866
- html: Ps(t.renderer.render(r, t.options, n)),
5867
- headings: Ns(r)
5912
+ html: Rs(t.renderer.render(r, t.options, n)),
5913
+ headings: Ls(r)
5868
5914
  };
5869
5915
  }
5870
5916
  //#endregion
5871
5917
  //#region src/utils/markdownEnhance.ts
5872
- function Is(e) {
5918
+ function Bs(e) {
5873
5919
  e.querySelectorAll("[data-md-code]").forEach((e) => {
5874
5920
  if (e.dataset.mdPronto) return;
5875
5921
  e.dataset.mdPronto = "1";
@@ -5884,7 +5930,7 @@ function Is(e) {
5884
5930
  }), e.appendChild(t);
5885
5931
  });
5886
5932
  }
5887
- function Ls(e) {
5933
+ function Vs(e) {
5888
5934
  let t = Array.from(e.querySelectorAll(".md-tabs__panel")).filter((e) => !e.parentElement?.hasAttribute("data-md-tabs")), n = /* @__PURE__ */ new Set();
5889
5935
  t.forEach((e) => {
5890
5936
  if (n.has(e)) return;
@@ -5895,8 +5941,8 @@ function Ls(e) {
5895
5941
  i.className = "md-tabs", i.setAttribute("data-md-tabs", ""), e.before(i), t.forEach((e) => i.appendChild(e));
5896
5942
  });
5897
5943
  }
5898
- function Rs(e) {
5899
- Ls(e), e.querySelectorAll("[data-md-tabs]").forEach((e, t) => {
5944
+ function Hs(e) {
5945
+ Vs(e), e.querySelectorAll("[data-md-tabs]").forEach((e, t) => {
5900
5946
  if (e.dataset.mdPronto) return;
5901
5947
  let n = Array.from(e.querySelectorAll(":scope > .md-tabs__panel"));
5902
5948
  if (!n.length) return;
@@ -5918,11 +5964,11 @@ function Rs(e) {
5918
5964
  e.prepend(r), a(0);
5919
5965
  });
5920
5966
  }
5921
- var zs = null, Bs = 0;
5922
- async function Vs() {
5923
- return zs ||= import("mermaid").then((e) => e.default), zs;
5967
+ var Us = null, Ws = 0;
5968
+ async function Gs() {
5969
+ return Us ||= import("mermaid").then((e) => e.default), Us;
5924
5970
  }
5925
- var Hs = /* @__PURE__ */ new Set([
5971
+ var Ks = /* @__PURE__ */ new Set([
5926
5972
  "script",
5927
5973
  "iframe",
5928
5974
  "object",
@@ -5938,59 +5984,59 @@ var Hs = /* @__PURE__ */ new Set([
5938
5984
  "animate",
5939
5985
  "set"
5940
5986
  ]);
5941
- function Us(e) {
5987
+ function qs(e) {
5942
5988
  for (let t of Array.from(e.attributes)) {
5943
5989
  let n = t.name.toLowerCase(), r = t.value.trim().toLowerCase(), i = n === "href" || n === "xlink:href" || n === "src";
5944
5990
  (n.startsWith("on") || i && /^(javascript|data|vbscript):/.test(r)) && e.removeAttribute(t.name);
5945
5991
  }
5946
- for (let t of Array.from(e.children)) Hs.has(t.localName.toLowerCase()) ? t.remove() : Us(t);
5992
+ for (let t of Array.from(e.children)) Ks.has(t.localName.toLowerCase()) ? t.remove() : qs(t);
5947
5993
  }
5948
- function Ws(e) {
5994
+ function Js(e) {
5949
5995
  let t = new DOMParser().parseFromString(e, "image/svg+xml");
5950
5996
  if (t.querySelector("parsererror")) return null;
5951
5997
  let n = t.documentElement;
5952
- return n.localName.toLowerCase() === "svg" ? (Us(n), n) : null;
5998
+ return n.localName.toLowerCase() === "svg" ? (qs(n), n) : null;
5953
5999
  }
5954
- function Gs(e, t, n) {
6000
+ function Ys(e, t, n) {
5955
6001
  return e.getPropertyValue(t).trim() || n;
5956
6002
  }
5957
- function Ks(e) {
5958
- let t = getComputedStyle(document.documentElement), n = Gs(t, "--surface", "#ffffff"), r = Gs(t, "--fg", "#141a22"), i = Gs(t, "--primary", "#1f5092"), a = Gs(t, "--primary-soft", "#eef4fb"), o = Gs(t, "--border-strong", "#cdd6e2");
6003
+ function Xs(e) {
6004
+ let t = getComputedStyle(document.documentElement), n = Ys(t, "--surface", "#ffffff"), r = Ys(t, "--fg", "#141a22"), i = Ys(t, "--primary", "#1f5092"), a = Ys(t, "--primary-soft", "#eef4fb"), o = Ys(t, "--border-strong", "#cdd6e2");
5959
6005
  e.initialize({
5960
6006
  startOnLoad: !1,
5961
6007
  securityLevel: "strict",
5962
6008
  theme: "base",
5963
- fontFamily: Gs(t, "--font-sans", "inherit"),
6009
+ fontFamily: Ys(t, "--font-sans", "inherit"),
5964
6010
  flowchart: { useMaxWidth: !0 },
5965
6011
  themeVariables: {
5966
6012
  background: n,
5967
6013
  primaryColor: a,
5968
6014
  primaryTextColor: r,
5969
6015
  primaryBorderColor: i,
5970
- secondaryColor: Gs(t, "--surface-3", "#eef2f7"),
5971
- tertiaryColor: Gs(t, "--surface-2", "#f8fafc"),
6016
+ secondaryColor: Ys(t, "--surface-3", "#eef2f7"),
6017
+ tertiaryColor: Ys(t, "--surface-2", "#f8fafc"),
5972
6018
  lineColor: o,
5973
6019
  textColor: r,
5974
6020
  mainBkg: a,
5975
6021
  nodeBorder: i,
5976
- clusterBkg: Gs(t, "--surface-2", "#f8fafc"),
6022
+ clusterBkg: Ys(t, "--surface-2", "#f8fafc"),
5977
6023
  clusterBorder: o,
5978
6024
  fontSize: "13px"
5979
6025
  }
5980
6026
  });
5981
6027
  }
5982
- async function qs(e, t = !1) {
6028
+ async function Zs(e, t = !1) {
5983
6029
  let n = Array.from(e.querySelectorAll("[data-md-mermaid]")).filter((e) => t || !e.dataset.mdEstado);
5984
6030
  if (!n.length) return;
5985
- let r = await Vs();
5986
- Ks(r);
6031
+ let r = await Gs();
6032
+ Xs(r);
5987
6033
  for (let e of n) {
5988
6034
  let t = e.querySelector(".md-mermaid__fonte")?.textContent ?? "";
5989
6035
  if (t.trim()) {
5990
6036
  e.querySelector(".md-mermaid__svg")?.remove();
5991
6037
  try {
5992
- Bs += 1;
5993
- let { svg: n } = await r.render(`md-diagrama-${Bs}`, t), i = Ws(n);
6038
+ Ws += 1;
6039
+ let { svg: n } = await r.render(`md-diagrama-${Ws}`, t), i = Js(n);
5994
6040
  if (!i) {
5995
6041
  e.dataset.mdEstado = "erro";
5996
6042
  continue;
@@ -6003,15 +6049,15 @@ async function qs(e, t = !1) {
6003
6049
  }
6004
6050
  }
6005
6051
  }
6006
- async function Js(e) {
6007
- e && (Is(e), Rs(e), await qs(e));
6052
+ async function Qs(e) {
6053
+ e && (Bs(e), Hs(e), await Zs(e));
6008
6054
  }
6009
6055
  //#endregion
6010
6056
  //#region src/components/ui/WMarkdownView.vue?vue&type=script&setup=true&lang.ts
6011
- var Ys = {
6057
+ var $s = {
6012
6058
  key: 0,
6013
6059
  class: "w-markdown-view w-markdown-view--empty"
6014
- }, Xs = ["innerHTML"], Zs = /* @__PURE__ */ x({
6060
+ }, ec = ["innerHTML"], tc = /* @__PURE__ */ x({
6015
6061
  __name: "WMarkdownView",
6016
6062
  props: {
6017
6063
  source: {},
@@ -6019,42 +6065,42 @@ var Ys = {
6019
6065
  },
6020
6066
  emits: ["headings"],
6021
6067
  setup(e, { emit: t }) {
6022
- let n = e, r = t, i = P(null), a = P(hs()), o = f(() => (a.value, Fs(n.source ?? ""))), s = f(() => o.value.html), c = f(() => !n.source || !n.source.trim());
6023
- B(o, (e) => r("headings", e.headings), { immediate: !0 }), B(s, () => void O(() => Js(i.value)));
6068
+ let n = e, r = t, i = P(null), a = P(ys()), o = f(() => (a.value, zs(n.source ?? ""))), s = f(() => o.value.html), c = f(() => !n.source || !n.source.trim());
6069
+ B(o, (e) => r("headings", e.headings), { immediate: !0 }), B(s, () => void O(() => Qs(i.value)));
6024
6070
  let l = null;
6025
6071
  function u() {
6026
- typeof MutationObserver > "u" || (l = new MutationObserver(() => void qs(i.value, !0)), l.observe(document.documentElement, {
6072
+ typeof MutationObserver > "u" || (l = new MutationObserver(() => void Zs(i.value, !0)), l.observe(document.documentElement, {
6027
6073
  attributes: !0,
6028
6074
  attributeFilter: ["class"]
6029
6075
  }));
6030
6076
  }
6031
6077
  return te(async () => {
6032
- await O(), await Js(i.value), u(), a.value ||= (await gs(), !0);
6033
- }), ee(() => l?.disconnect()), (t, n) => c.value ? (M(), h("div", Ys, L(e.emptyText), 1)) : (M(), h("div", {
6078
+ await O(), await Qs(i.value), u(), a.value ||= (await bs(), !0);
6079
+ }), ee(() => l?.disconnect()), (t, n) => c.value ? (M(), h("div", $s, L(e.emptyText), 1)) : (M(), h("div", {
6034
6080
  key: 1,
6035
6081
  ref_key: "raiz",
6036
6082
  ref: i,
6037
6083
  class: "w-markdown-view",
6038
6084
  innerHTML: s.value
6039
- }, null, 8, Xs));
6085
+ }, null, 8, ec));
6040
6086
  }
6041
- }), Qs = {
6087
+ }), nc = {
6042
6088
  class: "w-markdown-editor__toolbar",
6043
6089
  role: "toolbar",
6044
6090
  "aria-label": "Formatação markdown"
6045
- }, $s = [
6091
+ }, rc = [
6046
6092
  "aria-label",
6047
6093
  "title",
6048
6094
  "disabled",
6049
6095
  "onClick"
6050
- ], ec = ["aria-pressed"], tc = ["aria-pressed"], nc = {
6096
+ ], ic = ["aria-pressed"], ac = ["aria-pressed"], oc = {
6051
6097
  key: 0,
6052
6098
  class: "w-markdown-editor__ajuda"
6053
- }, rc = [
6099
+ }, sc = [
6054
6100
  "value",
6055
6101
  "disabled",
6056
6102
  "placeholder"
6057
- ], ic = /* @__PURE__ */ x({
6103
+ ], cc = /* @__PURE__ */ x({
6058
6104
  __name: "WMarkdownEditor",
6059
6105
  props: {
6060
6106
  modelValue: {},
@@ -6236,7 +6282,7 @@ var Ys = {
6236
6282
  }
6237
6283
  ];
6238
6284
  return (t, n) => (M(), h("div", { class: k(["w-markdown-editor", { "w-markdown-editor--split": o.value }]) }, [
6239
- g("div", Qs, [
6285
+ g("div", nc, [
6240
6286
  (M(), h(d, null, F(ie, (t) => g("button", {
6241
6287
  key: t.label,
6242
6288
  type: "button",
@@ -6256,7 +6302,7 @@ var Ys = {
6256
6302
  "w-markdown-editor__glyph--italic": t.glyph === "I"
6257
6303
  }]),
6258
6304
  "aria-hidden": "true"
6259
- }, L(t.glyph), 3))], 8, $s)), 64)),
6305
+ }, L(t.glyph), 3))], 8, rc)), 64)),
6260
6306
  g("button", {
6261
6307
  type: "button",
6262
6308
  class: k(["w-markdown-editor__tool w-markdown-editor__tool--ajuda", { "w-markdown-editor__tool--active": N.value }]),
@@ -6267,7 +6313,7 @@ var Ys = {
6267
6313
  }, [...n[1] ||= [g("i", {
6268
6314
  class: "pi pi-question-circle",
6269
6315
  "aria-hidden": "true"
6270
- }, null, -1)]], 10, ec),
6316
+ }, null, -1)]], 10, ic),
6271
6317
  o.value ? m("", !0) : (M(), h("button", {
6272
6318
  key: 0,
6273
6319
  type: "button",
@@ -6279,9 +6325,9 @@ var Ys = {
6279
6325
  }, [g("i", {
6280
6326
  class: k(a.value ? "pi pi-pencil" : "pi pi-eye"),
6281
6327
  "aria-hidden": "true"
6282
- }, null, 2)], 10, tc))
6328
+ }, null, 2)], 10, ac))
6283
6329
  ]),
6284
- N.value ? (M(), h("dl", nc, [(M(), h(d, null, F(re, (e) => (M(), h(d, { key: e.sintaxe }, [g("dt", null, L(e.sintaxe), 1), g("dd", null, L(e.efeito), 1)], 64))), 64))])) : m("", !0),
6330
+ N.value ? (M(), h("dl", oc, [(M(), h(d, null, F(re, (e) => (M(), h(d, { key: e.sintaxe }, [g("dt", null, L(e.sintaxe), 1), g("dd", null, L(e.efeito), 1)], 64))), 64))])) : m("", !0),
6285
6331
  g("div", {
6286
6332
  class: "w-markdown-editor__body",
6287
6333
  style: j({
@@ -6298,7 +6344,7 @@ var Ys = {
6298
6344
  placeholder: e.placeholder,
6299
6345
  spellcheck: "false",
6300
6346
  onInput: l
6301
- }, null, 40, rc)) : m("", !0), c.value ? (M(), p(Zs, {
6347
+ }, null, 40, sc)) : m("", !0), c.value ? (M(), p(tc, {
6302
6348
  key: 1,
6303
6349
  class: "w-markdown-editor__preview",
6304
6350
  source: e.modelValue,
@@ -6306,28 +6352,28 @@ var Ys = {
6306
6352
  }, null, 8, ["source"])) : m("", !0)], 4)
6307
6353
  ], 2));
6308
6354
  }
6309
- }), ac = {
6355
+ }), lc = {
6310
6356
  key: 0,
6311
6357
  class: "w-md-toc",
6312
6358
  "aria-label": "Índice do documento"
6313
- }, oc = { class: "w-md-toc__titulo" }, sc = {
6359
+ }, uc = { class: "w-md-toc__titulo" }, dc = {
6314
6360
  key: 0,
6315
6361
  class: "w-md-toc__busca"
6316
- }, cc = { class: "w-md-toc__lista" }, lc = [
6362
+ }, fc = { class: "w-md-toc__lista" }, pc = [
6317
6363
  "aria-expanded",
6318
6364
  "aria-label",
6319
6365
  "onClick"
6320
- ], uc = {
6366
+ ], mc = {
6321
6367
  key: 1,
6322
6368
  class: "w-md-toc__chevron w-md-toc__chevron--vazio",
6323
6369
  "aria-hidden": "true"
6324
- }, dc = ["href", "onClick"], fc = {
6370
+ }, hc = ["href", "onClick"], gc = {
6325
6371
  key: 0,
6326
6372
  class: "w-md-toc__lista"
6327
- }, pc = ["href", "onClick"], mc = {
6373
+ }, _c = ["href", "onClick"], vc = {
6328
6374
  key: 0,
6329
6375
  class: "w-md-toc__vazio"
6330
- }, hc = /* @__PURE__ */ x({
6376
+ }, yc = /* @__PURE__ */ x({
6331
6377
  __name: "WMarkdownToc",
6332
6378
  props: {
6333
6379
  headings: {},
@@ -6383,9 +6429,9 @@ var Ys = {
6383
6429
  block: "start"
6384
6430
  }));
6385
6431
  }
6386
- return B(() => t.headings, () => void O(_), { immediate: !0 }), ee(() => a?.disconnect()), (t, i) => e.headings.length >= e.minHeadings ? (M(), h("nav", ac, [
6387
- g("p", oc, L(e.title), 1),
6388
- e.searchable ? (M(), h("div", sc, [i[1] ||= g("i", {
6432
+ return B(() => t.headings, () => void O(_), { immediate: !0 }), ee(() => a?.disconnect()), (t, i) => e.headings.length >= e.minHeadings ? (M(), h("nav", lc, [
6433
+ g("p", uc, L(e.title), 1),
6434
+ e.searchable ? (M(), h("div", dc, [i[1] ||= g("i", {
6389
6435
  class: "pi pi-search",
6390
6436
  "aria-hidden": "true"
6391
6437
  }, null, -1), H(g("input", {
@@ -6397,7 +6443,7 @@ var Ys = {
6397
6443
  g("div", {
6398
6444
  class: "w-md-toc__corpo",
6399
6445
  style: j({ maxHeight: e.maxHeight })
6400
- }, [g("ul", cc, [(M(!0), h(d, null, F(c.value, (e) => (M(), h("li", {
6446
+ }, [g("ul", fc, [(M(!0), h(d, null, F(c.value, (e) => (M(), h("li", {
6401
6447
  key: e.titulo.id,
6402
6448
  class: "w-md-toc__grupo"
6403
6449
  }, [g("div", { class: k(["w-md-toc__item w-md-toc__item--n2", { "w-md-toc__item--ativo": n.value === e.titulo.id }]) }, [e.filhos.length ? (M(), h("button", {
@@ -6410,19 +6456,19 @@ var Ys = {
6410
6456
  }, [g("i", {
6411
6457
  class: k(u(e) ? "pi pi-chevron-down" : "pi pi-chevron-right"),
6412
6458
  "aria-hidden": "true"
6413
- }, null, 2)], 8, lc)) : (M(), h("span", uc)), g("a", {
6459
+ }, null, 2)], 8, pc)) : (M(), h("span", mc)), g("a", {
6414
6460
  href: `#${e.titulo.id}`,
6415
6461
  onClick: W((t) => v(e.titulo.id), ["prevent"])
6416
- }, L(e.titulo.text), 9, dc)], 2), u(e) ? (M(), h("ul", fc, [(M(!0), h(d, null, F(e.filhos, (e) => (M(), h("li", {
6462
+ }, L(e.titulo.text), 9, hc)], 2), u(e) ? (M(), h("ul", gc, [(M(!0), h(d, null, F(e.filhos, (e) => (M(), h("li", {
6417
6463
  key: e.id,
6418
6464
  class: k(["w-md-toc__item w-md-toc__item--n3", { "w-md-toc__item--ativo": n.value === e.id }])
6419
6465
  }, [g("a", {
6420
6466
  href: `#${e.id}`,
6421
6467
  onClick: W((t) => v(e.id), ["prevent"])
6422
- }, L(e.text), 9, pc)], 2))), 128))])) : m("", !0)]))), 128))]), l.value && !c.value.length ? (M(), h("p", mc, "Nenhuma seção encontrada")) : m("", !0)], 4)
6468
+ }, L(e.text), 9, _c)], 2))), 128))])) : m("", !0)]))), 128))]), l.value && !c.value.length ? (M(), h("p", vc, "Nenhuma seção encontrada")) : m("", !0)], 4)
6423
6469
  ])) : m("", !0);
6424
6470
  }
6425
- }), gc = /* @__PURE__ */ x({
6471
+ }), bc = /* @__PURE__ */ x({
6426
6472
  name: "WDialog",
6427
6473
  inheritAttrs: !1,
6428
6474
  __name: "WDialog",
@@ -6433,16 +6479,16 @@ var Ys = {
6433
6479
  fn: V((t) => [I(e.$slots, n, A(S(t ?? {})))])
6434
6480
  }))]), 1040, ["append-to"]));
6435
6481
  }
6436
- }), _c = ["aria-label"], vc = [
6482
+ }), xc = ["aria-label"], Sc = [
6437
6483
  "aria-selected",
6438
6484
  "tabindex",
6439
6485
  "disabled",
6440
6486
  "onClick",
6441
6487
  "onKeydown"
6442
- ], yc = {
6488
+ ], Cc = {
6443
6489
  key: 1,
6444
6490
  class: "w-tab-bar__badge"
6445
- }, bc = /* @__PURE__ */ x({
6491
+ }, wc = /* @__PURE__ */ x({
6446
6492
  __name: "WTabBar",
6447
6493
  props: {
6448
6494
  modelValue: {},
@@ -6491,20 +6537,20 @@ var Ys = {
6491
6537
  "aria-hidden": "true"
6492
6538
  }, null, 2)) : m("", !0),
6493
6539
  g("span", null, L(t.label), 1),
6494
- t.badge !== void 0 && t.badge !== null ? (M(), h("span", yc, L(t.badge), 1)) : m("", !0)
6495
- ], 42, vc))), 128))], 8, _c));
6540
+ t.badge !== void 0 && t.badge !== null ? (M(), h("span", Cc, L(t.badge), 1)) : m("", !0)
6541
+ ], 42, Sc))), 128))], 8, xc));
6496
6542
  }
6497
- }), xc = { class: "w-tab-nav" }, Sc = ["aria-label"], Cc = [
6543
+ }), Tc = { class: "w-tab-nav" }, Ec = ["aria-label"], Dc = [
6498
6544
  "tabindex",
6499
6545
  "aria-selected",
6500
6546
  "onClick",
6501
6547
  "onAuxclick",
6502
6548
  "onContextmenu",
6503
6549
  "onKeydown"
6504
- ], wc = ["title"], Tc = ["aria-label", "onClick"], Ec = ["aria-label", "onClick"], Dc = {
6550
+ ], Oc = ["title"], kc = ["aria-label", "onClick"], Ac = ["aria-label", "onClick"], jc = {
6505
6551
  key: 0,
6506
6552
  class: "w-tab-nav__actions"
6507
- }, Oc = /* @__PURE__ */ x({
6553
+ }, Mc = /* @__PURE__ */ x({
6508
6554
  __name: "WTabNav",
6509
6555
  props: {
6510
6556
  tabs: {},
@@ -6601,7 +6647,7 @@ var Ys = {
6601
6647
  let t = i.value[e]?.group;
6602
6648
  return !!t && t !== i.value[e - 1]?.group;
6603
6649
  }
6604
- return (t, n) => (M(), h("div", xc, [
6650
+ return (t, n) => (M(), h("div", Tc, [
6605
6651
  g("div", {
6606
6652
  ref_key: "trilho",
6607
6653
  ref: s,
@@ -6643,7 +6689,7 @@ var Ys = {
6643
6689
  }, null, 2)) : m("", !0), g("span", {
6644
6690
  class: "w-tab-nav__title",
6645
6691
  title: e.title
6646
- }, L(e.title), 9, wc)]),
6692
+ }, L(e.title), 9, Oc)]),
6647
6693
  g("button", {
6648
6694
  type: "button",
6649
6695
  class: "w-tab-nav__menu",
@@ -6653,7 +6699,7 @@ var Ys = {
6653
6699
  }, [...n[0] ||= [g("i", {
6654
6700
  class: "pi pi-ellipsis-v",
6655
6701
  "aria-hidden": "true"
6656
- }, null, -1)]], 8, Tc),
6702
+ }, null, -1)]], 8, kc),
6657
6703
  e.closable ? (M(), h("button", {
6658
6704
  key: 0,
6659
6705
  type: "button",
@@ -6664,9 +6710,9 @@ var Ys = {
6664
6710
  }, [...n[1] ||= [g("i", {
6665
6711
  class: "pi pi-times",
6666
6712
  "aria-hidden": "true"
6667
- }, null, -1)]], 8, Ec)) : m("", !0)
6668
- ], 46, Cc)], 64))), 128))], 8, Sc),
6669
- t.$slots.actions ? (M(), h("div", Dc, [I(t.$slots, "actions")])) : m("", !0),
6713
+ }, null, -1)]], 8, Ac)) : m("", !0)
6714
+ ], 46, Dc)], 64))), 128))], 8, Ec),
6715
+ t.$slots.actions ? (M(), h("div", jc, [I(t.$slots, "actions")])) : m("", !0),
6670
6716
  b(R(ve), {
6671
6717
  ref_key: "menu",
6672
6718
  ref: _,
@@ -6674,7 +6720,7 @@ var Ys = {
6674
6720
  }, null, 8, ["model"])
6675
6721
  ]));
6676
6722
  }
6677
- }), kc = x({
6723
+ }), Nc = x({
6678
6724
  name: "WTabPane",
6679
6725
  props: {
6680
6726
  tab: {
@@ -6720,7 +6766,7 @@ var Ys = {
6720
6766
  key: e.tab.remount
6721
6767
  }) : null;
6722
6768
  }
6723
- }), Ac = { class: "w-tab-viewport" }, jc = { class: "w-tab-viewport__scroll" }, Mc = /* @__PURE__ */ x({
6769
+ }), Pc = { class: "w-tab-viewport" }, Fc = { class: "w-tab-viewport__scroll" }, Ic = /* @__PURE__ */ x({
6724
6770
  __name: "WTabViewport",
6725
6771
  props: { tabs: {} },
6726
6772
  setup(e) {
@@ -6740,12 +6786,12 @@ var Ys = {
6740
6786
  return B(r, (e) => {
6741
6787
  let t = new Set(e.map((e) => e.key));
6742
6788
  for (let e of i.keys()) t.has(e) || i.delete(e);
6743
- }), (t, i) => (M(), h("div", Ac, [(M(!0), h(d, null, F(r.value, (t) => H((M(), h("div", {
6789
+ }), (t, i) => (M(), h("div", Pc, [(M(!0), h(d, null, F(r.value, (t) => H((M(), h("div", {
6744
6790
  key: `${t.key}#${t.remount}`,
6745
6791
  ref_for: !0,
6746
6792
  ref: (e) => o(t.key, e),
6747
6793
  class: "w-tab-viewport__pane"
6748
- }, [g("div", jc, [b(R(kc), {
6794
+ }, [g("div", Fc, [b(R(Nc), {
6749
6795
  tab: t,
6750
6796
  api: e.tabs,
6751
6797
  active: t.key === n.value,
@@ -6757,26 +6803,26 @@ var Ys = {
6757
6803
  "host-el"
6758
6804
  ])])])), [[z, t.key === n.value]])), 128))]));
6759
6805
  }
6760
- }), Nc = ["aria-busy"], Pc = { class: "w-kanban-board__header" }, Fc = { class: "w-kanban-board__title" }, Ic = { class: "w-kanban-board__count" }, Lc = [
6806
+ }), Lc = ["aria-busy"], Rc = { class: "w-kanban-board__header" }, zc = { class: "w-kanban-board__title" }, Bc = { class: "w-kanban-board__count" }, Vc = [
6761
6807
  "aria-label",
6762
6808
  "onDragover",
6763
6809
  "onDragleave",
6764
6810
  "onDrop"
6765
- ], Rc = {
6811
+ ], Hc = {
6766
6812
  key: 0,
6767
6813
  class: "w-kanban-board__indicator"
6768
- }, zc = [
6814
+ }, Uc = [
6769
6815
  "draggable",
6770
6816
  "onDragstart",
6771
6817
  "onClick",
6772
6818
  "onKeydown"
6773
- ], Bc = { class: "w-kanban-board__card-fallback" }, Vc = {
6819
+ ], Wc = { class: "w-kanban-board__card-fallback" }, Gc = {
6774
6820
  key: 0,
6775
6821
  class: "w-kanban-board__indicator"
6776
- }, Hc = {
6822
+ }, Kc = {
6777
6823
  key: 1,
6778
6824
  class: "w-kanban-board__empty"
6779
- }, Uc = /* @__PURE__ */ x({
6825
+ }, qc = /* @__PURE__ */ x({
6780
6826
  __name: "WKanbanBoard",
6781
6827
  props: {
6782
6828
  columns: {},
@@ -6879,7 +6925,7 @@ var Ys = {
6879
6925
  key: r.value,
6880
6926
  class: k(["w-kanban-board__column", { "w-kanban-board__column--over": !!i.value && a.value?.column === r.value }]),
6881
6927
  style: j(r.accent ? { "--w-kanban-accent": r.accent } : void 0)
6882
- }, [g("header", Pc, [I(t.$slots, "column-header", { column: r }, () => [g("span", Fc, L(r.label), 1), g("span", Ic, L(r.items.length), 1)]), I(t.$slots, "column-action", { column: r })]), g("div", {
6928
+ }, [g("header", Rc, [I(t.$slots, "column-header", { column: r }, () => [g("span", zc, L(r.label), 1), g("span", Bc, L(r.items.length), 1)]), I(t.$slots, "column-action", { column: r })]), g("div", {
6883
6929
  ref_for: !0,
6884
6930
  ref: (e) => s(r.value, e),
6885
6931
  class: "w-kanban-board__list",
@@ -6893,7 +6939,7 @@ var Ys = {
6893
6939
  onDragleave: (e) => b(r, e),
6894
6940
  onDrop: (e) => x(r, e)
6895
6941
  }, [
6896
- (M(!0), h(d, null, F(r.items, (e, n) => (M(), h(d, { key: String(c(e)) }, [T(r, n) ? (M(), h("div", Rc)) : m("", !0), g("div", {
6942
+ (M(!0), h(d, null, F(r.items, (e, n) => (M(), h(d, { key: String(c(e)) }, [T(r, n) ? (M(), h("div", Hc)) : m("", !0), g("div", {
6897
6943
  class: k(["w-kanban-board__card", {
6898
6944
  "w-kanban-board__card--dragging": f(e),
6899
6945
  "w-kanban-board__card--static": !u(e)
@@ -6908,13 +6954,13 @@ var Ys = {
6908
6954
  }, [I(t.$slots, "card", {
6909
6955
  item: e,
6910
6956
  column: r
6911
- }, () => [g("span", Bc, L(l(e)), 1)])], 42, zc)], 64))), 128)),
6912
- T(r, r.items.length) ? (M(), h("div", Vc)) : m("", !0),
6913
- r.items.length ? m("", !0) : (M(), h("div", Hc, [I(t.$slots, "empty-column", { column: r }, () => [n[0] ||= y("Nenhum item", -1)])]))
6914
- ], 44, Lc)], 6))), 128))], 10, Nc));
6957
+ }, () => [g("span", Wc, L(l(e)), 1)])], 42, Uc)], 64))), 128)),
6958
+ T(r, r.items.length) ? (M(), h("div", Gc)) : m("", !0),
6959
+ r.items.length ? m("", !0) : (M(), h("div", Kc, [I(t.$slots, "empty-column", { column: r }, () => [n[0] ||= y("Nenhum item", -1)])]))
6960
+ ], 44, Vc)], 6))), 128))], 10, Lc));
6915
6961
  }
6916
6962
  });
6917
6963
  //#endregion
6918
- export { pi as A, Gt as B, Wi as C, Mi as D, ji as E, zn as F, mt as G, Nt as H, Rn as I, Je as J, vt as K, Fn as L, oi as M, Jr as N, Pi as O, Sr as P, Nn as R, Yi as S, Li as T, kt as U, Pt as V, _t as W, ja as _, gc as a, da as b, Zs as c, yo as d, Ya as f, Ra as g, Ha as h, bc as i, si as j, Di as k, rs as l, qa as m, Mc as n, hc as o, Ja as p, ht as q, Oc as r, ic as s, Uc as t, Do as u, Ca as v, Ri as w, na as x, Sa as y, on as z };
6964
+ export { _i as A, Gt as B, Ji as C, Ii as D, Fi as E, zn as F, mt as G, Nt as H, Rn as I, Je as J, vt as K, Fn as L, ui as M, Qr as N, Ri as O, Sr as P, Nn as R, $i as S, Vi as T, kt as U, Pt as V, _t as W, Fa as _, bc as a, ha as b, tc as c, Co as d, $a as f, Ha as g, Ka as h, wc as i, di as j, ji as k, ss as l, Za as m, Ic as n, yc as o, Qa as p, ht as q, Mc as r, cc as s, qc as t, jo as u, Da as v, Hi as w, oa as x, Ea as y, on as z };
6919
6965
 
6920
- //# sourceMappingURL=components-IFeCNSdg.js.map
6966
+ //# sourceMappingURL=components-BZNvfFed.js.map