btxui 1.1.33 → 1.1.35
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/index.js +256 -147
- package/dist/index.js.gz +0 -0
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, reactive, onBeforeMount, renderSlot, watch, onMounted, openBlock, createBlock, normalizeClass, withCtx, createElementVNode, normalizeStyle, getCurrentInstance, resolveDynamicComponent, withModifiers, createElementBlock, nextTick, createVNode, resolveComponent, Fragment, createCommentVNode, watchEffect, withDirectives, toDisplayString, vShow, vModelDynamic, createTextVNode, vModelText, mergeProps, renderList, createSlots, render, KeepAlive, inject, unref, provide, normalizeProps, guardReactiveProps } from "vue";
|
|
1
|
+
import { defineComponent, ref, computed, reactive, onBeforeMount, renderSlot, watch, onMounted, openBlock, createBlock, normalizeClass, withCtx, createElementVNode, normalizeStyle, getCurrentInstance, resolveDynamicComponent, withModifiers, createElementBlock, nextTick, createVNode, resolveComponent, Fragment, createCommentVNode, watchEffect, withDirectives, toDisplayString, vShow, vModelDynamic, createTextVNode, vModelText, mergeProps, renderList, createSlots, render, KeepAlive, inject, unref, provide, normalizeProps, guardReactiveProps, onUnmounted } from "vue";
|
|
2
2
|
const theme = {
|
|
3
3
|
// 预置主题色
|
|
4
4
|
colors: {
|
|
@@ -100,6 +100,8 @@ const prestyles = {
|
|
|
100
100
|
"fixed": `position: fixed;`,
|
|
101
101
|
"rel": `position: relative;`,
|
|
102
102
|
"abs": `position: absolute;`,
|
|
103
|
+
// 磁吸定位
|
|
104
|
+
"sticky": `position: sticky;`,
|
|
103
105
|
// 溢出处理
|
|
104
106
|
"over-hide": `overflow: hidden;`,
|
|
105
107
|
"over-show": `overflow: visible;`,
|
|
@@ -590,7 +592,7 @@ var md5$1 = {
|
|
|
590
592
|
})(md5$1);
|
|
591
593
|
const md5 = md5Exports;
|
|
592
594
|
const GLOBAL_STYLE_NAME = "BTXUIGlobal";
|
|
593
|
-
const _sfc_main$
|
|
595
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
594
596
|
__name: "b-style",
|
|
595
597
|
props: {
|
|
596
598
|
class: {},
|
|
@@ -846,7 +848,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
846
848
|
}
|
|
847
849
|
});
|
|
848
850
|
const _hoisted_1$b = ["data-ani-states", "state"];
|
|
849
|
-
const _sfc_main$
|
|
851
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
850
852
|
__name: "b-view",
|
|
851
853
|
props: {
|
|
852
854
|
class: {},
|
|
@@ -859,7 +861,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
859
861
|
aniEndClear: { type: Boolean }
|
|
860
862
|
},
|
|
861
863
|
emits: ["on_aniEnd"],
|
|
862
|
-
setup(__props, { emit: __emit }) {
|
|
864
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
863
865
|
const props = __props;
|
|
864
866
|
const emit = __emit;
|
|
865
867
|
const $el = ref();
|
|
@@ -897,8 +899,11 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
897
899
|
}
|
|
898
900
|
setAniState();
|
|
899
901
|
});
|
|
902
|
+
__expose({
|
|
903
|
+
$el
|
|
904
|
+
});
|
|
900
905
|
return (_ctx, _cache) => {
|
|
901
|
-
return openBlock(), createBlock(_sfc_main$
|
|
906
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
902
907
|
class: normalizeClass(__props.class),
|
|
903
908
|
cname: __props.cname,
|
|
904
909
|
states: __props.states,
|
|
@@ -923,7 +928,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
923
928
|
}
|
|
924
929
|
});
|
|
925
930
|
const _hoisted_1$a = ["state"];
|
|
926
|
-
const _sfc_main$
|
|
931
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
927
932
|
__name: "b-text",
|
|
928
933
|
props: {
|
|
929
934
|
class: {},
|
|
@@ -933,7 +938,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
933
938
|
},
|
|
934
939
|
setup(__props) {
|
|
935
940
|
return (_ctx, _cache) => {
|
|
936
|
-
return openBlock(), createBlock(_sfc_main$
|
|
941
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
937
942
|
class: normalizeClass(__props.class),
|
|
938
943
|
states: __props.states,
|
|
939
944
|
cname: __props.cname
|
|
@@ -951,7 +956,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
951
956
|
};
|
|
952
957
|
}
|
|
953
958
|
});
|
|
954
|
-
const _sfc_main$
|
|
959
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
955
960
|
__name: "b-hot",
|
|
956
961
|
props: {
|
|
957
962
|
link: {},
|
|
@@ -1071,7 +1076,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1071
1076
|
$el: $anchor
|
|
1072
1077
|
});
|
|
1073
1078
|
return (_ctx, _cache) => {
|
|
1074
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1079
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1075
1080
|
class: normalizeClass(__props.class),
|
|
1076
1081
|
states: __props.states,
|
|
1077
1082
|
hover: __props.hover,
|
|
@@ -1114,7 +1119,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1114
1119
|
}
|
|
1115
1120
|
});
|
|
1116
1121
|
const _hoisted_1$9 = ["src", "state", "alt"];
|
|
1117
|
-
const _sfc_main$
|
|
1122
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
1118
1123
|
__name: "b-img",
|
|
1119
1124
|
props: {
|
|
1120
1125
|
img: {},
|
|
@@ -1153,7 +1158,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
1153
1158
|
$el: $img
|
|
1154
1159
|
});
|
|
1155
1160
|
return (_ctx, _cache) => {
|
|
1156
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1161
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1157
1162
|
class: normalizeClass(__props.class),
|
|
1158
1163
|
cname: __props.cname,
|
|
1159
1164
|
states: __props.states,
|
|
@@ -1182,17 +1187,17 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
1182
1187
|
};
|
|
1183
1188
|
}
|
|
1184
1189
|
});
|
|
1185
|
-
const _sfc_main$
|
|
1190
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
1186
1191
|
__name: "ani-success",
|
|
1187
1192
|
setup(__props) {
|
|
1188
1193
|
return (_ctx, _cache) => {
|
|
1189
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1194
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
1190
1195
|
class: "flex-5",
|
|
1191
1196
|
matrix: { translate: "0,9px", rotate: "45deg" }
|
|
1192
1197
|
}, {
|
|
1193
1198
|
default: withCtx(() => [
|
|
1194
|
-
createVNode(_sfc_main$
|
|
1195
|
-
createVNode(_sfc_main$
|
|
1199
|
+
createVNode(_sfc_main$x, { class: "ani-success-part1 w-1 h-3-px bg-color-green round-sm" }),
|
|
1200
|
+
createVNode(_sfc_main$x, { class: "ani-success-part2 w-1d7 h-3-px bg-color-green round-sm rel t-1-px l-f1-px" })
|
|
1196
1201
|
]),
|
|
1197
1202
|
_: 1
|
|
1198
1203
|
});
|
|
@@ -1208,7 +1213,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
1208
1213
|
}
|
|
1209
1214
|
return target;
|
|
1210
1215
|
};
|
|
1211
|
-
const _sfc_main$
|
|
1216
|
+
const _sfc_main$t = {};
|
|
1212
1217
|
function _sfc_render$2(_ctx, _cache) {
|
|
1213
1218
|
const _component_b_text = resolveComponent("b-text");
|
|
1214
1219
|
const _component_b_view = resolveComponent("b-view");
|
|
@@ -1220,9 +1225,9 @@ function _sfc_render$2(_ctx, _cache) {
|
|
|
1220
1225
|
_: 1
|
|
1221
1226
|
});
|
|
1222
1227
|
}
|
|
1223
|
-
const AniFail = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1228
|
+
const AniFail = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$2]]);
|
|
1224
1229
|
const aniNotic_vue_vue_type_style_index_0_lang = "";
|
|
1225
|
-
const _sfc_main$
|
|
1230
|
+
const _sfc_main$s = {};
|
|
1226
1231
|
function _sfc_render$1(_ctx, _cache) {
|
|
1227
1232
|
const _component_b_text = resolveComponent("b-text");
|
|
1228
1233
|
const _component_b_view = resolveComponent("b-view");
|
|
@@ -1237,9 +1242,9 @@ function _sfc_render$1(_ctx, _cache) {
|
|
|
1237
1242
|
_: 1
|
|
1238
1243
|
});
|
|
1239
1244
|
}
|
|
1240
|
-
const AniNotic = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1245
|
+
const AniNotic = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$1]]);
|
|
1241
1246
|
const aniLoading_vue_vue_type_style_index_0_lang = "";
|
|
1242
|
-
const _sfc_main$
|
|
1247
|
+
const _sfc_main$r = {};
|
|
1243
1248
|
function _sfc_render(_ctx, _cache) {
|
|
1244
1249
|
const _component_b_view = resolveComponent("b-view");
|
|
1245
1250
|
return openBlock(), createBlock(_component_b_view, { class: "flex-5" }, {
|
|
@@ -1249,9 +1254,9 @@ function _sfc_render(_ctx, _cache) {
|
|
|
1249
1254
|
_: 1
|
|
1250
1255
|
});
|
|
1251
1256
|
}
|
|
1252
|
-
const AniLoading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1257
|
+
const AniLoading = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render]]);
|
|
1253
1258
|
const _hoisted_1$8 = ["state"];
|
|
1254
|
-
const _sfc_main$
|
|
1259
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
1255
1260
|
__name: "b-icon",
|
|
1256
1261
|
props: {
|
|
1257
1262
|
icon: {},
|
|
@@ -1263,19 +1268,19 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
1263
1268
|
setup(__props) {
|
|
1264
1269
|
const props = __props;
|
|
1265
1270
|
return (_ctx, _cache) => {
|
|
1266
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1271
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1267
1272
|
class: normalizeClass(__props.class),
|
|
1268
1273
|
states: __props.states,
|
|
1269
1274
|
cname: __props.cname
|
|
1270
1275
|
}, {
|
|
1271
1276
|
className: withCtx((scope) => [
|
|
1272
1277
|
__props.icon.search("ani_") === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1273
|
-
__props.icon === "ani_success" ? (openBlock(), createBlock(_sfc_main$
|
|
1278
|
+
__props.icon === "ani_success" ? (openBlock(), createBlock(_sfc_main$u, { key: "success" })) : createCommentVNode("", true),
|
|
1274
1279
|
__props.icon === "ani_fail" ? (openBlock(), createBlock(AniFail, { key: "fail" })) : createCommentVNode("", true),
|
|
1275
1280
|
__props.icon === "ani_notic" ? (openBlock(), createBlock(AniNotic, { key: "notic" })) : createCommentVNode("", true),
|
|
1276
1281
|
__props.icon === "ani_loading" ? (openBlock(), createBlock(AniLoading, { key: "loading" })) : createCommentVNode("", true)
|
|
1277
1282
|
], 64)) : createCommentVNode("", true),
|
|
1278
|
-
__props.icon.search("/") > -1 ? (openBlock(), createBlock(_sfc_main$
|
|
1283
|
+
__props.icon.search("/") > -1 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
1279
1284
|
key: 1,
|
|
1280
1285
|
"bg-img": __props.icon,
|
|
1281
1286
|
states: __props.states,
|
|
@@ -1294,7 +1299,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
1294
1299
|
});
|
|
1295
1300
|
const _hoisted_1$7 = ["contenteditable", "focus-state", "state"];
|
|
1296
1301
|
const _hoisted_2$2 = ["type", "name", "focus-state", "state", "placeholder", "maxlength", "readonly"];
|
|
1297
|
-
const _sfc_main$
|
|
1302
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
1298
1303
|
__name: "b-input",
|
|
1299
1304
|
props: {
|
|
1300
1305
|
type: {},
|
|
@@ -1445,7 +1450,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1445
1450
|
const _component_b_hot = resolveComponent("b-hot");
|
|
1446
1451
|
const _component_b_view = resolveComponent("b-view");
|
|
1447
1452
|
const _component_b_icon = resolveComponent("b-icon");
|
|
1448
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1453
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1449
1454
|
class: normalizeClass(__props.class),
|
|
1450
1455
|
focus: __props.focus,
|
|
1451
1456
|
states: __props.states,
|
|
@@ -1563,7 +1568,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1563
1568
|
}
|
|
1564
1569
|
});
|
|
1565
1570
|
const _hoisted_1$6 = ["name", "focus", "state", "placeholder", "maxlength", "readonly", "rows"];
|
|
1566
|
-
const _sfc_main$
|
|
1571
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
1567
1572
|
__name: "b-textarea",
|
|
1568
1573
|
props: {
|
|
1569
1574
|
text: {},
|
|
@@ -1583,12 +1588,16 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1583
1588
|
const props = __props;
|
|
1584
1589
|
const emit = __emit;
|
|
1585
1590
|
const val = ref(props.text);
|
|
1586
|
-
const
|
|
1591
|
+
const text = computed(() => props.text);
|
|
1592
|
+
watch(text, (str) => {
|
|
1593
|
+
val.value = str;
|
|
1594
|
+
});
|
|
1595
|
+
const formatText = (text2) => text2.replace(/[\n\r]/g, "<br>");
|
|
1587
1596
|
const inputText = () => {
|
|
1588
1597
|
emit("update:text", formatText(val.value));
|
|
1589
1598
|
};
|
|
1590
1599
|
return (_ctx, _cache) => {
|
|
1591
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1600
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1592
1601
|
class: normalizeClass(__props.class),
|
|
1593
1602
|
focus: __props.focus,
|
|
1594
1603
|
states: __props.states,
|
|
@@ -1620,7 +1629,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1620
1629
|
});
|
|
1621
1630
|
const _hoisted_1$5 = ["poster", "muted", "src", "autoplay", "controls", "loop"];
|
|
1622
1631
|
const _hoisted_2$1 = ["poster", "muted", "src", "autoplay", "controls", "loop"];
|
|
1623
|
-
const _sfc_main$
|
|
1632
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
1624
1633
|
__name: "b-video",
|
|
1625
1634
|
props: {
|
|
1626
1635
|
video: {},
|
|
@@ -1683,7 +1692,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1683
1692
|
const _component_b_icon = resolveComponent("b-icon");
|
|
1684
1693
|
const _component_b_view = resolveComponent("b-view");
|
|
1685
1694
|
const _component_b_hot = resolveComponent("b-hot");
|
|
1686
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1695
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1687
1696
|
class: normalizeClass(__props.class),
|
|
1688
1697
|
cname: __props.cname
|
|
1689
1698
|
}, {
|
|
@@ -1762,7 +1771,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1762
1771
|
});
|
|
1763
1772
|
const _hoisted_1$4 = ["state"];
|
|
1764
1773
|
const tolerance = 2;
|
|
1765
|
-
const _sfc_main$
|
|
1774
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
1766
1775
|
__name: "b-list",
|
|
1767
1776
|
props: {
|
|
1768
1777
|
scroll: {},
|
|
@@ -1849,7 +1858,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1849
1858
|
watchPos();
|
|
1850
1859
|
});
|
|
1851
1860
|
return (_ctx, _cache) => {
|
|
1852
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1861
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1853
1862
|
class: normalizeClass(__props.class),
|
|
1854
1863
|
states: __props.states,
|
|
1855
1864
|
cname: __props.cname
|
|
@@ -1877,7 +1886,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1877
1886
|
}
|
|
1878
1887
|
});
|
|
1879
1888
|
const _hoisted_1$3 = ["state", "draggable"];
|
|
1880
|
-
const _sfc_main$
|
|
1889
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
1881
1890
|
__name: "b-drag",
|
|
1882
1891
|
props: {
|
|
1883
1892
|
class: {},
|
|
@@ -1988,7 +1997,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1988
1997
|
bindEvent();
|
|
1989
1998
|
});
|
|
1990
1999
|
return (_ctx, _cache) => {
|
|
1991
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2000
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1992
2001
|
class: normalizeClass(__props.class),
|
|
1993
2002
|
states: { dragStart: __props.dragStart, dragOver: __props.dragOver },
|
|
1994
2003
|
cname: __props.cname
|
|
@@ -2018,7 +2027,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
2018
2027
|
}
|
|
2019
2028
|
});
|
|
2020
2029
|
const _hoisted_1$2 = ["src"];
|
|
2021
|
-
const _sfc_main$
|
|
2030
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
2022
2031
|
__name: "b-webview",
|
|
2023
2032
|
props: {
|
|
2024
2033
|
src: {},
|
|
@@ -2027,7 +2036,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2027
2036
|
},
|
|
2028
2037
|
setup(__props) {
|
|
2029
2038
|
return (_ctx, _cache) => {
|
|
2030
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2039
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
2031
2040
|
class: normalizeClass(__props.class),
|
|
2032
2041
|
cname: __props.cname
|
|
2033
2042
|
}, {
|
|
@@ -2043,7 +2052,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2043
2052
|
};
|
|
2044
2053
|
}
|
|
2045
2054
|
});
|
|
2046
|
-
const _sfc_main$
|
|
2055
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
2047
2056
|
__name: "b-row",
|
|
2048
2057
|
props: {
|
|
2049
2058
|
class: {},
|
|
@@ -2060,7 +2069,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
2060
2069
|
});
|
|
2061
2070
|
const combClass = ref(`${props.class ?? ""} flex pad-h-${gap.value[0]} pad-v-${gap.value[1]}`);
|
|
2062
2071
|
return (_ctx, _cache) => {
|
|
2063
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2072
|
+
return openBlock(), createBlock(_sfc_main$y, mergeProps({ class: combClass.value }, __props.viewData, {
|
|
2064
2073
|
extraClass: {
|
|
2065
2074
|
selector: ">",
|
|
2066
2075
|
value: `pad-h-${gap.value[0]} pad-v-${gap.value[1]}`
|
|
@@ -2074,7 +2083,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
2074
2083
|
};
|
|
2075
2084
|
}
|
|
2076
2085
|
});
|
|
2077
|
-
const _sfc_main$
|
|
2086
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
2078
2087
|
__name: "b-col",
|
|
2079
2088
|
props: {
|
|
2080
2089
|
span: {},
|
|
@@ -2086,7 +2095,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
2086
2095
|
const props = __props;
|
|
2087
2096
|
const combClass = ref(`${props.class ?? ""} ${props.span ? "col-" + props.span : ""} ${props.offset ? "offset-" + props.offset : ""}`);
|
|
2088
2097
|
return (_ctx, _cache) => {
|
|
2089
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2098
|
+
return openBlock(), createBlock(_sfc_main$y, mergeProps({ class: combClass.value }, __props.viewData), {
|
|
2090
2099
|
default: withCtx(() => [
|
|
2091
2100
|
renderSlot(_ctx.$slots, "default")
|
|
2092
2101
|
]),
|
|
@@ -2095,7 +2104,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
2095
2104
|
};
|
|
2096
2105
|
}
|
|
2097
2106
|
});
|
|
2098
|
-
const _sfc_main$
|
|
2107
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
2099
2108
|
__name: "btn-wid",
|
|
2100
2109
|
props: {
|
|
2101
2110
|
btnText: {},
|
|
@@ -2155,13 +2164,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2155
2164
|
}
|
|
2156
2165
|
});
|
|
2157
2166
|
return (_ctx, _cache) => {
|
|
2158
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2167
|
+
return openBlock(), createBlock(_sfc_main$w, mergeProps(__props.hotData, {
|
|
2159
2168
|
class: `flex-5 pad-h-1d4 ${size.value} thick-1 ellipsis ${__props.btnRound ? "round-lg" : "round-sm"} ${__props.btnWidth ? "lw-" + __props.btnWidth : ""} ${normal.value.bg} ${normal.value.text} ${normal.value.line} solid`,
|
|
2160
2169
|
hover: `${hover.value.text} ${hover.value.bg} ${hover.value.line}`,
|
|
2161
2170
|
active: `${active.value.text} ${active.value.bg} ${active.value.line}`
|
|
2162
2171
|
}), {
|
|
2163
2172
|
default: withCtx(() => [
|
|
2164
|
-
__props.iconData ? (openBlock(), createBlock(_sfc_main$
|
|
2173
|
+
__props.iconData ? (openBlock(), createBlock(_sfc_main$q, mergeProps({ key: 0 }, __props.iconData, { class: "mrg-r-d7" }), null, 16)) : createCommentVNode("", true),
|
|
2165
2174
|
createTextVNode(" " + toDisplayString(__props.btnText), 1)
|
|
2166
2175
|
]),
|
|
2167
2176
|
_: 1
|
|
@@ -2169,7 +2178,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2169
2178
|
};
|
|
2170
2179
|
}
|
|
2171
2180
|
});
|
|
2172
|
-
const _sfc_main$
|
|
2181
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
2173
2182
|
__name: "checkbox-wid",
|
|
2174
2183
|
props: {
|
|
2175
2184
|
selected: { type: Boolean },
|
|
@@ -2198,7 +2207,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2198
2207
|
emit("change", props.value, state);
|
|
2199
2208
|
};
|
|
2200
2209
|
return (_ctx, _cache) => {
|
|
2201
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2210
|
+
return openBlock(), createBlock(_sfc_main$w, {
|
|
2202
2211
|
class: normalizeClass(combClass.value),
|
|
2203
2212
|
hover: "alpha-d9",
|
|
2204
2213
|
state: selected.value ? "act" : "",
|
|
@@ -2212,7 +2221,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2212
2221
|
}, () => {
|
|
2213
2222
|
var _a, _b;
|
|
2214
2223
|
return [
|
|
2215
|
-
createVNode(_sfc_main$
|
|
2224
|
+
createVNode(_sfc_main$y, {
|
|
2216
2225
|
class: "w-24-px h-24-px bg-color-neutral round-sm flex-5",
|
|
2217
2226
|
state: selected.value ? "act" : "",
|
|
2218
2227
|
cname: combClass.value + combActClass.value,
|
|
@@ -2221,7 +2230,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2221
2230
|
}
|
|
2222
2231
|
}, {
|
|
2223
2232
|
default: withCtx(() => [
|
|
2224
|
-
createVNode(_sfc_main$
|
|
2233
|
+
createVNode(_sfc_main$q, {
|
|
2225
2234
|
icon: "success",
|
|
2226
2235
|
class: "alpha-d3",
|
|
2227
2236
|
state: selected.value ? "act" : "",
|
|
@@ -2234,7 +2243,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2234
2243
|
}, 8, ["state", "cname", "states"])
|
|
2235
2244
|
];
|
|
2236
2245
|
}),
|
|
2237
|
-
label.value ? (openBlock(), createBlock(_sfc_main$
|
|
2246
|
+
label.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
2238
2247
|
key: 0,
|
|
2239
2248
|
class: "pad-h-1 ellipsis"
|
|
2240
2249
|
}, {
|
|
@@ -2249,7 +2258,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2249
2258
|
};
|
|
2250
2259
|
}
|
|
2251
2260
|
});
|
|
2252
|
-
const _sfc_main$
|
|
2261
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
2253
2262
|
__name: "checkbox-group-wid",
|
|
2254
2263
|
props: {
|
|
2255
2264
|
options: {},
|
|
@@ -2293,11 +2302,11 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2293
2302
|
return (_ctx, _cache) => {
|
|
2294
2303
|
const _component_b_col = resolveComponent("b-col");
|
|
2295
2304
|
const _component_b_row = resolveComponent("b-row");
|
|
2296
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2305
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
2297
2306
|
class: normalizeClass(__props.class)
|
|
2298
2307
|
}, {
|
|
2299
2308
|
default: withCtx(() => [
|
|
2300
|
-
__props.title ? (openBlock(), createBlock(_sfc_main$
|
|
2309
|
+
__props.title ? (openBlock(), createBlock(_sfc_main$y, {
|
|
2301
2310
|
key: 0,
|
|
2302
2311
|
class: "mrg-b-1"
|
|
2303
2312
|
}, {
|
|
@@ -2315,7 +2324,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2315
2324
|
key: i
|
|
2316
2325
|
}, {
|
|
2317
2326
|
default: withCtx(() => [
|
|
2318
|
-
createVNode(_sfc_main$
|
|
2327
|
+
createVNode(_sfc_main$g, mergeProps({
|
|
2319
2328
|
onChange: change,
|
|
2320
2329
|
label: item.label,
|
|
2321
2330
|
value: item.value
|
|
@@ -2355,7 +2364,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2355
2364
|
};
|
|
2356
2365
|
}
|
|
2357
2366
|
});
|
|
2358
|
-
const _sfc_main$
|
|
2367
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
2359
2368
|
__name: "radio-group-wid",
|
|
2360
2369
|
props: {
|
|
2361
2370
|
options: {},
|
|
@@ -2384,7 +2393,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2384
2393
|
});
|
|
2385
2394
|
return (_ctx, _cache) => {
|
|
2386
2395
|
const _component_b_view = resolveComponent("b-view");
|
|
2387
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2396
|
+
return openBlock(), createBlock(_sfc_main$f, {
|
|
2388
2397
|
span: __props.span,
|
|
2389
2398
|
title: __props.title,
|
|
2390
2399
|
class: normalizeClass(__props.class),
|
|
@@ -2427,7 +2436,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2427
2436
|
const _hoisted_1$1 = ["state"];
|
|
2428
2437
|
const _hoisted_2 = ["innerHTML"];
|
|
2429
2438
|
const _hoisted_3 = ["innerHTML"];
|
|
2430
|
-
const _sfc_main$
|
|
2439
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
2431
2440
|
__name: "tabs-wid",
|
|
2432
2441
|
props: {
|
|
2433
2442
|
options: {},
|
|
@@ -2498,9 +2507,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2498
2507
|
});
|
|
2499
2508
|
return (_ctx, _cache) => {
|
|
2500
2509
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2501
|
-
createVNode(_sfc_main$
|
|
2510
|
+
createVNode(_sfc_main$y, { class: "flex-7" }, {
|
|
2502
2511
|
default: withCtx(() => [
|
|
2503
|
-
createVNode(_sfc_main$
|
|
2512
|
+
createVNode(_sfc_main$e, {
|
|
2504
2513
|
options: options.value,
|
|
2505
2514
|
title: __props.title,
|
|
2506
2515
|
selected: selected.value,
|
|
@@ -2515,13 +2524,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2515
2524
|
} : slots.value.length === 0 && __props.tabStyle === "card" ? {
|
|
2516
2525
|
name: "default",
|
|
2517
2526
|
fn: withCtx((scope) => [
|
|
2518
|
-
createVNode(_sfc_main$
|
|
2527
|
+
createVNode(_sfc_main$y, { class: "w-4-px b-f1-px h-1-px bg-color-neutral r-f5-px abs" })
|
|
2519
2528
|
]),
|
|
2520
2529
|
key: "1"
|
|
2521
2530
|
} : slots.value.length === 0 ? {
|
|
2522
2531
|
name: "default",
|
|
2523
2532
|
fn: withCtx((scope) => [
|
|
2524
|
-
createVNode(_sfc_main$
|
|
2533
|
+
createVNode(_sfc_main$y, {
|
|
2525
2534
|
class: normalizeClass(`max-w l-0 b-f1-px round-sm h-2-px bg-color-none abs`),
|
|
2526
2535
|
state: scope.state,
|
|
2527
2536
|
states: {
|
|
@@ -2542,19 +2551,19 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2542
2551
|
};
|
|
2543
2552
|
})
|
|
2544
2553
|
]), 1032, ["options", "title", "selected"]),
|
|
2545
|
-
contLine.value ? (openBlock(), createBlock(_sfc_main$
|
|
2554
|
+
contLine.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
2546
2555
|
key: 0,
|
|
2547
2556
|
class: "grow-1 h-1-px bg-color-neutral"
|
|
2548
2557
|
})) : createCommentVNode("", true)
|
|
2549
2558
|
]),
|
|
2550
2559
|
_: 3
|
|
2551
2560
|
}),
|
|
2552
|
-
contArea.value ? (openBlock(), createBlock(_sfc_main$
|
|
2561
|
+
contArea.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
2553
2562
|
key: 0,
|
|
2554
2563
|
class: "pad-v-1d5 over-hide"
|
|
2555
2564
|
}, {
|
|
2556
2565
|
default: withCtx(() => [
|
|
2557
|
-
selected.value ? (openBlock(), createBlock(_sfc_main$
|
|
2566
|
+
selected.value ? (openBlock(), createBlock(_sfc_main$y, { key: 0 }, {
|
|
2558
2567
|
default: withCtx(() => [
|
|
2559
2568
|
createElementVNode("div", {
|
|
2560
2569
|
innerHTML: tabConts[selected.value],
|
|
@@ -2563,7 +2572,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2563
2572
|
}, null, 42, _hoisted_2)
|
|
2564
2573
|
]),
|
|
2565
2574
|
_: 1
|
|
2566
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
2575
|
+
})) : (openBlock(), createBlock(_sfc_main$y, {
|
|
2567
2576
|
key: 1,
|
|
2568
2577
|
class: "alpha-d5"
|
|
2569
2578
|
}, {
|
|
@@ -2582,7 +2591,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2582
2591
|
}
|
|
2583
2592
|
});
|
|
2584
2593
|
const _hoisted_1 = ["multiple"];
|
|
2585
|
-
const _sfc_main$
|
|
2594
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
2586
2595
|
__name: "upload-wid",
|
|
2587
2596
|
props: {
|
|
2588
2597
|
type: {},
|
|
@@ -2642,7 +2651,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2642
2651
|
};
|
|
2643
2652
|
return (_ctx, _cache) => {
|
|
2644
2653
|
const _component_b_hot = resolveComponent("b-hot");
|
|
2645
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2654
|
+
return openBlock(), createBlock(_sfc_main$y, { class: "flex" }, {
|
|
2646
2655
|
default: withCtx(() => [
|
|
2647
2656
|
_ctx.$slots.default ? (openBlock(), createBlock(_component_b_hot, {
|
|
2648
2657
|
key: 0,
|
|
@@ -2652,7 +2661,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2652
2661
|
renderSlot(_ctx.$slots, "default")
|
|
2653
2662
|
]),
|
|
2654
2663
|
_: 3
|
|
2655
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
2664
|
+
})) : (openBlock(), createBlock(_sfc_main$h, mergeProps({
|
|
2656
2665
|
key: 1,
|
|
2657
2666
|
onOn_click: _cache[1] || (_cache[1] = ($event) => $uploader.value.click())
|
|
2658
2667
|
}, btnData.value), null, 16)),
|
|
@@ -2680,7 +2689,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2680
2689
|
};
|
|
2681
2690
|
}
|
|
2682
2691
|
});
|
|
2683
|
-
const _sfc_main$
|
|
2692
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
2684
2693
|
__name: "modal-wid",
|
|
2685
2694
|
props: {
|
|
2686
2695
|
visiable: { type: Boolean },
|
|
@@ -2781,7 +2790,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2781
2790
|
emit("update:visiable", false);
|
|
2782
2791
|
};
|
|
2783
2792
|
return (_ctx, _cache) => {
|
|
2784
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2793
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
2785
2794
|
class: normalizeClass(`fixed t-0 l-0 max z-9 ${dirStyle.value.layout}`),
|
|
2786
2795
|
state: closeState.value.toString(),
|
|
2787
2796
|
states: {
|
|
@@ -2790,7 +2799,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2790
2799
|
}
|
|
2791
2800
|
}, {
|
|
2792
2801
|
default: withCtx(() => [
|
|
2793
|
-
createVNode(_sfc_main$
|
|
2802
|
+
createVNode(_sfc_main$w, {
|
|
2794
2803
|
onOn_transend: matteAniend,
|
|
2795
2804
|
onOn_click: _cache[0] || (_cache[0] = ($event) => !__props.matteCloseForbid && hide()),
|
|
2796
2805
|
state: __props.visiable.toString(),
|
|
@@ -2800,7 +2809,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2800
2809
|
},
|
|
2801
2810
|
class: normalizeClass(`abs trans-fast max t-0 l-0 bg-color-${__props.matteColor || "C000000cc"}`)
|
|
2802
2811
|
}, null, 8, ["state", "class"]),
|
|
2803
|
-
createVNode(_sfc_main$
|
|
2812
|
+
createVNode(_sfc_main$y, {
|
|
2804
2813
|
class: normalizeClass(`${dirStyle.value.pannal} rel ani-mode-both ani-fast`),
|
|
2805
2814
|
state: aniDir.value,
|
|
2806
2815
|
"ani-end-clear": true,
|
|
@@ -2809,17 +2818,17 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2809
2818
|
}, {
|
|
2810
2819
|
default: withCtx(() => [
|
|
2811
2820
|
renderSlot(_ctx.$slots, "custom", {}, () => [
|
|
2812
|
-
createVNode(_sfc_main$
|
|
2821
|
+
createVNode(_sfc_main$y, {
|
|
2813
2822
|
class: normalizeClass(`bg-color-${__props.pannelColor || "light"} rel pad-2 ${__props.roundEnable ? "round-md" : ""} ${dirStyle.value.pannal}`)
|
|
2814
2823
|
}, {
|
|
2815
2824
|
default: withCtx(() => [
|
|
2816
|
-
!__props.closeEnable ? (openBlock(), createBlock(_sfc_main$
|
|
2825
|
+
!__props.closeEnable ? (openBlock(), createBlock(_sfc_main$w, {
|
|
2817
2826
|
key: 0,
|
|
2818
2827
|
class: "abs r-1 t-d7 color-mgray",
|
|
2819
2828
|
onOn_click: hide
|
|
2820
2829
|
}, {
|
|
2821
2830
|
default: withCtx(() => [
|
|
2822
|
-
createVNode(_sfc_main$
|
|
2831
|
+
createVNode(_sfc_main$q, {
|
|
2823
2832
|
icon: "fail",
|
|
2824
2833
|
class: "fsize-2 lh-1d4"
|
|
2825
2834
|
})
|
|
@@ -2840,7 +2849,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2840
2849
|
};
|
|
2841
2850
|
}
|
|
2842
2851
|
});
|
|
2843
|
-
const _sfc_main$
|
|
2852
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
2844
2853
|
__name: "toast-wid",
|
|
2845
2854
|
props: {
|
|
2846
2855
|
text: {},
|
|
@@ -2880,7 +2889,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2880
2889
|
close
|
|
2881
2890
|
});
|
|
2882
2891
|
return (_ctx, _cache) => {
|
|
2883
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2892
|
+
return openBlock(), createBlock(_sfc_main$b, {
|
|
2884
2893
|
visiable: visiable.value,
|
|
2885
2894
|
"onUpdate:visiable": _cache[0] || (_cache[0] = ($event) => visiable.value = $event),
|
|
2886
2895
|
"matte-close-forbid": true,
|
|
@@ -2892,11 +2901,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2892
2901
|
}, {
|
|
2893
2902
|
custom: withCtx(() => [
|
|
2894
2903
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2895
|
-
createVNode(_sfc_main$
|
|
2904
|
+
createVNode(_sfc_main$y, { class: "round-md pad-v-1d2 pad-h-1d7 color-light fsize-1d27 bg-color-C000000ee flex-column lw-10 pcenter" }, {
|
|
2896
2905
|
default: withCtx(() => {
|
|
2897
2906
|
var _a;
|
|
2898
2907
|
return [
|
|
2899
|
-
__props.icon ? (openBlock(), createBlock(_sfc_main$
|
|
2908
|
+
__props.icon ? (openBlock(), createBlock(_sfc_main$y, {
|
|
2900
2909
|
key: 0,
|
|
2901
2910
|
class: "mrg-b-1d2 fsize-3d2",
|
|
2902
2911
|
states: {
|
|
@@ -2908,11 +2917,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2908
2917
|
state: ((_a = __props.extra) == null ? void 0 : _a.type) ?? ""
|
|
2909
2918
|
}, {
|
|
2910
2919
|
default: withCtx(() => [
|
|
2911
|
-
createVNode(_sfc_main$
|
|
2920
|
+
createVNode(_sfc_main$q, { icon: __props.icon }, null, 8, ["icon"])
|
|
2912
2921
|
]),
|
|
2913
2922
|
_: 1
|
|
2914
2923
|
}, 8, ["state"])) : createCommentVNode("", true),
|
|
2915
|
-
createVNode(_sfc_main$
|
|
2924
|
+
createVNode(_sfc_main$x, null, {
|
|
2916
2925
|
default: withCtx(() => [
|
|
2917
2926
|
createTextVNode(toDisplayString(__props.text), 1)
|
|
2918
2927
|
]),
|
|
@@ -2929,7 +2938,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2929
2938
|
};
|
|
2930
2939
|
}
|
|
2931
2940
|
});
|
|
2932
|
-
const _sfc_main$
|
|
2941
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
2933
2942
|
__name: "confirm-wid",
|
|
2934
2943
|
props: {
|
|
2935
2944
|
notic: {},
|
|
@@ -2980,7 +2989,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2980
2989
|
}
|
|
2981
2990
|
});
|
|
2982
2991
|
return (_ctx, _cache) => {
|
|
2983
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2992
|
+
return openBlock(), createBlock(_sfc_main$b, {
|
|
2984
2993
|
visiable: visiable.value,
|
|
2985
2994
|
"onUpdate:visiable": _cache[0] || (_cache[0] = ($event) => visiable.value = $event),
|
|
2986
2995
|
"matte-close-forbid": true,
|
|
@@ -2990,11 +2999,11 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2990
2999
|
"matte-color": __props.matteColor
|
|
2991
3000
|
}, {
|
|
2992
3001
|
custom: withCtx(() => [
|
|
2993
|
-
createVNode(_sfc_main$
|
|
3002
|
+
createVNode(_sfc_main$y, {
|
|
2994
3003
|
class: normalizeClass(`bg-color-${theme2.value.bg} round-md ${pannelWidthClass.value} pcenter`)
|
|
2995
3004
|
}, {
|
|
2996
3005
|
default: withCtx(() => [
|
|
2997
|
-
createVNode(_sfc_main$
|
|
3006
|
+
createVNode(_sfc_main$y, {
|
|
2998
3007
|
class: normalizeClass(`color-${theme2.value.text} pad-3d4 fsize-1d4 bolder-470`)
|
|
2999
3008
|
}, {
|
|
3000
3009
|
default: withCtx(() => [
|
|
@@ -3002,12 +3011,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
3002
3011
|
]),
|
|
3003
3012
|
_: 1
|
|
3004
3013
|
}, 8, ["class"]),
|
|
3005
|
-
createVNode(_sfc_main$
|
|
3014
|
+
createVNode(_sfc_main$y, {
|
|
3006
3015
|
class: normalizeClass(`flex solid-t bolder-470 line-${theme2.value.line} thick-d4 fsize-1d44`)
|
|
3007
3016
|
}, {
|
|
3008
3017
|
default: withCtx(() => [
|
|
3009
3018
|
__props.type === "confirm" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
3010
|
-
createVNode(_sfc_main$
|
|
3019
|
+
createVNode(_sfc_main$w, {
|
|
3011
3020
|
class: normalizeClass(`color-${theme2.value.cancel} solid-r thick-d4 line-${theme2.value.line} round-md round-3 flex-5 pad-v-1d4 w-50-P`),
|
|
3012
3021
|
active: "bg-color-neutral",
|
|
3013
3022
|
onOn_click: cancel
|
|
@@ -3020,7 +3029,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
3020
3029
|
}),
|
|
3021
3030
|
_: 1
|
|
3022
3031
|
}, 8, ["class"]),
|
|
3023
|
-
createVNode(_sfc_main$
|
|
3032
|
+
createVNode(_sfc_main$w, {
|
|
3024
3033
|
class: normalizeClass(`color-${theme2.value.ok} round-md round-4 flex-5 pad-v-1d4 w-50-P`),
|
|
3025
3034
|
active: "bg-color-neutral",
|
|
3026
3035
|
onOn_click: ok
|
|
@@ -3033,7 +3042,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
3033
3042
|
}),
|
|
3034
3043
|
_: 1
|
|
3035
3044
|
}, 8, ["class"])
|
|
3036
|
-
], 64)) : (openBlock(), createBlock(_sfc_main$
|
|
3045
|
+
], 64)) : (openBlock(), createBlock(_sfc_main$w, {
|
|
3037
3046
|
key: 1,
|
|
3038
3047
|
class: normalizeClass(`color-${theme2.value.ok} round-b round-md flex-5 pad-v-1d4 grow-1`),
|
|
3039
3048
|
active: "bg-color-neutral",
|
|
@@ -3063,7 +3072,7 @@ const showToast = (text, duration = 2e3, icon = "", extra = {}) => {
|
|
|
3063
3072
|
const $toastContainer = document.createElement("div");
|
|
3064
3073
|
$toastContainer.setAttribute("id", "BTXUI-toast");
|
|
3065
3074
|
document.body.appendChild($toastContainer);
|
|
3066
|
-
const vNode = createVNode(_sfc_main$
|
|
3075
|
+
const vNode = createVNode(_sfc_main$a, {
|
|
3067
3076
|
text,
|
|
3068
3077
|
duration,
|
|
3069
3078
|
icon,
|
|
@@ -3116,7 +3125,7 @@ const _confirm = (type, notic, ok, cancel, text = { ok: "", cancel: "" }) => {
|
|
|
3116
3125
|
const $toastContainer = document.createElement("div");
|
|
3117
3126
|
$toastContainer.setAttribute("id", "BTXUI-confirm");
|
|
3118
3127
|
document.body.appendChild($toastContainer);
|
|
3119
|
-
const vNode = createVNode(_sfc_main$
|
|
3128
|
+
const vNode = createVNode(_sfc_main$9, {
|
|
3120
3129
|
type,
|
|
3121
3130
|
notic,
|
|
3122
3131
|
ok,
|
|
@@ -3203,7 +3212,7 @@ const uploadImage = async (imageCompress, extra) => {
|
|
|
3203
3212
|
};
|
|
3204
3213
|
});
|
|
3205
3214
|
};
|
|
3206
|
-
const _sfc_main$
|
|
3215
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
3207
3216
|
__name: "img-upload-wid",
|
|
3208
3217
|
props: {
|
|
3209
3218
|
preview: {},
|
|
@@ -3220,7 +3229,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3220
3229
|
const emit = __emit;
|
|
3221
3230
|
const size = computed(() => props.compress ? 1024 * 1024 * 20 : props.size);
|
|
3222
3231
|
const curFiles = ref([]);
|
|
3232
|
+
const preview = computed(() => props.preview);
|
|
3223
3233
|
const pics = ref(Array.isArray(props.preview) ? props.preview : props.preview ? [props.preview] : []);
|
|
3234
|
+
watch(preview, (val) => {
|
|
3235
|
+
pics.value = Array.isArray(val) ? val : val ? [val] : [];
|
|
3236
|
+
});
|
|
3224
3237
|
const imgUpload = (files, checkResult) => {
|
|
3225
3238
|
if (!checkResult.success)
|
|
3226
3239
|
return;
|
|
@@ -3451,7 +3464,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3451
3464
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
3452
3465
|
createVNode(_component_b_view, { class: "flex gap-1" }, {
|
|
3453
3466
|
default: withCtx(() => [
|
|
3454
|
-
!isMax.value ? (openBlock(), createBlock(_sfc_main$
|
|
3467
|
+
!isMax.value ? (openBlock(), createBlock(_sfc_main$c, {
|
|
3455
3468
|
key: 0,
|
|
3456
3469
|
onOn_upload: imgUpload,
|
|
3457
3470
|
size: size.value,
|
|
@@ -3560,7 +3573,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3560
3573
|
};
|
|
3561
3574
|
}
|
|
3562
3575
|
});
|
|
3563
|
-
const _sfc_main$
|
|
3576
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
3564
3577
|
__name: "app-wid",
|
|
3565
3578
|
props: {
|
|
3566
3579
|
path: {},
|
|
@@ -3585,15 +3598,15 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3585
3598
|
return (_ctx, _cache) => {
|
|
3586
3599
|
var _a;
|
|
3587
3600
|
const _component_router_view = resolveComponent("router-view");
|
|
3588
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3601
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
3589
3602
|
class: normalizeClass(`max fixed flex-column color-light select-none bg-color-${((_a = __props.colors) == null ? void 0 : _a.bg) || "none"}`)
|
|
3590
3603
|
}, {
|
|
3591
3604
|
default: withCtx(() => {
|
|
3592
3605
|
var _a2;
|
|
3593
3606
|
return [
|
|
3594
|
-
createVNode(_sfc_main$
|
|
3607
|
+
createVNode(_sfc_main$y, { class: "rel grow-1" }, {
|
|
3595
3608
|
default: withCtx(() => [
|
|
3596
|
-
createVNode(_sfc_main$
|
|
3609
|
+
createVNode(_sfc_main$m, {
|
|
3597
3610
|
scroll: { y: "auto", x: "hidden" },
|
|
3598
3611
|
class: "abs max"
|
|
3599
3612
|
}, {
|
|
@@ -3607,32 +3620,32 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3607
3620
|
]),
|
|
3608
3621
|
_: 1
|
|
3609
3622
|
}),
|
|
3610
|
-
createVNode(_sfc_main$
|
|
3623
|
+
createVNode(_sfc_main$y, {
|
|
3611
3624
|
class: normalizeClass(`pcenter pad-t-d5 flex-1 ${__props.round ? "round-md round-t" : ""} bg-color-${((_a2 = __props.colors) == null ? void 0 : _a2.bar) || "dark"} solid-t line-neutral thick-d4 app-nav-bar`)
|
|
3612
3625
|
}, {
|
|
3613
3626
|
default: withCtx(() => [
|
|
3614
3627
|
(openBlock(true), createElementBlock(Fragment, null, renderList(navs.value, (nav, i) => {
|
|
3615
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3628
|
+
return openBlock(), createBlock(_sfc_main$w, mergeProps({ key: i }, { ref_for: true }, nav.hotData, {
|
|
3616
3629
|
class: "grow-1",
|
|
3617
3630
|
onOn_click: ($event) => _ctx.$emit("on_toggle", nav)
|
|
3618
3631
|
}), {
|
|
3619
3632
|
default: withCtx(() => {
|
|
3620
3633
|
var _a3, _b, _c, _d, _e, _f;
|
|
3621
3634
|
return [
|
|
3622
|
-
nav.main ? (openBlock(), createBlock(_sfc_main$
|
|
3635
|
+
nav.main ? (openBlock(), createBlock(_sfc_main$y, {
|
|
3623
3636
|
key: 0,
|
|
3624
3637
|
class: "rel w-5 mrg-h-auto"
|
|
3625
3638
|
}, {
|
|
3626
3639
|
default: withCtx(() => {
|
|
3627
3640
|
var _a4, _b2, _c2, _d2;
|
|
3628
3641
|
return [
|
|
3629
|
-
createVNode(_sfc_main$
|
|
3642
|
+
createVNode(_sfc_main$q, mergeProps({ ref_for: true }, nav.iconData, {
|
|
3630
3643
|
class: `abs flex-5 solid t-f1d4 thick-2 w-5 h-5 round fsize-1d7 line-${((_b2 = (_a4 = __props.colors) == null ? void 0 : _a4.center) == null ? void 0 : _b2.line) || "neutral"} bg-color-${((_d2 = (_c2 = __props.colors) == null ? void 0 : _c2.center) == null ? void 0 : _d2.bg) || "dgray"}`
|
|
3631
3644
|
}), null, 16, ["class"])
|
|
3632
3645
|
];
|
|
3633
3646
|
}),
|
|
3634
3647
|
_: 2
|
|
3635
|
-
}, 1024)) : (openBlock(), createBlock(_sfc_main$
|
|
3648
|
+
}, 1024)) : (openBlock(), createBlock(_sfc_main$y, {
|
|
3636
3649
|
key: 1,
|
|
3637
3650
|
class: normalizeClass(`flex-column rel flex-5 color-${((_b = (_a3 = __props.colors) == null ? void 0 : _a3.text) == null ? void 0 : _b.normal) || "mgray"}`),
|
|
3638
3651
|
cname: ((_d = (_c = __props.colors) == null ? void 0 : _c.text) == null ? void 0 : _d.act) || "light",
|
|
@@ -3642,11 +3655,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3642
3655
|
}
|
|
3643
3656
|
}, {
|
|
3644
3657
|
default: withCtx(() => [
|
|
3645
|
-
nav.unread === 1 ? (openBlock(), createBlock(_sfc_main$
|
|
3658
|
+
nav.unread === 1 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
3646
3659
|
key: 0,
|
|
3647
3660
|
class: "round w-d7 h-d7 r-9d2-vw t-d2 bg-color-red abs"
|
|
3648
3661
|
})) : createCommentVNode("", true),
|
|
3649
|
-
nav.unread > 1 ? (openBlock(), createBlock(_sfc_main$
|
|
3662
|
+
nav.unread > 1 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
3650
3663
|
key: 1,
|
|
3651
3664
|
class: "flex-5 round w-1d5 h-1d5 bold r-7d7-vw t-fd5 bg-color-red abs color-Cfff"
|
|
3652
3665
|
}, {
|
|
@@ -3655,7 +3668,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3655
3668
|
]),
|
|
3656
3669
|
_: 2
|
|
3657
3670
|
}, 1024)) : createCommentVNode("", true),
|
|
3658
|
-
createVNode(_sfc_main$
|
|
3671
|
+
createVNode(_sfc_main$q, mergeProps({ ref_for: true }, nav.iconData, {
|
|
3659
3672
|
cname: nav.act,
|
|
3660
3673
|
state: curRoute.value.search(nav.hotData.link) === 0 ? "act" : "",
|
|
3661
3674
|
states: {
|
|
@@ -3663,7 +3676,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3663
3676
|
},
|
|
3664
3677
|
class: `w-2d7 h-2d7 ${__props.iconTransAni ? "trans-fast" : ""} fsize-1d7`
|
|
3665
3678
|
}), null, 16, ["cname", "state", "states", "class"]),
|
|
3666
|
-
nav.text ? (openBlock(), createBlock(_sfc_main$
|
|
3679
|
+
nav.text ? (openBlock(), createBlock(_sfc_main$x, {
|
|
3667
3680
|
key: 2,
|
|
3668
3681
|
class: "fsize-d83"
|
|
3669
3682
|
}, {
|
|
@@ -3690,7 +3703,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3690
3703
|
};
|
|
3691
3704
|
}
|
|
3692
3705
|
});
|
|
3693
|
-
const _sfc_main$
|
|
3706
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
3694
3707
|
__name: "datetime-modal-wid",
|
|
3695
3708
|
props: {
|
|
3696
3709
|
datetime: {},
|
|
@@ -3739,13 +3752,13 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3739
3752
|
]),
|
|
3740
3753
|
_: 3
|
|
3741
3754
|
}),
|
|
3742
|
-
modalData.dir ? (openBlock(), createBlock(_sfc_main$
|
|
3755
|
+
modalData.dir ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
3743
3756
|
key: 0,
|
|
3744
3757
|
visiable: state.value,
|
|
3745
3758
|
"onUpdate:visiable": _cache[1] || (_cache[1] = ($event) => state.value = $event)
|
|
3746
3759
|
}, modalData), {
|
|
3747
3760
|
default: withCtx(() => [
|
|
3748
|
-
createVNode(_sfc_main$
|
|
3761
|
+
createVNode(_sfc_main$y, { class: "pad-t-1 lw-24" }, {
|
|
3749
3762
|
default: withCtx(() => [
|
|
3750
3763
|
createVNode(_component_datetime_wid, {
|
|
3751
3764
|
onGetData: ok,
|
|
@@ -3764,7 +3777,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3764
3777
|
};
|
|
3765
3778
|
}
|
|
3766
3779
|
});
|
|
3767
|
-
const _sfc_main$
|
|
3780
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
3768
3781
|
__name: "datetime-wid",
|
|
3769
3782
|
props: {
|
|
3770
3783
|
datetime: {},
|
|
@@ -3943,15 +3956,15 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3943
3956
|
const _component_b_text = resolveComponent("b-text");
|
|
3944
3957
|
const _component_b_list = resolveComponent("b-list");
|
|
3945
3958
|
const _component_btn_wid = resolveComponent("btn-wid");
|
|
3946
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3959
|
+
return openBlock(), createBlock(_sfc_main$y, null, {
|
|
3947
3960
|
default: withCtx(() => [
|
|
3948
|
-
createVNode(_sfc_main$
|
|
3961
|
+
createVNode(_sfc_main$y, { class: "flex-4" }, {
|
|
3949
3962
|
default: withCtx(() => [
|
|
3950
3963
|
createVNode(_component_b_icon, {
|
|
3951
3964
|
icon: "time",
|
|
3952
3965
|
class: "alpha-d7 mrg-r-d7"
|
|
3953
3966
|
}),
|
|
3954
|
-
curTime.y.show ? (openBlock(), createBlock(_sfc_main$
|
|
3967
|
+
curTime.y.show ? (openBlock(), createBlock(_sfc_main$y, { key: 0 }, {
|
|
3955
3968
|
default: withCtx(() => [
|
|
3956
3969
|
createVNode(_component_b_hot, {
|
|
3957
3970
|
onOn_click: _cache[0] || (_cache[0] = ($event) => curOper.value = "y"),
|
|
@@ -3973,7 +3986,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3973
3986
|
]),
|
|
3974
3987
|
_: 1
|
|
3975
3988
|
})) : createCommentVNode("", true),
|
|
3976
|
-
curTime.m.show ? (openBlock(), createBlock(_sfc_main$
|
|
3989
|
+
curTime.m.show ? (openBlock(), createBlock(_sfc_main$y, { key: 1 }, {
|
|
3977
3990
|
default: withCtx(() => [
|
|
3978
3991
|
createVNode(_component_b_hot, {
|
|
3979
3992
|
onOn_click: _cache[1] || (_cache[1] = ($event) => curOper.value = "m"),
|
|
@@ -3995,7 +4008,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3995
4008
|
]),
|
|
3996
4009
|
_: 1
|
|
3997
4010
|
})) : createCommentVNode("", true),
|
|
3998
|
-
curTime.d.show ? (openBlock(), createBlock(_sfc_main$
|
|
4011
|
+
curTime.d.show ? (openBlock(), createBlock(_sfc_main$y, { key: 2 }, {
|
|
3999
4012
|
default: withCtx(() => [
|
|
4000
4013
|
createVNode(_component_b_hot, {
|
|
4001
4014
|
onOn_click: _cache[2] || (_cache[2] = ($event) => curOper.value = "d"),
|
|
@@ -4017,11 +4030,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4017
4030
|
]),
|
|
4018
4031
|
_: 1
|
|
4019
4032
|
})) : createCommentVNode("", true),
|
|
4020
|
-
twoSides.value ? (openBlock(), createBlock(_sfc_main$
|
|
4033
|
+
twoSides.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
4021
4034
|
key: 3,
|
|
4022
4035
|
class: "w-1d4"
|
|
4023
4036
|
})) : createCommentVNode("", true),
|
|
4024
|
-
curTime.h.show ? (openBlock(), createBlock(_sfc_main$
|
|
4037
|
+
curTime.h.show ? (openBlock(), createBlock(_sfc_main$y, { key: 4 }, {
|
|
4025
4038
|
default: withCtx(() => [
|
|
4026
4039
|
createVNode(_component_b_hot, {
|
|
4027
4040
|
onOn_click: _cache[3] || (_cache[3] = ($event) => curOper.value = "h"),
|
|
@@ -4043,7 +4056,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4043
4056
|
]),
|
|
4044
4057
|
_: 1
|
|
4045
4058
|
})) : createCommentVNode("", true),
|
|
4046
|
-
curTime.i.show ? (openBlock(), createBlock(_sfc_main$
|
|
4059
|
+
curTime.i.show ? (openBlock(), createBlock(_sfc_main$y, { key: 5 }, {
|
|
4047
4060
|
default: withCtx(() => [
|
|
4048
4061
|
createVNode(_component_b_hot, {
|
|
4049
4062
|
onOn_click: _cache[4] || (_cache[4] = ($event) => curOper.value = "i"),
|
|
@@ -4065,7 +4078,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4065
4078
|
]),
|
|
4066
4079
|
_: 1
|
|
4067
4080
|
})) : createCommentVNode("", true),
|
|
4068
|
-
curTime.s.show ? (openBlock(), createBlock(_sfc_main$
|
|
4081
|
+
curTime.s.show ? (openBlock(), createBlock(_sfc_main$y, { key: 6 }, {
|
|
4069
4082
|
default: withCtx(() => [
|
|
4070
4083
|
createVNode(_component_b_hot, {
|
|
4071
4084
|
onOn_click: _cache[5] || (_cache[5] = ($event) => curOper.value = "s"),
|
|
@@ -4090,7 +4103,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4090
4103
|
]),
|
|
4091
4104
|
_: 1
|
|
4092
4105
|
}),
|
|
4093
|
-
createVNode(_sfc_main$
|
|
4106
|
+
createVNode(_sfc_main$y, { class: "flex" }, {
|
|
4094
4107
|
default: withCtx(() => [
|
|
4095
4108
|
createVNode(_component_b_list, {
|
|
4096
4109
|
class: "grow-1 h-17 bg-color-neutral mrg-v-1 round-md pad-1",
|
|
@@ -4104,7 +4117,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4104
4117
|
}, {
|
|
4105
4118
|
default: withCtx(() => [
|
|
4106
4119
|
(openBlock(true), createElementBlock(Fragment, null, renderList(options.value, (opt) => {
|
|
4107
|
-
return openBlock(), createBlock(_sfc_main$
|
|
4120
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
4108
4121
|
state: opt.toString(),
|
|
4109
4122
|
hover: "bg-color-neutral",
|
|
4110
4123
|
class: "h-3 pad-h-1 lh-3-rem flex round-sm alpha-d7"
|
|
@@ -4137,7 +4150,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4137
4150
|
};
|
|
4138
4151
|
}
|
|
4139
4152
|
});
|
|
4140
|
-
const _sfc_main$
|
|
4153
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
4141
4154
|
__name: "price-modal-wid",
|
|
4142
4155
|
props: {
|
|
4143
4156
|
price: {},
|
|
@@ -4204,7 +4217,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4204
4217
|
]),
|
|
4205
4218
|
_: 3
|
|
4206
4219
|
}),
|
|
4207
|
-
theme2.dir ? (openBlock(), createBlock(_sfc_main$
|
|
4220
|
+
theme2.dir ? (openBlock(), createBlock(_sfc_main$b, {
|
|
4208
4221
|
key: 0,
|
|
4209
4222
|
visiable: state.value,
|
|
4210
4223
|
"onUpdate:visiable": _cache[2] || (_cache[2] = ($event) => state.value = $event),
|
|
@@ -4244,7 +4257,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4244
4257
|
};
|
|
4245
4258
|
}
|
|
4246
4259
|
});
|
|
4247
|
-
const _sfc_main$
|
|
4260
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
4248
4261
|
__name: "price-wid",
|
|
4249
4262
|
props: {
|
|
4250
4263
|
price: {},
|
|
@@ -4330,11 +4343,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4330
4343
|
const _component_b_hot = resolveComponent("b-hot");
|
|
4331
4344
|
const _component_b_col = resolveComponent("b-col");
|
|
4332
4345
|
const _component_b_row = resolveComponent("b-row");
|
|
4333
|
-
return openBlock(), createBlock(_sfc_main$
|
|
4346
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
4334
4347
|
class: normalizeClass(`${baseStyle.value} bg-color-${theme2.pannel} color-${theme2.text}`)
|
|
4335
4348
|
}, {
|
|
4336
4349
|
default: withCtx(() => [
|
|
4337
|
-
!__props.hideScreen ? (openBlock(), createBlock(_sfc_main$
|
|
4350
|
+
!__props.hideScreen ? (openBlock(), createBlock(_sfc_main$y, {
|
|
4338
4351
|
key: 0,
|
|
4339
4352
|
class: "flex-4 no-wrap pad-1d4"
|
|
4340
4353
|
}, {
|
|
@@ -4355,7 +4368,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4355
4368
|
]),
|
|
4356
4369
|
_: 1
|
|
4357
4370
|
})) : createCommentVNode("", true),
|
|
4358
|
-
createVNode(_sfc_main$
|
|
4371
|
+
createVNode(_sfc_main$y, { class: "pad-b-2 bolder-500" }, {
|
|
4359
4372
|
default: withCtx(() => [
|
|
4360
4373
|
createVNode(_component_b_hot, { onOn_click: selPrice }, {
|
|
4361
4374
|
default: withCtx(() => [
|
|
@@ -4463,7 +4476,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4463
4476
|
}),
|
|
4464
4477
|
createVNode(_component_b_col, { span: 3 }, {
|
|
4465
4478
|
default: withCtx(() => [
|
|
4466
|
-
createVNode(_sfc_main$
|
|
4479
|
+
createVNode(_sfc_main$y, { class: "rel h-4d2" }, {
|
|
4467
4480
|
default: withCtx(() => [
|
|
4468
4481
|
createVNode(_component_b_hot, {
|
|
4469
4482
|
class: normalizeClass(`abs b-0 h-14 max-w bg-color-${theme2.btn2.normal} flex-5 round-sm`),
|
|
@@ -4498,7 +4511,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4498
4511
|
};
|
|
4499
4512
|
}
|
|
4500
4513
|
});
|
|
4501
|
-
const _sfc_main$
|
|
4514
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
4502
4515
|
__name: "content-node-wid",
|
|
4503
4516
|
props: {
|
|
4504
4517
|
dataTree: {},
|
|
@@ -4529,14 +4542,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4529
4542
|
const _component_b_text = resolveComponent("b-text");
|
|
4530
4543
|
const _component_content_node_wid = resolveComponent("content-node-wid", true);
|
|
4531
4544
|
return openBlock(true), createElementBlock(Fragment, null, renderList(dataTree.value, (item) => {
|
|
4532
|
-
return openBlock(), createBlock(_sfc_main$
|
|
4545
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
4533
4546
|
state: `id-${item.id}`,
|
|
4534
4547
|
key: item.id
|
|
4535
4548
|
}, {
|
|
4536
4549
|
default: withCtx(() => {
|
|
4537
4550
|
var _a;
|
|
4538
4551
|
return [
|
|
4539
|
-
createVNode(_sfc_main$
|
|
4552
|
+
createVNode(_sfc_main$w, {
|
|
4540
4553
|
cname: `${item.id}-${Math.random()}`,
|
|
4541
4554
|
class: normalizeClass(`flex-4 pad-v-${gap.value} pad-l-${setIndex(item.level)}`),
|
|
4542
4555
|
hover: __props.hover,
|
|
@@ -4547,7 +4560,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4547
4560
|
state: (((_a = unref(selected)) == null ? void 0 : _a.findIndex((data) => data.id === item.id)) > -1).toString()
|
|
4548
4561
|
}, {
|
|
4549
4562
|
default: withCtx(() => [
|
|
4550
|
-
item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$
|
|
4563
|
+
item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$q, {
|
|
4551
4564
|
key: 0,
|
|
4552
4565
|
class: "mrg-r-d4",
|
|
4553
4566
|
state: item.spread ? "content-wid-spread" : "content-wid-collapse",
|
|
@@ -4566,7 +4579,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4566
4579
|
]),
|
|
4567
4580
|
_: 2
|
|
4568
4581
|
}, 1032, ["cname", "class", "hover", "states", "state"]),
|
|
4569
|
-
item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$
|
|
4582
|
+
item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$y, {
|
|
4570
4583
|
key: 0,
|
|
4571
4584
|
states: {
|
|
4572
4585
|
"show": "show",
|
|
@@ -4595,7 +4608,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4595
4608
|
};
|
|
4596
4609
|
}
|
|
4597
4610
|
});
|
|
4598
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4611
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4599
4612
|
__name: "content-wid",
|
|
4600
4613
|
props: {
|
|
4601
4614
|
dataTree: {},
|
|
@@ -4654,12 +4667,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4654
4667
|
emit("on_select", data);
|
|
4655
4668
|
};
|
|
4656
4669
|
return (_ctx, _cache) => {
|
|
4657
|
-
return openBlock(), createBlock(_sfc_main$
|
|
4670
|
+
return openBlock(), createBlock(_sfc_main$w, {
|
|
4658
4671
|
onOn_click: select,
|
|
4659
4672
|
"event-proxy": true
|
|
4660
4673
|
}, {
|
|
4661
4674
|
default: withCtx(() => [
|
|
4662
|
-
flatState.value ? (openBlock(), createBlock(_sfc_main$
|
|
4675
|
+
flatState.value ? (openBlock(), createBlock(_sfc_main$2, normalizeProps(mergeProps({ key: 0 }, { ...props, dataTree: dataTree.value })), createSlots({ _: 2 }, [
|
|
4663
4676
|
_ctx.$slots.default ? {
|
|
4664
4677
|
name: "default",
|
|
4665
4678
|
fn: withCtx((scope) => [
|
|
@@ -4675,37 +4688,133 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4675
4688
|
}
|
|
4676
4689
|
});
|
|
4677
4690
|
const contentWid_vue_vue_type_style_index_0_lang = "";
|
|
4691
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4692
|
+
__name: "carousel-wid",
|
|
4693
|
+
props: {
|
|
4694
|
+
width: {},
|
|
4695
|
+
height: {},
|
|
4696
|
+
speed: {},
|
|
4697
|
+
gap: {},
|
|
4698
|
+
dir: {}
|
|
4699
|
+
},
|
|
4700
|
+
setup(__props, { expose: __expose }) {
|
|
4701
|
+
const props = __props;
|
|
4702
|
+
const itemSize = ref(0);
|
|
4703
|
+
const $wrapper = ref();
|
|
4704
|
+
const offset = ref(0);
|
|
4705
|
+
const isPlaying = ref(true);
|
|
4706
|
+
let animationId = null;
|
|
4707
|
+
const animate = () => {
|
|
4708
|
+
if (!isPlaying.value)
|
|
4709
|
+
return;
|
|
4710
|
+
offset.value -= props.speed || 2;
|
|
4711
|
+
if (offset.value <= -itemSize.value) {
|
|
4712
|
+
offset.value = 0;
|
|
4713
|
+
}
|
|
4714
|
+
$wrapper.value.$el.style.transform = props.dir === "vertical" ? `translateY(${offset.value}px)` : `translateX(${offset.value}px)`;
|
|
4715
|
+
animationId = requestAnimationFrame(animate);
|
|
4716
|
+
};
|
|
4717
|
+
const pause = () => {
|
|
4718
|
+
isPlaying.value = false;
|
|
4719
|
+
if (animationId) {
|
|
4720
|
+
cancelAnimationFrame(animationId);
|
|
4721
|
+
animationId = null;
|
|
4722
|
+
}
|
|
4723
|
+
};
|
|
4724
|
+
const play = () => {
|
|
4725
|
+
isPlaying.value = true;
|
|
4726
|
+
if (!animationId)
|
|
4727
|
+
animate();
|
|
4728
|
+
};
|
|
4729
|
+
const $cont = ref();
|
|
4730
|
+
onMounted(async () => {
|
|
4731
|
+
await nextTick();
|
|
4732
|
+
const { offsetWidth, offsetHeight } = $cont.value.$el;
|
|
4733
|
+
itemSize.value = (props.dir === "vertical" ? offsetHeight : offsetWidth) / 2 + (props.gap || 0) / 2;
|
|
4734
|
+
animate();
|
|
4735
|
+
});
|
|
4736
|
+
onUnmounted(() => {
|
|
4737
|
+
if (animationId)
|
|
4738
|
+
cancelAnimationFrame(animationId);
|
|
4739
|
+
});
|
|
4740
|
+
__expose({
|
|
4741
|
+
pause,
|
|
4742
|
+
play
|
|
4743
|
+
});
|
|
4744
|
+
return (_ctx, _cache) => {
|
|
4745
|
+
const _component_b_view = resolveComponent("b-view");
|
|
4746
|
+
return openBlock(), createBlock(_sfc_main$w, {
|
|
4747
|
+
class: normalizeClass(`over-hide w-${__props.width} h-${__props.height} flex`),
|
|
4748
|
+
onOn_enter: pause,
|
|
4749
|
+
onOn_leave: play
|
|
4750
|
+
}, {
|
|
4751
|
+
default: withCtx(() => [
|
|
4752
|
+
createVNode(_component_b_view, {
|
|
4753
|
+
ref_key: "$wrapper",
|
|
4754
|
+
ref: $wrapper,
|
|
4755
|
+
class: normalizeClass(`${__props.dir === "vertical" ? "flex-column" : "flex"} trans-no`)
|
|
4756
|
+
}, {
|
|
4757
|
+
default: withCtx(() => [
|
|
4758
|
+
createVNode(_component_b_view, {
|
|
4759
|
+
class: normalizeClass(`${__props.dir === "vertical" ? "flex-column" : "no-wrap flex"} gap-${__props.gap || 0}-px`),
|
|
4760
|
+
ref_key: "$cont",
|
|
4761
|
+
ref: $cont
|
|
4762
|
+
}, {
|
|
4763
|
+
default: withCtx(() => [
|
|
4764
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(2, (i) => {
|
|
4765
|
+
return createVNode(_component_b_view, {
|
|
4766
|
+
class: normalizeClass(`${__props.dir === "vertical" ? "" : "no-wrap flex"} no-shrink`)
|
|
4767
|
+
}, {
|
|
4768
|
+
default: withCtx(() => [
|
|
4769
|
+
renderSlot(_ctx.$slots, "default")
|
|
4770
|
+
]),
|
|
4771
|
+
_: 3
|
|
4772
|
+
}, 8, ["class"]);
|
|
4773
|
+
}), 64))
|
|
4774
|
+
]),
|
|
4775
|
+
_: 3
|
|
4776
|
+
}, 8, ["class"])
|
|
4777
|
+
]),
|
|
4778
|
+
_: 3
|
|
4779
|
+
}, 8, ["class"])
|
|
4780
|
+
]),
|
|
4781
|
+
_: 3
|
|
4782
|
+
}, 8, ["class"]);
|
|
4783
|
+
};
|
|
4784
|
+
}
|
|
4785
|
+
});
|
|
4678
4786
|
const initGlobalComponents = [
|
|
4787
|
+
_sfc_main$z,
|
|
4679
4788
|
_sfc_main$y,
|
|
4680
4789
|
_sfc_main$x,
|
|
4681
4790
|
_sfc_main$w,
|
|
4682
4791
|
_sfc_main$v,
|
|
4683
|
-
_sfc_main$
|
|
4684
|
-
_sfc_main$
|
|
4792
|
+
_sfc_main$q,
|
|
4793
|
+
_sfc_main$n,
|
|
4685
4794
|
_sfc_main$m,
|
|
4795
|
+
_sfc_main$k,
|
|
4796
|
+
_sfc_main$p,
|
|
4686
4797
|
_sfc_main$l,
|
|
4687
|
-
_sfc_main$j,
|
|
4688
4798
|
_sfc_main$o,
|
|
4689
|
-
_sfc_main$
|
|
4690
|
-
_sfc_main$n,
|
|
4799
|
+
_sfc_main$j,
|
|
4691
4800
|
_sfc_main$i,
|
|
4692
4801
|
_sfc_main$h,
|
|
4693
4802
|
_sfc_main$g,
|
|
4694
4803
|
_sfc_main$f,
|
|
4695
4804
|
_sfc_main$e,
|
|
4696
4805
|
_sfc_main$d,
|
|
4697
|
-
_sfc_main$c,
|
|
4698
|
-
_sfc_main$6,
|
|
4699
|
-
_sfc_main$b,
|
|
4700
4806
|
_sfc_main$7,
|
|
4701
|
-
_sfc_main,
|
|
4702
|
-
_sfc_main$a,
|
|
4807
|
+
_sfc_main$c,
|
|
4703
4808
|
_sfc_main$8,
|
|
4809
|
+
_sfc_main$1,
|
|
4810
|
+
_sfc_main$b,
|
|
4704
4811
|
_sfc_main$9,
|
|
4812
|
+
_sfc_main$a,
|
|
4813
|
+
_sfc_main$6,
|
|
4705
4814
|
_sfc_main$5,
|
|
4706
4815
|
_sfc_main$4,
|
|
4707
4816
|
_sfc_main$3,
|
|
4708
|
-
_sfc_main
|
|
4817
|
+
_sfc_main
|
|
4709
4818
|
];
|
|
4710
4819
|
const index = {
|
|
4711
4820
|
name: "btxui",
|