btxui 1.1.34 → 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 +247 -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;`,
|
|
@@ -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: {},
|
|
@@ -1592,7 +1597,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1592
1597
|
emit("update:text", formatText(val.value));
|
|
1593
1598
|
};
|
|
1594
1599
|
return (_ctx, _cache) => {
|
|
1595
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1600
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1596
1601
|
class: normalizeClass(__props.class),
|
|
1597
1602
|
focus: __props.focus,
|
|
1598
1603
|
states: __props.states,
|
|
@@ -1624,7 +1629,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1624
1629
|
});
|
|
1625
1630
|
const _hoisted_1$5 = ["poster", "muted", "src", "autoplay", "controls", "loop"];
|
|
1626
1631
|
const _hoisted_2$1 = ["poster", "muted", "src", "autoplay", "controls", "loop"];
|
|
1627
|
-
const _sfc_main$
|
|
1632
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
1628
1633
|
__name: "b-video",
|
|
1629
1634
|
props: {
|
|
1630
1635
|
video: {},
|
|
@@ -1687,7 +1692,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1687
1692
|
const _component_b_icon = resolveComponent("b-icon");
|
|
1688
1693
|
const _component_b_view = resolveComponent("b-view");
|
|
1689
1694
|
const _component_b_hot = resolveComponent("b-hot");
|
|
1690
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1695
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1691
1696
|
class: normalizeClass(__props.class),
|
|
1692
1697
|
cname: __props.cname
|
|
1693
1698
|
}, {
|
|
@@ -1766,7 +1771,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1766
1771
|
});
|
|
1767
1772
|
const _hoisted_1$4 = ["state"];
|
|
1768
1773
|
const tolerance = 2;
|
|
1769
|
-
const _sfc_main$
|
|
1774
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
1770
1775
|
__name: "b-list",
|
|
1771
1776
|
props: {
|
|
1772
1777
|
scroll: {},
|
|
@@ -1853,7 +1858,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1853
1858
|
watchPos();
|
|
1854
1859
|
});
|
|
1855
1860
|
return (_ctx, _cache) => {
|
|
1856
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1861
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1857
1862
|
class: normalizeClass(__props.class),
|
|
1858
1863
|
states: __props.states,
|
|
1859
1864
|
cname: __props.cname
|
|
@@ -1881,7 +1886,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1881
1886
|
}
|
|
1882
1887
|
});
|
|
1883
1888
|
const _hoisted_1$3 = ["state", "draggable"];
|
|
1884
|
-
const _sfc_main$
|
|
1889
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
1885
1890
|
__name: "b-drag",
|
|
1886
1891
|
props: {
|
|
1887
1892
|
class: {},
|
|
@@ -1992,7 +1997,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1992
1997
|
bindEvent();
|
|
1993
1998
|
});
|
|
1994
1999
|
return (_ctx, _cache) => {
|
|
1995
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2000
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
1996
2001
|
class: normalizeClass(__props.class),
|
|
1997
2002
|
states: { dragStart: __props.dragStart, dragOver: __props.dragOver },
|
|
1998
2003
|
cname: __props.cname
|
|
@@ -2022,7 +2027,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
2022
2027
|
}
|
|
2023
2028
|
});
|
|
2024
2029
|
const _hoisted_1$2 = ["src"];
|
|
2025
|
-
const _sfc_main$
|
|
2030
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
2026
2031
|
__name: "b-webview",
|
|
2027
2032
|
props: {
|
|
2028
2033
|
src: {},
|
|
@@ -2031,7 +2036,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2031
2036
|
},
|
|
2032
2037
|
setup(__props) {
|
|
2033
2038
|
return (_ctx, _cache) => {
|
|
2034
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2039
|
+
return openBlock(), createBlock(_sfc_main$z, {
|
|
2035
2040
|
class: normalizeClass(__props.class),
|
|
2036
2041
|
cname: __props.cname
|
|
2037
2042
|
}, {
|
|
@@ -2047,7 +2052,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2047
2052
|
};
|
|
2048
2053
|
}
|
|
2049
2054
|
});
|
|
2050
|
-
const _sfc_main$
|
|
2055
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
2051
2056
|
__name: "b-row",
|
|
2052
2057
|
props: {
|
|
2053
2058
|
class: {},
|
|
@@ -2064,7 +2069,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
2064
2069
|
});
|
|
2065
2070
|
const combClass = ref(`${props.class ?? ""} flex pad-h-${gap.value[0]} pad-v-${gap.value[1]}`);
|
|
2066
2071
|
return (_ctx, _cache) => {
|
|
2067
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2072
|
+
return openBlock(), createBlock(_sfc_main$y, mergeProps({ class: combClass.value }, __props.viewData, {
|
|
2068
2073
|
extraClass: {
|
|
2069
2074
|
selector: ">",
|
|
2070
2075
|
value: `pad-h-${gap.value[0]} pad-v-${gap.value[1]}`
|
|
@@ -2078,7 +2083,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
2078
2083
|
};
|
|
2079
2084
|
}
|
|
2080
2085
|
});
|
|
2081
|
-
const _sfc_main$
|
|
2086
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
2082
2087
|
__name: "b-col",
|
|
2083
2088
|
props: {
|
|
2084
2089
|
span: {},
|
|
@@ -2090,7 +2095,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
2090
2095
|
const props = __props;
|
|
2091
2096
|
const combClass = ref(`${props.class ?? ""} ${props.span ? "col-" + props.span : ""} ${props.offset ? "offset-" + props.offset : ""}`);
|
|
2092
2097
|
return (_ctx, _cache) => {
|
|
2093
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2098
|
+
return openBlock(), createBlock(_sfc_main$y, mergeProps({ class: combClass.value }, __props.viewData), {
|
|
2094
2099
|
default: withCtx(() => [
|
|
2095
2100
|
renderSlot(_ctx.$slots, "default")
|
|
2096
2101
|
]),
|
|
@@ -2099,7 +2104,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
2099
2104
|
};
|
|
2100
2105
|
}
|
|
2101
2106
|
});
|
|
2102
|
-
const _sfc_main$
|
|
2107
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
2103
2108
|
__name: "btn-wid",
|
|
2104
2109
|
props: {
|
|
2105
2110
|
btnText: {},
|
|
@@ -2159,13 +2164,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2159
2164
|
}
|
|
2160
2165
|
});
|
|
2161
2166
|
return (_ctx, _cache) => {
|
|
2162
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2167
|
+
return openBlock(), createBlock(_sfc_main$w, mergeProps(__props.hotData, {
|
|
2163
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`,
|
|
2164
2169
|
hover: `${hover.value.text} ${hover.value.bg} ${hover.value.line}`,
|
|
2165
2170
|
active: `${active.value.text} ${active.value.bg} ${active.value.line}`
|
|
2166
2171
|
}), {
|
|
2167
2172
|
default: withCtx(() => [
|
|
2168
|
-
__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),
|
|
2169
2174
|
createTextVNode(" " + toDisplayString(__props.btnText), 1)
|
|
2170
2175
|
]),
|
|
2171
2176
|
_: 1
|
|
@@ -2173,7 +2178,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2173
2178
|
};
|
|
2174
2179
|
}
|
|
2175
2180
|
});
|
|
2176
|
-
const _sfc_main$
|
|
2181
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
2177
2182
|
__name: "checkbox-wid",
|
|
2178
2183
|
props: {
|
|
2179
2184
|
selected: { type: Boolean },
|
|
@@ -2202,7 +2207,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2202
2207
|
emit("change", props.value, state);
|
|
2203
2208
|
};
|
|
2204
2209
|
return (_ctx, _cache) => {
|
|
2205
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2210
|
+
return openBlock(), createBlock(_sfc_main$w, {
|
|
2206
2211
|
class: normalizeClass(combClass.value),
|
|
2207
2212
|
hover: "alpha-d9",
|
|
2208
2213
|
state: selected.value ? "act" : "",
|
|
@@ -2216,7 +2221,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2216
2221
|
}, () => {
|
|
2217
2222
|
var _a, _b;
|
|
2218
2223
|
return [
|
|
2219
|
-
createVNode(_sfc_main$
|
|
2224
|
+
createVNode(_sfc_main$y, {
|
|
2220
2225
|
class: "w-24-px h-24-px bg-color-neutral round-sm flex-5",
|
|
2221
2226
|
state: selected.value ? "act" : "",
|
|
2222
2227
|
cname: combClass.value + combActClass.value,
|
|
@@ -2225,7 +2230,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2225
2230
|
}
|
|
2226
2231
|
}, {
|
|
2227
2232
|
default: withCtx(() => [
|
|
2228
|
-
createVNode(_sfc_main$
|
|
2233
|
+
createVNode(_sfc_main$q, {
|
|
2229
2234
|
icon: "success",
|
|
2230
2235
|
class: "alpha-d3",
|
|
2231
2236
|
state: selected.value ? "act" : "",
|
|
@@ -2238,7 +2243,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2238
2243
|
}, 8, ["state", "cname", "states"])
|
|
2239
2244
|
];
|
|
2240
2245
|
}),
|
|
2241
|
-
label.value ? (openBlock(), createBlock(_sfc_main$
|
|
2246
|
+
label.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
2242
2247
|
key: 0,
|
|
2243
2248
|
class: "pad-h-1 ellipsis"
|
|
2244
2249
|
}, {
|
|
@@ -2253,7 +2258,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2253
2258
|
};
|
|
2254
2259
|
}
|
|
2255
2260
|
});
|
|
2256
|
-
const _sfc_main$
|
|
2261
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
2257
2262
|
__name: "checkbox-group-wid",
|
|
2258
2263
|
props: {
|
|
2259
2264
|
options: {},
|
|
@@ -2297,11 +2302,11 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2297
2302
|
return (_ctx, _cache) => {
|
|
2298
2303
|
const _component_b_col = resolveComponent("b-col");
|
|
2299
2304
|
const _component_b_row = resolveComponent("b-row");
|
|
2300
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2305
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
2301
2306
|
class: normalizeClass(__props.class)
|
|
2302
2307
|
}, {
|
|
2303
2308
|
default: withCtx(() => [
|
|
2304
|
-
__props.title ? (openBlock(), createBlock(_sfc_main$
|
|
2309
|
+
__props.title ? (openBlock(), createBlock(_sfc_main$y, {
|
|
2305
2310
|
key: 0,
|
|
2306
2311
|
class: "mrg-b-1"
|
|
2307
2312
|
}, {
|
|
@@ -2319,7 +2324,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2319
2324
|
key: i
|
|
2320
2325
|
}, {
|
|
2321
2326
|
default: withCtx(() => [
|
|
2322
|
-
createVNode(_sfc_main$
|
|
2327
|
+
createVNode(_sfc_main$g, mergeProps({
|
|
2323
2328
|
onChange: change,
|
|
2324
2329
|
label: item.label,
|
|
2325
2330
|
value: item.value
|
|
@@ -2359,7 +2364,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2359
2364
|
};
|
|
2360
2365
|
}
|
|
2361
2366
|
});
|
|
2362
|
-
const _sfc_main$
|
|
2367
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
2363
2368
|
__name: "radio-group-wid",
|
|
2364
2369
|
props: {
|
|
2365
2370
|
options: {},
|
|
@@ -2388,7 +2393,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2388
2393
|
});
|
|
2389
2394
|
return (_ctx, _cache) => {
|
|
2390
2395
|
const _component_b_view = resolveComponent("b-view");
|
|
2391
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2396
|
+
return openBlock(), createBlock(_sfc_main$f, {
|
|
2392
2397
|
span: __props.span,
|
|
2393
2398
|
title: __props.title,
|
|
2394
2399
|
class: normalizeClass(__props.class),
|
|
@@ -2431,7 +2436,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2431
2436
|
const _hoisted_1$1 = ["state"];
|
|
2432
2437
|
const _hoisted_2 = ["innerHTML"];
|
|
2433
2438
|
const _hoisted_3 = ["innerHTML"];
|
|
2434
|
-
const _sfc_main$
|
|
2439
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
2435
2440
|
__name: "tabs-wid",
|
|
2436
2441
|
props: {
|
|
2437
2442
|
options: {},
|
|
@@ -2502,9 +2507,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2502
2507
|
});
|
|
2503
2508
|
return (_ctx, _cache) => {
|
|
2504
2509
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2505
|
-
createVNode(_sfc_main$
|
|
2510
|
+
createVNode(_sfc_main$y, { class: "flex-7" }, {
|
|
2506
2511
|
default: withCtx(() => [
|
|
2507
|
-
createVNode(_sfc_main$
|
|
2512
|
+
createVNode(_sfc_main$e, {
|
|
2508
2513
|
options: options.value,
|
|
2509
2514
|
title: __props.title,
|
|
2510
2515
|
selected: selected.value,
|
|
@@ -2519,13 +2524,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2519
2524
|
} : slots.value.length === 0 && __props.tabStyle === "card" ? {
|
|
2520
2525
|
name: "default",
|
|
2521
2526
|
fn: withCtx((scope) => [
|
|
2522
|
-
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" })
|
|
2523
2528
|
]),
|
|
2524
2529
|
key: "1"
|
|
2525
2530
|
} : slots.value.length === 0 ? {
|
|
2526
2531
|
name: "default",
|
|
2527
2532
|
fn: withCtx((scope) => [
|
|
2528
|
-
createVNode(_sfc_main$
|
|
2533
|
+
createVNode(_sfc_main$y, {
|
|
2529
2534
|
class: normalizeClass(`max-w l-0 b-f1-px round-sm h-2-px bg-color-none abs`),
|
|
2530
2535
|
state: scope.state,
|
|
2531
2536
|
states: {
|
|
@@ -2546,19 +2551,19 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2546
2551
|
};
|
|
2547
2552
|
})
|
|
2548
2553
|
]), 1032, ["options", "title", "selected"]),
|
|
2549
|
-
contLine.value ? (openBlock(), createBlock(_sfc_main$
|
|
2554
|
+
contLine.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
2550
2555
|
key: 0,
|
|
2551
2556
|
class: "grow-1 h-1-px bg-color-neutral"
|
|
2552
2557
|
})) : createCommentVNode("", true)
|
|
2553
2558
|
]),
|
|
2554
2559
|
_: 3
|
|
2555
2560
|
}),
|
|
2556
|
-
contArea.value ? (openBlock(), createBlock(_sfc_main$
|
|
2561
|
+
contArea.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
2557
2562
|
key: 0,
|
|
2558
2563
|
class: "pad-v-1d5 over-hide"
|
|
2559
2564
|
}, {
|
|
2560
2565
|
default: withCtx(() => [
|
|
2561
|
-
selected.value ? (openBlock(), createBlock(_sfc_main$
|
|
2566
|
+
selected.value ? (openBlock(), createBlock(_sfc_main$y, { key: 0 }, {
|
|
2562
2567
|
default: withCtx(() => [
|
|
2563
2568
|
createElementVNode("div", {
|
|
2564
2569
|
innerHTML: tabConts[selected.value],
|
|
@@ -2567,7 +2572,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2567
2572
|
}, null, 42, _hoisted_2)
|
|
2568
2573
|
]),
|
|
2569
2574
|
_: 1
|
|
2570
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
2575
|
+
})) : (openBlock(), createBlock(_sfc_main$y, {
|
|
2571
2576
|
key: 1,
|
|
2572
2577
|
class: "alpha-d5"
|
|
2573
2578
|
}, {
|
|
@@ -2586,7 +2591,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2586
2591
|
}
|
|
2587
2592
|
});
|
|
2588
2593
|
const _hoisted_1 = ["multiple"];
|
|
2589
|
-
const _sfc_main$
|
|
2594
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
2590
2595
|
__name: "upload-wid",
|
|
2591
2596
|
props: {
|
|
2592
2597
|
type: {},
|
|
@@ -2646,7 +2651,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2646
2651
|
};
|
|
2647
2652
|
return (_ctx, _cache) => {
|
|
2648
2653
|
const _component_b_hot = resolveComponent("b-hot");
|
|
2649
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2654
|
+
return openBlock(), createBlock(_sfc_main$y, { class: "flex" }, {
|
|
2650
2655
|
default: withCtx(() => [
|
|
2651
2656
|
_ctx.$slots.default ? (openBlock(), createBlock(_component_b_hot, {
|
|
2652
2657
|
key: 0,
|
|
@@ -2656,7 +2661,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2656
2661
|
renderSlot(_ctx.$slots, "default")
|
|
2657
2662
|
]),
|
|
2658
2663
|
_: 3
|
|
2659
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
2664
|
+
})) : (openBlock(), createBlock(_sfc_main$h, mergeProps({
|
|
2660
2665
|
key: 1,
|
|
2661
2666
|
onOn_click: _cache[1] || (_cache[1] = ($event) => $uploader.value.click())
|
|
2662
2667
|
}, btnData.value), null, 16)),
|
|
@@ -2684,7 +2689,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2684
2689
|
};
|
|
2685
2690
|
}
|
|
2686
2691
|
});
|
|
2687
|
-
const _sfc_main$
|
|
2692
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
2688
2693
|
__name: "modal-wid",
|
|
2689
2694
|
props: {
|
|
2690
2695
|
visiable: { type: Boolean },
|
|
@@ -2785,7 +2790,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2785
2790
|
emit("update:visiable", false);
|
|
2786
2791
|
};
|
|
2787
2792
|
return (_ctx, _cache) => {
|
|
2788
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2793
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
2789
2794
|
class: normalizeClass(`fixed t-0 l-0 max z-9 ${dirStyle.value.layout}`),
|
|
2790
2795
|
state: closeState.value.toString(),
|
|
2791
2796
|
states: {
|
|
@@ -2794,7 +2799,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2794
2799
|
}
|
|
2795
2800
|
}, {
|
|
2796
2801
|
default: withCtx(() => [
|
|
2797
|
-
createVNode(_sfc_main$
|
|
2802
|
+
createVNode(_sfc_main$w, {
|
|
2798
2803
|
onOn_transend: matteAniend,
|
|
2799
2804
|
onOn_click: _cache[0] || (_cache[0] = ($event) => !__props.matteCloseForbid && hide()),
|
|
2800
2805
|
state: __props.visiable.toString(),
|
|
@@ -2804,7 +2809,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2804
2809
|
},
|
|
2805
2810
|
class: normalizeClass(`abs trans-fast max t-0 l-0 bg-color-${__props.matteColor || "C000000cc"}`)
|
|
2806
2811
|
}, null, 8, ["state", "class"]),
|
|
2807
|
-
createVNode(_sfc_main$
|
|
2812
|
+
createVNode(_sfc_main$y, {
|
|
2808
2813
|
class: normalizeClass(`${dirStyle.value.pannal} rel ani-mode-both ani-fast`),
|
|
2809
2814
|
state: aniDir.value,
|
|
2810
2815
|
"ani-end-clear": true,
|
|
@@ -2813,17 +2818,17 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2813
2818
|
}, {
|
|
2814
2819
|
default: withCtx(() => [
|
|
2815
2820
|
renderSlot(_ctx.$slots, "custom", {}, () => [
|
|
2816
|
-
createVNode(_sfc_main$
|
|
2821
|
+
createVNode(_sfc_main$y, {
|
|
2817
2822
|
class: normalizeClass(`bg-color-${__props.pannelColor || "light"} rel pad-2 ${__props.roundEnable ? "round-md" : ""} ${dirStyle.value.pannal}`)
|
|
2818
2823
|
}, {
|
|
2819
2824
|
default: withCtx(() => [
|
|
2820
|
-
!__props.closeEnable ? (openBlock(), createBlock(_sfc_main$
|
|
2825
|
+
!__props.closeEnable ? (openBlock(), createBlock(_sfc_main$w, {
|
|
2821
2826
|
key: 0,
|
|
2822
2827
|
class: "abs r-1 t-d7 color-mgray",
|
|
2823
2828
|
onOn_click: hide
|
|
2824
2829
|
}, {
|
|
2825
2830
|
default: withCtx(() => [
|
|
2826
|
-
createVNode(_sfc_main$
|
|
2831
|
+
createVNode(_sfc_main$q, {
|
|
2827
2832
|
icon: "fail",
|
|
2828
2833
|
class: "fsize-2 lh-1d4"
|
|
2829
2834
|
})
|
|
@@ -2844,7 +2849,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2844
2849
|
};
|
|
2845
2850
|
}
|
|
2846
2851
|
});
|
|
2847
|
-
const _sfc_main$
|
|
2852
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
2848
2853
|
__name: "toast-wid",
|
|
2849
2854
|
props: {
|
|
2850
2855
|
text: {},
|
|
@@ -2884,7 +2889,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2884
2889
|
close
|
|
2885
2890
|
});
|
|
2886
2891
|
return (_ctx, _cache) => {
|
|
2887
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2892
|
+
return openBlock(), createBlock(_sfc_main$b, {
|
|
2888
2893
|
visiable: visiable.value,
|
|
2889
2894
|
"onUpdate:visiable": _cache[0] || (_cache[0] = ($event) => visiable.value = $event),
|
|
2890
2895
|
"matte-close-forbid": true,
|
|
@@ -2896,11 +2901,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2896
2901
|
}, {
|
|
2897
2902
|
custom: withCtx(() => [
|
|
2898
2903
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2899
|
-
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" }, {
|
|
2900
2905
|
default: withCtx(() => {
|
|
2901
2906
|
var _a;
|
|
2902
2907
|
return [
|
|
2903
|
-
__props.icon ? (openBlock(), createBlock(_sfc_main$
|
|
2908
|
+
__props.icon ? (openBlock(), createBlock(_sfc_main$y, {
|
|
2904
2909
|
key: 0,
|
|
2905
2910
|
class: "mrg-b-1d2 fsize-3d2",
|
|
2906
2911
|
states: {
|
|
@@ -2912,11 +2917,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2912
2917
|
state: ((_a = __props.extra) == null ? void 0 : _a.type) ?? ""
|
|
2913
2918
|
}, {
|
|
2914
2919
|
default: withCtx(() => [
|
|
2915
|
-
createVNode(_sfc_main$
|
|
2920
|
+
createVNode(_sfc_main$q, { icon: __props.icon }, null, 8, ["icon"])
|
|
2916
2921
|
]),
|
|
2917
2922
|
_: 1
|
|
2918
2923
|
}, 8, ["state"])) : createCommentVNode("", true),
|
|
2919
|
-
createVNode(_sfc_main$
|
|
2924
|
+
createVNode(_sfc_main$x, null, {
|
|
2920
2925
|
default: withCtx(() => [
|
|
2921
2926
|
createTextVNode(toDisplayString(__props.text), 1)
|
|
2922
2927
|
]),
|
|
@@ -2933,7 +2938,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2933
2938
|
};
|
|
2934
2939
|
}
|
|
2935
2940
|
});
|
|
2936
|
-
const _sfc_main$
|
|
2941
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
2937
2942
|
__name: "confirm-wid",
|
|
2938
2943
|
props: {
|
|
2939
2944
|
notic: {},
|
|
@@ -2984,7 +2989,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2984
2989
|
}
|
|
2985
2990
|
});
|
|
2986
2991
|
return (_ctx, _cache) => {
|
|
2987
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2992
|
+
return openBlock(), createBlock(_sfc_main$b, {
|
|
2988
2993
|
visiable: visiable.value,
|
|
2989
2994
|
"onUpdate:visiable": _cache[0] || (_cache[0] = ($event) => visiable.value = $event),
|
|
2990
2995
|
"matte-close-forbid": true,
|
|
@@ -2994,11 +2999,11 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2994
2999
|
"matte-color": __props.matteColor
|
|
2995
3000
|
}, {
|
|
2996
3001
|
custom: withCtx(() => [
|
|
2997
|
-
createVNode(_sfc_main$
|
|
3002
|
+
createVNode(_sfc_main$y, {
|
|
2998
3003
|
class: normalizeClass(`bg-color-${theme2.value.bg} round-md ${pannelWidthClass.value} pcenter`)
|
|
2999
3004
|
}, {
|
|
3000
3005
|
default: withCtx(() => [
|
|
3001
|
-
createVNode(_sfc_main$
|
|
3006
|
+
createVNode(_sfc_main$y, {
|
|
3002
3007
|
class: normalizeClass(`color-${theme2.value.text} pad-3d4 fsize-1d4 bolder-470`)
|
|
3003
3008
|
}, {
|
|
3004
3009
|
default: withCtx(() => [
|
|
@@ -3006,12 +3011,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
3006
3011
|
]),
|
|
3007
3012
|
_: 1
|
|
3008
3013
|
}, 8, ["class"]),
|
|
3009
|
-
createVNode(_sfc_main$
|
|
3014
|
+
createVNode(_sfc_main$y, {
|
|
3010
3015
|
class: normalizeClass(`flex solid-t bolder-470 line-${theme2.value.line} thick-d4 fsize-1d44`)
|
|
3011
3016
|
}, {
|
|
3012
3017
|
default: withCtx(() => [
|
|
3013
3018
|
__props.type === "confirm" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
3014
|
-
createVNode(_sfc_main$
|
|
3019
|
+
createVNode(_sfc_main$w, {
|
|
3015
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`),
|
|
3016
3021
|
active: "bg-color-neutral",
|
|
3017
3022
|
onOn_click: cancel
|
|
@@ -3024,7 +3029,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
3024
3029
|
}),
|
|
3025
3030
|
_: 1
|
|
3026
3031
|
}, 8, ["class"]),
|
|
3027
|
-
createVNode(_sfc_main$
|
|
3032
|
+
createVNode(_sfc_main$w, {
|
|
3028
3033
|
class: normalizeClass(`color-${theme2.value.ok} round-md round-4 flex-5 pad-v-1d4 w-50-P`),
|
|
3029
3034
|
active: "bg-color-neutral",
|
|
3030
3035
|
onOn_click: ok
|
|
@@ -3037,7 +3042,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
3037
3042
|
}),
|
|
3038
3043
|
_: 1
|
|
3039
3044
|
}, 8, ["class"])
|
|
3040
|
-
], 64)) : (openBlock(), createBlock(_sfc_main$
|
|
3045
|
+
], 64)) : (openBlock(), createBlock(_sfc_main$w, {
|
|
3041
3046
|
key: 1,
|
|
3042
3047
|
class: normalizeClass(`color-${theme2.value.ok} round-b round-md flex-5 pad-v-1d4 grow-1`),
|
|
3043
3048
|
active: "bg-color-neutral",
|
|
@@ -3067,7 +3072,7 @@ const showToast = (text, duration = 2e3, icon = "", extra = {}) => {
|
|
|
3067
3072
|
const $toastContainer = document.createElement("div");
|
|
3068
3073
|
$toastContainer.setAttribute("id", "BTXUI-toast");
|
|
3069
3074
|
document.body.appendChild($toastContainer);
|
|
3070
|
-
const vNode = createVNode(_sfc_main$
|
|
3075
|
+
const vNode = createVNode(_sfc_main$a, {
|
|
3071
3076
|
text,
|
|
3072
3077
|
duration,
|
|
3073
3078
|
icon,
|
|
@@ -3120,7 +3125,7 @@ const _confirm = (type, notic, ok, cancel, text = { ok: "", cancel: "" }) => {
|
|
|
3120
3125
|
const $toastContainer = document.createElement("div");
|
|
3121
3126
|
$toastContainer.setAttribute("id", "BTXUI-confirm");
|
|
3122
3127
|
document.body.appendChild($toastContainer);
|
|
3123
|
-
const vNode = createVNode(_sfc_main$
|
|
3128
|
+
const vNode = createVNode(_sfc_main$9, {
|
|
3124
3129
|
type,
|
|
3125
3130
|
notic,
|
|
3126
3131
|
ok,
|
|
@@ -3207,7 +3212,7 @@ const uploadImage = async (imageCompress, extra) => {
|
|
|
3207
3212
|
};
|
|
3208
3213
|
});
|
|
3209
3214
|
};
|
|
3210
|
-
const _sfc_main$
|
|
3215
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
3211
3216
|
__name: "img-upload-wid",
|
|
3212
3217
|
props: {
|
|
3213
3218
|
preview: {},
|
|
@@ -3459,7 +3464,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3459
3464
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
3460
3465
|
createVNode(_component_b_view, { class: "flex gap-1" }, {
|
|
3461
3466
|
default: withCtx(() => [
|
|
3462
|
-
!isMax.value ? (openBlock(), createBlock(_sfc_main$
|
|
3467
|
+
!isMax.value ? (openBlock(), createBlock(_sfc_main$c, {
|
|
3463
3468
|
key: 0,
|
|
3464
3469
|
onOn_upload: imgUpload,
|
|
3465
3470
|
size: size.value,
|
|
@@ -3568,7 +3573,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3568
3573
|
};
|
|
3569
3574
|
}
|
|
3570
3575
|
});
|
|
3571
|
-
const _sfc_main$
|
|
3576
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
3572
3577
|
__name: "app-wid",
|
|
3573
3578
|
props: {
|
|
3574
3579
|
path: {},
|
|
@@ -3593,15 +3598,15 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3593
3598
|
return (_ctx, _cache) => {
|
|
3594
3599
|
var _a;
|
|
3595
3600
|
const _component_router_view = resolveComponent("router-view");
|
|
3596
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3601
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
3597
3602
|
class: normalizeClass(`max fixed flex-column color-light select-none bg-color-${((_a = __props.colors) == null ? void 0 : _a.bg) || "none"}`)
|
|
3598
3603
|
}, {
|
|
3599
3604
|
default: withCtx(() => {
|
|
3600
3605
|
var _a2;
|
|
3601
3606
|
return [
|
|
3602
|
-
createVNode(_sfc_main$
|
|
3607
|
+
createVNode(_sfc_main$y, { class: "rel grow-1" }, {
|
|
3603
3608
|
default: withCtx(() => [
|
|
3604
|
-
createVNode(_sfc_main$
|
|
3609
|
+
createVNode(_sfc_main$m, {
|
|
3605
3610
|
scroll: { y: "auto", x: "hidden" },
|
|
3606
3611
|
class: "abs max"
|
|
3607
3612
|
}, {
|
|
@@ -3615,32 +3620,32 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3615
3620
|
]),
|
|
3616
3621
|
_: 1
|
|
3617
3622
|
}),
|
|
3618
|
-
createVNode(_sfc_main$
|
|
3623
|
+
createVNode(_sfc_main$y, {
|
|
3619
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`)
|
|
3620
3625
|
}, {
|
|
3621
3626
|
default: withCtx(() => [
|
|
3622
3627
|
(openBlock(true), createElementBlock(Fragment, null, renderList(navs.value, (nav, i) => {
|
|
3623
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3628
|
+
return openBlock(), createBlock(_sfc_main$w, mergeProps({ key: i }, { ref_for: true }, nav.hotData, {
|
|
3624
3629
|
class: "grow-1",
|
|
3625
3630
|
onOn_click: ($event) => _ctx.$emit("on_toggle", nav)
|
|
3626
3631
|
}), {
|
|
3627
3632
|
default: withCtx(() => {
|
|
3628
3633
|
var _a3, _b, _c, _d, _e, _f;
|
|
3629
3634
|
return [
|
|
3630
|
-
nav.main ? (openBlock(), createBlock(_sfc_main$
|
|
3635
|
+
nav.main ? (openBlock(), createBlock(_sfc_main$y, {
|
|
3631
3636
|
key: 0,
|
|
3632
3637
|
class: "rel w-5 mrg-h-auto"
|
|
3633
3638
|
}, {
|
|
3634
3639
|
default: withCtx(() => {
|
|
3635
3640
|
var _a4, _b2, _c2, _d2;
|
|
3636
3641
|
return [
|
|
3637
|
-
createVNode(_sfc_main$
|
|
3642
|
+
createVNode(_sfc_main$q, mergeProps({ ref_for: true }, nav.iconData, {
|
|
3638
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"}`
|
|
3639
3644
|
}), null, 16, ["class"])
|
|
3640
3645
|
];
|
|
3641
3646
|
}),
|
|
3642
3647
|
_: 2
|
|
3643
|
-
}, 1024)) : (openBlock(), createBlock(_sfc_main$
|
|
3648
|
+
}, 1024)) : (openBlock(), createBlock(_sfc_main$y, {
|
|
3644
3649
|
key: 1,
|
|
3645
3650
|
class: normalizeClass(`flex-column rel flex-5 color-${((_b = (_a3 = __props.colors) == null ? void 0 : _a3.text) == null ? void 0 : _b.normal) || "mgray"}`),
|
|
3646
3651
|
cname: ((_d = (_c = __props.colors) == null ? void 0 : _c.text) == null ? void 0 : _d.act) || "light",
|
|
@@ -3650,11 +3655,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3650
3655
|
}
|
|
3651
3656
|
}, {
|
|
3652
3657
|
default: withCtx(() => [
|
|
3653
|
-
nav.unread === 1 ? (openBlock(), createBlock(_sfc_main$
|
|
3658
|
+
nav.unread === 1 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
3654
3659
|
key: 0,
|
|
3655
3660
|
class: "round w-d7 h-d7 r-9d2-vw t-d2 bg-color-red abs"
|
|
3656
3661
|
})) : createCommentVNode("", true),
|
|
3657
|
-
nav.unread > 1 ? (openBlock(), createBlock(_sfc_main$
|
|
3662
|
+
nav.unread > 1 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
3658
3663
|
key: 1,
|
|
3659
3664
|
class: "flex-5 round w-1d5 h-1d5 bold r-7d7-vw t-fd5 bg-color-red abs color-Cfff"
|
|
3660
3665
|
}, {
|
|
@@ -3663,7 +3668,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3663
3668
|
]),
|
|
3664
3669
|
_: 2
|
|
3665
3670
|
}, 1024)) : createCommentVNode("", true),
|
|
3666
|
-
createVNode(_sfc_main$
|
|
3671
|
+
createVNode(_sfc_main$q, mergeProps({ ref_for: true }, nav.iconData, {
|
|
3667
3672
|
cname: nav.act,
|
|
3668
3673
|
state: curRoute.value.search(nav.hotData.link) === 0 ? "act" : "",
|
|
3669
3674
|
states: {
|
|
@@ -3671,7 +3676,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3671
3676
|
},
|
|
3672
3677
|
class: `w-2d7 h-2d7 ${__props.iconTransAni ? "trans-fast" : ""} fsize-1d7`
|
|
3673
3678
|
}), null, 16, ["cname", "state", "states", "class"]),
|
|
3674
|
-
nav.text ? (openBlock(), createBlock(_sfc_main$
|
|
3679
|
+
nav.text ? (openBlock(), createBlock(_sfc_main$x, {
|
|
3675
3680
|
key: 2,
|
|
3676
3681
|
class: "fsize-d83"
|
|
3677
3682
|
}, {
|
|
@@ -3698,7 +3703,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3698
3703
|
};
|
|
3699
3704
|
}
|
|
3700
3705
|
});
|
|
3701
|
-
const _sfc_main$
|
|
3706
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
3702
3707
|
__name: "datetime-modal-wid",
|
|
3703
3708
|
props: {
|
|
3704
3709
|
datetime: {},
|
|
@@ -3747,13 +3752,13 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3747
3752
|
]),
|
|
3748
3753
|
_: 3
|
|
3749
3754
|
}),
|
|
3750
|
-
modalData.dir ? (openBlock(), createBlock(_sfc_main$
|
|
3755
|
+
modalData.dir ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
3751
3756
|
key: 0,
|
|
3752
3757
|
visiable: state.value,
|
|
3753
3758
|
"onUpdate:visiable": _cache[1] || (_cache[1] = ($event) => state.value = $event)
|
|
3754
3759
|
}, modalData), {
|
|
3755
3760
|
default: withCtx(() => [
|
|
3756
|
-
createVNode(_sfc_main$
|
|
3761
|
+
createVNode(_sfc_main$y, { class: "pad-t-1 lw-24" }, {
|
|
3757
3762
|
default: withCtx(() => [
|
|
3758
3763
|
createVNode(_component_datetime_wid, {
|
|
3759
3764
|
onGetData: ok,
|
|
@@ -3772,7 +3777,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3772
3777
|
};
|
|
3773
3778
|
}
|
|
3774
3779
|
});
|
|
3775
|
-
const _sfc_main$
|
|
3780
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
3776
3781
|
__name: "datetime-wid",
|
|
3777
3782
|
props: {
|
|
3778
3783
|
datetime: {},
|
|
@@ -3951,15 +3956,15 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3951
3956
|
const _component_b_text = resolveComponent("b-text");
|
|
3952
3957
|
const _component_b_list = resolveComponent("b-list");
|
|
3953
3958
|
const _component_btn_wid = resolveComponent("btn-wid");
|
|
3954
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3959
|
+
return openBlock(), createBlock(_sfc_main$y, null, {
|
|
3955
3960
|
default: withCtx(() => [
|
|
3956
|
-
createVNode(_sfc_main$
|
|
3961
|
+
createVNode(_sfc_main$y, { class: "flex-4" }, {
|
|
3957
3962
|
default: withCtx(() => [
|
|
3958
3963
|
createVNode(_component_b_icon, {
|
|
3959
3964
|
icon: "time",
|
|
3960
3965
|
class: "alpha-d7 mrg-r-d7"
|
|
3961
3966
|
}),
|
|
3962
|
-
curTime.y.show ? (openBlock(), createBlock(_sfc_main$
|
|
3967
|
+
curTime.y.show ? (openBlock(), createBlock(_sfc_main$y, { key: 0 }, {
|
|
3963
3968
|
default: withCtx(() => [
|
|
3964
3969
|
createVNode(_component_b_hot, {
|
|
3965
3970
|
onOn_click: _cache[0] || (_cache[0] = ($event) => curOper.value = "y"),
|
|
@@ -3981,7 +3986,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3981
3986
|
]),
|
|
3982
3987
|
_: 1
|
|
3983
3988
|
})) : createCommentVNode("", true),
|
|
3984
|
-
curTime.m.show ? (openBlock(), createBlock(_sfc_main$
|
|
3989
|
+
curTime.m.show ? (openBlock(), createBlock(_sfc_main$y, { key: 1 }, {
|
|
3985
3990
|
default: withCtx(() => [
|
|
3986
3991
|
createVNode(_component_b_hot, {
|
|
3987
3992
|
onOn_click: _cache[1] || (_cache[1] = ($event) => curOper.value = "m"),
|
|
@@ -4003,7 +4008,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4003
4008
|
]),
|
|
4004
4009
|
_: 1
|
|
4005
4010
|
})) : createCommentVNode("", true),
|
|
4006
|
-
curTime.d.show ? (openBlock(), createBlock(_sfc_main$
|
|
4011
|
+
curTime.d.show ? (openBlock(), createBlock(_sfc_main$y, { key: 2 }, {
|
|
4007
4012
|
default: withCtx(() => [
|
|
4008
4013
|
createVNode(_component_b_hot, {
|
|
4009
4014
|
onOn_click: _cache[2] || (_cache[2] = ($event) => curOper.value = "d"),
|
|
@@ -4025,11 +4030,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4025
4030
|
]),
|
|
4026
4031
|
_: 1
|
|
4027
4032
|
})) : createCommentVNode("", true),
|
|
4028
|
-
twoSides.value ? (openBlock(), createBlock(_sfc_main$
|
|
4033
|
+
twoSides.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
4029
4034
|
key: 3,
|
|
4030
4035
|
class: "w-1d4"
|
|
4031
4036
|
})) : createCommentVNode("", true),
|
|
4032
|
-
curTime.h.show ? (openBlock(), createBlock(_sfc_main$
|
|
4037
|
+
curTime.h.show ? (openBlock(), createBlock(_sfc_main$y, { key: 4 }, {
|
|
4033
4038
|
default: withCtx(() => [
|
|
4034
4039
|
createVNode(_component_b_hot, {
|
|
4035
4040
|
onOn_click: _cache[3] || (_cache[3] = ($event) => curOper.value = "h"),
|
|
@@ -4051,7 +4056,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4051
4056
|
]),
|
|
4052
4057
|
_: 1
|
|
4053
4058
|
})) : createCommentVNode("", true),
|
|
4054
|
-
curTime.i.show ? (openBlock(), createBlock(_sfc_main$
|
|
4059
|
+
curTime.i.show ? (openBlock(), createBlock(_sfc_main$y, { key: 5 }, {
|
|
4055
4060
|
default: withCtx(() => [
|
|
4056
4061
|
createVNode(_component_b_hot, {
|
|
4057
4062
|
onOn_click: _cache[4] || (_cache[4] = ($event) => curOper.value = "i"),
|
|
@@ -4073,7 +4078,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4073
4078
|
]),
|
|
4074
4079
|
_: 1
|
|
4075
4080
|
})) : createCommentVNode("", true),
|
|
4076
|
-
curTime.s.show ? (openBlock(), createBlock(_sfc_main$
|
|
4081
|
+
curTime.s.show ? (openBlock(), createBlock(_sfc_main$y, { key: 6 }, {
|
|
4077
4082
|
default: withCtx(() => [
|
|
4078
4083
|
createVNode(_component_b_hot, {
|
|
4079
4084
|
onOn_click: _cache[5] || (_cache[5] = ($event) => curOper.value = "s"),
|
|
@@ -4098,7 +4103,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4098
4103
|
]),
|
|
4099
4104
|
_: 1
|
|
4100
4105
|
}),
|
|
4101
|
-
createVNode(_sfc_main$
|
|
4106
|
+
createVNode(_sfc_main$y, { class: "flex" }, {
|
|
4102
4107
|
default: withCtx(() => [
|
|
4103
4108
|
createVNode(_component_b_list, {
|
|
4104
4109
|
class: "grow-1 h-17 bg-color-neutral mrg-v-1 round-md pad-1",
|
|
@@ -4112,7 +4117,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4112
4117
|
}, {
|
|
4113
4118
|
default: withCtx(() => [
|
|
4114
4119
|
(openBlock(true), createElementBlock(Fragment, null, renderList(options.value, (opt) => {
|
|
4115
|
-
return openBlock(), createBlock(_sfc_main$
|
|
4120
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
4116
4121
|
state: opt.toString(),
|
|
4117
4122
|
hover: "bg-color-neutral",
|
|
4118
4123
|
class: "h-3 pad-h-1 lh-3-rem flex round-sm alpha-d7"
|
|
@@ -4145,7 +4150,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4145
4150
|
};
|
|
4146
4151
|
}
|
|
4147
4152
|
});
|
|
4148
|
-
const _sfc_main$
|
|
4153
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
4149
4154
|
__name: "price-modal-wid",
|
|
4150
4155
|
props: {
|
|
4151
4156
|
price: {},
|
|
@@ -4212,7 +4217,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4212
4217
|
]),
|
|
4213
4218
|
_: 3
|
|
4214
4219
|
}),
|
|
4215
|
-
theme2.dir ? (openBlock(), createBlock(_sfc_main$
|
|
4220
|
+
theme2.dir ? (openBlock(), createBlock(_sfc_main$b, {
|
|
4216
4221
|
key: 0,
|
|
4217
4222
|
visiable: state.value,
|
|
4218
4223
|
"onUpdate:visiable": _cache[2] || (_cache[2] = ($event) => state.value = $event),
|
|
@@ -4252,7 +4257,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4252
4257
|
};
|
|
4253
4258
|
}
|
|
4254
4259
|
});
|
|
4255
|
-
const _sfc_main$
|
|
4260
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
4256
4261
|
__name: "price-wid",
|
|
4257
4262
|
props: {
|
|
4258
4263
|
price: {},
|
|
@@ -4338,11 +4343,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4338
4343
|
const _component_b_hot = resolveComponent("b-hot");
|
|
4339
4344
|
const _component_b_col = resolveComponent("b-col");
|
|
4340
4345
|
const _component_b_row = resolveComponent("b-row");
|
|
4341
|
-
return openBlock(), createBlock(_sfc_main$
|
|
4346
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
4342
4347
|
class: normalizeClass(`${baseStyle.value} bg-color-${theme2.pannel} color-${theme2.text}`)
|
|
4343
4348
|
}, {
|
|
4344
4349
|
default: withCtx(() => [
|
|
4345
|
-
!__props.hideScreen ? (openBlock(), createBlock(_sfc_main$
|
|
4350
|
+
!__props.hideScreen ? (openBlock(), createBlock(_sfc_main$y, {
|
|
4346
4351
|
key: 0,
|
|
4347
4352
|
class: "flex-4 no-wrap pad-1d4"
|
|
4348
4353
|
}, {
|
|
@@ -4363,7 +4368,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4363
4368
|
]),
|
|
4364
4369
|
_: 1
|
|
4365
4370
|
})) : createCommentVNode("", true),
|
|
4366
|
-
createVNode(_sfc_main$
|
|
4371
|
+
createVNode(_sfc_main$y, { class: "pad-b-2 bolder-500" }, {
|
|
4367
4372
|
default: withCtx(() => [
|
|
4368
4373
|
createVNode(_component_b_hot, { onOn_click: selPrice }, {
|
|
4369
4374
|
default: withCtx(() => [
|
|
@@ -4471,7 +4476,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4471
4476
|
}),
|
|
4472
4477
|
createVNode(_component_b_col, { span: 3 }, {
|
|
4473
4478
|
default: withCtx(() => [
|
|
4474
|
-
createVNode(_sfc_main$
|
|
4479
|
+
createVNode(_sfc_main$y, { class: "rel h-4d2" }, {
|
|
4475
4480
|
default: withCtx(() => [
|
|
4476
4481
|
createVNode(_component_b_hot, {
|
|
4477
4482
|
class: normalizeClass(`abs b-0 h-14 max-w bg-color-${theme2.btn2.normal} flex-5 round-sm`),
|
|
@@ -4506,7 +4511,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4506
4511
|
};
|
|
4507
4512
|
}
|
|
4508
4513
|
});
|
|
4509
|
-
const _sfc_main$
|
|
4514
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
4510
4515
|
__name: "content-node-wid",
|
|
4511
4516
|
props: {
|
|
4512
4517
|
dataTree: {},
|
|
@@ -4537,14 +4542,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4537
4542
|
const _component_b_text = resolveComponent("b-text");
|
|
4538
4543
|
const _component_content_node_wid = resolveComponent("content-node-wid", true);
|
|
4539
4544
|
return openBlock(true), createElementBlock(Fragment, null, renderList(dataTree.value, (item) => {
|
|
4540
|
-
return openBlock(), createBlock(_sfc_main$
|
|
4545
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
4541
4546
|
state: `id-${item.id}`,
|
|
4542
4547
|
key: item.id
|
|
4543
4548
|
}, {
|
|
4544
4549
|
default: withCtx(() => {
|
|
4545
4550
|
var _a;
|
|
4546
4551
|
return [
|
|
4547
|
-
createVNode(_sfc_main$
|
|
4552
|
+
createVNode(_sfc_main$w, {
|
|
4548
4553
|
cname: `${item.id}-${Math.random()}`,
|
|
4549
4554
|
class: normalizeClass(`flex-4 pad-v-${gap.value} pad-l-${setIndex(item.level)}`),
|
|
4550
4555
|
hover: __props.hover,
|
|
@@ -4555,7 +4560,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4555
4560
|
state: (((_a = unref(selected)) == null ? void 0 : _a.findIndex((data) => data.id === item.id)) > -1).toString()
|
|
4556
4561
|
}, {
|
|
4557
4562
|
default: withCtx(() => [
|
|
4558
|
-
item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$
|
|
4563
|
+
item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$q, {
|
|
4559
4564
|
key: 0,
|
|
4560
4565
|
class: "mrg-r-d4",
|
|
4561
4566
|
state: item.spread ? "content-wid-spread" : "content-wid-collapse",
|
|
@@ -4574,7 +4579,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4574
4579
|
]),
|
|
4575
4580
|
_: 2
|
|
4576
4581
|
}, 1032, ["cname", "class", "hover", "states", "state"]),
|
|
4577
|
-
item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$
|
|
4582
|
+
item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$y, {
|
|
4578
4583
|
key: 0,
|
|
4579
4584
|
states: {
|
|
4580
4585
|
"show": "show",
|
|
@@ -4603,7 +4608,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4603
4608
|
};
|
|
4604
4609
|
}
|
|
4605
4610
|
});
|
|
4606
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4611
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4607
4612
|
__name: "content-wid",
|
|
4608
4613
|
props: {
|
|
4609
4614
|
dataTree: {},
|
|
@@ -4662,12 +4667,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4662
4667
|
emit("on_select", data);
|
|
4663
4668
|
};
|
|
4664
4669
|
return (_ctx, _cache) => {
|
|
4665
|
-
return openBlock(), createBlock(_sfc_main$
|
|
4670
|
+
return openBlock(), createBlock(_sfc_main$w, {
|
|
4666
4671
|
onOn_click: select,
|
|
4667
4672
|
"event-proxy": true
|
|
4668
4673
|
}, {
|
|
4669
4674
|
default: withCtx(() => [
|
|
4670
|
-
flatState.value ? (openBlock(), createBlock(_sfc_main$
|
|
4675
|
+
flatState.value ? (openBlock(), createBlock(_sfc_main$2, normalizeProps(mergeProps({ key: 0 }, { ...props, dataTree: dataTree.value })), createSlots({ _: 2 }, [
|
|
4671
4676
|
_ctx.$slots.default ? {
|
|
4672
4677
|
name: "default",
|
|
4673
4678
|
fn: withCtx((scope) => [
|
|
@@ -4683,37 +4688,133 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4683
4688
|
}
|
|
4684
4689
|
});
|
|
4685
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
|
+
});
|
|
4686
4786
|
const initGlobalComponents = [
|
|
4787
|
+
_sfc_main$z,
|
|
4687
4788
|
_sfc_main$y,
|
|
4688
4789
|
_sfc_main$x,
|
|
4689
4790
|
_sfc_main$w,
|
|
4690
4791
|
_sfc_main$v,
|
|
4691
|
-
_sfc_main$
|
|
4692
|
-
_sfc_main$
|
|
4792
|
+
_sfc_main$q,
|
|
4793
|
+
_sfc_main$n,
|
|
4693
4794
|
_sfc_main$m,
|
|
4795
|
+
_sfc_main$k,
|
|
4796
|
+
_sfc_main$p,
|
|
4694
4797
|
_sfc_main$l,
|
|
4695
|
-
_sfc_main$j,
|
|
4696
4798
|
_sfc_main$o,
|
|
4697
|
-
_sfc_main$
|
|
4698
|
-
_sfc_main$n,
|
|
4799
|
+
_sfc_main$j,
|
|
4699
4800
|
_sfc_main$i,
|
|
4700
4801
|
_sfc_main$h,
|
|
4701
4802
|
_sfc_main$g,
|
|
4702
4803
|
_sfc_main$f,
|
|
4703
4804
|
_sfc_main$e,
|
|
4704
4805
|
_sfc_main$d,
|
|
4705
|
-
_sfc_main$c,
|
|
4706
|
-
_sfc_main$6,
|
|
4707
|
-
_sfc_main$b,
|
|
4708
4806
|
_sfc_main$7,
|
|
4709
|
-
_sfc_main,
|
|
4710
|
-
_sfc_main$a,
|
|
4807
|
+
_sfc_main$c,
|
|
4711
4808
|
_sfc_main$8,
|
|
4809
|
+
_sfc_main$1,
|
|
4810
|
+
_sfc_main$b,
|
|
4712
4811
|
_sfc_main$9,
|
|
4812
|
+
_sfc_main$a,
|
|
4813
|
+
_sfc_main$6,
|
|
4713
4814
|
_sfc_main$5,
|
|
4714
4815
|
_sfc_main$4,
|
|
4715
4816
|
_sfc_main$3,
|
|
4716
|
-
_sfc_main
|
|
4817
|
+
_sfc_main
|
|
4717
4818
|
];
|
|
4718
4819
|
const index = {
|
|
4719
4820
|
name: "btxui",
|