@wgalleti/primevue-components 0.32.1 → 0.32.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{components-CwXJtumP.cjs → components-DxnXTyOc.cjs} +3 -3
- package/dist/{components-CwXJtumP.cjs.map → components-DxnXTyOc.cjs.map} +1 -1
- package/dist/{components-SHgQLpCj.js → components-OQPnEv8W.js} +87 -74
- package/dist/{components-SHgQLpCj.js.map → components-OQPnEv8W.js.map} +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/markdownEnhance.d.ts +2 -0
- package/package.json +1 -1
|
@@ -6655,8 +6655,21 @@ function Sc(e) {
|
|
|
6655
6655
|
function Cc(e, t, n) {
|
|
6656
6656
|
return e.getPropertyValue(t).trim() || n;
|
|
6657
6657
|
}
|
|
6658
|
-
function wc(e) {
|
|
6659
|
-
let
|
|
6658
|
+
function wc(e, t, n) {
|
|
6659
|
+
let r = Cc(e, t, n), i = document.createElement("span");
|
|
6660
|
+
i.style.display = "none", i.style.color = r, document.documentElement.appendChild(i);
|
|
6661
|
+
let a = getComputedStyle(i).color.trim();
|
|
6662
|
+
return i.remove(), Tc(a) ?? r;
|
|
6663
|
+
}
|
|
6664
|
+
function Tc(e) {
|
|
6665
|
+
if (!e) return null;
|
|
6666
|
+
let t = /^color\(srgb\s+(-?[\d.]+)\s+(-?[\d.]+)\s+(-?[\d.]+)(?:\s*\/\s*([\d.%]+))?\)$/.exec(e);
|
|
6667
|
+
if (!t) return e;
|
|
6668
|
+
let n = (e) => Math.round(Math.min(1, Math.max(0, Number(e))) * 255), [, r, i, a, o] = t, s = `${n(r)}, ${n(i)}, ${n(a)}`;
|
|
6669
|
+
return o === void 0 ? `rgb(${s})` : `rgba(${s}, ${o.endsWith("%") ? Number(o.slice(0, -1)) / 100 : Number(o)})`;
|
|
6670
|
+
}
|
|
6671
|
+
function Ec(e) {
|
|
6672
|
+
let t = getComputedStyle(document.documentElement), n = wc(t, "--surface", "#ffffff"), r = wc(t, "--fg", "#141a22"), i = wc(t, "--primary", "#1f5092"), a = wc(t, "--primary-soft", "#eef4fb"), o = wc(t, "--border-strong", "#cdd6e2");
|
|
6660
6673
|
e.initialize({
|
|
6661
6674
|
startOnLoad: !1,
|
|
6662
6675
|
securityLevel: "strict",
|
|
@@ -6668,23 +6681,23 @@ function wc(e) {
|
|
|
6668
6681
|
primaryColor: a,
|
|
6669
6682
|
primaryTextColor: r,
|
|
6670
6683
|
primaryBorderColor: i,
|
|
6671
|
-
secondaryColor:
|
|
6672
|
-
tertiaryColor:
|
|
6684
|
+
secondaryColor: wc(t, "--surface-3", "#eef2f7"),
|
|
6685
|
+
tertiaryColor: wc(t, "--surface-2", "#f8fafc"),
|
|
6673
6686
|
lineColor: o,
|
|
6674
6687
|
textColor: r,
|
|
6675
6688
|
mainBkg: a,
|
|
6676
6689
|
nodeBorder: i,
|
|
6677
|
-
clusterBkg:
|
|
6690
|
+
clusterBkg: wc(t, "--surface-2", "#f8fafc"),
|
|
6678
6691
|
clusterBorder: o,
|
|
6679
6692
|
fontSize: "13px"
|
|
6680
6693
|
}
|
|
6681
6694
|
});
|
|
6682
6695
|
}
|
|
6683
|
-
async function
|
|
6696
|
+
async function Dc(e, t = !1) {
|
|
6684
6697
|
let n = Array.from(e.querySelectorAll("[data-md-mermaid]")).filter((e) => t || !e.dataset.mdEstado);
|
|
6685
6698
|
if (!n.length) return;
|
|
6686
6699
|
let r = await yc();
|
|
6687
|
-
|
|
6700
|
+
Ec(r);
|
|
6688
6701
|
for (let e of n) {
|
|
6689
6702
|
let t = e.querySelector(".md-mermaid__fonte")?.textContent ?? "";
|
|
6690
6703
|
if (t.trim()) {
|
|
@@ -6704,15 +6717,15 @@ async function Tc(e, t = !1) {
|
|
|
6704
6717
|
}
|
|
6705
6718
|
}
|
|
6706
6719
|
}
|
|
6707
|
-
async function
|
|
6708
|
-
e && (mc(e), gc(e), await
|
|
6720
|
+
async function Oc(e) {
|
|
6721
|
+
e && (mc(e), gc(e), await Dc(e));
|
|
6709
6722
|
}
|
|
6710
6723
|
//#endregion
|
|
6711
6724
|
//#region src/components/ui/WMarkdownView.vue?vue&type=script&setup=true&lang.ts
|
|
6712
|
-
var
|
|
6725
|
+
var kc = {
|
|
6713
6726
|
key: 0,
|
|
6714
6727
|
class: "w-markdown-view w-markdown-view--empty"
|
|
6715
|
-
},
|
|
6728
|
+
}, Ac = ["innerHTML"], jc = /* @__PURE__ */ x({
|
|
6716
6729
|
__name: "WMarkdownView",
|
|
6717
6730
|
props: {
|
|
6718
6731
|
source: {},
|
|
@@ -6721,41 +6734,41 @@ var Dc = {
|
|
|
6721
6734
|
emits: ["headings"],
|
|
6722
6735
|
setup(e, { emit: t }) {
|
|
6723
6736
|
let n = e, r = t, i = P(null), a = P(qs()), o = f(() => (a.value, pc(n.source ?? ""))), s = f(() => o.value.html), c = f(() => !n.source || !n.source.trim());
|
|
6724
|
-
B(o, (e) => r("headings", e.headings), { immediate: !0 }), B(s, () => void O(() =>
|
|
6737
|
+
B(o, (e) => r("headings", e.headings), { immediate: !0 }), B(s, () => void O(() => Oc(i.value)));
|
|
6725
6738
|
let l = null;
|
|
6726
6739
|
function u() {
|
|
6727
|
-
typeof MutationObserver > "u" || (l = new MutationObserver(() => void
|
|
6740
|
+
typeof MutationObserver > "u" || (l = new MutationObserver(() => void Dc(i.value, !0)), l.observe(document.documentElement, {
|
|
6728
6741
|
attributes: !0,
|
|
6729
6742
|
attributeFilter: ["class"]
|
|
6730
6743
|
}));
|
|
6731
6744
|
}
|
|
6732
6745
|
return te(async () => {
|
|
6733
|
-
await O(), await
|
|
6734
|
-
}), ee(() => l?.disconnect()), (t, n) => c.value ? (M(), h("div",
|
|
6746
|
+
await O(), await Oc(i.value), u(), a.value ||= (await Js(), !0);
|
|
6747
|
+
}), ee(() => l?.disconnect()), (t, n) => c.value ? (M(), h("div", kc, L(e.emptyText), 1)) : (M(), h("div", {
|
|
6735
6748
|
key: 1,
|
|
6736
6749
|
ref_key: "raiz",
|
|
6737
6750
|
ref: i,
|
|
6738
6751
|
class: "w-markdown-view",
|
|
6739
6752
|
innerHTML: s.value
|
|
6740
|
-
}, null, 8,
|
|
6753
|
+
}, null, 8, Ac));
|
|
6741
6754
|
}
|
|
6742
|
-
}),
|
|
6755
|
+
}), Mc = {
|
|
6743
6756
|
class: "w-markdown-editor__toolbar",
|
|
6744
6757
|
role: "toolbar",
|
|
6745
6758
|
"aria-label": "Formatação markdown"
|
|
6746
|
-
},
|
|
6759
|
+
}, Nc = [
|
|
6747
6760
|
"aria-label",
|
|
6748
6761
|
"title",
|
|
6749
6762
|
"disabled",
|
|
6750
6763
|
"onClick"
|
|
6751
|
-
],
|
|
6764
|
+
], Pc = ["aria-pressed"], Fc = ["aria-pressed"], Ic = {
|
|
6752
6765
|
key: 0,
|
|
6753
6766
|
class: "w-markdown-editor__ajuda"
|
|
6754
|
-
},
|
|
6767
|
+
}, Lc = [
|
|
6755
6768
|
"value",
|
|
6756
6769
|
"disabled",
|
|
6757
6770
|
"placeholder"
|
|
6758
|
-
],
|
|
6771
|
+
], Rc = /* @__PURE__ */ x({
|
|
6759
6772
|
__name: "WMarkdownEditor",
|
|
6760
6773
|
props: {
|
|
6761
6774
|
modelValue: {},
|
|
@@ -6937,7 +6950,7 @@ var Dc = {
|
|
|
6937
6950
|
}
|
|
6938
6951
|
];
|
|
6939
6952
|
return (t, n) => (M(), h("div", { class: k(["w-markdown-editor", { "w-markdown-editor--split": o.value }]) }, [
|
|
6940
|
-
g("div",
|
|
6953
|
+
g("div", Mc, [
|
|
6941
6954
|
(M(), h(d, null, F(ie, (t) => g("button", {
|
|
6942
6955
|
key: t.label,
|
|
6943
6956
|
type: "button",
|
|
@@ -6957,7 +6970,7 @@ var Dc = {
|
|
|
6957
6970
|
"w-markdown-editor__glyph--italic": t.glyph === "I"
|
|
6958
6971
|
}]),
|
|
6959
6972
|
"aria-hidden": "true"
|
|
6960
|
-
}, L(t.glyph), 3))], 8,
|
|
6973
|
+
}, L(t.glyph), 3))], 8, Nc)), 64)),
|
|
6961
6974
|
g("button", {
|
|
6962
6975
|
type: "button",
|
|
6963
6976
|
class: k(["w-markdown-editor__tool w-markdown-editor__tool--ajuda", { "w-markdown-editor__tool--active": N.value }]),
|
|
@@ -6968,7 +6981,7 @@ var Dc = {
|
|
|
6968
6981
|
}, [...n[1] ||= [g("i", {
|
|
6969
6982
|
class: "pi pi-question-circle",
|
|
6970
6983
|
"aria-hidden": "true"
|
|
6971
|
-
}, null, -1)]], 10,
|
|
6984
|
+
}, null, -1)]], 10, Pc),
|
|
6972
6985
|
o.value ? m("", !0) : (M(), h("button", {
|
|
6973
6986
|
key: 0,
|
|
6974
6987
|
type: "button",
|
|
@@ -6980,9 +6993,9 @@ var Dc = {
|
|
|
6980
6993
|
}, [g("i", {
|
|
6981
6994
|
class: k(a.value ? "pi pi-pencil" : "pi pi-eye"),
|
|
6982
6995
|
"aria-hidden": "true"
|
|
6983
|
-
}, null, 2)], 10,
|
|
6996
|
+
}, null, 2)], 10, Fc))
|
|
6984
6997
|
]),
|
|
6985
|
-
N.value ? (M(), h("dl",
|
|
6998
|
+
N.value ? (M(), h("dl", Ic, [(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),
|
|
6986
6999
|
g("div", {
|
|
6987
7000
|
class: "w-markdown-editor__body",
|
|
6988
7001
|
style: j({
|
|
@@ -6999,7 +7012,7 @@ var Dc = {
|
|
|
6999
7012
|
placeholder: e.placeholder,
|
|
7000
7013
|
spellcheck: "false",
|
|
7001
7014
|
onInput: l
|
|
7002
|
-
}, null, 40,
|
|
7015
|
+
}, null, 40, Lc)) : m("", !0), c.value ? (M(), p(jc, {
|
|
7003
7016
|
key: 1,
|
|
7004
7017
|
class: "w-markdown-editor__preview",
|
|
7005
7018
|
source: e.modelValue,
|
|
@@ -7007,28 +7020,28 @@ var Dc = {
|
|
|
7007
7020
|
}, null, 8, ["source"])) : m("", !0)], 4)
|
|
7008
7021
|
], 2));
|
|
7009
7022
|
}
|
|
7010
|
-
}),
|
|
7023
|
+
}), zc = {
|
|
7011
7024
|
key: 0,
|
|
7012
7025
|
class: "w-md-toc",
|
|
7013
7026
|
"aria-label": "Índice do documento"
|
|
7014
|
-
},
|
|
7027
|
+
}, Bc = { class: "w-md-toc__titulo" }, Vc = {
|
|
7015
7028
|
key: 0,
|
|
7016
7029
|
class: "w-md-toc__busca"
|
|
7017
|
-
},
|
|
7030
|
+
}, Hc = { class: "w-md-toc__lista" }, Uc = [
|
|
7018
7031
|
"aria-expanded",
|
|
7019
7032
|
"aria-label",
|
|
7020
7033
|
"onClick"
|
|
7021
|
-
],
|
|
7034
|
+
], Wc = {
|
|
7022
7035
|
key: 1,
|
|
7023
7036
|
class: "w-md-toc__chevron w-md-toc__chevron--vazio",
|
|
7024
7037
|
"aria-hidden": "true"
|
|
7025
|
-
},
|
|
7038
|
+
}, Gc = ["href", "onClick"], Kc = {
|
|
7026
7039
|
key: 0,
|
|
7027
7040
|
class: "w-md-toc__lista"
|
|
7028
|
-
},
|
|
7041
|
+
}, qc = ["href", "onClick"], Jc = {
|
|
7029
7042
|
key: 0,
|
|
7030
7043
|
class: "w-md-toc__vazio"
|
|
7031
|
-
},
|
|
7044
|
+
}, Yc = /* @__PURE__ */ x({
|
|
7032
7045
|
__name: "WMarkdownToc",
|
|
7033
7046
|
props: {
|
|
7034
7047
|
headings: {},
|
|
@@ -7084,9 +7097,9 @@ var Dc = {
|
|
|
7084
7097
|
block: "start"
|
|
7085
7098
|
}));
|
|
7086
7099
|
}
|
|
7087
|
-
return B(() => t.headings, () => void O(_), { immediate: !0 }), ee(() => a?.disconnect()), (t, i) => e.headings.length >= e.minHeadings ? (M(), h("nav",
|
|
7088
|
-
g("p",
|
|
7089
|
-
e.searchable ? (M(), h("div",
|
|
7100
|
+
return B(() => t.headings, () => void O(_), { immediate: !0 }), ee(() => a?.disconnect()), (t, i) => e.headings.length >= e.minHeadings ? (M(), h("nav", zc, [
|
|
7101
|
+
g("p", Bc, L(e.title), 1),
|
|
7102
|
+
e.searchable ? (M(), h("div", Vc, [i[1] ||= g("i", {
|
|
7090
7103
|
class: "pi pi-search",
|
|
7091
7104
|
"aria-hidden": "true"
|
|
7092
7105
|
}, null, -1), H(g("input", {
|
|
@@ -7098,7 +7111,7 @@ var Dc = {
|
|
|
7098
7111
|
g("div", {
|
|
7099
7112
|
class: "w-md-toc__corpo",
|
|
7100
7113
|
style: j({ maxHeight: e.maxHeight })
|
|
7101
|
-
}, [g("ul",
|
|
7114
|
+
}, [g("ul", Hc, [(M(!0), h(d, null, F(c.value, (e) => (M(), h("li", {
|
|
7102
7115
|
key: e.titulo.id,
|
|
7103
7116
|
class: "w-md-toc__grupo"
|
|
7104
7117
|
}, [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", {
|
|
@@ -7111,19 +7124,19 @@ var Dc = {
|
|
|
7111
7124
|
}, [g("i", {
|
|
7112
7125
|
class: k(u(e) ? "pi pi-chevron-down" : "pi pi-chevron-right"),
|
|
7113
7126
|
"aria-hidden": "true"
|
|
7114
|
-
}, null, 2)], 8,
|
|
7127
|
+
}, null, 2)], 8, Uc)) : (M(), h("span", Wc)), g("a", {
|
|
7115
7128
|
href: `#${e.titulo.id}`,
|
|
7116
7129
|
onClick: W((t) => v(e.titulo.id), ["prevent"])
|
|
7117
|
-
}, L(e.titulo.text), 9,
|
|
7130
|
+
}, L(e.titulo.text), 9, Gc)], 2), u(e) ? (M(), h("ul", Kc, [(M(!0), h(d, null, F(e.filhos, (e) => (M(), h("li", {
|
|
7118
7131
|
key: e.id,
|
|
7119
7132
|
class: k(["w-md-toc__item w-md-toc__item--n3", { "w-md-toc__item--ativo": n.value === e.id }])
|
|
7120
7133
|
}, [g("a", {
|
|
7121
7134
|
href: `#${e.id}`,
|
|
7122
7135
|
onClick: W((t) => v(e.id), ["prevent"])
|
|
7123
|
-
}, L(e.text), 9,
|
|
7136
|
+
}, L(e.text), 9, qc)], 2))), 128))])) : m("", !0)]))), 128))]), l.value && !c.value.length ? (M(), h("p", Jc, "Nenhuma seção encontrada")) : m("", !0)], 4)
|
|
7124
7137
|
])) : m("", !0);
|
|
7125
7138
|
}
|
|
7126
|
-
}),
|
|
7139
|
+
}), Xc = /* @__PURE__ */ x({
|
|
7127
7140
|
name: "WDialog",
|
|
7128
7141
|
inheritAttrs: !1,
|
|
7129
7142
|
__name: "WDialog",
|
|
@@ -7134,16 +7147,16 @@ var Dc = {
|
|
|
7134
7147
|
fn: V((t) => [I(e.$slots, n, A(S(t ?? {})))])
|
|
7135
7148
|
}))]), 1040, ["append-to"]));
|
|
7136
7149
|
}
|
|
7137
|
-
}),
|
|
7150
|
+
}), Zc = ["aria-label"], Qc = [
|
|
7138
7151
|
"aria-selected",
|
|
7139
7152
|
"tabindex",
|
|
7140
7153
|
"disabled",
|
|
7141
7154
|
"onClick",
|
|
7142
7155
|
"onKeydown"
|
|
7143
|
-
],
|
|
7156
|
+
], $c = {
|
|
7144
7157
|
key: 1,
|
|
7145
7158
|
class: "w-tab-bar__badge"
|
|
7146
|
-
},
|
|
7159
|
+
}, el = /* @__PURE__ */ x({
|
|
7147
7160
|
__name: "WTabBar",
|
|
7148
7161
|
props: {
|
|
7149
7162
|
modelValue: {},
|
|
@@ -7192,20 +7205,20 @@ var Dc = {
|
|
|
7192
7205
|
"aria-hidden": "true"
|
|
7193
7206
|
}, null, 2)) : m("", !0),
|
|
7194
7207
|
g("span", null, L(t.label), 1),
|
|
7195
|
-
t.badge !== void 0 && t.badge !== null ? (M(), h("span",
|
|
7196
|
-
], 42,
|
|
7208
|
+
t.badge !== void 0 && t.badge !== null ? (M(), h("span", $c, L(t.badge), 1)) : m("", !0)
|
|
7209
|
+
], 42, Qc))), 128))], 8, Zc));
|
|
7197
7210
|
}
|
|
7198
|
-
}),
|
|
7211
|
+
}), tl = { class: "w-tab-nav" }, nl = ["aria-label"], rl = [
|
|
7199
7212
|
"tabindex",
|
|
7200
7213
|
"aria-selected",
|
|
7201
7214
|
"onClick",
|
|
7202
7215
|
"onAuxclick",
|
|
7203
7216
|
"onContextmenu",
|
|
7204
7217
|
"onKeydown"
|
|
7205
|
-
],
|
|
7218
|
+
], il = ["title"], al = ["aria-label", "onClick"], ol = ["aria-label", "onClick"], sl = {
|
|
7206
7219
|
key: 0,
|
|
7207
7220
|
class: "w-tab-nav__actions"
|
|
7208
|
-
},
|
|
7221
|
+
}, cl = /* @__PURE__ */ x({
|
|
7209
7222
|
__name: "WTabNav",
|
|
7210
7223
|
props: {
|
|
7211
7224
|
tabs: {},
|
|
@@ -7303,7 +7316,7 @@ var Dc = {
|
|
|
7303
7316
|
let t = i.value[e]?.group;
|
|
7304
7317
|
return !!t && t !== i.value[e - 1]?.group;
|
|
7305
7318
|
}
|
|
7306
|
-
return (t, n) => (M(), h("div",
|
|
7319
|
+
return (t, n) => (M(), h("div", tl, [
|
|
7307
7320
|
g("div", {
|
|
7308
7321
|
ref_key: "trilho",
|
|
7309
7322
|
ref: s,
|
|
@@ -7345,7 +7358,7 @@ var Dc = {
|
|
|
7345
7358
|
}, null, 2)) : m("", !0), g("span", {
|
|
7346
7359
|
class: "w-tab-nav__title",
|
|
7347
7360
|
title: e.title
|
|
7348
|
-
}, L(e.title), 9,
|
|
7361
|
+
}, L(e.title), 9, il)]),
|
|
7349
7362
|
g("button", {
|
|
7350
7363
|
type: "button",
|
|
7351
7364
|
class: "w-tab-nav__menu",
|
|
@@ -7355,7 +7368,7 @@ var Dc = {
|
|
|
7355
7368
|
}, [...n[0] ||= [g("i", {
|
|
7356
7369
|
class: "pi pi-ellipsis-v",
|
|
7357
7370
|
"aria-hidden": "true"
|
|
7358
|
-
}, null, -1)]], 8,
|
|
7371
|
+
}, null, -1)]], 8, al),
|
|
7359
7372
|
e.closable ? (M(), h("button", {
|
|
7360
7373
|
key: 0,
|
|
7361
7374
|
type: "button",
|
|
@@ -7366,9 +7379,9 @@ var Dc = {
|
|
|
7366
7379
|
}, [...n[1] ||= [g("i", {
|
|
7367
7380
|
class: "pi pi-times",
|
|
7368
7381
|
"aria-hidden": "true"
|
|
7369
|
-
}, null, -1)]], 8,
|
|
7370
|
-
], 46,
|
|
7371
|
-
t.$slots.actions ? (M(), h("div",
|
|
7382
|
+
}, null, -1)]], 8, ol)) : m("", !0)
|
|
7383
|
+
], 46, rl)], 64))), 128))], 8, nl),
|
|
7384
|
+
t.$slots.actions ? (M(), h("div", sl, [I(t.$slots, "actions")])) : m("", !0),
|
|
7372
7385
|
b(R(ve), {
|
|
7373
7386
|
ref_key: "menu",
|
|
7374
7387
|
ref: _,
|
|
@@ -7376,7 +7389,7 @@ var Dc = {
|
|
|
7376
7389
|
}, null, 8, ["model"])
|
|
7377
7390
|
]));
|
|
7378
7391
|
}
|
|
7379
|
-
}),
|
|
7392
|
+
}), ll = x({
|
|
7380
7393
|
name: "WTabPane",
|
|
7381
7394
|
props: {
|
|
7382
7395
|
tab: {
|
|
@@ -7422,7 +7435,7 @@ var Dc = {
|
|
|
7422
7435
|
key: e.tab.remount
|
|
7423
7436
|
}) : null;
|
|
7424
7437
|
}
|
|
7425
|
-
}),
|
|
7438
|
+
}), ul = { class: "w-tab-viewport" }, dl = { class: "w-tab-viewport__scroll" }, fl = /* @__PURE__ */ x({
|
|
7426
7439
|
__name: "WTabViewport",
|
|
7427
7440
|
props: { tabs: {} },
|
|
7428
7441
|
setup(e) {
|
|
@@ -7442,12 +7455,12 @@ var Dc = {
|
|
|
7442
7455
|
return B(r, (e) => {
|
|
7443
7456
|
let t = new Set(e.map((e) => e.key));
|
|
7444
7457
|
for (let e of i.keys()) t.has(e) || i.delete(e);
|
|
7445
|
-
}), (t, i) => (M(), h("div",
|
|
7458
|
+
}), (t, i) => (M(), h("div", ul, [(M(!0), h(d, null, F(r.value, (t) => H((M(), h("div", {
|
|
7446
7459
|
key: `${t.key}#${t.remount}`,
|
|
7447
7460
|
ref_for: !0,
|
|
7448
7461
|
ref: (e) => o(t.key, e),
|
|
7449
7462
|
class: "w-tab-viewport__pane"
|
|
7450
|
-
}, [g("div",
|
|
7463
|
+
}, [g("div", dl, [b(R(ll), {
|
|
7451
7464
|
tab: t,
|
|
7452
7465
|
api: e.tabs,
|
|
7453
7466
|
active: t.key === n.value,
|
|
@@ -7459,26 +7472,26 @@ var Dc = {
|
|
|
7459
7472
|
"host-el"
|
|
7460
7473
|
])])])), [[de, t.key === n.value]])), 128))]));
|
|
7461
7474
|
}
|
|
7462
|
-
}),
|
|
7475
|
+
}), pl = ["aria-busy"], ml = { class: "w-kanban-board__header" }, hl = { class: "w-kanban-board__title" }, gl = { class: "w-kanban-board__count" }, _l = [
|
|
7463
7476
|
"aria-label",
|
|
7464
7477
|
"onDragover",
|
|
7465
7478
|
"onDragleave",
|
|
7466
7479
|
"onDrop"
|
|
7467
|
-
],
|
|
7480
|
+
], vl = {
|
|
7468
7481
|
key: 0,
|
|
7469
7482
|
class: "w-kanban-board__indicator"
|
|
7470
|
-
},
|
|
7483
|
+
}, yl = [
|
|
7471
7484
|
"draggable",
|
|
7472
7485
|
"onDragstart",
|
|
7473
7486
|
"onClick",
|
|
7474
7487
|
"onKeydown"
|
|
7475
|
-
],
|
|
7488
|
+
], bl = { class: "w-kanban-board__card-fallback" }, xl = {
|
|
7476
7489
|
key: 0,
|
|
7477
7490
|
class: "w-kanban-board__indicator"
|
|
7478
|
-
},
|
|
7491
|
+
}, Sl = {
|
|
7479
7492
|
key: 1,
|
|
7480
7493
|
class: "w-kanban-board__empty"
|
|
7481
|
-
},
|
|
7494
|
+
}, Cl = /* @__PURE__ */ x({
|
|
7482
7495
|
__name: "WKanbanBoard",
|
|
7483
7496
|
props: {
|
|
7484
7497
|
columns: {},
|
|
@@ -7581,7 +7594,7 @@ var Dc = {
|
|
|
7581
7594
|
key: r.value,
|
|
7582
7595
|
class: k(["w-kanban-board__column", { "w-kanban-board__column--over": !!i.value && a.value?.column === r.value }]),
|
|
7583
7596
|
style: j(r.accent ? { "--w-kanban-accent": r.accent } : void 0)
|
|
7584
|
-
}, [g("header",
|
|
7597
|
+
}, [g("header", ml, [I(t.$slots, "column-header", { column: r }, () => [g("span", hl, L(r.label), 1), g("span", gl, L(r.items.length), 1)]), I(t.$slots, "column-action", { column: r })]), g("div", {
|
|
7585
7598
|
ref_for: !0,
|
|
7586
7599
|
ref: (e) => s(r.value, e),
|
|
7587
7600
|
class: "w-kanban-board__list",
|
|
@@ -7595,7 +7608,7 @@ var Dc = {
|
|
|
7595
7608
|
onDragleave: (e) => b(r, e),
|
|
7596
7609
|
onDrop: (e) => x(r, e)
|
|
7597
7610
|
}, [
|
|
7598
|
-
(M(!0), h(d, null, F(r.items, (e, n) => (M(), h(d, { key: String(c(e)) }, [T(r, n) ? (M(), h("div",
|
|
7611
|
+
(M(!0), h(d, null, F(r.items, (e, n) => (M(), h(d, { key: String(c(e)) }, [T(r, n) ? (M(), h("div", vl)) : m("", !0), g("div", {
|
|
7599
7612
|
class: k(["w-kanban-board__card", {
|
|
7600
7613
|
"w-kanban-board__card--dragging": f(e),
|
|
7601
7614
|
"w-kanban-board__card--static": !u(e)
|
|
@@ -7610,13 +7623,13 @@ var Dc = {
|
|
|
7610
7623
|
}, [I(t.$slots, "card", {
|
|
7611
7624
|
item: e,
|
|
7612
7625
|
column: r
|
|
7613
|
-
}, () => [g("span",
|
|
7614
|
-
T(r, r.items.length) ? (M(), h("div",
|
|
7615
|
-
r.items.length ? m("", !0) : (M(), h("div",
|
|
7616
|
-
], 44,
|
|
7626
|
+
}, () => [g("span", bl, L(l(e)), 1)])], 42, yl)], 64))), 128)),
|
|
7627
|
+
T(r, r.items.length) ? (M(), h("div", xl)) : m("", !0),
|
|
7628
|
+
r.items.length ? m("", !0) : (M(), h("div", Sl, [I(t.$slots, "empty-column", { column: r }, () => [n[0] ||= y("Nenhum item", -1)])]))
|
|
7629
|
+
], 44, _l)], 6))), 128))], 10, pl));
|
|
7617
7630
|
}
|
|
7618
7631
|
});
|
|
7619
7632
|
//#endregion
|
|
7620
|
-
export { Yi as A, Wn as B, Oa as C, ta as D, sa as E, Ci as F, It as G, ln as H, di as I, gt as J, Mt as K, Fr as L, Wi as M, Ai as N, ea as O, wi as P, Jn as R, za as S, fa as T, Jt as U, Bn as V, Lt as W, _t as X, bt as Y, Xe as Z, lo as _,
|
|
7633
|
+
export { Yi as A, Wn as B, Oa as C, ta as D, sa as E, Ci as F, It as G, ln as H, di as I, gt as J, Mt as K, Fr as L, Wi as M, Ai as N, ea as O, wi as P, Jn as R, za as S, fa as T, Jt as U, Bn as V, Lt as W, _t as X, bt as Y, Xe as Z, lo as _, Xc as a, Va as b, jc as c, Zo as d, Oo as f, _o as g, xo as h, el as i, Zi as j, Ji as k, Fs as l, Eo as m, fl as n, Yc as o, Do as p, yt as q, cl as r, Rc as s, Cl as t, as as u, Za as v, ya as w, Ba as x, Ua as y, qn as z };
|
|
7621
7634
|
|
|
7622
|
-
//# sourceMappingURL=components-
|
|
7635
|
+
//# sourceMappingURL=components-OQPnEv8W.js.map
|