v-sistec-features 1.31.13 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DataAgenda/VDataAgenda.vue.d.ts +915 -0
- package/dist/DataAgenda/components/AgendaMatrix.vue.d.ts +64 -0
- package/dist/DataAgenda/components/AgendaMatrixBase.vue.d.ts +31 -0
- package/dist/DataAgenda/components/AgendaMatrixUnico.vue.d.ts +72 -0
- package/dist/DataAgenda/components/AgendaTabelaHorario.vue.d.ts +32 -0
- package/dist/DataAgenda/components/AgendaVueCal.vue.d.ts +94 -0
- package/dist/DataAgenda/components/BlocoArrastavel.vue.d.ts +37 -0
- package/dist/DataAgenda/components/HeaderCalendario.vue.d.ts +7 -0
- package/dist/DataAgenda/components/HeaderTabela.vue.d.ts +7 -0
- package/dist/DataAgenda/components/ModalDetalhesReserva.vue.d.ts +38 -0
- package/dist/DataAgenda/components/ModalReserva.vue.d.ts +157 -0
- package/dist/DataAgenda/composables/useAgenda.d.ts +24 -0
- package/dist/DataAgenda/composables/useCoresAgenda.d.ts +7 -0
- package/dist/DataAgenda/composables/useGradeCompartilhada.d.ts +23 -0
- package/dist/DataAgenda/composables/useSelecaoArrasto.d.ts +24 -0
- package/dist/DataAgenda/index.d.ts +2 -0
- package/dist/DataPageVue/components/VDataPage.vue.d.ts +50 -0
- package/dist/DataPageVue/index.d.ts +2 -0
- package/dist/DataPageVue/types/v-data-page.d.ts +53 -0
- package/dist/DatatableVue/components/SearchDatatable.vue.d.ts +28 -0
- package/dist/DatatableVue/components/VColumn.vue.d.ts +82 -0
- package/dist/DatatableVue/components/VColumnManager.vue.d.ts +21 -0
- package/dist/DatatableVue/components/VDataTable.vue.d.ts +57 -0
- package/dist/DatatableVue/components/VDataTableLoading.vue.d.ts +17 -0
- package/dist/DatatableVue/components/VOrderingIcon.vue.d.ts +10 -0
- package/dist/DatatableVue/components/VThDataTable.vue.d.ts +14 -0
- package/dist/DatatableVue/composables/useCheckBox.d.ts +11 -0
- package/dist/DatatableVue/composables/useDataTableConfig.d.ts +4 -0
- package/dist/DatatableVue/composables/useDataTableFetch.d.ts +17 -0
- package/dist/DatatableVue/composables/useExpandedItem.d.ts +6 -0
- package/dist/DatatableVue/composables/useImagePreview.d.ts +9 -0
- package/dist/DatatableVue/config/datatableConfig.d.ts +4 -0
- package/dist/DatatableVue/config/datatableDefaults.d.ts +7 -0
- package/dist/DatatableVue/index.d.ts +3 -0
- package/dist/DatatableVue/keys.d.ts +39 -0
- package/dist/DatatableVue/style/svgs.d.ts +20 -0
- package/dist/DatatableVue/types/v-data-table.d.ts +161 -0
- package/dist/Modals/components/BotaoFechar.vue.d.ts +36 -0
- package/dist/Modals/components/ModalAviso.vue.d.ts +184 -0
- package/dist/Modals/components/ModalBaseDefault.vue.d.ts +244 -0
- package/dist/Modals/components/ModalConfirmacao.vue.d.ts +184 -0
- package/dist/Modals/components/ModalConfirmacaoCheckbox.vue.d.ts +195 -0
- package/dist/Modals/components/ModalConfirmacaoInput.vue.d.ts +238 -0
- package/dist/Modals/components/ModalConfirmacaoSimples.vue.d.ts +187 -0
- package/dist/Modals/components/ModalInformacao.vue.d.ts +184 -0
- package/dist/Modals/components/ModalPerigo.vue.d.ts +175 -0
- package/dist/Modals/components/ModalSucesso.vue.d.ts +175 -0
- package/dist/Modals/components/interno/ModalDialogoInterno.vue.d.ts +205 -0
- package/dist/Modals/index.d.ts +12 -0
- package/dist/Modals.js +1361 -0
- package/dist/Pagination/Pagination.vue.d.ts +19 -0
- package/dist/Pagination/index.d.ts +2 -0
- package/dist/{Pagination-f4FVE5TX.js → Pagination-D96eBRod.js} +25 -25
- package/dist/Pagination.js +1 -1
- package/dist/{ar-Bg_10XBG.js → ar-CtSPmWrk.js} +0 -5
- package/dist/{bg-DyIRbFaU.js → bg-DwW4tkzm.js} +0 -5
- package/dist/{bn-DrKXkRvN.js → bn-Df__ccyH.js} +0 -5
- package/dist/{bs-BF8upphm.js → bs-j17x02qr.js} +0 -5
- package/dist/{ca-CGMnsdII.js → ca-B94lUx7c.js} +0 -5
- package/dist/core/index.d.ts +1 -0
- package/dist/core/plugin.d.ts +11 -0
- package/dist/core.js +1 -1
- package/dist/{cs-B-jeNB5o.js → cs-DeDzN7tG.js} +0 -5
- package/dist/{da-BoHemyXx.js → da-DMpC5y8O.js} +0 -5
- package/dist/datatableConfig-E5_08Ch4.js +4 -0
- package/dist/{de-DNAaiTrc.js → de-CCNUZSup.js} +0 -5
- package/dist/{el-Cpg3pI7i.js → el-C2kkX76k.js} +0 -5
- package/dist/{en-gb-KsKdvLmV.js → en-gb-sbYhvlrM.js} +0 -5
- package/dist/{es-COziTcsp.js → es-mNgFJGue.js} +0 -5
- package/dist/{et-BdTtu9t_.js → et-D0ro6m_Z.js} +0 -5
- package/dist/{fa-B1Ebp36t.js → fa-DYekHC6-.js} +0 -5
- package/dist/{fi-b4XodxNE.js → fi-CNexLCO_.js} +0 -5
- package/dist/{fr-BIx4sO6s.js → fr-CUXtdWLj.js} +0 -5
- package/dist/{he-rf_Y5d64.js → he-D4BblsAD.js} +0 -5
- package/dist/{hr-DOuJJGF3.js → hr-1MNJjxDo.js} +0 -5
- package/dist/{hu-DMc8kv_1.js → hu-BiG8mSvH.js} +0 -5
- package/dist/{id-DclBfDY0.js → id-CABEuSQB.js} +0 -5
- package/dist/iframeCommunicator/index.d.ts +2 -0
- package/dist/iframeCommunicator/useIframeCommunicator.d.ts +8 -0
- package/dist/iframeCommunicator/useThemeFromParent.d.ts +9 -0
- package/dist/index.d.ts +3 -140
- package/dist/index.js +1 -1
- package/dist/{is-hPcr999q.js → is-DBUkoxb1.js} +0 -5
- package/dist/{it-Dfz57Ogc.js → it-Am_Oo5d5.js} +0 -5
- package/dist/{ja-Da6Dbgu8.js → ja-C4aaunra.js} +0 -5
- package/dist/{ka-DK-BKZD4.js → ka-CkzS4fNj.js} +0 -5
- package/dist/{kaa-BVd8dKz3.js → kaa-GTw11GU-.js} +0 -5
- package/dist/{kk-eE3-SI4R.js → kk-BRFq2Ctd.js} +0 -5
- package/dist/{ko-CUMtwCHy.js → ko-BbgS6BMk.js} +0 -5
- package/dist/{ky-CCU0MYbD.js → ky-ClK6HL0m.js} +0 -5
- package/dist/{lt-CpbQmiiW.js → lt-BE0ahgri.js} +0 -5
- package/dist/{mn-YYwo93uK.js → mn-C-Ktk8ht.js} +0 -5
- package/dist/{nl-WqtgByJL.js → nl-BiG9OH1y.js} +0 -5
- package/dist/{no-BOG8-aOm.js → no-DVdX7xTS.js} +0 -5
- package/dist/{pl-BH4AyCMF.js → pl-y_N8wVAF.js} +0 -5
- package/dist/plugin-BZB7f-c3.js +3444 -0
- package/dist/{pt-br-siyrXjdv.js → pt-br-Cx8Akpcu.js} +0 -5
- package/dist/{pt-pt-siyrXjdv.js → pt-pt-Cx8Akpcu.js} +0 -5
- package/dist/{ro-C9fU41Qi.js → ro-FfAZHwo1.js} +0 -5
- package/dist/{ru-_d_rl3a5.js → ru-BCE9k5uo.js} +0 -5
- package/dist/{sk-ZT421l3d.js → sk-D-7bEf3b.js} +0 -5
- package/dist/{sl-Ct8Gi5v1.js → sl-DoVrM4Ht.js} +0 -5
- package/dist/{sq-Cw7PWK-V.js → sq-Du8jVeq7.js} +0 -5
- package/dist/{sr-DO-S1wn3.js → sr-DP3yke6-.js} +0 -5
- package/dist/{sv-NXMCPui2.js → sv-C2iGWFqL.js} +0 -5
- package/dist/toast/components/ToastComponent.vue.d.ts +6 -0
- package/dist/toast/index.d.ts +1 -0
- package/dist/toast/useToastStore.d.ts +11 -0
- package/dist/toast.js +2 -2
- package/dist/{tr-BpieMIth.js → tr-CvlANdCR.js} +0 -5
- package/dist/{uk-CqVU4EoZ.js → uk-CxFb8w2s.js} +0 -5
- package/dist/utils/svgFactory.d.ts +8 -0
- package/dist/{uz-CmcB22-w.js → uz-DmJPqTjK.js} +0 -5
- package/dist/{uz-cryl-C_GBVdXl.js → uz-cryl-Dt065WNc.js} +0 -5
- package/dist/v-sistec-features.css +1 -11
- package/dist/vDataAgenda.js +1877 -1885
- package/dist/vDataPage.js +31 -41
- package/dist/vDataTable.js +43 -43
- package/dist/{vi-C9wTd3fG.js → vi-B8R5Ozvj.js} +0 -5
- package/dist/{zh-cn-DY7nkJwf.js → zh-cn-DnUuIcqx.js} +0 -5
- package/dist/{zh-hk-KkazoDdS.js → zh-hk-mDkIkhi9.js} +0 -5
- package/package.json +5 -1
- package/src/DataAgenda/VDataAgenda.vue +233 -77
- package/src/DataAgenda/components/AgendaMatrix.vue +1 -0
- package/src/DataAgenda/components/AgendaMatrixBase.vue +357 -140
- package/src/DataAgenda/components/AgendaMatrixUnico.vue +1 -0
- package/src/DataAgenda/components/AgendaTabelaHorario.vue +489 -316
- package/src/DataAgenda/components/AgendaVueCal.vue +1 -0
- package/src/DataAgenda/index.ts +2 -1
- package/src/Modals/components/BotaoFechar.vue +74 -0
- package/src/Modals/components/ModalAviso.vue +129 -0
- package/src/Modals/components/ModalBaseDefault.vue +374 -0
- package/src/Modals/components/ModalConfirmacao.vue +129 -0
- package/src/Modals/components/ModalConfirmacaoCheckbox.vue +155 -0
- package/src/Modals/components/ModalConfirmacaoInput.vue +200 -0
- package/src/Modals/components/ModalConfirmacaoSimples.vue +306 -0
- package/src/Modals/components/ModalInformacao.vue +129 -0
- package/src/Modals/components/ModalPerigo.vue +123 -0
- package/src/Modals/components/ModalSucesso.vue +123 -0
- package/src/Modals/components/interno/ModalDialogoInterno.vue +365 -0
- package/src/Modals/index.ts +32 -0
- package/src/core/plugin.ts +34 -41
- package/src/types/global.d.ts +7 -1
- package/dist/Pagination.d.ts +0 -27
- package/dist/core.d.ts +0 -117
- package/dist/datatableConfig-BMFlKtgh.js +0 -4
- package/dist/iframeCommunicator.d.ts +0 -22
- package/dist/plugin-BwqrOSD_.js +0 -2097
- package/dist/toast.d.ts +0 -19
- package/dist/vDataAgenda.d.ts +0 -929
- package/dist/vDataPage.d.ts +0 -117
- package/dist/vDataTable.d.ts +0 -294
package/dist/Modals.js
ADDED
|
@@ -0,0 +1,1361 @@
|
|
|
1
|
+
import { defineComponent as E, openBlock as f, createElementBlock as h, normalizeClass as V, computed as b, watch as z, onUnmounted as N, createBlock as p, Teleport as R, withModifiers as j, createElementVNode as g, normalizeStyle as T, createCommentVNode as C, renderSlot as o, createTextVNode as F, toDisplayString as x, useSlots as M, unref as l, createSlots as I, withCtx as i, createVNode as D, normalizeProps as y, guardReactiveProps as v, ref as G, withDirectives as P, vModelCheckbox as Q, vModelText as O, withKeys as W } from "vue";
|
|
2
|
+
import { _ as q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
import { IconHelpCircle as X, IconAlertTriangle as J, IconCircleCheck as Y, IconAlertCircle as Z, IconInfoCircle as _, IconMessageReport as ee } from "@tabler/icons-vue";
|
|
4
|
+
const ae = ["title", "aria-label", "disabled"], oe = /* @__PURE__ */ E({
|
|
5
|
+
__name: "BotaoFechar",
|
|
6
|
+
props: {
|
|
7
|
+
titulo: { type: String, default: "Fechar" },
|
|
8
|
+
desabilitado: { type: Boolean, default: !1 },
|
|
9
|
+
flutuante: { type: Boolean, default: !1 }
|
|
10
|
+
},
|
|
11
|
+
emits: ["click"],
|
|
12
|
+
setup(e, { emit: $ }) {
|
|
13
|
+
const a = e, d = $;
|
|
14
|
+
function c(s) {
|
|
15
|
+
a.desabilitado || d("click", s);
|
|
16
|
+
}
|
|
17
|
+
return (s, r) => (f(), h("button", {
|
|
18
|
+
type: "button",
|
|
19
|
+
class: V(["btn-fechar", { "btn-fechar-flutuante": e.flutuante }]),
|
|
20
|
+
title: e.titulo,
|
|
21
|
+
"aria-label": e.titulo,
|
|
22
|
+
disabled: e.desabilitado,
|
|
23
|
+
onClick: c
|
|
24
|
+
}, " × ", 10, ae));
|
|
25
|
+
}
|
|
26
|
+
}), K = /* @__PURE__ */ q(oe, [["__scopeId", "data-v-e52857b3"]]), te = ["id"], re = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "modal-header"
|
|
29
|
+
}, ne = { class: "modal-title" }, le = {
|
|
30
|
+
key: 2,
|
|
31
|
+
class: "modal-footer"
|
|
32
|
+
}, ie = ["disabled"], de = { class: "acoes-direita-base" }, ce = ["disabled"], se = {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: "spinner-border spinner-border-sm me-2",
|
|
35
|
+
role: "status"
|
|
36
|
+
}, ue = /* @__PURE__ */ E({
|
|
37
|
+
__name: "ModalBaseDefault",
|
|
38
|
+
props: {
|
|
39
|
+
id: { type: [String, Number], default: void 0 },
|
|
40
|
+
modelValue: { type: Boolean, default: !1 },
|
|
41
|
+
size: { type: String, default: "lg" },
|
|
42
|
+
tamanho: { type: String, default: void 0 },
|
|
43
|
+
titulo: { type: String, default: "" },
|
|
44
|
+
corBarraTopo: {
|
|
45
|
+
type: String,
|
|
46
|
+
default: "brand"
|
|
47
|
+
},
|
|
48
|
+
textoCancelar: { type: String, default: "Fechar" },
|
|
49
|
+
textoConfirmar: { type: String, default: "Salvar alterações" },
|
|
50
|
+
corBotaoConfirmar: {
|
|
51
|
+
type: String,
|
|
52
|
+
default: "brand"
|
|
53
|
+
},
|
|
54
|
+
mostrarBotaoCancelar: { type: Boolean, default: !0 },
|
|
55
|
+
mostrarBotaoConfirmar: { type: Boolean, default: !0 },
|
|
56
|
+
mostrarBotaoFechar: { type: Boolean, default: !0 },
|
|
57
|
+
ocultarCabecalho: { type: Boolean, default: !1 },
|
|
58
|
+
ocultarRodape: { type: Boolean, default: !1 },
|
|
59
|
+
fecharAoClicarFora: { type: Boolean, default: !0 },
|
|
60
|
+
fecharComEsc: { type: Boolean, default: !0 },
|
|
61
|
+
fecharAoConfirmar: { type: Boolean, default: !1 },
|
|
62
|
+
desabilitarConfirmar: { type: Boolean, default: !1 },
|
|
63
|
+
carregando: { type: Boolean, default: !1 },
|
|
64
|
+
classeCorpo: { type: String, default: "" }
|
|
65
|
+
},
|
|
66
|
+
emits: ["update:modelValue", "confirmar", "cancelar", "fechar"],
|
|
67
|
+
setup(e, { emit: $ }) {
|
|
68
|
+
const a = e, d = $, c = b(() => a.tamanho || a.size), s = b({
|
|
69
|
+
get: () => a.modelValue,
|
|
70
|
+
set: (u) => d("update:modelValue", u)
|
|
71
|
+
}), r = b(() => !a.fecharAoClicarFora || a.carregando), n = b(() => !a.fecharComEsc || a.carregando), t = b(() => !a.corBarraTopo || a.corBarraTopo === "brand" ? "" : `bg-${a.corBarraTopo}`), m = b(() => a.corBarraTopo === "brand" ? { backgroundColor: "var(--color-brand, var(--tblr-primary, #206bc4))" } : {}), S = b(() => a.corBotaoConfirmar === "brand" ? "btn-salvar-base" : `btn-${a.corBotaoConfirmar}`), k = b(() => a.corBotaoConfirmar === "brand" ? {
|
|
72
|
+
backgroundColor: "var(--color-brand, var(--tblr-primary, #206bc4))",
|
|
73
|
+
color: "var(--text-inverse, #ffffff)"
|
|
74
|
+
} : {});
|
|
75
|
+
function A(u) {
|
|
76
|
+
u.key === "Escape" && s.value && !n.value && B();
|
|
77
|
+
}
|
|
78
|
+
z(
|
|
79
|
+
s,
|
|
80
|
+
(u) => {
|
|
81
|
+
typeof window > "u" || (u ? window.addEventListener("keydown", A) : window.removeEventListener("keydown", A));
|
|
82
|
+
},
|
|
83
|
+
{ immediate: !0 }
|
|
84
|
+
), N(() => {
|
|
85
|
+
typeof window < "u" && window.removeEventListener("keydown", A);
|
|
86
|
+
});
|
|
87
|
+
function U() {
|
|
88
|
+
r.value || B();
|
|
89
|
+
}
|
|
90
|
+
function B() {
|
|
91
|
+
a.carregando || (s.value = !1, d("cancelar"), d("fechar"));
|
|
92
|
+
}
|
|
93
|
+
function w() {
|
|
94
|
+
a.desabilitarConfirmar || a.carregando || (d("confirmar"), a.fecharAoConfirmar && (s.value = !1));
|
|
95
|
+
}
|
|
96
|
+
return (u, H) => (f(), p(R, { to: "body" }, [
|
|
97
|
+
s.value ? (f(), h("div", {
|
|
98
|
+
key: 0,
|
|
99
|
+
id: e.id ? String(e.id) : void 0,
|
|
100
|
+
class: "modal-overlay",
|
|
101
|
+
onMousedown: j(U, ["self"])
|
|
102
|
+
}, [
|
|
103
|
+
g("div", {
|
|
104
|
+
class: V(["modal-card", `modal-tamanho-${c.value}`]),
|
|
105
|
+
role: "dialog",
|
|
106
|
+
"aria-modal": "true"
|
|
107
|
+
}, [
|
|
108
|
+
e.corBarraTopo ? (f(), h("div", {
|
|
109
|
+
key: 0,
|
|
110
|
+
class: V(["modal-status-topo", t.value]),
|
|
111
|
+
style: T(m.value)
|
|
112
|
+
}, null, 6)) : C("", !0),
|
|
113
|
+
o(u.$slots, "barrinha-header", {}, void 0, !0),
|
|
114
|
+
e.ocultarCabecalho ? C("", !0) : (f(), h("div", re, [
|
|
115
|
+
g("h3", ne, [
|
|
116
|
+
o(u.$slots, "title-header", {}, () => [
|
|
117
|
+
F(x(e.titulo), 1)
|
|
118
|
+
], !0)
|
|
119
|
+
]),
|
|
120
|
+
e.mostrarBotaoFechar ? (f(), p(K, {
|
|
121
|
+
key: 0,
|
|
122
|
+
desabilitado: e.carregando,
|
|
123
|
+
onClick: B
|
|
124
|
+
}, null, 8, ["desabilitado"])) : C("", !0)
|
|
125
|
+
])),
|
|
126
|
+
g("div", {
|
|
127
|
+
class: V(["modal-body", e.classeCorpo])
|
|
128
|
+
}, [
|
|
129
|
+
o(u.$slots, "default", {}, void 0, !0),
|
|
130
|
+
o(u.$slots, "conteudo", {}, void 0, !0),
|
|
131
|
+
o(u.$slots, "content", {}, void 0, !0)
|
|
132
|
+
], 2),
|
|
133
|
+
e.ocultarRodape ? C("", !0) : (f(), h("div", le, [
|
|
134
|
+
o(u.$slots, "footer", {
|
|
135
|
+
fechar: B,
|
|
136
|
+
confirmar: w
|
|
137
|
+
}, () => [
|
|
138
|
+
e.mostrarBotaoCancelar ? (f(), h("button", {
|
|
139
|
+
key: 0,
|
|
140
|
+
type: "button",
|
|
141
|
+
class: "btn-cancelar-base",
|
|
142
|
+
disabled: e.carregando,
|
|
143
|
+
onClick: B
|
|
144
|
+
}, x(e.textoCancelar), 9, ie)) : C("", !0),
|
|
145
|
+
g("div", de, [
|
|
146
|
+
o(u.$slots, "botoes-esquerda", {
|
|
147
|
+
fechar: B,
|
|
148
|
+
confirmar: w
|
|
149
|
+
}, void 0, !0),
|
|
150
|
+
e.mostrarBotaoConfirmar ? (f(), h("button", {
|
|
151
|
+
key: 0,
|
|
152
|
+
type: "button",
|
|
153
|
+
class: V(["btn", S.value]),
|
|
154
|
+
style: T(k.value),
|
|
155
|
+
disabled: e.desabilitarConfirmar || e.carregando,
|
|
156
|
+
onClick: w
|
|
157
|
+
}, [
|
|
158
|
+
e.carregando ? (f(), h("span", se)) : C("", !0),
|
|
159
|
+
F(" " + x(e.textoConfirmar), 1)
|
|
160
|
+
], 14, ce)) : C("", !0),
|
|
161
|
+
o(u.$slots, "botoes-direita", {
|
|
162
|
+
fechar: B,
|
|
163
|
+
confirmar: w
|
|
164
|
+
}, void 0, !0)
|
|
165
|
+
])
|
|
166
|
+
], !0)
|
|
167
|
+
]))
|
|
168
|
+
], 2)
|
|
169
|
+
], 40, te)) : C("", !0)
|
|
170
|
+
]));
|
|
171
|
+
}
|
|
172
|
+
}), ea = /* @__PURE__ */ q(ue, [["__scopeId", "data-v-c91dc103"]]), fe = { class: "modal-body text-center py-4 px-4" }, me = {
|
|
173
|
+
key: 0,
|
|
174
|
+
class: "modal-titulo-dialogo mb-2"
|
|
175
|
+
}, be = { class: "modal-descricao-dialogo" }, ye = {
|
|
176
|
+
key: 1,
|
|
177
|
+
class: "mt-3 text-start"
|
|
178
|
+
}, ve = {
|
|
179
|
+
key: 2,
|
|
180
|
+
class: "mt-3"
|
|
181
|
+
}, Ce = {
|
|
182
|
+
key: 2,
|
|
183
|
+
class: "modal-footer"
|
|
184
|
+
}, he = { class: "w-100" }, Be = { class: "row g-2 align-items-center" }, ge = {
|
|
185
|
+
key: 0,
|
|
186
|
+
class: "col"
|
|
187
|
+
}, $e = ["disabled"], ke = {
|
|
188
|
+
key: 1,
|
|
189
|
+
class: "col"
|
|
190
|
+
}, Se = ["disabled"], Ve = {
|
|
191
|
+
key: 0,
|
|
192
|
+
class: "spinner-border spinner-border-sm me-2",
|
|
193
|
+
role: "status"
|
|
194
|
+
}, we = /* @__PURE__ */ E({
|
|
195
|
+
__name: "ModalDialogoInterno",
|
|
196
|
+
props: {
|
|
197
|
+
modelValue: { type: Boolean, default: !1 },
|
|
198
|
+
tamanho: { type: String, default: "sm" },
|
|
199
|
+
corTopo: {
|
|
200
|
+
type: String,
|
|
201
|
+
default: "brand"
|
|
202
|
+
},
|
|
203
|
+
corBotaoConfirmar: {
|
|
204
|
+
type: String,
|
|
205
|
+
default: "brand"
|
|
206
|
+
},
|
|
207
|
+
titulo: { type: String, default: "" },
|
|
208
|
+
descricao: { type: String, default: "" },
|
|
209
|
+
textoCancelar: { type: String, default: "Cancelar" },
|
|
210
|
+
textoConfirmar: { type: String, default: "Confirmar" },
|
|
211
|
+
mostrarBotaoCancelar: { type: Boolean, default: !0 },
|
|
212
|
+
mostrarBotaoConfirmar: { type: Boolean, default: !0 },
|
|
213
|
+
mostrarBotaoFechar: { type: Boolean, default: !0 },
|
|
214
|
+
ocultarRodape: { type: Boolean, default: !1 },
|
|
215
|
+
fecharAoClicarFora: { type: Boolean, default: !0 },
|
|
216
|
+
fecharComEsc: { type: Boolean, default: !0 },
|
|
217
|
+
fecharAoConfirmar: { type: Boolean, default: !1 },
|
|
218
|
+
desabilitarConfirmar: { type: Boolean, default: !1 },
|
|
219
|
+
carregando: { type: Boolean, default: !1 }
|
|
220
|
+
},
|
|
221
|
+
emits: ["update:modelValue", "confirmar", "cancelar", "fechar"],
|
|
222
|
+
setup(e, { emit: $ }) {
|
|
223
|
+
const a = M(), d = e, c = $, s = b({
|
|
224
|
+
get: () => d.modelValue,
|
|
225
|
+
set: (u) => c("update:modelValue", u)
|
|
226
|
+
}), r = b(() => !d.fecharAoClicarFora || d.carregando), n = b(() => !d.fecharComEsc || d.carregando), t = b(() => !d.corTopo || d.corTopo === "brand" ? "" : `bg-${d.corTopo}`), m = b(() => d.corTopo === "brand" ? { backgroundColor: "var(--color-brand, var(--tblr-primary, #206bc4))" } : {}), S = b(() => d.corBotaoConfirmar === "brand" ? "btn-brand-custom text-white" : `btn-${d.corBotaoConfirmar}`), k = b(() => d.corBotaoConfirmar === "brand" ? {
|
|
227
|
+
backgroundColor: "var(--color-brand, var(--tblr-primary, #206bc4))",
|
|
228
|
+
borderColor: "var(--color-brand, var(--tblr-primary, #206bc4))"
|
|
229
|
+
} : {});
|
|
230
|
+
function A(u) {
|
|
231
|
+
u.key === "Escape" && s.value && !n.value && B();
|
|
232
|
+
}
|
|
233
|
+
z(
|
|
234
|
+
s,
|
|
235
|
+
(u) => {
|
|
236
|
+
typeof window > "u" || (u ? window.addEventListener("keydown", A) : window.removeEventListener("keydown", A));
|
|
237
|
+
},
|
|
238
|
+
{ immediate: !0 }
|
|
239
|
+
), N(() => {
|
|
240
|
+
typeof window < "u" && window.removeEventListener("keydown", A);
|
|
241
|
+
});
|
|
242
|
+
function U() {
|
|
243
|
+
r.value || B();
|
|
244
|
+
}
|
|
245
|
+
function B() {
|
|
246
|
+
d.carregando || (s.value = !1, c("cancelar"), c("fechar"));
|
|
247
|
+
}
|
|
248
|
+
function w() {
|
|
249
|
+
d.desabilitarConfirmar || d.carregando || (c("confirmar"), d.fecharAoConfirmar && (s.value = !1));
|
|
250
|
+
}
|
|
251
|
+
return (u, H) => (f(), p(R, { to: "body" }, [
|
|
252
|
+
s.value ? (f(), h("div", {
|
|
253
|
+
key: 0,
|
|
254
|
+
class: "modal-overlay",
|
|
255
|
+
onMousedown: j(U, ["self"])
|
|
256
|
+
}, [
|
|
257
|
+
g("div", {
|
|
258
|
+
class: V(["modal-card", `modal-tamanho-${e.tamanho}`]),
|
|
259
|
+
role: "dialog",
|
|
260
|
+
"aria-modal": "true"
|
|
261
|
+
}, [
|
|
262
|
+
e.corTopo ? (f(), h("div", {
|
|
263
|
+
key: 0,
|
|
264
|
+
class: V(["modal-status-topo", t.value]),
|
|
265
|
+
style: T(m.value)
|
|
266
|
+
}, null, 6)) : C("", !0),
|
|
267
|
+
e.mostrarBotaoFechar ? (f(), p(K, {
|
|
268
|
+
key: 1,
|
|
269
|
+
flutuante: "",
|
|
270
|
+
desabilitado: e.carregando,
|
|
271
|
+
onClick: B
|
|
272
|
+
}, null, 8, ["desabilitado"])) : C("", !0),
|
|
273
|
+
g("div", fe, [
|
|
274
|
+
o(u.$slots, "icone", {}, void 0, !0),
|
|
275
|
+
e.titulo || l(a).titulo ? (f(), h("h3", me, [
|
|
276
|
+
o(u.$slots, "titulo", {}, () => [
|
|
277
|
+
F(x(e.titulo), 1)
|
|
278
|
+
], !0)
|
|
279
|
+
])) : C("", !0),
|
|
280
|
+
g("div", be, [
|
|
281
|
+
o(u.$slots, "default", {}, () => [
|
|
282
|
+
F(x(e.descricao), 1)
|
|
283
|
+
], !0)
|
|
284
|
+
]),
|
|
285
|
+
l(a).conteudo ? (f(), h("div", ye, [
|
|
286
|
+
o(u.$slots, "conteudo", {}, void 0, !0)
|
|
287
|
+
])) : C("", !0),
|
|
288
|
+
l(a).extra ? (f(), h("div", ve, [
|
|
289
|
+
o(u.$slots, "extra", {}, void 0, !0)
|
|
290
|
+
])) : C("", !0)
|
|
291
|
+
]),
|
|
292
|
+
e.ocultarRodape ? C("", !0) : (f(), h("div", Ce, [
|
|
293
|
+
g("div", he, [
|
|
294
|
+
g("div", Be, [
|
|
295
|
+
o(u.$slots, "footer", {
|
|
296
|
+
cancelar: B,
|
|
297
|
+
confirmar: w
|
|
298
|
+
}, () => [
|
|
299
|
+
o(u.$slots, "botoes-esquerda", {
|
|
300
|
+
cancelar: B,
|
|
301
|
+
confirmar: w
|
|
302
|
+
}, void 0, !0),
|
|
303
|
+
e.mostrarBotaoCancelar ? (f(), h("div", ge, [
|
|
304
|
+
g("button", {
|
|
305
|
+
type: "button",
|
|
306
|
+
class: "btn w-100 botao-secundario-modal",
|
|
307
|
+
disabled: e.carregando,
|
|
308
|
+
onClick: B
|
|
309
|
+
}, x(e.textoCancelar), 9, $e)
|
|
310
|
+
])) : C("", !0),
|
|
311
|
+
o(u.$slots, "botoes-meio", {
|
|
312
|
+
cancelar: B,
|
|
313
|
+
confirmar: w
|
|
314
|
+
}, void 0, !0),
|
|
315
|
+
e.mostrarBotaoConfirmar ? (f(), h("div", ke, [
|
|
316
|
+
g("button", {
|
|
317
|
+
type: "button",
|
|
318
|
+
class: V(["btn w-100", S.value]),
|
|
319
|
+
style: T(k.value),
|
|
320
|
+
disabled: e.desabilitarConfirmar || e.carregando,
|
|
321
|
+
onClick: w
|
|
322
|
+
}, [
|
|
323
|
+
e.carregando ? (f(), h("span", Ve)) : C("", !0),
|
|
324
|
+
F(" " + x(e.textoConfirmar), 1)
|
|
325
|
+
], 14, Se)
|
|
326
|
+
])) : C("", !0),
|
|
327
|
+
o(u.$slots, "botoes-direita", {
|
|
328
|
+
cancelar: B,
|
|
329
|
+
confirmar: w
|
|
330
|
+
}, void 0, !0)
|
|
331
|
+
], !0)
|
|
332
|
+
])
|
|
333
|
+
])
|
|
334
|
+
]))
|
|
335
|
+
], 2)
|
|
336
|
+
], 32)) : C("", !0)
|
|
337
|
+
]));
|
|
338
|
+
}
|
|
339
|
+
}), L = /* @__PURE__ */ q(we, [["__scopeId", "data-v-4259b940"]]), xe = /* @__PURE__ */ E({
|
|
340
|
+
__name: "ModalConfirmacao",
|
|
341
|
+
props: {
|
|
342
|
+
modelValue: { type: Boolean, default: !1 },
|
|
343
|
+
tamanho: { type: String, default: "sm" },
|
|
344
|
+
corTema: { type: String, default: "brand" },
|
|
345
|
+
titulo: { type: String, default: "Confirmar ação?" },
|
|
346
|
+
descricao: { type: String, default: "Deseja realmente prosseguir com esta operação?" },
|
|
347
|
+
textoCancelar: { type: String, default: "Cancelar" },
|
|
348
|
+
textoConfirmar: { type: String, default: "Confirmar" },
|
|
349
|
+
mostrarBotaoCancelar: { type: Boolean, default: !0 },
|
|
350
|
+
mostrarBotaoConfirmar: { type: Boolean, default: !0 },
|
|
351
|
+
mostrarBotaoFechar: { type: Boolean, default: !0 },
|
|
352
|
+
fecharAoClicarFora: { type: Boolean, default: !0 },
|
|
353
|
+
fecharComEsc: { type: Boolean, default: !0 },
|
|
354
|
+
fecharAoConfirmar: { type: Boolean, default: !1 },
|
|
355
|
+
desabilitarConfirmar: { type: Boolean, default: !1 },
|
|
356
|
+
carregando: { type: Boolean, default: !1 }
|
|
357
|
+
},
|
|
358
|
+
emits: ["update:modelValue", "confirmar", "cancelar", "fechar"],
|
|
359
|
+
setup(e, { emit: $ }) {
|
|
360
|
+
const a = M(), d = e, c = $, s = b({
|
|
361
|
+
get: () => d.modelValue,
|
|
362
|
+
set: (r) => c("update:modelValue", r)
|
|
363
|
+
});
|
|
364
|
+
return (r, n) => (f(), p(L, {
|
|
365
|
+
modelValue: s.value,
|
|
366
|
+
"onUpdate:modelValue": n[0] || (n[0] = (t) => s.value = t),
|
|
367
|
+
tamanho: e.tamanho,
|
|
368
|
+
"cor-topo": e.corTema,
|
|
369
|
+
"cor-botao-confirmar": e.corTema,
|
|
370
|
+
titulo: e.titulo,
|
|
371
|
+
descricao: e.descricao,
|
|
372
|
+
"texto-cancelar": e.textoCancelar,
|
|
373
|
+
"texto-confirmar": e.textoConfirmar,
|
|
374
|
+
"mostrar-botao-cancelar": e.mostrarBotaoCancelar,
|
|
375
|
+
"mostrar-botao-confirmar": e.mostrarBotaoConfirmar,
|
|
376
|
+
"mostrar-botao-fechar": e.mostrarBotaoFechar,
|
|
377
|
+
"fechar-ao-clicar-fora": e.fecharAoClicarFora,
|
|
378
|
+
"fechar-com-esc": e.fecharComEsc,
|
|
379
|
+
"fechar-ao-confirmar": e.fecharAoConfirmar,
|
|
380
|
+
"desabilitar-confirmar": e.desabilitarConfirmar,
|
|
381
|
+
carregando: e.carregando,
|
|
382
|
+
onConfirmar: n[1] || (n[1] = (t) => c("confirmar")),
|
|
383
|
+
onCancelar: n[2] || (n[2] = (t) => c("cancelar")),
|
|
384
|
+
onFechar: n[3] || (n[3] = (t) => c("fechar"))
|
|
385
|
+
}, I({
|
|
386
|
+
icone: i(() => [
|
|
387
|
+
o(r.$slots, "icone", {}, () => [
|
|
388
|
+
D(l(X), {
|
|
389
|
+
class: V(["icon mb-2 icone-destaque", e.corTema === "brand" ? "" : `text-${e.corTema}`]),
|
|
390
|
+
style: T(e.corTema === "brand" ? { color: "var(--color-brand, var(--tblr-primary))" } : {}),
|
|
391
|
+
"stroke-width": "1.5"
|
|
392
|
+
}, null, 8, ["class", "style"])
|
|
393
|
+
], !0)
|
|
394
|
+
]),
|
|
395
|
+
_: 2
|
|
396
|
+
}, [
|
|
397
|
+
l(a).titulo ? {
|
|
398
|
+
name: "titulo",
|
|
399
|
+
fn: i(() => [
|
|
400
|
+
o(r.$slots, "titulo", {}, void 0, !0)
|
|
401
|
+
]),
|
|
402
|
+
key: "0"
|
|
403
|
+
} : void 0,
|
|
404
|
+
l(a).default ? {
|
|
405
|
+
name: "default",
|
|
406
|
+
fn: i(() => [
|
|
407
|
+
o(r.$slots, "default", {}, void 0, !0)
|
|
408
|
+
]),
|
|
409
|
+
key: "1"
|
|
410
|
+
} : void 0,
|
|
411
|
+
l(a).conteudo ? {
|
|
412
|
+
name: "conteudo",
|
|
413
|
+
fn: i(() => [
|
|
414
|
+
o(r.$slots, "conteudo", {}, void 0, !0)
|
|
415
|
+
]),
|
|
416
|
+
key: "2"
|
|
417
|
+
} : void 0,
|
|
418
|
+
l(a).extra ? {
|
|
419
|
+
name: "extra",
|
|
420
|
+
fn: i(() => [
|
|
421
|
+
o(r.$slots, "extra", {}, void 0, !0)
|
|
422
|
+
]),
|
|
423
|
+
key: "3"
|
|
424
|
+
} : void 0,
|
|
425
|
+
l(a)["botoes-esquerda"] ? {
|
|
426
|
+
name: "botoes-esquerda",
|
|
427
|
+
fn: i((t) => [
|
|
428
|
+
o(r.$slots, "botoes-esquerda", y(v(t)), void 0, !0)
|
|
429
|
+
]),
|
|
430
|
+
key: "4"
|
|
431
|
+
} : void 0,
|
|
432
|
+
l(a)["botoes-meio"] ? {
|
|
433
|
+
name: "botoes-meio",
|
|
434
|
+
fn: i((t) => [
|
|
435
|
+
o(r.$slots, "botoes-meio", y(v(t)), void 0, !0)
|
|
436
|
+
]),
|
|
437
|
+
key: "5"
|
|
438
|
+
} : void 0,
|
|
439
|
+
l(a)["botoes-direita"] ? {
|
|
440
|
+
name: "botoes-direita",
|
|
441
|
+
fn: i((t) => [
|
|
442
|
+
o(r.$slots, "botoes-direita", y(v(t)), void 0, !0)
|
|
443
|
+
]),
|
|
444
|
+
key: "6"
|
|
445
|
+
} : void 0,
|
|
446
|
+
l(a).footer ? {
|
|
447
|
+
name: "footer",
|
|
448
|
+
fn: i((t) => [
|
|
449
|
+
o(r.$slots, "footer", y(v(t)), void 0, !0)
|
|
450
|
+
]),
|
|
451
|
+
key: "7"
|
|
452
|
+
} : void 0
|
|
453
|
+
]), 1032, ["modelValue", "tamanho", "cor-topo", "cor-botao-confirmar", "titulo", "descricao", "texto-cancelar", "texto-confirmar", "mostrar-botao-cancelar", "mostrar-botao-confirmar", "mostrar-botao-fechar", "fechar-ao-clicar-fora", "fechar-com-esc", "fechar-ao-confirmar", "desabilitar-confirmar", "carregando"]));
|
|
454
|
+
}
|
|
455
|
+
}), aa = /* @__PURE__ */ q(xe, [["__scopeId", "data-v-3c1745ef"]]), pe = /* @__PURE__ */ E({
|
|
456
|
+
__name: "ModalPerigo",
|
|
457
|
+
props: {
|
|
458
|
+
modelValue: { type: Boolean, default: !1 },
|
|
459
|
+
tamanho: { type: String, default: "sm" },
|
|
460
|
+
titulo: { type: String, default: "Você tem certeza?" },
|
|
461
|
+
descricao: { type: String, default: "Esta ação não poderá ser desfeita." },
|
|
462
|
+
textoCancelar: { type: String, default: "Cancelar" },
|
|
463
|
+
textoConfirmar: { type: String, default: "Deletar" },
|
|
464
|
+
mostrarBotaoCancelar: { type: Boolean, default: !0 },
|
|
465
|
+
mostrarBotaoConfirmar: { type: Boolean, default: !0 },
|
|
466
|
+
mostrarBotaoFechar: { type: Boolean, default: !0 },
|
|
467
|
+
fecharAoClicarFora: { type: Boolean, default: !0 },
|
|
468
|
+
fecharComEsc: { type: Boolean, default: !0 },
|
|
469
|
+
fecharAoConfirmar: { type: Boolean, default: !1 },
|
|
470
|
+
desabilitarConfirmar: { type: Boolean, default: !1 },
|
|
471
|
+
carregando: { type: Boolean, default: !1 }
|
|
472
|
+
},
|
|
473
|
+
emits: ["update:modelValue", "confirmar", "cancelar", "fechar"],
|
|
474
|
+
setup(e, { emit: $ }) {
|
|
475
|
+
const a = M(), d = e, c = $, s = b({
|
|
476
|
+
get: () => d.modelValue,
|
|
477
|
+
set: (r) => c("update:modelValue", r)
|
|
478
|
+
});
|
|
479
|
+
return (r, n) => (f(), p(L, {
|
|
480
|
+
modelValue: s.value,
|
|
481
|
+
"onUpdate:modelValue": n[0] || (n[0] = (t) => s.value = t),
|
|
482
|
+
tamanho: e.tamanho,
|
|
483
|
+
"cor-topo": "danger",
|
|
484
|
+
"cor-botao-confirmar": "danger",
|
|
485
|
+
titulo: e.titulo,
|
|
486
|
+
descricao: e.descricao,
|
|
487
|
+
"texto-cancelar": e.textoCancelar,
|
|
488
|
+
"texto-confirmar": e.textoConfirmar,
|
|
489
|
+
"mostrar-botao-cancelar": e.mostrarBotaoCancelar,
|
|
490
|
+
"mostrar-botao-confirmar": e.mostrarBotaoConfirmar,
|
|
491
|
+
"mostrar-botao-fechar": e.mostrarBotaoFechar,
|
|
492
|
+
"fechar-ao-clicar-fora": e.fecharAoClicarFora,
|
|
493
|
+
"fechar-com-esc": e.fecharComEsc,
|
|
494
|
+
"fechar-ao-confirmar": e.fecharAoConfirmar,
|
|
495
|
+
"desabilitar-confirmar": e.desabilitarConfirmar,
|
|
496
|
+
carregando: e.carregando,
|
|
497
|
+
onConfirmar: n[1] || (n[1] = (t) => c("confirmar")),
|
|
498
|
+
onCancelar: n[2] || (n[2] = (t) => c("cancelar")),
|
|
499
|
+
onFechar: n[3] || (n[3] = (t) => c("fechar"))
|
|
500
|
+
}, I({
|
|
501
|
+
icone: i(() => [
|
|
502
|
+
o(r.$slots, "icone", {}, () => [
|
|
503
|
+
D(l(J), {
|
|
504
|
+
class: "icon mb-2 text-danger icone-destaque",
|
|
505
|
+
"stroke-width": "1.5"
|
|
506
|
+
})
|
|
507
|
+
], !0)
|
|
508
|
+
]),
|
|
509
|
+
_: 2
|
|
510
|
+
}, [
|
|
511
|
+
l(a).titulo ? {
|
|
512
|
+
name: "titulo",
|
|
513
|
+
fn: i(() => [
|
|
514
|
+
o(r.$slots, "titulo", {}, void 0, !0)
|
|
515
|
+
]),
|
|
516
|
+
key: "0"
|
|
517
|
+
} : void 0,
|
|
518
|
+
l(a).default ? {
|
|
519
|
+
name: "default",
|
|
520
|
+
fn: i(() => [
|
|
521
|
+
o(r.$slots, "default", {}, void 0, !0)
|
|
522
|
+
]),
|
|
523
|
+
key: "1"
|
|
524
|
+
} : void 0,
|
|
525
|
+
l(a).conteudo ? {
|
|
526
|
+
name: "conteudo",
|
|
527
|
+
fn: i(() => [
|
|
528
|
+
o(r.$slots, "conteudo", {}, void 0, !0)
|
|
529
|
+
]),
|
|
530
|
+
key: "2"
|
|
531
|
+
} : void 0,
|
|
532
|
+
l(a).extra ? {
|
|
533
|
+
name: "extra",
|
|
534
|
+
fn: i(() => [
|
|
535
|
+
o(r.$slots, "extra", {}, void 0, !0)
|
|
536
|
+
]),
|
|
537
|
+
key: "3"
|
|
538
|
+
} : void 0,
|
|
539
|
+
l(a)["botoes-esquerda"] ? {
|
|
540
|
+
name: "botoes-esquerda",
|
|
541
|
+
fn: i((t) => [
|
|
542
|
+
o(r.$slots, "botoes-esquerda", y(v(t)), void 0, !0)
|
|
543
|
+
]),
|
|
544
|
+
key: "4"
|
|
545
|
+
} : void 0,
|
|
546
|
+
l(a)["botoes-meio"] ? {
|
|
547
|
+
name: "botoes-meio",
|
|
548
|
+
fn: i((t) => [
|
|
549
|
+
o(r.$slots, "botoes-meio", y(v(t)), void 0, !0)
|
|
550
|
+
]),
|
|
551
|
+
key: "5"
|
|
552
|
+
} : void 0,
|
|
553
|
+
l(a)["botoes-direita"] ? {
|
|
554
|
+
name: "botoes-direita",
|
|
555
|
+
fn: i((t) => [
|
|
556
|
+
o(r.$slots, "botoes-direita", y(v(t)), void 0, !0)
|
|
557
|
+
]),
|
|
558
|
+
key: "6"
|
|
559
|
+
} : void 0,
|
|
560
|
+
l(a).footer ? {
|
|
561
|
+
name: "footer",
|
|
562
|
+
fn: i((t) => [
|
|
563
|
+
o(r.$slots, "footer", y(v(t)), void 0, !0)
|
|
564
|
+
]),
|
|
565
|
+
key: "7"
|
|
566
|
+
} : void 0
|
|
567
|
+
]), 1032, ["modelValue", "tamanho", "titulo", "descricao", "texto-cancelar", "texto-confirmar", "mostrar-botao-cancelar", "mostrar-botao-confirmar", "mostrar-botao-fechar", "fechar-ao-clicar-fora", "fechar-com-esc", "fechar-ao-confirmar", "desabilitar-confirmar", "carregando"]));
|
|
568
|
+
}
|
|
569
|
+
}), oa = /* @__PURE__ */ q(pe, [["__scopeId", "data-v-7592cd72"]]), Fe = /* @__PURE__ */ E({
|
|
570
|
+
__name: "ModalSucesso",
|
|
571
|
+
props: {
|
|
572
|
+
modelValue: { type: Boolean, default: !1 },
|
|
573
|
+
tamanho: { type: String, default: "sm" },
|
|
574
|
+
titulo: { type: String, default: "Operação concluída" },
|
|
575
|
+
descricao: { type: String, default: "" },
|
|
576
|
+
textoCancelar: { type: String, default: "Voltar" },
|
|
577
|
+
textoConfirmar: { type: String, default: "Continuar" },
|
|
578
|
+
mostrarBotaoCancelar: { type: Boolean, default: !0 },
|
|
579
|
+
mostrarBotaoConfirmar: { type: Boolean, default: !0 },
|
|
580
|
+
mostrarBotaoFechar: { type: Boolean, default: !0 },
|
|
581
|
+
fecharAoClicarFora: { type: Boolean, default: !0 },
|
|
582
|
+
fecharComEsc: { type: Boolean, default: !0 },
|
|
583
|
+
fecharAoConfirmar: { type: Boolean, default: !0 },
|
|
584
|
+
desabilitarConfirmar: { type: Boolean, default: !1 },
|
|
585
|
+
carregando: { type: Boolean, default: !1 }
|
|
586
|
+
},
|
|
587
|
+
emits: ["update:modelValue", "confirmar", "cancelar", "fechar"],
|
|
588
|
+
setup(e, { emit: $ }) {
|
|
589
|
+
const a = M(), d = e, c = $, s = b({
|
|
590
|
+
get: () => d.modelValue,
|
|
591
|
+
set: (r) => c("update:modelValue", r)
|
|
592
|
+
});
|
|
593
|
+
return (r, n) => (f(), p(L, {
|
|
594
|
+
modelValue: s.value,
|
|
595
|
+
"onUpdate:modelValue": n[0] || (n[0] = (t) => s.value = t),
|
|
596
|
+
tamanho: e.tamanho,
|
|
597
|
+
"cor-topo": "success",
|
|
598
|
+
"cor-botao-confirmar": "success",
|
|
599
|
+
titulo: e.titulo,
|
|
600
|
+
descricao: e.descricao,
|
|
601
|
+
"texto-cancelar": e.textoCancelar,
|
|
602
|
+
"texto-confirmar": e.textoConfirmar,
|
|
603
|
+
"mostrar-botao-cancelar": e.mostrarBotaoCancelar,
|
|
604
|
+
"mostrar-botao-confirmar": e.mostrarBotaoConfirmar,
|
|
605
|
+
"mostrar-botao-fechar": e.mostrarBotaoFechar,
|
|
606
|
+
"fechar-ao-clicar-fora": e.fecharAoClicarFora,
|
|
607
|
+
"fechar-com-esc": e.fecharComEsc,
|
|
608
|
+
"fechar-ao-confirmar": e.fecharAoConfirmar,
|
|
609
|
+
"desabilitar-confirmar": e.desabilitarConfirmar,
|
|
610
|
+
carregando: e.carregando,
|
|
611
|
+
onConfirmar: n[1] || (n[1] = (t) => c("confirmar")),
|
|
612
|
+
onCancelar: n[2] || (n[2] = (t) => c("cancelar")),
|
|
613
|
+
onFechar: n[3] || (n[3] = (t) => c("fechar"))
|
|
614
|
+
}, I({
|
|
615
|
+
icone: i(() => [
|
|
616
|
+
o(r.$slots, "icone", {}, () => [
|
|
617
|
+
D(l(Y), {
|
|
618
|
+
class: "icon mb-2 text-success icone-destaque",
|
|
619
|
+
"stroke-width": "1.5"
|
|
620
|
+
})
|
|
621
|
+
], !0)
|
|
622
|
+
]),
|
|
623
|
+
_: 2
|
|
624
|
+
}, [
|
|
625
|
+
l(a).titulo ? {
|
|
626
|
+
name: "titulo",
|
|
627
|
+
fn: i(() => [
|
|
628
|
+
o(r.$slots, "titulo", {}, void 0, !0)
|
|
629
|
+
]),
|
|
630
|
+
key: "0"
|
|
631
|
+
} : void 0,
|
|
632
|
+
l(a).default ? {
|
|
633
|
+
name: "default",
|
|
634
|
+
fn: i(() => [
|
|
635
|
+
o(r.$slots, "default", {}, void 0, !0)
|
|
636
|
+
]),
|
|
637
|
+
key: "1"
|
|
638
|
+
} : void 0,
|
|
639
|
+
l(a).conteudo ? {
|
|
640
|
+
name: "conteudo",
|
|
641
|
+
fn: i(() => [
|
|
642
|
+
o(r.$slots, "conteudo", {}, void 0, !0)
|
|
643
|
+
]),
|
|
644
|
+
key: "2"
|
|
645
|
+
} : void 0,
|
|
646
|
+
l(a).extra ? {
|
|
647
|
+
name: "extra",
|
|
648
|
+
fn: i(() => [
|
|
649
|
+
o(r.$slots, "extra", {}, void 0, !0)
|
|
650
|
+
]),
|
|
651
|
+
key: "3"
|
|
652
|
+
} : void 0,
|
|
653
|
+
l(a)["botoes-esquerda"] ? {
|
|
654
|
+
name: "botoes-esquerda",
|
|
655
|
+
fn: i((t) => [
|
|
656
|
+
o(r.$slots, "botoes-esquerda", y(v(t)), void 0, !0)
|
|
657
|
+
]),
|
|
658
|
+
key: "4"
|
|
659
|
+
} : void 0,
|
|
660
|
+
l(a)["botoes-meio"] ? {
|
|
661
|
+
name: "botoes-meio",
|
|
662
|
+
fn: i((t) => [
|
|
663
|
+
o(r.$slots, "botoes-meio", y(v(t)), void 0, !0)
|
|
664
|
+
]),
|
|
665
|
+
key: "5"
|
|
666
|
+
} : void 0,
|
|
667
|
+
l(a)["botoes-direita"] ? {
|
|
668
|
+
name: "botoes-direita",
|
|
669
|
+
fn: i((t) => [
|
|
670
|
+
o(r.$slots, "botoes-direita", y(v(t)), void 0, !0)
|
|
671
|
+
]),
|
|
672
|
+
key: "6"
|
|
673
|
+
} : void 0,
|
|
674
|
+
l(a).footer ? {
|
|
675
|
+
name: "footer",
|
|
676
|
+
fn: i((t) => [
|
|
677
|
+
o(r.$slots, "footer", y(v(t)), void 0, !0)
|
|
678
|
+
]),
|
|
679
|
+
key: "7"
|
|
680
|
+
} : void 0
|
|
681
|
+
]), 1032, ["modelValue", "tamanho", "titulo", "descricao", "texto-cancelar", "texto-confirmar", "mostrar-botao-cancelar", "mostrar-botao-confirmar", "mostrar-botao-fechar", "fechar-ao-clicar-fora", "fechar-com-esc", "fechar-ao-confirmar", "desabilitar-confirmar", "carregando"]));
|
|
682
|
+
}
|
|
683
|
+
}), ta = /* @__PURE__ */ q(Fe, [["__scopeId", "data-v-abf50b7e"]]), Ae = /* @__PURE__ */ E({
|
|
684
|
+
__name: "ModalAviso",
|
|
685
|
+
props: {
|
|
686
|
+
modelValue: { type: Boolean, default: !1 },
|
|
687
|
+
tamanho: { type: String, default: "sm" },
|
|
688
|
+
usarCorBrand: { type: Boolean, default: !1 },
|
|
689
|
+
titulo: { type: String, default: "Atenção" },
|
|
690
|
+
descricao: { type: String, default: "" },
|
|
691
|
+
textoCancelar: { type: String, default: "Cancelar" },
|
|
692
|
+
textoConfirmar: { type: String, default: "Entendi" },
|
|
693
|
+
mostrarBotaoCancelar: { type: Boolean, default: !0 },
|
|
694
|
+
mostrarBotaoConfirmar: { type: Boolean, default: !0 },
|
|
695
|
+
mostrarBotaoFechar: { type: Boolean, default: !0 },
|
|
696
|
+
fecharAoClicarFora: { type: Boolean, default: !0 },
|
|
697
|
+
fecharComEsc: { type: Boolean, default: !0 },
|
|
698
|
+
fecharAoConfirmar: { type: Boolean, default: !1 },
|
|
699
|
+
desabilitarConfirmar: { type: Boolean, default: !1 },
|
|
700
|
+
carregando: { type: Boolean, default: !1 }
|
|
701
|
+
},
|
|
702
|
+
emits: ["update:modelValue", "confirmar", "cancelar", "fechar"],
|
|
703
|
+
setup(e, { emit: $ }) {
|
|
704
|
+
const a = M(), d = e, c = $, s = b({
|
|
705
|
+
get: () => d.modelValue,
|
|
706
|
+
set: (r) => c("update:modelValue", r)
|
|
707
|
+
});
|
|
708
|
+
return (r, n) => (f(), p(L, {
|
|
709
|
+
modelValue: s.value,
|
|
710
|
+
"onUpdate:modelValue": n[0] || (n[0] = (t) => s.value = t),
|
|
711
|
+
tamanho: e.tamanho,
|
|
712
|
+
"cor-topo": e.usarCorBrand ? "brand" : "warning",
|
|
713
|
+
"cor-botao-confirmar": e.usarCorBrand ? "brand" : "warning",
|
|
714
|
+
titulo: e.titulo,
|
|
715
|
+
descricao: e.descricao,
|
|
716
|
+
"texto-cancelar": e.textoCancelar,
|
|
717
|
+
"texto-confirmar": e.textoConfirmar,
|
|
718
|
+
"mostrar-botao-cancelar": e.mostrarBotaoCancelar,
|
|
719
|
+
"mostrar-botao-confirmar": e.mostrarBotaoConfirmar,
|
|
720
|
+
"mostrar-botao-fechar": e.mostrarBotaoFechar,
|
|
721
|
+
"fechar-ao-clicar-fora": e.fecharAoClicarFora,
|
|
722
|
+
"fechar-com-esc": e.fecharComEsc,
|
|
723
|
+
"fechar-ao-confirmar": e.fecharAoConfirmar,
|
|
724
|
+
"desabilitar-confirmar": e.desabilitarConfirmar,
|
|
725
|
+
carregando: e.carregando,
|
|
726
|
+
onConfirmar: n[1] || (n[1] = (t) => c("confirmar")),
|
|
727
|
+
onCancelar: n[2] || (n[2] = (t) => c("cancelar")),
|
|
728
|
+
onFechar: n[3] || (n[3] = (t) => c("fechar"))
|
|
729
|
+
}, I({
|
|
730
|
+
icone: i(() => [
|
|
731
|
+
o(r.$slots, "icone", {}, () => [
|
|
732
|
+
D(l(Z), {
|
|
733
|
+
class: V(["icon mb-2 icone-destaque", e.usarCorBrand ? "" : "text-warning"]),
|
|
734
|
+
style: T(e.usarCorBrand ? { color: "var(--color-brand, var(--tblr-primary))" } : {}),
|
|
735
|
+
"stroke-width": "1.5"
|
|
736
|
+
}, null, 8, ["class", "style"])
|
|
737
|
+
], !0)
|
|
738
|
+
]),
|
|
739
|
+
_: 2
|
|
740
|
+
}, [
|
|
741
|
+
l(a).titulo ? {
|
|
742
|
+
name: "titulo",
|
|
743
|
+
fn: i(() => [
|
|
744
|
+
o(r.$slots, "titulo", {}, void 0, !0)
|
|
745
|
+
]),
|
|
746
|
+
key: "0"
|
|
747
|
+
} : void 0,
|
|
748
|
+
l(a).default ? {
|
|
749
|
+
name: "default",
|
|
750
|
+
fn: i(() => [
|
|
751
|
+
o(r.$slots, "default", {}, void 0, !0)
|
|
752
|
+
]),
|
|
753
|
+
key: "1"
|
|
754
|
+
} : void 0,
|
|
755
|
+
l(a).conteudo ? {
|
|
756
|
+
name: "conteudo",
|
|
757
|
+
fn: i(() => [
|
|
758
|
+
o(r.$slots, "conteudo", {}, void 0, !0)
|
|
759
|
+
]),
|
|
760
|
+
key: "2"
|
|
761
|
+
} : void 0,
|
|
762
|
+
l(a).extra ? {
|
|
763
|
+
name: "extra",
|
|
764
|
+
fn: i(() => [
|
|
765
|
+
o(r.$slots, "extra", {}, void 0, !0)
|
|
766
|
+
]),
|
|
767
|
+
key: "3"
|
|
768
|
+
} : void 0,
|
|
769
|
+
l(a)["botoes-esquerda"] ? {
|
|
770
|
+
name: "botoes-esquerda",
|
|
771
|
+
fn: i((t) => [
|
|
772
|
+
o(r.$slots, "botoes-esquerda", y(v(t)), void 0, !0)
|
|
773
|
+
]),
|
|
774
|
+
key: "4"
|
|
775
|
+
} : void 0,
|
|
776
|
+
l(a)["botoes-meio"] ? {
|
|
777
|
+
name: "botoes-meio",
|
|
778
|
+
fn: i((t) => [
|
|
779
|
+
o(r.$slots, "botoes-meio", y(v(t)), void 0, !0)
|
|
780
|
+
]),
|
|
781
|
+
key: "5"
|
|
782
|
+
} : void 0,
|
|
783
|
+
l(a)["botoes-direita"] ? {
|
|
784
|
+
name: "botoes-direita",
|
|
785
|
+
fn: i((t) => [
|
|
786
|
+
o(r.$slots, "botoes-direita", y(v(t)), void 0, !0)
|
|
787
|
+
]),
|
|
788
|
+
key: "6"
|
|
789
|
+
} : void 0,
|
|
790
|
+
l(a).footer ? {
|
|
791
|
+
name: "footer",
|
|
792
|
+
fn: i((t) => [
|
|
793
|
+
o(r.$slots, "footer", y(v(t)), void 0, !0)
|
|
794
|
+
]),
|
|
795
|
+
key: "7"
|
|
796
|
+
} : void 0
|
|
797
|
+
]), 1032, ["modelValue", "tamanho", "cor-topo", "cor-botao-confirmar", "titulo", "descricao", "texto-cancelar", "texto-confirmar", "mostrar-botao-cancelar", "mostrar-botao-confirmar", "mostrar-botao-fechar", "fechar-ao-clicar-fora", "fechar-com-esc", "fechar-ao-confirmar", "desabilitar-confirmar", "carregando"]));
|
|
798
|
+
}
|
|
799
|
+
}), ra = /* @__PURE__ */ q(Ae, [["__scopeId", "data-v-dd7cb913"]]), Te = /* @__PURE__ */ E({
|
|
800
|
+
__name: "ModalInformacao",
|
|
801
|
+
props: {
|
|
802
|
+
modelValue: { type: Boolean, default: !1 },
|
|
803
|
+
tamanho: { type: String, default: "sm" },
|
|
804
|
+
usarCorBrand: { type: Boolean, default: !1 },
|
|
805
|
+
titulo: { type: String, default: "Informação" },
|
|
806
|
+
descricao: { type: String, default: "" },
|
|
807
|
+
textoCancelar: { type: String, default: "Fechar" },
|
|
808
|
+
textoConfirmar: { type: String, default: "Entendi" },
|
|
809
|
+
mostrarBotaoCancelar: { type: Boolean, default: !1 },
|
|
810
|
+
mostrarBotaoConfirmar: { type: Boolean, default: !0 },
|
|
811
|
+
mostrarBotaoFechar: { type: Boolean, default: !0 },
|
|
812
|
+
fecharAoClicarFora: { type: Boolean, default: !0 },
|
|
813
|
+
fecharComEsc: { type: Boolean, default: !0 },
|
|
814
|
+
fecharAoConfirmar: { type: Boolean, default: !0 },
|
|
815
|
+
desabilitarConfirmar: { type: Boolean, default: !1 },
|
|
816
|
+
carregando: { type: Boolean, default: !1 }
|
|
817
|
+
},
|
|
818
|
+
emits: ["update:modelValue", "confirmar", "cancelar", "fechar"],
|
|
819
|
+
setup(e, { emit: $ }) {
|
|
820
|
+
const a = M(), d = e, c = $, s = b({
|
|
821
|
+
get: () => d.modelValue,
|
|
822
|
+
set: (r) => c("update:modelValue", r)
|
|
823
|
+
});
|
|
824
|
+
return (r, n) => (f(), p(L, {
|
|
825
|
+
modelValue: s.value,
|
|
826
|
+
"onUpdate:modelValue": n[0] || (n[0] = (t) => s.value = t),
|
|
827
|
+
tamanho: e.tamanho,
|
|
828
|
+
"cor-topo": e.usarCorBrand ? "brand" : "info",
|
|
829
|
+
"cor-botao-confirmar": e.usarCorBrand ? "brand" : "info",
|
|
830
|
+
titulo: e.titulo,
|
|
831
|
+
descricao: e.descricao,
|
|
832
|
+
"texto-cancelar": e.textoCancelar,
|
|
833
|
+
"texto-confirmar": e.textoConfirmar,
|
|
834
|
+
"mostrar-botao-cancelar": e.mostrarBotaoCancelar,
|
|
835
|
+
"mostrar-botao-confirmar": e.mostrarBotaoConfirmar,
|
|
836
|
+
"mostrar-botao-fechar": e.mostrarBotaoFechar,
|
|
837
|
+
"fechar-ao-clicar-fora": e.fecharAoClicarFora,
|
|
838
|
+
"fechar-com-esc": e.fecharComEsc,
|
|
839
|
+
"fechar-ao-confirmar": e.fecharAoConfirmar,
|
|
840
|
+
"desabilitar-confirmar": e.desabilitarConfirmar,
|
|
841
|
+
carregando: e.carregando,
|
|
842
|
+
onConfirmar: n[1] || (n[1] = (t) => c("confirmar")),
|
|
843
|
+
onCancelar: n[2] || (n[2] = (t) => c("cancelar")),
|
|
844
|
+
onFechar: n[3] || (n[3] = (t) => c("fechar"))
|
|
845
|
+
}, I({
|
|
846
|
+
icone: i(() => [
|
|
847
|
+
o(r.$slots, "icone", {}, () => [
|
|
848
|
+
D(l(_), {
|
|
849
|
+
class: V(["icon mb-2 icone-destaque", e.usarCorBrand ? "" : "text-info"]),
|
|
850
|
+
style: T(e.usarCorBrand ? { color: "var(--color-brand, var(--tblr-primary))" } : {}),
|
|
851
|
+
"stroke-width": "1.5"
|
|
852
|
+
}, null, 8, ["class", "style"])
|
|
853
|
+
], !0)
|
|
854
|
+
]),
|
|
855
|
+
_: 2
|
|
856
|
+
}, [
|
|
857
|
+
l(a).titulo ? {
|
|
858
|
+
name: "titulo",
|
|
859
|
+
fn: i(() => [
|
|
860
|
+
o(r.$slots, "titulo", {}, void 0, !0)
|
|
861
|
+
]),
|
|
862
|
+
key: "0"
|
|
863
|
+
} : void 0,
|
|
864
|
+
l(a).default ? {
|
|
865
|
+
name: "default",
|
|
866
|
+
fn: i(() => [
|
|
867
|
+
o(r.$slots, "default", {}, void 0, !0)
|
|
868
|
+
]),
|
|
869
|
+
key: "1"
|
|
870
|
+
} : void 0,
|
|
871
|
+
l(a).conteudo ? {
|
|
872
|
+
name: "conteudo",
|
|
873
|
+
fn: i(() => [
|
|
874
|
+
o(r.$slots, "conteudo", {}, void 0, !0)
|
|
875
|
+
]),
|
|
876
|
+
key: "2"
|
|
877
|
+
} : void 0,
|
|
878
|
+
l(a).extra ? {
|
|
879
|
+
name: "extra",
|
|
880
|
+
fn: i(() => [
|
|
881
|
+
o(r.$slots, "extra", {}, void 0, !0)
|
|
882
|
+
]),
|
|
883
|
+
key: "3"
|
|
884
|
+
} : void 0,
|
|
885
|
+
l(a)["botoes-esquerda"] ? {
|
|
886
|
+
name: "botoes-esquerda",
|
|
887
|
+
fn: i((t) => [
|
|
888
|
+
o(r.$slots, "botoes-esquerda", y(v(t)), void 0, !0)
|
|
889
|
+
]),
|
|
890
|
+
key: "4"
|
|
891
|
+
} : void 0,
|
|
892
|
+
l(a)["botoes-meio"] ? {
|
|
893
|
+
name: "botoes-meio",
|
|
894
|
+
fn: i((t) => [
|
|
895
|
+
o(r.$slots, "botoes-meio", y(v(t)), void 0, !0)
|
|
896
|
+
]),
|
|
897
|
+
key: "5"
|
|
898
|
+
} : void 0,
|
|
899
|
+
l(a)["botoes-direita"] ? {
|
|
900
|
+
name: "botoes-direita",
|
|
901
|
+
fn: i((t) => [
|
|
902
|
+
o(r.$slots, "botoes-direita", y(v(t)), void 0, !0)
|
|
903
|
+
]),
|
|
904
|
+
key: "6"
|
|
905
|
+
} : void 0,
|
|
906
|
+
l(a).footer ? {
|
|
907
|
+
name: "footer",
|
|
908
|
+
fn: i((t) => [
|
|
909
|
+
o(r.$slots, "footer", y(v(t)), void 0, !0)
|
|
910
|
+
]),
|
|
911
|
+
key: "7"
|
|
912
|
+
} : void 0
|
|
913
|
+
]), 1032, ["modelValue", "tamanho", "cor-topo", "cor-botao-confirmar", "titulo", "descricao", "texto-cancelar", "texto-confirmar", "mostrar-botao-cancelar", "mostrar-botao-confirmar", "mostrar-botao-fechar", "fechar-ao-clicar-fora", "fechar-com-esc", "fechar-ao-confirmar", "desabilitar-confirmar", "carregando"]));
|
|
914
|
+
}
|
|
915
|
+
}), na = /* @__PURE__ */ q(Te, [["__scopeId", "data-v-cd3e9941"]]), Ee = { class: "mt-2 text-start d-inline-block" }, qe = { class: "form-check mb-0 user-select-none cursor-pointer" }, Me = ["disabled"], Ie = { class: "form-check-label" }, De = /* @__PURE__ */ E({
|
|
916
|
+
__name: "ModalConfirmacaoCheckbox",
|
|
917
|
+
props: {
|
|
918
|
+
modelValue: { type: Boolean, default: !1 },
|
|
919
|
+
tamanho: { type: String, default: "sm" },
|
|
920
|
+
corTema: { type: String, default: "danger" },
|
|
921
|
+
titulo: { type: String, default: "Você tem certeza?" },
|
|
922
|
+
descricao: { type: String, default: "Você realmente deseja deletar este item? Esta ação não pode ser desfeita." },
|
|
923
|
+
textoCheckbox: { type: String, default: "Eu entendo que esta ação não pode ser desfeita" },
|
|
924
|
+
textoCancelar: { type: String, default: "Cancelar" },
|
|
925
|
+
textoConfirmar: { type: String, default: "Deletar" },
|
|
926
|
+
mostrarBotaoCancelar: { type: Boolean, default: !0 },
|
|
927
|
+
mostrarBotaoConfirmar: { type: Boolean, default: !0 },
|
|
928
|
+
mostrarBotaoFechar: { type: Boolean, default: !0 },
|
|
929
|
+
fecharAoClicarFora: { type: Boolean, default: !1 },
|
|
930
|
+
fecharComEsc: { type: Boolean, default: !0 },
|
|
931
|
+
fecharAoConfirmar: { type: Boolean, default: !1 },
|
|
932
|
+
desabilitarConfirmar: { type: Boolean, default: !1 },
|
|
933
|
+
carregando: { type: Boolean, default: !1 }
|
|
934
|
+
},
|
|
935
|
+
emits: ["update:modelValue", "confirmar", "cancelar", "fechar"],
|
|
936
|
+
setup(e, { emit: $ }) {
|
|
937
|
+
const a = M(), d = e, c = $, s = G(!1), r = b({
|
|
938
|
+
get: () => d.modelValue,
|
|
939
|
+
set: (n) => c("update:modelValue", n)
|
|
940
|
+
});
|
|
941
|
+
return z(r, (n) => {
|
|
942
|
+
n && (s.value = !1);
|
|
943
|
+
}), (n, t) => (f(), p(L, {
|
|
944
|
+
modelValue: r.value,
|
|
945
|
+
"onUpdate:modelValue": t[1] || (t[1] = (m) => r.value = m),
|
|
946
|
+
tamanho: e.tamanho,
|
|
947
|
+
"cor-topo": e.corTema,
|
|
948
|
+
"cor-botao-confirmar": e.corTema,
|
|
949
|
+
titulo: e.titulo,
|
|
950
|
+
descricao: e.descricao,
|
|
951
|
+
"texto-cancelar": e.textoCancelar,
|
|
952
|
+
"texto-confirmar": e.textoConfirmar,
|
|
953
|
+
"mostrar-botao-cancelar": e.mostrarBotaoCancelar,
|
|
954
|
+
"mostrar-botao-confirmar": e.mostrarBotaoConfirmar,
|
|
955
|
+
"mostrar-botao-fechar": e.mostrarBotaoFechar,
|
|
956
|
+
"fechar-ao-clicar-fora": e.fecharAoClicarFora,
|
|
957
|
+
"fechar-com-esc": e.fecharComEsc,
|
|
958
|
+
"fechar-ao-confirmar": e.fecharAoConfirmar,
|
|
959
|
+
"desabilitar-confirmar": !s.value || e.desabilitarConfirmar,
|
|
960
|
+
carregando: e.carregando,
|
|
961
|
+
onConfirmar: t[2] || (t[2] = (m) => c("confirmar")),
|
|
962
|
+
onCancelar: t[3] || (t[3] = (m) => c("cancelar")),
|
|
963
|
+
onFechar: t[4] || (t[4] = (m) => c("fechar"))
|
|
964
|
+
}, I({
|
|
965
|
+
icone: i(() => [
|
|
966
|
+
o(n.$slots, "icone", {}, () => [
|
|
967
|
+
D(l(J), {
|
|
968
|
+
class: V(["icon mb-2 icone-destaque", e.corTema === "brand" ? "" : `text-${e.corTema}`]),
|
|
969
|
+
style: T(e.corTema === "brand" ? { color: "var(--color-brand, var(--tblr-primary))" } : {}),
|
|
970
|
+
"stroke-width": "1.5"
|
|
971
|
+
}, null, 8, ["class", "style"])
|
|
972
|
+
], !0)
|
|
973
|
+
]),
|
|
974
|
+
extra: i(() => [
|
|
975
|
+
g("div", Ee, [
|
|
976
|
+
g("label", qe, [
|
|
977
|
+
P(g("input", {
|
|
978
|
+
"onUpdate:modelValue": t[0] || (t[0] = (m) => s.value = m),
|
|
979
|
+
class: "form-check-input",
|
|
980
|
+
type: "checkbox",
|
|
981
|
+
disabled: e.carregando
|
|
982
|
+
}, null, 8, Me), [
|
|
983
|
+
[Q, s.value]
|
|
984
|
+
]),
|
|
985
|
+
g("span", Ie, [
|
|
986
|
+
o(n.$slots, "texto-checkbox", {}, () => [
|
|
987
|
+
F(x(e.textoCheckbox), 1)
|
|
988
|
+
], !0)
|
|
989
|
+
])
|
|
990
|
+
])
|
|
991
|
+
]),
|
|
992
|
+
o(n.$slots, "extra", {}, void 0, !0)
|
|
993
|
+
]),
|
|
994
|
+
_: 2
|
|
995
|
+
}, [
|
|
996
|
+
l(a).titulo ? {
|
|
997
|
+
name: "titulo",
|
|
998
|
+
fn: i(() => [
|
|
999
|
+
o(n.$slots, "titulo", {}, void 0, !0)
|
|
1000
|
+
]),
|
|
1001
|
+
key: "0"
|
|
1002
|
+
} : void 0,
|
|
1003
|
+
l(a).default ? {
|
|
1004
|
+
name: "default",
|
|
1005
|
+
fn: i(() => [
|
|
1006
|
+
o(n.$slots, "default", {}, void 0, !0)
|
|
1007
|
+
]),
|
|
1008
|
+
key: "1"
|
|
1009
|
+
} : void 0,
|
|
1010
|
+
l(a).conteudo ? {
|
|
1011
|
+
name: "conteudo",
|
|
1012
|
+
fn: i(() => [
|
|
1013
|
+
o(n.$slots, "conteudo", {}, void 0, !0)
|
|
1014
|
+
]),
|
|
1015
|
+
key: "2"
|
|
1016
|
+
} : void 0,
|
|
1017
|
+
l(a)["botoes-esquerda"] ? {
|
|
1018
|
+
name: "botoes-esquerda",
|
|
1019
|
+
fn: i((m) => [
|
|
1020
|
+
o(n.$slots, "botoes-esquerda", y(v(m)), void 0, !0)
|
|
1021
|
+
]),
|
|
1022
|
+
key: "3"
|
|
1023
|
+
} : void 0,
|
|
1024
|
+
l(a)["botoes-meio"] ? {
|
|
1025
|
+
name: "botoes-meio",
|
|
1026
|
+
fn: i((m) => [
|
|
1027
|
+
o(n.$slots, "botoes-meio", y(v(m)), void 0, !0)
|
|
1028
|
+
]),
|
|
1029
|
+
key: "4"
|
|
1030
|
+
} : void 0,
|
|
1031
|
+
l(a)["botoes-direita"] ? {
|
|
1032
|
+
name: "botoes-direita",
|
|
1033
|
+
fn: i((m) => [
|
|
1034
|
+
o(n.$slots, "botoes-direita", y(v(m)), void 0, !0)
|
|
1035
|
+
]),
|
|
1036
|
+
key: "5"
|
|
1037
|
+
} : void 0,
|
|
1038
|
+
l(a).footer ? {
|
|
1039
|
+
name: "footer",
|
|
1040
|
+
fn: i((m) => [
|
|
1041
|
+
o(n.$slots, "footer", y(v(m)), void 0, !0)
|
|
1042
|
+
]),
|
|
1043
|
+
key: "6"
|
|
1044
|
+
} : void 0
|
|
1045
|
+
]), 1032, ["modelValue", "tamanho", "cor-topo", "cor-botao-confirmar", "titulo", "descricao", "texto-cancelar", "texto-confirmar", "mostrar-botao-cancelar", "mostrar-botao-confirmar", "mostrar-botao-fechar", "fechar-ao-clicar-fora", "fechar-com-esc", "fechar-ao-confirmar", "desabilitar-confirmar", "carregando"]));
|
|
1046
|
+
}
|
|
1047
|
+
}), la = /* @__PURE__ */ q(De, [["__scopeId", "data-v-190ee7d8"]]), Le = {
|
|
1048
|
+
key: 0,
|
|
1049
|
+
class: "form-label fw-medium"
|
|
1050
|
+
}, Ue = {
|
|
1051
|
+
key: 0,
|
|
1052
|
+
class: "text-danger"
|
|
1053
|
+
}, ze = ["rows", "placeholder", "disabled"], Pe = ["placeholder", "disabled"], Ne = {
|
|
1054
|
+
key: 3,
|
|
1055
|
+
class: "form-hint mt-1 d-block"
|
|
1056
|
+
}, Re = /* @__PURE__ */ E({
|
|
1057
|
+
__name: "ModalConfirmacaoInput",
|
|
1058
|
+
props: {
|
|
1059
|
+
modelValue: { type: Boolean, default: !1 },
|
|
1060
|
+
tamanho: { type: String, default: "sm" },
|
|
1061
|
+
corTema: { type: String, default: "brand" },
|
|
1062
|
+
titulo: { type: String, default: "Informe o motivo" },
|
|
1063
|
+
descricao: { type: String, default: "" },
|
|
1064
|
+
rotuloInput: { type: String, default: "" },
|
|
1065
|
+
placeholder: { type: String, default: "Digite aqui..." },
|
|
1066
|
+
multiplasLinhas: { type: Boolean, default: !1 },
|
|
1067
|
+
linhasTextarea: { type: Number, default: 3 },
|
|
1068
|
+
obrigatorio: { type: Boolean, default: !0 },
|
|
1069
|
+
palavraChaveConfirmacao: { type: String, default: "" },
|
|
1070
|
+
limparAoAbrir: { type: Boolean, default: !0 },
|
|
1071
|
+
textoCancelar: { type: String, default: "Cancelar" },
|
|
1072
|
+
textoConfirmar: { type: String, default: "Confirmar" },
|
|
1073
|
+
mostrarBotaoCancelar: { type: Boolean, default: !0 },
|
|
1074
|
+
mostrarBotaoConfirmar: { type: Boolean, default: !0 },
|
|
1075
|
+
mostrarBotaoFechar: { type: Boolean, default: !0 },
|
|
1076
|
+
fecharAoClicarFora: { type: Boolean, default: !1 },
|
|
1077
|
+
fecharComEsc: { type: Boolean, default: !0 },
|
|
1078
|
+
fecharAoConfirmar: { type: Boolean, default: !1 },
|
|
1079
|
+
carregando: { type: Boolean, default: !1 }
|
|
1080
|
+
},
|
|
1081
|
+
emits: ["update:modelValue", "confirmar", "cancelar", "fechar"],
|
|
1082
|
+
setup(e, { emit: $ }) {
|
|
1083
|
+
const a = M(), d = e, c = $, s = G(""), r = b({
|
|
1084
|
+
get: () => d.modelValue,
|
|
1085
|
+
set: (m) => c("update:modelValue", m)
|
|
1086
|
+
});
|
|
1087
|
+
z(r, (m) => {
|
|
1088
|
+
m && d.limparAoAbrir && (s.value = "");
|
|
1089
|
+
});
|
|
1090
|
+
const n = b(() => {
|
|
1091
|
+
const m = s.value.trim();
|
|
1092
|
+
return d.palavraChaveConfirmacao ? m !== d.palavraChaveConfirmacao : d.obrigatorio ? m.length === 0 : !1;
|
|
1093
|
+
});
|
|
1094
|
+
function t() {
|
|
1095
|
+
n.value || d.carregando || (c("confirmar", s.value.trim()), d.fecharAoConfirmar && (r.value = !1));
|
|
1096
|
+
}
|
|
1097
|
+
return (m, S) => (f(), p(L, {
|
|
1098
|
+
modelValue: r.value,
|
|
1099
|
+
"onUpdate:modelValue": S[2] || (S[2] = (k) => r.value = k),
|
|
1100
|
+
tamanho: e.tamanho,
|
|
1101
|
+
"cor-topo": e.corTema,
|
|
1102
|
+
"cor-botao-confirmar": e.corTema,
|
|
1103
|
+
titulo: e.titulo,
|
|
1104
|
+
descricao: e.descricao,
|
|
1105
|
+
"texto-cancelar": e.textoCancelar,
|
|
1106
|
+
"texto-confirmar": e.textoConfirmar,
|
|
1107
|
+
"mostrar-botao-cancelar": e.mostrarBotaoCancelar,
|
|
1108
|
+
"mostrar-botao-confirmar": e.mostrarBotaoConfirmar,
|
|
1109
|
+
"mostrar-botao-fechar": e.mostrarBotaoFechar,
|
|
1110
|
+
"fechar-ao-clicar-fora": e.fecharAoClicarFora,
|
|
1111
|
+
"fechar-com-esc": e.fecharComEsc,
|
|
1112
|
+
"fechar-ao-confirmar": !1,
|
|
1113
|
+
"desabilitar-confirmar": n.value,
|
|
1114
|
+
carregando: e.carregando,
|
|
1115
|
+
onConfirmar: t,
|
|
1116
|
+
onCancelar: S[3] || (S[3] = (k) => c("cancelar")),
|
|
1117
|
+
onFechar: S[4] || (S[4] = (k) => c("fechar"))
|
|
1118
|
+
}, I({
|
|
1119
|
+
icone: i(() => [
|
|
1120
|
+
o(m.$slots, "icone", {}, () => [
|
|
1121
|
+
D(l(ee), {
|
|
1122
|
+
class: V(["icon mb-2 icone-destaque", e.corTema === "brand" ? "" : `text-${e.corTema}`]),
|
|
1123
|
+
style: T(e.corTema === "brand" ? { color: "var(--color-brand, var(--tblr-primary))" } : {}),
|
|
1124
|
+
"stroke-width": "1.5"
|
|
1125
|
+
}, null, 8, ["class", "style"])
|
|
1126
|
+
], !0)
|
|
1127
|
+
]),
|
|
1128
|
+
conteudo: i(() => [
|
|
1129
|
+
e.rotuloInput ? (f(), h("label", Le, [
|
|
1130
|
+
F(x(e.rotuloInput) + " ", 1),
|
|
1131
|
+
e.obrigatorio ? (f(), h("span", Ue, "*")) : C("", !0)
|
|
1132
|
+
])) : C("", !0),
|
|
1133
|
+
e.multiplasLinhas ? P((f(), h("textarea", {
|
|
1134
|
+
key: 1,
|
|
1135
|
+
"onUpdate:modelValue": S[0] || (S[0] = (k) => s.value = k),
|
|
1136
|
+
class: "form-control",
|
|
1137
|
+
rows: e.linhasTextarea,
|
|
1138
|
+
placeholder: e.placeholder,
|
|
1139
|
+
disabled: e.carregando
|
|
1140
|
+
}, null, 8, ze)), [
|
|
1141
|
+
[O, s.value]
|
|
1142
|
+
]) : P((f(), h("input", {
|
|
1143
|
+
key: 2,
|
|
1144
|
+
"onUpdate:modelValue": S[1] || (S[1] = (k) => s.value = k),
|
|
1145
|
+
type: "text",
|
|
1146
|
+
class: "form-control",
|
|
1147
|
+
placeholder: e.placeholder,
|
|
1148
|
+
disabled: e.carregando,
|
|
1149
|
+
onKeyup: W(t, ["enter"])
|
|
1150
|
+
}, null, 40, Pe)), [
|
|
1151
|
+
[O, s.value]
|
|
1152
|
+
]),
|
|
1153
|
+
e.palavraChaveConfirmacao ? (f(), h("small", Ne, [
|
|
1154
|
+
S[5] || (S[5] = F(" Digite ", -1)),
|
|
1155
|
+
g("strong", null, x(e.palavraChaveConfirmacao), 1),
|
|
1156
|
+
S[6] || (S[6] = F(" para liberar a confirmação. ", -1))
|
|
1157
|
+
])) : C("", !0),
|
|
1158
|
+
o(m.$slots, "conteudo", {}, void 0, !0)
|
|
1159
|
+
]),
|
|
1160
|
+
_: 2
|
|
1161
|
+
}, [
|
|
1162
|
+
l(a).titulo ? {
|
|
1163
|
+
name: "titulo",
|
|
1164
|
+
fn: i(() => [
|
|
1165
|
+
o(m.$slots, "titulo", {}, void 0, !0)
|
|
1166
|
+
]),
|
|
1167
|
+
key: "0"
|
|
1168
|
+
} : void 0,
|
|
1169
|
+
l(a).default ? {
|
|
1170
|
+
name: "default",
|
|
1171
|
+
fn: i(() => [
|
|
1172
|
+
o(m.$slots, "default", {}, void 0, !0)
|
|
1173
|
+
]),
|
|
1174
|
+
key: "1"
|
|
1175
|
+
} : void 0,
|
|
1176
|
+
l(a).extra ? {
|
|
1177
|
+
name: "extra",
|
|
1178
|
+
fn: i(() => [
|
|
1179
|
+
o(m.$slots, "extra", {}, void 0, !0)
|
|
1180
|
+
]),
|
|
1181
|
+
key: "2"
|
|
1182
|
+
} : void 0,
|
|
1183
|
+
l(a)["botoes-esquerda"] ? {
|
|
1184
|
+
name: "botoes-esquerda",
|
|
1185
|
+
fn: i((k) => [
|
|
1186
|
+
o(m.$slots, "botoes-esquerda", y(v(k)), void 0, !0)
|
|
1187
|
+
]),
|
|
1188
|
+
key: "3"
|
|
1189
|
+
} : void 0,
|
|
1190
|
+
l(a)["botoes-meio"] ? {
|
|
1191
|
+
name: "botoes-meio",
|
|
1192
|
+
fn: i((k) => [
|
|
1193
|
+
o(m.$slots, "botoes-meio", y(v(k)), void 0, !0)
|
|
1194
|
+
]),
|
|
1195
|
+
key: "4"
|
|
1196
|
+
} : void 0,
|
|
1197
|
+
l(a)["botoes-direita"] ? {
|
|
1198
|
+
name: "botoes-direita",
|
|
1199
|
+
fn: i((k) => [
|
|
1200
|
+
o(m.$slots, "botoes-direita", y(v(k)), void 0, !0)
|
|
1201
|
+
]),
|
|
1202
|
+
key: "5"
|
|
1203
|
+
} : void 0,
|
|
1204
|
+
l(a).footer ? {
|
|
1205
|
+
name: "footer",
|
|
1206
|
+
fn: i((k) => [
|
|
1207
|
+
o(m.$slots, "footer", y(v(k)), void 0, !0)
|
|
1208
|
+
]),
|
|
1209
|
+
key: "6"
|
|
1210
|
+
} : void 0
|
|
1211
|
+
]), 1032, ["modelValue", "tamanho", "cor-topo", "cor-botao-confirmar", "titulo", "descricao", "texto-cancelar", "texto-confirmar", "mostrar-botao-cancelar", "mostrar-botao-confirmar", "mostrar-botao-fechar", "fechar-ao-clicar-fora", "fechar-com-esc", "desabilitar-confirmar", "carregando"]));
|
|
1212
|
+
}
|
|
1213
|
+
}), ia = /* @__PURE__ */ q(Re, [["__scopeId", "data-v-fc6b52db"]]), je = { class: "modal-titulo-simples" }, Ke = { class: "modal-descricao-simples mt-1" }, He = {
|
|
1214
|
+
key: 0,
|
|
1215
|
+
class: "mt-3"
|
|
1216
|
+
}, Oe = { class: "modal-footer" }, Ge = ["disabled"], Je = { class: "d-flex gap-2 align-items-center flex-wrap ms-auto" }, Qe = ["disabled"], We = {
|
|
1217
|
+
key: 0,
|
|
1218
|
+
class: "spinner-border spinner-border-sm me-2",
|
|
1219
|
+
role: "status"
|
|
1220
|
+
}, Xe = /* @__PURE__ */ E({
|
|
1221
|
+
__name: "ModalConfirmacaoSimples",
|
|
1222
|
+
props: {
|
|
1223
|
+
modelValue: { type: Boolean, default: !1 },
|
|
1224
|
+
tamanho: { type: String, default: "sm" },
|
|
1225
|
+
titulo: { type: String, default: "Você tem certeza?" },
|
|
1226
|
+
descricao: { type: String, default: "Se você prosseguir, perderá todos os seus dados." },
|
|
1227
|
+
textoCancelar: { type: String, default: "Cancelar" },
|
|
1228
|
+
textoConfirmar: { type: String, default: "Sim, deletar" },
|
|
1229
|
+
corBotaoConfirmar: {
|
|
1230
|
+
type: String,
|
|
1231
|
+
default: "danger"
|
|
1232
|
+
},
|
|
1233
|
+
corBarraTopo: {
|
|
1234
|
+
type: String,
|
|
1235
|
+
default: ""
|
|
1236
|
+
},
|
|
1237
|
+
mostrarBotaoCancelar: { type: Boolean, default: !0 },
|
|
1238
|
+
mostrarBotaoFechar: { type: Boolean, default: !1 },
|
|
1239
|
+
fecharAoClicarFora: { type: Boolean, default: !0 },
|
|
1240
|
+
fecharComEsc: { type: Boolean, default: !0 },
|
|
1241
|
+
fecharAoConfirmar: { type: Boolean, default: !1 },
|
|
1242
|
+
desabilitarConfirmar: { type: Boolean, default: !1 },
|
|
1243
|
+
carregando: { type: Boolean, default: !1 }
|
|
1244
|
+
},
|
|
1245
|
+
emits: ["update:modelValue", "confirmar", "cancelar", "fechar"],
|
|
1246
|
+
setup(e, { emit: $ }) {
|
|
1247
|
+
const a = M(), d = e, c = $, s = b({
|
|
1248
|
+
get: () => d.modelValue,
|
|
1249
|
+
set: (u) => c("update:modelValue", u)
|
|
1250
|
+
}), r = b(() => !d.fecharAoClicarFora || d.carregando), n = b(() => !d.fecharComEsc || d.carregando), t = b(() => !d.corBarraTopo || d.corBarraTopo === "brand" ? "" : `bg-${d.corBarraTopo}`), m = b(() => d.corBarraTopo === "brand" ? { backgroundColor: "var(--color-brand, var(--tblr-primary, #206bc4))" } : {}), S = b(() => d.corBotaoConfirmar === "brand" ? "btn-brand-custom text-white" : `btn-${d.corBotaoConfirmar}`), k = b(() => d.corBotaoConfirmar === "brand" ? {
|
|
1251
|
+
backgroundColor: "var(--color-brand, var(--tblr-primary, #206bc4))",
|
|
1252
|
+
borderColor: "var(--color-brand, var(--tblr-primary, #206bc4))"
|
|
1253
|
+
} : {});
|
|
1254
|
+
function A(u) {
|
|
1255
|
+
u.key === "Escape" && s.value && !n.value && B();
|
|
1256
|
+
}
|
|
1257
|
+
z(
|
|
1258
|
+
s,
|
|
1259
|
+
(u) => {
|
|
1260
|
+
typeof window > "u" || (u ? window.addEventListener("keydown", A) : window.removeEventListener("keydown", A));
|
|
1261
|
+
},
|
|
1262
|
+
{ immediate: !0 }
|
|
1263
|
+
), N(() => {
|
|
1264
|
+
typeof window < "u" && window.removeEventListener("keydown", A);
|
|
1265
|
+
});
|
|
1266
|
+
function U() {
|
|
1267
|
+
r.value || B();
|
|
1268
|
+
}
|
|
1269
|
+
function B() {
|
|
1270
|
+
d.carregando || (s.value = !1, c("cancelar"), c("fechar"));
|
|
1271
|
+
}
|
|
1272
|
+
function w() {
|
|
1273
|
+
d.desabilitarConfirmar || d.carregando || (c("confirmar"), d.fecharAoConfirmar && (s.value = !1));
|
|
1274
|
+
}
|
|
1275
|
+
return (u, H) => (f(), p(R, { to: "body" }, [
|
|
1276
|
+
s.value ? (f(), h("div", {
|
|
1277
|
+
key: 0,
|
|
1278
|
+
class: "modal-overlay",
|
|
1279
|
+
onMousedown: j(U, ["self"])
|
|
1280
|
+
}, [
|
|
1281
|
+
g("div", {
|
|
1282
|
+
class: V(["modal-card", `modal-tamanho-${e.tamanho}`]),
|
|
1283
|
+
role: "dialog",
|
|
1284
|
+
"aria-modal": "true"
|
|
1285
|
+
}, [
|
|
1286
|
+
e.corBarraTopo ? (f(), h("div", {
|
|
1287
|
+
key: 0,
|
|
1288
|
+
class: V(["modal-status-topo", t.value]),
|
|
1289
|
+
style: T(m.value)
|
|
1290
|
+
}, null, 6)) : C("", !0),
|
|
1291
|
+
e.mostrarBotaoFechar ? (f(), p(K, {
|
|
1292
|
+
key: 1,
|
|
1293
|
+
flutuante: "",
|
|
1294
|
+
desabilitado: e.carregando,
|
|
1295
|
+
onClick: B
|
|
1296
|
+
}, null, 8, ["desabilitado"])) : C("", !0),
|
|
1297
|
+
g("div", {
|
|
1298
|
+
class: V(["modal-body", { "pe-5": e.mostrarBotaoFechar }])
|
|
1299
|
+
}, [
|
|
1300
|
+
g("div", je, [
|
|
1301
|
+
o(u.$slots, "titulo", {}, () => [
|
|
1302
|
+
F(x(e.titulo), 1)
|
|
1303
|
+
], !0)
|
|
1304
|
+
]),
|
|
1305
|
+
g("div", Ke, [
|
|
1306
|
+
o(u.$slots, "default", {}, () => [
|
|
1307
|
+
F(x(e.descricao), 1)
|
|
1308
|
+
], !0)
|
|
1309
|
+
]),
|
|
1310
|
+
l(a).conteudo ? (f(), h("div", He, [
|
|
1311
|
+
o(u.$slots, "conteudo", {}, void 0, !0)
|
|
1312
|
+
])) : C("", !0)
|
|
1313
|
+
], 2),
|
|
1314
|
+
g("div", Oe, [
|
|
1315
|
+
o(u.$slots, "footer", {
|
|
1316
|
+
cancelar: B,
|
|
1317
|
+
confirmar: w
|
|
1318
|
+
}, () => [
|
|
1319
|
+
e.mostrarBotaoCancelar ? (f(), h("button", {
|
|
1320
|
+
key: 0,
|
|
1321
|
+
type: "button",
|
|
1322
|
+
class: "btn btn-link link-secondary me-auto text-nowrap px-2",
|
|
1323
|
+
disabled: e.carregando,
|
|
1324
|
+
onClick: B
|
|
1325
|
+
}, x(e.textoCancelar), 9, Ge)) : C("", !0),
|
|
1326
|
+
g("div", Je, [
|
|
1327
|
+
o(u.$slots, "botoes-extras", {
|
|
1328
|
+
cancelar: B,
|
|
1329
|
+
confirmar: w
|
|
1330
|
+
}, void 0, !0),
|
|
1331
|
+
g("button", {
|
|
1332
|
+
type: "button",
|
|
1333
|
+
class: V(["btn text-nowrap", S.value]),
|
|
1334
|
+
style: T(k.value),
|
|
1335
|
+
disabled: e.desabilitarConfirmar || e.carregando,
|
|
1336
|
+
onClick: w
|
|
1337
|
+
}, [
|
|
1338
|
+
e.carregando ? (f(), h("span", We)) : C("", !0),
|
|
1339
|
+
F(" " + x(e.textoConfirmar), 1)
|
|
1340
|
+
], 14, Qe)
|
|
1341
|
+
])
|
|
1342
|
+
], !0)
|
|
1343
|
+
])
|
|
1344
|
+
], 2)
|
|
1345
|
+
], 32)) : C("", !0)
|
|
1346
|
+
]));
|
|
1347
|
+
}
|
|
1348
|
+
}), da = /* @__PURE__ */ q(Xe, [["__scopeId", "data-v-f7bbfa61"]]);
|
|
1349
|
+
export {
|
|
1350
|
+
K as BotaoFechar,
|
|
1351
|
+
ra as ModalAviso,
|
|
1352
|
+
ea as ModalBaseDefault,
|
|
1353
|
+
aa as ModalConfirmacao,
|
|
1354
|
+
la as ModalConfirmacaoCheckbox,
|
|
1355
|
+
ia as ModalConfirmacaoInput,
|
|
1356
|
+
da as ModalConfirmacaoSimples,
|
|
1357
|
+
na as ModalInformacao,
|
|
1358
|
+
oa as ModalPerigo,
|
|
1359
|
+
ta as ModalSucesso,
|
|
1360
|
+
ea as default
|
|
1361
|
+
};
|