btxui 1.1.26 → 1.1.27
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 -230
- package/dist/index.js.gz +0 -0
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
- package/yarn-error.log +50 -0
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, normalizeProps, guardReactiveProps
|
|
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";
|
|
2
2
|
const theme = {
|
|
3
3
|
// 预置主题色
|
|
4
4
|
colors: {
|
|
@@ -839,8 +839,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
839
839
|
aniEndClear: { type: Boolean }
|
|
840
840
|
},
|
|
841
841
|
emits: ["on_aniEnd"],
|
|
842
|
-
setup(__props, { emit }) {
|
|
842
|
+
setup(__props, { emit: __emit }) {
|
|
843
843
|
const props = __props;
|
|
844
|
+
const emit = __emit;
|
|
844
845
|
const $el = ref();
|
|
845
846
|
const state = computed(() => props.state);
|
|
846
847
|
let lastAni;
|
|
@@ -877,10 +878,10 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
877
878
|
});
|
|
878
879
|
return (_ctx, _cache) => {
|
|
879
880
|
return openBlock(), createBlock(_sfc_main$y, {
|
|
880
|
-
class: normalizeClass(
|
|
881
|
-
cname:
|
|
882
|
-
states:
|
|
883
|
-
matrix:
|
|
881
|
+
class: normalizeClass(__props.class),
|
|
882
|
+
cname: __props.cname,
|
|
883
|
+
states: __props.states,
|
|
884
|
+
matrix: __props.matrix
|
|
884
885
|
}, {
|
|
885
886
|
className: withCtx((scope) => [
|
|
886
887
|
createElementVNode("div", {
|
|
@@ -912,14 +913,14 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
912
913
|
setup(__props) {
|
|
913
914
|
return (_ctx, _cache) => {
|
|
914
915
|
return openBlock(), createBlock(_sfc_main$y, {
|
|
915
|
-
class: normalizeClass(
|
|
916
|
-
states:
|
|
917
|
-
cname:
|
|
916
|
+
class: normalizeClass(__props.class),
|
|
917
|
+
states: __props.states,
|
|
918
|
+
cname: __props.cname
|
|
918
919
|
}, {
|
|
919
920
|
className: withCtx((scope) => [
|
|
920
921
|
createElementVNode("span", {
|
|
921
922
|
class: normalizeClass(scope.className),
|
|
922
|
-
state:
|
|
923
|
+
state: __props.state
|
|
923
924
|
}, [
|
|
924
925
|
renderSlot(_ctx.$slots, "default")
|
|
925
926
|
], 10, _hoisted_1$a)
|
|
@@ -958,9 +959,10 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
958
959
|
"on_longTouch",
|
|
959
960
|
"on_transend"
|
|
960
961
|
],
|
|
961
|
-
setup(__props, { expose: __expose, emit }) {
|
|
962
|
-
const props = __props;
|
|
962
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
963
963
|
const { proxy } = getCurrentInstance();
|
|
964
|
+
const props = __props;
|
|
965
|
+
const emit = __emit;
|
|
964
966
|
const $anchor = ref();
|
|
965
967
|
const target = ref("");
|
|
966
968
|
let routeLink;
|
|
@@ -1040,14 +1042,14 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1040
1042
|
});
|
|
1041
1043
|
return (_ctx, _cache) => {
|
|
1042
1044
|
return openBlock(), createBlock(_sfc_main$y, {
|
|
1043
|
-
class: normalizeClass(
|
|
1044
|
-
states:
|
|
1045
|
-
hover:
|
|
1046
|
-
active:
|
|
1047
|
-
cname:
|
|
1045
|
+
class: normalizeClass(__props.class),
|
|
1046
|
+
states: __props.states,
|
|
1047
|
+
hover: __props.hover,
|
|
1048
|
+
active: __props.active,
|
|
1049
|
+
cname: __props.cname
|
|
1048
1050
|
}, {
|
|
1049
1051
|
className: withCtx((scope) => [
|
|
1050
|
-
(openBlock(), createBlock(resolveDynamicComponent(
|
|
1052
|
+
(openBlock(), createBlock(resolveDynamicComponent(__props.eventProxy ? "div" : "a"), {
|
|
1051
1053
|
style: normalizeStyle(`user-select: none; cursor: ${cursor.value};`),
|
|
1052
1054
|
ref_key: "$anchor",
|
|
1053
1055
|
ref: $anchor,
|
|
@@ -1056,7 +1058,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1056
1058
|
onMouseenter: withModifiers(enter, ["prevent"]),
|
|
1057
1059
|
onMousemove: withModifiers(move, ["prevent"]),
|
|
1058
1060
|
onMouseleave: withModifiers(leave, ["prevent"]),
|
|
1059
|
-
onTouchstart:
|
|
1061
|
+
onTouchstart: enter,
|
|
1060
1062
|
onTouchmove: withModifiers(move, ["prevent"]),
|
|
1061
1063
|
onTouchend: leave,
|
|
1062
1064
|
onClick: click,
|
|
@@ -1065,16 +1067,16 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1065
1067
|
onTransitionend: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("on_transend", $event)),
|
|
1066
1068
|
target: target.value,
|
|
1067
1069
|
class: normalizeClass(scope.className),
|
|
1068
|
-
hover:
|
|
1069
|
-
state:
|
|
1070
|
-
active:
|
|
1070
|
+
hover: __props.hover ? true : "",
|
|
1071
|
+
state: __props.state,
|
|
1072
|
+
active: __props.active ? true : "",
|
|
1071
1073
|
href: url.value
|
|
1072
1074
|
}, {
|
|
1073
1075
|
default: withCtx(() => [
|
|
1074
1076
|
renderSlot(_ctx.$slots, "default")
|
|
1075
1077
|
]),
|
|
1076
|
-
_:
|
|
1077
|
-
},
|
|
1078
|
+
_: 3
|
|
1079
|
+
}, 40, ["style", "target", "class", "hover", "state", "active", "href"]))
|
|
1078
1080
|
]),
|
|
1079
1081
|
_: 3
|
|
1080
1082
|
}, 8, ["class", "states", "hover", "active", "cname"]);
|
|
@@ -1095,9 +1097,10 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
1095
1097
|
cname: {}
|
|
1096
1098
|
},
|
|
1097
1099
|
emits: ["on_load"],
|
|
1098
|
-
setup(__props, { expose: __expose, emit }) {
|
|
1100
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
1099
1101
|
const props = __props;
|
|
1100
1102
|
const img = computed(() => props.img);
|
|
1103
|
+
const emit = __emit;
|
|
1101
1104
|
const src = ref("");
|
|
1102
1105
|
const $img = ref();
|
|
1103
1106
|
const setSrc = () => {
|
|
@@ -1121,22 +1124,22 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
1121
1124
|
});
|
|
1122
1125
|
return (_ctx, _cache) => {
|
|
1123
1126
|
return openBlock(), createBlock(_sfc_main$y, {
|
|
1124
|
-
class: normalizeClass(
|
|
1125
|
-
cname:
|
|
1126
|
-
states:
|
|
1127
|
-
matrix:
|
|
1127
|
+
class: normalizeClass(__props.class),
|
|
1128
|
+
cname: __props.cname,
|
|
1129
|
+
states: __props.states,
|
|
1130
|
+
matrix: __props.matrix
|
|
1128
1131
|
}, {
|
|
1129
1132
|
className: withCtx((scope) => [
|
|
1130
1133
|
src.value ? (openBlock(), createElementBlock("img", {
|
|
1131
1134
|
key: 0,
|
|
1132
1135
|
src: src.value,
|
|
1133
1136
|
class: normalizeClass(`${scope.className} ani-fade-in`),
|
|
1134
|
-
state:
|
|
1137
|
+
state: __props.state,
|
|
1135
1138
|
style: normalizeStyle({
|
|
1136
1139
|
display: "block",
|
|
1137
1140
|
...scope.matrixStyle
|
|
1138
1141
|
}),
|
|
1139
|
-
alt:
|
|
1142
|
+
alt: __props.alt,
|
|
1140
1143
|
ref_key: "$img",
|
|
1141
1144
|
ref: $img
|
|
1142
1145
|
}, null, 14, _hoisted_1$9)) : (openBlock(), createElementBlock("div", {
|
|
@@ -1231,27 +1234,27 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
1231
1234
|
const props = __props;
|
|
1232
1235
|
return (_ctx, _cache) => {
|
|
1233
1236
|
return openBlock(), createBlock(_sfc_main$y, {
|
|
1234
|
-
class: normalizeClass(
|
|
1235
|
-
states:
|
|
1236
|
-
cname:
|
|
1237
|
+
class: normalizeClass(__props.class),
|
|
1238
|
+
states: __props.states,
|
|
1239
|
+
cname: __props.cname
|
|
1237
1240
|
}, {
|
|
1238
1241
|
className: withCtx((scope) => [
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1242
|
+
__props.icon.search("ani_") === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1243
|
+
__props.icon === "ani_success" ? (openBlock(), createBlock(_sfc_main$t, { key: "success" })) : createCommentVNode("", true),
|
|
1244
|
+
__props.icon === "ani_fail" ? (openBlock(), createBlock(AniFail, { key: "fail" })) : createCommentVNode("", true),
|
|
1245
|
+
__props.icon === "ani_notic" ? (openBlock(), createBlock(AniNotic, { key: "notic" })) : createCommentVNode("", true),
|
|
1246
|
+
__props.icon === "ani_loading" ? (openBlock(), createBlock(AniLoading, { key: "loading" })) : createCommentVNode("", true)
|
|
1244
1247
|
], 64)) : createCommentVNode("", true),
|
|
1245
|
-
|
|
1248
|
+
__props.icon.search("/") > -1 ? (openBlock(), createBlock(_sfc_main$x, {
|
|
1246
1249
|
key: 1,
|
|
1247
|
-
"bg-img":
|
|
1248
|
-
states:
|
|
1249
|
-
class: normalizeClass(
|
|
1250
|
-
state:
|
|
1250
|
+
"bg-img": __props.icon,
|
|
1251
|
+
states: __props.states,
|
|
1252
|
+
class: normalizeClass(__props.class),
|
|
1253
|
+
state: __props.state
|
|
1251
1254
|
}, null, 8, ["bg-img", "states", "class", "state"])) : (openBlock(), createElementBlock("i", {
|
|
1252
1255
|
key: 2,
|
|
1253
1256
|
class: normalizeClass(`ico-${props.icon} ${scope.className}`),
|
|
1254
|
-
state:
|
|
1257
|
+
state: __props.state
|
|
1255
1258
|
}, null, 10, _hoisted_1$8))
|
|
1256
1259
|
]),
|
|
1257
1260
|
_: 1
|
|
@@ -1283,8 +1286,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1283
1286
|
min: {}
|
|
1284
1287
|
},
|
|
1285
1288
|
emits: ["update:text", "on_focus", "on_blur", "on_change", "multiline"],
|
|
1286
|
-
setup(__props, { expose: __expose, emit }) {
|
|
1289
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
1287
1290
|
const props = __props;
|
|
1291
|
+
const emit = __emit;
|
|
1288
1292
|
const preset_rules = {
|
|
1289
1293
|
required: {
|
|
1290
1294
|
regexp: /[\w\.\-_\u4e00-\u9fa5]+/,
|
|
@@ -1412,36 +1416,36 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1412
1416
|
const _component_b_view = resolveComponent("b-view");
|
|
1413
1417
|
const _component_b_icon = resolveComponent("b-icon");
|
|
1414
1418
|
return openBlock(), createBlock(_sfc_main$y, {
|
|
1415
|
-
class: normalizeClass(
|
|
1416
|
-
focus:
|
|
1417
|
-
states:
|
|
1418
|
-
cname:
|
|
1419
|
+
class: normalizeClass(__props.class),
|
|
1420
|
+
focus: __props.focus,
|
|
1421
|
+
states: __props.states,
|
|
1422
|
+
cname: __props.cname
|
|
1419
1423
|
}, {
|
|
1420
1424
|
className: withCtx((scope) => [
|
|
1421
1425
|
createVNode(_component_b_view, { class: "flex-4 rel" }, {
|
|
1422
1426
|
default: withCtx(() => {
|
|
1423
1427
|
var _a;
|
|
1424
1428
|
return [
|
|
1425
|
-
|
|
1429
|
+
__props.aspectHeight ? withDirectives((openBlock(), createElementBlock("span", {
|
|
1426
1430
|
key: 0,
|
|
1427
1431
|
class: normalizeClass(scope.className),
|
|
1428
1432
|
style: { "pointer-events": "none", "position": "absolute", "background": "none", "border": "none", "opacity": ".4", "font-size": ".9em" }
|
|
1429
|
-
}, toDisplayString(
|
|
1430
|
-
[vShow, !
|
|
1433
|
+
}, toDisplayString(__props.placeholder), 3)), [
|
|
1434
|
+
[vShow, !__props.text]
|
|
1431
1435
|
]) : createCommentVNode("", true),
|
|
1432
|
-
|
|
1436
|
+
__props.aspectHeight ? (openBlock(), createElementBlock("div", {
|
|
1433
1437
|
key: 1,
|
|
1434
1438
|
class: normalizeClass(scope.className),
|
|
1435
|
-
contenteditable: !
|
|
1439
|
+
contenteditable: !__props.readonly,
|
|
1436
1440
|
onFocus: _cache[0] || (_cache[0] = ($event) => focusEvent($event)),
|
|
1437
1441
|
onBlur: blurEvent,
|
|
1438
1442
|
onChange: change,
|
|
1439
1443
|
onInput: input2,
|
|
1440
1444
|
ref_key: "$input",
|
|
1441
1445
|
ref: $input,
|
|
1442
|
-
"focus-state":
|
|
1446
|
+
"focus-state": __props.focus ? "true" : "",
|
|
1443
1447
|
style: { "outline": "none", "width": "100%" },
|
|
1444
|
-
state:
|
|
1448
|
+
state: __props.state,
|
|
1445
1449
|
autocomplete: "off"
|
|
1446
1450
|
}, toDisplayString(val2.value), 43, _hoisted_1$7)) : withDirectives((openBlock(), createElementBlock("input", {
|
|
1447
1451
|
key: 2,
|
|
@@ -1451,20 +1455,20 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1451
1455
|
onChange: change,
|
|
1452
1456
|
onInput: input,
|
|
1453
1457
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => val.value = $event),
|
|
1454
|
-
type:
|
|
1458
|
+
type: __props.type,
|
|
1455
1459
|
ref_key: "$input",
|
|
1456
1460
|
ref: $input,
|
|
1457
|
-
name:
|
|
1458
|
-
"focus-state":
|
|
1459
|
-
state:
|
|
1460
|
-
placeholder:
|
|
1461
|
-
maxlength:
|
|
1462
|
-
readonly:
|
|
1461
|
+
name: __props.name,
|
|
1462
|
+
"focus-state": __props.focus ? "true" : "",
|
|
1463
|
+
state: __props.state,
|
|
1464
|
+
placeholder: __props.placeholder,
|
|
1465
|
+
maxlength: __props.maxlength,
|
|
1466
|
+
readonly: __props.readonly,
|
|
1463
1467
|
autocomplete: "off"
|
|
1464
1468
|
}, null, 42, _hoisted_2$2)), [
|
|
1465
1469
|
[vModelDynamic, val.value]
|
|
1466
1470
|
]),
|
|
1467
|
-
|
|
1471
|
+
__props.type === "number" ? (openBlock(), createBlock(_component_b_view, {
|
|
1468
1472
|
key: 3,
|
|
1469
1473
|
class: "trans-fast abs r-6-px gap-2-px flex-4",
|
|
1470
1474
|
states: {
|
|
@@ -1480,9 +1484,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1480
1484
|
active: "dark-sm",
|
|
1481
1485
|
hover: "alpha-d8"
|
|
1482
1486
|
}, {
|
|
1483
|
-
default: withCtx(() => [
|
|
1484
|
-
createTextVNode(" + ")
|
|
1485
|
-
]),
|
|
1487
|
+
default: withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
1488
|
+
createTextVNode(" + ", -1)
|
|
1489
|
+
])]),
|
|
1486
1490
|
_: 1
|
|
1487
1491
|
}),
|
|
1488
1492
|
createVNode(_component_b_hot, {
|
|
@@ -1491,15 +1495,15 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1491
1495
|
active: "dark-sm",
|
|
1492
1496
|
hover: "alpha-d8"
|
|
1493
1497
|
}, {
|
|
1494
|
-
default: withCtx(() => [
|
|
1495
|
-
createTextVNode(" - ")
|
|
1496
|
-
]),
|
|
1498
|
+
default: withCtx(() => [..._cache[6] || (_cache[6] = [
|
|
1499
|
+
createTextVNode(" - ", -1)
|
|
1500
|
+
])]),
|
|
1497
1501
|
_: 1
|
|
1498
1502
|
})
|
|
1499
1503
|
]),
|
|
1500
1504
|
_: 1
|
|
1501
1505
|
}, 8, ["state"])) : createCommentVNode("", true),
|
|
1502
|
-
!
|
|
1506
|
+
!__props.readonly && !__props.aspectHeight && !__props.hideClear && __props.type !== "number" ? (openBlock(), createBlock(_component_b_hot, {
|
|
1503
1507
|
key: 4,
|
|
1504
1508
|
onOn_click: clear,
|
|
1505
1509
|
class: "trans-fast abs r-1",
|
|
@@ -1545,8 +1549,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1545
1549
|
cname: {}
|
|
1546
1550
|
},
|
|
1547
1551
|
emits: ["on_focus", "on_blur", "on_change", "update:text"],
|
|
1548
|
-
setup(__props, { emit }) {
|
|
1552
|
+
setup(__props, { emit: __emit }) {
|
|
1549
1553
|
const props = __props;
|
|
1554
|
+
const emit = __emit;
|
|
1550
1555
|
const val = ref(props.text);
|
|
1551
1556
|
const formatText = (text) => text.replace(/[\n\r]/g, "<br>");
|
|
1552
1557
|
const inputText = () => {
|
|
@@ -1554,10 +1559,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1554
1559
|
};
|
|
1555
1560
|
return (_ctx, _cache) => {
|
|
1556
1561
|
return openBlock(), createBlock(_sfc_main$y, {
|
|
1557
|
-
class: normalizeClass(
|
|
1558
|
-
focus:
|
|
1559
|
-
states:
|
|
1560
|
-
cname:
|
|
1562
|
+
class: normalizeClass(__props.class),
|
|
1563
|
+
focus: __props.focus,
|
|
1564
|
+
states: __props.states,
|
|
1565
|
+
cname: __props.cname
|
|
1561
1566
|
}, {
|
|
1562
1567
|
className: withCtx((scope) => [
|
|
1563
1568
|
withDirectives(createElementVNode("textarea", {
|
|
@@ -1567,13 +1572,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1567
1572
|
onChange: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("on_change", $event)),
|
|
1568
1573
|
onInput: inputText,
|
|
1569
1574
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => val.value = $event),
|
|
1570
|
-
name:
|
|
1571
|
-
focus:
|
|
1572
|
-
state:
|
|
1573
|
-
placeholder:
|
|
1574
|
-
maxlength:
|
|
1575
|
-
readonly:
|
|
1576
|
-
rows:
|
|
1575
|
+
name: __props.name,
|
|
1576
|
+
focus: __props.focus ? true : "",
|
|
1577
|
+
state: __props.state,
|
|
1578
|
+
placeholder: __props.placeholder,
|
|
1579
|
+
maxlength: __props.maxlength,
|
|
1580
|
+
readonly: __props.readonly,
|
|
1581
|
+
rows: __props.rows || 7
|
|
1577
1582
|
}, null, 42, _hoisted_1$6), [
|
|
1578
1583
|
[vModelText, val.value]
|
|
1579
1584
|
])
|
|
@@ -1599,7 +1604,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1599
1604
|
muted: { type: Boolean }
|
|
1600
1605
|
},
|
|
1601
1606
|
emits: ["on_play"],
|
|
1602
|
-
setup(__props, { expose: __expose, emit }) {
|
|
1607
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
1608
|
+
const emit = __emit;
|
|
1603
1609
|
const $video = ref();
|
|
1604
1610
|
const iconScale = ref(0);
|
|
1605
1611
|
onMounted(() => {
|
|
@@ -1648,14 +1654,14 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1648
1654
|
const _component_b_view = resolveComponent("b-view");
|
|
1649
1655
|
const _component_b_hot = resolveComponent("b-hot");
|
|
1650
1656
|
return openBlock(), createBlock(_sfc_main$y, {
|
|
1651
|
-
class: normalizeClass(
|
|
1652
|
-
cname:
|
|
1657
|
+
class: normalizeClass(__props.class),
|
|
1658
|
+
cname: __props.cname
|
|
1653
1659
|
}, {
|
|
1654
1660
|
className: withCtx((scope) => [
|
|
1655
1661
|
createElementVNode("div", {
|
|
1656
1662
|
class: normalizeClass(`${scope.className} over-hide rel`)
|
|
1657
1663
|
}, [
|
|
1658
|
-
|
|
1664
|
+
__props.customControls ? (openBlock(), createBlock(_component_b_hot, {
|
|
1659
1665
|
key: 0,
|
|
1660
1666
|
class: "max abs flex-5 z-2 bg-color-rgba_0_0_0_d1 trans-fast",
|
|
1661
1667
|
onOn_click: togglePlay,
|
|
@@ -1687,19 +1693,19 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1687
1693
|
]),
|
|
1688
1694
|
_: 1
|
|
1689
1695
|
}, 8, ["state"])) : createCommentVNode("", true),
|
|
1690
|
-
|
|
1696
|
+
__props.fullScreen ? (openBlock(), createElementBlock("video", {
|
|
1691
1697
|
key: 1,
|
|
1692
1698
|
ref_key: "$video",
|
|
1693
1699
|
ref: $video,
|
|
1694
1700
|
onPlaying: playing,
|
|
1695
1701
|
onDurationchange: playing,
|
|
1696
1702
|
class: normalizeClass(scope.className),
|
|
1697
|
-
poster:
|
|
1698
|
-
muted:
|
|
1699
|
-
src:
|
|
1700
|
-
autoplay:
|
|
1701
|
-
controls: !
|
|
1702
|
-
loop:
|
|
1703
|
+
poster: __props.poster,
|
|
1704
|
+
muted: __props.muted,
|
|
1705
|
+
src: __props.video,
|
|
1706
|
+
autoplay: __props.autoPlay,
|
|
1707
|
+
controls: !__props.customControls,
|
|
1708
|
+
loop: __props.loop
|
|
1703
1709
|
}, null, 42, _hoisted_1$5)) : (openBlock(), createElementBlock("video", {
|
|
1704
1710
|
key: 2,
|
|
1705
1711
|
ref_key: "$video",
|
|
@@ -1710,12 +1716,12 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1710
1716
|
playsinline: "",
|
|
1711
1717
|
"x5-video-player-type": "h5-page",
|
|
1712
1718
|
class: normalizeClass(scope.className),
|
|
1713
|
-
poster:
|
|
1714
|
-
muted:
|
|
1715
|
-
src:
|
|
1716
|
-
autoplay:
|
|
1717
|
-
controls: !
|
|
1718
|
-
loop:
|
|
1719
|
+
poster: __props.poster,
|
|
1720
|
+
muted: __props.muted,
|
|
1721
|
+
src: __props.video,
|
|
1722
|
+
autoplay: __props.autoPlay,
|
|
1723
|
+
controls: !__props.customControls,
|
|
1724
|
+
loop: __props.loop
|
|
1719
1725
|
}, null, 42, _hoisted_2$1))
|
|
1720
1726
|
], 2)
|
|
1721
1727
|
]),
|
|
@@ -1737,8 +1743,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1737
1743
|
cname: {}
|
|
1738
1744
|
},
|
|
1739
1745
|
emits: ["on_scroll", "on_to_top", "on_to_bottom"],
|
|
1740
|
-
setup(__props, { expose: __expose, emit }) {
|
|
1746
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
1741
1747
|
const props = __props;
|
|
1748
|
+
const emit = __emit;
|
|
1742
1749
|
const $list = ref();
|
|
1743
1750
|
const scrollTypeClass = computed(() => {
|
|
1744
1751
|
if (props.scrollType)
|
|
@@ -1790,20 +1797,20 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1790
1797
|
});
|
|
1791
1798
|
return (_ctx, _cache) => {
|
|
1792
1799
|
return openBlock(), createBlock(_sfc_main$y, {
|
|
1793
|
-
class: normalizeClass(
|
|
1794
|
-
states:
|
|
1795
|
-
cname:
|
|
1800
|
+
class: normalizeClass(__props.class),
|
|
1801
|
+
states: __props.states,
|
|
1802
|
+
cname: __props.cname
|
|
1796
1803
|
}, {
|
|
1797
1804
|
className: withCtx((scope) => [
|
|
1798
1805
|
createElementVNode("div", {
|
|
1799
1806
|
class: normalizeClass(scope.className),
|
|
1800
|
-
state:
|
|
1807
|
+
state: __props.state
|
|
1801
1808
|
}, [
|
|
1802
1809
|
createElementVNode("div", {
|
|
1803
1810
|
ref_key: "$list",
|
|
1804
1811
|
ref: $list,
|
|
1805
1812
|
class: normalizeClass(scrollTypeClass.value),
|
|
1806
|
-
style: normalizeStyle(`overflow-x: ${
|
|
1813
|
+
style: normalizeStyle(`overflow-x: ${__props.scroll.x}; overflow-y: ${__props.scroll.y}; width: 100%; height: 100%;`),
|
|
1807
1814
|
onTouchmove: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
1808
1815
|
}, ["stop"]))
|
|
1809
1816
|
}, [
|
|
@@ -1828,8 +1835,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1828
1835
|
cname: {}
|
|
1829
1836
|
},
|
|
1830
1837
|
emits: ["on_drag_start", "on_drag_end", "on_drag_over", "on_drag_leave", "on_drop", "on_move"],
|
|
1831
|
-
setup(__props, { emit }) {
|
|
1838
|
+
setup(__props, { emit: __emit }) {
|
|
1832
1839
|
const props = __props;
|
|
1840
|
+
const emit = __emit;
|
|
1833
1841
|
const $el = ref();
|
|
1834
1842
|
const state = ref("");
|
|
1835
1843
|
const dragState = ref(false);
|
|
@@ -1928,16 +1936,16 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1928
1936
|
});
|
|
1929
1937
|
return (_ctx, _cache) => {
|
|
1930
1938
|
return openBlock(), createBlock(_sfc_main$y, {
|
|
1931
|
-
class: normalizeClass(
|
|
1932
|
-
states: { dragStart:
|
|
1933
|
-
cname:
|
|
1939
|
+
class: normalizeClass(__props.class),
|
|
1940
|
+
states: { dragStart: __props.dragStart, dragOver: __props.dragOver },
|
|
1941
|
+
cname: __props.cname
|
|
1934
1942
|
}, {
|
|
1935
1943
|
className: withCtx((scope) => [
|
|
1936
1944
|
createElementVNode("div", {
|
|
1937
1945
|
style: normalizeStyle({
|
|
1938
|
-
cursor:
|
|
1946
|
+
cursor: __props.dragOver ? "default" : "move",
|
|
1939
1947
|
visibility: dragState.value ? "hidden" : "visible",
|
|
1940
|
-
position:
|
|
1948
|
+
position: __props.freeDrag ? "absolute" : "relative",
|
|
1941
1949
|
left: 0,
|
|
1942
1950
|
top: 0,
|
|
1943
1951
|
transform: `translate(${movePos.x}px, ${movePos.y}px)`
|
|
@@ -1946,7 +1954,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1946
1954
|
ref: $el,
|
|
1947
1955
|
class: normalizeClass(scope.className),
|
|
1948
1956
|
state: state.value,
|
|
1949
|
-
draggable:
|
|
1957
|
+
draggable: __props.dragStart ? true : false
|
|
1950
1958
|
}, [
|
|
1951
1959
|
renderSlot(_ctx.$slots, "default")
|
|
1952
1960
|
], 14, _hoisted_1$3)
|
|
@@ -1967,14 +1975,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
1967
1975
|
setup(__props) {
|
|
1968
1976
|
return (_ctx, _cache) => {
|
|
1969
1977
|
return openBlock(), createBlock(_sfc_main$y, {
|
|
1970
|
-
class: normalizeClass(
|
|
1971
|
-
cname:
|
|
1978
|
+
class: normalizeClass(__props.class),
|
|
1979
|
+
cname: __props.cname
|
|
1972
1980
|
}, {
|
|
1973
1981
|
className: withCtx((scope) => [
|
|
1974
1982
|
createElementVNode("iframe", {
|
|
1975
1983
|
class: normalizeClass(scope.className),
|
|
1976
1984
|
frameborder: "0",
|
|
1977
|
-
src:
|
|
1985
|
+
src: __props.src
|
|
1978
1986
|
}, null, 10, _hoisted_1$2)
|
|
1979
1987
|
]),
|
|
1980
1988
|
_: 1
|
|
@@ -1999,7 +2007,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
1999
2007
|
});
|
|
2000
2008
|
const combClass = ref(`${props.class ?? ""} flex pad-h-${gap.value[0]} pad-v-${gap.value[1]}`);
|
|
2001
2009
|
return (_ctx, _cache) => {
|
|
2002
|
-
return openBlock(), createBlock(_sfc_main$x, mergeProps({ class: combClass.value },
|
|
2010
|
+
return openBlock(), createBlock(_sfc_main$x, mergeProps({ class: combClass.value }, __props.viewData, {
|
|
2003
2011
|
extraClass: {
|
|
2004
2012
|
selector: ">",
|
|
2005
2013
|
value: `pad-h-${gap.value[0]} pad-v-${gap.value[1]}`
|
|
@@ -2025,7 +2033,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
2025
2033
|
const props = __props;
|
|
2026
2034
|
const combClass = ref(`${props.class ?? ""} ${props.span ? "col-" + props.span : ""} ${props.offset ? "offset-" + props.offset : ""}`);
|
|
2027
2035
|
return (_ctx, _cache) => {
|
|
2028
|
-
return openBlock(), createBlock(_sfc_main$x, mergeProps({ class: combClass.value },
|
|
2036
|
+
return openBlock(), createBlock(_sfc_main$x, mergeProps({ class: combClass.value }, __props.viewData), {
|
|
2029
2037
|
default: withCtx(() => [
|
|
2030
2038
|
renderSlot(_ctx.$slots, "default")
|
|
2031
2039
|
]),
|
|
@@ -2094,14 +2102,14 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2094
2102
|
}
|
|
2095
2103
|
});
|
|
2096
2104
|
return (_ctx, _cache) => {
|
|
2097
|
-
return openBlock(), createBlock(_sfc_main$v, mergeProps(
|
|
2098
|
-
class: `flex-5 pad-h-1d4 ${size.value} thick-1 ellipsis ${
|
|
2105
|
+
return openBlock(), createBlock(_sfc_main$v, mergeProps(__props.hotData, {
|
|
2106
|
+
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`,
|
|
2099
2107
|
hover: `${hover.value.text} ${hover.value.bg} ${hover.value.line}`,
|
|
2100
2108
|
active: `${active.value.text} ${active.value.bg} ${active.value.line}`
|
|
2101
2109
|
}), {
|
|
2102
2110
|
default: withCtx(() => [
|
|
2103
|
-
|
|
2104
|
-
createTextVNode(" " + toDisplayString(
|
|
2111
|
+
__props.iconData ? (openBlock(), createBlock(_sfc_main$p, mergeProps({ key: 0 }, __props.iconData, { class: "mrg-r-d7" }), null, 16)) : createCommentVNode("", true),
|
|
2112
|
+
createTextVNode(" " + toDisplayString(__props.btnText), 1)
|
|
2105
2113
|
]),
|
|
2106
2114
|
_: 1
|
|
2107
2115
|
}, 16, ["class", "hover", "active"]);
|
|
@@ -2119,8 +2127,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2119
2127
|
label: {}
|
|
2120
2128
|
},
|
|
2121
2129
|
emits: ["update:selected", "change"],
|
|
2122
|
-
setup(__props, { emit }) {
|
|
2130
|
+
setup(__props, { emit: __emit }) {
|
|
2123
2131
|
const props = __props;
|
|
2132
|
+
const emit = __emit;
|
|
2124
2133
|
const combClass = ref(props.class ?? "flex-4 bg-color-neutral round-sm pad-4-px");
|
|
2125
2134
|
const combActClass = ref(`color-blue ${props.actClass ?? ""}`);
|
|
2126
2135
|
const label = computed(() => {
|
|
@@ -2155,7 +2164,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2155
2164
|
state: selected.value ? "act" : "",
|
|
2156
2165
|
cname: combClass.value + combActClass.value,
|
|
2157
2166
|
states: {
|
|
2158
|
-
act: `bg-color-${
|
|
2167
|
+
act: `bg-color-${__props.actColor ? ((_a = __props.actColor) == null ? void 0 : _a.bg) ?? "blue" : "blue"} color-${__props.actColor ? ((_b = __props.actColor) == null ? void 0 : _b.icon) ?? "light" : "light"}`
|
|
2159
2168
|
}
|
|
2160
2169
|
}, {
|
|
2161
2170
|
default: withCtx(() => [
|
|
@@ -2197,8 +2206,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2197
2206
|
span: {}
|
|
2198
2207
|
},
|
|
2199
2208
|
emits: ["update:selected", "change"],
|
|
2200
|
-
setup(__props, { emit }) {
|
|
2209
|
+
setup(__props, { emit: __emit }) {
|
|
2201
2210
|
const props = __props;
|
|
2211
|
+
const emit = __emit;
|
|
2202
2212
|
const checkboxData = computed(() => {
|
|
2203
2213
|
return props.options.map((opt) => {
|
|
2204
2214
|
var _a;
|
|
@@ -2231,15 +2241,15 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2231
2241
|
const _component_b_col = resolveComponent("b-col");
|
|
2232
2242
|
const _component_b_row = resolveComponent("b-row");
|
|
2233
2243
|
return openBlock(), createBlock(_sfc_main$x, {
|
|
2234
|
-
class: normalizeClass(
|
|
2244
|
+
class: normalizeClass(__props.class)
|
|
2235
2245
|
}, {
|
|
2236
2246
|
default: withCtx(() => [
|
|
2237
|
-
|
|
2247
|
+
__props.title ? (openBlock(), createBlock(_sfc_main$x, {
|
|
2238
2248
|
key: 0,
|
|
2239
2249
|
class: "mrg-b-1"
|
|
2240
2250
|
}, {
|
|
2241
2251
|
default: withCtx(() => [
|
|
2242
|
-
createTextVNode(toDisplayString(
|
|
2252
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
2243
2253
|
]),
|
|
2244
2254
|
_: 1
|
|
2245
2255
|
})) : createCommentVNode("", true),
|
|
@@ -2248,7 +2258,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2248
2258
|
(openBlock(true), createElementBlock(Fragment, null, renderList(checkboxData.value, (item, i) => {
|
|
2249
2259
|
return openBlock(), createBlock(_component_b_col, {
|
|
2250
2260
|
class: "flex-4",
|
|
2251
|
-
span:
|
|
2261
|
+
span: __props.span,
|
|
2252
2262
|
key: i
|
|
2253
2263
|
}, {
|
|
2254
2264
|
default: withCtx(() => [
|
|
@@ -2256,7 +2266,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2256
2266
|
onChange: change,
|
|
2257
2267
|
label: item.label,
|
|
2258
2268
|
value: item.value
|
|
2259
|
-
}, item.checkboxData, {
|
|
2269
|
+
}, { ref_for: true }, item.checkboxData, {
|
|
2260
2270
|
selected: item.selected,
|
|
2261
2271
|
"onUpdate:selected": ($event) => item.selected = $event
|
|
2262
2272
|
}), createSlots({ _: 2 }, [
|
|
@@ -2303,8 +2313,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2303
2313
|
regular: { type: Boolean }
|
|
2304
2314
|
},
|
|
2305
2315
|
emits: ["update:selected", "change"],
|
|
2306
|
-
setup(__props, { emit }) {
|
|
2316
|
+
setup(__props, { emit: __emit }) {
|
|
2307
2317
|
const props = __props;
|
|
2318
|
+
const emit = __emit;
|
|
2308
2319
|
const selected = computed(() => [props.selected]);
|
|
2309
2320
|
const change = (selected2) => {
|
|
2310
2321
|
const values = selected2.map((item) => item.value);
|
|
@@ -2321,14 +2332,14 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2321
2332
|
return (_ctx, _cache) => {
|
|
2322
2333
|
const _component_b_view = resolveComponent("b-view");
|
|
2323
2334
|
return openBlock(), createBlock(_sfc_main$e, {
|
|
2324
|
-
span:
|
|
2325
|
-
title:
|
|
2326
|
-
class: normalizeClass(
|
|
2335
|
+
span: __props.span,
|
|
2336
|
+
title: __props.title,
|
|
2337
|
+
class: normalizeClass(__props.class),
|
|
2327
2338
|
selected: selected.value,
|
|
2328
|
-
options:
|
|
2339
|
+
options: __props.options,
|
|
2329
2340
|
onChange: change
|
|
2330
2341
|
}, createSlots({ _: 2 }, [
|
|
2331
|
-
|
|
2342
|
+
__props.regular ? {
|
|
2332
2343
|
name: "default",
|
|
2333
2344
|
fn: withCtx((scope) => [
|
|
2334
2345
|
createVNode(_component_b_view, { class: "h-24-px w-24-px round-lg pad-d5 bg-color-neutral" }, {
|
|
@@ -2375,8 +2386,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2375
2386
|
noDataNotic: {}
|
|
2376
2387
|
},
|
|
2377
2388
|
emits: ["update:selected", "change"],
|
|
2378
|
-
setup(__props, { emit }) {
|
|
2389
|
+
setup(__props, { emit: __emit }) {
|
|
2379
2390
|
const props = __props;
|
|
2391
|
+
const emit = __emit;
|
|
2380
2392
|
const tabConts = reactive({});
|
|
2381
2393
|
const color = computed(() => props.color ?? "blue");
|
|
2382
2394
|
const tabOrder = reactive({});
|
|
@@ -2437,17 +2449,17 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2437
2449
|
default: withCtx(() => [
|
|
2438
2450
|
createVNode(_sfc_main$d, {
|
|
2439
2451
|
options: options.value,
|
|
2440
|
-
title:
|
|
2452
|
+
title: __props.title,
|
|
2441
2453
|
selected: selected.value,
|
|
2442
2454
|
onChange: change
|
|
2443
2455
|
}, createSlots({ _: 2 }, [
|
|
2444
|
-
slots.value.length === 0 &&
|
|
2456
|
+
slots.value.length === 0 && __props.tabStyle === "grid" ? {
|
|
2445
2457
|
name: "default",
|
|
2446
2458
|
fn: withCtx((scope) => [
|
|
2447
2459
|
createElementVNode("span", { state: scope }, null, 8, _hoisted_1$1)
|
|
2448
2460
|
]),
|
|
2449
2461
|
key: "0"
|
|
2450
|
-
} : slots.value.length === 0 &&
|
|
2462
|
+
} : slots.value.length === 0 && __props.tabStyle === "card" ? {
|
|
2451
2463
|
name: "default",
|
|
2452
2464
|
fn: withCtx((scope) => [
|
|
2453
2465
|
createVNode(_sfc_main$x, { class: "w-4-px b-f1-px h-1-px bg-color-neutral r-f5-px abs" })
|
|
@@ -2493,7 +2505,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2493
2505
|
default: withCtx(() => [
|
|
2494
2506
|
createElementVNode("div", {
|
|
2495
2507
|
innerHTML: tabConts[selected.value],
|
|
2496
|
-
class: normalizeClass(
|
|
2508
|
+
class: normalizeClass(__props.smooth ? `ani-fast ani-${flipDir.value}` : ""),
|
|
2497
2509
|
onAnimationend: _cache[0] || (_cache[0] = ($event) => flipDir.value = "")
|
|
2498
2510
|
}, null, 42, _hoisted_2)
|
|
2499
2511
|
]),
|
|
@@ -2504,7 +2516,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2504
2516
|
}, {
|
|
2505
2517
|
default: withCtx(() => [
|
|
2506
2518
|
createElementVNode("div", {
|
|
2507
|
-
innerHTML:
|
|
2519
|
+
innerHTML: __props.noDataNotic ?? "暂未选择标签"
|
|
2508
2520
|
}, null, 8, _hoisted_3)
|
|
2509
2521
|
]),
|
|
2510
2522
|
_: 1
|
|
@@ -2527,8 +2539,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2527
2539
|
camera: { type: Boolean }
|
|
2528
2540
|
},
|
|
2529
2541
|
emits: ["on_upload"],
|
|
2530
|
-
setup(__props, { emit }) {
|
|
2542
|
+
setup(__props, { emit: __emit }) {
|
|
2531
2543
|
const props = __props;
|
|
2544
|
+
const emit = __emit;
|
|
2532
2545
|
const $uploader = ref();
|
|
2533
2546
|
const btnData = computed(() => {
|
|
2534
2547
|
return {
|
|
@@ -2590,7 +2603,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2590
2603
|
key: 1,
|
|
2591
2604
|
onOn_click: _cache[1] || (_cache[1] = ($event) => $uploader.value.click())
|
|
2592
2605
|
}, btnData.value), null, 16)),
|
|
2593
|
-
|
|
2606
|
+
__props.camera ? (openBlock(), createElementBlock("input", {
|
|
2594
2607
|
key: 2,
|
|
2595
2608
|
type: "file",
|
|
2596
2609
|
style: { "display": "none" },
|
|
@@ -2606,7 +2619,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2606
2619
|
ref_key: "$uploader",
|
|
2607
2620
|
ref: $uploader,
|
|
2608
2621
|
onChange: trigerUpload,
|
|
2609
|
-
multiple:
|
|
2622
|
+
multiple: __props.multiple
|
|
2610
2623
|
}, null, 40, _hoisted_1))
|
|
2611
2624
|
]),
|
|
2612
2625
|
_: 3
|
|
@@ -2627,8 +2640,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2627
2640
|
aniName: {}
|
|
2628
2641
|
},
|
|
2629
2642
|
emits: ["update:visiable", "opened", "closed"],
|
|
2630
|
-
setup(__props, { emit }) {
|
|
2643
|
+
setup(__props, { emit: __emit }) {
|
|
2631
2644
|
const props = __props;
|
|
2645
|
+
const emit = __emit;
|
|
2632
2646
|
const dir = computed(() => props.dir || "bottom");
|
|
2633
2647
|
const dirStyle = computed(() => {
|
|
2634
2648
|
let layout, pannal;
|
|
@@ -2725,13 +2739,13 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2725
2739
|
default: withCtx(() => [
|
|
2726
2740
|
createVNode(_sfc_main$v, {
|
|
2727
2741
|
onOn_transend: matteAniend,
|
|
2728
|
-
onOn_click: _cache[0] || (_cache[0] = ($event) => !
|
|
2729
|
-
state:
|
|
2742
|
+
onOn_click: _cache[0] || (_cache[0] = ($event) => !__props.matteCloseForbid && hide()),
|
|
2743
|
+
state: __props.visiable.toString(),
|
|
2730
2744
|
states: {
|
|
2731
2745
|
true: "alpha-1 visible",
|
|
2732
2746
|
false: "alpha-0"
|
|
2733
2747
|
},
|
|
2734
|
-
class: normalizeClass(`abs trans-fast max t-0 l-0 bg-color-${
|
|
2748
|
+
class: normalizeClass(`abs trans-fast max t-0 l-0 bg-color-${__props.matteColor || "C000000cc"}`)
|
|
2735
2749
|
}, null, 8, ["state", "class"]),
|
|
2736
2750
|
createVNode(_sfc_main$x, {
|
|
2737
2751
|
class: normalizeClass(`${dirStyle.value.pannal} rel ani-mode-both ani-fast`),
|
|
@@ -2743,10 +2757,10 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2743
2757
|
default: withCtx(() => [
|
|
2744
2758
|
renderSlot(_ctx.$slots, "custom", {}, () => [
|
|
2745
2759
|
createVNode(_sfc_main$x, {
|
|
2746
|
-
class: normalizeClass(`bg-color-${
|
|
2760
|
+
class: normalizeClass(`bg-color-${__props.pannelColor || "light"} rel pad-2 ${__props.roundEnable ? "round-md" : ""} ${dirStyle.value.pannal}`)
|
|
2747
2761
|
}, {
|
|
2748
2762
|
default: withCtx(() => [
|
|
2749
|
-
!
|
|
2763
|
+
!__props.closeEnable ? (openBlock(), createBlock(_sfc_main$v, {
|
|
2750
2764
|
key: 0,
|
|
2751
2765
|
class: "abs r-1 t-d7 color-mgray",
|
|
2752
2766
|
onOn_click: hide
|
|
@@ -2783,8 +2797,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2783
2797
|
extra: {}
|
|
2784
2798
|
},
|
|
2785
2799
|
emits: ["close"],
|
|
2786
|
-
setup(__props, { expose: __expose, emit }) {
|
|
2800
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
2787
2801
|
const props = __props;
|
|
2802
|
+
const emit = __emit;
|
|
2788
2803
|
let t;
|
|
2789
2804
|
let hasOpened = false;
|
|
2790
2805
|
const visiable = ref(false);
|
|
@@ -2820,7 +2835,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2820
2835
|
onOpened: opened,
|
|
2821
2836
|
"ani-name": ["ani-fade-in", "ani-fade-out"],
|
|
2822
2837
|
dir: "center",
|
|
2823
|
-
"matte-color":
|
|
2838
|
+
"matte-color": __props.matteColor || "C00000044"
|
|
2824
2839
|
}, {
|
|
2825
2840
|
custom: withCtx(() => [
|
|
2826
2841
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
@@ -2828,7 +2843,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2828
2843
|
default: withCtx(() => {
|
|
2829
2844
|
var _a;
|
|
2830
2845
|
return [
|
|
2831
|
-
|
|
2846
|
+
__props.icon ? (openBlock(), createBlock(_sfc_main$x, {
|
|
2832
2847
|
key: 0,
|
|
2833
2848
|
class: "mrg-b-1d2 fsize-3d2",
|
|
2834
2849
|
states: {
|
|
@@ -2837,16 +2852,16 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2837
2852
|
ani: "ani-rotate"
|
|
2838
2853
|
}
|
|
2839
2854
|
},
|
|
2840
|
-
state: ((_a =
|
|
2855
|
+
state: ((_a = __props.extra) == null ? void 0 : _a.type) ?? ""
|
|
2841
2856
|
}, {
|
|
2842
2857
|
default: withCtx(() => [
|
|
2843
|
-
createVNode(_sfc_main$p, { icon:
|
|
2858
|
+
createVNode(_sfc_main$p, { icon: __props.icon }, null, 8, ["icon"])
|
|
2844
2859
|
]),
|
|
2845
2860
|
_: 1
|
|
2846
2861
|
}, 8, ["state"])) : createCommentVNode("", true),
|
|
2847
2862
|
createVNode(_sfc_main$w, null, {
|
|
2848
2863
|
default: withCtx(() => [
|
|
2849
|
-
createTextVNode(toDisplayString(
|
|
2864
|
+
createTextVNode(toDisplayString(__props.text), 1)
|
|
2850
2865
|
]),
|
|
2851
2866
|
_: 1
|
|
2852
2867
|
})
|
|
@@ -2873,8 +2888,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2873
2888
|
cancel: { type: Function }
|
|
2874
2889
|
},
|
|
2875
2890
|
emits: ["ok", "cancel", "close"],
|
|
2876
|
-
setup(__props, { expose: __expose, emit }) {
|
|
2891
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
2877
2892
|
const props = __props;
|
|
2893
|
+
const emit = __emit;
|
|
2878
2894
|
const visiable = ref(false);
|
|
2879
2895
|
const closed = () => {
|
|
2880
2896
|
emit("close");
|
|
@@ -2918,7 +2934,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2918
2934
|
onClosed: closed,
|
|
2919
2935
|
dir: "center",
|
|
2920
2936
|
"ani-name": ["ani-fade-in", "ani-fade-out"],
|
|
2921
|
-
"matte-color":
|
|
2937
|
+
"matte-color": __props.matteColor
|
|
2922
2938
|
}, {
|
|
2923
2939
|
custom: withCtx(() => [
|
|
2924
2940
|
createVNode(_sfc_main$x, {
|
|
@@ -2929,7 +2945,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2929
2945
|
class: normalizeClass(`color-${theme2.value.text} pad-3d4 fsize-1d4 bolder-470`)
|
|
2930
2946
|
}, {
|
|
2931
2947
|
default: withCtx(() => [
|
|
2932
|
-
createTextVNode(toDisplayString(
|
|
2948
|
+
createTextVNode(toDisplayString(__props.notic), 1)
|
|
2933
2949
|
]),
|
|
2934
2950
|
_: 1
|
|
2935
2951
|
}, 8, ["class"]),
|
|
@@ -2937,7 +2953,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2937
2953
|
class: normalizeClass(`flex solid-t bolder-470 line-${theme2.value.line} thick-d4 fsize-1d44`)
|
|
2938
2954
|
}, {
|
|
2939
2955
|
default: withCtx(() => [
|
|
2940
|
-
|
|
2956
|
+
__props.type === "confirm" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
2941
2957
|
createVNode(_sfc_main$v, {
|
|
2942
2958
|
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`),
|
|
2943
2959
|
active: "bg-color-neutral",
|
|
@@ -2946,7 +2962,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2946
2962
|
default: withCtx(() => {
|
|
2947
2963
|
var _a;
|
|
2948
2964
|
return [
|
|
2949
|
-
createTextVNode(toDisplayString(((_a =
|
|
2965
|
+
createTextVNode(toDisplayString(((_a = __props.text) == null ? void 0 : _a.cancel) || "取消"), 1)
|
|
2950
2966
|
];
|
|
2951
2967
|
}),
|
|
2952
2968
|
_: 1
|
|
@@ -2959,7 +2975,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2959
2975
|
default: withCtx(() => {
|
|
2960
2976
|
var _a;
|
|
2961
2977
|
return [
|
|
2962
|
-
createTextVNode(toDisplayString(((_a =
|
|
2978
|
+
createTextVNode(toDisplayString(((_a = __props.text) == null ? void 0 : _a.ok) || "确定"), 1)
|
|
2963
2979
|
];
|
|
2964
2980
|
}),
|
|
2965
2981
|
_: 1
|
|
@@ -2973,7 +2989,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2973
2989
|
default: withCtx(() => {
|
|
2974
2990
|
var _a;
|
|
2975
2991
|
return [
|
|
2976
|
-
createTextVNode(toDisplayString(((_a =
|
|
2992
|
+
createTextVNode(toDisplayString(((_a = __props.text) == null ? void 0 : _a.ok) || "确定"), 1)
|
|
2977
2993
|
];
|
|
2978
2994
|
}),
|
|
2979
2995
|
_: 1
|
|
@@ -3146,8 +3162,9 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3146
3162
|
camera: { type: Boolean }
|
|
3147
3163
|
},
|
|
3148
3164
|
emits: ["update:preview", "on_upload"],
|
|
3149
|
-
setup(__props, { emit }) {
|
|
3165
|
+
setup(__props, { emit: __emit }) {
|
|
3150
3166
|
const props = __props;
|
|
3167
|
+
const emit = __emit;
|
|
3151
3168
|
const size = computed(() => props.compress ? 1024 * 1024 * 20 : props.size);
|
|
3152
3169
|
const imgUpload = (files, checkResult) => {
|
|
3153
3170
|
if (checkResult.success) {
|
|
@@ -3352,21 +3369,21 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3352
3369
|
createVNode(_sfc_main$b, {
|
|
3353
3370
|
onOn_upload: imgUpload,
|
|
3354
3371
|
size: size.value,
|
|
3355
|
-
multiple:
|
|
3356
|
-
camera:
|
|
3372
|
+
multiple: __props.multiple,
|
|
3373
|
+
camera: __props.camera,
|
|
3357
3374
|
type: ["image/jpeg", "image/png", "image/gif"]
|
|
3358
3375
|
}, {
|
|
3359
3376
|
default: withCtx(() => {
|
|
3360
3377
|
var _a, _b, _c, _d, _e, _f;
|
|
3361
3378
|
return [
|
|
3362
|
-
|
|
3379
|
+
__props.preview ? (openBlock(), createBlock(_component_b_view, {
|
|
3363
3380
|
key: 0,
|
|
3364
|
-
class: normalizeClass(`w-${((_a =
|
|
3365
|
-
"bg-img":
|
|
3381
|
+
class: normalizeClass(`w-${((_a = __props.cover) == null ? void 0 : _a.width) || 7} h-${((_b = __props.cover) == null ? void 0 : _b.height) || 7} bsize-${__props.bsize || "cover"} bpos-2 round-sm bg-color-neutral`),
|
|
3382
|
+
"bg-img": __props.preview
|
|
3366
3383
|
}, null, 8, ["class", "bg-img"])) : (openBlock(), createBlock(_component_b_icon, {
|
|
3367
3384
|
key: 1,
|
|
3368
3385
|
icon: "add",
|
|
3369
|
-
class: normalizeClass(`flex-5 w-${((_c =
|
|
3386
|
+
class: normalizeClass(`flex-5 w-${((_c = __props.cover) == null ? void 0 : _c.width) || 7} h-${((_d = __props.cover) == null ? void 0 : _d.height) || 7} ${((_e = __props.cover) == null ? void 0 : _e.color) ? "color-" + ((_f = __props.cover) == null ? void 0 : _f.color) : ""} round-sm bg-color-neutral`)
|
|
3370
3387
|
}, null, 8, ["class"]))
|
|
3371
3388
|
];
|
|
3372
3389
|
}),
|
|
@@ -3380,13 +3397,13 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3380
3397
|
var _a, _b;
|
|
3381
3398
|
return [
|
|
3382
3399
|
createVNode(_component_b_view, { class: "mrg-b-1" }, {
|
|
3383
|
-
default: withCtx(() => [
|
|
3384
|
-
createTextVNode("拖动/触摸移动,滚轮或捏合缩放")
|
|
3385
|
-
]),
|
|
3400
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
3401
|
+
createTextVNode("拖动/触摸移动,滚轮或捏合缩放", -1)
|
|
3402
|
+
])]),
|
|
3386
3403
|
_: 1
|
|
3387
3404
|
}),
|
|
3388
3405
|
createVNode(_component_b_hot, {
|
|
3389
|
-
class: normalizeClass(`bg-color-dgray show rel line-outside over-hide round-md line-Cffffff44 solid thick-7-px w-${(_a =
|
|
3406
|
+
class: normalizeClass(`bg-color-dgray show rel line-outside over-hide round-md line-Cffffff44 solid thick-7-px w-${(_a = __props.compress) == null ? void 0 : _a.width}-px h-${(_b = __props.compress) == null ? void 0 : _b.height}-px`),
|
|
3390
3407
|
ref_key: "$cropArea",
|
|
3391
3408
|
ref: $cropArea,
|
|
3392
3409
|
onOn_wheel: onWheel,
|
|
@@ -3454,7 +3471,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3454
3471
|
var _a;
|
|
3455
3472
|
const _component_router_view = resolveComponent("router-view");
|
|
3456
3473
|
return openBlock(), createBlock(_sfc_main$x, {
|
|
3457
|
-
class: normalizeClass(`max fixed flex-column color-light select-none bg-color-${((_a =
|
|
3474
|
+
class: normalizeClass(`max fixed flex-column color-light select-none bg-color-${((_a = __props.colors) == null ? void 0 : _a.bg) || "none"}`)
|
|
3458
3475
|
}, {
|
|
3459
3476
|
default: withCtx(() => {
|
|
3460
3477
|
var _a2;
|
|
@@ -3466,7 +3483,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3466
3483
|
class: "abs max"
|
|
3467
3484
|
}, {
|
|
3468
3485
|
default: withCtx(() => [
|
|
3469
|
-
|
|
3486
|
+
__props.keepAlive ? (openBlock(), createBlock(KeepAlive, { key: 0 }, [
|
|
3470
3487
|
createVNode(_component_router_view)
|
|
3471
3488
|
], 1024)) : (openBlock(), createBlock(_component_router_view, { key: 1 }))
|
|
3472
3489
|
]),
|
|
@@ -3476,11 +3493,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3476
3493
|
_: 1
|
|
3477
3494
|
}),
|
|
3478
3495
|
createVNode(_sfc_main$x, {
|
|
3479
|
-
class: normalizeClass(`pcenter pad-t-d5 flex-1 ${
|
|
3496
|
+
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`)
|
|
3480
3497
|
}, {
|
|
3481
3498
|
default: withCtx(() => [
|
|
3482
3499
|
(openBlock(true), createElementBlock(Fragment, null, renderList(navs.value, (nav, i) => {
|
|
3483
|
-
return openBlock(), createBlock(_sfc_main$v, mergeProps({ key: i }, nav.hotData, {
|
|
3500
|
+
return openBlock(), createBlock(_sfc_main$v, mergeProps({ key: i }, { ref_for: true }, nav.hotData, {
|
|
3484
3501
|
class: "grow-1",
|
|
3485
3502
|
onOn_click: ($event) => _ctx.$emit("on_toggle", nav)
|
|
3486
3503
|
}), {
|
|
@@ -3494,19 +3511,19 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3494
3511
|
default: withCtx(() => {
|
|
3495
3512
|
var _a4, _b2, _c2, _d2;
|
|
3496
3513
|
return [
|
|
3497
|
-
createVNode(_sfc_main$p, mergeProps(nav.iconData, {
|
|
3498
|
-
class: `abs flex-5 solid t-f1d4 thick-2 w-5 h-5 round fsize-1d7 line-${((_b2 = (_a4 =
|
|
3514
|
+
createVNode(_sfc_main$p, mergeProps({ ref_for: true }, nav.iconData, {
|
|
3515
|
+
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"}`
|
|
3499
3516
|
}), null, 16, ["class"])
|
|
3500
3517
|
];
|
|
3501
3518
|
}),
|
|
3502
3519
|
_: 2
|
|
3503
3520
|
}, 1024)) : (openBlock(), createBlock(_sfc_main$x, {
|
|
3504
3521
|
key: 1,
|
|
3505
|
-
class: normalizeClass(`flex-column rel flex-5 color-${((_b = (_a3 =
|
|
3506
|
-
cname: ((_d = (_c =
|
|
3522
|
+
class: normalizeClass(`flex-column rel flex-5 color-${((_b = (_a3 = __props.colors) == null ? void 0 : _a3.text) == null ? void 0 : _b.normal) || "mgray"}`),
|
|
3523
|
+
cname: ((_d = (_c = __props.colors) == null ? void 0 : _c.text) == null ? void 0 : _d.act) || "light",
|
|
3507
3524
|
state: curRoute.value.search(nav.hotData.link) === 0 ? "act" : "",
|
|
3508
3525
|
states: {
|
|
3509
|
-
act: `color-${((_f = (_e =
|
|
3526
|
+
act: `color-${((_f = (_e = __props.colors) == null ? void 0 : _e.text) == null ? void 0 : _f.act) || "light"}`
|
|
3510
3527
|
}
|
|
3511
3528
|
}, {
|
|
3512
3529
|
default: withCtx(() => [
|
|
@@ -3523,13 +3540,13 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3523
3540
|
]),
|
|
3524
3541
|
_: 2
|
|
3525
3542
|
}, 1024)) : createCommentVNode("", true),
|
|
3526
|
-
createVNode(_sfc_main$p, mergeProps(nav.iconData, {
|
|
3543
|
+
createVNode(_sfc_main$p, mergeProps({ ref_for: true }, nav.iconData, {
|
|
3527
3544
|
cname: nav.act,
|
|
3528
3545
|
state: curRoute.value.search(nav.hotData.link) === 0 ? "act" : "",
|
|
3529
3546
|
states: {
|
|
3530
3547
|
act: nav.act ?? ""
|
|
3531
3548
|
},
|
|
3532
|
-
class: `w-2d7 h-2d7 ${
|
|
3549
|
+
class: `w-2d7 h-2d7 ${__props.iconTransAni ? "trans-fast" : ""} fsize-1d7`
|
|
3533
3550
|
}), null, 16, ["cname", "state", "states", "class"]),
|
|
3534
3551
|
nav.text ? (openBlock(), createBlock(_sfc_main$w, {
|
|
3535
3552
|
key: 2,
|
|
@@ -3567,8 +3584,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3567
3584
|
modalData: {}
|
|
3568
3585
|
},
|
|
3569
3586
|
emits: ["update:datetime", "getData"],
|
|
3570
|
-
setup(__props, { expose: __expose, emit }) {
|
|
3587
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
3571
3588
|
const props = __props;
|
|
3589
|
+
const emit = __emit;
|
|
3572
3590
|
const state = ref(false);
|
|
3573
3591
|
const modalData = reactive({
|
|
3574
3592
|
roundEnable: true,
|
|
@@ -3618,8 +3636,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3618
3636
|
onGetData: ok,
|
|
3619
3637
|
datetime: datetime.value,
|
|
3620
3638
|
"onUpdate:datetime": _cache[0] || (_cache[0] = ($event) => datetime.value = $event),
|
|
3621
|
-
format:
|
|
3622
|
-
"btn-data":
|
|
3639
|
+
format: __props.format,
|
|
3640
|
+
"btn-data": __props.btnData
|
|
3623
3641
|
}, null, 8, ["datetime", "format", "btn-data"])
|
|
3624
3642
|
]),
|
|
3625
3643
|
_: 1
|
|
@@ -3639,8 +3657,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3639
3657
|
btnData: {}
|
|
3640
3658
|
},
|
|
3641
3659
|
emits: ["update:datetime", "getData"],
|
|
3642
|
-
setup(__props, { emit }) {
|
|
3660
|
+
setup(__props, { emit: __emit }) {
|
|
3643
3661
|
const props = __props;
|
|
3662
|
+
const emit = __emit;
|
|
3644
3663
|
const btnData = computed(() => {
|
|
3645
3664
|
return {
|
|
3646
3665
|
btnText: "确定",
|
|
@@ -3831,9 +3850,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3831
3850
|
_: 1
|
|
3832
3851
|
}, 8, ["state"]),
|
|
3833
3852
|
createVNode(_component_b_text, { class: "pad-h-d4 alpha-d4" }, {
|
|
3834
|
-
default: withCtx(() => [
|
|
3835
|
-
createTextVNode("年")
|
|
3836
|
-
]),
|
|
3853
|
+
default: withCtx(() => [..._cache[6] || (_cache[6] = [
|
|
3854
|
+
createTextVNode("年", -1)
|
|
3855
|
+
])]),
|
|
3837
3856
|
_: 1
|
|
3838
3857
|
})
|
|
3839
3858
|
]),
|
|
@@ -3853,9 +3872,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3853
3872
|
_: 1
|
|
3854
3873
|
}, 8, ["state"]),
|
|
3855
3874
|
createVNode(_component_b_text, { class: "pad-h-d4 alpha-d4" }, {
|
|
3856
|
-
default: withCtx(() => [
|
|
3857
|
-
createTextVNode("月")
|
|
3858
|
-
]),
|
|
3875
|
+
default: withCtx(() => [..._cache[7] || (_cache[7] = [
|
|
3876
|
+
createTextVNode("月", -1)
|
|
3877
|
+
])]),
|
|
3859
3878
|
_: 1
|
|
3860
3879
|
})
|
|
3861
3880
|
]),
|
|
@@ -3875,9 +3894,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3875
3894
|
_: 1
|
|
3876
3895
|
}, 8, ["state"]),
|
|
3877
3896
|
createVNode(_component_b_text, { class: "pad-h-d4 alpha-d4" }, {
|
|
3878
|
-
default: withCtx(() => [
|
|
3879
|
-
createTextVNode("日")
|
|
3880
|
-
]),
|
|
3897
|
+
default: withCtx(() => [..._cache[8] || (_cache[8] = [
|
|
3898
|
+
createTextVNode("日", -1)
|
|
3899
|
+
])]),
|
|
3881
3900
|
_: 1
|
|
3882
3901
|
})
|
|
3883
3902
|
]),
|
|
@@ -3901,9 +3920,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3901
3920
|
_: 1
|
|
3902
3921
|
}, 8, ["state"]),
|
|
3903
3922
|
createVNode(_component_b_text, { class: "pad-h-d4 alpha-d4" }, {
|
|
3904
|
-
default: withCtx(() => [
|
|
3905
|
-
createTextVNode("时")
|
|
3906
|
-
]),
|
|
3923
|
+
default: withCtx(() => [..._cache[9] || (_cache[9] = [
|
|
3924
|
+
createTextVNode("时", -1)
|
|
3925
|
+
])]),
|
|
3907
3926
|
_: 1
|
|
3908
3927
|
})
|
|
3909
3928
|
]),
|
|
@@ -3923,9 +3942,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3923
3942
|
_: 1
|
|
3924
3943
|
}, 8, ["state"]),
|
|
3925
3944
|
createVNode(_component_b_text, { class: "pad-h-d4 alpha-d4" }, {
|
|
3926
|
-
default: withCtx(() => [
|
|
3927
|
-
createTextVNode("分")
|
|
3928
|
-
]),
|
|
3945
|
+
default: withCtx(() => [..._cache[10] || (_cache[10] = [
|
|
3946
|
+
createTextVNode("分", -1)
|
|
3947
|
+
])]),
|
|
3929
3948
|
_: 1
|
|
3930
3949
|
})
|
|
3931
3950
|
]),
|
|
@@ -3945,9 +3964,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3945
3964
|
_: 1
|
|
3946
3965
|
}, 8, ["state"]),
|
|
3947
3966
|
createVNode(_component_b_text, { class: "pad-h-d4 alpha-d4" }, {
|
|
3948
|
-
default: withCtx(() => [
|
|
3949
|
-
createTextVNode("秒")
|
|
3950
|
-
]),
|
|
3967
|
+
default: withCtx(() => [..._cache[11] || (_cache[11] = [
|
|
3968
|
+
createTextVNode("秒", -1)
|
|
3969
|
+
])]),
|
|
3951
3970
|
_: 1
|
|
3952
3971
|
})
|
|
3953
3972
|
]),
|
|
@@ -4014,8 +4033,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4014
4033
|
theme: {}
|
|
4015
4034
|
},
|
|
4016
4035
|
emits: ["sendPrice", "update:price", "update:input"],
|
|
4017
|
-
setup(__props, { expose: __expose, emit }) {
|
|
4036
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
4018
4037
|
const props = __props;
|
|
4038
|
+
const emit = __emit;
|
|
4019
4039
|
const state = ref(false);
|
|
4020
4040
|
const theme2 = reactive({
|
|
4021
4041
|
dir: "",
|
|
@@ -4074,8 +4094,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4074
4094
|
visiable: state.value,
|
|
4075
4095
|
"onUpdate:visiable": _cache[2] || (_cache[2] = ($event) => state.value = $event),
|
|
4076
4096
|
dir: theme2.dir,
|
|
4077
|
-
"matte-color":
|
|
4078
|
-
"matte-close-forbid":
|
|
4097
|
+
"matte-color": __props.matteColor,
|
|
4098
|
+
"matte-close-forbid": __props.matteCloseForbid
|
|
4079
4099
|
}, {
|
|
4080
4100
|
custom: withCtx(() => [
|
|
4081
4101
|
createVNode(_component_price_wid, {
|
|
@@ -4085,7 +4105,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4085
4105
|
price: price.value,
|
|
4086
4106
|
"onUpdate:price": _cache[1] || (_cache[1] = ($event) => price.value = $event),
|
|
4087
4107
|
theme: theme2,
|
|
4088
|
-
"hide-screen":
|
|
4108
|
+
"hide-screen": __props.hideScreen
|
|
4089
4109
|
}, createSlots({ _: 2 }, [
|
|
4090
4110
|
_ctx.$slots.delete ? {
|
|
4091
4111
|
name: "delete",
|
|
@@ -4118,8 +4138,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4118
4138
|
theme: {}
|
|
4119
4139
|
},
|
|
4120
4140
|
emits: ["sendPrice", "update:input", "update:price"],
|
|
4121
|
-
setup(__props, { expose: __expose, emit }) {
|
|
4141
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
4122
4142
|
const props = __props;
|
|
4143
|
+
const emit = __emit;
|
|
4123
4144
|
const theme2 = reactive({
|
|
4124
4145
|
dir: "",
|
|
4125
4146
|
pannel: "lgray",
|
|
@@ -4198,15 +4219,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4198
4219
|
class: normalizeClass(`${baseStyle.value} bg-color-${theme2.pannel} color-${theme2.text}`)
|
|
4199
4220
|
}, {
|
|
4200
4221
|
default: withCtx(() => [
|
|
4201
|
-
!
|
|
4222
|
+
!__props.hideScreen ? (openBlock(), createBlock(_sfc_main$x, {
|
|
4202
4223
|
key: 0,
|
|
4203
4224
|
class: "flex-4 no-wrap pad-1d4"
|
|
4204
4225
|
}, {
|
|
4205
4226
|
default: withCtx(() => [
|
|
4206
4227
|
createVNode(_component_b_text, { class: "fsize-2d4 bold alpha-d4" }, {
|
|
4207
|
-
default: withCtx(() => [
|
|
4208
|
-
createTextVNode("¥")
|
|
4209
|
-
]),
|
|
4228
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
4229
|
+
createTextVNode("¥", -1)
|
|
4230
|
+
])]),
|
|
4210
4231
|
_: 1
|
|
4211
4232
|
}),
|
|
4212
4233
|
createVNode(_component_b_input, {
|
|
@@ -4302,9 +4323,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4302
4323
|
active: `bg-color-${theme2.btn.active}`,
|
|
4303
4324
|
state: "0"
|
|
4304
4325
|
}, {
|
|
4305
|
-
default: withCtx(() => [
|
|
4306
|
-
createTextVNode("0")
|
|
4307
|
-
]),
|
|
4326
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
4327
|
+
createTextVNode("0", -1)
|
|
4328
|
+
])]),
|
|
4308
4329
|
_: 1
|
|
4309
4330
|
}, 8, ["class", "active"])
|
|
4310
4331
|
]),
|
|
@@ -4317,9 +4338,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
4317
4338
|
active: `bg-color-${theme2.btn.active}`,
|
|
4318
4339
|
state: "."
|
|
4319
4340
|
}, {
|
|
4320
|
-
default: withCtx(() => [
|
|
4321
|
-
createTextVNode(".")
|
|
4322
|
-
]),
|
|
4341
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
4342
|
+
createTextVNode(".", -1)
|
|
4343
|
+
])]),
|
|
4323
4344
|
_: 1
|
|
4324
4345
|
}, 8, ["class", "active"])
|
|
4325
4346
|
]),
|
|
@@ -4372,7 +4393,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4372
4393
|
active: {}
|
|
4373
4394
|
},
|
|
4374
4395
|
emits: ["on_select"],
|
|
4375
|
-
setup(__props, { emit }) {
|
|
4396
|
+
setup(__props, { emit: __emit }) {
|
|
4376
4397
|
const props = __props;
|
|
4377
4398
|
const dataTree = ref(props.dataTree || []);
|
|
4378
4399
|
const selected = inject("selected");
|
|
@@ -4403,9 +4424,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4403
4424
|
createVNode(_sfc_main$v, {
|
|
4404
4425
|
cname: `${item.id}-${Math.random()}`,
|
|
4405
4426
|
class: normalizeClass(`flex-4 pad-v-${gap.value} pad-l-${setIndex(item.level)}`),
|
|
4406
|
-
hover:
|
|
4427
|
+
hover: __props.hover,
|
|
4407
4428
|
states: {
|
|
4408
|
-
true: `${
|
|
4429
|
+
true: `${__props.active ? __props.active : ""}`,
|
|
4409
4430
|
false: ""
|
|
4410
4431
|
},
|
|
4411
4432
|
state: (((_a = unref(selected)) == null ? void 0 : _a.findIndex((data) => data.id === item.id)) > -1).toString()
|
|
@@ -4439,11 +4460,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4439
4460
|
state: item.spread ? "show" : "hide"
|
|
4440
4461
|
}, {
|
|
4441
4462
|
default: withCtx(() => [
|
|
4442
|
-
createVNode(_component_content_node_wid,
|
|
4463
|
+
createVNode(_component_content_node_wid, mergeProps({ ref_for: true }, { ...props, dataTree: item.children }), createSlots({ _: 2 }, [
|
|
4443
4464
|
_ctx.$slots.default ? {
|
|
4444
4465
|
name: "default",
|
|
4445
4466
|
fn: withCtx((scope) => [
|
|
4446
|
-
renderSlot(_ctx.$slots, "default",
|
|
4467
|
+
renderSlot(_ctx.$slots, "default", mergeProps({ ref_for: true }, scope))
|
|
4447
4468
|
]),
|
|
4448
4469
|
key: "0"
|
|
4449
4470
|
} : void 0
|
|
@@ -4469,8 +4490,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4469
4490
|
active: {}
|
|
4470
4491
|
},
|
|
4471
4492
|
emits: ["on_select"],
|
|
4472
|
-
setup(__props, { emit }) {
|
|
4493
|
+
setup(__props, { emit: __emit }) {
|
|
4473
4494
|
const props = __props;
|
|
4495
|
+
const emit = __emit;
|
|
4474
4496
|
let prefix = 0;
|
|
4475
4497
|
const flatDataTree = reactive([]);
|
|
4476
4498
|
const indexDataTree = reactive({});
|