btxui 1.1.34 → 1.1.36
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 +252 -146
- 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;`,
|
|
@@ -194,6 +196,11 @@ const prestyles = {
|
|
|
194
196
|
"alpha-0": `opacity: 0; visibility: hidden; z-index: -1`,
|
|
195
197
|
"visible": `visibility: visible;`,
|
|
196
198
|
"select-none": `-webkit-touch-callout:none; -webkit-user-select:none; -khtml-user-select:none; -moz-user-select:none; -ms-user-select:none; user-select:none;`,
|
|
199
|
+
// 毛玻璃背景
|
|
200
|
+
"frosted-glass-no": `backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);`,
|
|
201
|
+
"frosted-glass-sm": `backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);`,
|
|
202
|
+
"frosted-glass-md": `backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);`,
|
|
203
|
+
"frosted-glass-lg": `backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);`,
|
|
197
204
|
// 图像布局
|
|
198
205
|
"objfit-fill": `object-fit: fill;`,
|
|
199
206
|
"objfit-cover": `object-fit: cover;`,
|
|
@@ -590,7 +597,7 @@ var md5$1 = {
|
|
|
590
597
|
})(md5$1);
|
|
591
598
|
const md5 = md5Exports;
|
|
592
599
|
const GLOBAL_STYLE_NAME = "BTXUIGlobal";
|
|
593
|
-
const _sfc_main$
|
|
600
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
594
601
|
__name: "b-style",
|
|
595
602
|
props: {
|
|
596
603
|
class: {},
|
|
@@ -846,7 +853,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
846
853
|
}
|
|
847
854
|
});
|
|
848
855
|
const _hoisted_1$b = ["data-ani-states", "state"];
|
|
849
|
-
const _sfc_main$
|
|
856
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
850
857
|
__name: "b-view",
|
|
851
858
|
props: {
|
|
852
859
|
class: {},
|
|
@@ -859,7 +866,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
859
866
|
aniEndClear: { type: Boolean }
|
|
860
867
|
},
|
|
861
868
|
emits: ["on_aniEnd"],
|
|
862
|
-
setup(__props, { emit: __emit }) {
|
|
869
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
863
870
|
const props = __props;
|
|
864
871
|
const emit = __emit;
|
|
865
872
|
const $el = ref();
|
|
@@ -897,8 +904,11 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
897
904
|
}
|
|
898
905
|
setAniState();
|
|
899
906
|
});
|
|
907
|
+
__expose({
|
|
908
|
+
$el
|
|
909
|
+
});
|
|
900
910
|
return (_ctx, _cache) => {
|
|
901
|
-
return openBlock(), createBlock(_sfc_main$
|
|
911
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
902
912
|
class: normalizeClass(__props.class),
|
|
903
913
|
cname: __props.cname,
|
|
904
914
|
states: __props.states,
|
|
@@ -923,7 +933,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
923
933
|
}
|
|
924
934
|
});
|
|
925
935
|
const _hoisted_1$a = ["state"];
|
|
926
|
-
const _sfc_main$
|
|
936
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
927
937
|
__name: "b-text",
|
|
928
938
|
props: {
|
|
929
939
|
class: {},
|
|
@@ -933,7 +943,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
933
943
|
},
|
|
934
944
|
setup(__props) {
|
|
935
945
|
return (_ctx, _cache) => {
|
|
936
|
-
return openBlock(), createBlock(_sfc_main$
|
|
946
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
937
947
|
class: normalizeClass(__props.class),
|
|
938
948
|
states: __props.states,
|
|
939
949
|
cname: __props.cname
|
|
@@ -951,7 +961,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
951
961
|
};
|
|
952
962
|
}
|
|
953
963
|
});
|
|
954
|
-
const _sfc_main$
|
|
964
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
955
965
|
__name: "b-hot",
|
|
956
966
|
props: {
|
|
957
967
|
link: {},
|
|
@@ -1071,7 +1081,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1071
1081
|
$el: $anchor
|
|
1072
1082
|
});
|
|
1073
1083
|
return (_ctx, _cache) => {
|
|
1074
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1084
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1075
1085
|
class: normalizeClass(__props.class),
|
|
1076
1086
|
states: __props.states,
|
|
1077
1087
|
hover: __props.hover,
|
|
@@ -1114,7 +1124,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1114
1124
|
}
|
|
1115
1125
|
});
|
|
1116
1126
|
const _hoisted_1$9 = ["src", "state", "alt"];
|
|
1117
|
-
const _sfc_main$
|
|
1127
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
1118
1128
|
__name: "b-img",
|
|
1119
1129
|
props: {
|
|
1120
1130
|
img: {},
|
|
@@ -1153,7 +1163,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
1153
1163
|
$el: $img
|
|
1154
1164
|
});
|
|
1155
1165
|
return (_ctx, _cache) => {
|
|
1156
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1166
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1157
1167
|
class: normalizeClass(__props.class),
|
|
1158
1168
|
cname: __props.cname,
|
|
1159
1169
|
states: __props.states,
|
|
@@ -1182,17 +1192,17 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
1182
1192
|
};
|
|
1183
1193
|
}
|
|
1184
1194
|
});
|
|
1185
|
-
const _sfc_main$
|
|
1195
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
1186
1196
|
__name: "ani-success",
|
|
1187
1197
|
setup(__props) {
|
|
1188
1198
|
return (_ctx, _cache) => {
|
|
1189
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1199
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
1190
1200
|
class: "flex-5",
|
|
1191
1201
|
matrix: { translate: "0,9px", rotate: "45deg" }
|
|
1192
1202
|
}, {
|
|
1193
1203
|
default: withCtx(() => [
|
|
1194
|
-
createVNode(_sfc_main$
|
|
1195
|
-
createVNode(_sfc_main$
|
|
1204
|
+
createVNode(_sfc_main$x, { class: "ani-success-part1 w-1 h-3-px bg-color-green round-sm" }),
|
|
1205
|
+
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
1206
|
]),
|
|
1197
1207
|
_: 1
|
|
1198
1208
|
});
|
|
@@ -1208,7 +1218,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
1208
1218
|
}
|
|
1209
1219
|
return target;
|
|
1210
1220
|
};
|
|
1211
|
-
const _sfc_main$
|
|
1221
|
+
const _sfc_main$t = {};
|
|
1212
1222
|
function _sfc_render$2(_ctx, _cache) {
|
|
1213
1223
|
const _component_b_text = resolveComponent("b-text");
|
|
1214
1224
|
const _component_b_view = resolveComponent("b-view");
|
|
@@ -1220,9 +1230,9 @@ function _sfc_render$2(_ctx, _cache) {
|
|
|
1220
1230
|
_: 1
|
|
1221
1231
|
});
|
|
1222
1232
|
}
|
|
1223
|
-
const AniFail = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1233
|
+
const AniFail = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$2]]);
|
|
1224
1234
|
const aniNotic_vue_vue_type_style_index_0_lang = "";
|
|
1225
|
-
const _sfc_main$
|
|
1235
|
+
const _sfc_main$s = {};
|
|
1226
1236
|
function _sfc_render$1(_ctx, _cache) {
|
|
1227
1237
|
const _component_b_text = resolveComponent("b-text");
|
|
1228
1238
|
const _component_b_view = resolveComponent("b-view");
|
|
@@ -1237,9 +1247,9 @@ function _sfc_render$1(_ctx, _cache) {
|
|
|
1237
1247
|
_: 1
|
|
1238
1248
|
});
|
|
1239
1249
|
}
|
|
1240
|
-
const AniNotic = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1250
|
+
const AniNotic = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$1]]);
|
|
1241
1251
|
const aniLoading_vue_vue_type_style_index_0_lang = "";
|
|
1242
|
-
const _sfc_main$
|
|
1252
|
+
const _sfc_main$r = {};
|
|
1243
1253
|
function _sfc_render(_ctx, _cache) {
|
|
1244
1254
|
const _component_b_view = resolveComponent("b-view");
|
|
1245
1255
|
return openBlock(), createBlock(_component_b_view, { class: "flex-5" }, {
|
|
@@ -1249,9 +1259,9 @@ function _sfc_render(_ctx, _cache) {
|
|
|
1249
1259
|
_: 1
|
|
1250
1260
|
});
|
|
1251
1261
|
}
|
|
1252
|
-
const AniLoading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1262
|
+
const AniLoading = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render]]);
|
|
1253
1263
|
const _hoisted_1$8 = ["state"];
|
|
1254
|
-
const _sfc_main$
|
|
1264
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
1255
1265
|
__name: "b-icon",
|
|
1256
1266
|
props: {
|
|
1257
1267
|
icon: {},
|
|
@@ -1263,19 +1273,19 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
1263
1273
|
setup(__props) {
|
|
1264
1274
|
const props = __props;
|
|
1265
1275
|
return (_ctx, _cache) => {
|
|
1266
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1276
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1267
1277
|
class: normalizeClass(__props.class),
|
|
1268
1278
|
states: __props.states,
|
|
1269
1279
|
cname: __props.cname
|
|
1270
1280
|
}, {
|
|
1271
1281
|
className: withCtx((scope) => [
|
|
1272
1282
|
__props.icon.search("ani_") === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1273
|
-
__props.icon === "ani_success" ? (openBlock(), createBlock(_sfc_main$
|
|
1283
|
+
__props.icon === "ani_success" ? (openBlock(), createBlock(_sfc_main$u, { key: "success" })) : createCommentVNode("", true),
|
|
1274
1284
|
__props.icon === "ani_fail" ? (openBlock(), createBlock(AniFail, { key: "fail" })) : createCommentVNode("", true),
|
|
1275
1285
|
__props.icon === "ani_notic" ? (openBlock(), createBlock(AniNotic, { key: "notic" })) : createCommentVNode("", true),
|
|
1276
1286
|
__props.icon === "ani_loading" ? (openBlock(), createBlock(AniLoading, { key: "loading" })) : createCommentVNode("", true)
|
|
1277
1287
|
], 64)) : createCommentVNode("", true),
|
|
1278
|
-
__props.icon.search("/") > -1 ? (openBlock(), createBlock(_sfc_main$
|
|
1288
|
+
__props.icon.search("/") > -1 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
1279
1289
|
key: 1,
|
|
1280
1290
|
"bg-img": __props.icon,
|
|
1281
1291
|
states: __props.states,
|
|
@@ -1294,7 +1304,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
1294
1304
|
});
|
|
1295
1305
|
const _hoisted_1$7 = ["contenteditable", "focus-state", "state"];
|
|
1296
1306
|
const _hoisted_2$2 = ["type", "name", "focus-state", "state", "placeholder", "maxlength", "readonly"];
|
|
1297
|
-
const _sfc_main$
|
|
1307
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
1298
1308
|
__name: "b-input",
|
|
1299
1309
|
props: {
|
|
1300
1310
|
type: {},
|
|
@@ -1445,7 +1455,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1445
1455
|
const _component_b_hot = resolveComponent("b-hot");
|
|
1446
1456
|
const _component_b_view = resolveComponent("b-view");
|
|
1447
1457
|
const _component_b_icon = resolveComponent("b-icon");
|
|
1448
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1458
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1449
1459
|
class: normalizeClass(__props.class),
|
|
1450
1460
|
focus: __props.focus,
|
|
1451
1461
|
states: __props.states,
|
|
@@ -1563,7 +1573,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1563
1573
|
}
|
|
1564
1574
|
});
|
|
1565
1575
|
const _hoisted_1$6 = ["name", "focus", "state", "placeholder", "maxlength", "readonly", "rows"];
|
|
1566
|
-
const _sfc_main$
|
|
1576
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
1567
1577
|
__name: "b-textarea",
|
|
1568
1578
|
props: {
|
|
1569
1579
|
text: {},
|
|
@@ -1592,7 +1602,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1592
1602
|
emit("update:text", formatText(val.value));
|
|
1593
1603
|
};
|
|
1594
1604
|
return (_ctx, _cache) => {
|
|
1595
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1605
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1596
1606
|
class: normalizeClass(__props.class),
|
|
1597
1607
|
focus: __props.focus,
|
|
1598
1608
|
states: __props.states,
|
|
@@ -1624,7 +1634,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1624
1634
|
});
|
|
1625
1635
|
const _hoisted_1$5 = ["poster", "muted", "src", "autoplay", "controls", "loop"];
|
|
1626
1636
|
const _hoisted_2$1 = ["poster", "muted", "src", "autoplay", "controls", "loop"];
|
|
1627
|
-
const _sfc_main$
|
|
1637
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
1628
1638
|
__name: "b-video",
|
|
1629
1639
|
props: {
|
|
1630
1640
|
video: {},
|
|
@@ -1687,7 +1697,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1687
1697
|
const _component_b_icon = resolveComponent("b-icon");
|
|
1688
1698
|
const _component_b_view = resolveComponent("b-view");
|
|
1689
1699
|
const _component_b_hot = resolveComponent("b-hot");
|
|
1690
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1700
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1691
1701
|
class: normalizeClass(__props.class),
|
|
1692
1702
|
cname: __props.cname
|
|
1693
1703
|
}, {
|
|
@@ -1766,7 +1776,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1766
1776
|
});
|
|
1767
1777
|
const _hoisted_1$4 = ["state"];
|
|
1768
1778
|
const tolerance = 2;
|
|
1769
|
-
const _sfc_main$
|
|
1779
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
1770
1780
|
__name: "b-list",
|
|
1771
1781
|
props: {
|
|
1772
1782
|
scroll: {},
|
|
@@ -1853,7 +1863,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1853
1863
|
watchPos();
|
|
1854
1864
|
});
|
|
1855
1865
|
return (_ctx, _cache) => {
|
|
1856
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1866
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1857
1867
|
class: normalizeClass(__props.class),
|
|
1858
1868
|
states: __props.states,
|
|
1859
1869
|
cname: __props.cname
|
|
@@ -1881,7 +1891,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1881
1891
|
}
|
|
1882
1892
|
});
|
|
1883
1893
|
const _hoisted_1$3 = ["state", "draggable"];
|
|
1884
|
-
const _sfc_main$
|
|
1894
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
1885
1895
|
__name: "b-drag",
|
|
1886
1896
|
props: {
|
|
1887
1897
|
class: {},
|
|
@@ -1992,7 +2002,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1992
2002
|
bindEvent();
|
|
1993
2003
|
});
|
|
1994
2004
|
return (_ctx, _cache) => {
|
|
1995
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2005
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1996
2006
|
class: normalizeClass(__props.class),
|
|
1997
2007
|
states: { dragStart: __props.dragStart, dragOver: __props.dragOver },
|
|
1998
2008
|
cname: __props.cname
|
|
@@ -2022,7 +2032,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
2022
2032
|
}
|
|
2023
2033
|
});
|
|
2024
2034
|
const _hoisted_1$2 = ["src"];
|
|
2025
|
-
const _sfc_main$
|
|
2035
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
2026
2036
|
__name: "b-webview",
|
|
2027
2037
|
props: {
|
|
2028
2038
|
src: {},
|
|
@@ -2031,7 +2041,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2031
2041
|
},
|
|
2032
2042
|
setup(__props) {
|
|
2033
2043
|
return (_ctx, _cache) => {
|
|
2034
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2044
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
2035
2045
|
class: normalizeClass(__props.class),
|
|
2036
2046
|
cname: __props.cname
|
|
2037
2047
|
}, {
|
|
@@ -2047,7 +2057,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2047
2057
|
};
|
|
2048
2058
|
}
|
|
2049
2059
|
});
|
|
2050
|
-
const _sfc_main$
|
|
2060
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
2051
2061
|
__name: "b-row",
|
|
2052
2062
|
props: {
|
|
2053
2063
|
class: {},
|
|
@@ -2064,7 +2074,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
2064
2074
|
});
|
|
2065
2075
|
const combClass = ref(`${props.class ?? ""} flex pad-h-${gap.value[0]} pad-v-${gap.value[1]}`);
|
|
2066
2076
|
return (_ctx, _cache) => {
|
|
2067
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2077
|
+
return openBlock(), createBlock(_sfc_main$y, mergeProps({ class: combClass.value }, __props.viewData, {
|
|
2068
2078
|
extraClass: {
|
|
2069
2079
|
selector: ">",
|
|
2070
2080
|
value: `pad-h-${gap.value[0]} pad-v-${gap.value[1]}`
|
|
@@ -2078,7 +2088,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
2078
2088
|
};
|
|
2079
2089
|
}
|
|
2080
2090
|
});
|
|
2081
|
-
const _sfc_main$
|
|
2091
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
2082
2092
|
__name: "b-col",
|
|
2083
2093
|
props: {
|
|
2084
2094
|
span: {},
|
|
@@ -2090,7 +2100,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
2090
2100
|
const props = __props;
|
|
2091
2101
|
const combClass = ref(`${props.class ?? ""} ${props.span ? "col-" + props.span : ""} ${props.offset ? "offset-" + props.offset : ""}`);
|
|
2092
2102
|
return (_ctx, _cache) => {
|
|
2093
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2103
|
+
return openBlock(), createBlock(_sfc_main$y, mergeProps({ class: combClass.value }, __props.viewData), {
|
|
2094
2104
|
default: withCtx(() => [
|
|
2095
2105
|
renderSlot(_ctx.$slots, "default")
|
|
2096
2106
|
]),
|
|
@@ -2099,7 +2109,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
2099
2109
|
};
|
|
2100
2110
|
}
|
|
2101
2111
|
});
|
|
2102
|
-
const _sfc_main$
|
|
2112
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
2103
2113
|
__name: "btn-wid",
|
|
2104
2114
|
props: {
|
|
2105
2115
|
btnText: {},
|
|
@@ -2159,13 +2169,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2159
2169
|
}
|
|
2160
2170
|
});
|
|
2161
2171
|
return (_ctx, _cache) => {
|
|
2162
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2172
|
+
return openBlock(), createBlock(_sfc_main$w, mergeProps(__props.hotData, {
|
|
2163
2173
|
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`,
|
|
2164
2174
|
hover: `${hover.value.text} ${hover.value.bg} ${hover.value.line}`,
|
|
2165
2175
|
active: `${active.value.text} ${active.value.bg} ${active.value.line}`
|
|
2166
2176
|
}), {
|
|
2167
2177
|
default: withCtx(() => [
|
|
2168
|
-
__props.iconData ? (openBlock(), createBlock(_sfc_main$
|
|
2178
|
+
__props.iconData ? (openBlock(), createBlock(_sfc_main$q, mergeProps({ key: 0 }, __props.iconData, { class: "mrg-r-d7" }), null, 16)) : createCommentVNode("", true),
|
|
2169
2179
|
createTextVNode(" " + toDisplayString(__props.btnText), 1)
|
|
2170
2180
|
]),
|
|
2171
2181
|
_: 1
|
|
@@ -2173,7 +2183,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2173
2183
|
};
|
|
2174
2184
|
}
|
|
2175
2185
|
});
|
|
2176
|
-
const _sfc_main$
|
|
2186
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
2177
2187
|
__name: "checkbox-wid",
|
|
2178
2188
|
props: {
|
|
2179
2189
|
selected: { type: Boolean },
|
|
@@ -2202,7 +2212,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2202
2212
|
emit("change", props.value, state);
|
|
2203
2213
|
};
|
|
2204
2214
|
return (_ctx, _cache) => {
|
|
2205
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2215
|
+
return openBlock(), createBlock(_sfc_main$w, {
|
|
2206
2216
|
class: normalizeClass(combClass.value),
|
|
2207
2217
|
hover: "alpha-d9",
|
|
2208
2218
|
state: selected.value ? "act" : "",
|
|
@@ -2216,7 +2226,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2216
2226
|
}, () => {
|
|
2217
2227
|
var _a, _b;
|
|
2218
2228
|
return [
|
|
2219
|
-
createVNode(_sfc_main$
|
|
2229
|
+
createVNode(_sfc_main$y, {
|
|
2220
2230
|
class: "w-24-px h-24-px bg-color-neutral round-sm flex-5",
|
|
2221
2231
|
state: selected.value ? "act" : "",
|
|
2222
2232
|
cname: combClass.value + combActClass.value,
|
|
@@ -2225,7 +2235,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2225
2235
|
}
|
|
2226
2236
|
}, {
|
|
2227
2237
|
default: withCtx(() => [
|
|
2228
|
-
createVNode(_sfc_main$
|
|
2238
|
+
createVNode(_sfc_main$q, {
|
|
2229
2239
|
icon: "success",
|
|
2230
2240
|
class: "alpha-d3",
|
|
2231
2241
|
state: selected.value ? "act" : "",
|
|
@@ -2238,7 +2248,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2238
2248
|
}, 8, ["state", "cname", "states"])
|
|
2239
2249
|
];
|
|
2240
2250
|
}),
|
|
2241
|
-
label.value ? (openBlock(), createBlock(_sfc_main$
|
|
2251
|
+
label.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
2242
2252
|
key: 0,
|
|
2243
2253
|
class: "pad-h-1 ellipsis"
|
|
2244
2254
|
}, {
|
|
@@ -2253,7 +2263,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2253
2263
|
};
|
|
2254
2264
|
}
|
|
2255
2265
|
});
|
|
2256
|
-
const _sfc_main$
|
|
2266
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
2257
2267
|
__name: "checkbox-group-wid",
|
|
2258
2268
|
props: {
|
|
2259
2269
|
options: {},
|
|
@@ -2297,11 +2307,11 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2297
2307
|
return (_ctx, _cache) => {
|
|
2298
2308
|
const _component_b_col = resolveComponent("b-col");
|
|
2299
2309
|
const _component_b_row = resolveComponent("b-row");
|
|
2300
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2310
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
2301
2311
|
class: normalizeClass(__props.class)
|
|
2302
2312
|
}, {
|
|
2303
2313
|
default: withCtx(() => [
|
|
2304
|
-
__props.title ? (openBlock(), createBlock(_sfc_main$
|
|
2314
|
+
__props.title ? (openBlock(), createBlock(_sfc_main$y, {
|
|
2305
2315
|
key: 0,
|
|
2306
2316
|
class: "mrg-b-1"
|
|
2307
2317
|
}, {
|
|
@@ -2319,7 +2329,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2319
2329
|
key: i
|
|
2320
2330
|
}, {
|
|
2321
2331
|
default: withCtx(() => [
|
|
2322
|
-
createVNode(_sfc_main$
|
|
2332
|
+
createVNode(_sfc_main$g, mergeProps({
|
|
2323
2333
|
onChange: change,
|
|
2324
2334
|
label: item.label,
|
|
2325
2335
|
value: item.value
|
|
@@ -2359,7 +2369,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2359
2369
|
};
|
|
2360
2370
|
}
|
|
2361
2371
|
});
|
|
2362
|
-
const _sfc_main$
|
|
2372
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
2363
2373
|
__name: "radio-group-wid",
|
|
2364
2374
|
props: {
|
|
2365
2375
|
options: {},
|
|
@@ -2388,7 +2398,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2388
2398
|
});
|
|
2389
2399
|
return (_ctx, _cache) => {
|
|
2390
2400
|
const _component_b_view = resolveComponent("b-view");
|
|
2391
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2401
|
+
return openBlock(), createBlock(_sfc_main$f, {
|
|
2392
2402
|
span: __props.span,
|
|
2393
2403
|
title: __props.title,
|
|
2394
2404
|
class: normalizeClass(__props.class),
|
|
@@ -2431,7 +2441,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2431
2441
|
const _hoisted_1$1 = ["state"];
|
|
2432
2442
|
const _hoisted_2 = ["innerHTML"];
|
|
2433
2443
|
const _hoisted_3 = ["innerHTML"];
|
|
2434
|
-
const _sfc_main$
|
|
2444
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
2435
2445
|
__name: "tabs-wid",
|
|
2436
2446
|
props: {
|
|
2437
2447
|
options: {},
|
|
@@ -2502,9 +2512,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2502
2512
|
});
|
|
2503
2513
|
return (_ctx, _cache) => {
|
|
2504
2514
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2505
|
-
createVNode(_sfc_main$
|
|
2515
|
+
createVNode(_sfc_main$y, { class: "flex-7" }, {
|
|
2506
2516
|
default: withCtx(() => [
|
|
2507
|
-
createVNode(_sfc_main$
|
|
2517
|
+
createVNode(_sfc_main$e, {
|
|
2508
2518
|
options: options.value,
|
|
2509
2519
|
title: __props.title,
|
|
2510
2520
|
selected: selected.value,
|
|
@@ -2519,13 +2529,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2519
2529
|
} : slots.value.length === 0 && __props.tabStyle === "card" ? {
|
|
2520
2530
|
name: "default",
|
|
2521
2531
|
fn: withCtx((scope) => [
|
|
2522
|
-
createVNode(_sfc_main$
|
|
2532
|
+
createVNode(_sfc_main$y, { class: "w-4-px b-f1-px h-1-px bg-color-neutral r-f5-px abs" })
|
|
2523
2533
|
]),
|
|
2524
2534
|
key: "1"
|
|
2525
2535
|
} : slots.value.length === 0 ? {
|
|
2526
2536
|
name: "default",
|
|
2527
2537
|
fn: withCtx((scope) => [
|
|
2528
|
-
createVNode(_sfc_main$
|
|
2538
|
+
createVNode(_sfc_main$y, {
|
|
2529
2539
|
class: normalizeClass(`max-w l-0 b-f1-px round-sm h-2-px bg-color-none abs`),
|
|
2530
2540
|
state: scope.state,
|
|
2531
2541
|
states: {
|
|
@@ -2546,19 +2556,19 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2546
2556
|
};
|
|
2547
2557
|
})
|
|
2548
2558
|
]), 1032, ["options", "title", "selected"]),
|
|
2549
|
-
contLine.value ? (openBlock(), createBlock(_sfc_main$
|
|
2559
|
+
contLine.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
2550
2560
|
key: 0,
|
|
2551
2561
|
class: "grow-1 h-1-px bg-color-neutral"
|
|
2552
2562
|
})) : createCommentVNode("", true)
|
|
2553
2563
|
]),
|
|
2554
2564
|
_: 3
|
|
2555
2565
|
}),
|
|
2556
|
-
contArea.value ? (openBlock(), createBlock(_sfc_main$
|
|
2566
|
+
contArea.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
2557
2567
|
key: 0,
|
|
2558
2568
|
class: "pad-v-1d5 over-hide"
|
|
2559
2569
|
}, {
|
|
2560
2570
|
default: withCtx(() => [
|
|
2561
|
-
selected.value ? (openBlock(), createBlock(_sfc_main$
|
|
2571
|
+
selected.value ? (openBlock(), createBlock(_sfc_main$y, { key: 0 }, {
|
|
2562
2572
|
default: withCtx(() => [
|
|
2563
2573
|
createElementVNode("div", {
|
|
2564
2574
|
innerHTML: tabConts[selected.value],
|
|
@@ -2567,7 +2577,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2567
2577
|
}, null, 42, _hoisted_2)
|
|
2568
2578
|
]),
|
|
2569
2579
|
_: 1
|
|
2570
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
2580
|
+
})) : (openBlock(), createBlock(_sfc_main$y, {
|
|
2571
2581
|
key: 1,
|
|
2572
2582
|
class: "alpha-d5"
|
|
2573
2583
|
}, {
|
|
@@ -2586,7 +2596,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2586
2596
|
}
|
|
2587
2597
|
});
|
|
2588
2598
|
const _hoisted_1 = ["multiple"];
|
|
2589
|
-
const _sfc_main$
|
|
2599
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
2590
2600
|
__name: "upload-wid",
|
|
2591
2601
|
props: {
|
|
2592
2602
|
type: {},
|
|
@@ -2646,7 +2656,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2646
2656
|
};
|
|
2647
2657
|
return (_ctx, _cache) => {
|
|
2648
2658
|
const _component_b_hot = resolveComponent("b-hot");
|
|
2649
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2659
|
+
return openBlock(), createBlock(_sfc_main$y, { class: "flex" }, {
|
|
2650
2660
|
default: withCtx(() => [
|
|
2651
2661
|
_ctx.$slots.default ? (openBlock(), createBlock(_component_b_hot, {
|
|
2652
2662
|
key: 0,
|
|
@@ -2656,7 +2666,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2656
2666
|
renderSlot(_ctx.$slots, "default")
|
|
2657
2667
|
]),
|
|
2658
2668
|
_: 3
|
|
2659
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
2669
|
+
})) : (openBlock(), createBlock(_sfc_main$h, mergeProps({
|
|
2660
2670
|
key: 1,
|
|
2661
2671
|
onOn_click: _cache[1] || (_cache[1] = ($event) => $uploader.value.click())
|
|
2662
2672
|
}, btnData.value), null, 16)),
|
|
@@ -2684,7 +2694,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2684
2694
|
};
|
|
2685
2695
|
}
|
|
2686
2696
|
});
|
|
2687
|
-
const _sfc_main$
|
|
2697
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
2688
2698
|
__name: "modal-wid",
|
|
2689
2699
|
props: {
|
|
2690
2700
|
visiable: { type: Boolean },
|
|
@@ -2785,7 +2795,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2785
2795
|
emit("update:visiable", false);
|
|
2786
2796
|
};
|
|
2787
2797
|
return (_ctx, _cache) => {
|
|
2788
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2798
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
2789
2799
|
class: normalizeClass(`fixed t-0 l-0 max z-9 ${dirStyle.value.layout}`),
|
|
2790
2800
|
state: closeState.value.toString(),
|
|
2791
2801
|
states: {
|
|
@@ -2794,7 +2804,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2794
2804
|
}
|
|
2795
2805
|
}, {
|
|
2796
2806
|
default: withCtx(() => [
|
|
2797
|
-
createVNode(_sfc_main$
|
|
2807
|
+
createVNode(_sfc_main$w, {
|
|
2798
2808
|
onOn_transend: matteAniend,
|
|
2799
2809
|
onOn_click: _cache[0] || (_cache[0] = ($event) => !__props.matteCloseForbid && hide()),
|
|
2800
2810
|
state: __props.visiable.toString(),
|
|
@@ -2804,7 +2814,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2804
2814
|
},
|
|
2805
2815
|
class: normalizeClass(`abs trans-fast max t-0 l-0 bg-color-${__props.matteColor || "C000000cc"}`)
|
|
2806
2816
|
}, null, 8, ["state", "class"]),
|
|
2807
|
-
createVNode(_sfc_main$
|
|
2817
|
+
createVNode(_sfc_main$y, {
|
|
2808
2818
|
class: normalizeClass(`${dirStyle.value.pannal} rel ani-mode-both ani-fast`),
|
|
2809
2819
|
state: aniDir.value,
|
|
2810
2820
|
"ani-end-clear": true,
|
|
@@ -2813,17 +2823,17 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2813
2823
|
}, {
|
|
2814
2824
|
default: withCtx(() => [
|
|
2815
2825
|
renderSlot(_ctx.$slots, "custom", {}, () => [
|
|
2816
|
-
createVNode(_sfc_main$
|
|
2826
|
+
createVNode(_sfc_main$y, {
|
|
2817
2827
|
class: normalizeClass(`bg-color-${__props.pannelColor || "light"} rel pad-2 ${__props.roundEnable ? "round-md" : ""} ${dirStyle.value.pannal}`)
|
|
2818
2828
|
}, {
|
|
2819
2829
|
default: withCtx(() => [
|
|
2820
|
-
!__props.closeEnable ? (openBlock(), createBlock(_sfc_main$
|
|
2830
|
+
!__props.closeEnable ? (openBlock(), createBlock(_sfc_main$w, {
|
|
2821
2831
|
key: 0,
|
|
2822
2832
|
class: "abs r-1 t-d7 color-mgray",
|
|
2823
2833
|
onOn_click: hide
|
|
2824
2834
|
}, {
|
|
2825
2835
|
default: withCtx(() => [
|
|
2826
|
-
createVNode(_sfc_main$
|
|
2836
|
+
createVNode(_sfc_main$q, {
|
|
2827
2837
|
icon: "fail",
|
|
2828
2838
|
class: "fsize-2 lh-1d4"
|
|
2829
2839
|
})
|
|
@@ -2844,7 +2854,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2844
2854
|
};
|
|
2845
2855
|
}
|
|
2846
2856
|
});
|
|
2847
|
-
const _sfc_main$
|
|
2857
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
2848
2858
|
__name: "toast-wid",
|
|
2849
2859
|
props: {
|
|
2850
2860
|
text: {},
|
|
@@ -2884,7 +2894,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2884
2894
|
close
|
|
2885
2895
|
});
|
|
2886
2896
|
return (_ctx, _cache) => {
|
|
2887
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2897
|
+
return openBlock(), createBlock(_sfc_main$b, {
|
|
2888
2898
|
visiable: visiable.value,
|
|
2889
2899
|
"onUpdate:visiable": _cache[0] || (_cache[0] = ($event) => visiable.value = $event),
|
|
2890
2900
|
"matte-close-forbid": true,
|
|
@@ -2896,11 +2906,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2896
2906
|
}, {
|
|
2897
2907
|
custom: withCtx(() => [
|
|
2898
2908
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2899
|
-
createVNode(_sfc_main$
|
|
2909
|
+
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" }, {
|
|
2900
2910
|
default: withCtx(() => {
|
|
2901
2911
|
var _a;
|
|
2902
2912
|
return [
|
|
2903
|
-
__props.icon ? (openBlock(), createBlock(_sfc_main$
|
|
2913
|
+
__props.icon ? (openBlock(), createBlock(_sfc_main$y, {
|
|
2904
2914
|
key: 0,
|
|
2905
2915
|
class: "mrg-b-1d2 fsize-3d2",
|
|
2906
2916
|
states: {
|
|
@@ -2912,11 +2922,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2912
2922
|
state: ((_a = __props.extra) == null ? void 0 : _a.type) ?? ""
|
|
2913
2923
|
}, {
|
|
2914
2924
|
default: withCtx(() => [
|
|
2915
|
-
createVNode(_sfc_main$
|
|
2925
|
+
createVNode(_sfc_main$q, { icon: __props.icon }, null, 8, ["icon"])
|
|
2916
2926
|
]),
|
|
2917
2927
|
_: 1
|
|
2918
2928
|
}, 8, ["state"])) : createCommentVNode("", true),
|
|
2919
|
-
createVNode(_sfc_main$
|
|
2929
|
+
createVNode(_sfc_main$x, null, {
|
|
2920
2930
|
default: withCtx(() => [
|
|
2921
2931
|
createTextVNode(toDisplayString(__props.text), 1)
|
|
2922
2932
|
]),
|
|
@@ -2933,7 +2943,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2933
2943
|
};
|
|
2934
2944
|
}
|
|
2935
2945
|
});
|
|
2936
|
-
const _sfc_main$
|
|
2946
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
2937
2947
|
__name: "confirm-wid",
|
|
2938
2948
|
props: {
|
|
2939
2949
|
notic: {},
|
|
@@ -2984,7 +2994,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2984
2994
|
}
|
|
2985
2995
|
});
|
|
2986
2996
|
return (_ctx, _cache) => {
|
|
2987
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2997
|
+
return openBlock(), createBlock(_sfc_main$b, {
|
|
2988
2998
|
visiable: visiable.value,
|
|
2989
2999
|
"onUpdate:visiable": _cache[0] || (_cache[0] = ($event) => visiable.value = $event),
|
|
2990
3000
|
"matte-close-forbid": true,
|
|
@@ -2994,11 +3004,11 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2994
3004
|
"matte-color": __props.matteColor
|
|
2995
3005
|
}, {
|
|
2996
3006
|
custom: withCtx(() => [
|
|
2997
|
-
createVNode(_sfc_main$
|
|
3007
|
+
createVNode(_sfc_main$y, {
|
|
2998
3008
|
class: normalizeClass(`bg-color-${theme2.value.bg} round-md ${pannelWidthClass.value} pcenter`)
|
|
2999
3009
|
}, {
|
|
3000
3010
|
default: withCtx(() => [
|
|
3001
|
-
createVNode(_sfc_main$
|
|
3011
|
+
createVNode(_sfc_main$y, {
|
|
3002
3012
|
class: normalizeClass(`color-${theme2.value.text} pad-3d4 fsize-1d4 bolder-470`)
|
|
3003
3013
|
}, {
|
|
3004
3014
|
default: withCtx(() => [
|
|
@@ -3006,12 +3016,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
3006
3016
|
]),
|
|
3007
3017
|
_: 1
|
|
3008
3018
|
}, 8, ["class"]),
|
|
3009
|
-
createVNode(_sfc_main$
|
|
3019
|
+
createVNode(_sfc_main$y, {
|
|
3010
3020
|
class: normalizeClass(`flex solid-t bolder-470 line-${theme2.value.line} thick-d4 fsize-1d44`)
|
|
3011
3021
|
}, {
|
|
3012
3022
|
default: withCtx(() => [
|
|
3013
3023
|
__props.type === "confirm" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
3014
|
-
createVNode(_sfc_main$
|
|
3024
|
+
createVNode(_sfc_main$w, {
|
|
3015
3025
|
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`),
|
|
3016
3026
|
active: "bg-color-neutral",
|
|
3017
3027
|
onOn_click: cancel
|
|
@@ -3024,7 +3034,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
3024
3034
|
}),
|
|
3025
3035
|
_: 1
|
|
3026
3036
|
}, 8, ["class"]),
|
|
3027
|
-
createVNode(_sfc_main$
|
|
3037
|
+
createVNode(_sfc_main$w, {
|
|
3028
3038
|
class: normalizeClass(`color-${theme2.value.ok} round-md round-4 flex-5 pad-v-1d4 w-50-P`),
|
|
3029
3039
|
active: "bg-color-neutral",
|
|
3030
3040
|
onOn_click: ok
|
|
@@ -3037,7 +3047,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
3037
3047
|
}),
|
|
3038
3048
|
_: 1
|
|
3039
3049
|
}, 8, ["class"])
|
|
3040
|
-
], 64)) : (openBlock(), createBlock(_sfc_main$
|
|
3050
|
+
], 64)) : (openBlock(), createBlock(_sfc_main$w, {
|
|
3041
3051
|
key: 1,
|
|
3042
3052
|
class: normalizeClass(`color-${theme2.value.ok} round-b round-md flex-5 pad-v-1d4 grow-1`),
|
|
3043
3053
|
active: "bg-color-neutral",
|
|
@@ -3067,7 +3077,7 @@ const showToast = (text, duration = 2e3, icon = "", extra = {}) => {
|
|
|
3067
3077
|
const $toastContainer = document.createElement("div");
|
|
3068
3078
|
$toastContainer.setAttribute("id", "BTXUI-toast");
|
|
3069
3079
|
document.body.appendChild($toastContainer);
|
|
3070
|
-
const vNode = createVNode(_sfc_main$
|
|
3080
|
+
const vNode = createVNode(_sfc_main$a, {
|
|
3071
3081
|
text,
|
|
3072
3082
|
duration,
|
|
3073
3083
|
icon,
|
|
@@ -3120,7 +3130,7 @@ const _confirm = (type, notic, ok, cancel, text = { ok: "", cancel: "" }) => {
|
|
|
3120
3130
|
const $toastContainer = document.createElement("div");
|
|
3121
3131
|
$toastContainer.setAttribute("id", "BTXUI-confirm");
|
|
3122
3132
|
document.body.appendChild($toastContainer);
|
|
3123
|
-
const vNode = createVNode(_sfc_main$
|
|
3133
|
+
const vNode = createVNode(_sfc_main$9, {
|
|
3124
3134
|
type,
|
|
3125
3135
|
notic,
|
|
3126
3136
|
ok,
|
|
@@ -3207,7 +3217,7 @@ const uploadImage = async (imageCompress, extra) => {
|
|
|
3207
3217
|
};
|
|
3208
3218
|
});
|
|
3209
3219
|
};
|
|
3210
|
-
const _sfc_main$
|
|
3220
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
3211
3221
|
__name: "img-upload-wid",
|
|
3212
3222
|
props: {
|
|
3213
3223
|
preview: {},
|
|
@@ -3459,7 +3469,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3459
3469
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
3460
3470
|
createVNode(_component_b_view, { class: "flex gap-1" }, {
|
|
3461
3471
|
default: withCtx(() => [
|
|
3462
|
-
!isMax.value ? (openBlock(), createBlock(_sfc_main$
|
|
3472
|
+
!isMax.value ? (openBlock(), createBlock(_sfc_main$c, {
|
|
3463
3473
|
key: 0,
|
|
3464
3474
|
onOn_upload: imgUpload,
|
|
3465
3475
|
size: size.value,
|
|
@@ -3568,7 +3578,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3568
3578
|
};
|
|
3569
3579
|
}
|
|
3570
3580
|
});
|
|
3571
|
-
const _sfc_main$
|
|
3581
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
3572
3582
|
__name: "app-wid",
|
|
3573
3583
|
props: {
|
|
3574
3584
|
path: {},
|
|
@@ -3593,15 +3603,15 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3593
3603
|
return (_ctx, _cache) => {
|
|
3594
3604
|
var _a;
|
|
3595
3605
|
const _component_router_view = resolveComponent("router-view");
|
|
3596
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3606
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
3597
3607
|
class: normalizeClass(`max fixed flex-column color-light select-none bg-color-${((_a = __props.colors) == null ? void 0 : _a.bg) || "none"}`)
|
|
3598
3608
|
}, {
|
|
3599
3609
|
default: withCtx(() => {
|
|
3600
3610
|
var _a2;
|
|
3601
3611
|
return [
|
|
3602
|
-
createVNode(_sfc_main$
|
|
3612
|
+
createVNode(_sfc_main$y, { class: "rel grow-1" }, {
|
|
3603
3613
|
default: withCtx(() => [
|
|
3604
|
-
createVNode(_sfc_main$
|
|
3614
|
+
createVNode(_sfc_main$m, {
|
|
3605
3615
|
scroll: { y: "auto", x: "hidden" },
|
|
3606
3616
|
class: "abs max"
|
|
3607
3617
|
}, {
|
|
@@ -3615,32 +3625,32 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3615
3625
|
]),
|
|
3616
3626
|
_: 1
|
|
3617
3627
|
}),
|
|
3618
|
-
createVNode(_sfc_main$
|
|
3628
|
+
createVNode(_sfc_main$y, {
|
|
3619
3629
|
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`)
|
|
3620
3630
|
}, {
|
|
3621
3631
|
default: withCtx(() => [
|
|
3622
3632
|
(openBlock(true), createElementBlock(Fragment, null, renderList(navs.value, (nav, i) => {
|
|
3623
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3633
|
+
return openBlock(), createBlock(_sfc_main$w, mergeProps({ key: i }, { ref_for: true }, nav.hotData, {
|
|
3624
3634
|
class: "grow-1",
|
|
3625
3635
|
onOn_click: ($event) => _ctx.$emit("on_toggle", nav)
|
|
3626
3636
|
}), {
|
|
3627
3637
|
default: withCtx(() => {
|
|
3628
3638
|
var _a3, _b, _c, _d, _e, _f;
|
|
3629
3639
|
return [
|
|
3630
|
-
nav.main ? (openBlock(), createBlock(_sfc_main$
|
|
3640
|
+
nav.main ? (openBlock(), createBlock(_sfc_main$y, {
|
|
3631
3641
|
key: 0,
|
|
3632
3642
|
class: "rel w-5 mrg-h-auto"
|
|
3633
3643
|
}, {
|
|
3634
3644
|
default: withCtx(() => {
|
|
3635
3645
|
var _a4, _b2, _c2, _d2;
|
|
3636
3646
|
return [
|
|
3637
|
-
createVNode(_sfc_main$
|
|
3647
|
+
createVNode(_sfc_main$q, mergeProps({ ref_for: true }, nav.iconData, {
|
|
3638
3648
|
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"}`
|
|
3639
3649
|
}), null, 16, ["class"])
|
|
3640
3650
|
];
|
|
3641
3651
|
}),
|
|
3642
3652
|
_: 2
|
|
3643
|
-
}, 1024)) : (openBlock(), createBlock(_sfc_main$
|
|
3653
|
+
}, 1024)) : (openBlock(), createBlock(_sfc_main$y, {
|
|
3644
3654
|
key: 1,
|
|
3645
3655
|
class: normalizeClass(`flex-column rel flex-5 color-${((_b = (_a3 = __props.colors) == null ? void 0 : _a3.text) == null ? void 0 : _b.normal) || "mgray"}`),
|
|
3646
3656
|
cname: ((_d = (_c = __props.colors) == null ? void 0 : _c.text) == null ? void 0 : _d.act) || "light",
|
|
@@ -3650,11 +3660,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3650
3660
|
}
|
|
3651
3661
|
}, {
|
|
3652
3662
|
default: withCtx(() => [
|
|
3653
|
-
nav.unread === 1 ? (openBlock(), createBlock(_sfc_main$
|
|
3663
|
+
nav.unread === 1 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
3654
3664
|
key: 0,
|
|
3655
3665
|
class: "round w-d7 h-d7 r-9d2-vw t-d2 bg-color-red abs"
|
|
3656
3666
|
})) : createCommentVNode("", true),
|
|
3657
|
-
nav.unread > 1 ? (openBlock(), createBlock(_sfc_main$
|
|
3667
|
+
nav.unread > 1 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
3658
3668
|
key: 1,
|
|
3659
3669
|
class: "flex-5 round w-1d5 h-1d5 bold r-7d7-vw t-fd5 bg-color-red abs color-Cfff"
|
|
3660
3670
|
}, {
|
|
@@ -3663,7 +3673,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3663
3673
|
]),
|
|
3664
3674
|
_: 2
|
|
3665
3675
|
}, 1024)) : createCommentVNode("", true),
|
|
3666
|
-
createVNode(_sfc_main$
|
|
3676
|
+
createVNode(_sfc_main$q, mergeProps({ ref_for: true }, nav.iconData, {
|
|
3667
3677
|
cname: nav.act,
|
|
3668
3678
|
state: curRoute.value.search(nav.hotData.link) === 0 ? "act" : "",
|
|
3669
3679
|
states: {
|
|
@@ -3671,7 +3681,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3671
3681
|
},
|
|
3672
3682
|
class: `w-2d7 h-2d7 ${__props.iconTransAni ? "trans-fast" : ""} fsize-1d7`
|
|
3673
3683
|
}), null, 16, ["cname", "state", "states", "class"]),
|
|
3674
|
-
nav.text ? (openBlock(), createBlock(_sfc_main$
|
|
3684
|
+
nav.text ? (openBlock(), createBlock(_sfc_main$x, {
|
|
3675
3685
|
key: 2,
|
|
3676
3686
|
class: "fsize-d83"
|
|
3677
3687
|
}, {
|
|
@@ -3698,7 +3708,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3698
3708
|
};
|
|
3699
3709
|
}
|
|
3700
3710
|
});
|
|
3701
|
-
const _sfc_main$
|
|
3711
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
3702
3712
|
__name: "datetime-modal-wid",
|
|
3703
3713
|
props: {
|
|
3704
3714
|
datetime: {},
|
|
@@ -3747,13 +3757,13 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3747
3757
|
]),
|
|
3748
3758
|
_: 3
|
|
3749
3759
|
}),
|
|
3750
|
-
modalData.dir ? (openBlock(), createBlock(_sfc_main$
|
|
3760
|
+
modalData.dir ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
3751
3761
|
key: 0,
|
|
3752
3762
|
visiable: state.value,
|
|
3753
3763
|
"onUpdate:visiable": _cache[1] || (_cache[1] = ($event) => state.value = $event)
|
|
3754
3764
|
}, modalData), {
|
|
3755
3765
|
default: withCtx(() => [
|
|
3756
|
-
createVNode(_sfc_main$
|
|
3766
|
+
createVNode(_sfc_main$y, { class: "pad-t-1 lw-24" }, {
|
|
3757
3767
|
default: withCtx(() => [
|
|
3758
3768
|
createVNode(_component_datetime_wid, {
|
|
3759
3769
|
onGetData: ok,
|
|
@@ -3772,7 +3782,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3772
3782
|
};
|
|
3773
3783
|
}
|
|
3774
3784
|
});
|
|
3775
|
-
const _sfc_main$
|
|
3785
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
3776
3786
|
__name: "datetime-wid",
|
|
3777
3787
|
props: {
|
|
3778
3788
|
datetime: {},
|
|
@@ -3951,15 +3961,15 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3951
3961
|
const _component_b_text = resolveComponent("b-text");
|
|
3952
3962
|
const _component_b_list = resolveComponent("b-list");
|
|
3953
3963
|
const _component_btn_wid = resolveComponent("btn-wid");
|
|
3954
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3964
|
+
return openBlock(), createBlock(_sfc_main$y, null, {
|
|
3955
3965
|
default: withCtx(() => [
|
|
3956
|
-
createVNode(_sfc_main$
|
|
3966
|
+
createVNode(_sfc_main$y, { class: "flex-4" }, {
|
|
3957
3967
|
default: withCtx(() => [
|
|
3958
3968
|
createVNode(_component_b_icon, {
|
|
3959
3969
|
icon: "time",
|
|
3960
3970
|
class: "alpha-d7 mrg-r-d7"
|
|
3961
3971
|
}),
|
|
3962
|
-
curTime.y.show ? (openBlock(), createBlock(_sfc_main$
|
|
3972
|
+
curTime.y.show ? (openBlock(), createBlock(_sfc_main$y, { key: 0 }, {
|
|
3963
3973
|
default: withCtx(() => [
|
|
3964
3974
|
createVNode(_component_b_hot, {
|
|
3965
3975
|
onOn_click: _cache[0] || (_cache[0] = ($event) => curOper.value = "y"),
|
|
@@ -3981,7 +3991,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3981
3991
|
]),
|
|
3982
3992
|
_: 1
|
|
3983
3993
|
})) : createCommentVNode("", true),
|
|
3984
|
-
curTime.m.show ? (openBlock(), createBlock(_sfc_main$
|
|
3994
|
+
curTime.m.show ? (openBlock(), createBlock(_sfc_main$y, { key: 1 }, {
|
|
3985
3995
|
default: withCtx(() => [
|
|
3986
3996
|
createVNode(_component_b_hot, {
|
|
3987
3997
|
onOn_click: _cache[1] || (_cache[1] = ($event) => curOper.value = "m"),
|
|
@@ -4003,7 +4013,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4003
4013
|
]),
|
|
4004
4014
|
_: 1
|
|
4005
4015
|
})) : createCommentVNode("", true),
|
|
4006
|
-
curTime.d.show ? (openBlock(), createBlock(_sfc_main$
|
|
4016
|
+
curTime.d.show ? (openBlock(), createBlock(_sfc_main$y, { key: 2 }, {
|
|
4007
4017
|
default: withCtx(() => [
|
|
4008
4018
|
createVNode(_component_b_hot, {
|
|
4009
4019
|
onOn_click: _cache[2] || (_cache[2] = ($event) => curOper.value = "d"),
|
|
@@ -4025,11 +4035,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4025
4035
|
]),
|
|
4026
4036
|
_: 1
|
|
4027
4037
|
})) : createCommentVNode("", true),
|
|
4028
|
-
twoSides.value ? (openBlock(), createBlock(_sfc_main$
|
|
4038
|
+
twoSides.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
4029
4039
|
key: 3,
|
|
4030
4040
|
class: "w-1d4"
|
|
4031
4041
|
})) : createCommentVNode("", true),
|
|
4032
|
-
curTime.h.show ? (openBlock(), createBlock(_sfc_main$
|
|
4042
|
+
curTime.h.show ? (openBlock(), createBlock(_sfc_main$y, { key: 4 }, {
|
|
4033
4043
|
default: withCtx(() => [
|
|
4034
4044
|
createVNode(_component_b_hot, {
|
|
4035
4045
|
onOn_click: _cache[3] || (_cache[3] = ($event) => curOper.value = "h"),
|
|
@@ -4051,7 +4061,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4051
4061
|
]),
|
|
4052
4062
|
_: 1
|
|
4053
4063
|
})) : createCommentVNode("", true),
|
|
4054
|
-
curTime.i.show ? (openBlock(), createBlock(_sfc_main$
|
|
4064
|
+
curTime.i.show ? (openBlock(), createBlock(_sfc_main$y, { key: 5 }, {
|
|
4055
4065
|
default: withCtx(() => [
|
|
4056
4066
|
createVNode(_component_b_hot, {
|
|
4057
4067
|
onOn_click: _cache[4] || (_cache[4] = ($event) => curOper.value = "i"),
|
|
@@ -4073,7 +4083,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4073
4083
|
]),
|
|
4074
4084
|
_: 1
|
|
4075
4085
|
})) : createCommentVNode("", true),
|
|
4076
|
-
curTime.s.show ? (openBlock(), createBlock(_sfc_main$
|
|
4086
|
+
curTime.s.show ? (openBlock(), createBlock(_sfc_main$y, { key: 6 }, {
|
|
4077
4087
|
default: withCtx(() => [
|
|
4078
4088
|
createVNode(_component_b_hot, {
|
|
4079
4089
|
onOn_click: _cache[5] || (_cache[5] = ($event) => curOper.value = "s"),
|
|
@@ -4098,7 +4108,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4098
4108
|
]),
|
|
4099
4109
|
_: 1
|
|
4100
4110
|
}),
|
|
4101
|
-
createVNode(_sfc_main$
|
|
4111
|
+
createVNode(_sfc_main$y, { class: "flex" }, {
|
|
4102
4112
|
default: withCtx(() => [
|
|
4103
4113
|
createVNode(_component_b_list, {
|
|
4104
4114
|
class: "grow-1 h-17 bg-color-neutral mrg-v-1 round-md pad-1",
|
|
@@ -4112,7 +4122,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4112
4122
|
}, {
|
|
4113
4123
|
default: withCtx(() => [
|
|
4114
4124
|
(openBlock(true), createElementBlock(Fragment, null, renderList(options.value, (opt) => {
|
|
4115
|
-
return openBlock(), createBlock(_sfc_main$
|
|
4125
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
4116
4126
|
state: opt.toString(),
|
|
4117
4127
|
hover: "bg-color-neutral",
|
|
4118
4128
|
class: "h-3 pad-h-1 lh-3-rem flex round-sm alpha-d7"
|
|
@@ -4145,7 +4155,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4145
4155
|
};
|
|
4146
4156
|
}
|
|
4147
4157
|
});
|
|
4148
|
-
const _sfc_main$
|
|
4158
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
4149
4159
|
__name: "price-modal-wid",
|
|
4150
4160
|
props: {
|
|
4151
4161
|
price: {},
|
|
@@ -4212,7 +4222,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4212
4222
|
]),
|
|
4213
4223
|
_: 3
|
|
4214
4224
|
}),
|
|
4215
|
-
theme2.dir ? (openBlock(), createBlock(_sfc_main$
|
|
4225
|
+
theme2.dir ? (openBlock(), createBlock(_sfc_main$b, {
|
|
4216
4226
|
key: 0,
|
|
4217
4227
|
visiable: state.value,
|
|
4218
4228
|
"onUpdate:visiable": _cache[2] || (_cache[2] = ($event) => state.value = $event),
|
|
@@ -4252,7 +4262,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4252
4262
|
};
|
|
4253
4263
|
}
|
|
4254
4264
|
});
|
|
4255
|
-
const _sfc_main$
|
|
4265
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
4256
4266
|
__name: "price-wid",
|
|
4257
4267
|
props: {
|
|
4258
4268
|
price: {},
|
|
@@ -4338,11 +4348,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4338
4348
|
const _component_b_hot = resolveComponent("b-hot");
|
|
4339
4349
|
const _component_b_col = resolveComponent("b-col");
|
|
4340
4350
|
const _component_b_row = resolveComponent("b-row");
|
|
4341
|
-
return openBlock(), createBlock(_sfc_main$
|
|
4351
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
4342
4352
|
class: normalizeClass(`${baseStyle.value} bg-color-${theme2.pannel} color-${theme2.text}`)
|
|
4343
4353
|
}, {
|
|
4344
4354
|
default: withCtx(() => [
|
|
4345
|
-
!__props.hideScreen ? (openBlock(), createBlock(_sfc_main$
|
|
4355
|
+
!__props.hideScreen ? (openBlock(), createBlock(_sfc_main$y, {
|
|
4346
4356
|
key: 0,
|
|
4347
4357
|
class: "flex-4 no-wrap pad-1d4"
|
|
4348
4358
|
}, {
|
|
@@ -4363,7 +4373,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4363
4373
|
]),
|
|
4364
4374
|
_: 1
|
|
4365
4375
|
})) : createCommentVNode("", true),
|
|
4366
|
-
createVNode(_sfc_main$
|
|
4376
|
+
createVNode(_sfc_main$y, { class: "pad-b-2 bolder-500" }, {
|
|
4367
4377
|
default: withCtx(() => [
|
|
4368
4378
|
createVNode(_component_b_hot, { onOn_click: selPrice }, {
|
|
4369
4379
|
default: withCtx(() => [
|
|
@@ -4471,7 +4481,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4471
4481
|
}),
|
|
4472
4482
|
createVNode(_component_b_col, { span: 3 }, {
|
|
4473
4483
|
default: withCtx(() => [
|
|
4474
|
-
createVNode(_sfc_main$
|
|
4484
|
+
createVNode(_sfc_main$y, { class: "rel h-4d2" }, {
|
|
4475
4485
|
default: withCtx(() => [
|
|
4476
4486
|
createVNode(_component_b_hot, {
|
|
4477
4487
|
class: normalizeClass(`abs b-0 h-14 max-w bg-color-${theme2.btn2.normal} flex-5 round-sm`),
|
|
@@ -4506,7 +4516,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4506
4516
|
};
|
|
4507
4517
|
}
|
|
4508
4518
|
});
|
|
4509
|
-
const _sfc_main$
|
|
4519
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
4510
4520
|
__name: "content-node-wid",
|
|
4511
4521
|
props: {
|
|
4512
4522
|
dataTree: {},
|
|
@@ -4537,14 +4547,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4537
4547
|
const _component_b_text = resolveComponent("b-text");
|
|
4538
4548
|
const _component_content_node_wid = resolveComponent("content-node-wid", true);
|
|
4539
4549
|
return openBlock(true), createElementBlock(Fragment, null, renderList(dataTree.value, (item) => {
|
|
4540
|
-
return openBlock(), createBlock(_sfc_main$
|
|
4550
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
4541
4551
|
state: `id-${item.id}`,
|
|
4542
4552
|
key: item.id
|
|
4543
4553
|
}, {
|
|
4544
4554
|
default: withCtx(() => {
|
|
4545
4555
|
var _a;
|
|
4546
4556
|
return [
|
|
4547
|
-
createVNode(_sfc_main$
|
|
4557
|
+
createVNode(_sfc_main$w, {
|
|
4548
4558
|
cname: `${item.id}-${Math.random()}`,
|
|
4549
4559
|
class: normalizeClass(`flex-4 pad-v-${gap.value} pad-l-${setIndex(item.level)}`),
|
|
4550
4560
|
hover: __props.hover,
|
|
@@ -4555,7 +4565,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4555
4565
|
state: (((_a = unref(selected)) == null ? void 0 : _a.findIndex((data) => data.id === item.id)) > -1).toString()
|
|
4556
4566
|
}, {
|
|
4557
4567
|
default: withCtx(() => [
|
|
4558
|
-
item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$
|
|
4568
|
+
item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$q, {
|
|
4559
4569
|
key: 0,
|
|
4560
4570
|
class: "mrg-r-d4",
|
|
4561
4571
|
state: item.spread ? "content-wid-spread" : "content-wid-collapse",
|
|
@@ -4574,7 +4584,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4574
4584
|
]),
|
|
4575
4585
|
_: 2
|
|
4576
4586
|
}, 1032, ["cname", "class", "hover", "states", "state"]),
|
|
4577
|
-
item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$
|
|
4587
|
+
item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$y, {
|
|
4578
4588
|
key: 0,
|
|
4579
4589
|
states: {
|
|
4580
4590
|
"show": "show",
|
|
@@ -4603,7 +4613,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4603
4613
|
};
|
|
4604
4614
|
}
|
|
4605
4615
|
});
|
|
4606
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4616
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4607
4617
|
__name: "content-wid",
|
|
4608
4618
|
props: {
|
|
4609
4619
|
dataTree: {},
|
|
@@ -4662,12 +4672,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4662
4672
|
emit("on_select", data);
|
|
4663
4673
|
};
|
|
4664
4674
|
return (_ctx, _cache) => {
|
|
4665
|
-
return openBlock(), createBlock(_sfc_main$
|
|
4675
|
+
return openBlock(), createBlock(_sfc_main$w, {
|
|
4666
4676
|
onOn_click: select,
|
|
4667
4677
|
"event-proxy": true
|
|
4668
4678
|
}, {
|
|
4669
4679
|
default: withCtx(() => [
|
|
4670
|
-
flatState.value ? (openBlock(), createBlock(_sfc_main$
|
|
4680
|
+
flatState.value ? (openBlock(), createBlock(_sfc_main$2, normalizeProps(mergeProps({ key: 0 }, { ...props, dataTree: dataTree.value })), createSlots({ _: 2 }, [
|
|
4671
4681
|
_ctx.$slots.default ? {
|
|
4672
4682
|
name: "default",
|
|
4673
4683
|
fn: withCtx((scope) => [
|
|
@@ -4683,37 +4693,133 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4683
4693
|
}
|
|
4684
4694
|
});
|
|
4685
4695
|
const contentWid_vue_vue_type_style_index_0_lang = "";
|
|
4696
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4697
|
+
__name: "carousel-wid",
|
|
4698
|
+
props: {
|
|
4699
|
+
width: {},
|
|
4700
|
+
height: {},
|
|
4701
|
+
speed: {},
|
|
4702
|
+
gap: {},
|
|
4703
|
+
dir: {}
|
|
4704
|
+
},
|
|
4705
|
+
setup(__props, { expose: __expose }) {
|
|
4706
|
+
const props = __props;
|
|
4707
|
+
const itemSize = ref(0);
|
|
4708
|
+
const $wrapper = ref();
|
|
4709
|
+
const offset = ref(0);
|
|
4710
|
+
const isPlaying = ref(true);
|
|
4711
|
+
let animationId = null;
|
|
4712
|
+
const animate = () => {
|
|
4713
|
+
if (!isPlaying.value)
|
|
4714
|
+
return;
|
|
4715
|
+
offset.value -= props.speed || 2;
|
|
4716
|
+
if (offset.value <= -itemSize.value) {
|
|
4717
|
+
offset.value = 0;
|
|
4718
|
+
}
|
|
4719
|
+
$wrapper.value.$el.style.transform = props.dir === "vertical" ? `translateY(${offset.value}px)` : `translateX(${offset.value}px)`;
|
|
4720
|
+
animationId = requestAnimationFrame(animate);
|
|
4721
|
+
};
|
|
4722
|
+
const pause = () => {
|
|
4723
|
+
isPlaying.value = false;
|
|
4724
|
+
if (animationId) {
|
|
4725
|
+
cancelAnimationFrame(animationId);
|
|
4726
|
+
animationId = null;
|
|
4727
|
+
}
|
|
4728
|
+
};
|
|
4729
|
+
const play = () => {
|
|
4730
|
+
isPlaying.value = true;
|
|
4731
|
+
if (!animationId)
|
|
4732
|
+
animate();
|
|
4733
|
+
};
|
|
4734
|
+
const $cont = ref();
|
|
4735
|
+
onMounted(async () => {
|
|
4736
|
+
await nextTick();
|
|
4737
|
+
const { offsetWidth, offsetHeight } = $cont.value.$el;
|
|
4738
|
+
itemSize.value = (props.dir === "vertical" ? offsetHeight : offsetWidth) / 2 + (props.gap || 0) / 2;
|
|
4739
|
+
animate();
|
|
4740
|
+
});
|
|
4741
|
+
onUnmounted(() => {
|
|
4742
|
+
if (animationId)
|
|
4743
|
+
cancelAnimationFrame(animationId);
|
|
4744
|
+
});
|
|
4745
|
+
__expose({
|
|
4746
|
+
pause,
|
|
4747
|
+
play
|
|
4748
|
+
});
|
|
4749
|
+
return (_ctx, _cache) => {
|
|
4750
|
+
const _component_b_view = resolveComponent("b-view");
|
|
4751
|
+
return openBlock(), createBlock(_sfc_main$w, {
|
|
4752
|
+
class: normalizeClass(`over-hide w-${__props.width} h-${__props.height} flex`),
|
|
4753
|
+
onOn_enter: pause,
|
|
4754
|
+
onOn_leave: play
|
|
4755
|
+
}, {
|
|
4756
|
+
default: withCtx(() => [
|
|
4757
|
+
createVNode(_component_b_view, {
|
|
4758
|
+
ref_key: "$wrapper",
|
|
4759
|
+
ref: $wrapper,
|
|
4760
|
+
class: normalizeClass(`${__props.dir === "vertical" ? "flex-column" : "flex"} trans-no`)
|
|
4761
|
+
}, {
|
|
4762
|
+
default: withCtx(() => [
|
|
4763
|
+
createVNode(_component_b_view, {
|
|
4764
|
+
class: normalizeClass(`${__props.dir === "vertical" ? "flex-column" : "no-wrap flex"} gap-${__props.gap || 0}-px`),
|
|
4765
|
+
ref_key: "$cont",
|
|
4766
|
+
ref: $cont
|
|
4767
|
+
}, {
|
|
4768
|
+
default: withCtx(() => [
|
|
4769
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(2, (i) => {
|
|
4770
|
+
return createVNode(_component_b_view, {
|
|
4771
|
+
class: normalizeClass(`${__props.dir === "vertical" ? "" : "no-wrap flex"} no-shrink`)
|
|
4772
|
+
}, {
|
|
4773
|
+
default: withCtx(() => [
|
|
4774
|
+
renderSlot(_ctx.$slots, "default")
|
|
4775
|
+
]),
|
|
4776
|
+
_: 3
|
|
4777
|
+
}, 8, ["class"]);
|
|
4778
|
+
}), 64))
|
|
4779
|
+
]),
|
|
4780
|
+
_: 3
|
|
4781
|
+
}, 8, ["class"])
|
|
4782
|
+
]),
|
|
4783
|
+
_: 3
|
|
4784
|
+
}, 8, ["class"])
|
|
4785
|
+
]),
|
|
4786
|
+
_: 3
|
|
4787
|
+
}, 8, ["class"]);
|
|
4788
|
+
};
|
|
4789
|
+
}
|
|
4790
|
+
});
|
|
4686
4791
|
const initGlobalComponents = [
|
|
4792
|
+
_sfc_main$z,
|
|
4687
4793
|
_sfc_main$y,
|
|
4688
4794
|
_sfc_main$x,
|
|
4689
4795
|
_sfc_main$w,
|
|
4690
4796
|
_sfc_main$v,
|
|
4691
|
-
_sfc_main$
|
|
4692
|
-
_sfc_main$
|
|
4797
|
+
_sfc_main$q,
|
|
4798
|
+
_sfc_main$n,
|
|
4693
4799
|
_sfc_main$m,
|
|
4800
|
+
_sfc_main$k,
|
|
4801
|
+
_sfc_main$p,
|
|
4694
4802
|
_sfc_main$l,
|
|
4695
|
-
_sfc_main$j,
|
|
4696
4803
|
_sfc_main$o,
|
|
4697
|
-
_sfc_main$
|
|
4698
|
-
_sfc_main$n,
|
|
4804
|
+
_sfc_main$j,
|
|
4699
4805
|
_sfc_main$i,
|
|
4700
4806
|
_sfc_main$h,
|
|
4701
4807
|
_sfc_main$g,
|
|
4702
4808
|
_sfc_main$f,
|
|
4703
4809
|
_sfc_main$e,
|
|
4704
4810
|
_sfc_main$d,
|
|
4705
|
-
_sfc_main$c,
|
|
4706
|
-
_sfc_main$6,
|
|
4707
|
-
_sfc_main$b,
|
|
4708
4811
|
_sfc_main$7,
|
|
4709
|
-
_sfc_main,
|
|
4710
|
-
_sfc_main$a,
|
|
4812
|
+
_sfc_main$c,
|
|
4711
4813
|
_sfc_main$8,
|
|
4814
|
+
_sfc_main$1,
|
|
4815
|
+
_sfc_main$b,
|
|
4712
4816
|
_sfc_main$9,
|
|
4817
|
+
_sfc_main$a,
|
|
4818
|
+
_sfc_main$6,
|
|
4713
4819
|
_sfc_main$5,
|
|
4714
4820
|
_sfc_main$4,
|
|
4715
4821
|
_sfc_main$3,
|
|
4716
|
-
_sfc_main
|
|
4822
|
+
_sfc_main
|
|
4717
4823
|
];
|
|
4718
4824
|
const index = {
|
|
4719
4825
|
name: "btxui",
|