@beterdichtbij/component-library 0.14.1 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Be, computed as Re, openBlock as de, createElementBlock as ve, normalizeClass as
|
|
1
|
+
import { defineComponent as Be, computed as Re, openBlock as de, createElementBlock as ve, normalizeClass as We, renderSlot as Ve, createElementVNode as ue, mergeProps as wn, createStaticVNode as wf, resolveComponent as Cf, createBlock as vt, resolveDynamicComponent as Lo, withCtx as dt, createTextVNode as Sn, toDisplayString as Ke, createVNode as He, unref as Ee, createCommentVNode as Xe, getCurrentScope as Tf, onScopeDispose as kf, ref as Cn, watch as Un, getCurrentInstance as nu, nextTick as ru, withDirectives as ei, isRef as ua, vModelText as Af, withKeys as Of, useAttrs as Mf, Fragment as mi, withModifiers as dl, onMounted as gi, vShow as fl, renderList as iu, vModelSelect as If, vModelCheckbox as Rf, Teleport as ou, normalizeProps as su, guardReactiveProps as au, onBeforeUnmount as Po, h as er, watchEffect as Df, shallowRef as Nf, reactive as Lf, markRaw as Pf, customRef as Ff } from "vue";
|
|
2
2
|
const Bf = /* @__PURE__ */ Be({
|
|
3
3
|
__name: "BDCol",
|
|
4
4
|
props: {
|
|
@@ -26,9 +26,9 @@ const Bf = /* @__PURE__ */ Be({
|
|
|
26
26
|
[`${e.class}`]: e.class
|
|
27
27
|
}));
|
|
28
28
|
return (r, i) => (de(), ve("div", {
|
|
29
|
-
class:
|
|
29
|
+
class: We(t.value)
|
|
30
30
|
}, [
|
|
31
|
-
|
|
31
|
+
Ve(r.$slots, "default")
|
|
32
32
|
], 2));
|
|
33
33
|
}
|
|
34
34
|
}), zf = /* @__PURE__ */ Be({
|
|
@@ -45,9 +45,9 @@ const Bf = /* @__PURE__ */ Be({
|
|
|
45
45
|
[e.class]: !0
|
|
46
46
|
}));
|
|
47
47
|
return (r, i) => (de(), ve("div", {
|
|
48
|
-
class:
|
|
48
|
+
class: We(t.value)
|
|
49
49
|
}, [
|
|
50
|
-
|
|
50
|
+
Ve(r.$slots, "default")
|
|
51
51
|
], 2));
|
|
52
52
|
}
|
|
53
53
|
}), $f = /* @__PURE__ */ Be({
|
|
@@ -57,9 +57,9 @@ const Bf = /* @__PURE__ */ Be({
|
|
|
57
57
|
},
|
|
58
58
|
setup(n) {
|
|
59
59
|
return (e, t) => (de(), ve("div", {
|
|
60
|
-
class:
|
|
60
|
+
class: We(["row", e.class])
|
|
61
61
|
}, [
|
|
62
|
-
|
|
62
|
+
Ve(e.$slots, "default")
|
|
63
63
|
], 2));
|
|
64
64
|
}
|
|
65
65
|
}), gt = {
|
|
@@ -324,7 +324,7 @@ const vh = /* @__PURE__ */ lt(ph, [["render", gh]]), pl = /^https:/i, ha = /* @_
|
|
|
324
324
|
});
|
|
325
325
|
return (i, o) => (de(), vt(Lo(t.value), wn({ class: "bd-link" }, r.value), {
|
|
326
326
|
default: dt(() => [
|
|
327
|
-
|
|
327
|
+
Ve(i.$slots, "default", {}, () => [
|
|
328
328
|
Sn(Ke(e.text), 1)
|
|
329
329
|
])
|
|
330
330
|
]),
|
|
@@ -351,7 +351,7 @@ const vh = /* @__PURE__ */ lt(ph, [["render", gh]]), pl = /^https:/i, ha = /* @_
|
|
|
351
351
|
setup(n) {
|
|
352
352
|
const e = n, t = Re(() => ["alert", `alert-${e.variant}`]);
|
|
353
353
|
return (r, i) => (de(), ve("div", {
|
|
354
|
-
class:
|
|
354
|
+
class: We(t.value),
|
|
355
355
|
role: "alert"
|
|
356
356
|
}, [
|
|
357
357
|
r.title ? (de(), ve("div", yh, [
|
|
@@ -360,7 +360,7 @@ const vh = /* @__PURE__ */ lt(ph, [["render", gh]]), pl = /^https:/i, ha = /* @_
|
|
|
360
360
|
ue("strong", null, Ke(e.title), 1)
|
|
361
361
|
])
|
|
362
362
|
])) : Xe("", !0),
|
|
363
|
-
|
|
363
|
+
Ve(r.$slots, "default")
|
|
364
364
|
], 2));
|
|
365
365
|
}
|
|
366
366
|
}), xh = ["src", "alt"], Sh = ["textContent"], xu = /* @__PURE__ */ Be({
|
|
@@ -378,7 +378,7 @@ const vh = /* @__PURE__ */ lt(ph, [["render", gh]]), pl = /^https:/i, ha = /* @_
|
|
|
378
378
|
e("click");
|
|
379
379
|
};
|
|
380
380
|
return (r, i) => (de(), ve("div", {
|
|
381
|
-
class:
|
|
381
|
+
class: We(["bd-profile-picture rounded-circle", r.size])
|
|
382
382
|
}, [
|
|
383
383
|
ue("img", {
|
|
384
384
|
src: r.src,
|
|
@@ -634,21 +634,21 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
634
634
|
}));
|
|
635
635
|
return (l, a) => (de(), ve("div", {
|
|
636
636
|
id: Ee(r),
|
|
637
|
-
class:
|
|
637
|
+
class: We(i.value)
|
|
638
638
|
}, [
|
|
639
639
|
!l.noHeader || l.noBody ? (de(), ve("div", {
|
|
640
640
|
key: 0,
|
|
641
|
-
class:
|
|
641
|
+
class: We(o.value)
|
|
642
642
|
}, [
|
|
643
|
-
|
|
643
|
+
Ve(l.$slots, "header", {}, () => [
|
|
644
644
|
l.title ? (de(), ve("h2", Vh, Ke(l.title), 1)) : Xe("", !0)
|
|
645
645
|
])
|
|
646
646
|
], 2)) : Xe("", !0),
|
|
647
647
|
l.noBody ? Xe("", !0) : (de(), ve("div", {
|
|
648
648
|
key: 1,
|
|
649
|
-
class:
|
|
649
|
+
class: We(s.value)
|
|
650
650
|
}, [
|
|
651
|
-
|
|
651
|
+
Ve(l.$slots, "body")
|
|
652
652
|
], 2))
|
|
653
653
|
], 10, Hh));
|
|
654
654
|
}
|
|
@@ -696,10 +696,10 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
696
696
|
header: dt(() => [
|
|
697
697
|
a.title ? (de(), ve("h2", jh, Ke(a.title), 1)) : Xe("", !0),
|
|
698
698
|
ue("div", Wh, [
|
|
699
|
-
|
|
699
|
+
Ve(a.$slots, "action"),
|
|
700
700
|
!a.disabled && a.visible ? (de(), ve("button", {
|
|
701
701
|
key: 0,
|
|
702
|
-
class:
|
|
702
|
+
class: We(["btn btn-white btn-caret", o.value]),
|
|
703
703
|
type: "button",
|
|
704
704
|
"data-bs-toggle": "collapse",
|
|
705
705
|
"data-bs-target": `.${i.value}`,
|
|
@@ -710,7 +710,7 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
710
710
|
])
|
|
711
711
|
]),
|
|
712
712
|
body: dt(() => [
|
|
713
|
-
|
|
713
|
+
Ve(a.$slots, "body")
|
|
714
714
|
]),
|
|
715
715
|
_: 3
|
|
716
716
|
}, 8, ["title", "header-class", "body-class"]));
|
|
@@ -754,17 +754,19 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
754
754
|
i.value = f.target.value;
|
|
755
755
|
}, t.delayTimeMs);
|
|
756
756
|
return (f, h) => (de(), ve("div", {
|
|
757
|
-
class:
|
|
757
|
+
class: We(["bd-form-input", f.formGroupClass]),
|
|
758
758
|
id: s
|
|
759
759
|
}, [
|
|
760
|
-
f
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
760
|
+
Ve(f.$slots, "label", {}, () => [
|
|
761
|
+
f.label ? (de(), ve("label", {
|
|
762
|
+
key: 0,
|
|
763
|
+
for: l,
|
|
764
|
+
id: o,
|
|
765
|
+
class: We(["form-label", f.labelClass])
|
|
766
|
+
}, Ke(f.label), 3)) : Xe("", !0)
|
|
767
|
+
]),
|
|
766
768
|
ue("div", {
|
|
767
|
-
class:
|
|
769
|
+
class: We(f.formFieldClass)
|
|
768
770
|
}, [
|
|
769
771
|
ue("input", wn({
|
|
770
772
|
value: Ee(i),
|
|
@@ -778,10 +780,10 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
778
780
|
onBlur: h[2] || (h[2] = (p) => f.$emit("blur")),
|
|
779
781
|
onKeydown: h[3] || (h[3] = Of((p) => f.$emit("enter"), ["enter"]))
|
|
780
782
|
}), null, 16, Jh),
|
|
781
|
-
|
|
783
|
+
Ve(f.$slots, "default"),
|
|
782
784
|
He(Ee(ma), {
|
|
783
785
|
text: f.invalidFeedbackText,
|
|
784
|
-
class:
|
|
786
|
+
class: We(f.invalidFeedbackClass),
|
|
785
787
|
state: f.state,
|
|
786
788
|
id: a
|
|
787
789
|
}, null, 8, ["text", "class", "state"])
|
|
@@ -803,9 +805,9 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
803
805
|
class: "form-label"
|
|
804
806
|
}, Ke(e.label), 9, Xh)) : Xe("", !0),
|
|
805
807
|
ue("div", {
|
|
806
|
-
class:
|
|
808
|
+
class: We(["input-group bd-input-group", Ee(t).class])
|
|
807
809
|
}, [
|
|
808
|
-
|
|
810
|
+
Ve(r.$slots, "default")
|
|
809
811
|
], 2)
|
|
810
812
|
], 64));
|
|
811
813
|
}
|
|
@@ -830,9 +832,9 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
830
832
|
const e = n, t = Re(() => ["badge", "bd-badge", `text-bg-${e.variant}`]);
|
|
831
833
|
return (r, i) => (de(), ve("span", {
|
|
832
834
|
role: "status",
|
|
833
|
-
class:
|
|
835
|
+
class: We(t.value)
|
|
834
836
|
}, [
|
|
835
|
-
|
|
837
|
+
Ve(r.$slots, "default")
|
|
836
838
|
], 2));
|
|
837
839
|
}
|
|
838
840
|
}), _h = ["onSubmit", "onReset"], em = /* @__PURE__ */ Be({
|
|
@@ -849,7 +851,7 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
849
851
|
onSubmit: dl(t, ["prevent"]),
|
|
850
852
|
onReset: dl(r, ["prevent"])
|
|
851
853
|
}, [
|
|
852
|
-
|
|
854
|
+
Ve(i.$slots, "default")
|
|
853
855
|
], 40, _h));
|
|
854
856
|
}
|
|
855
857
|
}), tm = {
|
|
@@ -903,7 +905,7 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
903
905
|
};
|
|
904
906
|
return (c, u) => (de(), ve("div", tm, [
|
|
905
907
|
ue("ul", {
|
|
906
|
-
class:
|
|
908
|
+
class: We(["pagination", s.value])
|
|
907
909
|
}, [
|
|
908
910
|
ei(ue("li", nm, [
|
|
909
911
|
ue("a", {
|
|
@@ -918,7 +920,7 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
918
920
|
[fl, Ee(r) > 1]
|
|
919
921
|
]),
|
|
920
922
|
(de(!0), ve(mi, null, iu(o.value, (d) => (de(), ve("li", {
|
|
921
|
-
class:
|
|
923
|
+
class: We(["page-item", { active: Ee(r) === d, disabled: typeof d == "string" }]),
|
|
922
924
|
key: d
|
|
923
925
|
}, [
|
|
924
926
|
ue("a", {
|
|
@@ -969,7 +971,7 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
969
971
|
e("change", c.target.value);
|
|
970
972
|
};
|
|
971
973
|
return (c, u) => ei((de(), ve("select", {
|
|
972
|
-
class:
|
|
974
|
+
class: We(s.value),
|
|
973
975
|
"onUpdate:modelValue": u[0] || (u[0] = (d) => ua(r) ? r.value = d : null),
|
|
974
976
|
disabled: t.disabled,
|
|
975
977
|
ref_key: "input",
|
|
@@ -977,7 +979,7 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
977
979
|
onInput: l,
|
|
978
980
|
onChange: a
|
|
979
981
|
}, [
|
|
980
|
-
|
|
982
|
+
Ve(c.$slots, "first", {}, () => [
|
|
981
983
|
(de(!0), ve(mi, null, iu(t.options, (d) => (de(), ve("option", {
|
|
982
984
|
value: d.value,
|
|
983
985
|
key: d.value
|
|
@@ -1006,11 +1008,11 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
1006
1008
|
e("change", u.target.value);
|
|
1007
1009
|
};
|
|
1008
1010
|
return (u, d) => (de(), ve("div", {
|
|
1009
|
-
class:
|
|
1011
|
+
class: We(s.value)
|
|
1010
1012
|
}, [
|
|
1011
1013
|
ei(ue("input", {
|
|
1012
1014
|
"onUpdate:modelValue": d[0] || (d[0] = (f) => ua(i) ? i.value = f : null),
|
|
1013
|
-
class:
|
|
1015
|
+
class: We(l.value),
|
|
1014
1016
|
type: "checkbox",
|
|
1015
1017
|
value: u.value,
|
|
1016
1018
|
"true-value": u.value,
|
|
@@ -1026,9 +1028,9 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
1026
1028
|
class: "form-check-label",
|
|
1027
1029
|
for: o
|
|
1028
1030
|
}, [
|
|
1029
|
-
|
|
1031
|
+
Ve(u.$slots, "default")
|
|
1030
1032
|
]),
|
|
1031
|
-
|
|
1033
|
+
Ve(u.$slots, "last")
|
|
1032
1034
|
], 2));
|
|
1033
1035
|
}
|
|
1034
1036
|
}), pm = {
|
|
@@ -1051,17 +1053,17 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
1051
1053
|
onClick: r
|
|
1052
1054
|
}, [
|
|
1053
1055
|
ue("header", null, [
|
|
1054
|
-
|
|
1056
|
+
Ve(i.$slots, "header", {}, () => [
|
|
1055
1057
|
ue("h5", null, Ke(t.title), 1)
|
|
1056
1058
|
])
|
|
1057
1059
|
]),
|
|
1058
1060
|
t.hideBody ? Xe("", !0) : (de(), ve("div", pm, [
|
|
1059
|
-
|
|
1061
|
+
Ve(i.$slots, "default", {}, () => [
|
|
1060
1062
|
Sn(Ke(t.text), 1)
|
|
1061
1063
|
])
|
|
1062
1064
|
])),
|
|
1063
1065
|
t.hideFooter ? Xe("", !0) : (de(), ve("footer", hm, [
|
|
1064
|
-
|
|
1066
|
+
Ve(i.$slots, "footer")
|
|
1065
1067
|
]))
|
|
1066
1068
|
]));
|
|
1067
1069
|
}
|
|
@@ -1092,7 +1094,7 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
1092
1094
|
})), r = Re(() => e.variant !== gl.SUCCESS);
|
|
1093
1095
|
return (i, o) => (de(), vt(ou, su(au(e.teleport)), [
|
|
1094
1096
|
ue("div", {
|
|
1095
|
-
class:
|
|
1097
|
+
class: We(["toast bd-toast", t.value]),
|
|
1096
1098
|
role: "alert",
|
|
1097
1099
|
"aria-live": "assertive",
|
|
1098
1100
|
"aria-atomic": "true",
|
|
@@ -1129,7 +1131,7 @@ const Hh = ["id"], Vh = { key: 0 }, wu = /* @__PURE__ */ Be({
|
|
|
1129
1131
|
onClick: r
|
|
1130
1132
|
}, t), {
|
|
1131
1133
|
default: dt(() => [
|
|
1132
|
-
|
|
1134
|
+
Ve(i.$slots, "default", {}, () => [
|
|
1133
1135
|
Sn(Ke(t.text), 1)
|
|
1134
1136
|
])
|
|
1135
1137
|
]),
|
|
@@ -1352,13 +1354,13 @@ var Cu = { exports: {} };
|
|
|
1352
1354
|
var ge = E(q), De = P(K);
|
|
1353
1355
|
if (ge + G > De.byteLength)
|
|
1354
1356
|
throw xe(ne);
|
|
1355
|
-
var
|
|
1357
|
+
var je = P(De.buffer).bytes, Ue = ge + De.byteOffset, Ne = je.slice(Ue, Ue + G);
|
|
1356
1358
|
return le ? Ne : Ne.reverse();
|
|
1357
1359
|
}, M = function(K, G, q, le, ge, De) {
|
|
1358
|
-
var
|
|
1359
|
-
if (
|
|
1360
|
+
var je = E(q), Ue = P(K);
|
|
1361
|
+
if (je + G > Ue.byteLength)
|
|
1360
1362
|
throw xe(ne);
|
|
1361
|
-
for (var Ne = P(Ue.buffer).bytes, _e =
|
|
1363
|
+
for (var Ne = P(Ue.buffer).bytes, _e = je + Ue.byteOffset, wt = le(+ge), ct = 0; ct < G; ct++)
|
|
1362
1364
|
Ne[_e + ct] = wt[De ? ct : G - ct - 1];
|
|
1363
1365
|
};
|
|
1364
1366
|
if (!d)
|
|
@@ -3137,12 +3139,12 @@ var Cu = { exports: {} };
|
|
|
3137
3139
|
getOwnPropertyDescriptor: W,
|
|
3138
3140
|
defineProperty: V
|
|
3139
3141
|
}), s.exports = function(K, G, q) {
|
|
3140
|
-
var le = K.match(/\d+$/)[0] / 8, ge = K + (q ? "Clamped" : "") + "Array", De = "get" + K,
|
|
3142
|
+
var le = K.match(/\d+$/)[0] / 8, ge = K + (q ? "Clamped" : "") + "Array", De = "get" + K, je = "set" + K, Ue = u[ge], Ne = Ue, _e = Ne && Ne.prototype, wt = {}, ct = function(oe, se) {
|
|
3141
3143
|
var Se = ae(oe);
|
|
3142
3144
|
return Se.view[De](se * le + Se.byteOffset, !0);
|
|
3143
3145
|
}, Tn = function(oe, se, Se) {
|
|
3144
3146
|
var Te = ae(oe);
|
|
3145
|
-
q && (Se = (Se = xe(Se)) < 0 ? 0 : Se > 255 ? 255 : Se & 255), Te.view[
|
|
3147
|
+
q && (Se = (Se = xe(Se)) < 0 ? 0 : Se > 255 ? 255 : Se & 255), Te.view[je](se * le + Te.byteOffset, Se, !0);
|
|
3146
3148
|
}, Y = function(oe, se) {
|
|
3147
3149
|
be(oe, se, {
|
|
3148
3150
|
get: function() {
|
|
@@ -4040,7 +4042,7 @@ var Cu = { exports: {} };
|
|
|
4040
4042
|
return U.done || (U.value = N === "keys" ? W.key : N === "values" ? W.value : [W.key, W.value]), U;
|
|
4041
4043
|
}), b = function() {
|
|
4042
4044
|
x(this, b, X);
|
|
4043
|
-
var D = arguments.length > 0 ? arguments[0] : void 0, N = this, U = [], W, V, K, G, q, le, ge, De,
|
|
4045
|
+
var D = arguments.length > 0 ? arguments[0] : void 0, N = this, U = [], W, V, K, G, q, le, ge, De, je;
|
|
4044
4046
|
if (ne(N, {
|
|
4045
4047
|
type: X,
|
|
4046
4048
|
entries: U,
|
|
@@ -4056,8 +4058,8 @@ var Cu = { exports: {} };
|
|
|
4056
4058
|
U.push({ key: ge.value + "", value: De.value + "" });
|
|
4057
4059
|
}
|
|
4058
4060
|
else
|
|
4059
|
-
for (
|
|
4060
|
-
E(D,
|
|
4061
|
+
for (je in D)
|
|
4062
|
+
E(D, je) && U.push({ key: je, value: D[je] + "" });
|
|
4061
4063
|
else
|
|
4062
4064
|
O(U, typeof D == "string" ? D.charAt(0) === "?" ? D.slice(1) : D : D + "");
|
|
4063
4065
|
}, M = b.prototype;
|
|
@@ -4330,7 +4332,7 @@ var Cu = { exports: {} };
|
|
|
4330
4332
|
}, De = function(T) {
|
|
4331
4333
|
var _;
|
|
4332
4334
|
return T.length > 1 && ge(T.slice(0, 2)) && (T.length == 2 || (_ = T.charAt(2)) === "/" || _ === "\\" || _ === "?" || _ === "#");
|
|
4333
|
-
},
|
|
4335
|
+
}, je = function(T) {
|
|
4334
4336
|
var _ = T.path, Q = _.length;
|
|
4335
4337
|
Q && (T.scheme != "file" || Q != 1 || !ge(_[0], !0)) && _.pop();
|
|
4336
4338
|
}, Ue = function(T) {
|
|
@@ -4502,7 +4504,7 @@ var Cu = { exports: {} };
|
|
|
4502
4504
|
else if (te == "#")
|
|
4503
4505
|
T.host = ee.host, T.path = ee.path.slice(), T.query = ee.query, T.fragment = "", re = hn;
|
|
4504
4506
|
else {
|
|
4505
|
-
De(Bt.slice(Ae).join("")) || (T.host = ee.host, T.path = ee.path.slice(),
|
|
4507
|
+
De(Bt.slice(Ae).join("")) || (T.host = ee.host, T.path = ee.path.slice(), je(T)), re = Lt;
|
|
4506
4508
|
continue;
|
|
4507
4509
|
}
|
|
4508
4510
|
else {
|
|
@@ -4549,7 +4551,7 @@ var Cu = { exports: {} };
|
|
|
4549
4551
|
break;
|
|
4550
4552
|
case Lt:
|
|
4551
4553
|
if (te == S || te == "/" || te == "\\" && G(T) || !Q && (te == "?" || te == "#")) {
|
|
4552
|
-
if (Ne(he) ? (
|
|
4554
|
+
if (Ne(he) ? (je(T), te != "/" && !(te == "\\" && G(T)) && T.path.push("")) : Ue(he) ? te != "/" && !(te == "\\" && G(T)) && T.path.push("") : (T.scheme == "file" && !T.path.length && ge(he) && (T.host && (T.host = ""), he = he.charAt(0) + ":"), T.path.push(he)), he = "", T.scheme == "file" && (te == S || te == "?" || te == "#"))
|
|
4553
4555
|
for (; T.path.length > 1 && T.path[0] === ""; )
|
|
4554
4556
|
T.path.shift();
|
|
4555
4557
|
te == "?" ? (T.query = "", re = Pt) : te == "#" && (T.fragment = "", re = hn);
|
|
@@ -6552,10 +6554,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6552
6554
|
}
|
|
6553
6555
|
var De = new FormData();
|
|
6554
6556
|
if (this.options.params) {
|
|
6555
|
-
var
|
|
6556
|
-
typeof
|
|
6557
|
-
for (var Ue in
|
|
6558
|
-
var Ne =
|
|
6557
|
+
var je = this.options.params;
|
|
6558
|
+
typeof je == "function" && (je = je.call(this, v, I, v[0].upload.chunked ? this._getChunk(v[0], I) : null));
|
|
6559
|
+
for (var Ue in je) {
|
|
6560
|
+
var Ne = je[Ue];
|
|
6559
6561
|
if (Array.isArray(Ne))
|
|
6560
6562
|
for (var _e = 0; _e < Ne.length; _e++)
|
|
6561
6563
|
De.append(Ue, Ne[_e]);
|
|
@@ -19281,7 +19283,7 @@ function C2(n) {
|
|
|
19281
19283
|
C[y] = D, L[y] = D - ne;
|
|
19282
19284
|
}
|
|
19283
19285
|
if (l) {
|
|
19284
|
-
var N, U = y === "x" ? kt : At, W = y === "x" ? Kt : Gt, V = C[R], K = R === "y" ? "height" : "width", G = V + g[U], q = V - g[W], le = [kt, At].indexOf(x) !== -1, ge = (N = P == null ? void 0 : P[R]) != null ? N : 0, De = le ? G : V - F[K] - z[K] - ge + B.altAxis,
|
|
19286
|
+
var N, U = y === "x" ? kt : At, W = y === "x" ? Kt : Gt, V = C[R], K = R === "y" ? "height" : "width", G = V + g[U], q = V - g[W], le = [kt, At].indexOf(x) !== -1, ge = (N = P == null ? void 0 : P[R]) != null ? N : 0, De = le ? G : V - F[K] - z[K] - ge + B.altAxis, je = le ? V + F[K] + z[K] - ge - B.altAxis : q, Ue = h && le ? Yy(De, V, je) : Yr(h ? De : G, V, h ? je : q);
|
|
19285
19287
|
C[R] = Ue, L[R] = Ue - V;
|
|
19286
19288
|
}
|
|
19287
19289
|
e.modifiersData[r] = L;
|
|
@@ -19953,7 +19955,7 @@ function hb(n, e) {
|
|
|
19953
19955
|
plugins: E,
|
|
19954
19956
|
// methods
|
|
19955
19957
|
clearDelayTimeouts: De,
|
|
19956
|
-
setProps:
|
|
19958
|
+
setProps: je,
|
|
19957
19959
|
setContent: Ue,
|
|
19958
19960
|
show: Ne,
|
|
19959
19961
|
hide: _e,
|
|
@@ -20266,7 +20268,7 @@ function hb(n, e) {
|
|
|
20266
20268
|
function De() {
|
|
20267
20269
|
clearTimeout(r), clearTimeout(i), cancelAnimationFrame(o);
|
|
20268
20270
|
}
|
|
20269
|
-
function
|
|
20271
|
+
function je(Y) {
|
|
20270
20272
|
if (process.env.NODE_ENV !== "production" && bn(y.state.isDestroyed, mr("setProps")), !y.state.isDestroyed) {
|
|
20271
20273
|
j("onBeforeUpdate", [y, Y]), v();
|
|
20272
20274
|
var oe = y.props, se = $c(n, Object.assign({}, oe, Lc(Y), {
|
|
@@ -22268,10 +22270,10 @@ const Kb = fn.create({
|
|
|
22268
22270
|
const d = Re(() => t.variant === Rs.FULL), f = (h) => s.value && s.value.isActive(h) ? "active" : null;
|
|
22269
22271
|
return (h, p) => (de(), ve(mi, null, [
|
|
22270
22272
|
ue("div", {
|
|
22271
|
-
class:
|
|
22273
|
+
class: We(["bd-markdown-editor", l.value])
|
|
22272
22274
|
}, [
|
|
22273
22275
|
He(Ee(yb), { editor: Ee(s) }, null, 8, ["editor"]),
|
|
22274
|
-
|
|
22276
|
+
Ve(h.$slots, "default"),
|
|
22275
22277
|
ue("div", d5, [
|
|
22276
22278
|
He(on, {
|
|
22277
22279
|
variant: "light",
|
|
@@ -22288,7 +22290,7 @@ const Kb = fn.create({
|
|
|
22288
22290
|
key: 1,
|
|
22289
22291
|
variant: "light",
|
|
22290
22292
|
type: "button",
|
|
22291
|
-
class:
|
|
22293
|
+
class: We(a.value),
|
|
22292
22294
|
onClick: p[0] || (p[0] = (m) => Ee(s).chain().focus().toggleBold().run())
|
|
22293
22295
|
}, {
|
|
22294
22296
|
default: dt(() => [
|
|
@@ -22300,7 +22302,7 @@ const Kb = fn.create({
|
|
|
22300
22302
|
key: 2,
|
|
22301
22303
|
variant: "light",
|
|
22302
22304
|
type: "button",
|
|
22303
|
-
class:
|
|
22305
|
+
class: We(c.value),
|
|
22304
22306
|
onClick: p[1] || (p[1] = (m) => Ee(s).chain().focus().toggleItalic().run())
|
|
22305
22307
|
}, {
|
|
22306
22308
|
default: dt(() => [
|
|
@@ -22312,7 +22314,7 @@ const Kb = fn.create({
|
|
|
22312
22314
|
key: 3,
|
|
22313
22315
|
variant: "light",
|
|
22314
22316
|
type: "button",
|
|
22315
|
-
class:
|
|
22317
|
+
class: We(u.value),
|
|
22316
22318
|
onClick: p[2] || (p[2] = (m) => Ee(s).chain().focus().toggleUnderline().run())
|
|
22317
22319
|
}, {
|
|
22318
22320
|
default: dt(() => [
|
|
@@ -22384,7 +22386,7 @@ const Kb = fn.create({
|
|
|
22384
22386
|
ue("div", v5, [
|
|
22385
22387
|
ue("header", null, [
|
|
22386
22388
|
ue("h5", y5, Ke(e.name), 1),
|
|
22387
|
-
|
|
22389
|
+
Ve(r.$slots, "header-extra")
|
|
22388
22390
|
]),
|
|
22389
22391
|
ue("span", b5, Ke(t.value), 1)
|
|
22390
22392
|
])
|
|
@@ -22430,7 +22432,7 @@ const Kb = fn.create({
|
|
|
22430
22432
|
ue("ul", wn({
|
|
22431
22433
|
class: ["dropdown-menu", o.value]
|
|
22432
22434
|
}, s.value), [
|
|
22433
|
-
|
|
22435
|
+
Ve(l.$slots, "default")
|
|
22434
22436
|
], 16)
|
|
22435
22437
|
]));
|
|
22436
22438
|
}
|
|
@@ -22469,7 +22471,7 @@ const Kb = fn.create({
|
|
|
22469
22471
|
])
|
|
22470
22472
|
]),
|
|
22471
22473
|
ue("div", O5, [
|
|
22472
|
-
|
|
22474
|
+
Ve(o.$slots, "default")
|
|
22473
22475
|
]),
|
|
22474
22476
|
ue("div", M5, [
|
|
22475
22477
|
ue("button", {
|
|
@@ -22532,7 +22534,7 @@ const Kb = fn.create({
|
|
|
22532
22534
|
class: ["bd-btn", r.value]
|
|
22533
22535
|
}, o.value, { onClick: s }), {
|
|
22534
22536
|
default: dt(() => [
|
|
22535
|
-
|
|
22537
|
+
Ve(l.$slots, "default", {}, () => [
|
|
22536
22538
|
Sn(Ke(t.text), 1)
|
|
22537
22539
|
])
|
|
22538
22540
|
]),
|