bt-core-app 1.4.587 → 1.4.588
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/bt-core-app.js +34 -34
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -40875,36 +40875,36 @@ const q1 = {
|
|
|
40875
40875
|
},
|
|
40876
40876
|
emits: ["update:modelValue"],
|
|
40877
40877
|
setup(e, { emit: t }) {
|
|
40878
|
-
const n = t, a = e, l = od(), r = _(() => a.width != null ? `width: ${a.width}px` : ""), i = _({
|
|
40878
|
+
const n = t, a = e, l = od(), r = _(() => a.width != null ? `width: ${a.width}px` : ""), i = H(0), o = _({
|
|
40879
40879
|
get() {
|
|
40880
|
-
return a.modelValue
|
|
40880
|
+
return a.modelValue != null ? a.modelValue : i.value;
|
|
40881
40881
|
},
|
|
40882
|
-
set(
|
|
40883
|
-
n("update:modelValue",
|
|
40884
|
-
}
|
|
40885
|
-
}),
|
|
40886
|
-
var
|
|
40887
|
-
var
|
|
40888
|
-
if (typeof
|
|
40889
|
-
|
|
40882
|
+
set(u) {
|
|
40883
|
+
a.modelValue != null && n("update:modelValue", u), i.value = u;
|
|
40884
|
+
}
|
|
40885
|
+
}), s = _(() => (a.options ?? []).map((f, h) => {
|
|
40886
|
+
var g;
|
|
40887
|
+
var v = { value: "", index: h + 1 };
|
|
40888
|
+
if (typeof f == "string")
|
|
40889
|
+
v.hide = !1, v.title = f, v.value = v.title.replaceAll(" ", "").toLowerCase();
|
|
40890
40890
|
else {
|
|
40891
|
-
var
|
|
40892
|
-
|
|
40893
|
-
...
|
|
40894
|
-
index:
|
|
40895
|
-
value:
|
|
40891
|
+
var m = f;
|
|
40892
|
+
v = {
|
|
40893
|
+
...m,
|
|
40894
|
+
index: h + 1,
|
|
40895
|
+
value: m.value ?? ((g = m.title) == null ? void 0 : g.replaceAll(" ", "").toLowerCase())
|
|
40896
40896
|
};
|
|
40897
40897
|
}
|
|
40898
|
-
return
|
|
40899
|
-
})),
|
|
40898
|
+
return v;
|
|
40899
|
+
})), c = _(() => s.value.filter((u) => u.hide !== !0));
|
|
40900
40900
|
return St(() => {
|
|
40901
40901
|
if ((l == null ? void 0 : l.query.slide) != null) {
|
|
40902
|
-
const
|
|
40903
|
-
|
|
40902
|
+
const u = a.options.findIndex((f) => f.value == (l == null ? void 0 : l.query.slide));
|
|
40903
|
+
u >= 0 && (o.value = u + 1);
|
|
40904
40904
|
}
|
|
40905
|
-
}), (
|
|
40906
|
-
modelValue:
|
|
40907
|
-
"onUpdate:modelValue":
|
|
40905
|
+
}), (u, f) => (B(), ne(j5, {
|
|
40906
|
+
modelValue: o.value,
|
|
40907
|
+
"onUpdate:modelValue": f[1] || (f[1] = (h) => o.value = h),
|
|
40908
40908
|
style: $t(r.value)
|
|
40909
40909
|
}, {
|
|
40910
40910
|
default: R(() => [
|
|
@@ -40912,12 +40912,12 @@ const q1 = {
|
|
|
40912
40912
|
default: R(() => [
|
|
40913
40913
|
w(Gt, null, {
|
|
40914
40914
|
default: R(() => [
|
|
40915
|
-
(B(!0), fe(Me, null, Qe(
|
|
40915
|
+
(B(!0), fe(Me, null, Qe(c.value, (h) => (B(), ne(ct, {
|
|
40916
40916
|
"append-icon": "$arrow-right",
|
|
40917
|
-
onClick: (
|
|
40918
|
-
disabled:
|
|
40919
|
-
key:
|
|
40920
|
-
title:
|
|
40917
|
+
onClick: (v) => o.value = h.index ?? 0,
|
|
40918
|
+
disabled: h.disabled,
|
|
40919
|
+
key: h.value ?? h.title,
|
|
40920
|
+
title: h.title
|
|
40921
40921
|
}, null, 8, ["onClick", "disabled", "title"]))), 128))
|
|
40922
40922
|
]),
|
|
40923
40923
|
_: 1
|
|
@@ -40925,14 +40925,14 @@ const q1 = {
|
|
|
40925
40925
|
]),
|
|
40926
40926
|
_: 1
|
|
40927
40927
|
}),
|
|
40928
|
-
(B(!0), fe(Me, null, Qe(
|
|
40929
|
-
key:
|
|
40930
|
-
value:
|
|
40928
|
+
(B(!0), fe(Me, null, Qe(s.value, (h) => (B(), ne(vh, {
|
|
40929
|
+
key: h.value ?? h.title,
|
|
40930
|
+
value: h.index
|
|
40931
40931
|
}, {
|
|
40932
40932
|
default: R(() => [
|
|
40933
40933
|
w(Aa, { "hide-on-leave": "" }, {
|
|
40934
40934
|
default: R(() => [
|
|
40935
|
-
!
|
|
40935
|
+
!u.hideHeader && !h.hideHeader ? (B(), ne(Ss, {
|
|
40936
40936
|
key: 0,
|
|
40937
40937
|
density: "compact",
|
|
40938
40938
|
flat: "",
|
|
@@ -40941,11 +40941,11 @@ const q1 = {
|
|
|
40941
40941
|
default: R(() => [
|
|
40942
40942
|
w(Le, {
|
|
40943
40943
|
icon: "$arrow-left",
|
|
40944
|
-
onClick:
|
|
40944
|
+
onClick: f[0] || (f[0] = (v) => o.value = 0)
|
|
40945
40945
|
}),
|
|
40946
40946
|
w(Js, null, {
|
|
40947
40947
|
default: R(() => [
|
|
40948
|
-
He(Ne(
|
|
40948
|
+
He(Ne(h.title), 1)
|
|
40949
40949
|
]),
|
|
40950
40950
|
_: 2
|
|
40951
40951
|
}, 1024)
|
|
@@ -40955,7 +40955,7 @@ const q1 = {
|
|
|
40955
40955
|
]),
|
|
40956
40956
|
_: 2
|
|
40957
40957
|
}, 1024),
|
|
40958
|
-
ye(
|
|
40958
|
+
ye(u.$slots, (h.value ?? h.title).replaceAll(" ", "").toLowerCase())
|
|
40959
40959
|
]),
|
|
40960
40960
|
_: 2
|
|
40961
40961
|
}, 1032, ["value"]))), 128))
|
package/package.json
CHANGED