btxui 1.0.99 → 1.1.0
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 +498 -106
- package/dist/index.js.gz +0 -0
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -186,8 +186,8 @@ const prestyles = {
|
|
|
186
186
|
"touch-none": `touchAction: none;`,
|
|
187
187
|
"ellipsis": `overflow: hidden; text-overflow: ellipsis; white-space: nowrap;`,
|
|
188
188
|
"text-line": `textShadow: 1px 0 0 rgba(200, 200, 200, .5), -1px 0 0 rgba(200, 200, 200, .5), 0 1px 0 rgba(200, 200, 200, .5), 0 -1px 0 rgba(200, 200, 200, .5);`,
|
|
189
|
-
"alpha-0": `opacity: 0; visibility: hidden
|
|
190
|
-
"visible": `visibility: visible
|
|
189
|
+
"alpha-0": `opacity: 0; visibility: hidden; z-index: -1`,
|
|
190
|
+
"visible": `visibility: visible; z-index: auto`,
|
|
191
191
|
"select-none": `-webkit-touch-callout:none; -webkit-user-select:none; -khtml-user-select:none; -moz-user-select:none; -ms-user-select:none; user-select:none;`,
|
|
192
192
|
// 图像布局
|
|
193
193
|
"objfit-fill": `object-fit: fill;`,
|
|
@@ -557,7 +557,7 @@ var md5$1 = {
|
|
|
557
557
|
})(md5$1);
|
|
558
558
|
const md5 = md5Exports;
|
|
559
559
|
const GLOBAL_STYLE_NAME = "BTXUIGlobal";
|
|
560
|
-
const _sfc_main$
|
|
560
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
561
561
|
__name: "b-style",
|
|
562
562
|
props: {
|
|
563
563
|
class: {},
|
|
@@ -802,7 +802,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
802
802
|
}
|
|
803
803
|
});
|
|
804
804
|
const _hoisted_1$c = ["data-ani-states", "state"];
|
|
805
|
-
const _sfc_main$
|
|
805
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
806
806
|
__name: "b-view",
|
|
807
807
|
props: {
|
|
808
808
|
class: {},
|
|
@@ -811,7 +811,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
811
811
|
bgImg: {},
|
|
812
812
|
matrix: {},
|
|
813
813
|
cname: {},
|
|
814
|
-
prevent: { type: Boolean }
|
|
814
|
+
prevent: { type: Boolean },
|
|
815
|
+
aniEndClear: { type: Boolean }
|
|
815
816
|
},
|
|
816
817
|
emits: ["on_aniEnd"],
|
|
817
818
|
setup(__props, { emit }) {
|
|
@@ -831,7 +832,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
831
832
|
}
|
|
832
833
|
});
|
|
833
834
|
const aniEnd = (e) => {
|
|
834
|
-
|
|
835
|
+
if (!props.aniEndClear)
|
|
836
|
+
$el.value.classList.remove(lastAni);
|
|
835
837
|
emit("on_aniEnd", e);
|
|
836
838
|
};
|
|
837
839
|
const bgStyle = computed(() => props.bgImg ? { backgroundImage: `url(${props.bgImg})` } : {});
|
|
@@ -843,7 +845,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
843
845
|
}
|
|
844
846
|
});
|
|
845
847
|
return (_ctx, _cache) => {
|
|
846
|
-
return openBlock(), createBlock(_sfc_main$
|
|
848
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
847
849
|
class: normalizeClass(_ctx.class),
|
|
848
850
|
cname: _ctx.cname,
|
|
849
851
|
states: _ctx.states,
|
|
@@ -868,7 +870,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
868
870
|
}
|
|
869
871
|
});
|
|
870
872
|
const _hoisted_1$b = ["state"];
|
|
871
|
-
const _sfc_main$
|
|
873
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
872
874
|
__name: "b-text",
|
|
873
875
|
props: {
|
|
874
876
|
class: {},
|
|
@@ -878,7 +880,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
878
880
|
},
|
|
879
881
|
setup(__props) {
|
|
880
882
|
return (_ctx, _cache) => {
|
|
881
|
-
return openBlock(), createBlock(_sfc_main$
|
|
883
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
882
884
|
class: normalizeClass(_ctx.class),
|
|
883
885
|
states: _ctx.states,
|
|
884
886
|
cname: _ctx.cname
|
|
@@ -896,7 +898,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
896
898
|
};
|
|
897
899
|
}
|
|
898
900
|
});
|
|
899
|
-
const _sfc_main$
|
|
901
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
900
902
|
__name: "b-hot",
|
|
901
903
|
props: {
|
|
902
904
|
link: {},
|
|
@@ -989,7 +991,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
989
991
|
$anchor.value.download = props.download;
|
|
990
992
|
});
|
|
991
993
|
return (_ctx, _cache) => {
|
|
992
|
-
return openBlock(), createBlock(_sfc_main$
|
|
994
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
993
995
|
class: normalizeClass(_ctx.class),
|
|
994
996
|
states: _ctx.states,
|
|
995
997
|
hover: _ctx.hover,
|
|
@@ -1029,7 +1031,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
1029
1031
|
}
|
|
1030
1032
|
});
|
|
1031
1033
|
const _hoisted_1$a = ["src", "state", "alt"];
|
|
1032
|
-
const _sfc_main$
|
|
1034
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
1033
1035
|
__name: "b-img",
|
|
1034
1036
|
props: {
|
|
1035
1037
|
img: {},
|
|
@@ -1064,7 +1066,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
1064
1066
|
setSrc();
|
|
1065
1067
|
});
|
|
1066
1068
|
return (_ctx, _cache) => {
|
|
1067
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1069
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
1068
1070
|
class: normalizeClass(_ctx.class),
|
|
1069
1071
|
cname: _ctx.cname,
|
|
1070
1072
|
states: _ctx.states,
|
|
@@ -1090,17 +1092,17 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
1090
1092
|
};
|
|
1091
1093
|
}
|
|
1092
1094
|
});
|
|
1093
|
-
const _sfc_main$
|
|
1095
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
1094
1096
|
__name: "ani-success",
|
|
1095
1097
|
setup(__props) {
|
|
1096
1098
|
return (_ctx, _cache) => {
|
|
1097
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1099
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
1098
1100
|
class: "flex-5",
|
|
1099
1101
|
matrix: { translate: "0,9px", rotate: "45deg" }
|
|
1100
1102
|
}, {
|
|
1101
1103
|
default: withCtx(() => [
|
|
1102
|
-
createVNode(_sfc_main$
|
|
1103
|
-
createVNode(_sfc_main$
|
|
1104
|
+
createVNode(_sfc_main$t, { class: "ani-success-part1 w-1 h-3-px bg-color-green round-sm" }),
|
|
1105
|
+
createVNode(_sfc_main$t, { class: "ani-success-part2 w-1d7 h-3-px bg-color-green round-sm rel t-1-px l-f1-px" })
|
|
1104
1106
|
]),
|
|
1105
1107
|
_: 1
|
|
1106
1108
|
});
|
|
@@ -1116,7 +1118,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
1116
1118
|
}
|
|
1117
1119
|
return target;
|
|
1118
1120
|
};
|
|
1119
|
-
const _sfc_main$
|
|
1121
|
+
const _sfc_main$p = {};
|
|
1120
1122
|
function _sfc_render$2(_ctx, _cache) {
|
|
1121
1123
|
const _component_b_text = resolveComponent("b-text");
|
|
1122
1124
|
const _component_b_view = resolveComponent("b-view");
|
|
@@ -1128,9 +1130,9 @@ function _sfc_render$2(_ctx, _cache) {
|
|
|
1128
1130
|
_: 1
|
|
1129
1131
|
});
|
|
1130
1132
|
}
|
|
1131
|
-
const AniFail = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1133
|
+
const AniFail = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$2]]);
|
|
1132
1134
|
const aniNotic_vue_vue_type_style_index_0_lang = "";
|
|
1133
|
-
const _sfc_main$
|
|
1135
|
+
const _sfc_main$o = {};
|
|
1134
1136
|
function _sfc_render$1(_ctx, _cache) {
|
|
1135
1137
|
const _component_b_text = resolveComponent("b-text");
|
|
1136
1138
|
const _component_b_view = resolveComponent("b-view");
|
|
@@ -1145,9 +1147,9 @@ function _sfc_render$1(_ctx, _cache) {
|
|
|
1145
1147
|
_: 1
|
|
1146
1148
|
});
|
|
1147
1149
|
}
|
|
1148
|
-
const AniNotic = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1150
|
+
const AniNotic = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$1]]);
|
|
1149
1151
|
const aniLoading_vue_vue_type_style_index_0_lang = "";
|
|
1150
|
-
const _sfc_main$
|
|
1152
|
+
const _sfc_main$n = {};
|
|
1151
1153
|
function _sfc_render(_ctx, _cache) {
|
|
1152
1154
|
const _component_b_view = resolveComponent("b-view");
|
|
1153
1155
|
return openBlock(), createBlock(_component_b_view, { class: "flex-5" }, {
|
|
@@ -1157,9 +1159,9 @@ function _sfc_render(_ctx, _cache) {
|
|
|
1157
1159
|
_: 1
|
|
1158
1160
|
});
|
|
1159
1161
|
}
|
|
1160
|
-
const AniLoading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1162
|
+
const AniLoading = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render]]);
|
|
1161
1163
|
const _hoisted_1$9 = ["state"];
|
|
1162
|
-
const _sfc_main$
|
|
1164
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
1163
1165
|
__name: "b-icon",
|
|
1164
1166
|
props: {
|
|
1165
1167
|
icon: {},
|
|
@@ -1171,19 +1173,19 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1171
1173
|
setup(__props) {
|
|
1172
1174
|
const props = __props;
|
|
1173
1175
|
return (_ctx, _cache) => {
|
|
1174
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1176
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
1175
1177
|
class: normalizeClass(_ctx.class),
|
|
1176
1178
|
states: _ctx.states,
|
|
1177
1179
|
cname: _ctx.cname
|
|
1178
1180
|
}, {
|
|
1179
1181
|
className: withCtx((scope) => [
|
|
1180
1182
|
_ctx.icon.search("ani_") === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1181
|
-
_ctx.icon === "ani_success" ? (openBlock(), createBlock(_sfc_main$
|
|
1183
|
+
_ctx.icon === "ani_success" ? (openBlock(), createBlock(_sfc_main$q, { key: "success" })) : createCommentVNode("", true),
|
|
1182
1184
|
_ctx.icon === "ani_fail" ? (openBlock(), createBlock(AniFail, { key: "fail" })) : createCommentVNode("", true),
|
|
1183
1185
|
_ctx.icon === "ani_notic" ? (openBlock(), createBlock(AniNotic, { key: "notic" })) : createCommentVNode("", true),
|
|
1184
1186
|
_ctx.icon === "ani_loading" ? (openBlock(), createBlock(AniLoading, { key: "loading" })) : createCommentVNode("", true)
|
|
1185
1187
|
], 64)) : createCommentVNode("", true),
|
|
1186
|
-
_ctx.icon.search("/") > -1 ? (openBlock(), createBlock(_sfc_main$
|
|
1188
|
+
_ctx.icon.search("/") > -1 ? (openBlock(), createBlock(_sfc_main$u, {
|
|
1187
1189
|
key: 1,
|
|
1188
1190
|
"bg-img": _ctx.icon,
|
|
1189
1191
|
states: _ctx.states,
|
|
@@ -1202,7 +1204,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1202
1204
|
});
|
|
1203
1205
|
const _hoisted_1$8 = ["type", "name", "focus-state", "state", "placeholder", "maxlength", "readonly"];
|
|
1204
1206
|
const _hoisted_2$3 = ["type", "name", "focus-state", "state", "placeholder", "maxlength", "readonly"];
|
|
1205
|
-
const _sfc_main$
|
|
1207
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
1206
1208
|
__name: "b-input",
|
|
1207
1209
|
props: {
|
|
1208
1210
|
type: {},
|
|
@@ -1329,7 +1331,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1329
1331
|
const _component_b_icon = resolveComponent("b-icon");
|
|
1330
1332
|
const _component_b_hot = resolveComponent("b-hot");
|
|
1331
1333
|
const _component_b_view = resolveComponent("b-view");
|
|
1332
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1334
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
1333
1335
|
class: normalizeClass(_ctx.class),
|
|
1334
1336
|
focus: _ctx.focus,
|
|
1335
1337
|
states: _ctx.states,
|
|
@@ -1411,7 +1413,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1411
1413
|
}
|
|
1412
1414
|
});
|
|
1413
1415
|
const _hoisted_1$7 = ["name", "focus", "state", "placeholder", "maxlength", "readonly", "rows"];
|
|
1414
|
-
const _sfc_main$
|
|
1416
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
1415
1417
|
__name: "b-textarea",
|
|
1416
1418
|
props: {
|
|
1417
1419
|
text: {},
|
|
@@ -1435,7 +1437,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
1435
1437
|
emit("update:text", formatText(val.value));
|
|
1436
1438
|
};
|
|
1437
1439
|
return (_ctx, _cache) => {
|
|
1438
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1440
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
1439
1441
|
class: normalizeClass(_ctx.class),
|
|
1440
1442
|
focus: _ctx.focus,
|
|
1441
1443
|
states: _ctx.states,
|
|
@@ -1467,7 +1469,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
1467
1469
|
});
|
|
1468
1470
|
const _hoisted_1$6 = ["poster", "muted", "src", "autoplay", "controls", "loop"];
|
|
1469
1471
|
const _hoisted_2$2 = ["poster", "muted", "src", "autoplay", "controls", "loop"];
|
|
1470
|
-
const _sfc_main$
|
|
1472
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
1471
1473
|
__name: "b-video",
|
|
1472
1474
|
props: {
|
|
1473
1475
|
video: {},
|
|
@@ -1510,7 +1512,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
1510
1512
|
const _component_b_icon = resolveComponent("b-icon");
|
|
1511
1513
|
const _component_b_view = resolveComponent("b-view");
|
|
1512
1514
|
const _component_b_hot = resolveComponent("b-hot");
|
|
1513
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1515
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
1514
1516
|
class: normalizeClass(_ctx.class),
|
|
1515
1517
|
cname: _ctx.cname
|
|
1516
1518
|
}, {
|
|
@@ -1591,7 +1593,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
1591
1593
|
});
|
|
1592
1594
|
const _hoisted_1$5 = ["state"];
|
|
1593
1595
|
const tolerance = 2;
|
|
1594
|
-
const _sfc_main$
|
|
1596
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
1595
1597
|
__name: "b-list",
|
|
1596
1598
|
props: {
|
|
1597
1599
|
scroll: {},
|
|
@@ -1654,7 +1656,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
1654
1656
|
watchPos();
|
|
1655
1657
|
});
|
|
1656
1658
|
return (_ctx, _cache) => {
|
|
1657
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1659
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
1658
1660
|
class: normalizeClass(_ctx.class),
|
|
1659
1661
|
states: _ctx.states,
|
|
1660
1662
|
cname: _ctx.cname
|
|
@@ -1682,7 +1684,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
1682
1684
|
}
|
|
1683
1685
|
});
|
|
1684
1686
|
const _hoisted_1$4 = ["state", "draggable"];
|
|
1685
|
-
const _sfc_main$
|
|
1687
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
1686
1688
|
__name: "b-drag",
|
|
1687
1689
|
props: {
|
|
1688
1690
|
class: {},
|
|
@@ -1792,7 +1794,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1792
1794
|
bindEvent();
|
|
1793
1795
|
});
|
|
1794
1796
|
return (_ctx, _cache) => {
|
|
1795
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1797
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
1796
1798
|
class: normalizeClass(_ctx.class),
|
|
1797
1799
|
states: { dragStart: _ctx.dragStart, dragOver: _ctx.dragOver },
|
|
1798
1800
|
cname: _ctx.cname
|
|
@@ -1822,7 +1824,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1822
1824
|
}
|
|
1823
1825
|
});
|
|
1824
1826
|
const _hoisted_1$3 = ["src"];
|
|
1825
|
-
const _sfc_main$
|
|
1827
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
1826
1828
|
__name: "b-webview",
|
|
1827
1829
|
props: {
|
|
1828
1830
|
src: {},
|
|
@@ -1831,7 +1833,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1831
1833
|
},
|
|
1832
1834
|
setup(__props) {
|
|
1833
1835
|
return (_ctx, _cache) => {
|
|
1834
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1836
|
+
return openBlock(), createBlock(_sfc_main$v, {
|
|
1835
1837
|
class: normalizeClass(_ctx.class),
|
|
1836
1838
|
cname: _ctx.cname
|
|
1837
1839
|
}, {
|
|
@@ -1847,7 +1849,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1847
1849
|
};
|
|
1848
1850
|
}
|
|
1849
1851
|
});
|
|
1850
|
-
const _sfc_main$
|
|
1852
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
1851
1853
|
__name: "b-row",
|
|
1852
1854
|
props: {
|
|
1853
1855
|
class: {},
|
|
@@ -1864,7 +1866,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
1864
1866
|
});
|
|
1865
1867
|
const combClass = ref(`${props.class} flex pad-h-${gap.value[0]} pad-v-${gap.value[1]}`);
|
|
1866
1868
|
return (_ctx, _cache) => {
|
|
1867
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1869
|
+
return openBlock(), createBlock(_sfc_main$u, mergeProps({ class: combClass.value }, _ctx.viewData, {
|
|
1868
1870
|
extraClass: {
|
|
1869
1871
|
selector: ">",
|
|
1870
1872
|
value: `pad-h-${gap.value[0]} pad-v-${gap.value[1]}`
|
|
@@ -1878,7 +1880,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
1878
1880
|
};
|
|
1879
1881
|
}
|
|
1880
1882
|
});
|
|
1881
|
-
const _sfc_main$
|
|
1883
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
1882
1884
|
__name: "b-col",
|
|
1883
1885
|
props: {
|
|
1884
1886
|
span: {},
|
|
@@ -1890,7 +1892,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
1890
1892
|
const props = __props;
|
|
1891
1893
|
const combClass = ref(`${props.class ?? ""} ${props.span ? "col-" + props.span : ""} ${props.offset ? "offset-" + props.offset : ""}`);
|
|
1892
1894
|
return (_ctx, _cache) => {
|
|
1893
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1895
|
+
return openBlock(), createBlock(_sfc_main$u, mergeProps({ class: combClass.value }, _ctx.viewData), {
|
|
1894
1896
|
default: withCtx(() => [
|
|
1895
1897
|
renderSlot(_ctx.$slots, "default")
|
|
1896
1898
|
]),
|
|
@@ -1899,7 +1901,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
1899
1901
|
};
|
|
1900
1902
|
}
|
|
1901
1903
|
});
|
|
1902
|
-
const _sfc_main$
|
|
1904
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
1903
1905
|
__name: "btn-wid",
|
|
1904
1906
|
props: {
|
|
1905
1907
|
btnText: {},
|
|
@@ -1946,13 +1948,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
1946
1948
|
};
|
|
1947
1949
|
});
|
|
1948
1950
|
return (_ctx, _cache) => {
|
|
1949
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1951
|
+
return openBlock(), createBlock(_sfc_main$s, mergeProps(_ctx.hotData, {
|
|
1950
1952
|
class: `flex-5 pad-h-1d4 pad-v-d4 thick-1 ellipsis ${_ctx.btnRound ? "round-lg" : "round-sm"} ${_ctx.btnWidth ? "lw-" + _ctx.btnWidth : ""} ${normal.value.bg} ${normal.value.text} ${normal.value.line} solid`,
|
|
1951
1953
|
hover: `${hover.value.text} ${hover.value.bg} ${hover.value.line}`,
|
|
1952
1954
|
active: `${active.value.text} ${active.value.bg} ${active.value.line}`
|
|
1953
1955
|
}), {
|
|
1954
1956
|
default: withCtx(() => [
|
|
1955
|
-
_ctx.iconData ? (openBlock(), createBlock(_sfc_main$
|
|
1957
|
+
_ctx.iconData ? (openBlock(), createBlock(_sfc_main$m, mergeProps({ key: 0 }, _ctx.iconData, { class: "mrg-r-d7" }), null, 16)) : createCommentVNode("", true),
|
|
1956
1958
|
createTextVNode(" " + toDisplayString(_ctx.btnText), 1)
|
|
1957
1959
|
]),
|
|
1958
1960
|
_: 1
|
|
@@ -1960,7 +1962,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
1960
1962
|
};
|
|
1961
1963
|
}
|
|
1962
1964
|
});
|
|
1963
|
-
const _sfc_main$
|
|
1965
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
1964
1966
|
__name: "checkbox-wid",
|
|
1965
1967
|
props: {
|
|
1966
1968
|
selected: { type: Boolean },
|
|
@@ -1988,7 +1990,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
1988
1990
|
emit("change", props.value, state);
|
|
1989
1991
|
};
|
|
1990
1992
|
return (_ctx, _cache) => {
|
|
1991
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1993
|
+
return openBlock(), createBlock(_sfc_main$s, {
|
|
1992
1994
|
class: normalizeClass(combClass.value),
|
|
1993
1995
|
hover: "alpha-d9",
|
|
1994
1996
|
state: selected.value ? "act" : "",
|
|
@@ -2002,7 +2004,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2002
2004
|
}, () => {
|
|
2003
2005
|
var _a, _b;
|
|
2004
2006
|
return [
|
|
2005
|
-
createVNode(_sfc_main$
|
|
2007
|
+
createVNode(_sfc_main$u, {
|
|
2006
2008
|
class: "w-24-px h-24-px bg-color-neutral round-sm flex-5",
|
|
2007
2009
|
state: selected.value ? "act" : "",
|
|
2008
2010
|
cname: combClass.value + combActClass.value,
|
|
@@ -2011,7 +2013,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2011
2013
|
}
|
|
2012
2014
|
}, {
|
|
2013
2015
|
default: withCtx(() => [
|
|
2014
|
-
createVNode(_sfc_main$
|
|
2016
|
+
createVNode(_sfc_main$m, {
|
|
2015
2017
|
icon: "success",
|
|
2016
2018
|
class: "alpha-d3",
|
|
2017
2019
|
state: selected.value ? "act" : "",
|
|
@@ -2024,7 +2026,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2024
2026
|
}, 8, ["state", "cname", "states"])
|
|
2025
2027
|
];
|
|
2026
2028
|
}),
|
|
2027
|
-
label.value ? (openBlock(), createBlock(_sfc_main$
|
|
2029
|
+
label.value ? (openBlock(), createBlock(_sfc_main$u, {
|
|
2028
2030
|
key: 0,
|
|
2029
2031
|
class: "pad-h-1 ellipsis"
|
|
2030
2032
|
}, {
|
|
@@ -2039,7 +2041,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2039
2041
|
};
|
|
2040
2042
|
}
|
|
2041
2043
|
});
|
|
2042
|
-
const _sfc_main$
|
|
2044
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
2043
2045
|
__name: "checkbox-group-wid",
|
|
2044
2046
|
props: {
|
|
2045
2047
|
options: {},
|
|
@@ -2082,11 +2084,11 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2082
2084
|
return (_ctx, _cache) => {
|
|
2083
2085
|
const _component_b_col = resolveComponent("b-col");
|
|
2084
2086
|
const _component_b_row = resolveComponent("b-row");
|
|
2085
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2087
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
2086
2088
|
class: normalizeClass(_ctx.class)
|
|
2087
2089
|
}, {
|
|
2088
2090
|
default: withCtx(() => [
|
|
2089
|
-
_ctx.title ? (openBlock(), createBlock(_sfc_main$
|
|
2091
|
+
_ctx.title ? (openBlock(), createBlock(_sfc_main$u, {
|
|
2090
2092
|
key: 0,
|
|
2091
2093
|
class: "mrg-b-1"
|
|
2092
2094
|
}, {
|
|
@@ -2104,7 +2106,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2104
2106
|
key: i
|
|
2105
2107
|
}, {
|
|
2106
2108
|
default: withCtx(() => [
|
|
2107
|
-
createVNode(_sfc_main$
|
|
2109
|
+
createVNode(_sfc_main$c, mergeProps({
|
|
2108
2110
|
onChange: change,
|
|
2109
2111
|
label: item.label,
|
|
2110
2112
|
value: item.value
|
|
@@ -2144,7 +2146,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2144
2146
|
};
|
|
2145
2147
|
}
|
|
2146
2148
|
});
|
|
2147
|
-
const _sfc_main$
|
|
2149
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
2148
2150
|
__name: "radio-group-wid",
|
|
2149
2151
|
props: {
|
|
2150
2152
|
options: {},
|
|
@@ -2172,7 +2174,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2172
2174
|
});
|
|
2173
2175
|
return (_ctx, _cache) => {
|
|
2174
2176
|
const _component_b_view = resolveComponent("b-view");
|
|
2175
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2177
|
+
return openBlock(), createBlock(_sfc_main$b, {
|
|
2176
2178
|
span: _ctx.span,
|
|
2177
2179
|
title: _ctx.title,
|
|
2178
2180
|
class: normalizeClass(_ctx.class),
|
|
@@ -2215,7 +2217,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2215
2217
|
const _hoisted_1$2 = ["state"];
|
|
2216
2218
|
const _hoisted_2$1 = ["innerHTML"];
|
|
2217
2219
|
const _hoisted_3$1 = ["innerHTML"];
|
|
2218
|
-
const _sfc_main$
|
|
2220
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
2219
2221
|
__name: "tabs-wid",
|
|
2220
2222
|
props: {
|
|
2221
2223
|
options: {},
|
|
@@ -2285,9 +2287,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2285
2287
|
});
|
|
2286
2288
|
return (_ctx, _cache) => {
|
|
2287
2289
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2288
|
-
createVNode(_sfc_main$
|
|
2290
|
+
createVNode(_sfc_main$u, { class: "flex-7" }, {
|
|
2289
2291
|
default: withCtx(() => [
|
|
2290
|
-
createVNode(_sfc_main$
|
|
2292
|
+
createVNode(_sfc_main$a, {
|
|
2291
2293
|
options: options.value,
|
|
2292
2294
|
title: _ctx.title,
|
|
2293
2295
|
selected: selected.value,
|
|
@@ -2302,13 +2304,13 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2302
2304
|
} : slots.value.length === 0 && _ctx.tabStyle === "card" ? {
|
|
2303
2305
|
name: "default",
|
|
2304
2306
|
fn: withCtx((scope) => [
|
|
2305
|
-
createVNode(_sfc_main$
|
|
2307
|
+
createVNode(_sfc_main$u, { class: "w-4-px b-f1-px h-1-px bg-color-neutral r-f5-px abs" })
|
|
2306
2308
|
]),
|
|
2307
2309
|
key: "1"
|
|
2308
2310
|
} : slots.value.length === 0 ? {
|
|
2309
2311
|
name: "default",
|
|
2310
2312
|
fn: withCtx((scope) => [
|
|
2311
|
-
createVNode(_sfc_main$
|
|
2313
|
+
createVNode(_sfc_main$u, {
|
|
2312
2314
|
class: normalizeClass(`max-w l-0 b-f1-px round-sm h-2-px bg-color-none abs`),
|
|
2313
2315
|
state: scope.state,
|
|
2314
2316
|
states: {
|
|
@@ -2329,19 +2331,19 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2329
2331
|
};
|
|
2330
2332
|
})
|
|
2331
2333
|
]), 1032, ["options", "title", "selected"]),
|
|
2332
|
-
contLine.value ? (openBlock(), createBlock(_sfc_main$
|
|
2334
|
+
contLine.value ? (openBlock(), createBlock(_sfc_main$u, {
|
|
2333
2335
|
key: 0,
|
|
2334
2336
|
class: "grow-1 h-1-px bg-color-neutral"
|
|
2335
2337
|
})) : createCommentVNode("", true)
|
|
2336
2338
|
]),
|
|
2337
2339
|
_: 3
|
|
2338
2340
|
}),
|
|
2339
|
-
contArea.value ? (openBlock(), createBlock(_sfc_main$
|
|
2341
|
+
contArea.value ? (openBlock(), createBlock(_sfc_main$u, {
|
|
2340
2342
|
key: 0,
|
|
2341
2343
|
class: "pad-v-1d5 over-hide"
|
|
2342
2344
|
}, {
|
|
2343
2345
|
default: withCtx(() => [
|
|
2344
|
-
selected.value ? (openBlock(), createBlock(_sfc_main$
|
|
2346
|
+
selected.value ? (openBlock(), createBlock(_sfc_main$u, { key: 0 }, {
|
|
2345
2347
|
default: withCtx(() => [
|
|
2346
2348
|
createElementVNode("div", {
|
|
2347
2349
|
innerHTML: tabConts[selected.value],
|
|
@@ -2350,7 +2352,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2350
2352
|
}, null, 42, _hoisted_2$1)
|
|
2351
2353
|
]),
|
|
2352
2354
|
_: 1
|
|
2353
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
2355
|
+
})) : (openBlock(), createBlock(_sfc_main$u, {
|
|
2354
2356
|
key: 1,
|
|
2355
2357
|
class: "alpha-d5"
|
|
2356
2358
|
}, {
|
|
@@ -2369,7 +2371,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2369
2371
|
}
|
|
2370
2372
|
});
|
|
2371
2373
|
const _hoisted_1$1 = ["multiple"];
|
|
2372
|
-
const _sfc_main$
|
|
2374
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
2373
2375
|
__name: "upload-wid",
|
|
2374
2376
|
props: {
|
|
2375
2377
|
type: {},
|
|
@@ -2428,7 +2430,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2428
2430
|
};
|
|
2429
2431
|
return (_ctx, _cache) => {
|
|
2430
2432
|
const _component_b_hot = resolveComponent("b-hot");
|
|
2431
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2433
|
+
return openBlock(), createBlock(_sfc_main$u, { class: "flex" }, {
|
|
2432
2434
|
default: withCtx(() => [
|
|
2433
2435
|
_ctx.$slots.default ? (openBlock(), createBlock(_component_b_hot, {
|
|
2434
2436
|
key: 0,
|
|
@@ -2438,7 +2440,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2438
2440
|
renderSlot(_ctx.$slots, "default")
|
|
2439
2441
|
]),
|
|
2440
2442
|
_: 3
|
|
2441
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
2443
|
+
})) : (openBlock(), createBlock(_sfc_main$d, mergeProps({
|
|
2442
2444
|
key: 1,
|
|
2443
2445
|
onOn_click: _cache[1] || (_cache[1] = ($event) => $uploader.value.click())
|
|
2444
2446
|
}, btnData.value), null, 16)),
|
|
@@ -2639,7 +2641,7 @@ const uploadImage = async (imageCompress, extra) => {
|
|
|
2639
2641
|
};
|
|
2640
2642
|
});
|
|
2641
2643
|
};
|
|
2642
|
-
const _sfc_main$
|
|
2644
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
2643
2645
|
__name: "img-upload-wid",
|
|
2644
2646
|
props: {
|
|
2645
2647
|
preview: {},
|
|
@@ -2671,7 +2673,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
2671
2673
|
return (_ctx, _cache) => {
|
|
2672
2674
|
const _component_b_view = resolveComponent("b-view");
|
|
2673
2675
|
const _component_b_icon = resolveComponent("b-icon");
|
|
2674
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2676
|
+
return openBlock(), createBlock(_sfc_main$8, {
|
|
2675
2677
|
onOn_upload: imgUpload,
|
|
2676
2678
|
size: size.value,
|
|
2677
2679
|
multiple: _ctx.multiple,
|
|
@@ -2697,7 +2699,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
2697
2699
|
};
|
|
2698
2700
|
}
|
|
2699
2701
|
});
|
|
2700
|
-
const _sfc_main$
|
|
2702
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
2701
2703
|
__name: "app-wid",
|
|
2702
2704
|
props: {
|
|
2703
2705
|
path: {},
|
|
@@ -2722,15 +2724,15 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
2722
2724
|
return (_ctx, _cache) => {
|
|
2723
2725
|
var _a;
|
|
2724
2726
|
const _component_router_view = resolveComponent("router-view");
|
|
2725
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2727
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
2726
2728
|
class: normalizeClass(`max fixed flex-column color-light select-none bg-color-${((_a = _ctx.colors) == null ? void 0 : _a.bg) || "none"}`)
|
|
2727
2729
|
}, {
|
|
2728
2730
|
default: withCtx(() => {
|
|
2729
2731
|
var _a2;
|
|
2730
2732
|
return [
|
|
2731
|
-
createVNode(_sfc_main$
|
|
2733
|
+
createVNode(_sfc_main$u, { class: "rel grow-1" }, {
|
|
2732
2734
|
default: withCtx(() => [
|
|
2733
|
-
createVNode(_sfc_main$
|
|
2735
|
+
createVNode(_sfc_main$i, {
|
|
2734
2736
|
scroll: { y: "auto", x: "hidden" },
|
|
2735
2737
|
class: "abs max"
|
|
2736
2738
|
}, {
|
|
@@ -2744,32 +2746,32 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
2744
2746
|
]),
|
|
2745
2747
|
_: 1
|
|
2746
2748
|
}),
|
|
2747
|
-
createVNode(_sfc_main$
|
|
2749
|
+
createVNode(_sfc_main$u, {
|
|
2748
2750
|
class: normalizeClass(`pcenter pad-t-d5 flex-1 ${_ctx.round ? "round-md round-t" : ""} bg-color-${((_a2 = _ctx.colors) == null ? void 0 : _a2.bar) || "dark"} solid-t line-neutral thick-d4 app-nav-bar`)
|
|
2749
2751
|
}, {
|
|
2750
2752
|
default: withCtx(() => [
|
|
2751
2753
|
(openBlock(true), createElementBlock(Fragment, null, renderList(navs.value, (nav, i) => {
|
|
2752
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2754
|
+
return openBlock(), createBlock(_sfc_main$s, mergeProps({ key: i }, nav.hotData, {
|
|
2753
2755
|
class: "grow-1",
|
|
2754
2756
|
onOn_click: ($event) => _ctx.$emit("on_toggle", nav)
|
|
2755
2757
|
}), {
|
|
2756
2758
|
default: withCtx(() => {
|
|
2757
2759
|
var _a3, _b, _c, _d, _e, _f;
|
|
2758
2760
|
return [
|
|
2759
|
-
nav.main ? (openBlock(), createBlock(_sfc_main$
|
|
2761
|
+
nav.main ? (openBlock(), createBlock(_sfc_main$u, {
|
|
2760
2762
|
key: 0,
|
|
2761
2763
|
class: "rel w-5 mrg-h-auto"
|
|
2762
2764
|
}, {
|
|
2763
2765
|
default: withCtx(() => {
|
|
2764
2766
|
var _a4, _b2, _c2, _d2;
|
|
2765
2767
|
return [
|
|
2766
|
-
createVNode(_sfc_main$
|
|
2768
|
+
createVNode(_sfc_main$m, mergeProps(nav.iconData, {
|
|
2767
2769
|
class: `abs flex-5 solid t-f1d4 thick-2 w-5 h-5 round fsize-1d7 line-${((_b2 = (_a4 = _ctx.colors) == null ? void 0 : _a4.center) == null ? void 0 : _b2.line) || "neutral"} bg-color-${((_d2 = (_c2 = _ctx.colors) == null ? void 0 : _c2.center) == null ? void 0 : _d2.bg) || "dgray"}`
|
|
2768
2770
|
}), null, 16, ["class"])
|
|
2769
2771
|
];
|
|
2770
2772
|
}),
|
|
2771
2773
|
_: 2
|
|
2772
|
-
}, 1024)) : (openBlock(), createBlock(_sfc_main$
|
|
2774
|
+
}, 1024)) : (openBlock(), createBlock(_sfc_main$u, {
|
|
2773
2775
|
key: 1,
|
|
2774
2776
|
class: normalizeClass(`flex-column rel flex-5 color-${((_b = (_a3 = _ctx.colors) == null ? void 0 : _a3.text) == null ? void 0 : _b.normal) || "mgray"}`),
|
|
2775
2777
|
cname: ((_d = (_c = _ctx.colors) == null ? void 0 : _c.text) == null ? void 0 : _d.act) || "light",
|
|
@@ -2779,11 +2781,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
2779
2781
|
}
|
|
2780
2782
|
}, {
|
|
2781
2783
|
default: withCtx(() => [
|
|
2782
|
-
nav.unread === 1 ? (openBlock(), createBlock(_sfc_main$
|
|
2784
|
+
nav.unread === 1 ? (openBlock(), createBlock(_sfc_main$u, {
|
|
2783
2785
|
key: 0,
|
|
2784
2786
|
class: "round w-d7 h-d7 r-9d2-vw t-d2 bg-color-red abs"
|
|
2785
2787
|
})) : createCommentVNode("", true),
|
|
2786
|
-
nav.unread > 1 ? (openBlock(), createBlock(_sfc_main$
|
|
2788
|
+
nav.unread > 1 ? (openBlock(), createBlock(_sfc_main$u, {
|
|
2787
2789
|
key: 1,
|
|
2788
2790
|
class: "flex-5 round w-1d5 h-1d5 bold r-7d7-vw t-fd5 bg-color-red abs color-Cfff"
|
|
2789
2791
|
}, {
|
|
@@ -2792,7 +2794,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
2792
2794
|
]),
|
|
2793
2795
|
_: 2
|
|
2794
2796
|
}, 1024)) : createCommentVNode("", true),
|
|
2795
|
-
createVNode(_sfc_main$
|
|
2797
|
+
createVNode(_sfc_main$m, mergeProps(nav.iconData, {
|
|
2796
2798
|
cname: nav.act,
|
|
2797
2799
|
state: curRoute.value === nav.hotData.link ? "act" : "",
|
|
2798
2800
|
states: {
|
|
@@ -2800,7 +2802,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
2800
2802
|
},
|
|
2801
2803
|
class: `w-2d7 h-2d7 ${_ctx.iconTransAni ? "trans-fast" : ""} fsize-1d7`
|
|
2802
2804
|
}), null, 16, ["cname", "state", "states", "class"]),
|
|
2803
|
-
nav.text ? (openBlock(), createBlock(_sfc_main$
|
|
2805
|
+
nav.text ? (openBlock(), createBlock(_sfc_main$t, {
|
|
2804
2806
|
key: 2,
|
|
2805
2807
|
class: "fsize-d83"
|
|
2806
2808
|
}, {
|
|
@@ -2836,7 +2838,7 @@ const _hoisted_4 = [
|
|
|
2836
2838
|
_hoisted_2,
|
|
2837
2839
|
_hoisted_3
|
|
2838
2840
|
];
|
|
2839
|
-
const _sfc_main$
|
|
2841
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
2840
2842
|
__name: "confirm-wid",
|
|
2841
2843
|
props: {
|
|
2842
2844
|
colors: {}
|
|
@@ -2877,7 +2879,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
2877
2879
|
};
|
|
2878
2880
|
}
|
|
2879
2881
|
});
|
|
2880
|
-
const _sfc_main$
|
|
2882
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
2881
2883
|
__name: "toast-wid",
|
|
2882
2884
|
props: {
|
|
2883
2885
|
matteColor: {}
|
|
@@ -2923,7 +2925,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
2923
2925
|
};
|
|
2924
2926
|
}
|
|
2925
2927
|
});
|
|
2926
|
-
const _sfc_main$
|
|
2928
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
2927
2929
|
__name: "modal-wid",
|
|
2928
2930
|
props: {
|
|
2929
2931
|
visiable: { type: Boolean },
|
|
@@ -2964,6 +2966,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
2964
2966
|
return { layout, pannal };
|
|
2965
2967
|
});
|
|
2966
2968
|
const aniDir = ref("");
|
|
2969
|
+
const closeState = ref(false);
|
|
2967
2970
|
watchEffect(() => {
|
|
2968
2971
|
if (props.visiable) {
|
|
2969
2972
|
closeState.value = true;
|
|
@@ -2972,7 +2975,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
2972
2975
|
aniDir.value = `${dir.value}Back`;
|
|
2973
2976
|
}
|
|
2974
2977
|
});
|
|
2975
|
-
const closeState = ref(false);
|
|
2976
2978
|
const matteAniend = (e) => {
|
|
2977
2979
|
if (getComputedStyle(e.target).opacity === "0")
|
|
2978
2980
|
closeState.value = false;
|
|
@@ -3006,6 +3008,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3006
3008
|
createVNode(_component_b_view, {
|
|
3007
3009
|
class: normalizeClass(`${dirStyle.value.pannal} rel ani-mode-both`),
|
|
3008
3010
|
state: aniDir.value,
|
|
3011
|
+
"ani-end-clear": true,
|
|
3009
3012
|
states: {
|
|
3010
3013
|
left: {
|
|
3011
3014
|
ani: "ani-left-to-right"
|
|
@@ -3071,7 +3074,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3071
3074
|
};
|
|
3072
3075
|
}
|
|
3073
3076
|
});
|
|
3074
|
-
const _sfc_main$
|
|
3077
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
3075
3078
|
__name: "content-node-wid",
|
|
3076
3079
|
props: {
|
|
3077
3080
|
dataTree: {},
|
|
@@ -3102,14 +3105,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3102
3105
|
const _component_b_text = resolveComponent("b-text");
|
|
3103
3106
|
const _component_content_node_wid = resolveComponent("content-node-wid", true);
|
|
3104
3107
|
return openBlock(true), createElementBlock(Fragment, null, renderList(dataTree.value, (item) => {
|
|
3105
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3108
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
3106
3109
|
state: `id-${item.id}`,
|
|
3107
3110
|
key: item.id
|
|
3108
3111
|
}, {
|
|
3109
3112
|
default: withCtx(() => {
|
|
3110
3113
|
var _a;
|
|
3111
3114
|
return [
|
|
3112
|
-
createVNode(_sfc_main$
|
|
3115
|
+
createVNode(_sfc_main$s, {
|
|
3113
3116
|
cname: `${item.id}-${Math.random()}`,
|
|
3114
3117
|
class: normalizeClass(`flex-4 pad-v-${gap.value} pad-l-${setIndex(item.level)}`),
|
|
3115
3118
|
hover: _ctx.hover,
|
|
@@ -3120,7 +3123,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3120
3123
|
state: (((_a = unref(selected)) == null ? void 0 : _a.findIndex((data) => data.id === item.id)) > -1).toString()
|
|
3121
3124
|
}, {
|
|
3122
3125
|
default: withCtx(() => [
|
|
3123
|
-
item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$
|
|
3126
|
+
item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$m, {
|
|
3124
3127
|
key: 0,
|
|
3125
3128
|
class: "mrg-r-d4",
|
|
3126
3129
|
state: item.spread ? "content-wid-spread" : "content-wid-collapse",
|
|
@@ -3139,7 +3142,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3139
3142
|
]),
|
|
3140
3143
|
_: 2
|
|
3141
3144
|
}, 1032, ["cname", "class", "hover", "states", "state"]),
|
|
3142
|
-
item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$
|
|
3145
|
+
item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$u, {
|
|
3143
3146
|
key: 0,
|
|
3144
3147
|
states: {
|
|
3145
3148
|
"show": "show",
|
|
@@ -3168,7 +3171,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3168
3171
|
};
|
|
3169
3172
|
}
|
|
3170
3173
|
});
|
|
3171
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3174
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
3172
3175
|
__name: "content-wid",
|
|
3173
3176
|
props: {
|
|
3174
3177
|
dataTree: {},
|
|
@@ -3226,12 +3229,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
3226
3229
|
emit("on_select", data);
|
|
3227
3230
|
};
|
|
3228
3231
|
return (_ctx, _cache) => {
|
|
3229
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3232
|
+
return openBlock(), createBlock(_sfc_main$s, {
|
|
3230
3233
|
onOn_click: select,
|
|
3231
3234
|
"event-proxy": true
|
|
3232
3235
|
}, {
|
|
3233
3236
|
default: withCtx(() => [
|
|
3234
|
-
flatState.value ? (openBlock(), createBlock(_sfc_main$
|
|
3237
|
+
flatState.value ? (openBlock(), createBlock(_sfc_main$2, normalizeProps(mergeProps({ key: 0 }, { ...props, dataTree: dataTree.value })), createSlots({ _: 2 }, [
|
|
3235
3238
|
_ctx.$slots.default ? {
|
|
3236
3239
|
name: "default",
|
|
3237
3240
|
fn: withCtx((scope) => [
|
|
@@ -3247,33 +3250,422 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
3247
3250
|
}
|
|
3248
3251
|
});
|
|
3249
3252
|
const contentWid_vue_vue_type_style_index_0_lang = "";
|
|
3253
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3254
|
+
__name: "datetime-wid",
|
|
3255
|
+
props: {
|
|
3256
|
+
datetime: {},
|
|
3257
|
+
format: {},
|
|
3258
|
+
btnData: {},
|
|
3259
|
+
modalData: {}
|
|
3260
|
+
},
|
|
3261
|
+
emits: ["update:datetime", "getData"],
|
|
3262
|
+
setup(__props, { emit }) {
|
|
3263
|
+
const props = __props;
|
|
3264
|
+
const state = ref(false);
|
|
3265
|
+
const modalData = reactive({
|
|
3266
|
+
roundEnable: true,
|
|
3267
|
+
...props.modalData,
|
|
3268
|
+
dir: ""
|
|
3269
|
+
});
|
|
3270
|
+
const btnData = computed(() => {
|
|
3271
|
+
return {
|
|
3272
|
+
btnText: "确定",
|
|
3273
|
+
...props.btnData
|
|
3274
|
+
};
|
|
3275
|
+
});
|
|
3276
|
+
const padZero = (time) => {
|
|
3277
|
+
const _time = time.toString();
|
|
3278
|
+
return _time.length === 1 ? `0${_time}` : _time;
|
|
3279
|
+
};
|
|
3280
|
+
const curDate = new Date(props.datetime);
|
|
3281
|
+
const curTime = reactive({
|
|
3282
|
+
y: {
|
|
3283
|
+
val: curDate.getFullYear(),
|
|
3284
|
+
show: false
|
|
3285
|
+
},
|
|
3286
|
+
m: {
|
|
3287
|
+
val: curDate.getMonth() + 1,
|
|
3288
|
+
show: false
|
|
3289
|
+
},
|
|
3290
|
+
d: {
|
|
3291
|
+
val: curDate.getDate(),
|
|
3292
|
+
show: false
|
|
3293
|
+
},
|
|
3294
|
+
h: {
|
|
3295
|
+
val: curDate.getHours(),
|
|
3296
|
+
show: false
|
|
3297
|
+
},
|
|
3298
|
+
i: {
|
|
3299
|
+
val: curDate.getMinutes(),
|
|
3300
|
+
show: false
|
|
3301
|
+
},
|
|
3302
|
+
s: {
|
|
3303
|
+
val: 0,
|
|
3304
|
+
show: false
|
|
3305
|
+
}
|
|
3306
|
+
});
|
|
3307
|
+
const curOper = ref("");
|
|
3308
|
+
const twoSides = ref(false);
|
|
3309
|
+
const formatData = () => {
|
|
3310
|
+
const format = props.format || "y/m/d h:i:s";
|
|
3311
|
+
const data = format.split(" ");
|
|
3312
|
+
twoSides.value = data.length > 1;
|
|
3313
|
+
data.forEach((d) => {
|
|
3314
|
+
d.split(/\/|-|:/g).forEach((_d) => {
|
|
3315
|
+
if (!curOper.value)
|
|
3316
|
+
curOper.value = _d;
|
|
3317
|
+
curTime[_d].show = true;
|
|
3318
|
+
});
|
|
3319
|
+
});
|
|
3320
|
+
};
|
|
3321
|
+
const init = () => {
|
|
3322
|
+
const { availWidth, availHeight } = window.screen;
|
|
3323
|
+
modalData.dir = availWidth / availHeight > 1 ? "center" : "bottom";
|
|
3324
|
+
formatData();
|
|
3325
|
+
};
|
|
3326
|
+
onMounted(init);
|
|
3327
|
+
const datetimeMap = {
|
|
3328
|
+
y: "年",
|
|
3329
|
+
m: "月",
|
|
3330
|
+
d: "日",
|
|
3331
|
+
h: "时",
|
|
3332
|
+
i: "分",
|
|
3333
|
+
s: "秒"
|
|
3334
|
+
};
|
|
3335
|
+
const options = ref([]);
|
|
3336
|
+
const $curOption = ref();
|
|
3337
|
+
const $list = ref();
|
|
3338
|
+
let dates = 0;
|
|
3339
|
+
const genDates = () => {
|
|
3340
|
+
const month = curTime.m.val;
|
|
3341
|
+
const year = curTime.y.val;
|
|
3342
|
+
const leapYear = year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;
|
|
3343
|
+
if (month === 1 || month === 3 || month === 5 || month === 7 || month === 8 || month === 10 || month === 12)
|
|
3344
|
+
dates = 31;
|
|
3345
|
+
else if (month === 2)
|
|
3346
|
+
dates = leapYear ? 29 : 28;
|
|
3347
|
+
else
|
|
3348
|
+
dates = 30;
|
|
3349
|
+
};
|
|
3350
|
+
const actOption = () => {
|
|
3351
|
+
if ($curOption.value)
|
|
3352
|
+
$curOption.value.style.cssText = "";
|
|
3353
|
+
nextTick(() => {
|
|
3354
|
+
if (dates)
|
|
3355
|
+
curTime.d.val = Math.min(dates, curTime.d.val);
|
|
3356
|
+
const $targ = $list.value.$el.nextElementSibling.querySelector(`[state='${curTime[curOper.value].val}']`);
|
|
3357
|
+
$targ.style.cssText = `
|
|
3358
|
+
font-weight: bolder;
|
|
3359
|
+
opacity: 1;
|
|
3360
|
+
text-shadow: 0 0 4px rgba(255,255,255,.7);
|
|
3361
|
+
`;
|
|
3362
|
+
$targ.scrollIntoView({
|
|
3363
|
+
behavior: "smooth"
|
|
3364
|
+
});
|
|
3365
|
+
$curOption.value = $targ;
|
|
3366
|
+
});
|
|
3367
|
+
};
|
|
3368
|
+
watch(curOper, (val) => {
|
|
3369
|
+
const arr = [];
|
|
3370
|
+
switch (val) {
|
|
3371
|
+
case "y":
|
|
3372
|
+
for (let i = curTime.y.val - 50; i < curTime.y.val + 20; i++) {
|
|
3373
|
+
arr.push(i);
|
|
3374
|
+
}
|
|
3375
|
+
break;
|
|
3376
|
+
case "m":
|
|
3377
|
+
for (let i = 0; i < 12; i++) {
|
|
3378
|
+
arr.push(i + 1);
|
|
3379
|
+
}
|
|
3380
|
+
break;
|
|
3381
|
+
case "d":
|
|
3382
|
+
genDates();
|
|
3383
|
+
for (let i = 0; i < dates; i++) {
|
|
3384
|
+
arr.push(i + 1);
|
|
3385
|
+
}
|
|
3386
|
+
break;
|
|
3387
|
+
case "h":
|
|
3388
|
+
for (let i = 0; i < 24; i++) {
|
|
3389
|
+
arr.push(i);
|
|
3390
|
+
}
|
|
3391
|
+
break;
|
|
3392
|
+
case "i":
|
|
3393
|
+
case "s":
|
|
3394
|
+
for (let i = 0; i < 60; i++) {
|
|
3395
|
+
arr.push(i);
|
|
3396
|
+
}
|
|
3397
|
+
break;
|
|
3398
|
+
}
|
|
3399
|
+
options.value = arr;
|
|
3400
|
+
actOption();
|
|
3401
|
+
}, {
|
|
3402
|
+
immediate: true
|
|
3403
|
+
});
|
|
3404
|
+
const selectDateTime = (e) => {
|
|
3405
|
+
var _a;
|
|
3406
|
+
const x = e.clientX;
|
|
3407
|
+
const y = e.clientY;
|
|
3408
|
+
let element = document.elementFromPoint(x, y);
|
|
3409
|
+
while (!(element == null ? void 0 : element.hasAttribute("state"))) {
|
|
3410
|
+
element = element == null ? void 0 : element.parentElement;
|
|
3411
|
+
}
|
|
3412
|
+
curTime[curOper.value].val = (element == null ? void 0 : element.getAttribute("state")) * 1;
|
|
3413
|
+
const opers = "ymdhis".split(curOper.value)[1];
|
|
3414
|
+
const targ = (_a = opers == null ? void 0 : opers.split("")) == null ? void 0 : _a.find((word) => curTime[word].show);
|
|
3415
|
+
if (targ) {
|
|
3416
|
+
curOper.value = targ;
|
|
3417
|
+
} else {
|
|
3418
|
+
actOption();
|
|
3419
|
+
}
|
|
3420
|
+
};
|
|
3421
|
+
const ok = () => {
|
|
3422
|
+
state.value = false;
|
|
3423
|
+
const { y, m, d, h, i, s } = curTime;
|
|
3424
|
+
emit("update:datetime", Date.parse(`${y.val}-${padZero(m.val)}-${padZero(d.val)}T${padZero(h.val)}:${padZero(i.val)}:${padZero(s.val)}`));
|
|
3425
|
+
emit("getData", { ...curTime });
|
|
3426
|
+
};
|
|
3427
|
+
return (_ctx, _cache) => {
|
|
3428
|
+
const _component_b_hot = resolveComponent("b-hot");
|
|
3429
|
+
const _component_b_icon = resolveComponent("b-icon");
|
|
3430
|
+
const _component_b_text = resolveComponent("b-text");
|
|
3431
|
+
const _component_b_list = resolveComponent("b-list");
|
|
3432
|
+
const _component_btn_wid = resolveComponent("btn-wid");
|
|
3433
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
3434
|
+
createVNode(_component_b_hot, {
|
|
3435
|
+
onOn_click: _cache[0] || (_cache[0] = ($event) => state.value = true)
|
|
3436
|
+
}, {
|
|
3437
|
+
default: withCtx(() => [
|
|
3438
|
+
renderSlot(_ctx.$slots, "default")
|
|
3439
|
+
]),
|
|
3440
|
+
_: 3
|
|
3441
|
+
}),
|
|
3442
|
+
modalData.dir ? (openBlock(), createBlock(_sfc_main$3, mergeProps({
|
|
3443
|
+
key: 0,
|
|
3444
|
+
visiable: state.value,
|
|
3445
|
+
"onUpdate:visiable": _cache[7] || (_cache[7] = ($event) => state.value = $event)
|
|
3446
|
+
}, modalData), {
|
|
3447
|
+
default: withCtx(() => [
|
|
3448
|
+
createVNode(_sfc_main$u, { class: "flex-4 pad-t-1 lw-24" }, {
|
|
3449
|
+
default: withCtx(() => [
|
|
3450
|
+
createVNode(_component_b_icon, {
|
|
3451
|
+
icon: "time",
|
|
3452
|
+
class: "alpha-d7 mrg-r-d7"
|
|
3453
|
+
}),
|
|
3454
|
+
curTime.y.show ? (openBlock(), createBlock(_sfc_main$u, { key: 0 }, {
|
|
3455
|
+
default: withCtx(() => [
|
|
3456
|
+
createVNode(_component_b_hot, {
|
|
3457
|
+
onOn_click: _cache[1] || (_cache[1] = ($event) => curOper.value = "y"),
|
|
3458
|
+
cname: "y",
|
|
3459
|
+
state: curOper.value,
|
|
3460
|
+
states: { y: "color-green" }
|
|
3461
|
+
}, {
|
|
3462
|
+
default: withCtx(() => [
|
|
3463
|
+
createTextVNode(toDisplayString(curTime.y.val), 1)
|
|
3464
|
+
]),
|
|
3465
|
+
_: 1
|
|
3466
|
+
}, 8, ["state"]),
|
|
3467
|
+
createVNode(_component_b_text, { class: "pad-h-d4 alpha-d4" }, {
|
|
3468
|
+
default: withCtx(() => [
|
|
3469
|
+
createTextVNode("年")
|
|
3470
|
+
]),
|
|
3471
|
+
_: 1
|
|
3472
|
+
})
|
|
3473
|
+
]),
|
|
3474
|
+
_: 1
|
|
3475
|
+
})) : createCommentVNode("", true),
|
|
3476
|
+
curTime.m.show ? (openBlock(), createBlock(_sfc_main$u, { key: 1 }, {
|
|
3477
|
+
default: withCtx(() => [
|
|
3478
|
+
createVNode(_component_b_hot, {
|
|
3479
|
+
onOn_click: _cache[2] || (_cache[2] = ($event) => curOper.value = "m"),
|
|
3480
|
+
cname: "m",
|
|
3481
|
+
state: curOper.value,
|
|
3482
|
+
states: { m: "color-green" }
|
|
3483
|
+
}, {
|
|
3484
|
+
default: withCtx(() => [
|
|
3485
|
+
createTextVNode(toDisplayString(padZero(curTime.m.val)), 1)
|
|
3486
|
+
]),
|
|
3487
|
+
_: 1
|
|
3488
|
+
}, 8, ["state"]),
|
|
3489
|
+
createVNode(_component_b_text, { class: "pad-h-d4 alpha-d4" }, {
|
|
3490
|
+
default: withCtx(() => [
|
|
3491
|
+
createTextVNode("月")
|
|
3492
|
+
]),
|
|
3493
|
+
_: 1
|
|
3494
|
+
})
|
|
3495
|
+
]),
|
|
3496
|
+
_: 1
|
|
3497
|
+
})) : createCommentVNode("", true),
|
|
3498
|
+
curTime.d.show ? (openBlock(), createBlock(_sfc_main$u, { key: 2 }, {
|
|
3499
|
+
default: withCtx(() => [
|
|
3500
|
+
createVNode(_component_b_hot, {
|
|
3501
|
+
onOn_click: _cache[3] || (_cache[3] = ($event) => curOper.value = "d"),
|
|
3502
|
+
cname: "d",
|
|
3503
|
+
state: curOper.value,
|
|
3504
|
+
states: { d: "color-green" }
|
|
3505
|
+
}, {
|
|
3506
|
+
default: withCtx(() => [
|
|
3507
|
+
createTextVNode(toDisplayString(padZero(curTime.d.val)), 1)
|
|
3508
|
+
]),
|
|
3509
|
+
_: 1
|
|
3510
|
+
}, 8, ["state"]),
|
|
3511
|
+
createVNode(_component_b_text, { class: "pad-h-d4 alpha-d4" }, {
|
|
3512
|
+
default: withCtx(() => [
|
|
3513
|
+
createTextVNode("日")
|
|
3514
|
+
]),
|
|
3515
|
+
_: 1
|
|
3516
|
+
})
|
|
3517
|
+
]),
|
|
3518
|
+
_: 1
|
|
3519
|
+
})) : createCommentVNode("", true),
|
|
3520
|
+
twoSides.value ? (openBlock(), createBlock(_sfc_main$u, {
|
|
3521
|
+
key: 3,
|
|
3522
|
+
class: "w-1d4"
|
|
3523
|
+
})) : createCommentVNode("", true),
|
|
3524
|
+
curTime.h.show ? (openBlock(), createBlock(_sfc_main$u, { key: 4 }, {
|
|
3525
|
+
default: withCtx(() => [
|
|
3526
|
+
createVNode(_component_b_hot, {
|
|
3527
|
+
onOn_click: _cache[4] || (_cache[4] = ($event) => curOper.value = "h"),
|
|
3528
|
+
cname: "h",
|
|
3529
|
+
state: curOper.value,
|
|
3530
|
+
states: { h: "color-green" }
|
|
3531
|
+
}, {
|
|
3532
|
+
default: withCtx(() => [
|
|
3533
|
+
createTextVNode(toDisplayString(padZero(curTime.h.val)), 1)
|
|
3534
|
+
]),
|
|
3535
|
+
_: 1
|
|
3536
|
+
}, 8, ["state"]),
|
|
3537
|
+
createVNode(_component_b_text, { class: "pad-h-d4 alpha-d4" }, {
|
|
3538
|
+
default: withCtx(() => [
|
|
3539
|
+
createTextVNode("时")
|
|
3540
|
+
]),
|
|
3541
|
+
_: 1
|
|
3542
|
+
})
|
|
3543
|
+
]),
|
|
3544
|
+
_: 1
|
|
3545
|
+
})) : createCommentVNode("", true),
|
|
3546
|
+
curTime.i.show ? (openBlock(), createBlock(_sfc_main$u, { key: 5 }, {
|
|
3547
|
+
default: withCtx(() => [
|
|
3548
|
+
createVNode(_component_b_hot, {
|
|
3549
|
+
onOn_click: _cache[5] || (_cache[5] = ($event) => curOper.value = "i"),
|
|
3550
|
+
cname: "i",
|
|
3551
|
+
state: curOper.value,
|
|
3552
|
+
states: { i: "color-green" }
|
|
3553
|
+
}, {
|
|
3554
|
+
default: withCtx(() => [
|
|
3555
|
+
createTextVNode(toDisplayString(padZero(curTime.i.val)), 1)
|
|
3556
|
+
]),
|
|
3557
|
+
_: 1
|
|
3558
|
+
}, 8, ["state"]),
|
|
3559
|
+
createVNode(_component_b_text, { class: "pad-h-d4 alpha-d4" }, {
|
|
3560
|
+
default: withCtx(() => [
|
|
3561
|
+
createTextVNode("分")
|
|
3562
|
+
]),
|
|
3563
|
+
_: 1
|
|
3564
|
+
})
|
|
3565
|
+
]),
|
|
3566
|
+
_: 1
|
|
3567
|
+
})) : createCommentVNode("", true),
|
|
3568
|
+
curTime.s.show ? (openBlock(), createBlock(_sfc_main$u, { key: 6 }, {
|
|
3569
|
+
default: withCtx(() => [
|
|
3570
|
+
createVNode(_component_b_hot, {
|
|
3571
|
+
onOn_click: _cache[6] || (_cache[6] = ($event) => curOper.value = "s"),
|
|
3572
|
+
cname: "s",
|
|
3573
|
+
state: curOper.value,
|
|
3574
|
+
states: { s: "color-green" }
|
|
3575
|
+
}, {
|
|
3576
|
+
default: withCtx(() => [
|
|
3577
|
+
createTextVNode(toDisplayString(padZero(curTime.s.val)), 1)
|
|
3578
|
+
]),
|
|
3579
|
+
_: 1
|
|
3580
|
+
}, 8, ["state"]),
|
|
3581
|
+
createVNode(_component_b_text, { class: "pad-h-d4 alpha-d4" }, {
|
|
3582
|
+
default: withCtx(() => [
|
|
3583
|
+
createTextVNode("秒")
|
|
3584
|
+
]),
|
|
3585
|
+
_: 1
|
|
3586
|
+
})
|
|
3587
|
+
]),
|
|
3588
|
+
_: 1
|
|
3589
|
+
})) : createCommentVNode("", true)
|
|
3590
|
+
]),
|
|
3591
|
+
_: 1
|
|
3592
|
+
}),
|
|
3593
|
+
createVNode(_sfc_main$u, { class: "flex" }, {
|
|
3594
|
+
default: withCtx(() => [
|
|
3595
|
+
createVNode(_component_b_list, {
|
|
3596
|
+
class: "grow-1 h-17 bg-color-neutral mrg-v-1 round-md pad-1",
|
|
3597
|
+
scroll: { x: "auto", y: "auto" }
|
|
3598
|
+
}, {
|
|
3599
|
+
default: withCtx(() => [
|
|
3600
|
+
createVNode(_component_b_hot, {
|
|
3601
|
+
onOn_click: selectDateTime,
|
|
3602
|
+
ref_key: "$list",
|
|
3603
|
+
ref: $list
|
|
3604
|
+
}, {
|
|
3605
|
+
default: withCtx(() => [
|
|
3606
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(options.value, (opt) => {
|
|
3607
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
3608
|
+
state: opt,
|
|
3609
|
+
hover: "bg-color-neutral",
|
|
3610
|
+
class: "h-3 pad-h-1 lh-3-rem flex round-sm alpha-d7"
|
|
3611
|
+
}, {
|
|
3612
|
+
default: withCtx(() => [
|
|
3613
|
+
createTextVNode(toDisplayString(padZero(opt)) + " ", 1),
|
|
3614
|
+
createVNode(_component_b_text, { class: "pad-l-d4 alpha-d4" }, {
|
|
3615
|
+
default: withCtx(() => [
|
|
3616
|
+
createTextVNode(toDisplayString(datetimeMap[curOper.value]), 1)
|
|
3617
|
+
]),
|
|
3618
|
+
_: 1
|
|
3619
|
+
})
|
|
3620
|
+
]),
|
|
3621
|
+
_: 2
|
|
3622
|
+
}, 1032, ["state"]);
|
|
3623
|
+
}), 256))
|
|
3624
|
+
]),
|
|
3625
|
+
_: 1
|
|
3626
|
+
}, 512)
|
|
3627
|
+
]),
|
|
3628
|
+
_: 1
|
|
3629
|
+
})
|
|
3630
|
+
]),
|
|
3631
|
+
_: 1
|
|
3632
|
+
}),
|
|
3633
|
+
createVNode(_component_btn_wid, mergeProps(btnData.value, { onOn_click: ok }), null, 16)
|
|
3634
|
+
]),
|
|
3635
|
+
_: 1
|
|
3636
|
+
}, 16, ["visiable"])) : createCommentVNode("", true)
|
|
3637
|
+
], 64);
|
|
3638
|
+
};
|
|
3639
|
+
}
|
|
3640
|
+
});
|
|
3250
3641
|
const initGlobalComponents = [
|
|
3642
|
+
_sfc_main$v,
|
|
3251
3643
|
_sfc_main$u,
|
|
3252
3644
|
_sfc_main$t,
|
|
3253
3645
|
_sfc_main$s,
|
|
3254
3646
|
_sfc_main$r,
|
|
3255
|
-
_sfc_main$
|
|
3256
|
-
_sfc_main$
|
|
3647
|
+
_sfc_main$m,
|
|
3648
|
+
_sfc_main$j,
|
|
3257
3649
|
_sfc_main$i,
|
|
3650
|
+
_sfc_main$g,
|
|
3651
|
+
_sfc_main$l,
|
|
3258
3652
|
_sfc_main$h,
|
|
3259
|
-
_sfc_main$f,
|
|
3260
3653
|
_sfc_main$k,
|
|
3261
|
-
_sfc_main$
|
|
3262
|
-
_sfc_main$j,
|
|
3654
|
+
_sfc_main$f,
|
|
3263
3655
|
_sfc_main$e,
|
|
3264
3656
|
_sfc_main$d,
|
|
3657
|
+
_sfc_main$5,
|
|
3265
3658
|
_sfc_main$c,
|
|
3266
|
-
_sfc_main$4,
|
|
3267
3659
|
_sfc_main$b,
|
|
3268
3660
|
_sfc_main$a,
|
|
3269
3661
|
_sfc_main$9,
|
|
3662
|
+
_sfc_main$6,
|
|
3270
3663
|
_sfc_main$8,
|
|
3271
|
-
_sfc_main$5,
|
|
3272
3664
|
_sfc_main$7,
|
|
3273
|
-
_sfc_main$
|
|
3665
|
+
_sfc_main$1,
|
|
3666
|
+
_sfc_main$3,
|
|
3274
3667
|
_sfc_main,
|
|
3275
|
-
_sfc_main$
|
|
3276
|
-
_sfc_main$3
|
|
3668
|
+
_sfc_main$4
|
|
3277
3669
|
];
|
|
3278
3670
|
const index = {
|
|
3279
3671
|
name: "btxui",
|