diff --git a/dist/eli-vue.es.js b/dist/eli-vue.es.js
index 2afd57f..67d3d4b 100644
--- a/dist/eli-vue.es.js
+++ b/dist/eli-vue.es.js
@@ -1,7 +1,7 @@
-import { defineComponent as j, createBlock as W, openBlock as u, mergeProps as Ce, withCtx as te, renderSlot as Te, computed as S, ref as F, resolveComponent as Q, createVNode as q, createTextVNode as Ie, createElementVNode as $, createCommentVNode as ee, toDisplayString as L, h as je, watch as he, createElementBlock as y, withDirectives as ia, withKeys as Sa, vModelText as ka, Fragment as re, renderList as fe, normalizeStyle as ze, resolveDynamicComponent as Me, normalizeClass as De, withModifiers as ue, Teleport as Da, createSlots as Ma, onMounted as sa, vModelSelect as Ba, onBeforeUnmount as Ta } from "vue";
+import { defineComponent as j, createBlock as W, openBlock as u, mergeProps as Ce, withCtx as te, renderSlot as Te, computed as A, ref as F, resolveComponent as Q, createVNode as q, createTextVNode as Ie, createElementVNode as $, createCommentVNode as ee, toDisplayString as L, h as je, watch as me, createElementBlock as y, withDirectives as ia, withKeys as Aa, vModelText as ka, Fragment as re, renderList as fe, normalizeStyle as ze, resolveDynamicComponent as Me, normalizeClass as De, withModifiers as ue, Teleport as Da, createSlots as Ma, onMounted as sa, vModelSelect as Ba, onBeforeUnmount as Ta } from "vue";
import { VBtn as wa } from "vuetify/components/VBtn";
import { VBadge as Pa } from "vuetify/components/VBadge";
-import { VTextField as Ue } from "vuetify/components/VTextField";
+import { VTextField as He } from "vuetify/components/VTextField";
import { VCard as ua, VCardTitle as ca, VCardText as da, VCardActions as fa } from "vuetify/components/VCard";
import { VContainer as Oa } from "vuetify/components/VGrid";
import { VChip as Fa, VTextarea as Va, VSelect as Ia } from "vuetify/components";
@@ -35,11 +35,11 @@ const ja = j({
}
}), z = (e, a) => {
const o = e.__vccOpts || e;
- for (const [n, i] of a)
- o[n] = i;
+ for (const [r, i] of a)
+ o[r] = i;
return o;
};
-function za(e, a, o, n, i, f) {
+function za(e, a, o, r, i, f) {
return u(), W(wa, Ce({
color: e.color,
variant: e.variant,
@@ -56,7 +56,7 @@ function za(e, a, o, n, i, f) {
const pa = /* @__PURE__ */ z(ja, [["render", za]]), Ze = {
suave: "4px",
pill: "10px"
-}, Ua = j({
+}, Ha = j({
name: "EliBadge",
inheritAttrs: !1,
props: {
@@ -95,13 +95,13 @@ const pa = /* @__PURE__ */ z(ja, [["render", za]]), Ze = {
}
},
setup(e) {
- const a = S(() => e.radius in Ze ? Ze[e.radius] : e.radius), o = S(() => e.dot || e.badge !== void 0 ? e.visible : !1), n = S(() => ({
+ const a = A(() => e.radius in Ze ? Ze[e.radius] : e.radius), o = A(() => e.dot || e.badge !== void 0 ? e.visible : !1), r = A(() => ({
"--eli-badge-radius": a.value
}));
- return { showBadge: o, badgeStyle: n };
+ return { showBadge: o, badgeStyle: r };
}
});
-function Ha(e, a, o, n, i, f) {
+function Ua(e, a, o, r, i, f) {
return e.showBadge ? (u(), W(Pa, Ce({
key: 0,
color: e.color
@@ -120,7 +120,7 @@ function Ha(e, a, o, n, i, f) {
_: 3
}, 16, ["color", "location", "offset-x", "offset-y", "dot", "content", "style"])) : Te(e.$slots, "default", { key: 1 }, void 0, !0);
}
-const He = /* @__PURE__ */ z(Ua, [["render", Ha], ["__scopeId", "data-v-371c8db4"]]);
+const Ue = /* @__PURE__ */ z(Ha, [["render", Ua], ["__scopeId", "data-v-371c8db4"]]);
function Ya(e) {
return e.replace(/\D+/g, "");
}
@@ -165,20 +165,20 @@ const Ga = j({
blur: () => !0
},
setup(e, { attrs: a, emit: o }) {
- const n = S(() => {
+ const r = A(() => {
var l;
return ((l = e.opcoes) == null ? void 0 : l.formato) ?? "texto";
- }), i = S({
+ }), i = A({
get: () => e.value,
set: (l) => {
o("update:value", l), o("input", l), o("change", l);
}
- }), f = S(() => n.value === "email" ? "email" : n.value === "url" ? "url" : "text"), t = S(() => {
- if (n.value === "telefone") return "tel";
- if (n.value === "cpfCnpj" || n.value === "cep") return "numeric";
+ }), f = A(() => r.value === "email" ? "email" : r.value === "url" ? "url" : "text"), t = A(() => {
+ if (r.value === "telefone") return "tel";
+ if (r.value === "cpfCnpj" || r.value === "cep") return "numeric";
});
- function r(l) {
- switch (n.value) {
+ function n(l) {
+ switch (r.value) {
case "telefone":
return Wa(l);
case "cpfCnpj":
@@ -190,21 +190,21 @@ const Ga = j({
}
}
function d(l) {
- const c = l.target, m = r(c.value);
+ const c = l.target, m = n(c.value);
c.value = m, i.value = m;
}
return { attrs: a, emit: o, localValue: i, inputHtmlType: f, inputMode: t, onInput: d };
}
});
-function Ka(e, a, o, n, i, f) {
- var t, r, d, l;
- return u(), W(Ue, Ce({
+function Ka(e, a, o, r, i, f) {
+ var t, n, d, l;
+ return u(), W(He, Ce({
modelValue: e.localValue,
"onUpdate:modelValue": a[0] || (a[0] = (c) => e.localValue = c),
type: e.inputHtmlType,
inputmode: e.inputMode,
label: (t = e.opcoes) == null ? void 0 : t.rotulo,
- placeholder: (r = e.opcoes) == null ? void 0 : r.placeholder,
+ placeholder: (n = e.opcoes) == null ? void 0 : n.placeholder,
counter: (d = e.opcoes) == null ? void 0 : d.limiteCaracteres,
maxlength: (l = e.opcoes) == null ? void 0 : l.limiteCaracteres
}, e.attrs, {
@@ -217,22 +217,22 @@ const Ye = /* @__PURE__ */ z(Ga, [["render", Ka]]), Qa = j({
name: "EliOlaMundo",
components: {
EliBotao: pa,
- EliBadge: He,
+ EliBadge: Ue,
EliEntradaTexto: Ye
},
setup() {
- const e = F(""), a = F(""), o = F(""), n = F(""), i = F("");
+ const e = F(""), a = F(""), o = F(""), r = F(""), i = F("");
return {
nome: e,
- email: n,
+ email: r,
documento: i,
telefone: o,
cep: a
};
}
}), xa = { class: "grid-example" };
-function et(e, a, o, n, i, f) {
- const t = Q("EliBadge"), r = Q("EliEntradaTexto"), d = Q("EliBotao");
+function et(e, a, o, r, i, f) {
+ const t = Q("EliBadge"), n = Q("EliEntradaTexto"), d = Q("EliBotao");
return u(), W(Oa, null, {
default: te(() => [
q(ua, {
@@ -259,28 +259,28 @@ function et(e, a, o, n, i, f) {
default: te(() => [
a[6] || (a[6] = Ie(" Este é um componente de exemplo integrado com Vuetify. ", -1)),
$("div", xa, [
- q(r, {
+ q(n, {
value: e.nome,
"onUpdate:value": a[0] || (a[0] = (l) => e.nome = l),
opcoes: { rotulo: "Nome", placeholder: "Digite o nome" },
density: "compact"
}, null, 8, ["value"]),
- q(r, {
+ q(n, {
value: e.telefone,
"onUpdate:value": a[1] || (a[1] = (l) => e.telefone = l),
opcoes: { rotulo: "Telefone", formato: "telefone" }
}, null, 8, ["value"]),
- q(r, {
+ q(n, {
value: e.cep,
"onUpdate:value": a[2] || (a[2] = (l) => e.cep = l),
opcoes: { rotulo: "CEP", placeholder: "00000-000", formato: "cep" }
}, null, 8, ["value"]),
- q(r, {
+ q(n, {
value: e.documento,
"onUpdate:value": a[3] || (a[3] = (l) => e.documento = l),
opcoes: { rotulo: "CPF / CNPJ", formato: "cpfCnpj" }
}, null, 8, ["value"]),
- q(r, {
+ q(n, {
value: e.email,
"onUpdate:value": a[4] || (a[4] = (l) => e.email = l),
opcoes: { rotulo: "Email", placeholder: "email@exemplo.com", formato: "email" }
@@ -313,7 +313,7 @@ function et(e, a, o, n, i, f) {
}
const at = /* @__PURE__ */ z(Qa, [["render", et]]), tt = j({
name: "EliCartao",
- components: { EliBadge: He },
+ components: { EliBadge: Ue },
inheritAttrs: !1,
props: {
/** Título de fallback caso o slot `titulo` não seja usado. */
@@ -340,7 +340,7 @@ const at = /* @__PURE__ */ z(Qa, [["render", et]]), tt = j({
clicar: (e) => !0
},
setup(e, { emit: a }) {
- const o = S(() => e.status), n = S(() => {
+ const o = A(() => e.status), r = A(() => {
switch (e.status) {
case "novo":
return "primary";
@@ -351,19 +351,19 @@ const at = /* @__PURE__ */ z(Qa, [["render", et]]), tt = j({
case "cancelado":
return "error";
}
- }), i = S(() => `eli-cartao--${e.status}`);
+ }), i = A(() => `eli-cartao--${e.status}`);
function f() {
a("clicar", e.status);
}
return {
rotuloStatus: o,
- corStatus: n,
+ corStatus: r,
classeStatus: i,
onClick: f
};
}
}), ot = { class: "eli-cartao__titulo-texto" }, nt = { class: "eli-cartao__status" };
-function rt(e, a, o, n, i, f) {
+function rt(e, a, o, r, i, f) {
const t = Q("EliBadge");
return u(), W(ua, Ce({
class: ["eli-cartao", e.classeStatus],
@@ -438,7 +438,7 @@ const Xe = (e) => e === "";
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
-const st = (...e) => e.filter((a, o, n) => !!a && a.trim() !== "" && n.indexOf(a) === o).join(" ").trim();
+const st = (...e) => e.filter((a, o, r) => !!a && a.trim() !== "" && r.indexOf(a) === o).join(" ").trim();
/**
* @license lucide-vue-next v0.563.0 - ISC
*
@@ -454,7 +454,7 @@ const Ge = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
*/
const ut = (e) => e.replace(
/^([A-Z])|[\s-_]+(\w)/g,
- (a, o, n) => n ? n.toUpperCase() : o.toLowerCase()
+ (a, o, r) => r ? r.toUpperCase() : o.toLowerCase()
);
/**
* @license lucide-vue-next v0.563.0 - ISC
@@ -493,11 +493,11 @@ const dt = ({
name: e,
iconNode: a,
absoluteStrokeWidth: o,
- "absolute-stroke-width": n,
+ "absolute-stroke-width": r,
strokeWidth: i,
"stroke-width": f,
size: t = Fe.width,
- color: r = Fe.stroke,
+ color: n = Fe.stroke,
...d
}, { slots: l }) => je(
"svg",
@@ -506,8 +506,8 @@ const dt = ({
...d,
width: t,
height: t,
- stroke: r,
- "stroke-width": Xe(o) || Xe(n) || o === !0 || n === !0 ? Number(i || f || Fe["stroke-width"]) * 24 / Number(t) : i || f || Fe["stroke-width"],
+ stroke: n,
+ "stroke-width": Xe(o) || Xe(r) || o === !0 || r === !0 ? Number(i || f || Fe["stroke-width"]) * 24 / Number(t) : i || f || Fe["stroke-width"],
class: st(
"lucide",
d.class,
@@ -523,7 +523,7 @@ const dt = ({
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
-const we = (e, a) => (o, { slots: n, attrs: i }) => je(
+const we = (e, a) => (o, { slots: r, attrs: i }) => je(
dt,
{
...i,
@@ -531,7 +531,7 @@ const we = (e, a) => (o, { slots: n, attrs: i }) => je(
iconNode: a,
name: e
},
- n
+ r
);
/**
* @license lucide-vue-next v0.563.0 - ISC
@@ -608,29 +608,29 @@ const pt = we("search", [
},
setup(e, { emit: a }) {
const o = F(e.modelo ?? "");
- he(
+ me(
() => e.modelo,
(i) => {
i !== void 0 && i !== o.value && (o.value = i);
}
);
- function n() {
+ function r() {
a("buscar", o.value.trim());
}
- return { texto: o, emitirBusca: n };
+ return { texto: o, emitirBusca: r };
}
}), mt = { class: "eli-tabela__busca" }, bt = { class: "eli-tabela__busca-input-wrapper" };
-function ht(e, a, o, n, i, f) {
+function ht(e, a, o, r, i, f) {
const t = Q("Search");
return u(), y("div", mt, [
$("div", bt, [
ia($("input", {
id: "eli-tabela-busca",
- "onUpdate:modelValue": a[0] || (a[0] = (r) => e.texto = r),
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => e.texto = n),
type: "search",
class: "eli-tabela__busca-input",
placeholder: "Digite termos para filtrar",
- onKeyup: a[1] || (a[1] = Sa((...r) => e.emitirBusca && e.emitirBusca(...r), ["enter"]))
+ onKeyup: a[1] || (a[1] = Aa((...n) => e.emitirBusca && e.emitirBusca(...n), ["enter"]))
}, null, 544), [
[ka, e.texto]
]),
@@ -639,7 +639,7 @@ function ht(e, a, o, n, i, f) {
class: "eli-tabela__busca-botao",
"aria-label": "Buscar",
title: "Buscar",
- onClick: a[2] || (a[2] = (...r) => e.emitirBusca && e.emitirBusca(...r))
+ onClick: a[2] || (a[2] = (...n) => e.emitirBusca && e.emitirBusca(...n))
}, [
q(t, {
class: "eli-tabela__busca-botao-icone",
@@ -690,8 +690,8 @@ const gt = /* @__PURE__ */ z(vt, [["render", ht], ["__scopeId", "data-v-341415d1
}
},
setup(e, { emit: a }) {
- const o = S(() => e.acoesCabecalho.length > 0);
- function n(t) {
+ const o = A(() => e.acoesCabecalho.length > 0);
+ function r(t) {
a("buscar", t);
}
function i() {
@@ -700,7 +700,7 @@ const gt = /* @__PURE__ */ z(vt, [["render", ht], ["__scopeId", "data-v-341415d1
function f() {
a("filtroAvancado");
}
- return { temAcoesCabecalho: o, emitBuscar: n, emitColunas: i, emitFiltroAvancado: f };
+ return { temAcoesCabecalho: o, emitBuscar: r, emitColunas: i, emitFiltroAvancado: f };
}
}), yt = { class: "eli-tabela__cabecalho" }, _t = {
key: 0,
@@ -708,8 +708,8 @@ const gt = /* @__PURE__ */ z(vt, [["render", ht], ["__scopeId", "data-v-341415d1
}, Et = {
key: 1,
class: "eli-tabela__acoes-cabecalho"
-}, Ct = ["onClick"], At = { class: "eli-tabela__acoes-cabecalho-rotulo" };
-function St(e, a, o, n, i, f) {
+}, Ct = ["onClick"], St = { class: "eli-tabela__acoes-cabecalho-rotulo" };
+function At(e, a, o, r, i, f) {
const t = Q("EliTabelaCaixaDeBusca");
return u(), y("div", yt, [
e.exibirBusca ? (u(), y("div", _t, [
@@ -717,13 +717,13 @@ function St(e, a, o, n, i, f) {
key: 0,
type: "button",
class: "eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--colunas",
- onClick: a[0] || (a[0] = (...r) => e.emitColunas && e.emitColunas(...r))
+ onClick: a[0] || (a[0] = (...n) => e.emitColunas && e.emitColunas(...n))
}, " Colunas ")) : ee("", !0),
e.exibirBotaoFiltroAvancado ? (u(), y("button", {
key: 1,
type: "button",
class: "eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--filtro",
- onClick: a[1] || (a[1] = (...r) => e.emitFiltroAvancado && e.emitFiltroAvancado(...r))
+ onClick: a[1] || (a[1] = (...n) => e.emitFiltroAvancado && e.emitFiltroAvancado(...n))
}, " Filtro ")) : ee("", !0),
q(t, {
modelo: e.valorBusca,
@@ -731,25 +731,25 @@ function St(e, a, o, n, i, f) {
}, null, 8, ["modelo", "onBuscar"])
])) : ee("", !0),
e.temAcoesCabecalho ? (u(), y("div", Et, [
- (u(!0), y(re, null, fe(e.acoesCabecalho, (r, d) => (u(), y("button", {
- key: `${r.rotulo}-${d}`,
+ (u(!0), y(re, null, fe(e.acoesCabecalho, (n, d) => (u(), y("button", {
+ key: `${n.rotulo}-${d}`,
type: "button",
class: "eli-tabela__acoes-cabecalho-botao",
- style: ze(r.cor ? { backgroundColor: r.cor, color: "#fff" } : void 0),
- onClick: r.acao
+ style: ze(n.cor ? { backgroundColor: n.cor, color: "#fff" } : void 0),
+ onClick: n.acao
}, [
- r.icone ? (u(), W(Me(r.icone), {
+ n.icone ? (u(), W(Me(n.icone), {
key: 0,
class: "eli-tabela__acoes-cabecalho-icone",
size: 16,
"stroke-width": 2
})) : ee("", !0),
- $("span", At, L(r.rotulo), 1)
+ $("span", St, L(n.rotulo), 1)
], 12, Ct))), 128))
])) : ee("", !0)
]);
}
-const kt = /* @__PURE__ */ z($t, [["render", St], ["__scopeId", "data-v-17166105"]]), Dt = j({
+const kt = /* @__PURE__ */ z($t, [["render", At], ["__scopeId", "data-v-17166105"]]), Dt = j({
name: "EliTabelaEstados",
props: {
carregando: {
@@ -778,7 +778,7 @@ const kt = /* @__PURE__ */ z($t, [["render", St], ["__scopeId", "data-v-17166105
key: 2,
class: "eli-tabela eli-tabela--vazio"
};
-function Pt(e, a, o, n, i, f) {
+function Pt(e, a, o, r, i, f) {
return e.carregando ? (u(), y("div", Mt, " Carregando... ")) : e.erro ? (u(), y("div", Bt, [
a[0] || (a[0] = $("div", { class: "eli-tabela__erro-titulo" }, "Erro", -1)),
$("div", Tt, L(e.erro), 1)
@@ -804,7 +804,7 @@ const Ot = /* @__PURE__ */ z(Dt, [["render", Pt]]), Ft = j({
key: 0,
style: { position: "fixed", left: "8px", bottom: "8px", "z-index": "999999", background: "rgba(185,28,28,0.9)", color: "#fff", padding: "6px 10px", "border-radius": "8px", "font-size": "12px", "max-width": "500px" }
};
-function It(e, a, o, n, i, f) {
+function It(e, a, o, r, i, f) {
return e.isDev ? (u(), y("div", Vt, [
a[0] || (a[0] = $("div", null, [
$("b", null, "EliTabela debug")
@@ -847,21 +847,21 @@ const Nt = /* @__PURE__ */ z(Ft, [["render", It]]), qt = j({
function o(i) {
return (i == null ? void 0 : i.coluna_ordem) !== void 0 && (i == null ? void 0 : i.coluna_ordem) !== null;
}
- function n(i) {
+ function r(i) {
a("alternarOrdenacao", i);
}
return {
ArrowUp: Qe,
ArrowDown: Ke,
isOrdenavel: o,
- emitAlternarOrdenacao: n
+ emitAlternarOrdenacao: r
};
}
}), Lt = { class: "eli-tabela__thead" }, jt = { class: "eli-tabela__tr eli-tabela__tr--header" }, zt = {
key: 0,
class: "eli-tabela__th eli-tabela__th--expander",
scope: "col"
-}, Ut = ["onClick"], Ht = { class: "eli-tabela__th-texto" }, Yt = {
+}, Ht = ["onClick"], Ut = { class: "eli-tabela__th-texto" }, Yt = {
key: 1,
class: "eli-tabela__th-label"
}, Rt = {
@@ -869,26 +869,26 @@ const Nt = /* @__PURE__ */ z(Ft, [["render", It]]), qt = j({
class: "eli-tabela__th eli-tabela__th--acoes",
scope: "col"
};
-function Jt(e, a, o, n, i, f) {
+function Jt(e, a, o, r, i, f) {
const t = Q("ArrowUp");
return u(), y("thead", Lt, [
$("tr", jt, [
e.temColunasInvisiveis ? (u(), y("th", zt)) : ee("", !0),
- (u(!0), y(re, null, fe(e.colunas, (r, d) => (u(), y("th", {
+ (u(!0), y(re, null, fe(e.colunas, (n, d) => (u(), y("th", {
key: `th-${d}`,
- class: De(["eli-tabela__th", [e.isOrdenavel(r) ? "eli-tabela__th--ordenavel" : void 0]]),
+ class: De(["eli-tabela__th", [e.isOrdenavel(n) ? "eli-tabela__th--ordenavel" : void 0]]),
scope: "col"
}, [
- e.isOrdenavel(r) ? (u(), y("button", {
+ e.isOrdenavel(n) ? (u(), y("button", {
key: 0,
type: "button",
class: De(["eli-tabela__th-botao", [
- e.colunaOrdenacao === String(r.coluna_ordem) ? "eli-tabela__th-botao--ativo" : void 0
+ e.colunaOrdenacao === String(n.coluna_ordem) ? "eli-tabela__th-botao--ativo" : void 0
]]),
- onClick: (l) => e.emitAlternarOrdenacao(String(r.coluna_ordem))
+ onClick: (l) => e.emitAlternarOrdenacao(String(n.coluna_ordem))
}, [
- $("span", Ht, L(r.rotulo), 1),
- e.colunaOrdenacao === String(r.coluna_ordem) ? (u(), W(Me(e.direcaoOrdenacao === "asc" ? e.ArrowUp : e.ArrowDown), {
+ $("span", Ut, L(n.rotulo), 1),
+ e.colunaOrdenacao === String(n.coluna_ordem) ? (u(), W(Me(e.direcaoOrdenacao === "asc" ? e.ArrowUp : e.ArrowDown), {
key: 0,
class: "eli-tabela__th-icone",
size: 16,
@@ -901,7 +901,7 @@ function Jt(e, a, o, n, i, f) {
"stroke-width": 2,
"aria-hidden": "true"
}))
- ], 10, Ut)) : (u(), y("span", Yt, L(r.rotulo), 1))
+ ], 10, Ht)) : (u(), y("span", Yt, L(n.rotulo), 1))
], 2))), 128)),
e.temAcoes ? (u(), y("th", Rt, " Ações ")) : ee("", !0)
])
@@ -923,14 +923,14 @@ const Wt = /* @__PURE__ */ z(qt, [["render", Jt]]), Zt = j({
return { dados: e };
}
}), Xt = { key: 1 };
-function Gt(e, a, o, n, i, f) {
- var t, r, d;
+function Gt(e, a, o, r, i, f) {
+ var t, n, d;
return (t = e.dados) != null && t.acao ? (u(), y("button", {
key: 0,
type: "button",
class: "eli-tabela__celula-link",
onClick: a[0] || (a[0] = ue((l) => e.dados.acao(), ["stop", "prevent"]))
- }, L((r = e.dados) == null ? void 0 : r.texto), 1)) : (u(), y("span", Xt, L((d = e.dados) == null ? void 0 : d.texto), 1));
+ }, L((n = e.dados) == null ? void 0 : n.texto), 1)) : (u(), y("span", Xt, L((d = e.dados) == null ? void 0 : d.texto), 1));
}
const Kt = /* @__PURE__ */ z(Zt, [["render", Gt], ["__scopeId", "data-v-7a629ffa"]]), Qt = j({
name: "EliTabelaCelulaTextoTruncado",
@@ -943,13 +943,13 @@ const Kt = /* @__PURE__ */ z(Zt, [["render", Gt], ["__scopeId", "data-v-7a629ffa
return { dados: e };
}
}), xt = ["title"], eo = ["title"];
-function ao(e, a, o, n, i, f) {
- var t, r, d, l, c;
+function ao(e, a, o, r, i, f) {
+ var t, n, d, l, c;
return (t = e.dados) != null && t.acao ? (u(), y("button", {
key: 0,
type: "button",
class: "eli-tabela__texto-truncado eli-tabela__celula-link",
- title: (r = e.dados) == null ? void 0 : r.texto,
+ title: (n = e.dados) == null ? void 0 : n.texto,
onClick: a[0] || (a[0] = ue((m) => e.dados.acao(), ["stop", "prevent"]))
}, L((d = e.dados) == null ? void 0 : d.texto), 9, xt)) : (u(), y("span", {
key: 1,
@@ -966,21 +966,21 @@ const to = /* @__PURE__ */ z(Qt, [["render", ao], ["__scopeId", "data-v-74854889
}
},
setup({ dados: e }) {
- const a = S(() => {
- var r, d;
- const o = String(e == null ? void 0 : e.numero).replace(".", ","), n = (r = e == null ? void 0 : e.prefixo) == null ? void 0 : r.trim(), i = (d = e == null ? void 0 : e.sufixo) == null ? void 0 : d.trim(), f = n ? `${n} ` : "", t = i ? ` ${i}` : "";
+ const a = A(() => {
+ var n, d;
+ const o = String(e == null ? void 0 : e.numero).replace(".", ","), r = (n = e == null ? void 0 : e.prefixo) == null ? void 0 : n.trim(), i = (d = e == null ? void 0 : e.sufixo) == null ? void 0 : d.trim(), f = r ? `${r} ` : "", t = i ? ` ${i}` : "";
return `${f}${o}${t}`;
});
return { dados: e, textoNumero: a };
}
}), no = { key: 1 };
-function ro(e, a, o, n, i, f) {
+function ro(e, a, o, r, i, f) {
var t;
return (t = e.dados) != null && t.acao ? (u(), y("button", {
key: 0,
type: "button",
class: "eli-tabela__celula-link",
- onClick: a[0] || (a[0] = ue((r) => e.dados.acao(), ["stop", "prevent"]))
+ onClick: a[0] || (a[0] = ue((n) => e.dados.acao(), ["stop", "prevent"]))
}, L(e.textoNumero), 1)) : (u(), y("span", no, L(e.textoNumero), 1));
}
const lo = /* @__PURE__ */ z(oo, [["render", ro], ["__scopeId", "data-v-69c890c4"]]), io = j({
@@ -996,28 +996,28 @@ const lo = /* @__PURE__ */ z(oo, [["render", ro], ["__scopeId", "data-v-69c890c4
return { dados: e };
}
}), so = { class: "eli-tabela__celula-tags" };
-function uo(e, a, o, n, i, f) {
+function uo(e, a, o, r, i, f) {
var t;
return u(), y("div", so, [
- (u(!0), y(re, null, fe(((t = e.dados) == null ? void 0 : t.opcoes) ?? [], (r, d) => (u(), W(Na, {
+ (u(!0), y(re, null, fe(((t = e.dados) == null ? void 0 : t.opcoes) ?? [], (n, d) => (u(), W(Na, {
key: d,
class: "eli-tabela__celula-tag",
size: "small",
variant: "tonal",
- color: r.cor,
- clickable: !!r.acao,
+ color: n.cor,
+ clickable: !!n.acao,
onClick: ue((l) => {
var c;
- return (c = r.acao) == null ? void 0 : c.call(r);
+ return (c = n.acao) == null ? void 0 : c.call(n);
}, ["stop", "prevent"])
}, {
default: te(() => [
- r.icone ? (u(), W(Me(r.icone), {
+ n.icone ? (u(), W(Me(n.icone), {
key: 0,
class: "eli-tabela__celula-tag-icone",
size: 14
})) : ee("", !0),
- $("span", null, L(r.rotulo), 1)
+ $("span", null, L(n.rotulo), 1)
]),
_: 2
}, 1032, ["color", "clickable", "onClick"]))), 128))
@@ -1030,33 +1030,33 @@ function ma(e) {
var Ne = { exports: {} }, fo = Ne.exports, aa;
function po() {
return aa || (aa = 1, (function(e, a) {
- (function(o, n) {
- e.exports = n();
+ (function(o, r) {
+ e.exports = r();
})(fo, (function() {
- var o = 1e3, n = 6e4, i = 36e5, f = "millisecond", t = "second", r = "minute", d = "hour", l = "day", c = "week", m = "month", w = "quarter", B = "year", _ = "date", s = "Invalid Date", E = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, C = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(D) {
+ var o = 1e3, r = 6e4, i = 36e5, f = "millisecond", t = "second", n = "minute", d = "hour", l = "day", c = "week", m = "month", w = "quarter", B = "year", _ = "date", s = "Invalid Date", E = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, C = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(D) {
var h = ["th", "st", "nd", "rd"], p = D % 100;
return "[" + D + (h[(p - 20) % 10] || h[p] || h[0]) + "]";
} }, Z = function(D, h, p) {
- var A = String(D);
- return !A || A.length >= h ? D : "" + Array(h + 1 - A.length).join(p) + D;
+ var S = String(D);
+ return !S || S.length >= h ? D : "" + Array(h + 1 - S.length).join(p) + D;
}, le = { s: Z, z: function(D) {
- var h = -D.utcOffset(), p = Math.abs(h), A = Math.floor(p / 60), v = p % 60;
- return (h <= 0 ? "+" : "-") + Z(A, 2, "0") + ":" + Z(v, 2, "0");
+ var h = -D.utcOffset(), p = Math.abs(h), S = Math.floor(p / 60), v = p % 60;
+ return (h <= 0 ? "+" : "-") + Z(S, 2, "0") + ":" + Z(v, 2, "0");
}, m: function D(h, p) {
if (h.date() < p.date()) return -D(p, h);
- var A = 12 * (p.year() - h.year()) + (p.month() - h.month()), v = h.clone().add(A, m), T = p - v < 0, M = h.clone().add(A + (T ? -1 : 1), m);
- return +(-(A + (p - v) / (T ? v - M : M - v)) || 0);
+ var S = 12 * (p.year() - h.year()) + (p.month() - h.month()), v = h.clone().add(S, m), T = p - v < 0, M = h.clone().add(S + (T ? -1 : 1), m);
+ return +(-(S + (p - v) / (T ? v - M : M - v)) || 0);
}, a: function(D) {
return D < 0 ? Math.ceil(D) || 0 : Math.floor(D);
}, p: function(D) {
- return { M: m, y: B, w: c, d: l, D: _, h: d, m: r, s: t, ms: f, Q: w }[D] || String(D || "").toLowerCase().replace(/s$/, "");
+ return { M: m, y: B, w: c, d: l, D: _, h: d, m: n, s: t, ms: f, Q: w }[D] || String(D || "").toLowerCase().replace(/s$/, "");
}, u: function(D) {
return D === void 0;
} }, Y = "en", X = {};
X[Y] = C;
- var ie = "$isDayjsObject", U = function(D) {
- return D instanceof Ae || !(!D || !D[ie]);
- }, me = function D(h, p, A) {
+ var ie = "$isDayjsObject", H = function(D) {
+ return D instanceof Se || !(!D || !D[ie]);
+ }, be = function D(h, p, S) {
var v;
if (!h) return Y;
if (typeof h == "string") {
@@ -1068,23 +1068,23 @@ function po() {
var N = h.name;
X[N] = h, v = N;
}
- return !A && v && (Y = v), v || !A && Y;
+ return !S && v && (Y = v), v || !S && Y;
}, I = function(D, h) {
- if (U(D)) return D.clone();
+ if (H(D)) return D.clone();
var p = typeof h == "object" ? h : {};
- return p.date = D, p.args = arguments, new Ae(p);
+ return p.date = D, p.args = arguments, new Se(p);
}, O = le;
- O.l = me, O.i = U, O.w = function(D, h) {
+ O.l = be, O.i = H, O.w = function(D, h) {
return I(D, { locale: h.$L, utc: h.$u, x: h.$x, $offset: h.$offset });
};
- var Ae = (function() {
+ var Se = (function() {
function D(p) {
- this.$L = me(p.locale, null, !0), this.parse(p), this.$x = this.$x || p.x || {}, this[ie] = !0;
+ this.$L = be(p.locale, null, !0), this.parse(p), this.$x = this.$x || p.x || {}, this[ie] = !0;
}
var h = D.prototype;
return h.parse = function(p) {
- this.$d = (function(A) {
- var v = A.date, T = A.utc;
+ this.$d = (function(S) {
+ var v = S.date, T = S.utc;
if (v === null) return /* @__PURE__ */ new Date(NaN);
if (O.u(v)) return /* @__PURE__ */ new Date();
if (v instanceof Date) return new Date(v);
@@ -1104,21 +1104,21 @@ function po() {
return O;
}, h.isValid = function() {
return this.$d.toString() !== s;
- }, h.isSame = function(p, A) {
+ }, h.isSame = function(p, S) {
var v = I(p);
- return this.startOf(A) <= v && v <= this.endOf(A);
- }, h.isAfter = function(p, A) {
- return I(p) < this.startOf(A);
- }, h.isBefore = function(p, A) {
- return this.endOf(A) < I(p);
- }, h.$g = function(p, A, v) {
- return O.u(p) ? this[A] : this.set(v, p);
+ return this.startOf(S) <= v && v <= this.endOf(S);
+ }, h.isAfter = function(p, S) {
+ return I(p) < this.startOf(S);
+ }, h.isBefore = function(p, S) {
+ return this.endOf(S) < I(p);
+ }, h.$g = function(p, S, v) {
+ return O.u(p) ? this[S] : this.set(v, p);
}, h.unix = function() {
return Math.floor(this.valueOf() / 1e3);
}, h.valueOf = function() {
return this.$d.getTime();
- }, h.startOf = function(p, A) {
- var v = this, T = !!O.u(A) || A, M = O.p(p), N = function(ye, K) {
+ }, h.startOf = function(p, S) {
+ var v = this, T = !!O.u(S) || S, M = O.p(p), N = function(ye, K) {
var pe = O.w(v.$u ? Date.UTC(v.$y, K, ye) : new Date(v.$y, K, ye), v);
return T ? pe : pe.endOf(l);
}, R = function(ye, K) {
@@ -1130,14 +1130,14 @@ function po() {
case m:
return T ? N(1, x) : N(0, x + 1);
case c:
- var $e = this.$locale().weekStart || 0, Se = (G < $e ? G + 7 : G) - $e;
- return N(T ? oe - Se : oe + (6 - Se), x);
+ var $e = this.$locale().weekStart || 0, Ae = (G < $e ? G + 7 : G) - $e;
+ return N(T ? oe - Ae : oe + (6 - Ae), x);
case l:
case _:
return R(ge + "Hours", 0);
case d:
return R(ge + "Minutes", 1);
- case r:
+ case n:
return R(ge + "Seconds", 2);
case t:
return R(ge + "Milliseconds", 3);
@@ -1146,21 +1146,21 @@ function po() {
}
}, h.endOf = function(p) {
return this.startOf(p, !1);
- }, h.$set = function(p, A) {
- var v, T = O.p(p), M = "set" + (this.$u ? "UTC" : ""), N = (v = {}, v[l] = M + "Date", v[_] = M + "Date", v[m] = M + "Month", v[B] = M + "FullYear", v[d] = M + "Hours", v[r] = M + "Minutes", v[t] = M + "Seconds", v[f] = M + "Milliseconds", v)[T], R = T === l ? this.$D + (A - this.$W) : A;
+ }, h.$set = function(p, S) {
+ var v, T = O.p(p), M = "set" + (this.$u ? "UTC" : ""), N = (v = {}, v[l] = M + "Date", v[_] = M + "Date", v[m] = M + "Month", v[B] = M + "FullYear", v[d] = M + "Hours", v[n] = M + "Minutes", v[t] = M + "Seconds", v[f] = M + "Milliseconds", v)[T], R = T === l ? this.$D + (S - this.$W) : S;
if (T === m || T === B) {
var G = this.clone().set(_, 1);
G.$d[N](R), G.init(), this.$d = G.set(_, Math.min(this.$D, G.daysInMonth())).$d;
} else N && this.$d[N](R);
return this.init(), this;
- }, h.set = function(p, A) {
- return this.clone().$set(p, A);
+ }, h.set = function(p, S) {
+ return this.clone().$set(p, S);
}, h.get = function(p) {
return this[O.p(p)]();
- }, h.add = function(p, A) {
+ }, h.add = function(p, S) {
var v, T = this;
p = Number(p);
- var M = O.p(A), N = function(x) {
+ var M = O.p(S), N = function(x) {
var oe = I(T);
return O.w(oe.date(oe.date() + Math.round(x * p)), T);
};
@@ -1168,16 +1168,16 @@ function po() {
if (M === B) return this.set(B, this.$y + p);
if (M === l) return N(1);
if (M === c) return N(7);
- var R = (v = {}, v[r] = n, v[d] = i, v[t] = o, v)[M] || 1, G = this.$d.getTime() + p * R;
+ var R = (v = {}, v[n] = r, v[d] = i, v[t] = o, v)[M] || 1, G = this.$d.getTime() + p * R;
return O.w(G, this);
- }, h.subtract = function(p, A) {
- return this.add(-1 * p, A);
+ }, h.subtract = function(p, S) {
+ return this.add(-1 * p, S);
}, h.format = function(p) {
- var A = this, v = this.$locale();
+ var S = this, v = this.$locale();
if (!this.isValid()) return v.invalidDate || s;
var T = p || "YYYY-MM-DDTHH:mm:ssZ", M = O.z(this), N = this.$H, R = this.$m, G = this.$M, x = v.weekdays, oe = v.months, ge = v.meridiem, $e = function(K, pe, _e, Be) {
- return K && (K[pe] || K(A, T)) || _e[pe].slice(0, Be);
- }, Se = function(K) {
+ return K && (K[pe] || K(S, T)) || _e[pe].slice(0, Be);
+ }, Ae = function(K) {
return O.s(N % 12 || 12, K, "0");
}, ye = ge || function(K, pe, _e) {
var Be = K < 12 ? "AM" : "PM";
@@ -1187,9 +1187,9 @@ function po() {
return pe || (function(_e) {
switch (_e) {
case "YY":
- return String(A.$y).slice(-2);
+ return String(S.$y).slice(-2);
case "YYYY":
- return O.s(A.$y, 4, "0");
+ return O.s(S.$y, 4, "0");
case "M":
return G + 1;
case "MM":
@@ -1199,25 +1199,25 @@ function po() {
case "MMMM":
return $e(oe, G);
case "D":
- return A.$D;
+ return S.$D;
case "DD":
- return O.s(A.$D, 2, "0");
+ return O.s(S.$D, 2, "0");
case "d":
- return String(A.$W);
+ return String(S.$W);
case "dd":
- return $e(v.weekdaysMin, A.$W, x, 2);
+ return $e(v.weekdaysMin, S.$W, x, 2);
case "ddd":
- return $e(v.weekdaysShort, A.$W, x, 3);
+ return $e(v.weekdaysShort, S.$W, x, 3);
case "dddd":
- return x[A.$W];
+ return x[S.$W];
case "H":
return String(N);
case "HH":
return O.s(N, 2, "0");
case "h":
- return Se(1);
+ return Ae(1);
case "hh":
- return Se(2);
+ return Ae(2);
case "a":
return ye(N, R, !0);
case "A":
@@ -1227,11 +1227,11 @@ function po() {
case "mm":
return O.s(R, 2, "0");
case "s":
- return String(A.$s);
+ return String(S.$s);
case "ss":
- return O.s(A.$s, 2, "0");
+ return O.s(S.$s, 2, "0");
case "SSS":
- return O.s(A.$ms, 3, "0");
+ return O.s(S.$ms, 3, "0");
case "Z":
return M;
}
@@ -1240,8 +1240,8 @@ function po() {
}));
}, h.utcOffset = function() {
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
- }, h.diff = function(p, A, v) {
- var T, M = this, N = O.p(A), R = I(p), G = (R.utcOffset() - this.utcOffset()) * n, x = this - R, oe = function() {
+ }, h.diff = function(p, S, v) {
+ var T, M = this, N = O.p(S), R = I(p), G = (R.utcOffset() - this.utcOffset()) * r, x = this - R, oe = function() {
return O.m(M, R);
};
switch (N) {
@@ -1263,8 +1263,8 @@ function po() {
case d:
T = x / i;
break;
- case r:
- T = x / n;
+ case n:
+ T = x / r;
break;
case t:
T = x / o;
@@ -1277,9 +1277,9 @@ function po() {
return this.endOf(m).$D;
}, h.$locale = function() {
return X[this.$L];
- }, h.locale = function(p, A) {
+ }, h.locale = function(p, S) {
if (!p) return this.$L;
- var v = this.clone(), T = me(p, A, !0);
+ var v = this.clone(), T = be(p, S, !0);
return T && (v.$L = T), v;
}, h.clone = function() {
return O.w(this.$d, this);
@@ -1292,14 +1292,14 @@ function po() {
}, h.toString = function() {
return this.$d.toUTCString();
}, D;
- })(), Pe = Ae.prototype;
- return I.prototype = Pe, [["$ms", f], ["$s", t], ["$m", r], ["$H", d], ["$W", l], ["$M", m], ["$y", B], ["$D", _]].forEach((function(D) {
+ })(), Pe = Se.prototype;
+ return I.prototype = Pe, [["$ms", f], ["$s", t], ["$m", n], ["$H", d], ["$W", l], ["$M", m], ["$y", B], ["$D", _]].forEach((function(D) {
Pe[D[1]] = function(h) {
return this.$g(h, D[0], D[1]);
};
})), I.extend = function(D, h) {
- return D.$i || (D(h, Ae, I), D.$i = !0), I;
- }, I.locale = me, I.isDayjs = U, I.unix = function(D) {
+ return D.$i || (D(h, Se, I), D.$i = !0), I;
+ }, I.locale = be, I.isDayjs = H, I.unix = function(D) {
return I(1e3 * D);
}, I.en = X[Y], I.Ls = X, I.p = {}, I;
}));
@@ -1310,13 +1310,13 @@ const Ee = /* @__PURE__ */ ma(vo);
var qe = { exports: {} }, mo = qe.exports, ta;
function bo() {
return ta || (ta = 1, (function(e, a) {
- (function(o, n) {
- e.exports = n();
+ (function(o, r) {
+ e.exports = r();
})(mo, (function() {
- return function(o, n, i) {
+ return function(o, r, i) {
o = o || {};
- var f = n.prototype, t = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
- function r(l, c, m, w) {
+ var f = r.prototype, t = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
+ function n(l, c, m, w) {
return f.fromToBase(l, c, m, w);
}
i.en.relativeTime = t, f.fromToBase = function(l, c, m, w, B) {
@@ -1332,12 +1332,12 @@ function bo() {
}
}
if (c) return s;
- var U = E ? g.future : g.past;
- return typeof U == "function" ? U(s) : U.replace("%s", s);
+ var H = E ? g.future : g.past;
+ return typeof H == "function" ? H(s) : H.replace("%s", s);
}, f.to = function(l, c) {
- return r(l, c, this, !0);
+ return n(l, c, this, !0);
}, f.from = function(l, c) {
- return r(l, c, this);
+ return n(l, c, this);
};
var d = function(l) {
return l.$u ? i.utc() : i();
@@ -1363,22 +1363,22 @@ const $o = j({
}
},
setup({ dados: e }) {
- const a = S(() => {
+ const a = A(() => {
const o = e == null ? void 0 : e.valor;
if (!o) return "";
- const n = (e == null ? void 0 : e.formato) ?? "data";
- return n === "relativo" ? Ee(o).fromNow() : n === "data_hora" ? Ee(o).format("DD/MM/YYYY HH:mm") : Ee(o).format("DD/MM/YYYY");
+ const r = (e == null ? void 0 : e.formato) ?? "data";
+ return r === "relativo" ? Ee(o).fromNow() : r === "data_hora" ? Ee(o).format("DD/MM/YYYY HH:mm") : Ee(o).format("DD/MM/YYYY");
});
return { dados: e, textoData: a };
}
}), yo = { key: 1 };
-function _o(e, a, o, n, i, f) {
+function _o(e, a, o, r, i, f) {
var t;
return (t = e.dados) != null && t.acao ? (u(), y("button", {
key: 0,
type: "button",
class: "eli-tabela__celula-link",
- onClick: a[0] || (a[0] = ue((r) => e.dados.acao(), ["stop", "prevent"]))
+ onClick: a[0] || (a[0] = ue((n) => e.dados.acao(), ["stop", "prevent"]))
}, L(e.textoData), 1)) : (u(), y("span", yo, L(e.textoData), 1));
}
const Eo = /* @__PURE__ */ z($o, [["render", _o], ["__scopeId", "data-v-2b88bbb2"]]), Co = {
@@ -1387,7 +1387,7 @@ const Eo = /* @__PURE__ */ z($o, [["render", _o], ["__scopeId", "data-v-2b88bbb2
numero: lo,
tags: co,
data: Eo
-}, Ao = j({
+}, So = j({
name: "EliTabelaCelula",
props: {
celula: {
@@ -1397,14 +1397,14 @@ const Eo = /* @__PURE__ */ z($o, [["render", _o], ["__scopeId", "data-v-2b88bbb2
}
},
setup(e) {
- const a = S(() => e.celula[0]), o = S(() => e.celula[1]), n = S(() => Co[a.value]), i = S(() => o.value);
- return { Componente: n, dadosParaComponente: i };
+ const a = A(() => e.celula[0]), o = A(() => e.celula[1]), r = A(() => Co[a.value]), i = A(() => o.value);
+ return { Componente: r, dadosParaComponente: i };
}
});
-function So(e, a, o, n, i, f) {
+function Ao(e, a, o, r, i, f) {
return u(), W(Me(e.Componente), { dados: e.dadosParaComponente }, null, 8, ["dados"]);
}
-const ba = /* @__PURE__ */ z(Ao, [["render", So]]), ko = j({
+const ba = /* @__PURE__ */ z(So, [["render", Ao]]), ko = j({
name: "EliTabelaDetalhesLinha",
components: { EliTabelaCelula: ba },
props: {
@@ -1418,17 +1418,17 @@ const ba = /* @__PURE__ */ z(Ao, [["render", So]]), ko = j({
}
}
}), Do = { class: "eli-tabela__detalhes" }, Mo = { class: "eli-tabela__detalhe-rotulo" }, Bo = { class: "eli-tabela__detalhe-valor" };
-function To(e, a, o, n, i, f) {
+function To(e, a, o, r, i, f) {
const t = Q("EliTabelaCelula");
return u(), y("div", Do, [
- (u(!0), y(re, null, fe(e.colunasInvisiveis, (r, d) => (u(), y("div", {
- key: `det-${d}-${r.rotulo}`,
+ (u(!0), y(re, null, fe(e.colunasInvisiveis, (n, d) => (u(), y("div", {
+ key: `det-${d}-${n.rotulo}`,
class: "eli-tabela__detalhe"
}, [
- $("div", Mo, L(r.rotulo), 1),
+ $("div", Mo, L(n.rotulo), 1),
$("div", Bo, [
q(t, {
- celula: r.celula(e.linha)
+ celula: n.celula(e.linha)
}, null, 8, ["celula"])
])
]))), 128))
@@ -1492,8 +1492,8 @@ const wo = /* @__PURE__ */ z(ko, [["render", To], ["__scopeId", "data-v-f1ee8d20
};
}
}), Oo = { class: "eli-tabela__tbody" }, Fo = ["aria-expanded", "aria-label", "title", "onClick"], Vo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label", "title", "onClick"], Io = ["colspan"];
-function No(e, a, o, n, i, f) {
- const t = Q("EliTabelaCelula"), r = Q("MoreVertical"), d = Q("EliTabelaDetalhesLinha");
+function No(e, a, o, r, i, f) {
+ const t = Q("EliTabelaCelula"), n = Q("MoreVertical"), d = Q("EliTabelaDetalhesLinha");
return u(), y("tbody", Oo, [
(u(!0), y(re, null, fe(e.linhas, (l, c) => {
var m, w, B, _, s, E;
@@ -1550,7 +1550,7 @@ function No(e, a, o, n, i, f) {
title: e.possuiAcoes(c) ? "Ações" : "Nenhuma ação disponível",
onClick: ue((g) => e.toggleMenu(c, g), ["stop"])
}, [
- q(r, {
+ q(n, {
class: "eli-tabela__acoes-toggle-icone",
size: 18,
"stroke-width": 2
@@ -1604,16 +1604,16 @@ const qo = /* @__PURE__ */ z(Po, [["render", No]]), Lo = j({
}
},
setup(e, { emit: a, expose: o }) {
- const n = F(null);
- o({ menuEl: n });
- const i = S(() => e.acoes.length > 0);
+ const r = F(null);
+ o({ menuEl: r });
+ const i = A(() => e.acoes.length > 0);
function f(t) {
e.linha && a("executar", { acao: t.acao, linha: e.linha });
}
- return { menuEl: n, possuiAcoes: i, emitExecutar: f };
+ return { menuEl: r, possuiAcoes: i, emitExecutar: f };
}
-}), jo = ["id", "aria-labelledby"], zo = ["aria-label", "title", "onClick"], Uo = { class: "eli-tabela__acoes-item-texto" };
-function Ho(e, a, o, n, i, f) {
+}), jo = ["id", "aria-labelledby"], zo = ["aria-label", "title", "onClick"], Ho = { class: "eli-tabela__acoes-item-texto" };
+function Uo(e, a, o, r, i, f) {
return u(), W(Da, { to: "body" }, [
e.menuAberto !== null && e.possuiAcoes ? (u(), y("ul", {
key: 0,
@@ -1641,20 +1641,20 @@ function Ho(e, a, o, n, i, f) {
role: "menuitem",
"aria-label": t.acao.rotulo,
title: t.acao.rotulo,
- onClick: ue((r) => e.emitExecutar(t), ["stop"])
+ onClick: ue((n) => e.emitExecutar(t), ["stop"])
}, [
(u(), W(Me(t.acao.icone), {
class: "eli-tabela__acoes-item-icone",
size: 16,
"stroke-width": 2
})),
- $("span", Uo, L(t.acao.rotulo), 1)
+ $("span", Ho, L(t.acao.rotulo), 1)
], 12, zo)
]))), 128))
], 12, jo)) : ee("", !0)
]);
}
-const Yo = /* @__PURE__ */ z(Lo, [["render", Ho]]), Ro = j({
+const Yo = /* @__PURE__ */ z(Lo, [["render", Uo]]), Ro = j({
name: "EliTabelaPaginacao",
props: {
pagina: {
@@ -1676,10 +1676,10 @@ const Yo = /* @__PURE__ */ z(Lo, [["render", Ho]]), Ro = j({
}
},
setup(e, { emit: a }) {
- const o = S(() => {
+ const o = A(() => {
const l = e.maximoBotoes;
return typeof l == "number" && l >= 5 ? Math.floor(l) : 7;
- }), n = S(() => {
+ }), r = A(() => {
const l = e.totalPaginas, c = e.pagina, m = o.value, w = [], B = (C) => {
w.push({
label: String(C),
@@ -1707,13 +1707,13 @@ const Yo = /* @__PURE__ */ z(Lo, [["render", Ho]]), Ro = j({
const c = Math.min(Math.max(1, l), e.totalPaginas);
c !== e.pagina && a("alterar", c);
}
- const f = S(() => e.pagina <= 1), t = S(() => e.pagina >= e.totalPaginas), r = S(() => e.pagina), d = S(() => e.totalPaginas);
+ const f = A(() => e.pagina <= 1), t = A(() => e.pagina >= e.totalPaginas), n = A(() => e.pagina), d = A(() => e.totalPaginas);
return {
- botoes: n,
+ botoes: r,
irParaPagina: i,
anteriorDesabilitado: f,
proximaDesabilitada: t,
- paginaAtual: r,
+ paginaAtual: n,
totalPaginasExibidas: d
};
}
@@ -1727,7 +1727,7 @@ const Yo = /* @__PURE__ */ z(Lo, [["render", Ho]]), Ro = j({
class: "eli-tabela__pagina-ellipsis",
"aria-hidden": "true"
}, Xo = ["disabled", "aria-current", "aria-label", "onClick"], Go = ["disabled"];
-function Ko(e, a, o, n, i, f) {
+function Ko(e, a, o, r, i, f) {
return e.totalPaginasExibidas > 1 ? (u(), y("nav", Jo, [
$("button", {
type: "button",
@@ -1736,8 +1736,8 @@ function Ko(e, a, o, n, i, f) {
"aria-label": "Página anterior",
onClick: a[0] || (a[0] = (t) => e.irParaPagina(e.paginaAtual - 1))
}, " << ", 8, Wo),
- (u(!0), y(re, null, fe(e.botoes, (t, r) => (u(), y(re, {
- key: `${t.label}-${r}`
+ (u(!0), y(re, null, fe(e.botoes, (t, n) => (u(), y(re, {
+ key: `${t.label}-${n}`
}, [
t.ehEllipsis ? (u(), y("span", Zo, L(t.label), 1)) : (u(), y("button", {
key: 1,
@@ -1787,19 +1787,19 @@ const Qo = /* @__PURE__ */ z(Ro, [["render", Ko], ["__scopeId", "data-v-5ca7a362
}
},
setup(e, { emit: a }) {
- const o = F([]), n = F([]);
+ const o = F([]), r = F([]);
function i() {
var X, ie;
const _ = e.rotulosColunas, s = (((X = e.configInicial.visiveis) == null ? void 0 : X.length) ?? 0) > 0 || (((ie = e.configInicial.invisiveis) == null ? void 0 : ie.length) ?? 0) > 0, E = new Set(
- e.colunas.filter((U) => U.visivel === !1).map((U) => U.rotulo)
- ), g = s ? new Set(e.configInicial.invisiveis ?? []) : E, C = _.filter((U) => !g.has(U)), Z = e.configInicial.visiveis ?? [], le = new Set(C), Y = [];
- for (const U of Z)
- le.has(U) && Y.push(U);
- for (const U of C)
- Y.includes(U) || Y.push(U);
- o.value = Y, n.value = _.filter((U) => g.has(U));
+ e.colunas.filter((H) => H.visivel === !1).map((H) => H.rotulo)
+ ), g = s ? new Set(e.configInicial.invisiveis ?? []) : E, C = _.filter((H) => !g.has(H)), Z = e.configInicial.visiveis ?? [], le = new Set(C), Y = [];
+ for (const H of Z)
+ le.has(H) && Y.push(H);
+ for (const H of C)
+ Y.includes(H) || Y.push(H);
+ o.value = Y, r.value = _.filter((H) => g.has(H));
}
- he(
+ me(
() => [e.aberto, e.rotulosColunas, e.configInicial, e.colunas],
() => {
e.aberto && i();
@@ -1812,10 +1812,10 @@ const Qo = /* @__PURE__ */ z(Ro, [["render", Ko], ["__scopeId", "data-v-5ca7a362
function t() {
a("salvar", {
visiveis: [...o.value],
- invisiveis: [...n.value]
+ invisiveis: [...r.value]
});
}
- function r(_, s) {
+ function n(_, s) {
var E, g;
try {
(E = _.dataTransfer) == null || E.setData(oa, JSON.stringify(s)), (g = _.dataTransfer) == null || g.setData("text/plain", s.rotulo), _.dataTransfer.effectAllowed = "move";
@@ -1834,22 +1834,22 @@ const Qo = /* @__PURE__ */ z(Ro, [["render", Ko], ["__scopeId", "data-v-5ca7a362
}
}
function l(_) {
- const s = _.origem === "visiveis" ? o.value : n.value, E = s.indexOf(_.rotulo);
+ const s = _.origem === "visiveis" ? o.value : r.value, E = s.indexOf(_.rotulo);
E >= 0 && s.splice(E, 1);
}
function c(_, s, E) {
- const g = _ === "visiveis" ? o.value : n.value, C = g.indexOf(s);
+ const g = _ === "visiveis" ? o.value : r.value, C = g.indexOf(s);
C >= 0 && g.splice(C, 1), E === null || E < 0 || E > g.length ? g.push(s) : g.splice(E, 0, s);
}
function m(_, s, E, g) {
- r(_, { rotulo: s, origem: E, index: g });
+ n(_, { rotulo: s, origem: E, index: g });
}
function w(_, s, E) {
const g = d(_);
if (g)
if (l(g), c(s, g.rotulo, E), s === "visiveis") {
- const C = n.value.indexOf(g.rotulo);
- C >= 0 && n.value.splice(C, 1);
+ const C = r.value.indexOf(g.rotulo);
+ C >= 0 && r.value.splice(C, 1);
} else {
const C = o.value.indexOf(g.rotulo);
C >= 0 && o.value.splice(C, 1);
@@ -1859,8 +1859,8 @@ const Qo = /* @__PURE__ */ z(Ro, [["render", Ko], ["__scopeId", "data-v-5ca7a362
const g = d(_);
if (g)
if (l(g), c(s, g.rotulo, null), s === "visiveis") {
- const C = n.value.indexOf(g.rotulo);
- C >= 0 && n.value.splice(C, 1);
+ const C = r.value.indexOf(g.rotulo);
+ C >= 0 && r.value.splice(C, 1);
} else {
const C = o.value.indexOf(g.rotulo);
C >= 0 && o.value.splice(C, 1);
@@ -1868,7 +1868,7 @@ const Qo = /* @__PURE__ */ z(Ro, [["render", Ko], ["__scopeId", "data-v-5ca7a362
}
return {
visiveisLocal: o,
- invisiveisLocal: n,
+ invisiveisLocal: r,
emitFechar: f,
emitSalvar: t,
onDragStart: m,
@@ -1882,7 +1882,7 @@ const Qo = /* @__PURE__ */ z(Ro, [["render", Ko], ["__scopeId", "data-v-5ca7a362
"aria-modal": "true",
"aria-label": "Configurar colunas"
}, an = { class: "eli-tabela-modal-colunas__header" }, tn = { class: "eli-tabela-modal-colunas__conteudo" }, on = { class: "eli-tabela-modal-colunas__coluna" }, nn = ["onDragstart", "onDrop"], rn = { class: "eli-tabela-modal-colunas__item-texto" }, ln = { class: "eli-tabela-modal-colunas__coluna" }, sn = ["onDragstart", "onDrop"], un = { class: "eli-tabela-modal-colunas__item-texto" }, cn = { class: "eli-tabela-modal-colunas__footer" };
-function dn(e, a, o, n, i, f) {
+function dn(e, a, o, r, i, f) {
return e.aberto ? (u(), y("div", {
key: 0,
class: "eli-tabela-modal-colunas__overlay",
@@ -1908,14 +1908,14 @@ function dn(e, a, o, n, i, f) {
}, ["prevent"])),
onDrop: a[3] || (a[3] = (t) => e.onDropLista(t, "visiveis", null))
}, [
- (u(!0), y(re, null, fe(e.visiveisLocal, (t, r) => (u(), y("div", {
+ (u(!0), y(re, null, fe(e.visiveisLocal, (t, n) => (u(), y("div", {
key: `vis-${t}`,
class: "eli-tabela-modal-colunas__item",
draggable: "true",
- onDragstart: (d) => e.onDragStart(d, t, "visiveis", r),
+ onDragstart: (d) => e.onDragStart(d, t, "visiveis", n),
onDragover: a[1] || (a[1] = ue(() => {
}, ["prevent"])),
- onDrop: (d) => e.onDropItem(d, "visiveis", r)
+ onDrop: (d) => e.onDropItem(d, "visiveis", n)
}, [
a[11] || (a[11] = $("span", {
class: "eli-tabela-modal-colunas__item-handle",
@@ -1933,14 +1933,14 @@ function dn(e, a, o, n, i, f) {
}, ["prevent"])),
onDrop: a[6] || (a[6] = (t) => e.onDropLista(t, "invisiveis", null))
}, [
- (u(!0), y(re, null, fe(e.invisiveisLocal, (t, r) => (u(), y("div", {
+ (u(!0), y(re, null, fe(e.invisiveisLocal, (t, n) => (u(), y("div", {
key: `inv-${t}`,
class: "eli-tabela-modal-colunas__item",
draggable: "true",
- onDragstart: (d) => e.onDragStart(d, t, "invisiveis", r),
+ onDragstart: (d) => e.onDragStart(d, t, "invisiveis", n),
onDragover: a[4] || (a[4] = ue(() => {
}, ["prevent"])),
- onDrop: (d) => e.onDropItem(d, "invisiveis", r)
+ onDrop: (d) => e.onDropItem(d, "invisiveis", n)
}, [
a[13] || (a[13] = $("span", {
class: "eli-tabela-modal-colunas__item-handle",
@@ -1992,16 +1992,16 @@ function na(e) {
function mn(e) {
const a = (e ?? "").replace(/[^0-9.,]+/g, ""), o = a.match(/[.,]/);
if (!o) return a;
- const n = o[0], i = a.indexOf(n), f = a.slice(0, i).replace(/[.,]/g, ""), t = a.slice(i + 1).replace(/[.,]/g, "");
- return `${f.length ? f : "0"}${n}${t}`;
+ const r = o[0], i = a.indexOf(r), f = a.slice(0, i).replace(/[.,]/g, ""), t = a.slice(i + 1).replace(/[.,]/g, "");
+ return `${f.length ? f : "0"}${r}${t}`;
}
function bn(e, a) {
if (a === null) return e;
if (a <= 0) return e.replace(/[.,]/g, "");
const o = e.match(/[.,]/);
if (!o) return e;
- const n = o[0], i = e.indexOf(n), f = e.slice(0, i), t = e.slice(i + 1);
- return `${f}${n}${t.slice(0, a)}`;
+ const r = o[0], i = e.indexOf(r), f = e.slice(0, i), t = e.slice(i + 1);
+ return `${f}${r}${t.slice(0, a)}`;
}
function hn(e) {
const a = e.match(/^(\d+)[.,]$/);
@@ -2032,44 +2032,44 @@ const gn = j({
blur: () => !0
},
setup(e, { attrs: a, emit: o }) {
- const n = S(() => {
+ const r = A(() => {
var c;
const l = (c = e.opcoes) == null ? void 0 : c.precisao;
return l == null ? null : pn(l);
- }), i = S(() => n.value === 0), f = S(() => {
- const l = n.value;
+ }), i = A(() => r.value === 0), f = A(() => {
+ const l = r.value;
return l !== null && l > 0;
- }), t = F(""), r = F(void 0);
- he(
+ }), t = F(""), n = F(void 0);
+ me(
() => e.value,
(l) => {
- l !== r.value && (t.value = Le(l, n.value), r.value = l);
+ l !== n.value && (t.value = Le(l, r.value), n.value = l);
},
{ immediate: !0 }
);
function d(l) {
if (f.value) {
- const B = n.value ?? 0, _ = na(l), s = _ ? Number(_) : 0, E = Math.pow(10, B), g = _ ? s / E : null, C = g === null ? null : g;
- r.value = C, o("update:value", C), o("input", C), o("change", C), t.value = Le(C, B);
+ const B = r.value ?? 0, _ = na(l), s = _ ? Number(_) : 0, E = Math.pow(10, B), g = _ ? s / E : null, C = g === null ? null : g;
+ n.value = C, o("update:value", C), o("input", C), o("change", C), t.value = Le(C, B);
return;
}
- const c = i.value ? na(l) : mn(l), m = i.value ? c : bn(c, n.value);
+ const c = i.value ? na(l) : mn(l), m = i.value ? c : bn(c, r.value);
let w = null;
if (m) {
const _ = (i.value ? null : hn(m)) ?? vn(m);
w = _ === null ? null : _;
}
- r.value = w, o("update:value", w), o("input", w), o("change", w), t.value = Le(w, n.value);
+ n.value = w, o("update:value", w), o("input", w), o("change", w), t.value = Le(w, r.value);
}
return { attrs: a, emit: o, displayValue: t, isInteiro: i, onUpdateModelValue: d };
}
}), $n = { class: "eli-entrada__prefixo" }, yn = { class: "eli-entrada__sufixo" };
-function _n(e, a, o, n, i, f) {
- var t, r, d, l;
- return u(), W(Ue, Ce({
+function _n(e, a, o, r, i, f) {
+ var t, n, d, l;
+ return u(), W(He, Ce({
"model-value": e.displayValue,
label: (t = e.opcoes) == null ? void 0 : t.rotulo,
- placeholder: (r = e.opcoes) == null ? void 0 : r.placeholder,
+ placeholder: (n = e.opcoes) == null ? void 0 : n.placeholder,
type: e.isInteiro ? "number" : "text",
inputmode: e.isInteiro ? "numeric" : "decimal",
pattern: e.isInteiro ? "[0-9]*" : "[0-9.,]*"
@@ -2145,7 +2145,7 @@ const ha = /* @__PURE__ */ z(gn, [["render", _n], ["__scopeId", "data-v-77cbf216
blur: () => !0
},
setup(e, { emit: a, attrs: o }) {
- const n = S(() => e.opcoes ? e.opcoes : {
+ const r = A(() => e.opcoes ? e.opcoes : {
rotulo: e.rotulo ?? "Data e hora",
placeholder: e.placeholder ?? "",
modo: e.modo ?? "dataHora",
@@ -2158,19 +2158,19 @@ const ha = /* @__PURE__ */ z(gn, [["render", _n], ["__scopeId", "data-v-77cbf216
variante: e.variante,
min: e.min,
max: e.max
- }), i = S(
- () => n.value.modo ?? "dataHora"
- ), f = S(() => !!e.desabilitado), t = S(
+ }), i = A(
+ () => r.value.modo ?? "dataHora"
+ ), f = A(() => !!e.desabilitado), t = A(
() => i.value === "data" ? "date" : "datetime-local"
);
- function r(s) {
+ function n(s) {
return i.value === "data" ? Ee(s).format("YYYY-MM-DD") : Ee(s).format("YYYY-MM-DDTHH:mm");
}
function d(s) {
return i.value === "data" ? Ee(`${s}T00:00`).format() : Ee(s).format();
}
- const l = S(() => e.value !== void 0 ? e.value ?? null : e.modelValue), c = S({
- get: () => l.value ? r(l.value) : "",
+ const l = A(() => e.value !== void 0 ? e.value ?? null : e.modelValue), c = A({
+ get: () => l.value ? n(l.value) : "",
set: (s) => {
const E = s && s.length > 0 ? s : null;
if (!E) {
@@ -2180,14 +2180,14 @@ const ha = /* @__PURE__ */ z(gn, [["render", _n], ["__scopeId", "data-v-77cbf216
const g = d(E);
a("update:value", g), a("input", g), a("change", g), a("update:modelValue", g), a("alterar", g);
}
- }), m = S(() => {
- const s = n.value.min;
+ }), m = A(() => {
+ const s = r.value.min;
if (s)
- return r(s);
- }), w = S(() => {
- const s = n.value.max;
+ return n(s);
+ }), w = A(() => {
+ const s = r.value.max;
if (s)
- return r(s);
+ return n(s);
});
function B() {
a("foco"), a("focus");
@@ -2201,16 +2201,16 @@ const ha = /* @__PURE__ */ z(gn, [["render", _n], ["__scopeId", "data-v-77cbf216
tipoInput: t,
minLocal: m,
maxLocal: w,
- opcoesEfetivas: n,
+ opcoesEfetivas: r,
desabilitadoEfetivo: f,
emitCompatFocus: B,
emitCompatBlur: _
};
}
}), Cn = { class: "eli-data-hora" };
-function An(e, a, o, n, i, f) {
+function Sn(e, a, o, r, i, f) {
return u(), y("div", Cn, [
- q(Ue, Ce({
+ q(He, Ce({
modelValue: e.valor,
"onUpdate:modelValue": a[0] || (a[0] = (t) => e.valor = t),
type: e.tipoInput,
@@ -2232,7 +2232,7 @@ function An(e, a, o, n, i, f) {
}), null, 16, ["modelValue", "type", "label", "placeholder", "disabled", "clearable", "error", "error-messages", "hint", "persistent-hint", "density", "variant", "min", "max", "onFocus", "onBlur"])
]);
}
-const ga = /* @__PURE__ */ z(En, [["render", An], ["__scopeId", "data-v-1bfd1be8"]]), Sn = j({
+const ga = /* @__PURE__ */ z(En, [["render", Sn], ["__scopeId", "data-v-1bfd1be8"]]), An = j({
name: "EliEntradaParagrafo",
components: { VTextarea: Va },
inheritAttrs: !1,
@@ -2254,22 +2254,22 @@ const ga = /* @__PURE__ */ z(En, [["render", An], ["__scopeId", "data-v-1bfd1be8
blur: () => !0
},
setup(e, { attrs: a, emit: o }) {
- const n = S({
+ const r = A({
get: () => e.value,
set: (i) => {
o("update:value", i), o("input", i), o("change", i);
}
});
- return { attrs: a, emit: o, localValue: n, opcoes: e.opcoes };
+ return { attrs: a, emit: o, localValue: r, opcoes: e.opcoes };
}
});
-function kn(e, a, o, n, i, f) {
- var t, r, d, l, c, m, w, B, _, s, E, g;
+function kn(e, a, o, r, i, f) {
+ var t, n, d, l, c, m, w, B, _, s, E, g;
return u(), W(qa, Ce({
modelValue: e.localValue,
"onUpdate:modelValue": a[0] || (a[0] = (C) => e.localValue = C),
label: (t = e.opcoes) == null ? void 0 : t.rotulo,
- placeholder: (r = e.opcoes) == null ? void 0 : r.placeholder,
+ placeholder: (n = e.opcoes) == null ? void 0 : n.placeholder,
rows: ((d = e.opcoes) == null ? void 0 : d.linhas) ?? 4,
counter: (l = e.opcoes) == null ? void 0 : l.limiteCaracteres,
maxlength: (c = e.opcoes) == null ? void 0 : c.limiteCaracteres,
@@ -2286,7 +2286,7 @@ function kn(e, a, o, n, i, f) {
onBlur: a[2] || (a[2] = () => e.emit("blur"))
}), null, 16, ["modelValue", "label", "placeholder", "rows", "counter", "maxlength", "clearable", "error", "error-messages", "hint", "persistent-hint", "density", "variant"]);
}
-const Dn = /* @__PURE__ */ z(Sn, [["render", kn]]), Mn = j({
+const Dn = /* @__PURE__ */ z(An, [["render", kn]]), Mn = j({
name: "EliEntradaSelecao",
components: { VSelect: Ia },
inheritAttrs: !1,
@@ -2308,43 +2308,50 @@ const Dn = /* @__PURE__ */ z(Sn, [["render", kn]]), Mn = j({
blur: () => !0
},
setup(e, { attrs: a, emit: o }) {
- const n = F([]), i = F(!1), f = S({
+ const r = F([]), i = F(!1), f = A({
get: () => e.value,
- set: (r) => {
- o("update:value", r), o("input", r), o("change", r);
+ set: (n) => {
+ o("update:value", n), o("input", n), o("change", n);
}
});
async function t() {
i.value = !0;
try {
- const r = await e.opcoes.itens();
- n.value = Array.isArray(r) ? r : [];
+ const n = await e.opcoes.itens(), d = Array.isArray(n) ? n : [];
+ r.value = [...d];
} finally {
i.value = !1;
}
}
- return he(
+ return me(
() => e.opcoes.itens,
() => {
t();
}
), sa(() => {
t();
- }), { attrs: a, emit: o, localValue: f, opcoes: e.opcoes, itens: n, carregando: i };
+ }), me(
+ r,
+ (n) => {
+ console.debug("[EliEntradaSelecao] itens:", n);
+ },
+ { deep: !0 }
+ ), { attrs: a, emit: o, localValue: f, opcoes: e.opcoes, itens: r, carregando: i };
}
});
-function Bn(e, a, o, n, i, f) {
- var t, r, d, l, c, m, w, B, _;
+function Bn(e, a, o, r, i, f) {
+ var t, n, d, l, c, m, w, B, _;
return u(), W(La, Ce({
modelValue: e.localValue,
"onUpdate:modelValue": a[0] || (a[0] = (s) => e.localValue = s),
label: (t = e.opcoes) == null ? void 0 : t.rotulo,
- placeholder: (r = e.opcoes) == null ? void 0 : r.placeholder,
+ placeholder: (n = e.opcoes) == null ? void 0 : n.placeholder,
items: e.itens,
"item-title": "rotulo",
"item-value": "chave",
loading: e.carregando,
disabled: e.carregando,
+ "menu-props": { maxHeight: 320 },
clearable: !!((d = e.opcoes) != null && d.limpavel),
error: !!((l = e.opcoes) != null && l.erro),
"error-messages": (c = e.opcoes) == null ? void 0 : c.mensagensErro,
@@ -2362,8 +2369,8 @@ function wn(e) {
return e === "texto" || e === "numero" || e === "dataHora";
}
function Pn(e) {
- var o, n;
- const a = (n = (o = e == null ? void 0 : e.entrada) == null ? void 0 : o[1]) == null ? void 0 : n.rotulo;
+ var o, r;
+ const a = (r = (o = e == null ? void 0 : e.entrada) == null ? void 0 : o[1]) == null ? void 0 : r.rotulo;
return String(a || ((e == null ? void 0 : e.coluna) ?? "Filtro"));
}
const On = j({
@@ -2385,7 +2392,7 @@ const On = j({
salvar: (e) => !0
},
setup(e, { emit: a }) {
- const o = F([]), n = F(""), i = S(() => (e.filtrosBase ?? []).map((s) => String(s.coluna))), f = S(() => {
+ const o = F([]), r = F(""), i = A(() => (e.filtrosBase ?? []).map((s) => String(s.coluna))), f = A(() => {
const s = new Set(o.value.map((E) => String(E.coluna)));
return (e.filtrosBase ?? []).filter((E) => !s.has(String(E.coluna)));
});
@@ -2393,7 +2400,7 @@ const On = j({
const E = s == null ? void 0 : s[0];
return E === "numero" ? ha : E === "dataHora" ? ga : Ye;
}
- function r(s) {
+ function n(s) {
return (s == null ? void 0 : s[1]) ?? { rotulo: "" };
}
function d(s) {
@@ -2403,7 +2410,7 @@ const On = j({
var g;
const s = e.filtrosBase ?? [], E = Array.isArray(e.modelo) ? e.modelo : [];
o.value = E.map((C) => {
- const Z = s.find((U) => String(U.coluna) === String(C.coluna)) ?? s[0], le = (Z == null ? void 0 : Z.entrada) ?? C.entrada, Y = (Z == null ? void 0 : Z.coluna) ?? C.coluna, X = String((Z == null ? void 0 : Z.operador) ?? "="), ie = C.valor ?? d(le);
+ const Z = s.find((H) => String(H.coluna) === String(C.coluna)) ?? s[0], le = (Z == null ? void 0 : Z.entrada) ?? C.entrada, Y = (Z == null ? void 0 : Z.coluna) ?? C.coluna, X = String((Z == null ? void 0 : Z.operador) ?? "="), ie = C.valor ?? d(le);
return {
coluna: Y,
operador: X,
@@ -2414,7 +2421,7 @@ const On = j({
for (const C of o.value)
i.value.includes(String(C.coluna)) && (C.operador = String(((g = s.find((Z) => String(Z.coluna) === String(C.coluna))) == null ? void 0 : g.operador) ?? "="), C.entrada && !wn(C.entrada[0]) && (C.entrada = ["texto", { rotulo: "Valor" }]));
}
- he(
+ me(
() => [e.aberto, e.filtrosBase, e.modelo],
() => {
e.aberto && l();
@@ -2422,14 +2429,14 @@ const On = j({
{ deep: !0, immediate: !0 }
);
function c() {
- if (!n.value) return;
- const s = (e.filtrosBase ?? []).find((E) => String(E.coluna) === String(n.value));
+ if (!r.value) return;
+ const s = (e.filtrosBase ?? []).find((E) => String(E.coluna) === String(r.value));
s && (o.value.some((E) => String(E.coluna) === String(s.coluna)) || (o.value.push({
coluna: s.coluna,
entrada: s.entrada,
operador: String(s.operador ?? "="),
valor: d(s.entrada)
- }), n.value = ""));
+ }), r.value = ""));
}
function m(s) {
o.value.splice(s, 1);
@@ -2452,9 +2459,9 @@ const On = j({
return {
linhas: o,
opcoesParaAdicionar: f,
- colunaParaAdicionar: n,
+ colunaParaAdicionar: r,
componenteEntrada: t,
- opcoesEntrada: r,
+ opcoesEntrada: n,
adicionar: c,
remover: m,
// exibimos operador fixo só como texto
@@ -2475,8 +2482,8 @@ const On = j({
}, qn = {
key: 1,
class: "eli-tabela-modal-filtro__lista"
-}, Ln = { class: "eli-tabela-modal-filtro__entrada" }, jn = ["onClick"], zn = { class: "eli-tabela-modal-filtro__acoes" }, Un = ["disabled"], Hn = ["value"], Yn = ["disabled"], Rn = { class: "eli-tabela-modal-filtro__footer" };
-function Jn(e, a, o, n, i, f) {
+}, Ln = { class: "eli-tabela-modal-filtro__entrada" }, jn = ["onClick"], zn = { class: "eli-tabela-modal-filtro__acoes" }, Hn = ["disabled"], Un = ["value"], Yn = ["disabled"], Rn = { class: "eli-tabela-modal-filtro__footer" };
+function Jn(e, a, o, r, i, f) {
return e.aberto ? (u(), y("div", {
key: 0,
class: "eli-tabela-modal-filtro__overlay",
@@ -2495,7 +2502,7 @@ function Jn(e, a, o, n, i, f) {
]),
$("div", In, [
e.filtrosBase.length ? (u(), y("div", qn, [
- (u(!0), y(re, null, fe(e.linhas, (t, r) => (u(), y("div", {
+ (u(!0), y(re, null, fe(e.linhas, (t, n) => (u(), y("div", {
key: String(t.coluna),
class: "eli-tabela-modal-filtro__linha"
}, [
@@ -2512,7 +2519,7 @@ function Jn(e, a, o, n, i, f) {
class: "eli-tabela-modal-filtro__remover",
title: "Remover",
"aria-label": "Remover",
- onClick: (d) => e.remover(r)
+ onClick: (d) => e.remover(n)
}, " × ", 8, jn)
]))), 128))
])) : (u(), y("div", Nn, " Nenhum filtro configurado na tabela. ")),
@@ -2529,8 +2536,8 @@ function Jn(e, a, o, n, i, f) {
(u(!0), y(re, null, fe(e.opcoesParaAdicionar, (t) => (u(), y("option", {
key: String(t.coluna),
value: String(t.coluna)
- }, L(e.rotuloDoFiltro(t)), 9, Hn))), 128))
- ], 8, Un), [
+ }, L(e.rotuloDoFiltro(t)), 9, Un))), 128))
+ ], 8, Hn), [
[Ba, e.colunaParaAdicionar]
]),
$("button", {
@@ -2568,8 +2575,8 @@ function $a(e) {
function ya(e) {
if (!e || typeof e != "object")
return { visiveis: [], invisiveis: [] };
- const a = e, o = Array.isArray(a.visiveis) ? a.visiveis.filter((i) => typeof i == "string") : [], n = Array.isArray(a.invisiveis) ? a.invisiveis.filter((i) => typeof i == "string") : [];
- return { visiveis: o, invisiveis: n };
+ const a = e, o = Array.isArray(a.visiveis) ? a.visiveis.filter((i) => typeof i == "string") : [], r = Array.isArray(a.invisiveis) ? a.invisiveis.filter((i) => typeof i == "string") : [];
+ return { visiveis: o, invisiveis: r };
}
function ra(e) {
try {
@@ -2632,7 +2639,7 @@ const Qn = j({
}
},
setup(e) {
- const o = F(!1), n = F(null), i = F([]), f = F(0), t = F([]), r = F(null), d = F(null), l = F({ top: 0, left: 0 }), c = F(""), m = F(1), w = F(null), B = F("asc"), _ = F(!1), s = F(la(e.tabela.nome));
+ const o = F(!1), r = F(null), i = F([]), f = F(0), t = F([]), n = F(null), d = F(null), l = F({ top: 0, left: 0 }), c = F(""), m = F(1), w = F(null), B = F("asc"), _ = F(!1), s = F(la(e.tabela.nome));
function E() {
_.value = !0;
}
@@ -2645,7 +2652,7 @@ const Qn = j({
function Z(b) {
s.value = b ?? [], Gn(e.tabela.nome, b ?? []), _.value = !1, m.value !== 1 && (m.value = 1);
}
- const le = S(() => {
+ const le = A(() => {
const b = e.tabela.filtroAvancado ?? [];
return (s.value ?? []).filter((k) => k && k.coluna !== void 0).map((k) => {
const P = b.find((V) => String(V.coluna) === String(k.coluna));
@@ -2655,24 +2662,24 @@ const Qn = j({
valor: k.valor
} : null;
}).filter(Boolean);
- }), Y = S(() => e.tabela), X = S(() => !!e.tabela.mostrarCaixaDeBusca), ie = S(() => e.tabela.acoesTabela ?? []), U = S(() => ie.value.length > 0), me = F(!1), I = F(
+ }), Y = A(() => e.tabela), X = A(() => !!e.tabela.mostrarCaixaDeBusca), ie = A(() => e.tabela.acoesTabela ?? []), H = A(() => ie.value.length > 0), be = F(!1), I = F(
ra(e.tabela.nome)
- ), O = F({}), Ae = S(() => e.tabela.colunas.map((b) => b.rotulo)), Pe = S(() => {
+ ), O = F({}), Se = A(() => e.tabela.colunas.map((b) => b.rotulo)), Pe = A(() => {
var ce, de;
- const b = e.tabela.colunas, P = (((ce = I.value.visiveis) == null ? void 0 : ce.length) ?? 0) > 0 || (((de = I.value.invisiveis) == null ? void 0 : de.length) ?? 0) > 0 ? I.value.invisiveis ?? [] : b.filter((H) => H.visivel === !1).map((H) => H.rotulo), V = new Set(P), ae = b.filter((H) => V.has(H.rotulo)), ne = P, ve = /* @__PURE__ */ new Map();
- for (const H of ae)
- ve.has(H.rotulo) || ve.set(H.rotulo, H);
+ const b = e.tabela.colunas, P = (((ce = I.value.visiveis) == null ? void 0 : ce.length) ?? 0) > 0 || (((de = I.value.invisiveis) == null ? void 0 : de.length) ?? 0) > 0 ? I.value.invisiveis ?? [] : b.filter((U) => U.visivel === !1).map((U) => U.rotulo), V = new Set(P), ae = b.filter((U) => V.has(U.rotulo)), ne = P, ve = /* @__PURE__ */ new Map();
+ for (const U of ae)
+ ve.has(U.rotulo) || ve.set(U.rotulo, U);
const se = [];
- for (const H of ne) {
- const be = ve.get(H);
- be && se.push(be);
+ for (const U of ne) {
+ const he = ve.get(U);
+ he && se.push(he);
}
- for (const H of ae)
- se.includes(H) || se.push(H);
+ for (const U of ae)
+ se.includes(U) || se.push(U);
return se;
- }), D = S(() => Pe.value.length > 0), h = S(() => {
- var H, be;
- const b = e.tabela.colunas, k = Ae.value, P = (((H = I.value.visiveis) == null ? void 0 : H.length) ?? 0) > 0 || (((be = I.value.invisiveis) == null ? void 0 : be.length) ?? 0) > 0, V = P ? I.value.invisiveis ?? [] : e.tabela.colunas.filter((J) => J.visivel === !1).map((J) => J.rotulo), ae = new Set(V), ne = k.filter((J) => !ae.has(J)), ve = new Set(ne), se = P ? I.value.visiveis ?? [] : [], ce = [];
+ }), D = A(() => Pe.value.length > 0), h = A(() => {
+ var U, he;
+ const b = e.tabela.colunas, k = Se.value, P = (((U = I.value.visiveis) == null ? void 0 : U.length) ?? 0) > 0 || (((he = I.value.invisiveis) == null ? void 0 : he.length) ?? 0) > 0, V = P ? I.value.invisiveis ?? [] : e.tabela.colunas.filter((J) => J.visivel === !1).map((J) => J.rotulo), ae = new Set(V), ne = k.filter((J) => !ae.has(J)), ve = new Set(ne), se = P ? I.value.visiveis ?? [] : [], ce = [];
for (const J of se)
ve.has(J) && ce.push(J);
for (const J of ne)
@@ -2683,13 +2690,13 @@ const Qn = j({
return ce.map((J) => de.get(J)).filter(Boolean);
});
function p() {
- me.value = !0;
+ be.value = !0;
}
- function A() {
- me.value = !1;
+ function S() {
+ be.value = !1;
}
function v(b) {
- I.value = b, Xn(e.tabela.nome, b), me.value = !1, O.value = {};
+ I.value = b, Xn(e.tabela.nome, b), be.value = !1, O.value = {};
}
function T(b) {
const k = !!O.value[b];
@@ -2698,7 +2705,7 @@ const Qn = j({
[b]: !k
};
}
- const M = S(() => {
+ const M = A(() => {
const b = e.tabela.registros_por_consulta;
return typeof b == "number" && b > 0 ? Math.floor(b) : 10;
});
@@ -2739,22 +2746,22 @@ const Qn = j({
return R(String(V.operador), ae, V.valor);
})) : b;
}
- const x = S(() => {
+ const x = A(() => {
const b = i.value ?? [];
return G(N(b));
- }), oe = S(() => x.value.length), ge = S(() => {
+ }), oe = A(() => x.value.length), ge = A(() => {
const b = M.value;
if (!b || b <= 0) return 1;
const k = oe.value;
return k ? Math.max(1, Math.ceil(k / b)) : 1;
- }), $e = S(() => {
+ }), $e = A(() => {
const b = Math.max(1, M.value), k = (m.value - 1) * b;
return x.value.slice(k, k + b);
- }), Se = S(() => (e.tabela.acoesLinha ?? []).length > 0), ye = S(() => (e.tabela.filtroAvancado ?? []).length > 0);
+ }), Ae = A(() => (e.tabela.acoesLinha ?? []).length > 0), ye = A(() => (e.tabela.filtroAvancado ?? []).length > 0);
let K = 0;
function pe(b) {
- var se, ce, de, H, be, J;
- const k = b.getBoundingClientRect(), P = 8, V = ((de = (ce = (se = d.value) == null ? void 0 : se.menuEl) == null ? void 0 : ce.value) == null ? void 0 : de.offsetHeight) ?? 0, ae = ((J = (be = (H = d.value) == null ? void 0 : H.menuEl) == null ? void 0 : be.value) == null ? void 0 : J.offsetWidth) ?? 180;
+ var se, ce, de, U, he, J;
+ const k = b.getBoundingClientRect(), P = 8, V = ((de = (ce = (se = d.value) == null ? void 0 : se.menuEl) == null ? void 0 : ce.value) == null ? void 0 : de.offsetHeight) ?? 0, ae = ((J = (he = (U = d.value) == null ? void 0 : U.menuEl) == null ? void 0 : he.value) == null ? void 0 : J.offsetWidth) ?? 180;
let ne = k.bottom + P;
const ve = k.right - ae;
V && ne + V > window.innerHeight - P && (ne = k.top - P - V), l.value = {
@@ -2764,9 +2771,9 @@ const Qn = j({
}
function _e(b) {
var P, V;
- if (r.value === null) return;
+ if (n.value === null) return;
const k = b.target;
- (V = (P = d.value) == null ? void 0 : P.menuEl) != null && V.value && d.value.menuEl.value.contains(k) || (r.value = null);
+ (V = (P = d.value) == null ? void 0 : P.menuEl) != null && V.value && d.value.menuEl.value.contains(k) || (n.value = null);
}
function Be(b) {
if (b) {
@@ -2800,18 +2807,18 @@ const Qn = j({
}
function Ca(b, k) {
if (!We(b)) return;
- if (r.value === b) {
- r.value = null;
+ if (n.value === b) {
+ n.value = null;
return;
}
- r.value = b;
+ n.value = b;
const P = (k == null ? void 0 : k.currentTarget) ?? null;
P && (pe(P), requestAnimationFrame(() => pe(P)));
}
async function ke() {
var ae;
const b = ++K;
- o.value = !0, n.value = null, t.value = [], r.value = null, O.value = {};
+ o.value = !0, r.value = null, t.value = [], n.value = null, O.value = {};
const k = Math.max(1, M.value), V = {
offSet: 0,
limit: 999999
@@ -2821,7 +2828,7 @@ const Qn = j({
const ne = e.tabela, ve = await ne.consulta(V);
if (b !== K) return;
if (ve.cod !== va.sucesso) {
- i.value = [], f.value = 0, n.value = ve.mensagem;
+ i.value = [], f.value = 0, r.value = ve.mensagem;
return;
}
const se = ((ae = ve.valor) == null ? void 0 : ae.valores) ?? [], ce = se.length;
@@ -2831,24 +2838,24 @@ const Qn = j({
m.value = de;
return;
}
- const H = ne.acoesLinha ?? [];
- if (!H.length) {
+ const U = ne.acoesLinha ?? [];
+ if (!U.length) {
t.value = [];
return;
}
- const be = se.map(
- () => H.map((Oe) => Oe.exibir === void 0 ? !0 : typeof Oe.exibir == "boolean" ? Oe.exibir : !1)
+ const he = se.map(
+ () => U.map((Oe) => Oe.exibir === void 0 ? !0 : typeof Oe.exibir == "boolean" ? Oe.exibir : !1)
);
- t.value = be;
+ t.value = he;
const J = await Promise.all(
se.map(
async (Oe) => Promise.all(
- H.map(async (Ve) => {
+ U.map(async (Ve) => {
if (Ve.exibir === void 0) return !0;
if (typeof Ve.exibir == "boolean") return Ve.exibir;
try {
- const Aa = Ve.exibir(Oe);
- return !!await Promise.resolve(Aa);
+ const Sa = Ve.exibir(Oe);
+ return !!await Promise.resolve(Sa);
} catch {
return !1;
}
@@ -2859,7 +2866,7 @@ const Qn = j({
b === K && (t.value = J);
} catch (ne) {
if (b !== K) return;
- i.value = [], f.value = 0, n.value = ne instanceof Error ? ne.message : "Erro ao carregar dados.";
+ i.value = [], f.value = 0, r.value = ne instanceof Error ? ne.message : "Erro ao carregar dados.";
} finally {
b === K && (o.value = !1);
}
@@ -2868,35 +2875,35 @@ const Qn = j({
document.addEventListener("click", _e), ke();
}), Ta(() => {
document.removeEventListener("click", _e);
- }), he(
+ }), me(
() => e.tabela.mostrarCaixaDeBusca,
(b) => {
!b && c.value && (c.value = "", m.value !== 1 ? m.value = 1 : ke());
}
- ), he(m, (b, k) => {
- }), he(
+ ), me(m, (b, k) => {
+ }), me(
() => e.tabela,
() => {
- r.value = null, w.value = null, B.value = "asc", c.value = "", me.value = !1, _.value = !1, I.value = ra(e.tabela.nome), s.value = la(e.tabela.nome), O.value = {}, m.value !== 1 ? m.value = 1 : ke();
+ n.value = null, w.value = null, B.value = "asc", c.value = "", be.value = !1, _.value = !1, I.value = ra(e.tabela.nome), s.value = la(e.tabela.nome), O.value = {}, m.value !== 1 ? m.value = 1 : ke();
}
- ), he(
+ ), me(
() => e.tabela.registros_por_consulta,
() => {
m.value !== 1 ? m.value = 1 : ke();
}
- ), he(i, () => {
- r.value = null, O.value = {};
+ ), me(i, () => {
+ n.value = null, O.value = {};
}), {
// state
isDev: !1,
tabela: Y,
carregando: o,
- erro: n,
+ erro: r,
linhas: i,
linhasPaginadas: $e,
quantidadeFiltrada: oe,
quantidade: f,
- menuAberto: r,
+ menuAberto: n,
valorBusca: c,
paginaAtual: m,
colunaOrdenacao: w,
@@ -2906,18 +2913,18 @@ const Qn = j({
exibirBusca: X,
exibirFiltroAvancado: ye,
acoesCabecalho: ie,
- temAcoesCabecalho: U,
- temAcoes: Se,
+ temAcoesCabecalho: H,
+ temAcoes: Ae,
colunasEfetivas: h,
- rotulosColunas: Ae,
- modalColunasAberto: me,
+ rotulosColunas: Se,
+ modalColunasAberto: be,
configColunas: I,
temColunasInvisiveis: D,
colunasInvisiveisEfetivas: Pe,
linhasExpandidas: O,
abrirModalColunas: p,
abrirModalFiltro: E,
- fecharModalColunas: A,
+ fecharModalColunas: S,
salvarModalColunas: v,
modalFiltroAberto: _,
filtrosUi: s,
@@ -2938,15 +2945,15 @@ const Qn = j({
};
}
}), xn = { class: "eli-tabela" }, er = { class: "eli-tabela__table" };
-function ar(e, a, o, n, i, f) {
- const t = Q("EliTabelaDebug"), r = Q("EliTabelaEstados"), d = Q("EliTabelaCabecalho"), l = Q("EliTabelaModalColunas"), c = Q("EliTabelaModalFiltroAvancado"), m = Q("EliTabelaHead"), w = Q("EliTabelaBody"), B = Q("EliTabelaMenuAcoes"), _ = Q("EliTabelaPaginacao");
+function ar(e, a, o, r, i, f) {
+ const t = Q("EliTabelaDebug"), n = Q("EliTabelaEstados"), d = Q("EliTabelaCabecalho"), l = Q("EliTabelaModalColunas"), c = Q("EliTabelaModalFiltroAvancado"), m = Q("EliTabelaHead"), w = Q("EliTabelaBody"), B = Q("EliTabelaMenuAcoes"), _ = Q("EliTabelaPaginacao");
return u(), y("div", xn, [
q(t, {
isDev: e.isDev,
menuAberto: e.menuAberto,
menuPopupPos: e.menuPopupPos
}, null, 8, ["isDev", "menuAberto", "menuPopupPos"]),
- e.carregando || e.erro || !e.linhas.length ? (u(), W(r, {
+ e.carregando || e.erro || !e.linhas.length ? (u(), W(n, {
key: 0,
carregando: e.carregando,
erro: e.erro,
@@ -3022,11 +3029,11 @@ function ar(e, a, o, n, i, f) {
}
const tr = /* @__PURE__ */ z(Qn, [["render", ar]]), pr = {
install(e) {
- e.component("EliOlaMundo", at), e.component("EliBotao", pa), e.component("EliBadge", He), e.component("EliCartao", lt), e.component("EliTabela", tr), e.component("EliEntradaTexto", Ye), e.component("EliEntradaNumero", ha), e.component("EliEntradaDataHora", ga), e.component("EliEntradaParagrafo", Dn), e.component("EliEntradaSelecao", Tn);
+ e.component("EliOlaMundo", at), e.component("EliBotao", pa), e.component("EliBadge", Ue), e.component("EliCartao", lt), e.component("EliTabela", tr), e.component("EliEntradaTexto", Ye), e.component("EliEntradaNumero", ha), e.component("EliEntradaDataHora", ga), e.component("EliEntradaParagrafo", Dn), e.component("EliEntradaSelecao", Tn);
}
};
export {
- He as EliBadge,
+ Ue as EliBadge,
pa as EliBotao,
lt as EliCartao,
ga as EliEntradaDataHora,
diff --git a/dist/eli-vue.umd.js b/dist/eli-vue.umd.js
index b5b5577..7d36bdf 100644
--- a/dist/eli-vue.umd.js
+++ b/dist/eli-vue.umd.js
@@ -1,4 +1,4 @@
-(function(F,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("vuetify/components/VBtn"),require("vuetify/components/VBadge"),require("vuetify/components/VTextField"),require("vuetify/components/VCard"),require("vuetify/components/VGrid"),require("vuetify/components"),require("vuetify/components/VChip"),require("vuetify/components/VTextarea"),require("vuetify/components/VSelect")):typeof define=="function"&&define.amd?define(["exports","vue","vuetify/components/VBtn","vuetify/components/VBadge","vuetify/components/VTextField","vuetify/components/VCard","vuetify/components/VGrid","vuetify/components","vuetify/components/VChip","vuetify/components/VTextarea","vuetify/components/VSelect"],t):(F=typeof globalThis<"u"?globalThis:F||self,t(F.eli_vue={},F.Vue,F.VBtn,F.VBadge,F.VTextField,F.VCard,F.VGrid,F.components,F.VChip,F.VTextarea,F.VSelect))})(this,(function(F,t,tt,at,Ce,ie,ot,_e,nt,rt,lt){"use strict";const it=t.defineComponent({name:"EliBotao",inheritAttrs:!1,props:{color:{type:String,default:"primary"},variant:{type:String,default:"elevated"},size:{type:String,default:"default"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}}),P=(e,a)=>{const n=e.__vccOpts||e;for(const[r,s]of a)n[r]=s;return n};function st(e,a,n,r,s,m){return t.openBlock(),t.createBlock(tt.VBtn,t.mergeProps({color:e.color,variant:e.variant,size:e.size,disabled:e.disabled,loading:e.loading},e.$attrs,{class:"eli-botao text-none pt-1"}),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},16,["color","variant","size","disabled","loading"])}const ve=P(it,[["render",st]]),Ae={suave:"4px",pill:"10px"},ct=t.defineComponent({name:"EliBadge",inheritAttrs:!1,props:{color:{type:String,default:"primary"},location:{type:String,default:"top right"},offsetX:{type:String,default:"0"},offsetY:{type:String,default:"0"},dot:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},badge:{type:[String,Number],default:void 0},radius:{type:String,default:"suave"}},setup(e){const a=t.computed(()=>e.radius in Ae?Ae[e.radius]:e.radius),n=t.computed(()=>e.dot||e.badge!==void 0?e.visible:!1),r=t.computed(()=>({"--eli-badge-radius":a.value}));return{showBadge:n,badgeStyle:r}}});function dt(e,a,n,r,s,m){return e.showBadge?(t.openBlock(),t.createBlock(at.VBadge,t.mergeProps({key:0,color:e.color},e.$attrs,{location:e.location,"offset-x":e.offsetX,"offset-y":e.offsetY,dot:e.dot,content:e.badge,style:e.badgeStyle,class:"eli-badge"}),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16,["color","location","offset-x","offset-y","dot","content","style"])):t.renderSlot(e.$slots,"default",{key:1},void 0,!0)}const ye=P(ct,[["render",dt],["__scopeId","data-v-371c8db4"]]);function ut(e){return e.replace(/\D+/g,"")}function mt(e){const a=ut(e);return a.length<=11?a.replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})$/,"$1-$2").slice(0,14):a.replace(/^(\d{2})(\d)/,"$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/,"$1.$2.$3").replace(/\.(\d{3})(\d)/,".$1/$2").replace(/(\d{4})(\d)/,"$1-$2").slice(0,18)}function pt(e){return e.replace(/\D+/g,"")}function ft(e){const a=pt(e);return a?a.length<=10?a.replace(/^(\d{2})(\d)/,"($1) $2").replace(/(\d{4})(\d)/,"$1-$2").slice(0,14):a.replace(/^(\d{2})(\d)/,"($1) $2").replace(/(\d{5})(\d)/,"$1-$2").slice(0,15):""}function bt(e){return e.replace(/\D+/g,"")}function ht(e){const a=bt(e);return a?a.replace(/^(\d{5})(\d)/,"$1-$2").slice(0,9):""}const gt=t.defineComponent({name:"EliEntradaTexto",inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:a,emit:n}){const r=t.computed(()=>{var i;return((i=e.opcoes)==null?void 0:i.formato)??"texto"}),s=t.computed({get:()=>e.value,set:i=>{n("update:value",i),n("input",i),n("change",i)}}),m=t.computed(()=>r.value==="email"?"email":r.value==="url"?"url":"text"),o=t.computed(()=>{if(r.value==="telefone")return"tel";if(r.value==="cpfCnpj"||r.value==="cep")return"numeric"});function l(i){switch(r.value){case"telefone":return ft(i);case"cpfCnpj":return mt(i);case"cep":return ht(i);default:return i}}function u(i){const d=i.target,b=l(d.value);d.value=b,s.value=b}return{attrs:a,emit:n,localValue:s,inputHtmlType:m,inputMode:o,onInput:u}}});function yt(e,a,n,r,s,m){var o,l,u,i;return t.openBlock(),t.createBlock(Ce.VTextField,t.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":a[0]||(a[0]=d=>e.localValue=d),type:e.inputHtmlType,inputmode:e.inputMode,label:(o=e.opcoes)==null?void 0:o.rotulo,placeholder:(l=e.opcoes)==null?void 0:l.placeholder,counter:(u=e.opcoes)==null?void 0:u.limiteCaracteres,maxlength:(i=e.opcoes)==null?void 0:i.limiteCaracteres},e.attrs,{onFocus:a[1]||(a[1]=()=>e.emit("focus")),onBlur:a[2]||(a[2]=()=>e.emit("blur")),onInput:e.onInput}),null,16,["modelValue","type","inputmode","label","placeholder","counter","maxlength","onInput"])}const $e=P(gt,[["render",yt]]),$t=t.defineComponent({name:"EliOlaMundo",components:{EliBotao:ve,EliBadge:ye,EliEntradaTexto:$e},setup(){const e=t.ref(""),a=t.ref(""),n=t.ref(""),r=t.ref(""),s=t.ref("");return{nome:e,email:r,documento:s,telefone:n,cep:a}}}),Et={class:"grid-example"};function kt(e,a,n,r,s,m){const o=t.resolveComponent("EliBadge"),l=t.resolveComponent("EliEntradaTexto"),u=t.resolveComponent("EliBotao");return t.openBlock(),t.createBlock(ot.VContainer,null,{default:t.withCtx(()=>[t.createVNode(ie.VCard,{class:"mx-auto",max_width:"400"},{default:t.withCtx(()=>[t.createVNode(ie.VCardTitle,null,{default:t.withCtx(()=>[t.createVNode(o,{badge:"Novo","offset-x":"-15",location:"right center"},{default:t.withCtx(()=>[...a[5]||(a[5]=[t.createTextVNode(" Olá Mundo! ",-1)])]),_:1})]),_:1}),t.createVNode(ie.VCardText,null,{default:t.withCtx(()=>[a[6]||(a[6]=t.createTextVNode(" Este é um componente de exemplo integrado com Vuetify. ",-1)),t.createElementVNode("div",Et,[t.createVNode(l,{value:e.nome,"onUpdate:value":a[0]||(a[0]=i=>e.nome=i),opcoes:{rotulo:"Nome",placeholder:"Digite o nome"},density:"compact"},null,8,["value"]),t.createVNode(l,{value:e.telefone,"onUpdate:value":a[1]||(a[1]=i=>e.telefone=i),opcoes:{rotulo:"Telefone",formato:"telefone"}},null,8,["value"]),t.createVNode(l,{value:e.cep,"onUpdate:value":a[2]||(a[2]=i=>e.cep=i),opcoes:{rotulo:"CEP",placeholder:"00000-000",formato:"cep"}},null,8,["value"]),t.createVNode(l,{value:e.documento,"onUpdate:value":a[3]||(a[3]=i=>e.documento=i),opcoes:{rotulo:"CPF / CNPJ",formato:"cpfCnpj"}},null,8,["value"]),t.createVNode(l,{value:e.email,"onUpdate:value":a[4]||(a[4]=i=>e.email=i),opcoes:{rotulo:"Email",placeholder:"email@exemplo.com",formato:"email"}},null,8,["value"])])]),_:1}),t.createVNode(ie.VCardActions,null,{default:t.withCtx(()=>[t.createVNode(u,{color:"primary",variant:"elevated",block:""},{default:t.withCtx(()=>[...a[7]||(a[7]=[t.createTextVNode(" Botão Vuetify ",-1)])]),_:1})]),_:1})]),_:1})]),_:1})}const Me=P($t,[["render",kt]]),Bt=t.defineComponent({name:"EliCartao",components:{EliBadge:ye},inheritAttrs:!1,props:{titulo:{type:String,default:""},status:{type:String,required:!0},variant:{type:String,default:"outlined"}},emits:{clicar:e=>!0},setup(e,{emit:a}){const n=t.computed(()=>e.status),r=t.computed(()=>{switch(e.status){case"novo":return"primary";case"rascunho":return"secondary";case"vendido":return"success";case"cancelado":return"error"}}),s=t.computed(()=>`eli-cartao--${e.status}`);function m(){a("clicar",e.status)}return{rotuloStatus:n,corStatus:r,classeStatus:s,onClick:m}}}),Ct={class:"eli-cartao__titulo-texto"},_t={class:"eli-cartao__status"};function vt(e,a,n,r,s,m){const o=t.resolveComponent("EliBadge");return t.openBlock(),t.createBlock(ie.VCard,t.mergeProps({class:["eli-cartao",e.classeStatus],variant:e.variant},e.$attrs),{default:t.withCtx(()=>[t.createVNode(ie.VCardTitle,{class:"eli-cartao__titulo"},{default:t.withCtx(()=>[t.createElementVNode("div",Ct,[t.renderSlot(e.$slots,"titulo",{},()=>[t.createTextVNode(t.toDisplayString(e.titulo),1)],!0)]),t.createElementVNode("div",_t,[t.createVNode(o,{badge:e.rotuloStatus,radius:"pill",color:e.corStatus},{default:t.withCtx(()=>[...a[0]||(a[0]=[t.createElementVNode("span",null,null,-1)])]),_:1},8,["badge","color"])])]),_:3}),t.createVNode(ie.VCardText,{class:"eli-cartao__conteudo"},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3}),e.$slots.acoes?(t.openBlock(),t.createBlock(ie.VCardActions,{key:0,class:"eli-cartao__acoes"},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"acoes",{},void 0,!0)]),_:3})):t.createCommentVNode("",!0)]),_:3},16,["variant","class"])}const we=P(Bt,[["render",vt],["__scopeId","data-v-6c492bd9"]]);var Te=(e=>(e[e.sucesso=200]="sucesso",e[e.erroConhecido=400]="erroConhecido",e[e.erroPermissao=401]="erroPermissao",e[e.erroNaoEncontrado=404]="erroNaoEncontrado",e[e.erroDesconhecido=500]="erroDesconhecido",e[e.tempoEsgotado=504]="tempoEsgotado",e))(Te||{});/**
+(function(F,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("vuetify/components/VBtn"),require("vuetify/components/VBadge"),require("vuetify/components/VTextField"),require("vuetify/components/VCard"),require("vuetify/components/VGrid"),require("vuetify/components"),require("vuetify/components/VChip"),require("vuetify/components/VTextarea"),require("vuetify/components/VSelect")):typeof define=="function"&&define.amd?define(["exports","vue","vuetify/components/VBtn","vuetify/components/VBadge","vuetify/components/VTextField","vuetify/components/VCard","vuetify/components/VGrid","vuetify/components","vuetify/components/VChip","vuetify/components/VTextarea","vuetify/components/VSelect"],t):(F=typeof globalThis<"u"?globalThis:F||self,t(F.eli_vue={},F.Vue,F.VBtn,F.VBadge,F.VTextField,F.VCard,F.VGrid,F.components,F.VChip,F.VTextarea,F.VSelect))})(this,(function(F,t,tt,at,Ce,ie,ot,_e,nt,rt,lt){"use strict";const it=t.defineComponent({name:"EliBotao",inheritAttrs:!1,props:{color:{type:String,default:"primary"},variant:{type:String,default:"elevated"},size:{type:String,default:"default"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}}),P=(e,a)=>{const n=e.__vccOpts||e;for(const[l,s]of a)n[l]=s;return n};function st(e,a,n,l,s,m){return t.openBlock(),t.createBlock(tt.VBtn,t.mergeProps({color:e.color,variant:e.variant,size:e.size,disabled:e.disabled,loading:e.loading},e.$attrs,{class:"eli-botao text-none pt-1"}),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},16,["color","variant","size","disabled","loading"])}const ve=P(it,[["render",st]]),Ae={suave:"4px",pill:"10px"},ct=t.defineComponent({name:"EliBadge",inheritAttrs:!1,props:{color:{type:String,default:"primary"},location:{type:String,default:"top right"},offsetX:{type:String,default:"0"},offsetY:{type:String,default:"0"},dot:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},badge:{type:[String,Number],default:void 0},radius:{type:String,default:"suave"}},setup(e){const a=t.computed(()=>e.radius in Ae?Ae[e.radius]:e.radius),n=t.computed(()=>e.dot||e.badge!==void 0?e.visible:!1),l=t.computed(()=>({"--eli-badge-radius":a.value}));return{showBadge:n,badgeStyle:l}}});function dt(e,a,n,l,s,m){return e.showBadge?(t.openBlock(),t.createBlock(at.VBadge,t.mergeProps({key:0,color:e.color},e.$attrs,{location:e.location,"offset-x":e.offsetX,"offset-y":e.offsetY,dot:e.dot,content:e.badge,style:e.badgeStyle,class:"eli-badge"}),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16,["color","location","offset-x","offset-y","dot","content","style"])):t.renderSlot(e.$slots,"default",{key:1},void 0,!0)}const ye=P(ct,[["render",dt],["__scopeId","data-v-371c8db4"]]);function ut(e){return e.replace(/\D+/g,"")}function mt(e){const a=ut(e);return a.length<=11?a.replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})$/,"$1-$2").slice(0,14):a.replace(/^(\d{2})(\d)/,"$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/,"$1.$2.$3").replace(/\.(\d{3})(\d)/,".$1/$2").replace(/(\d{4})(\d)/,"$1-$2").slice(0,18)}function pt(e){return e.replace(/\D+/g,"")}function ft(e){const a=pt(e);return a?a.length<=10?a.replace(/^(\d{2})(\d)/,"($1) $2").replace(/(\d{4})(\d)/,"$1-$2").slice(0,14):a.replace(/^(\d{2})(\d)/,"($1) $2").replace(/(\d{5})(\d)/,"$1-$2").slice(0,15):""}function bt(e){return e.replace(/\D+/g,"")}function ht(e){const a=bt(e);return a?a.replace(/^(\d{5})(\d)/,"$1-$2").slice(0,9):""}const gt=t.defineComponent({name:"EliEntradaTexto",inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:a,emit:n}){const l=t.computed(()=>{var i;return((i=e.opcoes)==null?void 0:i.formato)??"texto"}),s=t.computed({get:()=>e.value,set:i=>{n("update:value",i),n("input",i),n("change",i)}}),m=t.computed(()=>l.value==="email"?"email":l.value==="url"?"url":"text"),o=t.computed(()=>{if(l.value==="telefone")return"tel";if(l.value==="cpfCnpj"||l.value==="cep")return"numeric"});function r(i){switch(l.value){case"telefone":return ft(i);case"cpfCnpj":return mt(i);case"cep":return ht(i);default:return i}}function u(i){const d=i.target,b=r(d.value);d.value=b,s.value=b}return{attrs:a,emit:n,localValue:s,inputHtmlType:m,inputMode:o,onInput:u}}});function yt(e,a,n,l,s,m){var o,r,u,i;return t.openBlock(),t.createBlock(Ce.VTextField,t.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":a[0]||(a[0]=d=>e.localValue=d),type:e.inputHtmlType,inputmode:e.inputMode,label:(o=e.opcoes)==null?void 0:o.rotulo,placeholder:(r=e.opcoes)==null?void 0:r.placeholder,counter:(u=e.opcoes)==null?void 0:u.limiteCaracteres,maxlength:(i=e.opcoes)==null?void 0:i.limiteCaracteres},e.attrs,{onFocus:a[1]||(a[1]=()=>e.emit("focus")),onBlur:a[2]||(a[2]=()=>e.emit("blur")),onInput:e.onInput}),null,16,["modelValue","type","inputmode","label","placeholder","counter","maxlength","onInput"])}const $e=P(gt,[["render",yt]]),$t=t.defineComponent({name:"EliOlaMundo",components:{EliBotao:ve,EliBadge:ye,EliEntradaTexto:$e},setup(){const e=t.ref(""),a=t.ref(""),n=t.ref(""),l=t.ref(""),s=t.ref("");return{nome:e,email:l,documento:s,telefone:n,cep:a}}}),Et={class:"grid-example"};function kt(e,a,n,l,s,m){const o=t.resolveComponent("EliBadge"),r=t.resolveComponent("EliEntradaTexto"),u=t.resolveComponent("EliBotao");return t.openBlock(),t.createBlock(ot.VContainer,null,{default:t.withCtx(()=>[t.createVNode(ie.VCard,{class:"mx-auto",max_width:"400"},{default:t.withCtx(()=>[t.createVNode(ie.VCardTitle,null,{default:t.withCtx(()=>[t.createVNode(o,{badge:"Novo","offset-x":"-15",location:"right center"},{default:t.withCtx(()=>[...a[5]||(a[5]=[t.createTextVNode(" Olá Mundo! ",-1)])]),_:1})]),_:1}),t.createVNode(ie.VCardText,null,{default:t.withCtx(()=>[a[6]||(a[6]=t.createTextVNode(" Este é um componente de exemplo integrado com Vuetify. ",-1)),t.createElementVNode("div",Et,[t.createVNode(r,{value:e.nome,"onUpdate:value":a[0]||(a[0]=i=>e.nome=i),opcoes:{rotulo:"Nome",placeholder:"Digite o nome"},density:"compact"},null,8,["value"]),t.createVNode(r,{value:e.telefone,"onUpdate:value":a[1]||(a[1]=i=>e.telefone=i),opcoes:{rotulo:"Telefone",formato:"telefone"}},null,8,["value"]),t.createVNode(r,{value:e.cep,"onUpdate:value":a[2]||(a[2]=i=>e.cep=i),opcoes:{rotulo:"CEP",placeholder:"00000-000",formato:"cep"}},null,8,["value"]),t.createVNode(r,{value:e.documento,"onUpdate:value":a[3]||(a[3]=i=>e.documento=i),opcoes:{rotulo:"CPF / CNPJ",formato:"cpfCnpj"}},null,8,["value"]),t.createVNode(r,{value:e.email,"onUpdate:value":a[4]||(a[4]=i=>e.email=i),opcoes:{rotulo:"Email",placeholder:"email@exemplo.com",formato:"email"}},null,8,["value"])])]),_:1}),t.createVNode(ie.VCardActions,null,{default:t.withCtx(()=>[t.createVNode(u,{color:"primary",variant:"elevated",block:""},{default:t.withCtx(()=>[...a[7]||(a[7]=[t.createTextVNode(" Botão Vuetify ",-1)])]),_:1})]),_:1})]),_:1})]),_:1})}const Me=P($t,[["render",kt]]),Bt=t.defineComponent({name:"EliCartao",components:{EliBadge:ye},inheritAttrs:!1,props:{titulo:{type:String,default:""},status:{type:String,required:!0},variant:{type:String,default:"outlined"}},emits:{clicar:e=>!0},setup(e,{emit:a}){const n=t.computed(()=>e.status),l=t.computed(()=>{switch(e.status){case"novo":return"primary";case"rascunho":return"secondary";case"vendido":return"success";case"cancelado":return"error"}}),s=t.computed(()=>`eli-cartao--${e.status}`);function m(){a("clicar",e.status)}return{rotuloStatus:n,corStatus:l,classeStatus:s,onClick:m}}}),Ct={class:"eli-cartao__titulo-texto"},_t={class:"eli-cartao__status"};function vt(e,a,n,l,s,m){const o=t.resolveComponent("EliBadge");return t.openBlock(),t.createBlock(ie.VCard,t.mergeProps({class:["eli-cartao",e.classeStatus],variant:e.variant},e.$attrs),{default:t.withCtx(()=>[t.createVNode(ie.VCardTitle,{class:"eli-cartao__titulo"},{default:t.withCtx(()=>[t.createElementVNode("div",Ct,[t.renderSlot(e.$slots,"titulo",{},()=>[t.createTextVNode(t.toDisplayString(e.titulo),1)],!0)]),t.createElementVNode("div",_t,[t.createVNode(o,{badge:e.rotuloStatus,radius:"pill",color:e.corStatus},{default:t.withCtx(()=>[...a[0]||(a[0]=[t.createElementVNode("span",null,null,-1)])]),_:1},8,["badge","color"])])]),_:3}),t.createVNode(ie.VCardText,{class:"eli-cartao__conteudo"},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3}),e.$slots.acoes?(t.openBlock(),t.createBlock(ie.VCardActions,{key:0,class:"eli-cartao__acoes"},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"acoes",{},void 0,!0)]),_:3})):t.createCommentVNode("",!0)]),_:3},16,["variant","class"])}const we=P(Bt,[["render",vt],["__scopeId","data-v-6c492bd9"]]);var Te=(e=>(e[e.sucesso=200]="sucesso",e[e.erroConhecido=400]="erroConhecido",e[e.erroPermissao=401]="erroPermissao",e[e.erroNaoEncontrado=404]="erroNaoEncontrado",e[e.erroDesconhecido=500]="erroDesconhecido",e[e.tempoEsgotado=504]="tempoEsgotado",e))(Te||{});/**
* @license lucide-vue-next v0.563.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -13,7 +13,7 @@
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Vt=(...e)=>e.filter((a,n,r)=>!!a&&a.trim()!==""&&r.indexOf(a)===n).join(" ").trim();/**
+ */const Vt=(...e)=>e.filter((a,n,l)=>!!a&&a.trim()!==""&&l.indexOf(a)===n).join(" ").trim();/**
* @license lucide-vue-next v0.563.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -23,7 +23,7 @@
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const Nt=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,n,r)=>r?r.toUpperCase():n.toLowerCase());/**
+ */const Nt=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,n,l)=>l?l.toUpperCase():n.toLowerCase());/**
* @license lucide-vue-next v0.563.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -38,12 +38,12 @@
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const At=({name:e,iconNode:a,absoluteStrokeWidth:n,"absolute-stroke-width":r,strokeWidth:s,"stroke-width":m,size:o=be.width,color:l=be.stroke,...u},{slots:i})=>t.h("svg",{...be,...u,width:o,height:o,stroke:l,"stroke-width":Pe(n)||Pe(r)||n===!0||r===!0?Number(s||m||be["stroke-width"])*24/Number(o):s||m||be["stroke-width"],class:Vt("lucide",u.class,...e?[`lucide-${Fe(Dt(e))}-icon`,`lucide-${Fe(e)}`]:["lucide-icon"]),...!i.default&&!St(u)&&{"aria-hidden":"true"}},[...a.map(d=>t.h(...d)),...i.default?[i.default()]:[]]);/**
+ */const At=({name:e,iconNode:a,absoluteStrokeWidth:n,"absolute-stroke-width":l,strokeWidth:s,"stroke-width":m,size:o=be.width,color:r=be.stroke,...u},{slots:i})=>t.h("svg",{...be,...u,width:o,height:o,stroke:r,"stroke-width":Pe(n)||Pe(l)||n===!0||l===!0?Number(s||m||be["stroke-width"])*24/Number(o):s||m||be["stroke-width"],class:Vt("lucide",u.class,...e?[`lucide-${Fe(Dt(e))}-icon`,`lucide-${Fe(e)}`]:["lucide-icon"]),...!i.default&&!St(u)&&{"aria-hidden":"true"}},[...a.map(d=>t.h(...d)),...i.default?[i.default()]:[]]);/**
* @license lucide-vue-next v0.563.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const pe=(e,a)=>(n,{slots:r,attrs:s})=>t.h(At,{...s,...n,iconNode:a,name:e},r);/**
+ */const pe=(e,a)=>(n,{slots:l,attrs:s})=>t.h(At,{...s,...n,iconNode:a,name:e},l);/**
* @license lucide-vue-next v0.563.0 - ISC
*
* This source code is licensed under the ISC license.
@@ -73,4 +73,4 @@
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
- */const wt=pe("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),Tt=t.defineComponent({name:"EliTabelaCaixaDeBusca",components:{Search:wt},props:{modelo:{type:String,required:!1,default:""}},emits:{buscar(e){return typeof e=="string"}},setup(e,{emit:a}){const n=t.ref(e.modelo??"");t.watch(()=>e.modelo,s=>{s!==void 0&&s!==n.value&&(n.value=s)});function r(){a("buscar",n.value.trim())}return{texto:n,emitirBusca:r}}}),Pt={class:"eli-tabela__busca"},Ft={class:"eli-tabela__busca-input-wrapper"};function Ot(e,a,n,r,s,m){const o=t.resolveComponent("Search");return t.openBlock(),t.createElementBlock("div",Pt,[t.createElementVNode("div",Ft,[t.withDirectives(t.createElementVNode("input",{id:"eli-tabela-busca","onUpdate:modelValue":a[0]||(a[0]=l=>e.texto=l),type:"search",class:"eli-tabela__busca-input",placeholder:"Digite termos para filtrar",onKeyup:a[1]||(a[1]=t.withKeys((...l)=>e.emitirBusca&&e.emitirBusca(...l),["enter"]))},null,544),[[t.vModelText,e.texto]]),t.createElementVNode("button",{type:"button",class:"eli-tabela__busca-botao","aria-label":"Buscar",title:"Buscar",onClick:a[2]||(a[2]=(...l)=>e.emitirBusca&&e.emitirBusca(...l))},[t.createVNode(o,{class:"eli-tabela__busca-botao-icone",size:16,"stroke-width":2,"aria-hidden":"true"})])])])}const qt=P(Tt,[["render",Ot],["__scopeId","data-v-341415d1"]]),It=t.defineComponent({name:"EliTabelaCabecalho",components:{EliTabelaCaixaDeBusca:qt},props:{exibirBusca:{type:Boolean,required:!0},exibirBotaoColunas:{type:Boolean,required:!1,default:!0},exibirBotaoFiltroAvancado:{type:Boolean,required:!1,default:!1},valorBusca:{type:String,required:!0},acoesCabecalho:{type:Array,required:!0}},emits:{buscar(e){return typeof e=="string"},colunas(){return!0},filtroAvancado(){return!0}},setup(e,{emit:a}){const n=t.computed(()=>e.acoesCabecalho.length>0);function r(o){a("buscar",o)}function s(){a("colunas")}function m(){a("filtroAvancado")}return{temAcoesCabecalho:n,emitBuscar:r,emitColunas:s,emitFiltroAvancado:m}}}),Lt={class:"eli-tabela__cabecalho"},zt={key:0,class:"eli-tabela__busca-grupo"},jt={key:1,class:"eli-tabela__acoes-cabecalho"},Ht=["onClick"],Ut={class:"eli-tabela__acoes-cabecalho-rotulo"};function Yt(e,a,n,r,s,m){const o=t.resolveComponent("EliTabelaCaixaDeBusca");return t.openBlock(),t.createElementBlock("div",Lt,[e.exibirBusca?(t.openBlock(),t.createElementBlock("div",zt,[e.exibirBotaoColunas?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--colunas",onClick:a[0]||(a[0]=(...l)=>e.emitColunas&&e.emitColunas(...l))}," Colunas ")):t.createCommentVNode("",!0),e.exibirBotaoFiltroAvancado?(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:"eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--filtro",onClick:a[1]||(a[1]=(...l)=>e.emitFiltroAvancado&&e.emitFiltroAvancado(...l))}," Filtro ")):t.createCommentVNode("",!0),t.createVNode(o,{modelo:e.valorBusca,onBuscar:e.emitBuscar},null,8,["modelo","onBuscar"])])):t.createCommentVNode("",!0),e.temAcoesCabecalho?(t.openBlock(),t.createElementBlock("div",jt,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.acoesCabecalho,(l,u)=>(t.openBlock(),t.createElementBlock("button",{key:`${l.rotulo}-${u}`,type:"button",class:"eli-tabela__acoes-cabecalho-botao",style:t.normalizeStyle(l.cor?{backgroundColor:l.cor,color:"#fff"}:void 0),onClick:l.acao},[l.icone?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.icone),{key:0,class:"eli-tabela__acoes-cabecalho-icone",size:16,"stroke-width":2})):t.createCommentVNode("",!0),t.createElementVNode("span",Ut,t.toDisplayString(l.rotulo),1)],12,Ht))),128))])):t.createCommentVNode("",!0)])}const Rt=P(It,[["render",Yt],["__scopeId","data-v-17166105"]]),Jt=t.defineComponent({name:"EliTabelaEstados",props:{carregando:{type:Boolean,required:!0},erro:{type:String,required:!0},mensagemVazio:{type:String,required:!1,default:void 0}}}),Wt={key:0,class:"eli-tabela eli-tabela--carregando","aria-busy":"true"},Zt={key:1,class:"eli-tabela eli-tabela--erro",role:"alert"},Gt={class:"eli-tabela__erro-mensagem"},Xt={key:2,class:"eli-tabela eli-tabela--vazio"};function Kt(e,a,n,r,s,m){return e.carregando?(t.openBlock(),t.createElementBlock("div",Wt," Carregando... ")):e.erro?(t.openBlock(),t.createElementBlock("div",Zt,[a[0]||(a[0]=t.createElementVNode("div",{class:"eli-tabela__erro-titulo"},"Erro",-1)),t.createElementVNode("div",Gt,t.toDisplayString(e.erro),1)])):(t.openBlock(),t.createElementBlock("div",Xt,t.toDisplayString(e.mensagemVazio??"Nenhum registro encontrado."),1))}const Qt=P(Jt,[["render",Kt]]),xt=t.defineComponent({name:"EliTabelaDebug",props:{isDev:{type:Boolean,required:!0},menuAberto:{type:Number,required:!0},menuPopupPos:{type:Object,required:!0}}}),ea={key:0,style:{position:"fixed",left:"8px",bottom:"8px","z-index":"999999",background:"rgba(185,28,28,0.9)",color:"#fff",padding:"6px 10px","border-radius":"8px","font-size":"12px","max-width":"500px"}};function ta(e,a,n,r,s,m){return e.isDev?(t.openBlock(),t.createElementBlock("div",ea,[a[0]||(a[0]=t.createElementVNode("div",null,[t.createElementVNode("b",null,"EliTabela debug")],-1)),t.createElementVNode("div",null,"menuAberto: "+t.toDisplayString(e.menuAberto),1),t.createElementVNode("div",null,"menuPos: top="+t.toDisplayString(e.menuPopupPos.top)+", left="+t.toDisplayString(e.menuPopupPos.left),1)])):t.createCommentVNode("",!0)}const aa=P(xt,[["render",ta]]),oa=t.defineComponent({name:"EliTabelaHead",components:{ArrowUp:qe,ArrowDown:Oe},props:{colunas:{type:Array,required:!0},temAcoes:{type:Boolean,required:!0},temColunasInvisiveis:{type:Boolean,required:!0},colunaOrdenacao:{type:String,required:!0},direcaoOrdenacao:{type:String,required:!0}},emits:{alternarOrdenacao(e){return typeof e=="string"&&e.length>0}},setup(e,{emit:a}){function n(s){return(s==null?void 0:s.coluna_ordem)!==void 0&&(s==null?void 0:s.coluna_ordem)!==null}function r(s){a("alternarOrdenacao",s)}return{ArrowUp:qe,ArrowDown:Oe,isOrdenavel:n,emitAlternarOrdenacao:r}}}),na={class:"eli-tabela__thead"},ra={class:"eli-tabela__tr eli-tabela__tr--header"},la={key:0,class:"eli-tabela__th eli-tabela__th--expander",scope:"col"},ia=["onClick"],sa={class:"eli-tabela__th-texto"},ca={key:1,class:"eli-tabela__th-label"},da={key:1,class:"eli-tabela__th eli-tabela__th--acoes",scope:"col"};function ua(e,a,n,r,s,m){const o=t.resolveComponent("ArrowUp");return t.openBlock(),t.createElementBlock("thead",na,[t.createElementVNode("tr",ra,[e.temColunasInvisiveis?(t.openBlock(),t.createElementBlock("th",la)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.colunas,(l,u)=>(t.openBlock(),t.createElementBlock("th",{key:`th-${u}`,class:t.normalizeClass(["eli-tabela__th",[e.isOrdenavel(l)?"eli-tabela__th--ordenavel":void 0]]),scope:"col"},[e.isOrdenavel(l)?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:t.normalizeClass(["eli-tabela__th-botao",[e.colunaOrdenacao===String(l.coluna_ordem)?"eli-tabela__th-botao--ativo":void 0]]),onClick:i=>e.emitAlternarOrdenacao(String(l.coluna_ordem))},[t.createElementVNode("span",sa,t.toDisplayString(l.rotulo),1),e.colunaOrdenacao===String(l.coluna_ordem)?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.direcaoOrdenacao==="asc"?e.ArrowUp:e.ArrowDown),{key:0,class:"eli-tabela__th-icone",size:16,"stroke-width":2,"aria-hidden":"true"})):(t.openBlock(),t.createBlock(o,{key:1,class:"eli-tabela__th-icone eli-tabela__th-icone--oculto",size:16,"stroke-width":2,"aria-hidden":"true"}))],10,ia)):(t.openBlock(),t.createElementBlock("span",ca,t.toDisplayString(l.rotulo),1))],2))),128)),e.temAcoes?(t.openBlock(),t.createElementBlock("th",da," Ações ")):t.createCommentVNode("",!0)])])}const ma=P(oa,[["render",ua]]),pa=t.defineComponent({name:"EliTabelaCelulaTextoSimples",components:{},props:{dados:{type:Object}},data(){return{}},methods:{},setup({dados:e}){return{dados:e}}}),fa={key:1};function ba(e,a,n,r,s,m){var o,l,u;return(o=e.dados)!=null&&o.acao?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:a[0]||(a[0]=t.withModifiers(i=>e.dados.acao(),["stop","prevent"]))},t.toDisplayString((l=e.dados)==null?void 0:l.texto),1)):(t.openBlock(),t.createElementBlock("span",fa,t.toDisplayString((u=e.dados)==null?void 0:u.texto),1))}const ha=P(pa,[["render",ba],["__scopeId","data-v-7a629ffa"]]),ga=t.defineComponent({name:"EliTabelaCelulaTextoTruncado",props:{dados:{type:Object}},setup({dados:e}){return{dados:e}}}),ya=["title"],$a=["title"];function Ea(e,a,n,r,s,m){var o,l,u,i,d;return(o=e.dados)!=null&&o.acao?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__texto-truncado eli-tabela__celula-link",title:(l=e.dados)==null?void 0:l.texto,onClick:a[0]||(a[0]=t.withModifiers(b=>e.dados.acao(),["stop","prevent"]))},t.toDisplayString((u=e.dados)==null?void 0:u.texto),9,ya)):(t.openBlock(),t.createElementBlock("span",{key:1,class:"eli-tabela__texto-truncado",title:(i=e.dados)==null?void 0:i.texto},t.toDisplayString((d=e.dados)==null?void 0:d.texto),9,$a))}const ka=P(ga,[["render",Ea],["__scopeId","data-v-74854889"]]),Ba=t.defineComponent({name:"EliTabelaCelulaNumero",components:{},props:{dados:{type:Object}},setup({dados:e}){const a=t.computed(()=>{var l,u;const n=String(e==null?void 0:e.numero).replace(".",","),r=(l=e==null?void 0:e.prefixo)==null?void 0:l.trim(),s=(u=e==null?void 0:e.sufixo)==null?void 0:u.trim(),m=r?`${r} `:"",o=s?` ${s}`:"";return`${m}${n}${o}`});return{dados:e,textoNumero:a}}}),Ca={key:1};function _a(e,a,n,r,s,m){var o;return(o=e.dados)!=null&&o.acao?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:a[0]||(a[0]=t.withModifiers(l=>e.dados.acao(),["stop","prevent"]))},t.toDisplayString(e.textoNumero),1)):(t.openBlock(),t.createElementBlock("span",Ca,t.toDisplayString(e.textoNumero),1))}const va=P(Ba,[["render",_a],["__scopeId","data-v-69c890c4"]]),Sa=t.defineComponent({name:"EliTabelaCelulaTags",components:{VChip:_e.VChip},props:{dados:{type:Object,required:!1}},setup({dados:e}){return{dados:e}}}),Va={class:"eli-tabela__celula-tags"};function Na(e,a,n,r,s,m){var o;return t.openBlock(),t.createElementBlock("div",Va,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(((o=e.dados)==null?void 0:o.opcoes)??[],(l,u)=>(t.openBlock(),t.createBlock(nt.VChip,{key:u,class:"eli-tabela__celula-tag",size:"small",variant:"tonal",color:l.cor,clickable:!!l.acao,onClick:t.withModifiers(i=>{var d;return(d=l.acao)==null?void 0:d.call(l)},["stop","prevent"])},{default:t.withCtx(()=>[l.icone?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.icone),{key:0,class:"eli-tabela__celula-tag-icone",size:14})):t.createCommentVNode("",!0),t.createElementVNode("span",null,t.toDisplayString(l.rotulo),1)]),_:2},1032,["color","clickable","onClick"]))),128))])}const Da=P(Sa,[["render",Na],["__scopeId","data-v-a9c83dbe"]]);function ze(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ee={exports:{}},Aa=Ee.exports,je;function Ma(){return je||(je=1,(function(e,a){(function(n,r){e.exports=r()})(Aa,(function(){var n=1e3,r=6e4,s=36e5,m="millisecond",o="second",l="minute",u="hour",i="day",d="week",b="month",N="quarter",S="year",$="date",c="Invalid Date",E=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(_){var g=["th","st","nd","rd"],p=_%100;return"["+_+(g[(p-20)%10]||g[p]||g[0])+"]"}},j=function(_,g,p){var B=String(_);return!B||B.length>=g?_:""+Array(g+1-B.length).join(p)+_},G={s:j,z:function(_){var g=-_.utcOffset(),p=Math.abs(g),B=Math.floor(p/60),f=p%60;return(g<=0?"+":"-")+j(B,2,"0")+":"+j(f,2,"0")},m:function _(g,p){if(g.date()
1)return _(v[0])}else{var T=g.name;H[T]=g,f=T}return!B&&f&&(I=f),f||!B&&I},w=function(_,g){if(O(_))return _.clone();var p=typeof g=="object"?g:{};return p.date=_,p.args=arguments,new de(p)},A=G;A.l=ae,A.i=O,A.w=function(_,g){return w(_,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var de=(function(){function _(p){this.$L=ae(p.locale,null,!0),this.parse(p),this.$x=this.$x||p.x||{},this[X]=!0}var g=_.prototype;return g.parse=function(p){this.$d=(function(B){var f=B.date,V=B.utc;if(f===null)return new Date(NaN);if(A.u(f))return new Date;if(f instanceof Date)return new Date(f);if(typeof f=="string"&&!/Z$/i.test(f)){var v=f.match(E);if(v){var T=v[2]-1||0,L=(v[7]||"0").substring(0,3);return V?new Date(Date.UTC(v[1],T,v[3]||1,v[4]||0,v[5]||0,v[6]||0,L)):new Date(v[1],T,v[3]||1,v[4]||0,v[5]||0,v[6]||0,L)}}return new Date(f)})(p),this.init()},g.init=function(){var p=this.$d;this.$y=p.getFullYear(),this.$M=p.getMonth(),this.$D=p.getDate(),this.$W=p.getDay(),this.$H=p.getHours(),this.$m=p.getMinutes(),this.$s=p.getSeconds(),this.$ms=p.getMilliseconds()},g.$utils=function(){return A},g.isValid=function(){return this.$d.toString()!==c},g.isSame=function(p,B){var f=w(p);return this.startOf(B)<=f&&f<=this.endOf(B)},g.isAfter=function(p,B){return w(p)0,H<=I.r||!I.r){H<=1&&G>0&&(I=k[G-1]);var X=y[I.l];S&&(H=S(""+H)),c=typeof X=="string"?X.replace("%d",H):X(H,d,I.l,E);break}}if(d)return c;var O=E?y.future:y.past;return typeof O=="function"?O(c):O.replace("%s",c)},m.to=function(i,d){return l(i,d,this,!0)},m.from=function(i,d){return l(i,d,this)};var u=function(i){return i.$u?s.utc():s()};m.toNow=function(i){return this.to(u(this),i)},m.fromNow=function(i){return this.from(u(this),i)}}}))})(ke)),ke.exports}var Fa=Pa();const Oa=ze(Fa);se.extend(Oa);const qa=t.defineComponent({name:"EliTabelaCelulaData",props:{dados:{type:Object,required:!1}},setup({dados:e}){const a=t.computed(()=>{const n=e==null?void 0:e.valor;if(!n)return"";const r=(e==null?void 0:e.formato)??"data";return r==="relativo"?se(n).fromNow():r==="data_hora"?se(n).format("DD/MM/YYYY HH:mm"):se(n).format("DD/MM/YYYY")});return{dados:e,textoData:a}}}),Ia={key:1};function La(e,a,n,r,s,m){var o;return(o=e.dados)!=null&&o.acao?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:a[0]||(a[0]=t.withModifiers(l=>e.dados.acao(),["stop","prevent"]))},t.toDisplayString(e.textoData),1)):(t.openBlock(),t.createElementBlock("span",Ia,t.toDisplayString(e.textoData),1))}const za={textoSimples:ha,textoTruncado:ka,numero:va,tags:Da,data:P(qa,[["render",La],["__scopeId","data-v-2b88bbb2"]])},ja=t.defineComponent({name:"EliTabelaCelula",props:{celula:{type:Array,required:!0}},setup(e){const a=t.computed(()=>e.celula[0]),n=t.computed(()=>e.celula[1]),r=t.computed(()=>za[a.value]),s=t.computed(()=>n.value);return{Componente:r,dadosParaComponente:s}}});function Ha(e,a,n,r,s,m){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Componente),{dados:e.dadosParaComponente},null,8,["dados"])}const Ue=P(ja,[["render",Ha]]),Ua=t.defineComponent({name:"EliTabelaDetalhesLinha",components:{EliTabelaCelula:Ue},props:{linha:{type:null,required:!0},colunasInvisiveis:{type:Array,required:!0}}}),Ya={class:"eli-tabela__detalhes"},Ra={class:"eli-tabela__detalhe-rotulo"},Ja={class:"eli-tabela__detalhe-valor"};function Wa(e,a,n,r,s,m){const o=t.resolveComponent("EliTabelaCelula");return t.openBlock(),t.createElementBlock("div",Ya,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.colunasInvisiveis,(l,u)=>(t.openBlock(),t.createElementBlock("div",{key:`det-${u}-${l.rotulo}`,class:"eli-tabela__detalhe"},[t.createElementVNode("div",Ra,t.toDisplayString(l.rotulo),1),t.createElementVNode("div",Ja,[t.createVNode(o,{celula:l.celula(e.linha)},null,8,["celula"])])]))),128))])}const Za=P(Ua,[["render",Wa],["__scopeId","data-v-f1ee8d20"]]),Ga=t.defineComponent({name:"EliTabelaBody",components:{EliTabelaCelula:Ue,EliTabelaDetalhesLinha:Za,MoreVertical:Mt,ChevronRight:Le,ChevronDown:Ie},props:{colunas:{type:Array,required:!0},colunasInvisiveis:{type:Array,required:!0},temColunasInvisiveis:{type:Boolean,required:!0},linhasExpandidas:{type:Object,required:!0},linhas:{type:Array,required:!0},temAcoes:{type:Boolean,required:!0},menuAberto:{type:Number,required:!0},possuiAcoes:{type:Function,required:!0},toggleMenu:{type:Function,required:!0},alternarLinhaExpandida:{type:Function,required:!0}},setup(){return{ChevronRight:Le,ChevronDown:Ie}}}),Xa={class:"eli-tabela__tbody"},Ka=["aria-expanded","aria-label","title","onClick"],Qa=["id","disabled","aria-expanded","aria-controls","aria-label","title","onClick"],xa=["colspan"];function eo(e,a,n,r,s,m){const o=t.resolveComponent("EliTabelaCelula"),l=t.resolveComponent("MoreVertical"),u=t.resolveComponent("EliTabelaDetalhesLinha");return t.openBlock(),t.createElementBlock("tbody",Xa,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.linhas,(i,d)=>{var b,N,S,$,c,E;return t.openBlock(),t.createElementBlock(t.Fragment,{key:`grp-${d}`},[t.createElementVNode("tr",{class:t.normalizeClass(["eli-tabela__tr",[d%2===1?"eli-tabela__tr--zebra":void 0]])},[e.temColunasInvisiveis?(t.openBlock(),t.createElementBlock("td",{class:"eli-tabela__td eli-tabela__td--expander",key:`td-${d}-exp`},[t.createElementVNode("button",{type:"button",class:t.normalizeClass(["eli-tabela__expander-botao",[(b=e.linhasExpandidas)!=null&&b[d]?"eli-tabela__expander-botao--ativo":void 0]]),"aria-expanded":(N=e.linhasExpandidas)!=null&&N[d]?"true":"false","aria-label":(S=e.linhasExpandidas)!=null&&S[d]?"Ocultar colunas ocultas":"Mostrar colunas ocultas",title:($=e.linhasExpandidas)!=null&&$[d]?"Ocultar detalhes":"Mostrar detalhes",onClick:t.withModifiers(y=>e.alternarLinhaExpandida(d),["stop"])},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent((c=e.linhasExpandidas)!=null&&c[d]?e.ChevronDown:e.ChevronRight),{class:"eli-tabela__expander-icone",size:16,"stroke-width":2,"aria-hidden":"true"}))],10,Ka)])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.colunas,(y,k)=>(t.openBlock(),t.createElementBlock("td",{key:`td-${d}-${k}`,class:"eli-tabela__td"},[t.createVNode(o,{celula:y.celula(i)},null,8,["celula"])]))),128)),e.temAcoes?(t.openBlock(),t.createElementBlock("td",{class:"eli-tabela__td eli-tabela__td--acoes",key:`td-${d}-acoes`},[t.createElementVNode("div",{class:t.normalizeClass(["eli-tabela__acoes-container",[e.menuAberto===d?"eli-tabela__acoes-container--aberto":void 0]])},[t.createElementVNode("button",{class:"eli-tabela__acoes-toggle",type:"button",id:`eli-tabela-acoes-toggle-${d}`,disabled:!e.possuiAcoes(d),"aria-haspopup":"menu","aria-expanded":e.menuAberto===d?"true":"false","aria-controls":e.possuiAcoes(d)?`eli-tabela-acoes-menu-${d}`:void 0,"aria-label":e.possuiAcoes(d)?"Ações da linha":"Nenhuma ação disponível",title:e.possuiAcoes(d)?"Ações":"Nenhuma ação disponível",onClick:t.withModifiers(y=>e.toggleMenu(d,y),["stop"])},[t.createVNode(l,{class:"eli-tabela__acoes-toggle-icone",size:18,"stroke-width":2})],8,Qa)],2)])):t.createCommentVNode("",!0)],2),e.temColunasInvisiveis&&((E=e.linhasExpandidas)!=null&&E[d])?(t.openBlock(),t.createElementBlock("tr",{key:0,class:t.normalizeClass(["eli-tabela__tr eli-tabela__tr--detalhes",[d%2===1?"eli-tabela__tr--zebra":void 0]])},[t.createElementVNode("td",{class:"eli-tabela__td eli-tabela__td--detalhes",colspan:(e.temColunasInvisiveis?1:0)+e.colunas.length+(e.temAcoes?1:0)},[t.createVNode(u,{linha:i,colunasInvisiveis:e.colunasInvisiveis},null,8,["linha","colunasInvisiveis"])],8,xa)],2)):t.createCommentVNode("",!0)],64)}),128))])}const to=P(Ga,[["render",eo]]),ao=t.defineComponent({name:"EliTabelaMenuAcoes",props:{menuAberto:{type:Number,required:!0},posicao:{type:Object,required:!0},acoes:{type:Array,required:!0},linha:{type:null,required:!0}},emits:{executar(e){return e!==null&&typeof e=="object"}},setup(e,{emit:a,expose:n}){const r=t.ref(null);n({menuEl:r});const s=t.computed(()=>e.acoes.length>0);function m(o){e.linha&&a("executar",{acao:o.acao,linha:e.linha})}return{menuEl:r,possuiAcoes:s,emitExecutar:m}}}),oo=["id","aria-labelledby"],no=["aria-label","title","onClick"],ro={class:"eli-tabela__acoes-item-texto"};function lo(e,a,n,r,s,m){return t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[e.menuAberto!==null&&e.possuiAcoes?(t.openBlock(),t.createElementBlock("ul",{key:0,id:`eli-tabela-acoes-menu-${e.menuAberto}`,ref:"menuEl",class:"eli-tabela__acoes-menu",role:"menu","aria-labelledby":`eli-tabela-acoes-toggle-${e.menuAberto}`,style:t.normalizeStyle({position:"fixed",top:`${e.posicao.top}px`,left:`${e.posicao.left}px`,zIndex:999999})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.acoes,o=>(t.openBlock(),t.createElementBlock("li",{key:`acao-${e.menuAberto}-${o.indice}`,class:"eli-tabela__acoes-item",role:"none"},[t.createElementVNode("button",{type:"button",class:"eli-tabela__acoes-item-botao",style:t.normalizeStyle({color:o.acao.cor}),role:"menuitem","aria-label":o.acao.rotulo,title:o.acao.rotulo,onClick:t.withModifiers(l=>e.emitExecutar(o),["stop"])},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.acao.icone),{class:"eli-tabela__acoes-item-icone",size:16,"stroke-width":2})),t.createElementVNode("span",ro,t.toDisplayString(o.acao.rotulo),1)],12,no)]))),128))],12,oo)):t.createCommentVNode("",!0)])}const io=P(ao,[["render",lo]]),so=t.defineComponent({name:"EliTabelaPaginacao",props:{pagina:{type:Number,required:!0},totalPaginas:{type:Number,required:!0},maximoBotoes:{type:Number,required:!1}},emits:{alterar(e){return Number.isFinite(e)}},setup(e,{emit:a}){const n=t.computed(()=>{const i=e.maximoBotoes;return typeof i=="number"&&i>=5?Math.floor(i):7}),r=t.computed(()=>{const i=e.totalPaginas,d=e.pagina,b=n.value,N=[],S=k=>{N.push({label:String(k),pagina:k,ativo:k===d})},$=()=>{N.push({label:"…",ehEllipsis:!0})};if(i<=b){for(let k=1;k<=i;k+=1)S(k);return N}const c=Math.max(3,b-2);let E=Math.max(2,d-Math.floor(c/2)),y=E+c-1;y>=i&&(y=i-1,E=y-c+1),S(1),E>2&&$();for(let k=E;k<=y;k+=1)S(k);return ye.pagina<=1),o=t.computed(()=>e.pagina>=e.totalPaginas),l=t.computed(()=>e.pagina),u=t.computed(()=>e.totalPaginas);return{botoes:r,irParaPagina:s,anteriorDesabilitado:m,proximaDesabilitada:o,paginaAtual:l,totalPaginasExibidas:u}}}),co={key:0,class:"eli-tabela__paginacao",role:"navigation","aria-label":"Paginação de resultados"},uo=["disabled"],mo={key:0,class:"eli-tabela__pagina-ellipsis","aria-hidden":"true"},po=["disabled","aria-current","aria-label","onClick"],fo=["disabled"];function bo(e,a,n,r,s,m){return e.totalPaginasExibidas>1?(t.openBlock(),t.createElementBlock("nav",co,[t.createElementVNode("button",{type:"button",class:"eli-tabela__pagina-botao",disabled:e.anteriorDesabilitado,"aria-label":"Página anterior",onClick:a[0]||(a[0]=o=>e.irParaPagina(e.paginaAtual-1))}," << ",8,uo),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.botoes,(o,l)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`${o.label}-${l}`},[o.ehEllipsis?(t.openBlock(),t.createElementBlock("span",mo,t.toDisplayString(o.label),1)):(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:t.normalizeClass(["eli-tabela__pagina-botao",o.ativo?"eli-tabela__pagina-botao--ativo":void 0]),disabled:o.ativo,"aria-current":o.ativo?"page":void 0,"aria-label":`Ir para página ${o.label}`,onClick:u=>e.irParaPagina(o.pagina)},t.toDisplayString(o.label),11,po))],64))),128)),t.createElementVNode("button",{type:"button",class:"eli-tabela__pagina-botao",disabled:e.proximaDesabilitada,"aria-label":"Próxima página",onClick:a[1]||(a[1]=o=>e.irParaPagina(e.paginaAtual+1))}," >> ",8,fo)])):t.createCommentVNode("",!0)}const ho=P(so,[["render",bo],["__scopeId","data-v-5ca7a362"]]),Ye="application/x-eli-tabela-coluna",go=t.defineComponent({name:"EliTabelaModalColunas",props:{aberto:{type:Boolean,required:!0},rotulosColunas:{type:Array,required:!0},configInicial:{type:Object,required:!0},colunas:{type:Array,required:!0}},emits:{fechar(){return!0},salvar(e){return!0}},setup(e,{emit:a}){const n=t.ref([]),r=t.ref([]);function s(){var H,X;const $=e.rotulosColunas,c=(((H=e.configInicial.visiveis)==null?void 0:H.length)??0)>0||(((X=e.configInicial.invisiveis)==null?void 0:X.length)??0)>0,E=new Set(e.colunas.filter(O=>O.visivel===!1).map(O=>O.rotulo)),y=c?new Set(e.configInicial.invisiveis??[]):E,k=$.filter(O=>!y.has(O)),j=e.configInicial.visiveis??[],G=new Set(k),I=[];for(const O of j)G.has(O)&&I.push(O);for(const O of k)I.includes(O)||I.push(O);n.value=I,r.value=$.filter(O=>y.has(O))}t.watch(()=>[e.aberto,e.rotulosColunas,e.configInicial,e.colunas],()=>{e.aberto&&s()},{deep:!0,immediate:!0});function m(){a("fechar")}function o(){a("salvar",{visiveis:[...n.value],invisiveis:[...r.value]})}function l($,c){var E,y;try{(E=$.dataTransfer)==null||E.setData(Ye,JSON.stringify(c)),(y=$.dataTransfer)==null||y.setData("text/plain",c.rotulo),$.dataTransfer.effectAllowed="move"}catch{}}function u($){var c;try{const E=(c=$.dataTransfer)==null?void 0:c.getData(Ye);if(!E)return null;const y=JSON.parse(E);return!y||typeof y.rotulo!="string"||y.origem!=="visiveis"&&y.origem!=="invisiveis"?null:y}catch{return null}}function i($){const c=$.origem==="visiveis"?n.value:r.value,E=c.indexOf($.rotulo);E>=0&&c.splice(E,1)}function d($,c,E){const y=$==="visiveis"?n.value:r.value,k=y.indexOf(c);k>=0&&y.splice(k,1),E===null||E<0||E>y.length?y.push(c):y.splice(E,0,c)}function b($,c,E,y){l($,{rotulo:c,origem:E,index:y})}function N($,c,E){const y=u($);if(y)if(i(y),d(c,y.rotulo,E),c==="visiveis"){const k=r.value.indexOf(y.rotulo);k>=0&&r.value.splice(k,1)}else{const k=n.value.indexOf(y.rotulo);k>=0&&n.value.splice(k,1)}}function S($,c,E){const y=u($);if(y)if(i(y),d(c,y.rotulo,null),c==="visiveis"){const k=r.value.indexOf(y.rotulo);k>=0&&r.value.splice(k,1)}else{const k=n.value.indexOf(y.rotulo);k>=0&&n.value.splice(k,1)}}return{visiveisLocal:n,invisiveisLocal:r,emitFechar:m,emitSalvar:o,onDragStart:b,onDropItem:N,onDropLista:S}}}),yo={class:"eli-tabela-modal-colunas__modal",role:"dialog","aria-modal":"true","aria-label":"Configurar colunas"},$o={class:"eli-tabela-modal-colunas__header"},Eo={class:"eli-tabela-modal-colunas__conteudo"},ko={class:"eli-tabela-modal-colunas__coluna"},Bo=["onDragstart","onDrop"],Co={class:"eli-tabela-modal-colunas__item-texto"},_o={class:"eli-tabela-modal-colunas__coluna"},vo=["onDragstart","onDrop"],So={class:"eli-tabela-modal-colunas__item-texto"},Vo={class:"eli-tabela-modal-colunas__footer"};function No(e,a,n,r,s,m){return e.aberto?(t.openBlock(),t.createElementBlock("div",{key:0,class:"eli-tabela-modal-colunas__overlay",role:"presentation",onClick:a[9]||(a[9]=t.withModifiers((...o)=>e.emitFechar&&e.emitFechar(...o),["self"]))},[t.createElementVNode("div",yo,[t.createElementVNode("header",$o,[a[10]||(a[10]=t.createElementVNode("h3",{class:"eli-tabela-modal-colunas__titulo"},"Colunas",-1)),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__fechar","aria-label":"Fechar",onClick:a[0]||(a[0]=(...o)=>e.emitFechar&&e.emitFechar(...o))}," × ")]),t.createElementVNode("div",Eo,[t.createElementVNode("div",ko,[a[12]||(a[12]=t.createElementVNode("div",{class:"eli-tabela-modal-colunas__coluna-titulo"},"Visíveis",-1)),t.createElementVNode("div",{class:"eli-tabela-modal-colunas__lista",onDragover:a[2]||(a[2]=t.withModifiers(()=>{},["prevent"])),onDrop:a[3]||(a[3]=o=>e.onDropLista(o,"visiveis",null))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.visiveisLocal,(o,l)=>(t.openBlock(),t.createElementBlock("div",{key:`vis-${o}`,class:"eli-tabela-modal-colunas__item",draggable:"true",onDragstart:u=>e.onDragStart(u,o,"visiveis",l),onDragover:a[1]||(a[1]=t.withModifiers(()=>{},["prevent"])),onDrop:u=>e.onDropItem(u,"visiveis",l)},[a[11]||(a[11]=t.createElementVNode("span",{class:"eli-tabela-modal-colunas__item-handle","aria-hidden":"true"},"⋮⋮",-1)),t.createElementVNode("span",Co,t.toDisplayString(o),1)],40,Bo))),128))],32)]),t.createElementVNode("div",_o,[a[14]||(a[14]=t.createElementVNode("div",{class:"eli-tabela-modal-colunas__coluna-titulo"},"Invisíveis",-1)),t.createElementVNode("div",{class:"eli-tabela-modal-colunas__lista",onDragover:a[5]||(a[5]=t.withModifiers(()=>{},["prevent"])),onDrop:a[6]||(a[6]=o=>e.onDropLista(o,"invisiveis",null))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.invisiveisLocal,(o,l)=>(t.openBlock(),t.createElementBlock("div",{key:`inv-${o}`,class:"eli-tabela-modal-colunas__item",draggable:"true",onDragstart:u=>e.onDragStart(u,o,"invisiveis",l),onDragover:a[4]||(a[4]=t.withModifiers(()=>{},["prevent"])),onDrop:u=>e.onDropItem(u,"invisiveis",l)},[a[13]||(a[13]=t.createElementVNode("span",{class:"eli-tabela-modal-colunas__item-handle","aria-hidden":"true"},"⋮⋮",-1)),t.createElementVNode("span",So,t.toDisplayString(o),1)],40,vo))),128))],32)])]),t.createElementVNode("footer",Vo,[t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--sec",onClick:a[7]||(a[7]=(...o)=>e.emitFechar&&e.emitFechar(...o))}," Cancelar "),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--prim",onClick:a[8]||(a[8]=(...o)=>e.emitSalvar&&e.emitSalvar(...o))}," Salvar ")])])])):t.createCommentVNode("",!0)}const Do=P(go,[["render",No],["__scopeId","data-v-b8f693ef"]]);function Ao(e){if(!Number.isFinite(e)||e<=0||e>=1)return 0;const a=e.toString();if(a.includes("e-")){const[,s]=a.split("e-"),m=Number(s);return Number.isFinite(m)?m:0}const n=a.indexOf(".");return n===-1?0:a.slice(n+1).replace(/0+$/,"").length}function Mo(e){const a=(e??"").trim().replace(/,/g,".");if(!a)return null;const n=Number(a);return Number.isNaN(n)?null:n}function Se(e,a){return e==null?"":a===null?String(e):Number(e).toFixed(Math.max(0,a)).replace(/\./g,",")}function Re(e){return(e??"").replace(/\D+/g,"")}function wo(e){const a=(e??"").replace(/[^0-9.,]+/g,""),n=a.match(/[.,]/);if(!n)return a;const r=n[0],s=a.indexOf(r),m=a.slice(0,s).replace(/[.,]/g,""),o=a.slice(s+1).replace(/[.,]/g,"");return`${m.length?m:"0"}${r}${o}`}function To(e,a){if(a===null)return e;if(a<=0)return e.replace(/[.,]/g,"");const n=e.match(/[.,]/);if(!n)return e;const r=n[0],s=e.indexOf(r),m=e.slice(0,s),o=e.slice(s+1);return`${m}${r}${o.slice(0,a)}`}function Po(e){const a=e.match(/^(\d+)[.,]$/);if(!a)return null;const n=Number(a[1]);return Number.isNaN(n)?null:n}const Fo=t.defineComponent({name:"EliEntradaNumero",inheritAttrs:!1,props:{value:{type:[Number,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:a,emit:n}){const r=t.computed(()=>{var d;const i=(d=e.opcoes)==null?void 0:d.precisao;return i==null?null:Ao(i)}),s=t.computed(()=>r.value===0),m=t.computed(()=>{const i=r.value;return i!==null&&i>0}),o=t.ref(""),l=t.ref(void 0);t.watch(()=>e.value,i=>{i!==l.value&&(o.value=Se(i,r.value),l.value=i)},{immediate:!0});function u(i){if(m.value){const S=r.value??0,$=Re(i),c=$?Number($):0,E=Math.pow(10,S),y=$?c/E:null,k=y===null?null:y;l.value=k,n("update:value",k),n("input",k),n("change",k),o.value=Se(k,S);return}const d=s.value?Re(i):wo(i),b=s.value?d:To(d,r.value);let N=null;if(b){const $=(s.value?null:Po(b))??Mo(b);N=$===null?null:$}l.value=N,n("update:value",N),n("input",N),n("change",N),o.value=Se(N,r.value)}return{attrs:a,emit:n,displayValue:o,isInteiro:s,onUpdateModelValue:u}}}),Oo={class:"eli-entrada__prefixo"},qo={class:"eli-entrada__sufixo"};function Io(e,a,n,r,s,m){var o,l,u,i;return t.openBlock(),t.createBlock(Ce.VTextField,t.mergeProps({"model-value":e.displayValue,label:(o=e.opcoes)==null?void 0:o.rotulo,placeholder:(l=e.opcoes)==null?void 0:l.placeholder,type:e.isInteiro?"number":"text",inputmode:e.isInteiro?"numeric":"decimal",pattern:e.isInteiro?"[0-9]*":"[0-9.,]*"},e.attrs,{"onUpdate:modelValue":e.onUpdateModelValue,onFocus:a[0]||(a[0]=()=>e.emit("focus")),onBlur:a[1]||(a[1]=()=>e.emit("blur"))}),t.createSlots({_:2},[(u=e.opcoes)!=null&&u.prefixo?{name:"prepend-inner",fn:t.withCtx(()=>[t.createElementVNode("span",Oo,t.toDisplayString(e.opcoes.prefixo),1)]),key:"0"}:void 0,(i=e.opcoes)!=null&&i.sufixo?{name:"append-inner",fn:t.withCtx(()=>[t.createElementVNode("span",qo,t.toDisplayString(e.opcoes.sufixo),1)]),key:"1"}:void 0]),1040,["model-value","label","placeholder","type","inputmode","pattern","onUpdate:modelValue"])}const Ve=P(Fo,[["render",Io],["__scopeId","data-v-77cbf216"]]),Lo=t.defineComponent({name:"EliEntradaDataHora",inheritAttrs:!1,props:{value:{type:String,default:void 0},opcoes:{type:Object,required:!1,default:void 0},modelValue:{type:String,default:null},modo:{type:String,default:void 0},rotulo:{type:String,default:void 0},placeholder:{type:String,default:void 0},desabilitado:{type:Boolean,default:void 0},limpavel:{type:Boolean,default:void 0},erro:{type:Boolean,default:void 0},mensagensErro:{type:[String,Array],default:void 0},dica:{type:String,default:void 0},dicaPersistente:{type:Boolean,default:void 0},densidade:{type:String,default:void 0},variante:{type:String,default:void 0},min:{type:String,default:void 0},max:{type:String,default:void 0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,"update:modelValue":e=>!0,alterar:e=>!0,foco:()=>!0,desfoco:()=>!0,focus:()=>!0,blur:()=>!0},setup(e,{emit:a,attrs:n}){const r=t.computed(()=>e.opcoes?e.opcoes:{rotulo:e.rotulo??"Data e hora",placeholder:e.placeholder??"",modo:e.modo??"dataHora",limpavel:e.limpavel,erro:e.erro,mensagensErro:e.mensagensErro,dica:e.dica,dicaPersistente:e.dicaPersistente,densidade:e.densidade,variante:e.variante,min:e.min,max:e.max}),s=t.computed(()=>r.value.modo??"dataHora"),m=t.computed(()=>!!e.desabilitado),o=t.computed(()=>s.value==="data"?"date":"datetime-local");function l(c){return s.value==="data"?se(c).format("YYYY-MM-DD"):se(c).format("YYYY-MM-DDTHH:mm")}function u(c){return s.value==="data"?se(`${c}T00:00`).format():se(c).format()}const i=t.computed(()=>e.value!==void 0?e.value??null:e.modelValue),d=t.computed({get:()=>i.value?l(i.value):"",set:c=>{const E=c&&c.length>0?c:null;if(!E){a("update:value",null),a("input",null),a("change",null),a("update:modelValue",null),a("alterar",null);return}const y=u(E);a("update:value",y),a("input",y),a("change",y),a("update:modelValue",y),a("alterar",y)}}),b=t.computed(()=>{const c=r.value.min;if(c)return l(c)}),N=t.computed(()=>{const c=r.value.max;if(c)return l(c)});function S(){a("foco"),a("focus")}function $(){a("desfoco"),a("blur")}return{attrs:n,valor:d,tipoInput:o,minLocal:b,maxLocal:N,opcoesEfetivas:r,desabilitadoEfetivo:m,emitCompatFocus:S,emitCompatBlur:$}}}),zo={class:"eli-data-hora"};function jo(e,a,n,r,s,m){return t.openBlock(),t.createElementBlock("div",zo,[t.createVNode(Ce.VTextField,t.mergeProps({modelValue:e.valor,"onUpdate:modelValue":a[0]||(a[0]=o=>e.valor=o),type:e.tipoInput,label:e.opcoesEfetivas.rotulo,placeholder:e.opcoesEfetivas.placeholder,disabled:e.desabilitadoEfetivo,clearable:!!e.opcoesEfetivas.limpavel,error:!!e.opcoesEfetivas.erro,"error-messages":e.opcoesEfetivas.mensagensErro,hint:e.opcoesEfetivas.dica,"persistent-hint":!!e.opcoesEfetivas.dicaPersistente,density:e.opcoesEfetivas.densidade??"comfortable",variant:e.opcoesEfetivas.variante??"outlined",min:e.minLocal,max:e.maxLocal},e.attrs,{onFocus:e.emitCompatFocus,onBlur:e.emitCompatBlur}),null,16,["modelValue","type","label","placeholder","disabled","clearable","error","error-messages","hint","persistent-hint","density","variant","min","max","onFocus","onBlur"])])}const Ne=P(Lo,[["render",jo],["__scopeId","data-v-1bfd1be8"]]),Ho=t.defineComponent({name:"EliEntradaParagrafo",components:{VTextarea:_e.VTextarea},inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:a,emit:n}){const r=t.computed({get:()=>e.value,set:s=>{n("update:value",s),n("input",s),n("change",s)}});return{attrs:a,emit:n,localValue:r,opcoes:e.opcoes}}});function Uo(e,a,n,r,s,m){var o,l,u,i,d,b,N,S,$,c,E,y;return t.openBlock(),t.createBlock(rt.VTextarea,t.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":a[0]||(a[0]=k=>e.localValue=k),label:(o=e.opcoes)==null?void 0:o.rotulo,placeholder:(l=e.opcoes)==null?void 0:l.placeholder,rows:((u=e.opcoes)==null?void 0:u.linhas)??4,counter:(i=e.opcoes)==null?void 0:i.limiteCaracteres,maxlength:(d=e.opcoes)==null?void 0:d.limiteCaracteres,clearable:!!((b=e.opcoes)!=null&&b.limpavel),error:!!((N=e.opcoes)!=null&&N.erro),"error-messages":(S=e.opcoes)==null?void 0:S.mensagensErro,hint:($=e.opcoes)==null?void 0:$.dica,"persistent-hint":!!((c=e.opcoes)!=null&&c.dicaPersistente),density:((E=e.opcoes)==null?void 0:E.densidade)??"comfortable",variant:((y=e.opcoes)==null?void 0:y.variante)??"outlined","auto-grow":""},e.attrs,{onFocus:a[1]||(a[1]=()=>e.emit("focus")),onBlur:a[2]||(a[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","placeholder","rows","counter","maxlength","clearable","error","error-messages","hint","persistent-hint","density","variant"])}const Je=P(Ho,[["render",Uo]]),Yo=t.defineComponent({name:"EliEntradaSelecao",components:{VSelect:_e.VSelect},inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:a,emit:n}){const r=t.ref([]),s=t.ref(!1),m=t.computed({get:()=>e.value,set:l=>{n("update:value",l),n("input",l),n("change",l)}});async function o(){s.value=!0;try{const l=await e.opcoes.itens();r.value=Array.isArray(l)?l:[]}finally{s.value=!1}}return t.watch(()=>e.opcoes.itens,()=>{o()}),t.onMounted(()=>{o()}),{attrs:a,emit:n,localValue:m,opcoes:e.opcoes,itens:r,carregando:s}}});function Ro(e,a,n,r,s,m){var o,l,u,i,d,b,N,S,$;return t.openBlock(),t.createBlock(lt.VSelect,t.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":a[0]||(a[0]=c=>e.localValue=c),label:(o=e.opcoes)==null?void 0:o.rotulo,placeholder:(l=e.opcoes)==null?void 0:l.placeholder,items:e.itens,"item-title":"rotulo","item-value":"chave",loading:e.carregando,disabled:e.carregando,clearable:!!((u=e.opcoes)!=null&&u.limpavel),error:!!((i=e.opcoes)!=null&&i.erro),"error-messages":(d=e.opcoes)==null?void 0:d.mensagensErro,hint:(b=e.opcoes)==null?void 0:b.dica,"persistent-hint":!!((N=e.opcoes)!=null&&N.dicaPersistente),density:((S=e.opcoes)==null?void 0:S.densidade)??"comfortable",variant:(($=e.opcoes)==null?void 0:$.variante)??"outlined"},e.attrs,{onFocus:a[1]||(a[1]=()=>e.emit("focus")),onBlur:a[2]||(a[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","placeholder","items","loading","disabled","clearable","error","error-messages","hint","persistent-hint","density","variant"])}const We=P(Yo,[["render",Ro]]);function Jo(e){return e==="texto"||e==="numero"||e==="dataHora"}function Wo(e){var n,r;const a=(r=(n=e==null?void 0:e.entrada)==null?void 0:n[1])==null?void 0:r.rotulo;return String(a||((e==null?void 0:e.coluna)??"Filtro"))}const Zo=t.defineComponent({name:"EliTabelaModalFiltroAvancado",props:{aberto:{type:Boolean,required:!0},filtrosBase:{type:Array,required:!0},modelo:{type:Array,required:!0}},emits:{fechar:()=>!0,limpar:()=>!0,salvar:e=>!0},setup(e,{emit:a}){const n=t.ref([]),r=t.ref(""),s=t.computed(()=>(e.filtrosBase??[]).map(c=>String(c.coluna))),m=t.computed(()=>{const c=new Set(n.value.map(E=>String(E.coluna)));return(e.filtrosBase??[]).filter(E=>!c.has(String(E.coluna)))});function o(c){const E=c==null?void 0:c[0];return E==="numero"?Ve:E==="dataHora"?Ne:$e}function l(c){return(c==null?void 0:c[1])??{rotulo:""}}function u(c){return(c==null?void 0:c[0])==="numero"?null:""}function i(){var y;const c=e.filtrosBase??[],E=Array.isArray(e.modelo)?e.modelo:[];n.value=E.map(k=>{const j=c.find(O=>String(O.coluna)===String(k.coluna))??c[0],G=(j==null?void 0:j.entrada)??k.entrada,I=(j==null?void 0:j.coluna)??k.coluna,H=String((j==null?void 0:j.operador)??"="),X=k.valor??u(G);return{coluna:I,operador:H,entrada:G,valor:X}});for(const k of n.value)s.value.includes(String(k.coluna))&&(k.operador=String(((y=c.find(j=>String(j.coluna)===String(k.coluna)))==null?void 0:y.operador)??"="),k.entrada&&!Jo(k.entrada[0])&&(k.entrada=["texto",{rotulo:"Valor"}]))}t.watch(()=>[e.aberto,e.filtrosBase,e.modelo],()=>{e.aberto&&i()},{deep:!0,immediate:!0});function d(){if(!r.value)return;const c=(e.filtrosBase??[]).find(E=>String(E.coluna)===String(r.value));c&&(n.value.some(E=>String(E.coluna)===String(c.coluna))||(n.value.push({coluna:c.coluna,entrada:c.entrada,operador:String(c.operador??"="),valor:u(c.entrada)}),r.value=""))}function b(c){n.value.splice(c,1)}function N(){a("fechar")}function S(){a("limpar")}function $(){a("salvar",n.value.map(c=>({coluna:c.coluna,valor:c.valor})))}return{linhas:n,opcoesParaAdicionar:m,colunaParaAdicionar:r,componenteEntrada:o,opcoesEntrada:l,adicionar:d,remover:b,emitFechar:N,emitSalvar:$,emitLimpar:S,rotuloDoFiltro:Wo}}}),Go={class:"eli-tabela-modal-filtro__modal",role:"dialog","aria-modal":"true","aria-label":"Filtro avançado"},Xo={class:"eli-tabela-modal-filtro__header"},Ko={class:"eli-tabela-modal-filtro__conteudo"},Qo={key:0,class:"eli-tabela-modal-filtro__vazio"},xo={key:1,class:"eli-tabela-modal-filtro__lista"},en={class:"eli-tabela-modal-filtro__entrada"},tn=["onClick"],an={class:"eli-tabela-modal-filtro__acoes"},on=["disabled"],nn=["value"],rn=["disabled"],ln={class:"eli-tabela-modal-filtro__footer"};function sn(e,a,n,r,s,m){return e.aberto?(t.openBlock(),t.createElementBlock("div",{key:0,class:"eli-tabela-modal-filtro__overlay",role:"presentation",onClick:a[6]||(a[6]=t.withModifiers((...o)=>e.emitFechar&&e.emitFechar(...o),["self"]))},[t.createElementVNode("div",Go,[t.createElementVNode("header",Xo,[a[7]||(a[7]=t.createElementVNode("h3",{class:"eli-tabela-modal-filtro__titulo"},"Filtro avançado",-1)),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__fechar","aria-label":"Fechar",onClick:a[0]||(a[0]=(...o)=>e.emitFechar&&e.emitFechar(...o))}," × ")]),t.createElementVNode("div",Ko,[e.filtrosBase.length?(t.openBlock(),t.createElementBlock("div",xo,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.linhas,(o,l)=>(t.openBlock(),t.createElementBlock("div",{key:String(o.coluna),class:"eli-tabela-modal-filtro__linha"},[t.createElementVNode("div",en,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.componenteEntrada(o.entrada)),{value:o.valor,"onUpdate:value":u=>o.valor=u,opcoes:e.opcoesEntrada(o.entrada),density:"compact"},null,40,["value","onUpdate:value","opcoes"]))]),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__remover",title:"Remover","aria-label":"Remover",onClick:u=>e.remover(l)}," × ",8,tn)]))),128))])):(t.openBlock(),t.createElementBlock("div",Qo," Nenhum filtro configurado na tabela. ")),t.createElementVNode("div",an,[t.withDirectives(t.createElementVNode("select",{"onUpdate:modelValue":a[1]||(a[1]=o=>e.colunaParaAdicionar=o),class:"eli-tabela-modal-filtro__select",disabled:!e.opcoesParaAdicionar.length},[a[8]||(a[8]=t.createElementVNode("option",{disabled:"",value:""},"Selecione um filtro…",-1)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.opcoesParaAdicionar,o=>(t.openBlock(),t.createElementBlock("option",{key:String(o.coluna),value:String(o.coluna)},t.toDisplayString(e.rotuloDoFiltro(o)),9,nn))),128))],8,on),[[t.vModelSelect,e.colunaParaAdicionar]]),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao",onClick:a[2]||(a[2]=(...o)=>e.adicionar&&e.adicionar(...o)),disabled:!e.colunaParaAdicionar}," Adicionar ",8,rn)])]),t.createElementVNode("footer",ln,[t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec",onClick:a[3]||(a[3]=(...o)=>e.emitLimpar&&e.emitLimpar(...o))}," Limpar "),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec",onClick:a[4]||(a[4]=(...o)=>e.emitFechar&&e.emitFechar(...o))}," Cancelar "),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--prim",onClick:a[5]||(a[5]=(...o)=>e.emitSalvar&&e.emitSalvar(...o))}," Aplicar ")])])])):t.createCommentVNode("",!0)}const cn=P(Zo,[["render",sn],["__scopeId","data-v-ae32fe4c"]]),dn="eli:tabela";function Ze(e){return`${dn}:${e}:colunas`}function Ge(e){if(!e||typeof e!="object")return{visiveis:[],invisiveis:[]};const a=e,n=Array.isArray(a.visiveis)?a.visiveis.filter(s=>typeof s=="string"):[],r=Array.isArray(a.invisiveis)?a.invisiveis.filter(s=>typeof s=="string"):[];return{visiveis:n,invisiveis:r}}function Xe(e){try{const a=window.localStorage.getItem(Ze(e));return a?Ge(JSON.parse(a)):{visiveis:[],invisiveis:[]}}catch{return{visiveis:[],invisiveis:[]}}}function un(e,a){try{window.localStorage.setItem(Ze(e),JSON.stringify(Ge(a)))}catch{}}function De(e){return`eli_tabela:${e}:filtro_avancado`}function Ke(e){try{const a=localStorage.getItem(De(e));if(!a)return[];const n=JSON.parse(a);return Array.isArray(n)?n:[]}catch{return[]}}function mn(e,a){try{localStorage.setItem(De(e),JSON.stringify(a??[]))}catch{}}function pn(e){try{localStorage.removeItem(De(e))}catch{}}const fn=t.defineComponent({name:"EliTabela",inheritAttrs:!1,components:{EliTabelaCabecalho:Rt,EliTabelaEstados:Qt,EliTabelaDebug:aa,EliTabelaHead:ma,EliTabelaBody:to,EliTabelaMenuAcoes:io,EliTabelaPaginacao:ho,EliTabelaModalColunas:Do,EliTabelaModalFiltroAvancado:cn},props:{tabela:{type:Object,required:!0}},setup(e){const n=t.ref(!1),r=t.ref(null),s=t.ref([]),m=t.ref(0),o=t.ref([]),l=t.ref(null),u=t.ref(null),i=t.ref({top:0,left:0}),d=t.ref(""),b=t.ref(1),N=t.ref(null),S=t.ref("asc"),$=t.ref(!1),c=t.ref(Ke(e.tabela.nome));function E(){$.value=!0}function y(){$.value=!1}function k(){c.value=[],pn(e.tabela.nome),$.value=!1,b.value!==1&&(b.value=1)}function j(h){c.value=h??[],mn(e.tabela.nome,h??[]),$.value=!1,b.value!==1&&(b.value=1)}const G=t.computed(()=>{const h=e.tabela.filtroAvancado??[];return(c.value??[]).filter(C=>C&&C.coluna!==void 0).map(C=>{const D=h.find(M=>String(M.coluna)===String(C.coluna));return D?{coluna:String(D.coluna),operador:D.operador,valor:C.valor}:null}).filter(Boolean)}),I=t.computed(()=>e.tabela),H=t.computed(()=>!!e.tabela.mostrarCaixaDeBusca),X=t.computed(()=>e.tabela.acoesTabela??[]),O=t.computed(()=>X.value.length>0),ae=t.ref(!1),w=t.ref(Xe(e.tabela.nome)),A=t.ref({}),de=t.computed(()=>e.tabela.colunas.map(h=>h.rotulo)),he=t.computed(()=>{var Q,x;const h=e.tabela.colunas,D=(((Q=w.value.visiveis)==null?void 0:Q.length)??0)>0||(((x=w.value.invisiveis)==null?void 0:x.length)??0)>0?w.value.invisiveis??[]:h.filter(q=>q.visivel===!1).map(q=>q.rotulo),M=new Set(D),J=h.filter(q=>M.has(q.rotulo)),Z=D,te=new Map;for(const q of J)te.has(q.rotulo)||te.set(q.rotulo,q);const K=[];for(const q of Z){const oe=te.get(q);oe&&K.push(oe)}for(const q of J)K.includes(q)||K.push(q);return K}),_=t.computed(()=>he.value.length>0),g=t.computed(()=>{var q,oe;const h=e.tabela.colunas,C=de.value,D=(((q=w.value.visiveis)==null?void 0:q.length)??0)>0||(((oe=w.value.invisiveis)==null?void 0:oe.length)??0)>0,M=D?w.value.invisiveis??[]:e.tabela.colunas.filter(z=>z.visivel===!1).map(z=>z.rotulo),J=new Set(M),Z=C.filter(z=>!J.has(z)),te=new Set(Z),K=D?w.value.visiveis??[]:[],Q=[];for(const z of K)te.has(z)&&Q.push(z);for(const z of Z)Q.includes(z)||Q.push(z);const x=new Map;for(const z of h)x.has(z.rotulo)||x.set(z.rotulo,z);return Q.map(z=>x.get(z)).filter(Boolean)});function p(){ae.value=!0}function B(){ae.value=!1}function f(h){w.value=h,un(e.tabela.nome,h),ae.value=!1,A.value={}}function V(h){const C=!!A.value[h];A.value={...A.value,[h]:!C}}const v=t.computed(()=>{const h=e.tabela.registros_por_consulta;return typeof h=="number"&&h>0?Math.floor(h):10});function T(h){const C=(d.value??"").trim().toLowerCase();return C?h.filter(D=>JSON.stringify(D).toLowerCase().includes(C)):h}function L(h,C,D){switch(h){case"=":return C==D;case"!=":return C!=D;case">":return Number(C)>Number(D);case">=":return Number(C)>=Number(D);case"<":return Number(C)J.trim()).filter(Boolean)).includes(String(C));case"isNull":return C==null||C==="";default:return!0}}function U(h){const C=G.value;return C.length?h.filter(D=>C.every(M=>{const J=D==null?void 0:D[M.coluna];return L(String(M.operador),J,M.valor)})):h}const R=t.computed(()=>{const h=s.value??[];return U(T(h))}),W=t.computed(()=>R.value.length),ne=t.computed(()=>{const h=v.value;if(!h||h<=0)return 1;const C=W.value;return C?Math.max(1,Math.ceil(C/h)):1}),re=t.computed(()=>{const h=Math.max(1,v.value),C=(b.value-1)*h;return R.value.slice(C,C+h)}),ue=t.computed(()=>(e.tabela.acoesLinha??[]).length>0),le=t.computed(()=>(e.tabela.filtroAvancado??[]).length>0);let Y=0;function ee(h){var K,Q,x,q,oe,z;const C=h.getBoundingClientRect(),D=8,M=((x=(Q=(K=u.value)==null?void 0:K.menuEl)==null?void 0:Q.value)==null?void 0:x.offsetHeight)??0,J=((z=(oe=(q=u.value)==null?void 0:q.menuEl)==null?void 0:oe.value)==null?void 0:z.offsetWidth)??180;let Z=C.bottom+D;const te=C.right-J;M&&Z+M>window.innerHeight-D&&(Z=C.top-D-M),i.value={top:Math.max(D,Math.round(Z)),left:Math.max(D,Math.round(te))}}function ce(h){var D,M;if(l.value===null)return;const C=h.target;(M=(D=u.value)==null?void 0:D.menuEl)!=null&&M.value&&u.value.menuEl.value.contains(C)||(l.value=null)}function fe(h){if(h){if(N.value===h){S.value=S.value==="asc"?"desc":"asc",me();return}N.value=h,S.value="asc",b.value!==1?b.value=1:me()}}function $n(h){d.value!==h&&(d.value=h,b.value!==1?b.value=1:me())}function En(h){const C=Math.min(Math.max(1,h),ne.value);C!==b.value&&(b.value=C)}function xe(h){const C=e.tabela.acoesLinha??[],D=o.value[h]??[];return C.map((M,J)=>{const Z=M.exibir===void 0?!0:typeof M.exibir=="boolean"?M.exibir:!1;return{acao:M,indice:J,visivel:D[J]??Z}}).filter(M=>M.visivel)}function et(h){return xe(h).length>0}function kn(h,C){if(!et(h))return;if(l.value===h){l.value=null;return}l.value=h;const D=(C==null?void 0:C.currentTarget)??null;D&&(ee(D),requestAnimationFrame(()=>ee(D)))}async function me(){var J;const h=++Y;n.value=!0,r.value=null,o.value=[],l.value=null,A.value={};const C=Math.max(1,v.value),M={offSet:0,limit:999999};N.value&&(M.coluna_ordem=N.value,M.direcao_ordem=S.value);try{const Z=e.tabela,te=await Z.consulta(M);if(h!==Y)return;if(te.cod!==Te.sucesso){s.value=[],m.value=0,r.value=te.mensagem;return}const K=((J=te.valor)==null?void 0:J.valores)??[],Q=K.length;s.value=K,m.value=Q;const x=Math.max(1,Math.ceil((W.value||0)/C));if(b.value>x){b.value=x;return}const q=Z.acoesLinha??[];if(!q.length){o.value=[];return}const oe=K.map(()=>q.map(ge=>ge.exibir===void 0?!0:typeof ge.exibir=="boolean"?ge.exibir:!1));o.value=oe;const z=await Promise.all(K.map(async ge=>Promise.all(q.map(async Be=>{if(Be.exibir===void 0)return!0;if(typeof Be.exibir=="boolean")return Be.exibir;try{const Bn=Be.exibir(ge);return!!await Promise.resolve(Bn)}catch{return!1}}))));h===Y&&(o.value=z)}catch(Z){if(h!==Y)return;s.value=[],m.value=0,r.value=Z instanceof Error?Z.message:"Erro ao carregar dados."}finally{h===Y&&(n.value=!1)}}return t.onMounted(()=>{document.addEventListener("click",ce),me()}),t.onBeforeUnmount(()=>{document.removeEventListener("click",ce)}),t.watch(()=>e.tabela.mostrarCaixaDeBusca,h=>{!h&&d.value&&(d.value="",b.value!==1?b.value=1:me())}),t.watch(b,(h,C)=>{}),t.watch(()=>e.tabela,()=>{l.value=null,N.value=null,S.value="asc",d.value="",ae.value=!1,$.value=!1,w.value=Xe(e.tabela.nome),c.value=Ke(e.tabela.nome),A.value={},b.value!==1?b.value=1:me()}),t.watch(()=>e.tabela.registros_por_consulta,()=>{b.value!==1?b.value=1:me()}),t.watch(s,()=>{l.value=null,A.value={}}),{isDev:!1,tabela:I,carregando:n,erro:r,linhas:s,linhasPaginadas:re,quantidadeFiltrada:W,quantidade:m,menuAberto:l,valorBusca:d,paginaAtual:b,colunaOrdenacao:N,direcaoOrdenacao:S,totalPaginas:ne,exibirBusca:H,exibirFiltroAvancado:le,acoesCabecalho:X,temAcoesCabecalho:O,temAcoes:ue,colunasEfetivas:g,rotulosColunas:de,modalColunasAberto:ae,configColunas:w,temColunasInvisiveis:_,colunasInvisiveisEfetivas:he,linhasExpandidas:A,abrirModalColunas:p,abrirModalFiltro:E,fecharModalColunas:B,salvarModalColunas:f,modalFiltroAberto:$,filtrosUi:c,salvarFiltrosAvancados:j,limparFiltrosAvancados:k,fecharModalFiltro:y,alternarLinhaExpandida:V,alternarOrdenacao:fe,atualizarBusca:$n,irParaPagina:En,acoesDisponiveisPorLinha:xe,possuiAcoes:et,toggleMenu:kn,menuPopup:u,menuPopupPos:i}}}),bn={class:"eli-tabela"},hn={class:"eli-tabela__table"};function gn(e,a,n,r,s,m){const o=t.resolveComponent("EliTabelaDebug"),l=t.resolveComponent("EliTabelaEstados"),u=t.resolveComponent("EliTabelaCabecalho"),i=t.resolveComponent("EliTabelaModalColunas"),d=t.resolveComponent("EliTabelaModalFiltroAvancado"),b=t.resolveComponent("EliTabelaHead"),N=t.resolveComponent("EliTabelaBody"),S=t.resolveComponent("EliTabelaMenuAcoes"),$=t.resolveComponent("EliTabelaPaginacao");return t.openBlock(),t.createElementBlock("div",bn,[t.createVNode(o,{isDev:e.isDev,menuAberto:e.menuAberto,menuPopupPos:e.menuPopupPos},null,8,["isDev","menuAberto","menuPopupPos"]),e.carregando||e.erro||!e.linhas.length?(t.openBlock(),t.createBlock(l,{key:0,carregando:e.carregando,erro:e.erro,mensagemVazio:e.tabela.mensagemVazio},null,8,["carregando","erro","mensagemVazio"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.exibirBusca||e.temAcoesCabecalho?(t.openBlock(),t.createBlock(u,{key:0,exibirBusca:e.exibirBusca,exibirBotaoFiltroAvancado:e.exibirFiltroAvancado,valorBusca:e.valorBusca,acoesCabecalho:e.acoesCabecalho,onBuscar:e.atualizarBusca,onColunas:e.abrirModalColunas,onFiltroAvancado:e.abrirModalFiltro},null,8,["exibirBusca","exibirBotaoFiltroAvancado","valorBusca","acoesCabecalho","onBuscar","onColunas","onFiltroAvancado"])):t.createCommentVNode("",!0),t.createVNode(i,{aberto:e.modalColunasAberto,rotulosColunas:e.rotulosColunas,configInicial:e.configColunas,colunas:e.tabela.colunas,onFechar:e.fecharModalColunas,onSalvar:e.salvarModalColunas},null,8,["aberto","rotulosColunas","configInicial","colunas","onFechar","onSalvar"]),t.createVNode(d,{aberto:e.modalFiltroAberto,filtrosBase:e.tabela.filtroAvancado??[],modelo:e.filtrosUi,onFechar:e.fecharModalFiltro,onLimpar:e.limparFiltrosAvancados,onSalvar:e.salvarFiltrosAvancados},null,8,["aberto","filtrosBase","modelo","onFechar","onLimpar","onSalvar"]),t.createElementVNode("table",hn,[t.createVNode(b,{colunas:e.colunasEfetivas,temAcoes:e.temAcoes,temColunasInvisiveis:e.temColunasInvisiveis,colunaOrdenacao:e.colunaOrdenacao,direcaoOrdenacao:e.direcaoOrdenacao,onAlternarOrdenacao:e.alternarOrdenacao},null,8,["colunas","temAcoes","temColunasInvisiveis","colunaOrdenacao","direcaoOrdenacao","onAlternarOrdenacao"]),t.createVNode(N,{colunas:e.colunasEfetivas,colunasInvisiveis:e.colunasInvisiveisEfetivas,temColunasInvisiveis:e.temColunasInvisiveis,linhasExpandidas:e.linhasExpandidas,linhas:e.linhasPaginadas,temAcoes:e.temAcoes,menuAberto:e.menuAberto,possuiAcoes:e.possuiAcoes,toggleMenu:e.toggleMenu,alternarLinhaExpandida:e.alternarLinhaExpandida},null,8,["colunas","colunasInvisiveis","temColunasInvisiveis","linhasExpandidas","linhas","temAcoes","menuAberto","possuiAcoes","toggleMenu","alternarLinhaExpandida"])]),t.createVNode(S,{ref:"menuPopup",menuAberto:e.menuAberto,posicao:e.menuPopupPos,acoes:e.menuAberto===null?[]:e.acoesDisponiveisPorLinha(e.menuAberto),linha:e.menuAberto===null?null:e.linhasPaginadas[e.menuAberto],onExecutar:a[0]||(a[0]=({acao:c,linha:E})=>{e.menuAberto=null,c.acao(E)})},null,8,["menuAberto","posicao","acoes","linha"]),e.totalPaginas>1&&e.quantidadeFiltrada>0?(t.openBlock(),t.createBlock($,{key:1,pagina:e.paginaAtual,totalPaginas:e.totalPaginas,maximoBotoes:e.tabela.maximo_botoes_paginacao,onAlterar:e.irParaPagina},null,8,["pagina","totalPaginas","maximoBotoes","onAlterar"])):t.createCommentVNode("",!0)],64))])}const Qe=P(fn,[["render",gn]]),yn={install(e){e.component("EliOlaMundo",Me),e.component("EliBotao",ve),e.component("EliBadge",ye),e.component("EliCartao",we),e.component("EliTabela",Qe),e.component("EliEntradaTexto",$e),e.component("EliEntradaNumero",Ve),e.component("EliEntradaDataHora",Ne),e.component("EliEntradaParagrafo",Je),e.component("EliEntradaSelecao",We)}};F.EliBadge=ye,F.EliBotao=ve,F.EliCartao=we,F.EliEntradaDataHora=Ne,F.EliEntradaNumero=Ve,F.EliEntradaParagrafo=Je,F.EliEntradaSelecao=We,F.EliEntradaTexto=$e,F.EliOlaMundo=Me,F.EliTabela=Qe,F.default=yn,Object.defineProperties(F,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
+ */const wt=pe("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),Tt=t.defineComponent({name:"EliTabelaCaixaDeBusca",components:{Search:wt},props:{modelo:{type:String,required:!1,default:""}},emits:{buscar(e){return typeof e=="string"}},setup(e,{emit:a}){const n=t.ref(e.modelo??"");t.watch(()=>e.modelo,s=>{s!==void 0&&s!==n.value&&(n.value=s)});function l(){a("buscar",n.value.trim())}return{texto:n,emitirBusca:l}}}),Pt={class:"eli-tabela__busca"},Ft={class:"eli-tabela__busca-input-wrapper"};function Ot(e,a,n,l,s,m){const o=t.resolveComponent("Search");return t.openBlock(),t.createElementBlock("div",Pt,[t.createElementVNode("div",Ft,[t.withDirectives(t.createElementVNode("input",{id:"eli-tabela-busca","onUpdate:modelValue":a[0]||(a[0]=r=>e.texto=r),type:"search",class:"eli-tabela__busca-input",placeholder:"Digite termos para filtrar",onKeyup:a[1]||(a[1]=t.withKeys((...r)=>e.emitirBusca&&e.emitirBusca(...r),["enter"]))},null,544),[[t.vModelText,e.texto]]),t.createElementVNode("button",{type:"button",class:"eli-tabela__busca-botao","aria-label":"Buscar",title:"Buscar",onClick:a[2]||(a[2]=(...r)=>e.emitirBusca&&e.emitirBusca(...r))},[t.createVNode(o,{class:"eli-tabela__busca-botao-icone",size:16,"stroke-width":2,"aria-hidden":"true"})])])])}const qt=P(Tt,[["render",Ot],["__scopeId","data-v-341415d1"]]),It=t.defineComponent({name:"EliTabelaCabecalho",components:{EliTabelaCaixaDeBusca:qt},props:{exibirBusca:{type:Boolean,required:!0},exibirBotaoColunas:{type:Boolean,required:!1,default:!0},exibirBotaoFiltroAvancado:{type:Boolean,required:!1,default:!1},valorBusca:{type:String,required:!0},acoesCabecalho:{type:Array,required:!0}},emits:{buscar(e){return typeof e=="string"},colunas(){return!0},filtroAvancado(){return!0}},setup(e,{emit:a}){const n=t.computed(()=>e.acoesCabecalho.length>0);function l(o){a("buscar",o)}function s(){a("colunas")}function m(){a("filtroAvancado")}return{temAcoesCabecalho:n,emitBuscar:l,emitColunas:s,emitFiltroAvancado:m}}}),Lt={class:"eli-tabela__cabecalho"},zt={key:0,class:"eli-tabela__busca-grupo"},jt={key:1,class:"eli-tabela__acoes-cabecalho"},Ht=["onClick"],Ut={class:"eli-tabela__acoes-cabecalho-rotulo"};function Yt(e,a,n,l,s,m){const o=t.resolveComponent("EliTabelaCaixaDeBusca");return t.openBlock(),t.createElementBlock("div",Lt,[e.exibirBusca?(t.openBlock(),t.createElementBlock("div",zt,[e.exibirBotaoColunas?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--colunas",onClick:a[0]||(a[0]=(...r)=>e.emitColunas&&e.emitColunas(...r))}," Colunas ")):t.createCommentVNode("",!0),e.exibirBotaoFiltroAvancado?(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:"eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--filtro",onClick:a[1]||(a[1]=(...r)=>e.emitFiltroAvancado&&e.emitFiltroAvancado(...r))}," Filtro ")):t.createCommentVNode("",!0),t.createVNode(o,{modelo:e.valorBusca,onBuscar:e.emitBuscar},null,8,["modelo","onBuscar"])])):t.createCommentVNode("",!0),e.temAcoesCabecalho?(t.openBlock(),t.createElementBlock("div",jt,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.acoesCabecalho,(r,u)=>(t.openBlock(),t.createElementBlock("button",{key:`${r.rotulo}-${u}`,type:"button",class:"eli-tabela__acoes-cabecalho-botao",style:t.normalizeStyle(r.cor?{backgroundColor:r.cor,color:"#fff"}:void 0),onClick:r.acao},[r.icone?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(r.icone),{key:0,class:"eli-tabela__acoes-cabecalho-icone",size:16,"stroke-width":2})):t.createCommentVNode("",!0),t.createElementVNode("span",Ut,t.toDisplayString(r.rotulo),1)],12,Ht))),128))])):t.createCommentVNode("",!0)])}const Rt=P(It,[["render",Yt],["__scopeId","data-v-17166105"]]),Jt=t.defineComponent({name:"EliTabelaEstados",props:{carregando:{type:Boolean,required:!0},erro:{type:String,required:!0},mensagemVazio:{type:String,required:!1,default:void 0}}}),Wt={key:0,class:"eli-tabela eli-tabela--carregando","aria-busy":"true"},Zt={key:1,class:"eli-tabela eli-tabela--erro",role:"alert"},Gt={class:"eli-tabela__erro-mensagem"},Xt={key:2,class:"eli-tabela eli-tabela--vazio"};function Kt(e,a,n,l,s,m){return e.carregando?(t.openBlock(),t.createElementBlock("div",Wt," Carregando... ")):e.erro?(t.openBlock(),t.createElementBlock("div",Zt,[a[0]||(a[0]=t.createElementVNode("div",{class:"eli-tabela__erro-titulo"},"Erro",-1)),t.createElementVNode("div",Gt,t.toDisplayString(e.erro),1)])):(t.openBlock(),t.createElementBlock("div",Xt,t.toDisplayString(e.mensagemVazio??"Nenhum registro encontrado."),1))}const Qt=P(Jt,[["render",Kt]]),xt=t.defineComponent({name:"EliTabelaDebug",props:{isDev:{type:Boolean,required:!0},menuAberto:{type:Number,required:!0},menuPopupPos:{type:Object,required:!0}}}),ea={key:0,style:{position:"fixed",left:"8px",bottom:"8px","z-index":"999999",background:"rgba(185,28,28,0.9)",color:"#fff",padding:"6px 10px","border-radius":"8px","font-size":"12px","max-width":"500px"}};function ta(e,a,n,l,s,m){return e.isDev?(t.openBlock(),t.createElementBlock("div",ea,[a[0]||(a[0]=t.createElementVNode("div",null,[t.createElementVNode("b",null,"EliTabela debug")],-1)),t.createElementVNode("div",null,"menuAberto: "+t.toDisplayString(e.menuAberto),1),t.createElementVNode("div",null,"menuPos: top="+t.toDisplayString(e.menuPopupPos.top)+", left="+t.toDisplayString(e.menuPopupPos.left),1)])):t.createCommentVNode("",!0)}const aa=P(xt,[["render",ta]]),oa=t.defineComponent({name:"EliTabelaHead",components:{ArrowUp:qe,ArrowDown:Oe},props:{colunas:{type:Array,required:!0},temAcoes:{type:Boolean,required:!0},temColunasInvisiveis:{type:Boolean,required:!0},colunaOrdenacao:{type:String,required:!0},direcaoOrdenacao:{type:String,required:!0}},emits:{alternarOrdenacao(e){return typeof e=="string"&&e.length>0}},setup(e,{emit:a}){function n(s){return(s==null?void 0:s.coluna_ordem)!==void 0&&(s==null?void 0:s.coluna_ordem)!==null}function l(s){a("alternarOrdenacao",s)}return{ArrowUp:qe,ArrowDown:Oe,isOrdenavel:n,emitAlternarOrdenacao:l}}}),na={class:"eli-tabela__thead"},ra={class:"eli-tabela__tr eli-tabela__tr--header"},la={key:0,class:"eli-tabela__th eli-tabela__th--expander",scope:"col"},ia=["onClick"],sa={class:"eli-tabela__th-texto"},ca={key:1,class:"eli-tabela__th-label"},da={key:1,class:"eli-tabela__th eli-tabela__th--acoes",scope:"col"};function ua(e,a,n,l,s,m){const o=t.resolveComponent("ArrowUp");return t.openBlock(),t.createElementBlock("thead",na,[t.createElementVNode("tr",ra,[e.temColunasInvisiveis?(t.openBlock(),t.createElementBlock("th",la)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.colunas,(r,u)=>(t.openBlock(),t.createElementBlock("th",{key:`th-${u}`,class:t.normalizeClass(["eli-tabela__th",[e.isOrdenavel(r)?"eli-tabela__th--ordenavel":void 0]]),scope:"col"},[e.isOrdenavel(r)?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:t.normalizeClass(["eli-tabela__th-botao",[e.colunaOrdenacao===String(r.coluna_ordem)?"eli-tabela__th-botao--ativo":void 0]]),onClick:i=>e.emitAlternarOrdenacao(String(r.coluna_ordem))},[t.createElementVNode("span",sa,t.toDisplayString(r.rotulo),1),e.colunaOrdenacao===String(r.coluna_ordem)?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.direcaoOrdenacao==="asc"?e.ArrowUp:e.ArrowDown),{key:0,class:"eli-tabela__th-icone",size:16,"stroke-width":2,"aria-hidden":"true"})):(t.openBlock(),t.createBlock(o,{key:1,class:"eli-tabela__th-icone eli-tabela__th-icone--oculto",size:16,"stroke-width":2,"aria-hidden":"true"}))],10,ia)):(t.openBlock(),t.createElementBlock("span",ca,t.toDisplayString(r.rotulo),1))],2))),128)),e.temAcoes?(t.openBlock(),t.createElementBlock("th",da," Ações ")):t.createCommentVNode("",!0)])])}const ma=P(oa,[["render",ua]]),pa=t.defineComponent({name:"EliTabelaCelulaTextoSimples",components:{},props:{dados:{type:Object}},data(){return{}},methods:{},setup({dados:e}){return{dados:e}}}),fa={key:1};function ba(e,a,n,l,s,m){var o,r,u;return(o=e.dados)!=null&&o.acao?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:a[0]||(a[0]=t.withModifiers(i=>e.dados.acao(),["stop","prevent"]))},t.toDisplayString((r=e.dados)==null?void 0:r.texto),1)):(t.openBlock(),t.createElementBlock("span",fa,t.toDisplayString((u=e.dados)==null?void 0:u.texto),1))}const ha=P(pa,[["render",ba],["__scopeId","data-v-7a629ffa"]]),ga=t.defineComponent({name:"EliTabelaCelulaTextoTruncado",props:{dados:{type:Object}},setup({dados:e}){return{dados:e}}}),ya=["title"],$a=["title"];function Ea(e,a,n,l,s,m){var o,r,u,i,d;return(o=e.dados)!=null&&o.acao?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__texto-truncado eli-tabela__celula-link",title:(r=e.dados)==null?void 0:r.texto,onClick:a[0]||(a[0]=t.withModifiers(b=>e.dados.acao(),["stop","prevent"]))},t.toDisplayString((u=e.dados)==null?void 0:u.texto),9,ya)):(t.openBlock(),t.createElementBlock("span",{key:1,class:"eli-tabela__texto-truncado",title:(i=e.dados)==null?void 0:i.texto},t.toDisplayString((d=e.dados)==null?void 0:d.texto),9,$a))}const ka=P(ga,[["render",Ea],["__scopeId","data-v-74854889"]]),Ba=t.defineComponent({name:"EliTabelaCelulaNumero",components:{},props:{dados:{type:Object}},setup({dados:e}){const a=t.computed(()=>{var r,u;const n=String(e==null?void 0:e.numero).replace(".",","),l=(r=e==null?void 0:e.prefixo)==null?void 0:r.trim(),s=(u=e==null?void 0:e.sufixo)==null?void 0:u.trim(),m=l?`${l} `:"",o=s?` ${s}`:"";return`${m}${n}${o}`});return{dados:e,textoNumero:a}}}),Ca={key:1};function _a(e,a,n,l,s,m){var o;return(o=e.dados)!=null&&o.acao?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:a[0]||(a[0]=t.withModifiers(r=>e.dados.acao(),["stop","prevent"]))},t.toDisplayString(e.textoNumero),1)):(t.openBlock(),t.createElementBlock("span",Ca,t.toDisplayString(e.textoNumero),1))}const va=P(Ba,[["render",_a],["__scopeId","data-v-69c890c4"]]),Sa=t.defineComponent({name:"EliTabelaCelulaTags",components:{VChip:_e.VChip},props:{dados:{type:Object,required:!1}},setup({dados:e}){return{dados:e}}}),Va={class:"eli-tabela__celula-tags"};function Na(e,a,n,l,s,m){var o;return t.openBlock(),t.createElementBlock("div",Va,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(((o=e.dados)==null?void 0:o.opcoes)??[],(r,u)=>(t.openBlock(),t.createBlock(nt.VChip,{key:u,class:"eli-tabela__celula-tag",size:"small",variant:"tonal",color:r.cor,clickable:!!r.acao,onClick:t.withModifiers(i=>{var d;return(d=r.acao)==null?void 0:d.call(r)},["stop","prevent"])},{default:t.withCtx(()=>[r.icone?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(r.icone),{key:0,class:"eli-tabela__celula-tag-icone",size:14})):t.createCommentVNode("",!0),t.createElementVNode("span",null,t.toDisplayString(r.rotulo),1)]),_:2},1032,["color","clickable","onClick"]))),128))])}const Da=P(Sa,[["render",Na],["__scopeId","data-v-a9c83dbe"]]);function ze(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ee={exports:{}},Aa=Ee.exports,je;function Ma(){return je||(je=1,(function(e,a){(function(n,l){e.exports=l()})(Aa,(function(){var n=1e3,l=6e4,s=36e5,m="millisecond",o="second",r="minute",u="hour",i="day",d="week",b="month",N="quarter",S="year",$="date",c="Invalid Date",E=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(_){var g=["th","st","nd","rd"],p=_%100;return"["+_+(g[(p-20)%10]||g[p]||g[0])+"]"}},j=function(_,g,p){var B=String(_);return!B||B.length>=g?_:""+Array(g+1-B.length).join(p)+_},G={s:j,z:function(_){var g=-_.utcOffset(),p=Math.abs(g),B=Math.floor(p/60),f=p%60;return(g<=0?"+":"-")+j(B,2,"0")+":"+j(f,2,"0")},m:function _(g,p){if(g.date()1)return _(v[0])}else{var T=g.name;H[T]=g,f=T}return!B&&f&&(I=f),f||!B&&I},w=function(_,g){if(O(_))return _.clone();var p=typeof g=="object"?g:{};return p.date=_,p.args=arguments,new de(p)},A=G;A.l=ae,A.i=O,A.w=function(_,g){return w(_,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var de=(function(){function _(p){this.$L=ae(p.locale,null,!0),this.parse(p),this.$x=this.$x||p.x||{},this[X]=!0}var g=_.prototype;return g.parse=function(p){this.$d=(function(B){var f=B.date,V=B.utc;if(f===null)return new Date(NaN);if(A.u(f))return new Date;if(f instanceof Date)return new Date(f);if(typeof f=="string"&&!/Z$/i.test(f)){var v=f.match(E);if(v){var T=v[2]-1||0,L=(v[7]||"0").substring(0,3);return V?new Date(Date.UTC(v[1],T,v[3]||1,v[4]||0,v[5]||0,v[6]||0,L)):new Date(v[1],T,v[3]||1,v[4]||0,v[5]||0,v[6]||0,L)}}return new Date(f)})(p),this.init()},g.init=function(){var p=this.$d;this.$y=p.getFullYear(),this.$M=p.getMonth(),this.$D=p.getDate(),this.$W=p.getDay(),this.$H=p.getHours(),this.$m=p.getMinutes(),this.$s=p.getSeconds(),this.$ms=p.getMilliseconds()},g.$utils=function(){return A},g.isValid=function(){return this.$d.toString()!==c},g.isSame=function(p,B){var f=w(p);return this.startOf(B)<=f&&f<=this.endOf(B)},g.isAfter=function(p,B){return w(p)0,H<=I.r||!I.r){H<=1&&G>0&&(I=k[G-1]);var X=y[I.l];S&&(H=S(""+H)),c=typeof X=="string"?X.replace("%d",H):X(H,d,I.l,E);break}}if(d)return c;var O=E?y.future:y.past;return typeof O=="function"?O(c):O.replace("%s",c)},m.to=function(i,d){return r(i,d,this,!0)},m.from=function(i,d){return r(i,d,this)};var u=function(i){return i.$u?s.utc():s()};m.toNow=function(i){return this.to(u(this),i)},m.fromNow=function(i){return this.from(u(this),i)}}}))})(ke)),ke.exports}var Fa=Pa();const Oa=ze(Fa);se.extend(Oa);const qa=t.defineComponent({name:"EliTabelaCelulaData",props:{dados:{type:Object,required:!1}},setup({dados:e}){const a=t.computed(()=>{const n=e==null?void 0:e.valor;if(!n)return"";const l=(e==null?void 0:e.formato)??"data";return l==="relativo"?se(n).fromNow():l==="data_hora"?se(n).format("DD/MM/YYYY HH:mm"):se(n).format("DD/MM/YYYY")});return{dados:e,textoData:a}}}),Ia={key:1};function La(e,a,n,l,s,m){var o;return(o=e.dados)!=null&&o.acao?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:a[0]||(a[0]=t.withModifiers(r=>e.dados.acao(),["stop","prevent"]))},t.toDisplayString(e.textoData),1)):(t.openBlock(),t.createElementBlock("span",Ia,t.toDisplayString(e.textoData),1))}const za={textoSimples:ha,textoTruncado:ka,numero:va,tags:Da,data:P(qa,[["render",La],["__scopeId","data-v-2b88bbb2"]])},ja=t.defineComponent({name:"EliTabelaCelula",props:{celula:{type:Array,required:!0}},setup(e){const a=t.computed(()=>e.celula[0]),n=t.computed(()=>e.celula[1]),l=t.computed(()=>za[a.value]),s=t.computed(()=>n.value);return{Componente:l,dadosParaComponente:s}}});function Ha(e,a,n,l,s,m){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Componente),{dados:e.dadosParaComponente},null,8,["dados"])}const Ue=P(ja,[["render",Ha]]),Ua=t.defineComponent({name:"EliTabelaDetalhesLinha",components:{EliTabelaCelula:Ue},props:{linha:{type:null,required:!0},colunasInvisiveis:{type:Array,required:!0}}}),Ya={class:"eli-tabela__detalhes"},Ra={class:"eli-tabela__detalhe-rotulo"},Ja={class:"eli-tabela__detalhe-valor"};function Wa(e,a,n,l,s,m){const o=t.resolveComponent("EliTabelaCelula");return t.openBlock(),t.createElementBlock("div",Ya,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.colunasInvisiveis,(r,u)=>(t.openBlock(),t.createElementBlock("div",{key:`det-${u}-${r.rotulo}`,class:"eli-tabela__detalhe"},[t.createElementVNode("div",Ra,t.toDisplayString(r.rotulo),1),t.createElementVNode("div",Ja,[t.createVNode(o,{celula:r.celula(e.linha)},null,8,["celula"])])]))),128))])}const Za=P(Ua,[["render",Wa],["__scopeId","data-v-f1ee8d20"]]),Ga=t.defineComponent({name:"EliTabelaBody",components:{EliTabelaCelula:Ue,EliTabelaDetalhesLinha:Za,MoreVertical:Mt,ChevronRight:Le,ChevronDown:Ie},props:{colunas:{type:Array,required:!0},colunasInvisiveis:{type:Array,required:!0},temColunasInvisiveis:{type:Boolean,required:!0},linhasExpandidas:{type:Object,required:!0},linhas:{type:Array,required:!0},temAcoes:{type:Boolean,required:!0},menuAberto:{type:Number,required:!0},possuiAcoes:{type:Function,required:!0},toggleMenu:{type:Function,required:!0},alternarLinhaExpandida:{type:Function,required:!0}},setup(){return{ChevronRight:Le,ChevronDown:Ie}}}),Xa={class:"eli-tabela__tbody"},Ka=["aria-expanded","aria-label","title","onClick"],Qa=["id","disabled","aria-expanded","aria-controls","aria-label","title","onClick"],xa=["colspan"];function eo(e,a,n,l,s,m){const o=t.resolveComponent("EliTabelaCelula"),r=t.resolveComponent("MoreVertical"),u=t.resolveComponent("EliTabelaDetalhesLinha");return t.openBlock(),t.createElementBlock("tbody",Xa,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.linhas,(i,d)=>{var b,N,S,$,c,E;return t.openBlock(),t.createElementBlock(t.Fragment,{key:`grp-${d}`},[t.createElementVNode("tr",{class:t.normalizeClass(["eli-tabela__tr",[d%2===1?"eli-tabela__tr--zebra":void 0]])},[e.temColunasInvisiveis?(t.openBlock(),t.createElementBlock("td",{class:"eli-tabela__td eli-tabela__td--expander",key:`td-${d}-exp`},[t.createElementVNode("button",{type:"button",class:t.normalizeClass(["eli-tabela__expander-botao",[(b=e.linhasExpandidas)!=null&&b[d]?"eli-tabela__expander-botao--ativo":void 0]]),"aria-expanded":(N=e.linhasExpandidas)!=null&&N[d]?"true":"false","aria-label":(S=e.linhasExpandidas)!=null&&S[d]?"Ocultar colunas ocultas":"Mostrar colunas ocultas",title:($=e.linhasExpandidas)!=null&&$[d]?"Ocultar detalhes":"Mostrar detalhes",onClick:t.withModifiers(y=>e.alternarLinhaExpandida(d),["stop"])},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent((c=e.linhasExpandidas)!=null&&c[d]?e.ChevronDown:e.ChevronRight),{class:"eli-tabela__expander-icone",size:16,"stroke-width":2,"aria-hidden":"true"}))],10,Ka)])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.colunas,(y,k)=>(t.openBlock(),t.createElementBlock("td",{key:`td-${d}-${k}`,class:"eli-tabela__td"},[t.createVNode(o,{celula:y.celula(i)},null,8,["celula"])]))),128)),e.temAcoes?(t.openBlock(),t.createElementBlock("td",{class:"eli-tabela__td eli-tabela__td--acoes",key:`td-${d}-acoes`},[t.createElementVNode("div",{class:t.normalizeClass(["eli-tabela__acoes-container",[e.menuAberto===d?"eli-tabela__acoes-container--aberto":void 0]])},[t.createElementVNode("button",{class:"eli-tabela__acoes-toggle",type:"button",id:`eli-tabela-acoes-toggle-${d}`,disabled:!e.possuiAcoes(d),"aria-haspopup":"menu","aria-expanded":e.menuAberto===d?"true":"false","aria-controls":e.possuiAcoes(d)?`eli-tabela-acoes-menu-${d}`:void 0,"aria-label":e.possuiAcoes(d)?"Ações da linha":"Nenhuma ação disponível",title:e.possuiAcoes(d)?"Ações":"Nenhuma ação disponível",onClick:t.withModifiers(y=>e.toggleMenu(d,y),["stop"])},[t.createVNode(r,{class:"eli-tabela__acoes-toggle-icone",size:18,"stroke-width":2})],8,Qa)],2)])):t.createCommentVNode("",!0)],2),e.temColunasInvisiveis&&((E=e.linhasExpandidas)!=null&&E[d])?(t.openBlock(),t.createElementBlock("tr",{key:0,class:t.normalizeClass(["eli-tabela__tr eli-tabela__tr--detalhes",[d%2===1?"eli-tabela__tr--zebra":void 0]])},[t.createElementVNode("td",{class:"eli-tabela__td eli-tabela__td--detalhes",colspan:(e.temColunasInvisiveis?1:0)+e.colunas.length+(e.temAcoes?1:0)},[t.createVNode(u,{linha:i,colunasInvisiveis:e.colunasInvisiveis},null,8,["linha","colunasInvisiveis"])],8,xa)],2)):t.createCommentVNode("",!0)],64)}),128))])}const to=P(Ga,[["render",eo]]),ao=t.defineComponent({name:"EliTabelaMenuAcoes",props:{menuAberto:{type:Number,required:!0},posicao:{type:Object,required:!0},acoes:{type:Array,required:!0},linha:{type:null,required:!0}},emits:{executar(e){return e!==null&&typeof e=="object"}},setup(e,{emit:a,expose:n}){const l=t.ref(null);n({menuEl:l});const s=t.computed(()=>e.acoes.length>0);function m(o){e.linha&&a("executar",{acao:o.acao,linha:e.linha})}return{menuEl:l,possuiAcoes:s,emitExecutar:m}}}),oo=["id","aria-labelledby"],no=["aria-label","title","onClick"],ro={class:"eli-tabela__acoes-item-texto"};function lo(e,a,n,l,s,m){return t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[e.menuAberto!==null&&e.possuiAcoes?(t.openBlock(),t.createElementBlock("ul",{key:0,id:`eli-tabela-acoes-menu-${e.menuAberto}`,ref:"menuEl",class:"eli-tabela__acoes-menu",role:"menu","aria-labelledby":`eli-tabela-acoes-toggle-${e.menuAberto}`,style:t.normalizeStyle({position:"fixed",top:`${e.posicao.top}px`,left:`${e.posicao.left}px`,zIndex:999999})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.acoes,o=>(t.openBlock(),t.createElementBlock("li",{key:`acao-${e.menuAberto}-${o.indice}`,class:"eli-tabela__acoes-item",role:"none"},[t.createElementVNode("button",{type:"button",class:"eli-tabela__acoes-item-botao",style:t.normalizeStyle({color:o.acao.cor}),role:"menuitem","aria-label":o.acao.rotulo,title:o.acao.rotulo,onClick:t.withModifiers(r=>e.emitExecutar(o),["stop"])},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.acao.icone),{class:"eli-tabela__acoes-item-icone",size:16,"stroke-width":2})),t.createElementVNode("span",ro,t.toDisplayString(o.acao.rotulo),1)],12,no)]))),128))],12,oo)):t.createCommentVNode("",!0)])}const io=P(ao,[["render",lo]]),so=t.defineComponent({name:"EliTabelaPaginacao",props:{pagina:{type:Number,required:!0},totalPaginas:{type:Number,required:!0},maximoBotoes:{type:Number,required:!1}},emits:{alterar(e){return Number.isFinite(e)}},setup(e,{emit:a}){const n=t.computed(()=>{const i=e.maximoBotoes;return typeof i=="number"&&i>=5?Math.floor(i):7}),l=t.computed(()=>{const i=e.totalPaginas,d=e.pagina,b=n.value,N=[],S=k=>{N.push({label:String(k),pagina:k,ativo:k===d})},$=()=>{N.push({label:"…",ehEllipsis:!0})};if(i<=b){for(let k=1;k<=i;k+=1)S(k);return N}const c=Math.max(3,b-2);let E=Math.max(2,d-Math.floor(c/2)),y=E+c-1;y>=i&&(y=i-1,E=y-c+1),S(1),E>2&&$();for(let k=E;k<=y;k+=1)S(k);return ye.pagina<=1),o=t.computed(()=>e.pagina>=e.totalPaginas),r=t.computed(()=>e.pagina),u=t.computed(()=>e.totalPaginas);return{botoes:l,irParaPagina:s,anteriorDesabilitado:m,proximaDesabilitada:o,paginaAtual:r,totalPaginasExibidas:u}}}),co={key:0,class:"eli-tabela__paginacao",role:"navigation","aria-label":"Paginação de resultados"},uo=["disabled"],mo={key:0,class:"eli-tabela__pagina-ellipsis","aria-hidden":"true"},po=["disabled","aria-current","aria-label","onClick"],fo=["disabled"];function bo(e,a,n,l,s,m){return e.totalPaginasExibidas>1?(t.openBlock(),t.createElementBlock("nav",co,[t.createElementVNode("button",{type:"button",class:"eli-tabela__pagina-botao",disabled:e.anteriorDesabilitado,"aria-label":"Página anterior",onClick:a[0]||(a[0]=o=>e.irParaPagina(e.paginaAtual-1))}," << ",8,uo),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.botoes,(o,r)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`${o.label}-${r}`},[o.ehEllipsis?(t.openBlock(),t.createElementBlock("span",mo,t.toDisplayString(o.label),1)):(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:t.normalizeClass(["eli-tabela__pagina-botao",o.ativo?"eli-tabela__pagina-botao--ativo":void 0]),disabled:o.ativo,"aria-current":o.ativo?"page":void 0,"aria-label":`Ir para página ${o.label}`,onClick:u=>e.irParaPagina(o.pagina)},t.toDisplayString(o.label),11,po))],64))),128)),t.createElementVNode("button",{type:"button",class:"eli-tabela__pagina-botao",disabled:e.proximaDesabilitada,"aria-label":"Próxima página",onClick:a[1]||(a[1]=o=>e.irParaPagina(e.paginaAtual+1))}," >> ",8,fo)])):t.createCommentVNode("",!0)}const ho=P(so,[["render",bo],["__scopeId","data-v-5ca7a362"]]),Ye="application/x-eli-tabela-coluna",go=t.defineComponent({name:"EliTabelaModalColunas",props:{aberto:{type:Boolean,required:!0},rotulosColunas:{type:Array,required:!0},configInicial:{type:Object,required:!0},colunas:{type:Array,required:!0}},emits:{fechar(){return!0},salvar(e){return!0}},setup(e,{emit:a}){const n=t.ref([]),l=t.ref([]);function s(){var H,X;const $=e.rotulosColunas,c=(((H=e.configInicial.visiveis)==null?void 0:H.length)??0)>0||(((X=e.configInicial.invisiveis)==null?void 0:X.length)??0)>0,E=new Set(e.colunas.filter(O=>O.visivel===!1).map(O=>O.rotulo)),y=c?new Set(e.configInicial.invisiveis??[]):E,k=$.filter(O=>!y.has(O)),j=e.configInicial.visiveis??[],G=new Set(k),I=[];for(const O of j)G.has(O)&&I.push(O);for(const O of k)I.includes(O)||I.push(O);n.value=I,l.value=$.filter(O=>y.has(O))}t.watch(()=>[e.aberto,e.rotulosColunas,e.configInicial,e.colunas],()=>{e.aberto&&s()},{deep:!0,immediate:!0});function m(){a("fechar")}function o(){a("salvar",{visiveis:[...n.value],invisiveis:[...l.value]})}function r($,c){var E,y;try{(E=$.dataTransfer)==null||E.setData(Ye,JSON.stringify(c)),(y=$.dataTransfer)==null||y.setData("text/plain",c.rotulo),$.dataTransfer.effectAllowed="move"}catch{}}function u($){var c;try{const E=(c=$.dataTransfer)==null?void 0:c.getData(Ye);if(!E)return null;const y=JSON.parse(E);return!y||typeof y.rotulo!="string"||y.origem!=="visiveis"&&y.origem!=="invisiveis"?null:y}catch{return null}}function i($){const c=$.origem==="visiveis"?n.value:l.value,E=c.indexOf($.rotulo);E>=0&&c.splice(E,1)}function d($,c,E){const y=$==="visiveis"?n.value:l.value,k=y.indexOf(c);k>=0&&y.splice(k,1),E===null||E<0||E>y.length?y.push(c):y.splice(E,0,c)}function b($,c,E,y){r($,{rotulo:c,origem:E,index:y})}function N($,c,E){const y=u($);if(y)if(i(y),d(c,y.rotulo,E),c==="visiveis"){const k=l.value.indexOf(y.rotulo);k>=0&&l.value.splice(k,1)}else{const k=n.value.indexOf(y.rotulo);k>=0&&n.value.splice(k,1)}}function S($,c,E){const y=u($);if(y)if(i(y),d(c,y.rotulo,null),c==="visiveis"){const k=l.value.indexOf(y.rotulo);k>=0&&l.value.splice(k,1)}else{const k=n.value.indexOf(y.rotulo);k>=0&&n.value.splice(k,1)}}return{visiveisLocal:n,invisiveisLocal:l,emitFechar:m,emitSalvar:o,onDragStart:b,onDropItem:N,onDropLista:S}}}),yo={class:"eli-tabela-modal-colunas__modal",role:"dialog","aria-modal":"true","aria-label":"Configurar colunas"},$o={class:"eli-tabela-modal-colunas__header"},Eo={class:"eli-tabela-modal-colunas__conteudo"},ko={class:"eli-tabela-modal-colunas__coluna"},Bo=["onDragstart","onDrop"],Co={class:"eli-tabela-modal-colunas__item-texto"},_o={class:"eli-tabela-modal-colunas__coluna"},vo=["onDragstart","onDrop"],So={class:"eli-tabela-modal-colunas__item-texto"},Vo={class:"eli-tabela-modal-colunas__footer"};function No(e,a,n,l,s,m){return e.aberto?(t.openBlock(),t.createElementBlock("div",{key:0,class:"eli-tabela-modal-colunas__overlay",role:"presentation",onClick:a[9]||(a[9]=t.withModifiers((...o)=>e.emitFechar&&e.emitFechar(...o),["self"]))},[t.createElementVNode("div",yo,[t.createElementVNode("header",$o,[a[10]||(a[10]=t.createElementVNode("h3",{class:"eli-tabela-modal-colunas__titulo"},"Colunas",-1)),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__fechar","aria-label":"Fechar",onClick:a[0]||(a[0]=(...o)=>e.emitFechar&&e.emitFechar(...o))}," × ")]),t.createElementVNode("div",Eo,[t.createElementVNode("div",ko,[a[12]||(a[12]=t.createElementVNode("div",{class:"eli-tabela-modal-colunas__coluna-titulo"},"Visíveis",-1)),t.createElementVNode("div",{class:"eli-tabela-modal-colunas__lista",onDragover:a[2]||(a[2]=t.withModifiers(()=>{},["prevent"])),onDrop:a[3]||(a[3]=o=>e.onDropLista(o,"visiveis",null))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.visiveisLocal,(o,r)=>(t.openBlock(),t.createElementBlock("div",{key:`vis-${o}`,class:"eli-tabela-modal-colunas__item",draggable:"true",onDragstart:u=>e.onDragStart(u,o,"visiveis",r),onDragover:a[1]||(a[1]=t.withModifiers(()=>{},["prevent"])),onDrop:u=>e.onDropItem(u,"visiveis",r)},[a[11]||(a[11]=t.createElementVNode("span",{class:"eli-tabela-modal-colunas__item-handle","aria-hidden":"true"},"⋮⋮",-1)),t.createElementVNode("span",Co,t.toDisplayString(o),1)],40,Bo))),128))],32)]),t.createElementVNode("div",_o,[a[14]||(a[14]=t.createElementVNode("div",{class:"eli-tabela-modal-colunas__coluna-titulo"},"Invisíveis",-1)),t.createElementVNode("div",{class:"eli-tabela-modal-colunas__lista",onDragover:a[5]||(a[5]=t.withModifiers(()=>{},["prevent"])),onDrop:a[6]||(a[6]=o=>e.onDropLista(o,"invisiveis",null))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.invisiveisLocal,(o,r)=>(t.openBlock(),t.createElementBlock("div",{key:`inv-${o}`,class:"eli-tabela-modal-colunas__item",draggable:"true",onDragstart:u=>e.onDragStart(u,o,"invisiveis",r),onDragover:a[4]||(a[4]=t.withModifiers(()=>{},["prevent"])),onDrop:u=>e.onDropItem(u,"invisiveis",r)},[a[13]||(a[13]=t.createElementVNode("span",{class:"eli-tabela-modal-colunas__item-handle","aria-hidden":"true"},"⋮⋮",-1)),t.createElementVNode("span",So,t.toDisplayString(o),1)],40,vo))),128))],32)])]),t.createElementVNode("footer",Vo,[t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--sec",onClick:a[7]||(a[7]=(...o)=>e.emitFechar&&e.emitFechar(...o))}," Cancelar "),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--prim",onClick:a[8]||(a[8]=(...o)=>e.emitSalvar&&e.emitSalvar(...o))}," Salvar ")])])])):t.createCommentVNode("",!0)}const Do=P(go,[["render",No],["__scopeId","data-v-b8f693ef"]]);function Ao(e){if(!Number.isFinite(e)||e<=0||e>=1)return 0;const a=e.toString();if(a.includes("e-")){const[,s]=a.split("e-"),m=Number(s);return Number.isFinite(m)?m:0}const n=a.indexOf(".");return n===-1?0:a.slice(n+1).replace(/0+$/,"").length}function Mo(e){const a=(e??"").trim().replace(/,/g,".");if(!a)return null;const n=Number(a);return Number.isNaN(n)?null:n}function Se(e,a){return e==null?"":a===null?String(e):Number(e).toFixed(Math.max(0,a)).replace(/\./g,",")}function Re(e){return(e??"").replace(/\D+/g,"")}function wo(e){const a=(e??"").replace(/[^0-9.,]+/g,""),n=a.match(/[.,]/);if(!n)return a;const l=n[0],s=a.indexOf(l),m=a.slice(0,s).replace(/[.,]/g,""),o=a.slice(s+1).replace(/[.,]/g,"");return`${m.length?m:"0"}${l}${o}`}function To(e,a){if(a===null)return e;if(a<=0)return e.replace(/[.,]/g,"");const n=e.match(/[.,]/);if(!n)return e;const l=n[0],s=e.indexOf(l),m=e.slice(0,s),o=e.slice(s+1);return`${m}${l}${o.slice(0,a)}`}function Po(e){const a=e.match(/^(\d+)[.,]$/);if(!a)return null;const n=Number(a[1]);return Number.isNaN(n)?null:n}const Fo=t.defineComponent({name:"EliEntradaNumero",inheritAttrs:!1,props:{value:{type:[Number,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:a,emit:n}){const l=t.computed(()=>{var d;const i=(d=e.opcoes)==null?void 0:d.precisao;return i==null?null:Ao(i)}),s=t.computed(()=>l.value===0),m=t.computed(()=>{const i=l.value;return i!==null&&i>0}),o=t.ref(""),r=t.ref(void 0);t.watch(()=>e.value,i=>{i!==r.value&&(o.value=Se(i,l.value),r.value=i)},{immediate:!0});function u(i){if(m.value){const S=l.value??0,$=Re(i),c=$?Number($):0,E=Math.pow(10,S),y=$?c/E:null,k=y===null?null:y;r.value=k,n("update:value",k),n("input",k),n("change",k),o.value=Se(k,S);return}const d=s.value?Re(i):wo(i),b=s.value?d:To(d,l.value);let N=null;if(b){const $=(s.value?null:Po(b))??Mo(b);N=$===null?null:$}r.value=N,n("update:value",N),n("input",N),n("change",N),o.value=Se(N,l.value)}return{attrs:a,emit:n,displayValue:o,isInteiro:s,onUpdateModelValue:u}}}),Oo={class:"eli-entrada__prefixo"},qo={class:"eli-entrada__sufixo"};function Io(e,a,n,l,s,m){var o,r,u,i;return t.openBlock(),t.createBlock(Ce.VTextField,t.mergeProps({"model-value":e.displayValue,label:(o=e.opcoes)==null?void 0:o.rotulo,placeholder:(r=e.opcoes)==null?void 0:r.placeholder,type:e.isInteiro?"number":"text",inputmode:e.isInteiro?"numeric":"decimal",pattern:e.isInteiro?"[0-9]*":"[0-9.,]*"},e.attrs,{"onUpdate:modelValue":e.onUpdateModelValue,onFocus:a[0]||(a[0]=()=>e.emit("focus")),onBlur:a[1]||(a[1]=()=>e.emit("blur"))}),t.createSlots({_:2},[(u=e.opcoes)!=null&&u.prefixo?{name:"prepend-inner",fn:t.withCtx(()=>[t.createElementVNode("span",Oo,t.toDisplayString(e.opcoes.prefixo),1)]),key:"0"}:void 0,(i=e.opcoes)!=null&&i.sufixo?{name:"append-inner",fn:t.withCtx(()=>[t.createElementVNode("span",qo,t.toDisplayString(e.opcoes.sufixo),1)]),key:"1"}:void 0]),1040,["model-value","label","placeholder","type","inputmode","pattern","onUpdate:modelValue"])}const Ve=P(Fo,[["render",Io],["__scopeId","data-v-77cbf216"]]),Lo=t.defineComponent({name:"EliEntradaDataHora",inheritAttrs:!1,props:{value:{type:String,default:void 0},opcoes:{type:Object,required:!1,default:void 0},modelValue:{type:String,default:null},modo:{type:String,default:void 0},rotulo:{type:String,default:void 0},placeholder:{type:String,default:void 0},desabilitado:{type:Boolean,default:void 0},limpavel:{type:Boolean,default:void 0},erro:{type:Boolean,default:void 0},mensagensErro:{type:[String,Array],default:void 0},dica:{type:String,default:void 0},dicaPersistente:{type:Boolean,default:void 0},densidade:{type:String,default:void 0},variante:{type:String,default:void 0},min:{type:String,default:void 0},max:{type:String,default:void 0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,"update:modelValue":e=>!0,alterar:e=>!0,foco:()=>!0,desfoco:()=>!0,focus:()=>!0,blur:()=>!0},setup(e,{emit:a,attrs:n}){const l=t.computed(()=>e.opcoes?e.opcoes:{rotulo:e.rotulo??"Data e hora",placeholder:e.placeholder??"",modo:e.modo??"dataHora",limpavel:e.limpavel,erro:e.erro,mensagensErro:e.mensagensErro,dica:e.dica,dicaPersistente:e.dicaPersistente,densidade:e.densidade,variante:e.variante,min:e.min,max:e.max}),s=t.computed(()=>l.value.modo??"dataHora"),m=t.computed(()=>!!e.desabilitado),o=t.computed(()=>s.value==="data"?"date":"datetime-local");function r(c){return s.value==="data"?se(c).format("YYYY-MM-DD"):se(c).format("YYYY-MM-DDTHH:mm")}function u(c){return s.value==="data"?se(`${c}T00:00`).format():se(c).format()}const i=t.computed(()=>e.value!==void 0?e.value??null:e.modelValue),d=t.computed({get:()=>i.value?r(i.value):"",set:c=>{const E=c&&c.length>0?c:null;if(!E){a("update:value",null),a("input",null),a("change",null),a("update:modelValue",null),a("alterar",null);return}const y=u(E);a("update:value",y),a("input",y),a("change",y),a("update:modelValue",y),a("alterar",y)}}),b=t.computed(()=>{const c=l.value.min;if(c)return r(c)}),N=t.computed(()=>{const c=l.value.max;if(c)return r(c)});function S(){a("foco"),a("focus")}function $(){a("desfoco"),a("blur")}return{attrs:n,valor:d,tipoInput:o,minLocal:b,maxLocal:N,opcoesEfetivas:l,desabilitadoEfetivo:m,emitCompatFocus:S,emitCompatBlur:$}}}),zo={class:"eli-data-hora"};function jo(e,a,n,l,s,m){return t.openBlock(),t.createElementBlock("div",zo,[t.createVNode(Ce.VTextField,t.mergeProps({modelValue:e.valor,"onUpdate:modelValue":a[0]||(a[0]=o=>e.valor=o),type:e.tipoInput,label:e.opcoesEfetivas.rotulo,placeholder:e.opcoesEfetivas.placeholder,disabled:e.desabilitadoEfetivo,clearable:!!e.opcoesEfetivas.limpavel,error:!!e.opcoesEfetivas.erro,"error-messages":e.opcoesEfetivas.mensagensErro,hint:e.opcoesEfetivas.dica,"persistent-hint":!!e.opcoesEfetivas.dicaPersistente,density:e.opcoesEfetivas.densidade??"comfortable",variant:e.opcoesEfetivas.variante??"outlined",min:e.minLocal,max:e.maxLocal},e.attrs,{onFocus:e.emitCompatFocus,onBlur:e.emitCompatBlur}),null,16,["modelValue","type","label","placeholder","disabled","clearable","error","error-messages","hint","persistent-hint","density","variant","min","max","onFocus","onBlur"])])}const Ne=P(Lo,[["render",jo],["__scopeId","data-v-1bfd1be8"]]),Ho=t.defineComponent({name:"EliEntradaParagrafo",components:{VTextarea:_e.VTextarea},inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:a,emit:n}){const l=t.computed({get:()=>e.value,set:s=>{n("update:value",s),n("input",s),n("change",s)}});return{attrs:a,emit:n,localValue:l,opcoes:e.opcoes}}});function Uo(e,a,n,l,s,m){var o,r,u,i,d,b,N,S,$,c,E,y;return t.openBlock(),t.createBlock(rt.VTextarea,t.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":a[0]||(a[0]=k=>e.localValue=k),label:(o=e.opcoes)==null?void 0:o.rotulo,placeholder:(r=e.opcoes)==null?void 0:r.placeholder,rows:((u=e.opcoes)==null?void 0:u.linhas)??4,counter:(i=e.opcoes)==null?void 0:i.limiteCaracteres,maxlength:(d=e.opcoes)==null?void 0:d.limiteCaracteres,clearable:!!((b=e.opcoes)!=null&&b.limpavel),error:!!((N=e.opcoes)!=null&&N.erro),"error-messages":(S=e.opcoes)==null?void 0:S.mensagensErro,hint:($=e.opcoes)==null?void 0:$.dica,"persistent-hint":!!((c=e.opcoes)!=null&&c.dicaPersistente),density:((E=e.opcoes)==null?void 0:E.densidade)??"comfortable",variant:((y=e.opcoes)==null?void 0:y.variante)??"outlined","auto-grow":""},e.attrs,{onFocus:a[1]||(a[1]=()=>e.emit("focus")),onBlur:a[2]||(a[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","placeholder","rows","counter","maxlength","clearable","error","error-messages","hint","persistent-hint","density","variant"])}const Je=P(Ho,[["render",Uo]]),Yo=t.defineComponent({name:"EliEntradaSelecao",components:{VSelect:_e.VSelect},inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:a,emit:n}){const l=t.ref([]),s=t.ref(!1),m=t.computed({get:()=>e.value,set:r=>{n("update:value",r),n("input",r),n("change",r)}});async function o(){s.value=!0;try{const r=await e.opcoes.itens(),u=Array.isArray(r)?r:[];l.value=[...u]}finally{s.value=!1}}return t.watch(()=>e.opcoes.itens,()=>{o()}),t.onMounted(()=>{o()}),t.watch(l,r=>{console.debug("[EliEntradaSelecao] itens:",r)},{deep:!0}),{attrs:a,emit:n,localValue:m,opcoes:e.opcoes,itens:l,carregando:s}}});function Ro(e,a,n,l,s,m){var o,r,u,i,d,b,N,S,$;return t.openBlock(),t.createBlock(lt.VSelect,t.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":a[0]||(a[0]=c=>e.localValue=c),label:(o=e.opcoes)==null?void 0:o.rotulo,placeholder:(r=e.opcoes)==null?void 0:r.placeholder,items:e.itens,"item-title":"rotulo","item-value":"chave",loading:e.carregando,disabled:e.carregando,"menu-props":{maxHeight:320},clearable:!!((u=e.opcoes)!=null&&u.limpavel),error:!!((i=e.opcoes)!=null&&i.erro),"error-messages":(d=e.opcoes)==null?void 0:d.mensagensErro,hint:(b=e.opcoes)==null?void 0:b.dica,"persistent-hint":!!((N=e.opcoes)!=null&&N.dicaPersistente),density:((S=e.opcoes)==null?void 0:S.densidade)??"comfortable",variant:(($=e.opcoes)==null?void 0:$.variante)??"outlined"},e.attrs,{onFocus:a[1]||(a[1]=()=>e.emit("focus")),onBlur:a[2]||(a[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","placeholder","items","loading","disabled","clearable","error","error-messages","hint","persistent-hint","density","variant"])}const We=P(Yo,[["render",Ro]]);function Jo(e){return e==="texto"||e==="numero"||e==="dataHora"}function Wo(e){var n,l;const a=(l=(n=e==null?void 0:e.entrada)==null?void 0:n[1])==null?void 0:l.rotulo;return String(a||((e==null?void 0:e.coluna)??"Filtro"))}const Zo=t.defineComponent({name:"EliTabelaModalFiltroAvancado",props:{aberto:{type:Boolean,required:!0},filtrosBase:{type:Array,required:!0},modelo:{type:Array,required:!0}},emits:{fechar:()=>!0,limpar:()=>!0,salvar:e=>!0},setup(e,{emit:a}){const n=t.ref([]),l=t.ref(""),s=t.computed(()=>(e.filtrosBase??[]).map(c=>String(c.coluna))),m=t.computed(()=>{const c=new Set(n.value.map(E=>String(E.coluna)));return(e.filtrosBase??[]).filter(E=>!c.has(String(E.coluna)))});function o(c){const E=c==null?void 0:c[0];return E==="numero"?Ve:E==="dataHora"?Ne:$e}function r(c){return(c==null?void 0:c[1])??{rotulo:""}}function u(c){return(c==null?void 0:c[0])==="numero"?null:""}function i(){var y;const c=e.filtrosBase??[],E=Array.isArray(e.modelo)?e.modelo:[];n.value=E.map(k=>{const j=c.find(O=>String(O.coluna)===String(k.coluna))??c[0],G=(j==null?void 0:j.entrada)??k.entrada,I=(j==null?void 0:j.coluna)??k.coluna,H=String((j==null?void 0:j.operador)??"="),X=k.valor??u(G);return{coluna:I,operador:H,entrada:G,valor:X}});for(const k of n.value)s.value.includes(String(k.coluna))&&(k.operador=String(((y=c.find(j=>String(j.coluna)===String(k.coluna)))==null?void 0:y.operador)??"="),k.entrada&&!Jo(k.entrada[0])&&(k.entrada=["texto",{rotulo:"Valor"}]))}t.watch(()=>[e.aberto,e.filtrosBase,e.modelo],()=>{e.aberto&&i()},{deep:!0,immediate:!0});function d(){if(!l.value)return;const c=(e.filtrosBase??[]).find(E=>String(E.coluna)===String(l.value));c&&(n.value.some(E=>String(E.coluna)===String(c.coluna))||(n.value.push({coluna:c.coluna,entrada:c.entrada,operador:String(c.operador??"="),valor:u(c.entrada)}),l.value=""))}function b(c){n.value.splice(c,1)}function N(){a("fechar")}function S(){a("limpar")}function $(){a("salvar",n.value.map(c=>({coluna:c.coluna,valor:c.valor})))}return{linhas:n,opcoesParaAdicionar:m,colunaParaAdicionar:l,componenteEntrada:o,opcoesEntrada:r,adicionar:d,remover:b,emitFechar:N,emitSalvar:$,emitLimpar:S,rotuloDoFiltro:Wo}}}),Go={class:"eli-tabela-modal-filtro__modal",role:"dialog","aria-modal":"true","aria-label":"Filtro avançado"},Xo={class:"eli-tabela-modal-filtro__header"},Ko={class:"eli-tabela-modal-filtro__conteudo"},Qo={key:0,class:"eli-tabela-modal-filtro__vazio"},xo={key:1,class:"eli-tabela-modal-filtro__lista"},en={class:"eli-tabela-modal-filtro__entrada"},tn=["onClick"],an={class:"eli-tabela-modal-filtro__acoes"},on=["disabled"],nn=["value"],rn=["disabled"],ln={class:"eli-tabela-modal-filtro__footer"};function sn(e,a,n,l,s,m){return e.aberto?(t.openBlock(),t.createElementBlock("div",{key:0,class:"eli-tabela-modal-filtro__overlay",role:"presentation",onClick:a[6]||(a[6]=t.withModifiers((...o)=>e.emitFechar&&e.emitFechar(...o),["self"]))},[t.createElementVNode("div",Go,[t.createElementVNode("header",Xo,[a[7]||(a[7]=t.createElementVNode("h3",{class:"eli-tabela-modal-filtro__titulo"},"Filtro avançado",-1)),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__fechar","aria-label":"Fechar",onClick:a[0]||(a[0]=(...o)=>e.emitFechar&&e.emitFechar(...o))}," × ")]),t.createElementVNode("div",Ko,[e.filtrosBase.length?(t.openBlock(),t.createElementBlock("div",xo,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.linhas,(o,r)=>(t.openBlock(),t.createElementBlock("div",{key:String(o.coluna),class:"eli-tabela-modal-filtro__linha"},[t.createElementVNode("div",en,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.componenteEntrada(o.entrada)),{value:o.valor,"onUpdate:value":u=>o.valor=u,opcoes:e.opcoesEntrada(o.entrada),density:"compact"},null,40,["value","onUpdate:value","opcoes"]))]),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__remover",title:"Remover","aria-label":"Remover",onClick:u=>e.remover(r)}," × ",8,tn)]))),128))])):(t.openBlock(),t.createElementBlock("div",Qo," Nenhum filtro configurado na tabela. ")),t.createElementVNode("div",an,[t.withDirectives(t.createElementVNode("select",{"onUpdate:modelValue":a[1]||(a[1]=o=>e.colunaParaAdicionar=o),class:"eli-tabela-modal-filtro__select",disabled:!e.opcoesParaAdicionar.length},[a[8]||(a[8]=t.createElementVNode("option",{disabled:"",value:""},"Selecione um filtro…",-1)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.opcoesParaAdicionar,o=>(t.openBlock(),t.createElementBlock("option",{key:String(o.coluna),value:String(o.coluna)},t.toDisplayString(e.rotuloDoFiltro(o)),9,nn))),128))],8,on),[[t.vModelSelect,e.colunaParaAdicionar]]),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao",onClick:a[2]||(a[2]=(...o)=>e.adicionar&&e.adicionar(...o)),disabled:!e.colunaParaAdicionar}," Adicionar ",8,rn)])]),t.createElementVNode("footer",ln,[t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec",onClick:a[3]||(a[3]=(...o)=>e.emitLimpar&&e.emitLimpar(...o))}," Limpar "),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec",onClick:a[4]||(a[4]=(...o)=>e.emitFechar&&e.emitFechar(...o))}," Cancelar "),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--prim",onClick:a[5]||(a[5]=(...o)=>e.emitSalvar&&e.emitSalvar(...o))}," Aplicar ")])])])):t.createCommentVNode("",!0)}const cn=P(Zo,[["render",sn],["__scopeId","data-v-ae32fe4c"]]),dn="eli:tabela";function Ze(e){return`${dn}:${e}:colunas`}function Ge(e){if(!e||typeof e!="object")return{visiveis:[],invisiveis:[]};const a=e,n=Array.isArray(a.visiveis)?a.visiveis.filter(s=>typeof s=="string"):[],l=Array.isArray(a.invisiveis)?a.invisiveis.filter(s=>typeof s=="string"):[];return{visiveis:n,invisiveis:l}}function Xe(e){try{const a=window.localStorage.getItem(Ze(e));return a?Ge(JSON.parse(a)):{visiveis:[],invisiveis:[]}}catch{return{visiveis:[],invisiveis:[]}}}function un(e,a){try{window.localStorage.setItem(Ze(e),JSON.stringify(Ge(a)))}catch{}}function De(e){return`eli_tabela:${e}:filtro_avancado`}function Ke(e){try{const a=localStorage.getItem(De(e));if(!a)return[];const n=JSON.parse(a);return Array.isArray(n)?n:[]}catch{return[]}}function mn(e,a){try{localStorage.setItem(De(e),JSON.stringify(a??[]))}catch{}}function pn(e){try{localStorage.removeItem(De(e))}catch{}}const fn=t.defineComponent({name:"EliTabela",inheritAttrs:!1,components:{EliTabelaCabecalho:Rt,EliTabelaEstados:Qt,EliTabelaDebug:aa,EliTabelaHead:ma,EliTabelaBody:to,EliTabelaMenuAcoes:io,EliTabelaPaginacao:ho,EliTabelaModalColunas:Do,EliTabelaModalFiltroAvancado:cn},props:{tabela:{type:Object,required:!0}},setup(e){const n=t.ref(!1),l=t.ref(null),s=t.ref([]),m=t.ref(0),o=t.ref([]),r=t.ref(null),u=t.ref(null),i=t.ref({top:0,left:0}),d=t.ref(""),b=t.ref(1),N=t.ref(null),S=t.ref("asc"),$=t.ref(!1),c=t.ref(Ke(e.tabela.nome));function E(){$.value=!0}function y(){$.value=!1}function k(){c.value=[],pn(e.tabela.nome),$.value=!1,b.value!==1&&(b.value=1)}function j(h){c.value=h??[],mn(e.tabela.nome,h??[]),$.value=!1,b.value!==1&&(b.value=1)}const G=t.computed(()=>{const h=e.tabela.filtroAvancado??[];return(c.value??[]).filter(C=>C&&C.coluna!==void 0).map(C=>{const D=h.find(M=>String(M.coluna)===String(C.coluna));return D?{coluna:String(D.coluna),operador:D.operador,valor:C.valor}:null}).filter(Boolean)}),I=t.computed(()=>e.tabela),H=t.computed(()=>!!e.tabela.mostrarCaixaDeBusca),X=t.computed(()=>e.tabela.acoesTabela??[]),O=t.computed(()=>X.value.length>0),ae=t.ref(!1),w=t.ref(Xe(e.tabela.nome)),A=t.ref({}),de=t.computed(()=>e.tabela.colunas.map(h=>h.rotulo)),he=t.computed(()=>{var Q,x;const h=e.tabela.colunas,D=(((Q=w.value.visiveis)==null?void 0:Q.length)??0)>0||(((x=w.value.invisiveis)==null?void 0:x.length)??0)>0?w.value.invisiveis??[]:h.filter(q=>q.visivel===!1).map(q=>q.rotulo),M=new Set(D),J=h.filter(q=>M.has(q.rotulo)),Z=D,te=new Map;for(const q of J)te.has(q.rotulo)||te.set(q.rotulo,q);const K=[];for(const q of Z){const oe=te.get(q);oe&&K.push(oe)}for(const q of J)K.includes(q)||K.push(q);return K}),_=t.computed(()=>he.value.length>0),g=t.computed(()=>{var q,oe;const h=e.tabela.colunas,C=de.value,D=(((q=w.value.visiveis)==null?void 0:q.length)??0)>0||(((oe=w.value.invisiveis)==null?void 0:oe.length)??0)>0,M=D?w.value.invisiveis??[]:e.tabela.colunas.filter(z=>z.visivel===!1).map(z=>z.rotulo),J=new Set(M),Z=C.filter(z=>!J.has(z)),te=new Set(Z),K=D?w.value.visiveis??[]:[],Q=[];for(const z of K)te.has(z)&&Q.push(z);for(const z of Z)Q.includes(z)||Q.push(z);const x=new Map;for(const z of h)x.has(z.rotulo)||x.set(z.rotulo,z);return Q.map(z=>x.get(z)).filter(Boolean)});function p(){ae.value=!0}function B(){ae.value=!1}function f(h){w.value=h,un(e.tabela.nome,h),ae.value=!1,A.value={}}function V(h){const C=!!A.value[h];A.value={...A.value,[h]:!C}}const v=t.computed(()=>{const h=e.tabela.registros_por_consulta;return typeof h=="number"&&h>0?Math.floor(h):10});function T(h){const C=(d.value??"").trim().toLowerCase();return C?h.filter(D=>JSON.stringify(D).toLowerCase().includes(C)):h}function L(h,C,D){switch(h){case"=":return C==D;case"!=":return C!=D;case">":return Number(C)>Number(D);case">=":return Number(C)>=Number(D);case"<":return Number(C)J.trim()).filter(Boolean)).includes(String(C));case"isNull":return C==null||C==="";default:return!0}}function U(h){const C=G.value;return C.length?h.filter(D=>C.every(M=>{const J=D==null?void 0:D[M.coluna];return L(String(M.operador),J,M.valor)})):h}const R=t.computed(()=>{const h=s.value??[];return U(T(h))}),W=t.computed(()=>R.value.length),ne=t.computed(()=>{const h=v.value;if(!h||h<=0)return 1;const C=W.value;return C?Math.max(1,Math.ceil(C/h)):1}),re=t.computed(()=>{const h=Math.max(1,v.value),C=(b.value-1)*h;return R.value.slice(C,C+h)}),ue=t.computed(()=>(e.tabela.acoesLinha??[]).length>0),le=t.computed(()=>(e.tabela.filtroAvancado??[]).length>0);let Y=0;function ee(h){var K,Q,x,q,oe,z;const C=h.getBoundingClientRect(),D=8,M=((x=(Q=(K=u.value)==null?void 0:K.menuEl)==null?void 0:Q.value)==null?void 0:x.offsetHeight)??0,J=((z=(oe=(q=u.value)==null?void 0:q.menuEl)==null?void 0:oe.value)==null?void 0:z.offsetWidth)??180;let Z=C.bottom+D;const te=C.right-J;M&&Z+M>window.innerHeight-D&&(Z=C.top-D-M),i.value={top:Math.max(D,Math.round(Z)),left:Math.max(D,Math.round(te))}}function ce(h){var D,M;if(r.value===null)return;const C=h.target;(M=(D=u.value)==null?void 0:D.menuEl)!=null&&M.value&&u.value.menuEl.value.contains(C)||(r.value=null)}function fe(h){if(h){if(N.value===h){S.value=S.value==="asc"?"desc":"asc",me();return}N.value=h,S.value="asc",b.value!==1?b.value=1:me()}}function $n(h){d.value!==h&&(d.value=h,b.value!==1?b.value=1:me())}function En(h){const C=Math.min(Math.max(1,h),ne.value);C!==b.value&&(b.value=C)}function xe(h){const C=e.tabela.acoesLinha??[],D=o.value[h]??[];return C.map((M,J)=>{const Z=M.exibir===void 0?!0:typeof M.exibir=="boolean"?M.exibir:!1;return{acao:M,indice:J,visivel:D[J]??Z}}).filter(M=>M.visivel)}function et(h){return xe(h).length>0}function kn(h,C){if(!et(h))return;if(r.value===h){r.value=null;return}r.value=h;const D=(C==null?void 0:C.currentTarget)??null;D&&(ee(D),requestAnimationFrame(()=>ee(D)))}async function me(){var J;const h=++Y;n.value=!0,l.value=null,o.value=[],r.value=null,A.value={};const C=Math.max(1,v.value),M={offSet:0,limit:999999};N.value&&(M.coluna_ordem=N.value,M.direcao_ordem=S.value);try{const Z=e.tabela,te=await Z.consulta(M);if(h!==Y)return;if(te.cod!==Te.sucesso){s.value=[],m.value=0,l.value=te.mensagem;return}const K=((J=te.valor)==null?void 0:J.valores)??[],Q=K.length;s.value=K,m.value=Q;const x=Math.max(1,Math.ceil((W.value||0)/C));if(b.value>x){b.value=x;return}const q=Z.acoesLinha??[];if(!q.length){o.value=[];return}const oe=K.map(()=>q.map(ge=>ge.exibir===void 0?!0:typeof ge.exibir=="boolean"?ge.exibir:!1));o.value=oe;const z=await Promise.all(K.map(async ge=>Promise.all(q.map(async Be=>{if(Be.exibir===void 0)return!0;if(typeof Be.exibir=="boolean")return Be.exibir;try{const Bn=Be.exibir(ge);return!!await Promise.resolve(Bn)}catch{return!1}}))));h===Y&&(o.value=z)}catch(Z){if(h!==Y)return;s.value=[],m.value=0,l.value=Z instanceof Error?Z.message:"Erro ao carregar dados."}finally{h===Y&&(n.value=!1)}}return t.onMounted(()=>{document.addEventListener("click",ce),me()}),t.onBeforeUnmount(()=>{document.removeEventListener("click",ce)}),t.watch(()=>e.tabela.mostrarCaixaDeBusca,h=>{!h&&d.value&&(d.value="",b.value!==1?b.value=1:me())}),t.watch(b,(h,C)=>{}),t.watch(()=>e.tabela,()=>{r.value=null,N.value=null,S.value="asc",d.value="",ae.value=!1,$.value=!1,w.value=Xe(e.tabela.nome),c.value=Ke(e.tabela.nome),A.value={},b.value!==1?b.value=1:me()}),t.watch(()=>e.tabela.registros_por_consulta,()=>{b.value!==1?b.value=1:me()}),t.watch(s,()=>{r.value=null,A.value={}}),{isDev:!1,tabela:I,carregando:n,erro:l,linhas:s,linhasPaginadas:re,quantidadeFiltrada:W,quantidade:m,menuAberto:r,valorBusca:d,paginaAtual:b,colunaOrdenacao:N,direcaoOrdenacao:S,totalPaginas:ne,exibirBusca:H,exibirFiltroAvancado:le,acoesCabecalho:X,temAcoesCabecalho:O,temAcoes:ue,colunasEfetivas:g,rotulosColunas:de,modalColunasAberto:ae,configColunas:w,temColunasInvisiveis:_,colunasInvisiveisEfetivas:he,linhasExpandidas:A,abrirModalColunas:p,abrirModalFiltro:E,fecharModalColunas:B,salvarModalColunas:f,modalFiltroAberto:$,filtrosUi:c,salvarFiltrosAvancados:j,limparFiltrosAvancados:k,fecharModalFiltro:y,alternarLinhaExpandida:V,alternarOrdenacao:fe,atualizarBusca:$n,irParaPagina:En,acoesDisponiveisPorLinha:xe,possuiAcoes:et,toggleMenu:kn,menuPopup:u,menuPopupPos:i}}}),bn={class:"eli-tabela"},hn={class:"eli-tabela__table"};function gn(e,a,n,l,s,m){const o=t.resolveComponent("EliTabelaDebug"),r=t.resolveComponent("EliTabelaEstados"),u=t.resolveComponent("EliTabelaCabecalho"),i=t.resolveComponent("EliTabelaModalColunas"),d=t.resolveComponent("EliTabelaModalFiltroAvancado"),b=t.resolveComponent("EliTabelaHead"),N=t.resolveComponent("EliTabelaBody"),S=t.resolveComponent("EliTabelaMenuAcoes"),$=t.resolveComponent("EliTabelaPaginacao");return t.openBlock(),t.createElementBlock("div",bn,[t.createVNode(o,{isDev:e.isDev,menuAberto:e.menuAberto,menuPopupPos:e.menuPopupPos},null,8,["isDev","menuAberto","menuPopupPos"]),e.carregando||e.erro||!e.linhas.length?(t.openBlock(),t.createBlock(r,{key:0,carregando:e.carregando,erro:e.erro,mensagemVazio:e.tabela.mensagemVazio},null,8,["carregando","erro","mensagemVazio"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.exibirBusca||e.temAcoesCabecalho?(t.openBlock(),t.createBlock(u,{key:0,exibirBusca:e.exibirBusca,exibirBotaoFiltroAvancado:e.exibirFiltroAvancado,valorBusca:e.valorBusca,acoesCabecalho:e.acoesCabecalho,onBuscar:e.atualizarBusca,onColunas:e.abrirModalColunas,onFiltroAvancado:e.abrirModalFiltro},null,8,["exibirBusca","exibirBotaoFiltroAvancado","valorBusca","acoesCabecalho","onBuscar","onColunas","onFiltroAvancado"])):t.createCommentVNode("",!0),t.createVNode(i,{aberto:e.modalColunasAberto,rotulosColunas:e.rotulosColunas,configInicial:e.configColunas,colunas:e.tabela.colunas,onFechar:e.fecharModalColunas,onSalvar:e.salvarModalColunas},null,8,["aberto","rotulosColunas","configInicial","colunas","onFechar","onSalvar"]),t.createVNode(d,{aberto:e.modalFiltroAberto,filtrosBase:e.tabela.filtroAvancado??[],modelo:e.filtrosUi,onFechar:e.fecharModalFiltro,onLimpar:e.limparFiltrosAvancados,onSalvar:e.salvarFiltrosAvancados},null,8,["aberto","filtrosBase","modelo","onFechar","onLimpar","onSalvar"]),t.createElementVNode("table",hn,[t.createVNode(b,{colunas:e.colunasEfetivas,temAcoes:e.temAcoes,temColunasInvisiveis:e.temColunasInvisiveis,colunaOrdenacao:e.colunaOrdenacao,direcaoOrdenacao:e.direcaoOrdenacao,onAlternarOrdenacao:e.alternarOrdenacao},null,8,["colunas","temAcoes","temColunasInvisiveis","colunaOrdenacao","direcaoOrdenacao","onAlternarOrdenacao"]),t.createVNode(N,{colunas:e.colunasEfetivas,colunasInvisiveis:e.colunasInvisiveisEfetivas,temColunasInvisiveis:e.temColunasInvisiveis,linhasExpandidas:e.linhasExpandidas,linhas:e.linhasPaginadas,temAcoes:e.temAcoes,menuAberto:e.menuAberto,possuiAcoes:e.possuiAcoes,toggleMenu:e.toggleMenu,alternarLinhaExpandida:e.alternarLinhaExpandida},null,8,["colunas","colunasInvisiveis","temColunasInvisiveis","linhasExpandidas","linhas","temAcoes","menuAberto","possuiAcoes","toggleMenu","alternarLinhaExpandida"])]),t.createVNode(S,{ref:"menuPopup",menuAberto:e.menuAberto,posicao:e.menuPopupPos,acoes:e.menuAberto===null?[]:e.acoesDisponiveisPorLinha(e.menuAberto),linha:e.menuAberto===null?null:e.linhasPaginadas[e.menuAberto],onExecutar:a[0]||(a[0]=({acao:c,linha:E})=>{e.menuAberto=null,c.acao(E)})},null,8,["menuAberto","posicao","acoes","linha"]),e.totalPaginas>1&&e.quantidadeFiltrada>0?(t.openBlock(),t.createBlock($,{key:1,pagina:e.paginaAtual,totalPaginas:e.totalPaginas,maximoBotoes:e.tabela.maximo_botoes_paginacao,onAlterar:e.irParaPagina},null,8,["pagina","totalPaginas","maximoBotoes","onAlterar"])):t.createCommentVNode("",!0)],64))])}const Qe=P(fn,[["render",gn]]),yn={install(e){e.component("EliOlaMundo",Me),e.component("EliBotao",ve),e.component("EliBadge",ye),e.component("EliCartao",we),e.component("EliTabela",Qe),e.component("EliEntradaTexto",$e),e.component("EliEntradaNumero",Ve),e.component("EliEntradaDataHora",Ne),e.component("EliEntradaParagrafo",Je),e.component("EliEntradaSelecao",We)}};F.EliBadge=ye,F.EliBotao=ve,F.EliCartao=we,F.EliEntradaDataHora=Ne,F.EliEntradaNumero=Ve,F.EliEntradaParagrafo=Je,F.EliEntradaSelecao=We,F.EliEntradaTexto=$e,F.EliOlaMundo=Me,F.EliTabela=Qe,F.default=yn,Object.defineProperties(F,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
diff --git a/dist/types/componentes/EliEntrada/EliEntradaParagrafo.vue.d.ts b/dist/types/componentes/EliEntrada/EliEntradaParagrafo.vue.d.ts
new file mode 100644
index 0000000..4381ba1
--- /dev/null
+++ b/dist/types/componentes/EliEntrada/EliEntradaParagrafo.vue.d.ts
@@ -0,0 +1,1642 @@
+import { PropType } from "vue";
+import type { PadroesEntradas } from "./tiposEntradas";
+type EntradaParagrafo = PadroesEntradas["paragrafo"];
+declare const __VLS_export: import("vue").DefineComponent;
+ default: undefined;
+ };
+ opcoes: {
+ type: PropType;
+ required: true;
+ };
+}>, {
+ attrs: {
+ [x: string]: unknown;
+ };
+ emit: ((event: "update:value", _v: string | null | undefined) => void) & ((event: "input", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void);
+ localValue: import("vue").WritableComputedRef;
+ opcoes: {
+ rotulo: string;
+ placeholder?: string;
+ } & {
+ linhas?: number;
+ limiteCaracteres?: number;
+ limpavel?: boolean;
+ erro?: boolean;
+ mensagensErro?: string | string[];
+ dica?: string;
+ dicaPersistente?: boolean;
+ densidade?: import("../../tipos").CampoDensidade;
+ variante?: import("../../tipos").CampoVariante;
+ };
+}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
+ "update:value": (_v: EntradaParagrafo["value"]) => true;
+ input: (_v: EntradaParagrafo["value"]) => true;
+ change: (_v: EntradaParagrafo["value"]) => true;
+ focus: () => true;
+ blur: () => true;
+}, string, import("vue").PublicProps, Readonly;
+ default: undefined;
+ };
+ opcoes: {
+ type: PropType;
+ required: true;
+ };
+}>> & Readonly<{
+ "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined;
+ onInput?: ((_v: string | null | undefined) => any) | undefined;
+ onChange?: ((_v: string | null | undefined) => any) | undefined;
+ onFocus?: (() => any) | undefined;
+ onBlur?: (() => any) | undefined;
+}>, {
+ value: string | null | undefined;
+}, {}, {
+ VTextarea: {
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
+ focused: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ tile: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ clearable: boolean;
+ clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue;
+ active: boolean;
+ dirty: boolean;
+ disabled: boolean;
+ glow: boolean;
+ error: boolean;
+ flat: boolean;
+ persistentClear: boolean;
+ reverse: boolean;
+ singleLine: boolean;
+ variant: "filled" | "outlined" | "plain" | "solo" | "solo-filled" | "solo-inverted" | "underlined";
+ autoGrow: boolean;
+ autofocus: boolean;
+ persistentPlaceholder: boolean;
+ persistentCounter: boolean;
+ noResize: boolean;
+ rows: string | number;
+ } & {
+ theme?: string | undefined;
+ class?: any;
+ "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
+ name?: string | undefined;
+ modelValue?: any;
+ validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
+ validationValue?: any;
+ rounded?: string | number | boolean | undefined;
+ maxWidth?: string | number | undefined;
+ minWidth?: string | number | undefined;
+ width?: string | number | undefined;
+ loading?: string | boolean | undefined;
+ id?: string | undefined;
+ appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ hideDetails?: "auto" | boolean | undefined;
+ hint?: string | undefined;
+ "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
+ appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ bgColor?: string | undefined;
+ centerAffix?: boolean | undefined;
+ color?: string | undefined;
+ baseColor?: string | undefined;
+ iconColor?: string | boolean | undefined;
+ label?: string | undefined;
+ prependInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ "onClick:clear"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined;
+ autocomplete?: string | undefined;
+ counter?: string | number | true | undefined;
+ counterValue?: ((value: any) => number) | undefined;
+ prefix?: string | undefined;
+ placeholder?: string | undefined;
+ maxHeight?: string | number | undefined;
+ maxRows?: string | number | undefined;
+ suffix?: string | undefined;
+ modelModifiers?: Record | undefined;
+ } & {
+ $children?: {
+ prepend?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ append?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ details?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ message?: ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined;
+ clear?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ "prepend-inner"?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ "append-inner"?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ label?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ label: string | undefined;
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined;
+ counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined;
+ } | {
+ $stable?: boolean | undefined;
+ } | {} | import("vue").VNodeChild;
+ "v-slots"?: {
+ prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ details?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ message?: false | ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined;
+ clear?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ "prepend-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ "append-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ label?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ label: string | undefined;
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined;
+ counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined;
+ } | undefined;
+ } & {
+ "v-slot:append"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:append-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:clear"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ label: string | undefined;
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ "v-slot:loader"?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined;
+ "v-slot:message"?: false | ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:prepend"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:prepend-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ } & {
+ "onClick:control"?: ((e: MouseEvent) => any) | undefined;
+ "onMousedown:control"?: ((e: MouseEvent) => any) | undefined;
+ "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
+ "onUpdate:modelValue"?: ((val: string) => any) | undefined;
+ "onUpdate:rows"?: ((rows: number) => any) | undefined;
+ }, HTMLTextAreaElement & Omit | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ centerAffix: boolean;
+ glow: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ }> & Omit<{
+ theme?: string | undefined;
+ class?: any;
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
+ focused: boolean;
+ "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
+ disabled: boolean | null;
+ error: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ name?: string | undefined;
+ label?: string | undefined;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
+ validationValue?: any;
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ maxWidth?: string | number | undefined;
+ minWidth?: string | number | undefined;
+ width?: string | number | undefined;
+ id?: string | undefined;
+ appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ baseColor?: string | undefined;
+ centerAffix: boolean;
+ color?: string | undefined;
+ glow: boolean;
+ iconColor?: string | boolean | undefined;
+ prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ hideDetails?: "auto" | boolean | undefined;
+ hideSpinButtons: boolean;
+ hint?: string | undefined;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "centerAffix" | "density" | "direction" | "disabled" | "error" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "style">;
+ $attrs: {
+ [x: string]: unknown;
+ };
+ $refs: {
+ [x: string]: unknown;
+ };
+ $slots: Readonly<{
+ default?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[]) | undefined;
+ prepend?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[]) | undefined;
+ append?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[]) | undefined;
+ details?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[]) | undefined;
+ message?: ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNode[]) | undefined;
+ }>;
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null;
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null;
+ $host: Element | null;
+ $emit: (event: string, ...args: any[]) => void;
+ $el: any;
+ $options: import("vue").ComponentOptionsBase<{
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
+ focused: boolean;
+ disabled: boolean | null;
+ error: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ centerAffix: boolean;
+ glow: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ } & {
+ theme?: string | undefined;
+ class?: any;
+ "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
+ name?: string | undefined;
+ label?: string | undefined;
+ validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
+ validationValue?: any;
+ maxWidth?: string | number | undefined;
+ minWidth?: string | number | undefined;
+ width?: string | number | undefined;
+ id?: string | undefined;
+ appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ baseColor?: string | undefined;
+ color?: string | undefined;
+ iconColor?: string | boolean | undefined;
+ prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ hideDetails?: "auto" | boolean | undefined;
+ hint?: string | undefined;
+ "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
+ } & {}, {
+ reset: () => Promise;
+ resetValidation: () => Promise;
+ validate: (silent?: boolean) => Promise;
+ isValid: import("vue").ComputedRef;
+ errorMessages: import("vue").ComputedRef;
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Omit<{
+ "update:modelValue": (value: any) => true;
+ }, "$children" | "modelValue" | "update:modelValue" | "v-slot:append" | "v-slot:default" | "v-slot:details" | "v-slot:message" | "v-slot:prepend" | "v-slots">, string, {
+ style: import("vue").StyleValue;
+ focused: boolean;
+ disabled: boolean | null;
+ error: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ centerAffix: boolean;
+ glow: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ }, {}, string, import("vue").SlotsType import("vue").VNode[];
+ prepend: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
+ append: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
+ details: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
+ message: (arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNode[];
+ }>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
+ beforeCreate?: ((() => void)[] | (() => void)) | undefined;
+ created?: ((() => void)[] | (() => void)) | undefined;
+ beforeMount?: ((() => void)[] | (() => void)) | undefined;
+ mounted?: ((() => void)[] | (() => void)) | undefined;
+ beforeUpdate?: ((() => void)[] | (() => void)) | undefined;
+ updated?: ((() => void)[] | (() => void)) | undefined;
+ activated?: ((() => void)[] | (() => void)) | undefined;
+ deactivated?: ((() => void)[] | (() => void)) | undefined;
+ beforeDestroy?: ((() => void)[] | (() => void)) | undefined;
+ beforeUnmount?: ((() => void)[] | (() => void)) | undefined;
+ destroyed?: ((() => void)[] | (() => void)) | undefined;
+ unmounted?: ((() => void)[] | (() => void)) | undefined;
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void)[] | ((e: import("vue").DebuggerEvent) => void)) | undefined;
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void)[] | ((e: import("vue").DebuggerEvent) => void)) | undefined;
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null, info: string) => void | boolean)[] | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null, info: string) => void | boolean)) | undefined;
+ };
+ $forceUpdate: () => void;
+ $nextTick: typeof import("vue").nextTick;
+ $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions | undefined): import("vue").WatchStopHandle;
+ } & Readonly<{
+ style: import("vue").StyleValue;
+ focused: boolean;
+ disabled: boolean | null;
+ error: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ centerAffix: boolean;
+ glow: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ }> & Omit<{
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
+ focused: boolean;
+ disabled: boolean | null;
+ error: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ centerAffix: boolean;
+ glow: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ } & {
+ theme?: string | undefined;
+ class?: any;
+ "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
+ name?: string | undefined;
+ label?: string | undefined;
+ validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
+ validationValue?: any;
+ maxWidth?: string | number | undefined;
+ minWidth?: string | number | undefined;
+ width?: string | number | undefined;
+ id?: string | undefined;
+ appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ baseColor?: string | undefined;
+ color?: string | undefined;
+ iconColor?: string | boolean | undefined;
+ prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ hideDetails?: "auto" | boolean | undefined;
+ hint?: string | undefined;
+ "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
+ } & {}, "isValid" | "reset" | "resetValidation" | "validate" | ("centerAffix" | "density" | "direction" | "disabled" | "error" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "style")> & import("vue").ShallowUnwrapRef<{
+ reset: () => Promise;
+ resetValidation: () => Promise;
+ validate: (silent?: boolean) => Promise;
+ isValid: import("vue").ComputedRef;
+ errorMessages: import("vue").ComputedRef;
+ }> & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{
+ modelValue?: unknown;
+ "onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
+ }, import("vuetify/lib/components/VInput/VInput.mjs").VInputSlots>, "$children" | "appendIcon" | "baseColor" | "class" | "color" | "hideDetails" | "hint" | "iconColor" | "id" | "label" | "maxWidth" | "minWidth" | "modelValue" | "name" | "onClick:append" | "onClick:prepend" | "onUpdate:focused" | "onUpdate:modelValue" | "prependIcon" | "theme" | "v-slot:append" | "v-slot:default" | "v-slot:details" | "v-slot:message" | "v-slot:prepend" | "v-slots" | "validateOn" | "validationValue" | "width" | ("centerAffix" | "density" | "direction" | "disabled" | "error" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "style") | keyof import("vue").VNodeProps>, `$${any}`> & {
+ _allExposed: {
+ reset: () => Promise;
+ resetValidation: () => Promise;
+ validate: (silent?: boolean) => Promise;
+ isValid: import("vue").ComputedRef;
+ errorMessages: import("vue").ComputedRef;
+ } | {};
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
+ "click:control": (e: MouseEvent) => true;
+ "mousedown:control": (e: MouseEvent) => true;
+ "update:focused": (focused: boolean) => true;
+ "update:modelValue": (val: string) => true;
+ "update:rows": (rows: number) => true;
+ }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
+ style: import("vue").StyleValue;
+ focused: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ rounded: string | number | boolean;
+ tile: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ clearable: boolean;
+ clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue;
+ active: boolean;
+ centerAffix: boolean;
+ dirty: boolean;
+ disabled: boolean;
+ glow: boolean;
+ error: boolean;
+ flat: boolean;
+ persistentClear: boolean;
+ reverse: boolean;
+ singleLine: boolean;
+ variant: "filled" | "outlined" | "plain" | "solo" | "solo-filled" | "solo-inverted" | "underlined";
+ autoGrow: boolean;
+ autofocus: boolean;
+ persistentPlaceholder: boolean;
+ persistentCounter: boolean;
+ noResize: boolean;
+ rows: string | number;
+ }, true, {}, import("vue").SlotsType import("vue").VNode[];
+ append: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
+ details: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
+ message: (arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNode[];
+ clear: (arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ props: Record;
+ }) => import("vue").VNode[];
+ "prepend-inner": (arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNode[];
+ "append-inner": (arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNode[];
+ label: (arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ label: string | undefined;
+ props: Record;
+ }) => import("vue").VNode[];
+ loader: (arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNode[];
+ counter: (arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNode[];
+ }>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
+ P: {};
+ B: {};
+ D: {};
+ C: {};
+ M: {};
+ Defaults: {};
+ }, {
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
+ focused: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ tile: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ clearable: boolean;
+ clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue;
+ active: boolean;
+ dirty: boolean;
+ disabled: boolean;
+ glow: boolean;
+ error: boolean;
+ flat: boolean;
+ persistentClear: boolean;
+ reverse: boolean;
+ singleLine: boolean;
+ variant: "filled" | "outlined" | "plain" | "solo" | "solo-filled" | "solo-inverted" | "underlined";
+ autoGrow: boolean;
+ autofocus: boolean;
+ persistentPlaceholder: boolean;
+ persistentCounter: boolean;
+ noResize: boolean;
+ rows: string | number;
+ } & {
+ theme?: string | undefined;
+ class?: any;
+ "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
+ name?: string | undefined;
+ modelValue?: any;
+ validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
+ validationValue?: any;
+ rounded?: string | number | boolean | undefined;
+ maxWidth?: string | number | undefined;
+ minWidth?: string | number | undefined;
+ width?: string | number | undefined;
+ loading?: string | boolean | undefined;
+ id?: string | undefined;
+ appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ hideDetails?: "auto" | boolean | undefined;
+ hint?: string | undefined;
+ "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
+ appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ bgColor?: string | undefined;
+ centerAffix?: boolean | undefined;
+ color?: string | undefined;
+ baseColor?: string | undefined;
+ iconColor?: string | boolean | undefined;
+ label?: string | undefined;
+ prependInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ "onClick:clear"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined;
+ autocomplete?: string | undefined;
+ counter?: string | number | true | undefined;
+ counterValue?: ((value: any) => number) | undefined;
+ prefix?: string | undefined;
+ placeholder?: string | undefined;
+ maxHeight?: string | number | undefined;
+ maxRows?: string | number | undefined;
+ suffix?: string | undefined;
+ modelModifiers?: Record | undefined;
+ } & {
+ $children?: {
+ prepend?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ append?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ details?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ message?: ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined;
+ clear?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ "prepend-inner"?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ "append-inner"?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ label?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ label: string | undefined;
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined;
+ counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined;
+ } | {
+ $stable?: boolean | undefined;
+ } | {} | import("vue").VNodeChild;
+ "v-slots"?: {
+ prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ details?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ message?: false | ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined;
+ clear?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ "prepend-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ "append-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ label?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ label: string | undefined;
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined;
+ counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined;
+ } | undefined;
+ } & {
+ "v-slot:append"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:append-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:clear"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ label: string | undefined;
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ "v-slot:loader"?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined;
+ "v-slot:message"?: false | ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:prepend"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:prepend-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ } & {
+ "onClick:control"?: ((e: MouseEvent) => any) | undefined;
+ "onMousedown:control"?: ((e: MouseEvent) => any) | undefined;
+ "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
+ "onUpdate:modelValue"?: ((val: string) => any) | undefined;
+ "onUpdate:rows"?: ((rows: number) => any) | undefined;
+ }, HTMLTextAreaElement & Omit | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ centerAffix: boolean;
+ glow: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ }> & Omit<{
+ theme?: string | undefined;
+ class?: any;
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
+ focused: boolean;
+ "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
+ disabled: boolean | null;
+ error: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ name?: string | undefined;
+ label?: string | undefined;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
+ validationValue?: any;
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ maxWidth?: string | number | undefined;
+ minWidth?: string | number | undefined;
+ width?: string | number | undefined;
+ id?: string | undefined;
+ appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ baseColor?: string | undefined;
+ centerAffix: boolean;
+ color?: string | undefined;
+ glow: boolean;
+ iconColor?: string | boolean | undefined;
+ prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ hideDetails?: "auto" | boolean | undefined;
+ hideSpinButtons: boolean;
+ hint?: string | undefined;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "centerAffix" | "density" | "direction" | "disabled" | "error" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "style">;
+ $attrs: {
+ [x: string]: unknown;
+ };
+ $refs: {
+ [x: string]: unknown;
+ };
+ $slots: Readonly<{
+ default?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[]) | undefined;
+ prepend?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[]) | undefined;
+ append?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[]) | undefined;
+ details?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[]) | undefined;
+ message?: ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNode[]) | undefined;
+ }>;
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null;
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null;
+ $host: Element | null;
+ $emit: (event: string, ...args: any[]) => void;
+ $el: any;
+ $options: import("vue").ComponentOptionsBase<{
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
+ focused: boolean;
+ disabled: boolean | null;
+ error: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ centerAffix: boolean;
+ glow: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ } & {
+ theme?: string | undefined;
+ class?: any;
+ "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
+ name?: string | undefined;
+ label?: string | undefined;
+ validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
+ validationValue?: any;
+ maxWidth?: string | number | undefined;
+ minWidth?: string | number | undefined;
+ width?: string | number | undefined;
+ id?: string | undefined;
+ appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ baseColor?: string | undefined;
+ color?: string | undefined;
+ iconColor?: string | boolean | undefined;
+ prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ hideDetails?: "auto" | boolean | undefined;
+ hint?: string | undefined;
+ "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
+ } & {}, {
+ reset: () => Promise;
+ resetValidation: () => Promise;
+ validate: (silent?: boolean) => Promise;
+ isValid: import("vue").ComputedRef;
+ errorMessages: import("vue").ComputedRef;
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Omit<{
+ "update:modelValue": (value: any) => true;
+ }, "$children" | "modelValue" | "update:modelValue" | "v-slot:append" | "v-slot:default" | "v-slot:details" | "v-slot:message" | "v-slot:prepend" | "v-slots">, string, {
+ style: import("vue").StyleValue;
+ focused: boolean;
+ disabled: boolean | null;
+ error: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ centerAffix: boolean;
+ glow: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ }, {}, string, import("vue").SlotsType import("vue").VNode[];
+ prepend: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
+ append: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
+ details: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
+ message: (arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNode[];
+ }>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
+ beforeCreate?: ((() => void)[] | (() => void)) | undefined;
+ created?: ((() => void)[] | (() => void)) | undefined;
+ beforeMount?: ((() => void)[] | (() => void)) | undefined;
+ mounted?: ((() => void)[] | (() => void)) | undefined;
+ beforeUpdate?: ((() => void)[] | (() => void)) | undefined;
+ updated?: ((() => void)[] | (() => void)) | undefined;
+ activated?: ((() => void)[] | (() => void)) | undefined;
+ deactivated?: ((() => void)[] | (() => void)) | undefined;
+ beforeDestroy?: ((() => void)[] | (() => void)) | undefined;
+ beforeUnmount?: ((() => void)[] | (() => void)) | undefined;
+ destroyed?: ((() => void)[] | (() => void)) | undefined;
+ unmounted?: ((() => void)[] | (() => void)) | undefined;
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void)[] | ((e: import("vue").DebuggerEvent) => void)) | undefined;
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void)[] | ((e: import("vue").DebuggerEvent) => void)) | undefined;
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null, info: string) => void | boolean)[] | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null, info: string) => void | boolean)) | undefined;
+ };
+ $forceUpdate: () => void;
+ $nextTick: typeof import("vue").nextTick;
+ $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions | undefined): import("vue").WatchStopHandle;
+ } & Readonly<{
+ style: import("vue").StyleValue;
+ focused: boolean;
+ disabled: boolean | null;
+ error: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ centerAffix: boolean;
+ glow: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ }> & Omit<{
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
+ focused: boolean;
+ disabled: boolean | null;
+ error: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ centerAffix: boolean;
+ glow: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ } & {
+ theme?: string | undefined;
+ class?: any;
+ "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
+ name?: string | undefined;
+ label?: string | undefined;
+ validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
+ validationValue?: any;
+ maxWidth?: string | number | undefined;
+ minWidth?: string | number | undefined;
+ width?: string | number | undefined;
+ id?: string | undefined;
+ appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ baseColor?: string | undefined;
+ color?: string | undefined;
+ iconColor?: string | boolean | undefined;
+ prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ hideDetails?: "auto" | boolean | undefined;
+ hint?: string | undefined;
+ "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
+ } & {}, "isValid" | "reset" | "resetValidation" | "validate" | ("centerAffix" | "density" | "direction" | "disabled" | "error" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "style")> & import("vue").ShallowUnwrapRef<{
+ reset: () => Promise;
+ resetValidation: () => Promise;
+ validate: (silent?: boolean) => Promise;
+ isValid: import("vue").ComputedRef;
+ errorMessages: import("vue").ComputedRef;
+ }> & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{
+ modelValue?: unknown;
+ "onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
+ }, import("vuetify/lib/components/VInput/VInput.mjs").VInputSlots>, "$children" | "appendIcon" | "baseColor" | "class" | "color" | "hideDetails" | "hint" | "iconColor" | "id" | "label" | "maxWidth" | "minWidth" | "modelValue" | "name" | "onClick:append" | "onClick:prepend" | "onUpdate:focused" | "onUpdate:modelValue" | "prependIcon" | "theme" | "v-slot:append" | "v-slot:default" | "v-slot:details" | "v-slot:message" | "v-slot:prepend" | "v-slots" | "validateOn" | "validationValue" | "width" | ("centerAffix" | "density" | "direction" | "disabled" | "error" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "style") | keyof import("vue").VNodeProps>, `$${any}`> & {
+ _allExposed: {
+ reset: () => Promise;
+ resetValidation: () => Promise;
+ validate: (silent?: boolean) => Promise;
+ isValid: import("vue").ComputedRef;
+ errorMessages: import("vue").ComputedRef;
+ } | {};
+ }, {}, {}, {}, {
+ style: import("vue").StyleValue;
+ focused: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ rounded: string | number | boolean;
+ tile: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ clearable: boolean;
+ clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue;
+ active: boolean;
+ centerAffix: boolean;
+ dirty: boolean;
+ disabled: boolean;
+ glow: boolean;
+ error: boolean;
+ flat: boolean;
+ persistentClear: boolean;
+ reverse: boolean;
+ singleLine: boolean;
+ variant: "filled" | "outlined" | "plain" | "solo" | "solo-filled" | "solo-inverted" | "underlined";
+ autoGrow: boolean;
+ autofocus: boolean;
+ persistentPlaceholder: boolean;
+ persistentCounter: boolean;
+ noResize: boolean;
+ rows: string | number;
+ }>;
+ __isFragment?: undefined;
+ __isTeleport?: undefined;
+ __isSuspense?: undefined;
+ } & import("vue").ComponentOptionsBase<{
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
+ focused: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ tile: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ clearable: boolean;
+ clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue;
+ active: boolean;
+ dirty: boolean;
+ disabled: boolean;
+ glow: boolean;
+ error: boolean;
+ flat: boolean;
+ persistentClear: boolean;
+ reverse: boolean;
+ singleLine: boolean;
+ variant: "filled" | "outlined" | "plain" | "solo" | "solo-filled" | "solo-inverted" | "underlined";
+ autoGrow: boolean;
+ autofocus: boolean;
+ persistentPlaceholder: boolean;
+ persistentCounter: boolean;
+ noResize: boolean;
+ rows: string | number;
+ } & {
+ theme?: string | undefined;
+ class?: any;
+ "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
+ name?: string | undefined;
+ modelValue?: any;
+ validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
+ validationValue?: any;
+ rounded?: string | number | boolean | undefined;
+ maxWidth?: string | number | undefined;
+ minWidth?: string | number | undefined;
+ width?: string | number | undefined;
+ loading?: string | boolean | undefined;
+ id?: string | undefined;
+ appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ hideDetails?: "auto" | boolean | undefined;
+ hint?: string | undefined;
+ "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
+ appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ bgColor?: string | undefined;
+ centerAffix?: boolean | undefined;
+ color?: string | undefined;
+ baseColor?: string | undefined;
+ iconColor?: string | boolean | undefined;
+ label?: string | undefined;
+ prependInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ "onClick:clear"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined;
+ autocomplete?: string | undefined;
+ counter?: string | number | true | undefined;
+ counterValue?: ((value: any) => number) | undefined;
+ prefix?: string | undefined;
+ placeholder?: string | undefined;
+ maxHeight?: string | number | undefined;
+ maxRows?: string | number | undefined;
+ suffix?: string | undefined;
+ modelModifiers?: Record | undefined;
+ } & {
+ $children?: {
+ prepend?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ append?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ details?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ message?: ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined;
+ clear?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ "prepend-inner"?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ "append-inner"?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ label?: ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ label: string | undefined;
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined;
+ counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined;
+ } | {
+ $stable?: boolean | undefined;
+ } | {} | import("vue").VNodeChild;
+ "v-slots"?: {
+ prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ details?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ message?: false | ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined;
+ clear?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ "prepend-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ "append-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ label?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ label: string | undefined;
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined;
+ counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined;
+ } | undefined;
+ } & {
+ "v-slot:append"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:append-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:clear"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ label: string | undefined;
+ props: Record;
+ }) => import("vue").VNodeChild) | undefined;
+ "v-slot:loader"?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined;
+ "v-slot:message"?: false | ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:prepend"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined;
+ "v-slot:prepend-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined;
+ } & {
+ "onClick:control"?: ((e: MouseEvent) => any) | undefined;
+ "onMousedown:control"?: ((e: MouseEvent) => any) | undefined;
+ "onUpdate:focused"?: ((focused: boolean) => any) | undefined;
+ "onUpdate:modelValue"?: ((val: string) => any) | undefined;
+ "onUpdate:rows"?: ((rows: number) => any) | undefined;
+ }, HTMLTextAreaElement & Omit | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ centerAffix: boolean;
+ glow: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ }> & Omit<{
+ theme?: string | undefined;
+ class?: any;
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
+ focused: boolean;
+ "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
+ disabled: boolean | null;
+ error: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ name?: string | undefined;
+ label?: string | undefined;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
+ validationValue?: any;
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ maxWidth?: string | number | undefined;
+ minWidth?: string | number | undefined;
+ width?: string | number | undefined;
+ id?: string | undefined;
+ appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ baseColor?: string | undefined;
+ centerAffix: boolean;
+ color?: string | undefined;
+ glow: boolean;
+ iconColor?: string | boolean | undefined;
+ prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ hideDetails?: "auto" | boolean | undefined;
+ hideSpinButtons: boolean;
+ hint?: string | undefined;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "centerAffix" | "density" | "direction" | "disabled" | "error" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "style">;
+ $attrs: {
+ [x: string]: unknown;
+ };
+ $refs: {
+ [x: string]: unknown;
+ };
+ $slots: Readonly<{
+ default?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[]) | undefined;
+ prepend?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[]) | undefined;
+ append?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[]) | undefined;
+ details?: ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[]) | undefined;
+ message?: ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNode[]) | undefined;
+ }>;
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null;
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null;
+ $host: Element | null;
+ $emit: (event: string, ...args: any[]) => void;
+ $el: any;
+ $options: import("vue").ComponentOptionsBase<{
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
+ focused: boolean;
+ disabled: boolean | null;
+ error: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ centerAffix: boolean;
+ glow: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ } & {
+ theme?: string | undefined;
+ class?: any;
+ "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
+ name?: string | undefined;
+ label?: string | undefined;
+ validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
+ validationValue?: any;
+ maxWidth?: string | number | undefined;
+ minWidth?: string | number | undefined;
+ width?: string | number | undefined;
+ id?: string | undefined;
+ appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ baseColor?: string | undefined;
+ color?: string | undefined;
+ iconColor?: string | boolean | undefined;
+ prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ hideDetails?: "auto" | boolean | undefined;
+ hint?: string | undefined;
+ "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
+ } & {}, {
+ reset: () => Promise;
+ resetValidation: () => Promise;
+ validate: (silent?: boolean) => Promise;
+ isValid: import("vue").ComputedRef;
+ errorMessages: import("vue").ComputedRef;
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Omit<{
+ "update:modelValue": (value: any) => true;
+ }, "$children" | "modelValue" | "update:modelValue" | "v-slot:append" | "v-slot:default" | "v-slot:details" | "v-slot:message" | "v-slot:prepend" | "v-slots">, string, {
+ style: import("vue").StyleValue;
+ focused: boolean;
+ disabled: boolean | null;
+ error: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ centerAffix: boolean;
+ glow: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ }, {}, string, import("vue").SlotsType import("vue").VNode[];
+ prepend: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
+ append: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
+ details: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
+ message: (arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNode[];
+ }>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
+ beforeCreate?: ((() => void)[] | (() => void)) | undefined;
+ created?: ((() => void)[] | (() => void)) | undefined;
+ beforeMount?: ((() => void)[] | (() => void)) | undefined;
+ mounted?: ((() => void)[] | (() => void)) | undefined;
+ beforeUpdate?: ((() => void)[] | (() => void)) | undefined;
+ updated?: ((() => void)[] | (() => void)) | undefined;
+ activated?: ((() => void)[] | (() => void)) | undefined;
+ deactivated?: ((() => void)[] | (() => void)) | undefined;
+ beforeDestroy?: ((() => void)[] | (() => void)) | undefined;
+ beforeUnmount?: ((() => void)[] | (() => void)) | undefined;
+ destroyed?: ((() => void)[] | (() => void)) | undefined;
+ unmounted?: ((() => void)[] | (() => void)) | undefined;
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void)[] | ((e: import("vue").DebuggerEvent) => void)) | undefined;
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void)[] | ((e: import("vue").DebuggerEvent) => void)) | undefined;
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null, info: string) => void | boolean)[] | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null, info: string) => void | boolean)) | undefined;
+ };
+ $forceUpdate: () => void;
+ $nextTick: typeof import("vue").nextTick;
+ $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions | undefined): import("vue").WatchStopHandle;
+ } & Readonly<{
+ style: import("vue").StyleValue;
+ focused: boolean;
+ disabled: boolean | null;
+ error: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ centerAffix: boolean;
+ glow: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ }> & Omit<{
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
+ focused: boolean;
+ disabled: boolean | null;
+ error: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ centerAffix: boolean;
+ glow: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ } & {
+ theme?: string | undefined;
+ class?: any;
+ "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
+ name?: string | undefined;
+ label?: string | undefined;
+ validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
+ validationValue?: any;
+ maxWidth?: string | number | undefined;
+ minWidth?: string | number | undefined;
+ width?: string | number | undefined;
+ id?: string | undefined;
+ appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ baseColor?: string | undefined;
+ color?: string | undefined;
+ iconColor?: string | boolean | undefined;
+ prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ hideDetails?: "auto" | boolean | undefined;
+ hint?: string | undefined;
+ "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
+ }, "disabled" | "style" | "density" | "error" | "direction" | "reset" | "isValid" | "resetValidation" | "validate" | "centerAffix" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules"> & import("vue").ShallowUnwrapRef<{
+ reset: () => Promise;
+ resetValidation: () => Promise;
+ validate: (silent?: boolean) => Promise;
+ isValid: import("vue").ComputedRef;
+ errorMessages: import("vue").ComputedRef;
+ }> & import("vue").ComponentCustomProperties & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{
+ modelValue?: unknown;
+ "onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
+ }, import("vuetify/lib/components/VInput/VInput.mjs").VInputSlots>, "name" | "color" | "disabled" | keyof import("vue").VNodeProps | "class" | "style" | "label" | "density" | "error" | "id" | "width" | "direction" | "theme" | "appendIcon" | "baseColor" | "prependIcon" | "modelValue" | "$children" | "v-slots" | "v-slot:append" | "v-slot:default" | "v-slot:prepend" | "onUpdate:modelValue" | "centerAffix" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "onUpdate:focused" | "validateOn" | "validationValue" | "maxWidth" | "minWidth" | "iconColor" | "hideDetails" | "hint" | "onClick:prepend" | "onClick:append" | "v-slot:details" | "v-slot:message">, `$${any}`> & {
+ _allExposed: {
+ reset: () => Promise;
+ resetValidation: () => Promise;
+ validate: (silent?: boolean) => Promise;
+ isValid: import("vue").ComputedRef;
+ errorMessages: import("vue").ComputedRef;
+ } | {};
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
+ "click:control": (e: MouseEvent) => true;
+ "mousedown:control": (e: MouseEvent) => true;
+ "update:focused": (focused: boolean) => true;
+ "update:modelValue": (val: string) => true;
+ "update:rows": (rows: number) => true;
+ }, string, {
+ style: import("vue").StyleValue;
+ focused: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ rounded: string | number | boolean;
+ tile: boolean;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ clearable: boolean;
+ clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue;
+ active: boolean;
+ centerAffix: boolean;
+ dirty: boolean;
+ disabled: boolean;
+ glow: boolean;
+ error: boolean;
+ flat: boolean;
+ persistentClear: boolean;
+ reverse: boolean;
+ singleLine: boolean;
+ variant: "filled" | "outlined" | "plain" | "solo" | "solo-filled" | "solo-inverted" | "underlined";
+ autoGrow: boolean;
+ autofocus: boolean;
+ persistentPlaceholder: boolean;
+ persistentCounter: boolean;
+ noResize: boolean;
+ rows: string | number;
+ }, {}, string, import("vue").SlotsType import("vue").VNode[];
+ append: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
+ details: (arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNode[];
+ message: (arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNode[];
+ clear: (arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ props: Record;
+ }) => import("vue").VNode[];
+ "prepend-inner": (arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNode[];
+ "append-inner": (arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNode[];
+ label: (arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & {
+ label: string | undefined;
+ props: Record;
+ }) => import("vue").VNode[];
+ loader: (arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNode[];
+ counter: (arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNode[];
+ }>>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vuetify/lib/util/defineComponent.mjs").FilterPropsOptions<{
+ theme: StringConstructor;
+ class: PropType;
+ style: {
+ type: PropType;
+ default: null;
+ };
+ focused: BooleanConstructor;
+ "onUpdate:focused": PropType<(args_0: boolean) => void>;
+ errorMessages: {
+ type: PropType;
+ default: () => never[];
+ };
+ maxErrors: {
+ type: (NumberConstructor | StringConstructor)[];
+ default: number;
+ };
+ name: StringConstructor;
+ readonly: {
+ type: PropType;
+ default: null;
+ };
+ rules: {
+ type: PropType | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[]>;
+ default: () => never[];
+ };
+ modelValue: null;
+ validateOn: PropType<("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined>;
+ validationValue: null;
+ density: {
+ type: PropType;
+ default: string;
+ validator: (v: any) => boolean;
+ };
+ rounded: {
+ type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
+ default: undefined;
+ };
+ tile: BooleanConstructor;
+ maxWidth: (NumberConstructor | StringConstructor)[];
+ minWidth: (NumberConstructor | StringConstructor)[];
+ width: (NumberConstructor | StringConstructor)[];
+ loading: (BooleanConstructor | StringConstructor)[];
+ id: StringConstructor;
+ appendIcon: PropType;
+ prependIcon: PropType;
+ hideDetails: PropType<"auto" | boolean>;
+ hideSpinButtons: BooleanConstructor;
+ hint: StringConstructor;
+ persistentHint: BooleanConstructor;
+ messages: {
+ type: PropType;
+ default: () => never[];
+ };
+ direction: {
+ type: PropType<"horizontal" | "vertical">;
+ default: string;
+ validator: (v: any) => boolean;
+ };
+ "onClick:prepend": PropType<(args_0: MouseEvent) => void>;
+ "onClick:append": PropType<(args_0: MouseEvent) => void>;
+ appendInnerIcon: PropType;
+ bgColor: StringConstructor;
+ clearable: BooleanConstructor;
+ clearIcon: {
+ type: PropType;
+ default: string;
+ };
+ active: BooleanConstructor;
+ centerAffix: {
+ type: BooleanConstructor;
+ default: undefined;
+ };
+ color: StringConstructor;
+ baseColor: StringConstructor;
+ dirty: BooleanConstructor;
+ disabled: {
+ type: BooleanConstructor;
+ default: null;
+ };
+ glow: BooleanConstructor;
+ error: BooleanConstructor;
+ flat: BooleanConstructor;
+ iconColor: (BooleanConstructor | StringConstructor)[];
+ label: StringConstructor;
+ persistentClear: BooleanConstructor;
+ prependInnerIcon: PropType;
+ reverse: BooleanConstructor;
+ singleLine: BooleanConstructor;
+ variant: {
+ type: PropType<"filled" | "outlined" | "plain" | "solo" | "solo-filled" | "solo-inverted" | "underlined">;
+ default: string;
+ validator: (v: any) => boolean;
+ };
+ "onClick:clear": PropType<(args_0: MouseEvent) => void>;
+ "onClick:appendInner": PropType<(args_0: MouseEvent) => void>;
+ "onClick:prependInner": PropType<(args_0: MouseEvent) => void>;
+ autocomplete: PropType;
+ autoGrow: BooleanConstructor;
+ autofocus: BooleanConstructor;
+ counter: PropType;
+ counterValue: PropType<(value: any) => number>;
+ prefix: StringConstructor;
+ placeholder: StringConstructor;
+ persistentPlaceholder: BooleanConstructor;
+ persistentCounter: BooleanConstructor;
+ noResize: BooleanConstructor;
+ rows: {
+ type: (NumberConstructor | StringConstructor)[];
+ default: number;
+ validator: (v: any) => boolean;
+ };
+ maxHeight: {
+ type: (NumberConstructor | StringConstructor)[];
+ validator: (v: any) => boolean;
+ };
+ maxRows: {
+ type: (NumberConstructor | StringConstructor)[];
+ validator: (v: any) => boolean;
+ };
+ suffix: StringConstructor;
+ modelModifiers: PropType>;
+ }, import("vue").ExtractPropTypes<{
+ theme: StringConstructor;
+ class: PropType;
+ style: {
+ type: PropType;
+ default: null;
+ };
+ focused: BooleanConstructor;
+ "onUpdate:focused": PropType<(args_0: boolean) => void>;
+ errorMessages: {
+ type: PropType;
+ default: () => never[];
+ };
+ maxErrors: {
+ type: (NumberConstructor | StringConstructor)[];
+ default: number;
+ };
+ name: StringConstructor;
+ readonly: {
+ type: PropType;
+ default: null;
+ };
+ rules: {
+ type: PropType | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[]>;
+ default: () => never[];
+ };
+ modelValue: null;
+ validateOn: PropType<("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined>;
+ validationValue: null;
+ density: {
+ type: PropType;
+ default: string;
+ validator: (v: any) => boolean;
+ };
+ rounded: {
+ type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
+ default: undefined;
+ };
+ tile: BooleanConstructor;
+ maxWidth: (NumberConstructor | StringConstructor)[];
+ minWidth: (NumberConstructor | StringConstructor)[];
+ width: (NumberConstructor | StringConstructor)[];
+ loading: (BooleanConstructor | StringConstructor)[];
+ id: StringConstructor;
+ appendIcon: PropType;
+ prependIcon: PropType;
+ hideDetails: PropType<"auto" | boolean>;
+ hideSpinButtons: BooleanConstructor;
+ hint: StringConstructor;
+ persistentHint: BooleanConstructor;
+ messages: {
+ type: PropType;
+ default: () => never[];
+ };
+ direction: {
+ type: PropType<"horizontal" | "vertical">;
+ default: string;
+ validator: (v: any) => boolean;
+ };
+ "onClick:prepend": PropType<(args_0: MouseEvent) => void>;
+ "onClick:append": PropType<(args_0: MouseEvent) => void>;
+ appendInnerIcon: PropType;
+ bgColor: StringConstructor;
+ clearable: BooleanConstructor;
+ clearIcon: {
+ type: PropType;
+ default: string;
+ };
+ active: BooleanConstructor;
+ centerAffix: {
+ type: BooleanConstructor;
+ default: undefined;
+ };
+ color: StringConstructor;
+ baseColor: StringConstructor;
+ dirty: BooleanConstructor;
+ disabled: {
+ type: BooleanConstructor;
+ default: null;
+ };
+ glow: BooleanConstructor;
+ error: BooleanConstructor;
+ flat: BooleanConstructor;
+ iconColor: (BooleanConstructor | StringConstructor)[];
+ label: StringConstructor;
+ persistentClear: BooleanConstructor;
+ prependInnerIcon: PropType;
+ reverse: BooleanConstructor;
+ singleLine: BooleanConstructor;
+ variant: {
+ type: PropType<"filled" | "outlined" | "plain" | "solo" | "solo-filled" | "solo-inverted" | "underlined">;
+ default: string;
+ validator: (v: any) => boolean;
+ };
+ "onClick:clear": PropType<(args_0: MouseEvent) => void>;
+ "onClick:appendInner": PropType<(args_0: MouseEvent) => void>;
+ "onClick:prependInner": PropType<(args_0: MouseEvent) => void>;
+ autocomplete: PropType;
+ autoGrow: BooleanConstructor;
+ autofocus: BooleanConstructor;
+ counter: PropType;
+ counterValue: PropType<(value: any) => number>;
+ prefix: StringConstructor;
+ placeholder: StringConstructor;
+ persistentPlaceholder: BooleanConstructor;
+ persistentCounter: BooleanConstructor;
+ noResize: BooleanConstructor;
+ rows: {
+ type: (NumberConstructor | StringConstructor)[];
+ default: number;
+ validator: (v: any) => boolean;
+ };
+ maxHeight: {
+ type: (NumberConstructor | StringConstructor)[];
+ validator: (v: any) => boolean;
+ };
+ maxRows: {
+ type: (NumberConstructor | StringConstructor)[];
+ validator: (v: any) => boolean;
+ };
+ suffix: StringConstructor;
+ modelModifiers: PropType>;
+ }>>;
+}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
+declare const _default: typeof __VLS_export;
+export default _default;
diff --git a/dist/types/componentes/EliEntrada/EliEntradaSelecao.vue.d.ts b/dist/types/componentes/EliEntrada/EliEntradaSelecao.vue.d.ts
new file mode 100644
index 0000000..61f0451
--- /dev/null
+++ b/dist/types/componentes/EliEntrada/EliEntradaSelecao.vue.d.ts
@@ -0,0 +1,9858 @@
+import { PropType } from "vue";
+import type { PadroesEntradas } from "./tiposEntradas";
+type EntradaSelecao = PadroesEntradas["selecao"];
+type ItemSelecao = {
+ chave: string;
+ rotulo: string;
+};
+declare const __VLS_export: import("vue").DefineComponent;
+ default: undefined;
+ };
+ opcoes: {
+ type: PropType;
+ required: true;
+ };
+}>, {
+ attrs: {
+ [x: string]: unknown;
+ };
+ emit: ((event: "update:value", _v: string | null | undefined) => void) & ((event: "input", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void);
+ localValue: import("vue").WritableComputedRef;
+ opcoes: {
+ rotulo: string;
+ placeholder?: string;
+ } & {
+ itens: () => {
+ chave: string;
+ rotulo: string;
+ }[] | Promise<{
+ chave: string;
+ rotulo: string;
+ }[]>;
+ limpavel?: boolean;
+ erro?: boolean;
+ mensagensErro?: string | string[];
+ dica?: string;
+ dicaPersistente?: boolean;
+ densidade?: import("../../tipos").CampoDensidade;
+ variante?: import("../../tipos").CampoVariante;
+ };
+ itens: import("vue").Ref<{
+ chave: string;
+ rotulo: string;
+ }[], ItemSelecao[] | {
+ chave: string;
+ rotulo: string;
+ }[]>;
+ carregando: import("vue").Ref;
+}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
+ "update:value": (_v: EntradaSelecao["value"]) => true;
+ input: (_v: EntradaSelecao["value"]) => true;
+ change: (_v: EntradaSelecao["value"]) => true;
+ focus: () => true;
+ blur: () => true;
+}, string, import("vue").PublicProps, Readonly;
+ default: undefined;
+ };
+ opcoes: {
+ type: PropType;
+ required: true;
+ };
+}>> & Readonly<{
+ "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined;
+ onInput?: ((_v: string | null | undefined) => any) | undefined;
+ onChange?: ((_v: string | null | undefined) => any) | undefined;
+ onFocus?: (() => any) | undefined;
+ onBlur?: (() => any) | undefined;
+}>, {
+ value: string | null | undefined;
+}, {}, {
+ VSelect: {
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
+ focused: boolean;
+ errorMessages: string | readonly string[] | null;
+ maxErrors: string | number;
+ readonly: boolean | null;
+ rules: readonly (string | boolean | PromiseLike | ((value: any) => import("vuetify/lib/composables/validation.mjs").ValidationResult) | ((value: any) => PromiseLike) | [string, any, (string | undefined)?])[];
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ tile: boolean;
+ transition: string | boolean | {
+ component: import("vue").Component;
+ } | (import("vue").TransitionProps & {
+ component?: import("vue").Component | undefined;
+ }) | null;
+ hideSpinButtons: boolean;
+ persistentHint: boolean;
+ messages: string | readonly string[];
+ direction: "horizontal" | "vertical";
+ itemChildren: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null;
+ itemType: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null;
+ clearable: boolean;
+ clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue;
+ active: boolean;
+ disabled: boolean;
+ glow: boolean;
+ error: boolean;
+ flat: boolean;
+ persistentClear: boolean;
+ reverse: boolean;
+ singleLine: boolean;
+ variant: "filled" | "outlined" | "plain" | "solo" | "solo-filled" | "solo-inverted" | "underlined";
+ autofocus: boolean;
+ persistentPlaceholder: boolean;
+ persistentCounter: boolean;
+ role: string;
+ type: string;
+ closeText: string;
+ openText: string;
+ chips: boolean;
+ closableChips: boolean;
+ eager: boolean;
+ hideNoData: boolean;
+ hideSelected: boolean;
+ menu: boolean;
+ menuIcon: import("vuetify/lib/composables/icons.mjs").IconValue;
+ noDataText: string;
+ openOnClear: boolean;
+ noAutoScroll: boolean;
+ } & {
+ theme?: string | undefined;
+ class?: any;
+ "onUpdate:focused"?: ((args_0: boolean) => void) | undefined;
+ name?: string | undefined;
+ validateOn?: ("blur eager" | "blur lazy" | "eager" | "eager blur" | "eager input" | "eager invalid-input" | "eager submit" | "input eager" | "input lazy" | "invalid-input eager" | "invalid-input lazy" | "lazy" | "lazy blur" | "lazy input" | "lazy invalid-input" | "lazy submit" | "submit eager" | "submit lazy" | ("blur" | "input" | "invalid-input" | "submit")) | undefined;
+ rounded?: string | number | boolean | undefined;
+ maxWidth?: string | number | undefined;
+ minWidth?: string | number | undefined;
+ width?: string | number | undefined;
+ loading?: string | boolean | undefined;
+ id?: string | undefined;
+ appendIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ prependIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ hideDetails?: "auto" | boolean | undefined;
+ hint?: string | undefined;
+ "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
+ valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined;
+ bgColor?: string | undefined;
+ centerAffix?: boolean | undefined;
+ color?: string | undefined;
+ baseColor?: string | undefined;
+ iconColor?: string | boolean | undefined;
+ label?: string | undefined;
+ prependInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ "onClick:clear"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined;
+ "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined;
+ autocomplete?: string | undefined;
+ counter?: string | number | boolean | undefined;
+ counterValue?: number | ((value: any) => number) | undefined;
+ prefix?: string | undefined;
+ placeholder?: string | undefined;
+ suffix?: string | undefined;
+ modelModifiers?: Record | undefined;
+ listProps?: (Partial<{
+ style: import("vue").StyleValue;
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ rounded: string | number | boolean;
+ tile: boolean;
+ tag: string | import("vuetify/lib/types.mjs").JSXComponent;
+ variant: "elevated" | "flat" | "outlined" | "plain" | "text" | "tonal";
+ itemType: import("vuetify/lib/util/helpers.mjs").SelectItemKey;
+ returnObject: boolean;
+ activatable: boolean;
+ selectable: boolean;
+ selectStrategy: import("vuetify/lib/composables/nested/nested.mjs").SelectStrategyProp;
+ openStrategy: import("vuetify/lib/composables/nested/nested.mjs").OpenStrategyProp;
+ mandatory: boolean;
+ itemsRegistration: import("vuetify/lib/composables/nested/nested.mjs").ItemsRegistrationType;
+ disabled: boolean;
+ filterable: boolean;
+ lines: "one" | "three" | "two" | false;
+ slim: boolean;
+ nav: boolean;
+ }> & Omit<{
+ theme?: string | undefined;
+ class?: any;
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
+ border?: string | number | boolean | undefined;
+ density: import("vuetify/lib/composables/density.mjs").Density;
+ elevation?: string | number | undefined;
+ rounded?: string | number | boolean | undefined;
+ tile: boolean;
+ tag: string | import("vuetify/lib/types.mjs").JSXComponent;
+ color?: string | undefined;
+ variant: "elevated" | "flat" | "outlined" | "plain" | "text" | "tonal";
+ height?: string | number | undefined;
+ maxHeight?: string | number | undefined;
+ maxWidth?: string | number | undefined;
+ minHeight?: string | number | undefined;
+ minWidth?: string | number | undefined;
+ width?: string | number | undefined;
+ itemType: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null;
+ returnObject: boolean;
+ valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined;
+ activatable: boolean;
+ selectable: boolean;
+ activeStrategy?: import("vuetify/lib/composables/nested/nested.mjs").ActiveStrategyProp | undefined;
+ selectStrategy: import("vuetify/lib/composables/nested/nested.mjs").SelectStrategyProp;
+ openStrategy: import("vuetify/lib/composables/nested/nested.mjs").OpenStrategyProp;
+ activated?: any;
+ mandatory: boolean;
+ itemsRegistration: import("vuetify/lib/composables/nested/nested.mjs").ItemsRegistrationType;
+ baseColor?: string | undefined;
+ activeColor?: string | undefined;
+ activeClass?: string | undefined;
+ bgColor?: string | undefined;
+ disabled: boolean;
+ filterable: boolean;
+ expandIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ collapseIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined;
+ lines: "one" | "three" | "two" | false;
+ slim: boolean;
+ prependGap?: string | number | undefined;
+ indent?: string | number | undefined;
+ nav: boolean;
+ "onClick:activate"?: ((value: {
+ id: unknown;
+ value: boolean;
+ path: unknown[];
+ }) => any) | undefined;
+ "onUpdate:activated"?: ((value: unknown) => any) | undefined;
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "activatable" | "density" | "disabled" | "filterable" | "itemType" | "itemsRegistration" | "lines" | "mandatory" | "nav" | "openStrategy" | "returnObject" | "rounded" | "selectStrategy" | "selectable" | "slim" | "style" | "tag" | "tile" | "variant"> & {
+ items?: readonly any[] | undefined;
+ itemTitle?: import("vuetify/lib/util/helpers.mjs").SelectItemKey;
+ itemValue?: import("vuetify/lib/util/helpers.mjs").SelectItemKey;
+ itemChildren?: import("vuetify/lib/util/helpers.mjs").SelectItemKey;
+ itemProps?: import("vuetify/lib/util/helpers.mjs").SelectItemKey;
+ selected?: unknown;
+ "onUpdate:selected"?: ((value: unknown) => void) | undefined;
+ "onClick:open"?: ((value: {
+ id: unknown;
+ value: boolean;
+ path: unknown[];
+ }) => void) | undefined;
+ "onClick:select"?: ((value: {
+ id: unknown;
+ value: boolean;
+ path: unknown[];
+ }) => void) | undefined;
+ opened?: unknown;
+ "onUpdate:opened"?: ((value: unknown) => void) | undefined;
+ } & {
+ $children?: {
+ prepend?: ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSlot & {
+ item: any;
+ }) => import("vue").VNodeChild) | undefined;
+ append?: ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSlot & {
+ item: any;
+ }) => import("vue").VNodeChild) | undefined;
+ title?: ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemTitleSlot & {
+ item: any;
+ }) => import("vue").VNodeChild) | undefined;
+ subtitle?: ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSubtitleSlot & {
+ item: any;
+ }) => import("vue").VNodeChild) | undefined;
+ default?: (() => import("vue").VNodeChild) | undefined;
+ item?: ((arg: {
+ props: {
+ [key: string]: any;
+ title: string;
+ value: any;
+ };
+ }) => import("vue").VNodeChild) | undefined;
+ divider?: ((arg: {
+ props: {
+ [key: string]: any;
+ title: string;
+ value: any;
+ };
+ }) => import("vue").VNodeChild) | undefined;
+ subheader?: ((arg: {
+ props: {
+ [key: string]: any;
+ title: string;
+ value: any;
+ };
+ }) => import("vue").VNodeChild) | undefined;
+ header?: ((arg: {
+ props: {
+ [key: string]: any;
+ title: string;
+ value: any;
+ };
+ }) => import("vue").VNodeChild) | undefined;
+ } | {
+ $stable?: boolean | undefined;
+ } | (() => import("vue").VNodeChild) | import("vue").VNodeChild;
+ "v-slots"?: {
+ prepend?: false | ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSlot & {
+ item: any;
+ }) => import("vue").VNodeChild) | undefined;
+ append?: false | ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSlot & {
+ item: any;
+ }) => import("vue").VNodeChild) | undefined;
+ title?: false | ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemTitleSlot & {
+ item: any;
+ }) => import("vue").VNodeChild) | undefined;
+ subtitle?: false | ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSubtitleSlot & {
+ item: any;
+ }) => import("vue").VNodeChild) | undefined;
+ default?: false | (() => import("vue").VNodeChild) | undefined;
+ item?: false | ((arg: {
+ props: {
+ [key: string]: any;
+ title: string;
+ value: any;
+ };
+ }) => import("vue").VNodeChild) | undefined;
+ divider?: false | ((arg: {
+ props: {
+ [key: string]: any;
+ title: string;
+ value: any;
+ };
+ }) => import("vue").VNodeChild) | undefined;
+ subheader?: false | ((arg: {
+ props: {
+ [key: string]: any;
+ title: string;
+ value: any;
+ };
+ }) => import("vue").VNodeChild) | undefined;
+ header?: false | ((arg: {
+ props: {
+ [key: string]: any;
+ title: string;
+ value: any;
+ };
+ }) => import("vue").VNodeChild) | undefined;
+ } | undefined;
+ } & {
+ "v-slot:append"?: false | ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSlot & {
+ item: any;
+ }) => import("vue").VNodeChild) | undefined;
+ "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
+ "v-slot:divider"?: false | ((arg: {
+ props: {
+ [key: string]: any;
+ title: string;
+ value: any;
+ };
+ }) => import("vue").VNodeChild) | undefined;
+ "v-slot:header"?: false | ((arg: {
+ props: {
+ [key: string]: any;
+ title: string;
+ value: any;
+ };
+ }) => import("vue").VNodeChild) | undefined;
+ "v-slot:item"?: false | ((arg: {
+ props: {
+ [key: string]: any;
+ title: string;
+ value: any;
+ };
+ }) => import("vue").VNodeChild) | undefined;
+ "v-slot:prepend"?: false | ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSlot & {
+ item: any;
+ }) => import("vue").VNodeChild) | undefined;
+ "v-slot:subheader"?: false | ((arg: {
+ props: {
+ [key: string]: any;
+ title: string;
+ value: any;
+ };
+ }) => import("vue").VNodeChild) | undefined;
+ "v-slot:subtitle"?: false | ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSubtitleSlot & {
+ item: any;
+ }) => import("vue").VNodeChild) | undefined;
+ "v-slot:title"?: false | ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemTitleSlot & {
+ item: any;
+ }) => import("vue").VNodeChild) | undefined;
+ }) | undefined;
+ menuProps?: (Partial<{
+ style: import("vue").StyleValue;
+ locationStrategy: "connected" | "static" | import("vuetify/lib/types.mjs").LocationStrategyFunction;
+ location: import("vuetify/lib/types.mjs").Anchor | undefined;
+ origin: "auto" | "overlap" | import("vuetify/lib/types.mjs").Anchor;
+ stickToTarget: boolean;
+ viewportMargin: string | number;
+ scrollStrategy: "block" | "close" | "none" | "reposition" | import("vuetify/lib/types.mjs").ScrollStrategyFunction;
+ closeDelay: string | number;
+ openDelay: string | number;
+ activatorProps: Record;
+ openOnClick: boolean;
+ openOnHover: boolean;
+ openOnFocus: boolean;
+ closeOnContentClick: boolean;
+ retainFocus: boolean;
+ captureFocus: boolean;
+ disableInitialFocus: boolean;
+ eager: boolean;
+ transition: string | boolean | {
+ component: {
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{} & {
+ target?: HTMLElement | [x: number, y: number] | undefined;
+ } & {
+ $children?: {
+ default?: (() => import("vue").VNodeChild) | undefined;
+ } | {
+ $stable?: boolean | undefined;
+ } | (() => import("vue").VNodeChild) | import("vue").VNodeChild;
+ "v-slots"?: {
+ default?: false | (() => import("vue").VNodeChild) | undefined;
+ } | undefined;
+ } & {
+ "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined;
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record