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