bootstrap-vue-wrapper 2.1.16 → 2.1.17
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as m, resolveComponent as E, openBlock as a, createElementBlock as i, createElementVNode as
|
|
1
|
+
import { defineComponent as m, resolveComponent as E, openBlock as a, createElementBlock as i, createElementVNode as o, Fragment as b, renderList as y, normalizeClass as h, createBlock as w, withCtx as M, createTextVNode as S, toDisplayString as l, renderSlot as g, ref as C, createCommentVNode as u, mergeProps as k, resolveDirective as H, withDirectives as R, pushScopeId as L, popScopeId as A } from "vue";
|
|
2
2
|
import { useI18n as N } from "vue-i18n";
|
|
3
|
-
import { Toast as
|
|
3
|
+
import { Toast as P, Modal as B, Offcanvas as V } from "bootstrap";
|
|
4
4
|
const O = m({
|
|
5
5
|
name: "BsBreadcrumb",
|
|
6
6
|
props: {
|
|
@@ -30,18 +30,18 @@ const O = m({
|
|
|
30
30
|
return r;
|
|
31
31
|
}, _ = { "aria-label": "breadcrumb" }, D = { class: "breadcrumb" }, q = ["textContent"];
|
|
32
32
|
function T(e, t, r, d, v, f) {
|
|
33
|
-
const
|
|
33
|
+
const s = E("router-link");
|
|
34
34
|
return a(), i("nav", _, [
|
|
35
|
-
|
|
35
|
+
o("ol", D, [
|
|
36
36
|
(a(!0), i(b, null, y(e.items, (n, p) => (a(), i("li", {
|
|
37
37
|
key: p,
|
|
38
38
|
class: h(["breadcrumb-item", { active: !e.isRouteAvailable(n) }])
|
|
39
39
|
}, [
|
|
40
|
-
e.isRouteAvailable(n) ? (a(), w(
|
|
40
|
+
e.isRouteAvailable(n) ? (a(), w(s, {
|
|
41
41
|
key: 0,
|
|
42
42
|
to: n.route
|
|
43
43
|
}, {
|
|
44
|
-
default:
|
|
44
|
+
default: M(() => [
|
|
45
45
|
S(l(n.title), 1)
|
|
46
46
|
]),
|
|
47
47
|
_: 2
|
|
@@ -78,7 +78,7 @@ function z(e, t, r, d, v, f) {
|
|
|
78
78
|
"was-validated": e.submitClicked
|
|
79
79
|
}]),
|
|
80
80
|
novalidate: "",
|
|
81
|
-
onSubmit: t[0] || (t[0] = (...
|
|
81
|
+
onSubmit: t[0] || (t[0] = (...s) => e.onSubmit && e.onSubmit(...s))
|
|
82
82
|
}, [
|
|
83
83
|
g(e.$slots, "default")
|
|
84
84
|
], 34);
|
|
@@ -124,12 +124,12 @@ function I(e) {
|
|
|
124
124
|
function f(n) {
|
|
125
125
|
n.target !== null && (r.value = v(n.target));
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function s() {
|
|
128
128
|
return r.value;
|
|
129
129
|
}
|
|
130
130
|
return {
|
|
131
131
|
onInvalid: f,
|
|
132
|
-
getInvalidMessage:
|
|
132
|
+
getInvalidMessage: s,
|
|
133
133
|
setCustomError: d
|
|
134
134
|
};
|
|
135
135
|
}
|
|
@@ -214,15 +214,15 @@ function Q(e, t, r, d, v, f) {
|
|
|
214
214
|
class: "form-label",
|
|
215
215
|
textContent: l(e.label)
|
|
216
216
|
}, null, 8, U)) : u("", !0),
|
|
217
|
-
|
|
217
|
+
o("input", k({
|
|
218
218
|
id: e.id,
|
|
219
219
|
ref: "inputRef",
|
|
220
220
|
value: e.modelValue,
|
|
221
221
|
class: "form-control"
|
|
222
222
|
}, e.$attrs, {
|
|
223
223
|
"aria-describedby": e.hint !== void 0 ? e.getHintId() : void 0,
|
|
224
|
-
onInput: t[0] || (t[0] = (...
|
|
225
|
-
onInvalid: t[1] || (t[1] = (...
|
|
224
|
+
onInput: t[0] || (t[0] = (...s) => e.onInput && e.onInput(...s)),
|
|
225
|
+
onInvalid: t[1] || (t[1] = (...s) => e.onInvalid && e.onInvalid(...s))
|
|
226
226
|
}), null, 16, G),
|
|
227
227
|
e.validatorEnabled && e.validator.getInvalidMessage() !== null ? (a(), i("div", {
|
|
228
228
|
key: 1,
|
|
@@ -340,7 +340,7 @@ function ee(e, t, r, d, v, f) {
|
|
|
340
340
|
return a(), i("div", {
|
|
341
341
|
class: h(["form-check", e.classContainer])
|
|
342
342
|
}, [
|
|
343
|
-
|
|
343
|
+
o("input", k({
|
|
344
344
|
id: e.id,
|
|
345
345
|
ref: "inputRef",
|
|
346
346
|
value: e.modelValue
|
|
@@ -349,8 +349,8 @@ function ee(e, t, r, d, v, f) {
|
|
|
349
349
|
class: "form-check-input",
|
|
350
350
|
checked: e.isChecked,
|
|
351
351
|
"aria-describedby": e.hint !== void 0 ? e.getHintId() : void 0,
|
|
352
|
-
onInput: t[0] || (t[0] = (...
|
|
353
|
-
onInvalid: t[1] || (t[1] = (...
|
|
352
|
+
onInput: t[0] || (t[0] = (...s) => e.onInput && e.onInput(...s)),
|
|
353
|
+
onInvalid: t[1] || (t[1] = (...s) => e.onInvalid && e.onInvalid(...s))
|
|
354
354
|
}), null, 16, X),
|
|
355
355
|
e.label !== void 0 ? (a(), i("label", {
|
|
356
356
|
key: 0,
|
|
@@ -443,8 +443,8 @@ const vt = /* @__PURE__ */ c(W, [["render", ee]]), te = m({
|
|
|
443
443
|
this.validatorEnabled && this.validator.onInvalid(e);
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
|
-
}), ne = ["for", "textContent"], ae = ["id", "value", "aria-describedby"], ie = ["textContent"],
|
|
447
|
-
function
|
|
446
|
+
}), ne = ["for", "textContent"], ae = ["id", "value", "aria-describedby"], ie = ["textContent"], se = ["id", "textContent"];
|
|
447
|
+
function oe(e, t, r, d, v, f) {
|
|
448
448
|
return a(), i(b, null, [
|
|
449
449
|
e.label !== void 0 ? (a(), i("label", {
|
|
450
450
|
key: 0,
|
|
@@ -452,15 +452,15 @@ function se(e, t, r, d, v, f) {
|
|
|
452
452
|
class: "form-label",
|
|
453
453
|
textContent: l(e.label)
|
|
454
454
|
}, null, 8, ne)) : u("", !0),
|
|
455
|
-
|
|
455
|
+
o("textarea", k({
|
|
456
456
|
id: e.id,
|
|
457
457
|
ref: "inputRef",
|
|
458
458
|
value: e.modelValue
|
|
459
459
|
}, e.$attrs, {
|
|
460
460
|
class: "form-control",
|
|
461
461
|
"aria-describedby": e.hint !== void 0 ? e.getHintId() : void 0,
|
|
462
|
-
onInput: t[0] || (t[0] = (...
|
|
463
|
-
onInvalid: t[1] || (t[1] = (...
|
|
462
|
+
onInput: t[0] || (t[0] = (...s) => e.onInput && e.onInput(...s)),
|
|
463
|
+
onInvalid: t[1] || (t[1] = (...s) => e.onInvalid && e.onInvalid(...s))
|
|
464
464
|
}), null, 16, ae),
|
|
465
465
|
e.validatorEnabled && e.validator.getInvalidMessage() !== null ? (a(), i("div", {
|
|
466
466
|
key: 1,
|
|
@@ -472,10 +472,10 @@ function se(e, t, r, d, v, f) {
|
|
|
472
472
|
id: e.getHintId(),
|
|
473
473
|
class: "form-text",
|
|
474
474
|
textContent: l(e.hint)
|
|
475
|
-
}, null, 8,
|
|
475
|
+
}, null, 8, se)) : u("", !0)
|
|
476
476
|
], 64);
|
|
477
477
|
}
|
|
478
|
-
const ht = /* @__PURE__ */ c(te, [["render",
|
|
478
|
+
const ht = /* @__PURE__ */ c(te, [["render", oe]]), le = m({
|
|
479
479
|
name: "BsPaginator",
|
|
480
480
|
props: {
|
|
481
481
|
/**
|
|
@@ -587,52 +587,52 @@ const ht = /* @__PURE__ */ c(te, [["render", se]]), le = m({
|
|
|
587
587
|
}), re = { class: "pagination" }, de = ["textContent"], ue = ["textContent"], ve = ["onClick", "textContent"], he = ["textContent"], fe = ["textContent"];
|
|
588
588
|
function pe(e, t, r, d, v, f) {
|
|
589
589
|
return a(), i("nav", null, [
|
|
590
|
-
|
|
591
|
-
|
|
590
|
+
o("ul", re, [
|
|
591
|
+
o("li", {
|
|
592
592
|
class: h(["page-item page-item-first", { disabled: e.isPageActive(1) }])
|
|
593
593
|
}, [
|
|
594
|
-
|
|
594
|
+
o("div", {
|
|
595
595
|
class: "page-link",
|
|
596
|
-
onClick: t[0] || (t[0] = (
|
|
596
|
+
onClick: t[0] || (t[0] = (s) => e.onPageClick(1)),
|
|
597
597
|
textContent: l(e.firstPageLabel)
|
|
598
598
|
}, null, 8, de)
|
|
599
599
|
], 2),
|
|
600
|
-
|
|
600
|
+
o("li", {
|
|
601
601
|
class: h(["page-item page-item-previous", { disabled: e.isPageActive(1) }])
|
|
602
602
|
}, [
|
|
603
|
-
|
|
603
|
+
o("div", {
|
|
604
604
|
class: "page-link",
|
|
605
|
-
onClick: t[1] || (t[1] = (
|
|
605
|
+
onClick: t[1] || (t[1] = (s) => e.onPageClick(e.currentPage - 1)),
|
|
606
606
|
textContent: l(e.previousPageLabel)
|
|
607
607
|
}, null, 8, ue)
|
|
608
608
|
], 2),
|
|
609
|
-
(a(!0), i(b, null, y(e.getVisiblePages(), (
|
|
609
|
+
(a(!0), i(b, null, y(e.getVisiblePages(), (s, n) => (a(), i("li", {
|
|
610
610
|
key: n,
|
|
611
611
|
class: h(["page-item page-item-number", {
|
|
612
|
-
active: e.isPageActive(
|
|
612
|
+
active: e.isPageActive(s)
|
|
613
613
|
}])
|
|
614
614
|
}, [
|
|
615
|
-
|
|
615
|
+
o("div", {
|
|
616
616
|
class: "page-link",
|
|
617
|
-
onClick: (p) => e.onPageClick(
|
|
618
|
-
textContent: l(
|
|
617
|
+
onClick: (p) => e.onPageClick(s),
|
|
618
|
+
textContent: l(s)
|
|
619
619
|
}, null, 8, ve)
|
|
620
620
|
], 2))), 128)),
|
|
621
|
-
|
|
621
|
+
o("li", {
|
|
622
622
|
class: h(["page-item page-item-next", { disabled: e.isPageActive(e.getPageCount()) }])
|
|
623
623
|
}, [
|
|
624
|
-
|
|
624
|
+
o("div", {
|
|
625
625
|
class: "page-link",
|
|
626
|
-
onClick: t[2] || (t[2] = (
|
|
626
|
+
onClick: t[2] || (t[2] = (s) => e.onPageClick(e.currentPage + 1)),
|
|
627
627
|
textContent: l(e.nextPageLabel)
|
|
628
628
|
}, null, 8, he)
|
|
629
629
|
], 2),
|
|
630
|
-
|
|
630
|
+
o("li", {
|
|
631
631
|
class: h(["page-item page-item-last", { disabled: e.isPageActive(e.getPageCount()) }])
|
|
632
632
|
}, [
|
|
633
|
-
|
|
633
|
+
o("div", {
|
|
634
634
|
class: "page-link",
|
|
635
|
-
onClick: t[3] || (t[3] = (
|
|
635
|
+
onClick: t[3] || (t[3] = (s) => e.onPageClick(e.getPageCount())),
|
|
636
636
|
textContent: l(e.lastPageLabel)
|
|
637
637
|
}, null, 8, fe)
|
|
638
638
|
], 2)
|
|
@@ -742,14 +742,14 @@ const ft = /* @__PURE__ */ c(le, [["render", pe], ["__scopeId", "data-v-ff85ae67
|
|
|
742
742
|
this.isSortableField(e) && this.$emit("orderChanged", { sortDesc: this.calcSortDesc(e.key), orderBy: e.key });
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
|
-
}), ce = (e) => (
|
|
746
|
-
/* @__PURE__ */
|
|
745
|
+
}), ce = (e) => (L("data-v-b32962df"), e = e(), A(), e), ge = { class: "table" }, be = ["onClick"], $e = { key: 0 }, ye = ["colspan"], Ce = /* @__PURE__ */ ce(() => /* @__PURE__ */ o("div", { class: "d-flex justify-content-center p-2" }, [
|
|
746
|
+
/* @__PURE__ */ o("div", { class: "spinner-border spinner-border-sm" })
|
|
747
747
|
], -1)), ke = { key: 1 }, Ie = ["colspan"], Se = { class: "text-center text-muted small" };
|
|
748
|
-
function
|
|
749
|
-
const
|
|
748
|
+
function Pe(e, t, r, d, v, f) {
|
|
749
|
+
const s = H("t");
|
|
750
750
|
return a(), i("table", ge, [
|
|
751
|
-
|
|
752
|
-
|
|
751
|
+
o("thead", null, [
|
|
752
|
+
o("tr", null, [
|
|
753
753
|
(a(!0), i(b, null, y(e.fields, (n) => (a(), i("th", {
|
|
754
754
|
key: n.key,
|
|
755
755
|
class: h({
|
|
@@ -769,9 +769,9 @@ function Be(e, t, r, d, v, f) {
|
|
|
769
769
|
], 10, be))), 128))
|
|
770
770
|
])
|
|
771
771
|
]),
|
|
772
|
-
|
|
772
|
+
o("tbody", null, [
|
|
773
773
|
e.isLoading ? (a(), i("tr", $e, [
|
|
774
|
-
|
|
774
|
+
o("td", {
|
|
775
775
|
colspan: e.fields.length
|
|
776
776
|
}, [
|
|
777
777
|
g(e.$slots, "loading", {}, () => [
|
|
@@ -779,12 +779,12 @@ function Be(e, t, r, d, v, f) {
|
|
|
779
779
|
], !0)
|
|
780
780
|
], 8, ye)
|
|
781
781
|
])) : e.items.length === 0 ? (a(), i("tr", ke, [
|
|
782
|
-
|
|
782
|
+
o("td", {
|
|
783
783
|
colspan: e.fields.length
|
|
784
784
|
}, [
|
|
785
785
|
g(e.$slots, "empty", {}, () => [
|
|
786
|
-
R(
|
|
787
|
-
[
|
|
786
|
+
R(o("div", Se, null, 512), [
|
|
787
|
+
[s, "table.empty_text"]
|
|
788
788
|
])
|
|
789
789
|
], !0)
|
|
790
790
|
], 8, Ie)
|
|
@@ -809,12 +809,12 @@ function Be(e, t, r, d, v, f) {
|
|
|
809
809
|
])
|
|
810
810
|
]);
|
|
811
811
|
}
|
|
812
|
-
const pt = /* @__PURE__ */ c(me, [["render",
|
|
812
|
+
const pt = /* @__PURE__ */ c(me, [["render", Pe], ["__scopeId", "data-v-b32962df"]]), Be = m({
|
|
813
813
|
name: "BsToast",
|
|
814
814
|
emits: ["shown", "hidden"],
|
|
815
815
|
mounted() {
|
|
816
816
|
const e = this.$refs.toastRef;
|
|
817
|
-
|
|
817
|
+
P.getOrCreateInstance(e).show(), e.addEventListener("shown.bs.toast", this.onShown), e.addEventListener("hidden.bs.toast", this.onHidden);
|
|
818
818
|
},
|
|
819
819
|
methods: {
|
|
820
820
|
/**
|
|
@@ -822,7 +822,7 @@ const pt = /* @__PURE__ */ c(me, [["render", Be], ["__scopeId", "data-v-b32962df
|
|
|
822
822
|
*/
|
|
823
823
|
hide() {
|
|
824
824
|
const e = this.$refs.toastRef;
|
|
825
|
-
|
|
825
|
+
P.getOrCreateInstance(e).hide();
|
|
826
826
|
},
|
|
827
827
|
/**
|
|
828
828
|
* Hidden event.
|
|
@@ -849,7 +849,7 @@ function Ee(e, t, r, d, v, f) {
|
|
|
849
849
|
g(e.$slots, "default")
|
|
850
850
|
], 512);
|
|
851
851
|
}
|
|
852
|
-
const mt = /* @__PURE__ */ c(
|
|
852
|
+
const mt = /* @__PURE__ */ c(Be, [["render", Ee]]), we = m({
|
|
853
853
|
name: "BsModal",
|
|
854
854
|
props: {
|
|
855
855
|
/**
|
|
@@ -876,10 +876,10 @@ const mt = /* @__PURE__ */ c(Pe, [["render", Ee]]), we = m({
|
|
|
876
876
|
default: !1
|
|
877
877
|
}
|
|
878
878
|
},
|
|
879
|
-
emits: ["shown", "hidden"],
|
|
879
|
+
emits: ["show", "shown", "hide", "hidden", "hidePrevented"],
|
|
880
880
|
mounted() {
|
|
881
881
|
const e = this.$refs.modalRef;
|
|
882
|
-
|
|
882
|
+
B.getOrCreateInstance(e).show(), e.addEventListener("show.bs.modal", (t) => this.$emit("show", t)), e.addEventListener("shown.bs.modal", (t) => this.$emit("shown", t)), e.addEventListener("hide.bs.modal", (t) => this.$emit("hide", t)), e.addEventListener("hidden.bs.modal", (t) => this.$emit("hidden", t)), e.addEventListener("hidePrevented.bs.modal", (t) => this.$emit("hidePrevented", t));
|
|
883
883
|
},
|
|
884
884
|
methods: {
|
|
885
885
|
/**
|
|
@@ -887,29 +887,17 @@ const mt = /* @__PURE__ */ c(Pe, [["render", Ee]]), we = m({
|
|
|
887
887
|
*/
|
|
888
888
|
hide() {
|
|
889
889
|
const e = this.$refs.modalRef;
|
|
890
|
-
|
|
891
|
-
},
|
|
892
|
-
/**
|
|
893
|
-
* Shown event.
|
|
894
|
-
*/
|
|
895
|
-
onShown() {
|
|
896
|
-
this.$emit("shown");
|
|
897
|
-
},
|
|
898
|
-
/**
|
|
899
|
-
* Hidden event.
|
|
900
|
-
*/
|
|
901
|
-
onHidden() {
|
|
902
|
-
this.$emit("hidden");
|
|
890
|
+
B.getOrCreateInstance(e).hide();
|
|
903
891
|
}
|
|
904
892
|
}
|
|
905
|
-
}),
|
|
893
|
+
}), Me = {
|
|
906
894
|
ref: "modalRef",
|
|
907
895
|
class: "modal fade",
|
|
908
896
|
tabindex: "-1"
|
|
909
|
-
},
|
|
897
|
+
}, He = { class: "modal-content" }, Re = {
|
|
910
898
|
key: 0,
|
|
911
899
|
class: "modal-header"
|
|
912
|
-
},
|
|
900
|
+
}, Le = ["textContent"], Ae = /* @__PURE__ */ o("button", {
|
|
913
901
|
type: "button",
|
|
914
902
|
class: "btn-close",
|
|
915
903
|
"data-bs-dismiss": "modal"
|
|
@@ -921,18 +909,18 @@ const mt = /* @__PURE__ */ c(Pe, [["render", Ee]]), we = m({
|
|
|
921
909
|
class: "modal-footer"
|
|
922
910
|
};
|
|
923
911
|
function _e(e, t, r, d, v, f) {
|
|
924
|
-
return a(), i("div",
|
|
925
|
-
|
|
912
|
+
return a(), i("div", Me, [
|
|
913
|
+
o("div", {
|
|
926
914
|
class: h(["modal-dialog", e.classDialog])
|
|
927
915
|
}, [
|
|
928
|
-
|
|
916
|
+
o("div", He, [
|
|
929
917
|
e.hideHeader ? u("", !0) : (a(), i("div", Re, [
|
|
930
918
|
g(e.$slots, "header", {}, () => [
|
|
931
|
-
|
|
919
|
+
o("div", {
|
|
932
920
|
class: "h5 modal-title",
|
|
933
921
|
textContent: l(e.title)
|
|
934
|
-
}, null, 8,
|
|
935
|
-
|
|
922
|
+
}, null, 8, Le),
|
|
923
|
+
Ae
|
|
936
924
|
])
|
|
937
925
|
])),
|
|
938
926
|
e.hideBody ? u("", !0) : (a(), i("div", Ne, [
|
|
@@ -1045,22 +1033,22 @@ function Ge(e, t, r, d, v, f) {
|
|
|
1045
1033
|
class: "form-label",
|
|
1046
1034
|
textContent: l(e.label)
|
|
1047
1035
|
}, null, 8, qe)) : u("", !0),
|
|
1048
|
-
|
|
1036
|
+
o("select", k({
|
|
1049
1037
|
id: e.id,
|
|
1050
1038
|
ref: "inputRef",
|
|
1051
1039
|
class: "form-select",
|
|
1052
1040
|
value: e.modelValue,
|
|
1053
1041
|
"aria-labelledby": e.hint !== void 0 ? e.getHintId() : void 0
|
|
1054
1042
|
}, e.$attrs, {
|
|
1055
|
-
onInput: t[0] || (t[0] = (...
|
|
1056
|
-
onInvalid: t[1] || (t[1] = (...
|
|
1043
|
+
onInput: t[0] || (t[0] = (...s) => e.onInput && e.onInput(...s)),
|
|
1044
|
+
onInvalid: t[1] || (t[1] = (...s) => e.onInvalid && e.onInvalid(...s))
|
|
1057
1045
|
}), [
|
|
1058
1046
|
e.placeholder !== void 0 ? (a(), i("option", Fe, l(e.placeholder), 1)) : u("", !0),
|
|
1059
|
-
(a(!0), i(b, null, y(e.options, (
|
|
1047
|
+
(a(!0), i(b, null, y(e.options, (s, n) => (a(), i("option", {
|
|
1060
1048
|
key: n,
|
|
1061
|
-
value:
|
|
1062
|
-
disabled:
|
|
1063
|
-
}, l(
|
|
1049
|
+
value: s.value,
|
|
1050
|
+
disabled: s.disabled !== void 0 && s.disabled
|
|
1051
|
+
}, l(s.text), 9, ze))), 128))
|
|
1064
1052
|
], 16, Te),
|
|
1065
1053
|
e.validatorEnabled && e.validator.getInvalidMessage() !== null ? (a(), i("div", {
|
|
1066
1054
|
key: 1,
|
|
@@ -1171,7 +1159,7 @@ function Ye(e, t, r, d, v, f) {
|
|
|
1171
1159
|
return a(), i("div", {
|
|
1172
1160
|
class: h(["form-check", e.classContainer])
|
|
1173
1161
|
}, [
|
|
1174
|
-
|
|
1162
|
+
o("input", k({
|
|
1175
1163
|
id: e.id,
|
|
1176
1164
|
ref: "inputRef",
|
|
1177
1165
|
value: e.modelValue
|
|
@@ -1180,8 +1168,8 @@ function Ye(e, t, r, d, v, f) {
|
|
|
1180
1168
|
class: "form-check-input",
|
|
1181
1169
|
checked: e.isChecked,
|
|
1182
1170
|
"aria-describedby": e.hint !== void 0 ? e.getHintId() : void 0,
|
|
1183
|
-
onInput: t[0] || (t[0] = (...
|
|
1184
|
-
onInvalid: t[1] || (t[1] = (...
|
|
1171
|
+
onInput: t[0] || (t[0] = (...s) => e.onInput && e.onInput(...s)),
|
|
1172
|
+
onInvalid: t[1] || (t[1] = (...s) => e.onInvalid && e.onInvalid(...s))
|
|
1185
1173
|
}), null, 16, Ke),
|
|
1186
1174
|
e.label !== void 0 ? (a(), i("label", {
|
|
1187
1175
|
key: 0,
|
|
@@ -1244,16 +1232,16 @@ const bt = /* @__PURE__ */ c(Je, [["render", Ye]]), Ze = m({
|
|
|
1244
1232
|
class: "offcanvas",
|
|
1245
1233
|
tabindex: "-1",
|
|
1246
1234
|
"aria-labelledby": "offcanvasTitle"
|
|
1247
|
-
}, et = { class: "offcanvas-header" }, tt = ["textContent"], nt = /* @__PURE__ */
|
|
1235
|
+
}, et = { class: "offcanvas-header" }, tt = ["textContent"], nt = /* @__PURE__ */ o("button", {
|
|
1248
1236
|
type: "button",
|
|
1249
1237
|
class: "btn-close text-reset",
|
|
1250
1238
|
"data-bs-dismiss": "offcanvas"
|
|
1251
1239
|
}, null, -1), at = { class: "offcanvas-body" };
|
|
1252
1240
|
function it(e, t, r, d, v, f) {
|
|
1253
1241
|
return a(), i("div", xe, [
|
|
1254
|
-
|
|
1242
|
+
o("div", et, [
|
|
1255
1243
|
g(e.$slots, "header", {}, () => [
|
|
1256
|
-
|
|
1244
|
+
o("div", {
|
|
1257
1245
|
id: "offcanvasTitle",
|
|
1258
1246
|
class: "h5 mb-0",
|
|
1259
1247
|
textContent: l(e.title)
|
|
@@ -1261,7 +1249,7 @@ function it(e, t, r, d, v, f) {
|
|
|
1261
1249
|
nt
|
|
1262
1250
|
])
|
|
1263
1251
|
]),
|
|
1264
|
-
|
|
1252
|
+
o("div", at, [
|
|
1265
1253
|
g(e.$slots, "body")
|
|
1266
1254
|
])
|
|
1267
1255
|
], 512);
|
|
@@ -27,15 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
* Trigger modal hide event.
|
|
28
28
|
*/
|
|
29
29
|
hide(): void;
|
|
30
|
-
|
|
31
|
-
* Shown event.
|
|
32
|
-
*/
|
|
33
|
-
onShown(): void;
|
|
34
|
-
/**
|
|
35
|
-
* Hidden event.
|
|
36
|
-
*/
|
|
37
|
-
onHidden(): void;
|
|
38
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "shown")[], "hidden" | "shown", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "show" | "shown" | "hide" | "hidePrevented")[], "hidden" | "show" | "shown" | "hide" | "hidePrevented", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
31
|
/**
|
|
40
32
|
* Modal title
|
|
41
33
|
*/
|
|
@@ -61,7 +53,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
53
|
};
|
|
62
54
|
}>> & {
|
|
63
55
|
onHidden?: ((...args: any[]) => any) | undefined;
|
|
56
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
64
57
|
onShown?: ((...args: any[]) => any) | undefined;
|
|
58
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
onHidePrevented?: ((...args: any[]) => any) | undefined;
|
|
65
60
|
}, {
|
|
66
61
|
classDialog: string | Record<string, any>;
|
|
67
62
|
hideHeader: boolean;
|