btxui 1.0.82 → 1.0.83

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 CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, computed, reactive, onMounted, renderSlot, watch, openBlock, createBlock, normalizeClass, withCtx, createElementVNode, normalizeStyle, getCurrentInstance, withModifiers, createVNode, resolveComponent, createElementBlock, Fragment, createCommentVNode, watchEffect, nextTick, toDisplayString, withDirectives, vModelDynamic, vModelText, mergeProps, createTextVNode, renderList, createSlots, onBeforeMount, KeepAlive, onBeforeUnmount } from "vue";
1
+ import { defineComponent, ref, computed, reactive, onMounted, renderSlot, watch, openBlock, createBlock, normalizeClass, withCtx, createElementVNode, normalizeStyle, getCurrentInstance, resolveDynamicComponent, withModifiers, createVNode, resolveComponent, createElementBlock, Fragment, createCommentVNode, watchEffect, nextTick, toDisplayString, withDirectives, vModelDynamic, vModelText, mergeProps, createTextVNode, renderList, createSlots, onBeforeMount, KeepAlive, onBeforeUnmount, inject, unref, normalizeProps, guardReactiveProps, provide } from "vue";
2
2
  const theme = {
3
3
  // 预置主题色
4
4
  colors: {
@@ -192,6 +192,8 @@ const prestyles = {
192
192
  "objfit-contain": `object-fit: contain;`,
193
193
  "objfit-none": `object-fit: none;`,
194
194
  "objfit-scaledown": `object-fit: scale-down;`,
195
+ // 图层混合模式
196
+ "lighten": `mix-blend-mode: lighten;`,
195
197
  // 二段赋值-----------------------------------------------------------------------------------
196
198
  // 文字颜色
197
199
  "color": {
@@ -552,7 +554,7 @@ var md5$1 = {
552
554
  })(md5$1);
553
555
  const md5 = md5Exports;
554
556
  const GLOBAL_STYLE_NAME = "BTXUIGlobal";
555
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
557
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
556
558
  __name: "b-style",
557
559
  props: {
558
560
  class: {},
@@ -796,8 +798,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
796
798
  };
797
799
  }
798
800
  });
799
- const _hoisted_1$d = ["data-ani-states", "state"];
800
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
801
+ const _hoisted_1$c = ["data-ani-states", "state"];
802
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
801
803
  __name: "b-view",
802
804
  props: {
803
805
  class: {},
@@ -838,7 +840,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
838
840
  }
839
841
  });
840
842
  return (_ctx, _cache) => {
841
- return openBlock(), createBlock(_sfc_main$r, {
843
+ return openBlock(), createBlock(_sfc_main$t, {
842
844
  class: normalizeClass(_ctx.class),
843
845
  cname: _ctx.cname,
844
846
  states: _ctx.states,
@@ -855,15 +857,15 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
855
857
  style: normalizeStyle({ ...bgStyle.value, ...scope.matrixStyle })
856
858
  }, [
857
859
  renderSlot(_ctx.$slots, "default")
858
- ], 46, _hoisted_1$d)
860
+ ], 46, _hoisted_1$c)
859
861
  ]),
860
862
  _: 3
861
863
  }, 8, ["class", "cname", "states", "matrix"]);
862
864
  };
863
865
  }
864
866
  });
865
- const _hoisted_1$c = ["state"];
866
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
867
+ const _hoisted_1$b = ["state"];
868
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
867
869
  __name: "b-text",
868
870
  props: {
869
871
  class: {},
@@ -873,7 +875,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
873
875
  },
874
876
  setup(__props) {
875
877
  return (_ctx, _cache) => {
876
- return openBlock(), createBlock(_sfc_main$r, {
878
+ return openBlock(), createBlock(_sfc_main$t, {
877
879
  class: normalizeClass(_ctx.class),
878
880
  states: _ctx.states,
879
881
  cname: _ctx.cname
@@ -884,15 +886,14 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
884
886
  state: _ctx.state
885
887
  }, [
886
888
  renderSlot(_ctx.$slots, "default")
887
- ], 10, _hoisted_1$c)
889
+ ], 10, _hoisted_1$b)
888
890
  ]),
889
891
  _: 3
890
892
  }, 8, ["class", "states", "cname"]);
891
893
  };
892
894
  }
893
895
  });
894
- const _hoisted_1$b = ["onClick", "onDblclick", "target", "hover", "state", "active", "href"];
895
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
896
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
896
897
  __name: "b-hot",
897
898
  props: {
898
899
  link: {},
@@ -906,9 +907,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
906
907
  anchor: {},
907
908
  cname: {},
908
909
  replace: { type: Boolean },
909
- touchDuration: {}
910
+ touchDuration: {},
911
+ eventProxy: { type: Boolean }
910
912
  },
911
- emits: ["on_click", "on_enter", "on_move", "on_leave", "on_dblclick", "on_longTouch", "on_pointerMove"],
913
+ emits: ["on_click", "on_enter", "on_move", "on_leave", "on_dblclick", "on_longTouch"],
912
914
  setup(__props, { emit }) {
913
915
  const props = __props;
914
916
  const { proxy } = getCurrentInstance();
@@ -979,15 +981,12 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
979
981
  clearTimeout(t2);
980
982
  }
981
983
  };
982
- const pointermove = (e) => {
983
- emit("on_pointerMove", e);
984
- };
985
984
  onMounted(() => {
986
985
  if (props.download)
987
986
  $anchor.value.download = props.download;
988
987
  });
989
988
  return (_ctx, _cache) => {
990
- return openBlock(), createBlock(_sfc_main$r, {
989
+ return openBlock(), createBlock(_sfc_main$t, {
991
990
  class: normalizeClass(_ctx.class),
992
991
  states: _ctx.states,
993
992
  hover: _ctx.hover,
@@ -995,7 +994,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
995
994
  cname: _ctx.cname
996
995
  }, {
997
996
  className: withCtx((scope) => [
998
- createElementVNode("a", {
997
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.eventProxy ? "div" : "a"), {
999
998
  style: normalizeStyle(`user-select: none; cursor: ${cursor.value};`),
1000
999
  ref_key: "$anchor",
1001
1000
  ref: $anchor,
@@ -1003,10 +1002,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1003
1002
  onTouchstart: enter,
1004
1003
  onMousemove: move,
1005
1004
  onTouchmove: move,
1006
- onPointermove: pointermove,
1007
1005
  onMouseleave: leave,
1008
1006
  onTouchend: leave,
1009
- onClick: withModifiers(click, ["stop"]),
1007
+ onClick: click,
1010
1008
  onDblclick: withModifiers(dblclick, ["stop"]),
1011
1009
  target: target.value,
1012
1010
  class: normalizeClass(scope.className),
@@ -1014,9 +1012,12 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1014
1012
  state: _ctx.state,
1015
1013
  active: _ctx.active ? true : "",
1016
1014
  href: url.value
1017
- }, [
1018
- renderSlot(_ctx.$slots, "default")
1019
- ], 46, _hoisted_1$b)
1015
+ }, {
1016
+ default: withCtx(() => [
1017
+ renderSlot(_ctx.$slots, "default")
1018
+ ]),
1019
+ _: 2
1020
+ }, 1064, ["style", "onDblclick", "target", "class", "hover", "state", "active", "href"]))
1020
1021
  ]),
1021
1022
  _: 3
1022
1023
  }, 8, ["class", "states", "hover", "active", "cname"]);
@@ -1024,7 +1025,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1024
1025
  }
1025
1026
  });
1026
1027
  const _hoisted_1$a = ["src", "state", "alt"];
1027
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
1028
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1028
1029
  __name: "b-img",
1029
1030
  props: {
1030
1031
  img: {},
@@ -1056,7 +1057,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1056
1057
  setSrc();
1057
1058
  });
1058
1059
  return (_ctx, _cache) => {
1059
- return openBlock(), createBlock(_sfc_main$r, {
1060
+ return openBlock(), createBlock(_sfc_main$t, {
1060
1061
  class: normalizeClass(_ctx.class),
1061
1062
  cname: _ctx.cname,
1062
1063
  states: _ctx.states,
@@ -1076,17 +1077,17 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1076
1077
  };
1077
1078
  }
1078
1079
  });
1079
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
1080
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1080
1081
  __name: "ani-success",
1081
1082
  setup(__props) {
1082
1083
  return (_ctx, _cache) => {
1083
- return openBlock(), createBlock(_sfc_main$q, {
1084
+ return openBlock(), createBlock(_sfc_main$s, {
1084
1085
  class: "flex-5",
1085
1086
  matrix: { translate: "0,9px", rotate: "45deg" }
1086
1087
  }, {
1087
1088
  default: withCtx(() => [
1088
- createVNode(_sfc_main$p, { class: "ani-success-part1 w-1 h-3-px bg-color-green round-sm" }),
1089
- createVNode(_sfc_main$p, { class: "ani-success-part2 w-1d7 h-3-px bg-color-green round-sm rel t-1-px l-f1-px" })
1089
+ createVNode(_sfc_main$r, { class: "ani-success-part1 w-1 h-3-px bg-color-green round-sm" }),
1090
+ createVNode(_sfc_main$r, { class: "ani-success-part2 w-1d7 h-3-px bg-color-green round-sm rel t-1-px l-f1-px" })
1090
1091
  ]),
1091
1092
  _: 1
1092
1093
  });
@@ -1102,7 +1103,7 @@ const _export_sfc = (sfc, props) => {
1102
1103
  }
1103
1104
  return target;
1104
1105
  };
1105
- const _sfc_main$l = {};
1106
+ const _sfc_main$n = {};
1106
1107
  function _sfc_render$2(_ctx, _cache) {
1107
1108
  const _component_b_text = resolveComponent("b-text");
1108
1109
  const _component_b_view = resolveComponent("b-view");
@@ -1114,9 +1115,9 @@ function _sfc_render$2(_ctx, _cache) {
1114
1115
  _: 1
1115
1116
  });
1116
1117
  }
1117
- const AniFail = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$2]]);
1118
+ const AniFail = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$2]]);
1118
1119
  const aniNotic_vue_vue_type_style_index_0_lang = "";
1119
- const _sfc_main$k = {};
1120
+ const _sfc_main$m = {};
1120
1121
  function _sfc_render$1(_ctx, _cache) {
1121
1122
  const _component_b_text = resolveComponent("b-text");
1122
1123
  const _component_b_view = resolveComponent("b-view");
@@ -1131,9 +1132,9 @@ function _sfc_render$1(_ctx, _cache) {
1131
1132
  _: 1
1132
1133
  });
1133
1134
  }
1134
- const AniNotic = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$1]]);
1135
+ const AniNotic = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$1]]);
1135
1136
  const aniLoading_vue_vue_type_style_index_0_lang = "";
1136
- const _sfc_main$j = {};
1137
+ const _sfc_main$l = {};
1137
1138
  function _sfc_render(_ctx, _cache) {
1138
1139
  const _component_b_view = resolveComponent("b-view");
1139
1140
  return openBlock(), createBlock(_component_b_view, { class: "flex-5" }, {
@@ -1143,9 +1144,9 @@ function _sfc_render(_ctx, _cache) {
1143
1144
  _: 1
1144
1145
  });
1145
1146
  }
1146
- const AniLoading = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render]]);
1147
+ const AniLoading = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render]]);
1147
1148
  const _hoisted_1$9 = ["state"];
1148
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
1149
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1149
1150
  __name: "b-icon",
1150
1151
  props: {
1151
1152
  icon: {},
@@ -1157,19 +1158,19 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1157
1158
  setup(__props) {
1158
1159
  const props = __props;
1159
1160
  return (_ctx, _cache) => {
1160
- return openBlock(), createBlock(_sfc_main$r, {
1161
+ return openBlock(), createBlock(_sfc_main$t, {
1161
1162
  class: normalizeClass(_ctx.class),
1162
1163
  states: _ctx.states,
1163
1164
  cname: _ctx.cname
1164
1165
  }, {
1165
1166
  className: withCtx((scope) => [
1166
1167
  _ctx.icon.search("ani_") === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
1167
- _ctx.icon === "ani_success" ? (openBlock(), createBlock(_sfc_main$m, { key: "success" })) : createCommentVNode("", true),
1168
+ _ctx.icon === "ani_success" ? (openBlock(), createBlock(_sfc_main$o, { key: "success" })) : createCommentVNode("", true),
1168
1169
  _ctx.icon === "ani_fail" ? (openBlock(), createBlock(AniFail, { key: "fail" })) : createCommentVNode("", true),
1169
1170
  _ctx.icon === "ani_notic" ? (openBlock(), createBlock(AniNotic, { key: "notic" })) : createCommentVNode("", true),
1170
1171
  _ctx.icon === "ani_loading" ? (openBlock(), createBlock(AniLoading, { key: "loading" })) : createCommentVNode("", true)
1171
1172
  ], 64)) : createCommentVNode("", true),
1172
- _ctx.icon.search("/") > -1 ? (openBlock(), createBlock(_sfc_main$q, {
1173
+ _ctx.icon.search("/") > -1 ? (openBlock(), createBlock(_sfc_main$s, {
1173
1174
  key: 1,
1174
1175
  "bg-img": _ctx.icon,
1175
1176
  states: _ctx.states,
@@ -1188,7 +1189,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1188
1189
  });
1189
1190
  const _hoisted_1$8 = ["type", "name", "focus-state", "state", "placeholder", "maxlength", "readonly"];
1190
1191
  const _hoisted_2$3 = ["type", "name", "focus-state", "state", "placeholder", "maxlength", "readonly"];
1191
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
1192
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1192
1193
  __name: "b-input",
1193
1194
  props: {
1194
1195
  type: {},
@@ -1271,6 +1272,15 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1271
1272
  }
1272
1273
  return true;
1273
1274
  };
1275
+ const clear = () => {
1276
+ if (props.aspectHeight) {
1277
+ $input.value.innerText = "";
1278
+ input2();
1279
+ } else {
1280
+ val.value = "";
1281
+ input();
1282
+ }
1283
+ };
1274
1284
  const $input = ref();
1275
1285
  __expose({
1276
1286
  check,
@@ -1280,15 +1290,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1280
1290
  blur: function() {
1281
1291
  $input.value.blur();
1282
1292
  },
1283
- clear: function() {
1284
- if (props.aspectHeight) {
1285
- $input.value.innerText = "";
1286
- input2();
1287
- } else {
1288
- val.value = "";
1289
- input();
1290
- }
1291
- }
1293
+ clear
1292
1294
  });
1293
1295
  onMounted(() => {
1294
1296
  nextTick(() => {
@@ -1296,61 +1298,92 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1296
1298
  });
1297
1299
  });
1298
1300
  return (_ctx, _cache) => {
1299
- return openBlock(), createBlock(_sfc_main$r, {
1301
+ const _component_b_icon = resolveComponent("b-icon");
1302
+ const _component_b_hot = resolveComponent("b-hot");
1303
+ const _component_b_view = resolveComponent("b-view");
1304
+ return openBlock(), createBlock(_sfc_main$t, {
1300
1305
  class: normalizeClass(_ctx.class),
1301
1306
  focus: _ctx.focus,
1302
1307
  states: _ctx.states,
1303
1308
  cname: _ctx.cname
1304
1309
  }, {
1305
1310
  className: withCtx((scope) => [
1306
- _ctx.aspectHeight ? (openBlock(), createElementBlock("div", {
1307
- key: 0,
1308
- contenteditable: "",
1309
- class: normalizeClass(scope.className),
1310
- onFocus: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("on_focus", $event)),
1311
- onBlur: blur,
1312
- onChange: change,
1313
- onInput: input2,
1314
- type: _ctx.type,
1315
- ref_key: "$input",
1316
- ref: $input,
1317
- style: { "outline": "none" },
1318
- name: _ctx.name,
1319
- "focus-state": _ctx.focus ? "true" : "",
1320
- state: _ctx.state,
1321
- placeholder: _ctx.placeholder,
1322
- maxlength: _ctx.maxlength,
1323
- readonly: _ctx.readonly,
1324
- autocomplete: "off"
1325
- }, toDisplayString(val2.value), 43, _hoisted_1$8)) : withDirectives((openBlock(), createElementBlock("input", {
1326
- key: 1,
1327
- class: normalizeClass(scope.className),
1328
- onFocus: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("on_focus", $event)),
1329
- onBlur: blur,
1330
- onChange: change,
1331
- onInput: input,
1332
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => val.value = $event),
1333
- type: _ctx.type,
1334
- ref_key: "$input",
1335
- ref: $input,
1336
- name: _ctx.name,
1337
- "focus-state": _ctx.focus ? "true" : "",
1338
- state: _ctx.state,
1339
- placeholder: _ctx.placeholder,
1340
- maxlength: _ctx.maxlength,
1341
- readonly: _ctx.readonly,
1342
- autocomplete: "off"
1343
- }, null, 42, _hoisted_2$3)), [
1344
- [vModelDynamic, val.value]
1345
- ])
1311
+ createVNode(_component_b_view, { class: "flex-4 rel" }, {
1312
+ default: withCtx(() => {
1313
+ var _a, _b;
1314
+ return [
1315
+ _ctx.aspectHeight ? (openBlock(), createElementBlock("div", {
1316
+ key: 0,
1317
+ class: normalizeClass(scope.className),
1318
+ contenteditable: "",
1319
+ onFocus: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("on_focus", $event)),
1320
+ onBlur: blur,
1321
+ onChange: change,
1322
+ onInput: input2,
1323
+ type: _ctx.type,
1324
+ ref_key: "$input",
1325
+ ref: $input,
1326
+ style: { "outline": "none" },
1327
+ name: _ctx.name,
1328
+ "focus-state": _ctx.focus ? "true" : "",
1329
+ state: _ctx.state,
1330
+ placeholder: _ctx.placeholder,
1331
+ maxlength: _ctx.maxlength,
1332
+ readonly: _ctx.readonly,
1333
+ autocomplete: "off"
1334
+ }, toDisplayString(val2.value), 43, _hoisted_1$8)) : withDirectives((openBlock(), createElementBlock("input", {
1335
+ key: 1,
1336
+ class: normalizeClass(scope.className),
1337
+ onFocus: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("on_focus", $event)),
1338
+ onBlur: blur,
1339
+ onChange: change,
1340
+ onInput: input,
1341
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => val.value = $event),
1342
+ type: _ctx.type,
1343
+ ref_key: "$input",
1344
+ ref: $input,
1345
+ style: { "outline": "none" },
1346
+ name: _ctx.name,
1347
+ "focus-state": _ctx.focus ? "true" : "",
1348
+ state: _ctx.state,
1349
+ placeholder: _ctx.placeholder,
1350
+ maxlength: _ctx.maxlength,
1351
+ readonly: _ctx.readonly,
1352
+ autocomplete: "off"
1353
+ }, null, 42, _hoisted_2$3)), [
1354
+ [vModelDynamic, val.value]
1355
+ ]),
1356
+ !_ctx.readonly && !_ctx.aspectHeight ? (openBlock(), createBlock(_component_b_hot, {
1357
+ key: 2,
1358
+ onOn_click: clear,
1359
+ class: "abs r-1",
1360
+ states: {
1361
+ show: "show",
1362
+ hide: "hide"
1363
+ },
1364
+ state: (((_a = val.value) == null ? void 0 : _a.length) || ((_b = val2.value) == null ? void 0 : _b.length)) == 0 ? "hide" : "show"
1365
+ }, {
1366
+ default: withCtx(() => [
1367
+ _ctx.$slots.cancel ? renderSlot(_ctx.$slots, "cancel", { key: 0 }) : (openBlock(), createBlock(_component_b_icon, {
1368
+ key: 1,
1369
+ class: "flex-5 h-1d8 w-1d8 bg-color-neutral round",
1370
+ icon: "fail"
1371
+ }))
1372
+ ]),
1373
+ _: 3
1374
+ }, 8, ["state"])) : createCommentVNode("", true)
1375
+ ];
1376
+ }),
1377
+ _: 2
1378
+ }, 1024)
1346
1379
  ]),
1347
- _: 1
1380
+ _: 3
1348
1381
  }, 8, ["class", "focus", "states", "cname"]);
1349
1382
  };
1350
1383
  }
1351
1384
  });
1352
1385
  const _hoisted_1$7 = ["name", "focus", "state", "placeholder", "maxlength", "readonly", "rows"];
1353
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
1386
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1354
1387
  __name: "b-textarea",
1355
1388
  props: {
1356
1389
  text: {},
@@ -1374,7 +1407,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
1374
1407
  emit("update:text", formatText(val.value));
1375
1408
  };
1376
1409
  return (_ctx, _cache) => {
1377
- return openBlock(), createBlock(_sfc_main$r, {
1410
+ return openBlock(), createBlock(_sfc_main$t, {
1378
1411
  class: normalizeClass(_ctx.class),
1379
1412
  focus: _ctx.focus,
1380
1413
  states: _ctx.states,
@@ -1406,7 +1439,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
1406
1439
  });
1407
1440
  const _hoisted_1$6 = ["poster", "muted", "src", "autoplay", "controls", "loop"];
1408
1441
  const _hoisted_2$2 = ["poster", "muted", "src", "autoplay", "controls", "loop"];
1409
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
1442
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1410
1443
  __name: "b-video",
1411
1444
  props: {
1412
1445
  video: {},
@@ -1449,7 +1482,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1449
1482
  const _component_b_icon = resolveComponent("b-icon");
1450
1483
  const _component_b_view = resolveComponent("b-view");
1451
1484
  const _component_b_hot = resolveComponent("b-hot");
1452
- return openBlock(), createBlock(_sfc_main$r, {
1485
+ return openBlock(), createBlock(_sfc_main$t, {
1453
1486
  class: normalizeClass(_ctx.class),
1454
1487
  cname: _ctx.cname
1455
1488
  }, {
@@ -1530,7 +1563,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1530
1563
  });
1531
1564
  const _hoisted_1$5 = ["state"];
1532
1565
  const tolerance = 2;
1533
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
1566
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
1534
1567
  __name: "b-list",
1535
1568
  props: {
1536
1569
  scroll: {},
@@ -1593,7 +1626,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1593
1626
  watchPos();
1594
1627
  });
1595
1628
  return (_ctx, _cache) => {
1596
- return openBlock(), createBlock(_sfc_main$r, {
1629
+ return openBlock(), createBlock(_sfc_main$t, {
1597
1630
  class: normalizeClass(_ctx.class),
1598
1631
  states: _ctx.states,
1599
1632
  cname: _ctx.cname
@@ -1621,7 +1654,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1621
1654
  }
1622
1655
  });
1623
1656
  const _hoisted_1$4 = ["state", "draggable"];
1624
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
1657
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1625
1658
  __name: "b-drag",
1626
1659
  props: {
1627
1660
  class: {},
@@ -1731,7 +1764,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
1731
1764
  bindEvent();
1732
1765
  });
1733
1766
  return (_ctx, _cache) => {
1734
- return openBlock(), createBlock(_sfc_main$r, {
1767
+ return openBlock(), createBlock(_sfc_main$t, {
1735
1768
  class: normalizeClass(_ctx.class),
1736
1769
  states: { dragStart: _ctx.dragStart, dragOver: _ctx.dragOver },
1737
1770
  cname: _ctx.cname
@@ -1761,7 +1794,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
1761
1794
  }
1762
1795
  });
1763
1796
  const _hoisted_1$3 = ["src"];
1764
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
1797
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1765
1798
  __name: "b-webview",
1766
1799
  props: {
1767
1800
  src: {},
@@ -1770,7 +1803,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
1770
1803
  },
1771
1804
  setup(__props) {
1772
1805
  return (_ctx, _cache) => {
1773
- return openBlock(), createBlock(_sfc_main$r, {
1806
+ return openBlock(), createBlock(_sfc_main$t, {
1774
1807
  class: normalizeClass(_ctx.class),
1775
1808
  cname: _ctx.cname
1776
1809
  }, {
@@ -1786,7 +1819,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
1786
1819
  };
1787
1820
  }
1788
1821
  });
1789
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
1822
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
1790
1823
  __name: "b-row",
1791
1824
  props: {
1792
1825
  class: {},
@@ -1803,7 +1836,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
1803
1836
  });
1804
1837
  const combClass = ref(`${props.class} flex pad-h-${gap.value[0]} pad-v-${gap.value[1]}`);
1805
1838
  return (_ctx, _cache) => {
1806
- return openBlock(), createBlock(_sfc_main$q, mergeProps({ class: combClass.value }, _ctx.viewData, {
1839
+ return openBlock(), createBlock(_sfc_main$s, mergeProps({ class: combClass.value }, _ctx.viewData, {
1807
1840
  extraClass: {
1808
1841
  selector: ">",
1809
1842
  value: `pad-h-${gap.value[0]} pad-v-${gap.value[1]}`
@@ -1817,7 +1850,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
1817
1850
  };
1818
1851
  }
1819
1852
  });
1820
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
1853
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
1821
1854
  __name: "b-col",
1822
1855
  props: {
1823
1856
  span: {},
@@ -1829,7 +1862,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
1829
1862
  const props = __props;
1830
1863
  const combClass = ref(`${props.class ?? ""} ${props.span ? "col-" + props.span : ""} ${props.offset ? "offset-" + props.offset : ""}`);
1831
1864
  return (_ctx, _cache) => {
1832
- return openBlock(), createBlock(_sfc_main$q, mergeProps({ class: combClass.value }, _ctx.viewData), {
1865
+ return openBlock(), createBlock(_sfc_main$s, mergeProps({ class: combClass.value }, _ctx.viewData), {
1833
1866
  default: withCtx(() => [
1834
1867
  renderSlot(_ctx.$slots, "default")
1835
1868
  ]),
@@ -1838,7 +1871,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
1838
1871
  };
1839
1872
  }
1840
1873
  });
1841
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
1874
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
1842
1875
  __name: "btn-wid",
1843
1876
  props: {
1844
1877
  btnText: {},
@@ -1885,13 +1918,13 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
1885
1918
  };
1886
1919
  });
1887
1920
  return (_ctx, _cache) => {
1888
- return openBlock(), createBlock(_sfc_main$o, mergeProps(_ctx.hotData, {
1921
+ return openBlock(), createBlock(_sfc_main$q, mergeProps(_ctx.hotData, {
1889
1922
  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`,
1890
1923
  hover: `${hover.value.text} ${hover.value.bg} ${hover.value.line}`,
1891
1924
  active: `${active.value.text} ${active.value.bg} ${active.value.line}`
1892
1925
  }), {
1893
1926
  default: withCtx(() => [
1894
- _ctx.iconData ? (openBlock(), createBlock(_sfc_main$i, mergeProps({ key: 0 }, _ctx.iconData, { class: "mrg-r-d7" }), null, 16)) : createCommentVNode("", true),
1927
+ _ctx.iconData ? (openBlock(), createBlock(_sfc_main$k, mergeProps({ key: 0 }, _ctx.iconData, { class: "mrg-r-d7" }), null, 16)) : createCommentVNode("", true),
1895
1928
  createTextVNode(" " + toDisplayString(_ctx.btnText), 1)
1896
1929
  ]),
1897
1930
  _: 1
@@ -1899,7 +1932,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
1899
1932
  };
1900
1933
  }
1901
1934
  });
1902
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
1935
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
1903
1936
  __name: "checkbox-wid",
1904
1937
  props: {
1905
1938
  selected: { type: Boolean },
@@ -1927,7 +1960,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
1927
1960
  emit("change", props.value, state);
1928
1961
  };
1929
1962
  return (_ctx, _cache) => {
1930
- return openBlock(), createBlock(_sfc_main$o, {
1963
+ return openBlock(), createBlock(_sfc_main$q, {
1931
1964
  class: normalizeClass(combClass.value),
1932
1965
  hover: "alpha-d9",
1933
1966
  state: selected.value ? "act" : "",
@@ -1941,7 +1974,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
1941
1974
  }, () => {
1942
1975
  var _a, _b;
1943
1976
  return [
1944
- createVNode(_sfc_main$q, {
1977
+ createVNode(_sfc_main$s, {
1945
1978
  class: "w-24-px h-24-px bg-color-neutral round-sm flex-5",
1946
1979
  state: selected.value ? "act" : "",
1947
1980
  cname: combClass.value + combActClass.value,
@@ -1950,7 +1983,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
1950
1983
  }
1951
1984
  }, {
1952
1985
  default: withCtx(() => [
1953
- createVNode(_sfc_main$i, {
1986
+ createVNode(_sfc_main$k, {
1954
1987
  icon: "success",
1955
1988
  class: "alpha-d3",
1956
1989
  state: selected.value ? "act" : "",
@@ -1963,7 +1996,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
1963
1996
  }, 8, ["state", "cname", "states"])
1964
1997
  ];
1965
1998
  }),
1966
- label.value ? (openBlock(), createBlock(_sfc_main$q, {
1999
+ label.value ? (openBlock(), createBlock(_sfc_main$s, {
1967
2000
  key: 0,
1968
2001
  class: "pad-h-1 ellipsis"
1969
2002
  }, {
@@ -1978,7 +2011,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
1978
2011
  };
1979
2012
  }
1980
2013
  });
1981
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2014
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
1982
2015
  __name: "checkbox-group-wid",
1983
2016
  props: {
1984
2017
  options: {},
@@ -2021,11 +2054,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2021
2054
  return (_ctx, _cache) => {
2022
2055
  const _component_b_col = resolveComponent("b-col");
2023
2056
  const _component_b_row = resolveComponent("b-row");
2024
- return openBlock(), createBlock(_sfc_main$q, {
2057
+ return openBlock(), createBlock(_sfc_main$s, {
2025
2058
  class: normalizeClass(_ctx.class)
2026
2059
  }, {
2027
2060
  default: withCtx(() => [
2028
- _ctx.title ? (openBlock(), createBlock(_sfc_main$q, {
2061
+ _ctx.title ? (openBlock(), createBlock(_sfc_main$s, {
2029
2062
  key: 0,
2030
2063
  class: "mrg-b-1"
2031
2064
  }, {
@@ -2043,7 +2076,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2043
2076
  key: i
2044
2077
  }, {
2045
2078
  default: withCtx(() => [
2046
- createVNode(_sfc_main$8, mergeProps({
2079
+ createVNode(_sfc_main$a, mergeProps({
2047
2080
  onChange: change,
2048
2081
  label: item.label,
2049
2082
  value: item.value
@@ -2083,7 +2116,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2083
2116
  };
2084
2117
  }
2085
2118
  });
2086
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2119
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2087
2120
  __name: "radio-group-wid",
2088
2121
  props: {
2089
2122
  options: {},
@@ -2111,7 +2144,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2111
2144
  });
2112
2145
  return (_ctx, _cache) => {
2113
2146
  const _component_b_view = resolveComponent("b-view");
2114
- return openBlock(), createBlock(_sfc_main$7, {
2147
+ return openBlock(), createBlock(_sfc_main$9, {
2115
2148
  span: _ctx.span,
2116
2149
  title: _ctx.title,
2117
2150
  class: normalizeClass(_ctx.class),
@@ -2154,7 +2187,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2154
2187
  const _hoisted_1$2 = ["state"];
2155
2188
  const _hoisted_2$1 = ["innerHTML"];
2156
2189
  const _hoisted_3$1 = ["innerHTML"];
2157
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2190
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2158
2191
  __name: "tabs-wid",
2159
2192
  props: {
2160
2193
  options: {},
@@ -2224,9 +2257,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2224
2257
  });
2225
2258
  return (_ctx, _cache) => {
2226
2259
  return openBlock(), createElementBlock(Fragment, null, [
2227
- createVNode(_sfc_main$q, { class: "flex-7" }, {
2260
+ createVNode(_sfc_main$s, { class: "flex-7" }, {
2228
2261
  default: withCtx(() => [
2229
- createVNode(_sfc_main$6, {
2262
+ createVNode(_sfc_main$8, {
2230
2263
  options: options.value,
2231
2264
  title: _ctx.title,
2232
2265
  selected: selected.value,
@@ -2241,13 +2274,13 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2241
2274
  } : slots.value.length === 0 && _ctx.tabStyle === "card" ? {
2242
2275
  name: "default",
2243
2276
  fn: withCtx((scope) => [
2244
- createVNode(_sfc_main$q, { class: "w-4-px b-f1-px h-1-px bg-color-neutral r-f5-px abs" })
2277
+ createVNode(_sfc_main$s, { class: "w-4-px b-f1-px h-1-px bg-color-neutral r-f5-px abs" })
2245
2278
  ]),
2246
2279
  key: "1"
2247
2280
  } : slots.value.length === 0 ? {
2248
2281
  name: "default",
2249
2282
  fn: withCtx((scope) => [
2250
- createVNode(_sfc_main$q, {
2283
+ createVNode(_sfc_main$s, {
2251
2284
  class: normalizeClass(`max-w l-0 b-f1-px round-sm h-2-px bg-color-none abs`),
2252
2285
  state: scope.state,
2253
2286
  states: {
@@ -2268,19 +2301,19 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2268
2301
  };
2269
2302
  })
2270
2303
  ]), 1032, ["options", "title", "selected"]),
2271
- contLine.value ? (openBlock(), createBlock(_sfc_main$q, {
2304
+ contLine.value ? (openBlock(), createBlock(_sfc_main$s, {
2272
2305
  key: 0,
2273
2306
  class: "grow-1 h-1-px bg-color-neutral"
2274
2307
  })) : createCommentVNode("", true)
2275
2308
  ]),
2276
2309
  _: 3
2277
2310
  }),
2278
- contArea.value ? (openBlock(), createBlock(_sfc_main$q, {
2311
+ contArea.value ? (openBlock(), createBlock(_sfc_main$s, {
2279
2312
  key: 0,
2280
2313
  class: "pad-v-1d5 over-hide"
2281
2314
  }, {
2282
2315
  default: withCtx(() => [
2283
- selected.value ? (openBlock(), createBlock(_sfc_main$q, { key: 0 }, {
2316
+ selected.value ? (openBlock(), createBlock(_sfc_main$s, { key: 0 }, {
2284
2317
  default: withCtx(() => [
2285
2318
  createElementVNode("div", {
2286
2319
  innerHTML: tabConts[selected.value],
@@ -2289,7 +2322,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2289
2322
  }, null, 42, _hoisted_2$1)
2290
2323
  ]),
2291
2324
  _: 1
2292
- })) : (openBlock(), createBlock(_sfc_main$q, {
2325
+ })) : (openBlock(), createBlock(_sfc_main$s, {
2293
2326
  key: 1,
2294
2327
  class: "alpha-d5"
2295
2328
  }, {
@@ -2308,7 +2341,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2308
2341
  }
2309
2342
  });
2310
2343
  const _hoisted_1$1 = ["multiple"];
2311
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2344
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2312
2345
  __name: "upload-wid",
2313
2346
  props: {
2314
2347
  type: {},
@@ -2366,7 +2399,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2366
2399
  };
2367
2400
  return (_ctx, _cache) => {
2368
2401
  const _component_b_hot = resolveComponent("b-hot");
2369
- return openBlock(), createBlock(_sfc_main$q, { class: "flex" }, {
2402
+ return openBlock(), createBlock(_sfc_main$s, { class: "flex" }, {
2370
2403
  default: withCtx(() => [
2371
2404
  _ctx.$slots.default ? (openBlock(), createBlock(_component_b_hot, {
2372
2405
  key: 0,
@@ -2376,7 +2409,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2376
2409
  renderSlot(_ctx.$slots, "default")
2377
2410
  ]),
2378
2411
  _: 3
2379
- })) : (openBlock(), createBlock(_sfc_main$9, mergeProps({
2412
+ })) : (openBlock(), createBlock(_sfc_main$b, mergeProps({
2380
2413
  key: 1,
2381
2414
  onOn_click: _cache[1] || (_cache[1] = ($event) => $uploader.value.click())
2382
2415
  }, btnData.value), null, 16)),
@@ -2394,7 +2427,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2394
2427
  };
2395
2428
  }
2396
2429
  });
2397
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2430
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2398
2431
  __name: "img-upload-wid",
2399
2432
  props: {
2400
2433
  preview: {},
@@ -2453,7 +2486,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2453
2486
  return (_ctx, _cache) => {
2454
2487
  const _component_b_view = resolveComponent("b-view");
2455
2488
  const _component_b_icon = resolveComponent("b-icon");
2456
- return openBlock(), createBlock(_sfc_main$4, {
2489
+ return openBlock(), createBlock(_sfc_main$6, {
2457
2490
  onOn_upload: imgUpload,
2458
2491
  size: size.value,
2459
2492
  multiple: _ctx.multiple,
@@ -2478,7 +2511,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2478
2511
  };
2479
2512
  }
2480
2513
  });
2481
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2514
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2482
2515
  __name: "app-wid",
2483
2516
  props: {
2484
2517
  path: {},
@@ -2503,15 +2536,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2503
2536
  return (_ctx, _cache) => {
2504
2537
  var _a;
2505
2538
  const _component_router_view = resolveComponent("router-view");
2506
- return openBlock(), createBlock(_sfc_main$q, {
2539
+ return openBlock(), createBlock(_sfc_main$s, {
2507
2540
  class: normalizeClass(`max fixed flex-column color-light select-none bg-color-${((_a = _ctx.colors) == null ? void 0 : _a.bg) || "none"}`)
2508
2541
  }, {
2509
2542
  default: withCtx(() => {
2510
2543
  var _a2;
2511
2544
  return [
2512
- createVNode(_sfc_main$q, { class: "rel grow-1" }, {
2545
+ createVNode(_sfc_main$s, { class: "rel grow-1" }, {
2513
2546
  default: withCtx(() => [
2514
- createVNode(_sfc_main$e, {
2547
+ createVNode(_sfc_main$g, {
2515
2548
  scroll: { y: "auto", x: "hidden" },
2516
2549
  class: "abs max"
2517
2550
  }, {
@@ -2525,32 +2558,32 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2525
2558
  ]),
2526
2559
  _: 1
2527
2560
  }),
2528
- createVNode(_sfc_main$q, {
2561
+ createVNode(_sfc_main$s, {
2529
2562
  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`)
2530
2563
  }, {
2531
2564
  default: withCtx(() => [
2532
2565
  (openBlock(true), createElementBlock(Fragment, null, renderList(navs.value, (nav, i) => {
2533
- return openBlock(), createBlock(_sfc_main$o, mergeProps({ key: i }, nav.hotData, {
2566
+ return openBlock(), createBlock(_sfc_main$q, mergeProps({ key: i }, nav.hotData, {
2534
2567
  class: "grow-1",
2535
2568
  onOn_click: ($event) => _ctx.$emit("on_toggle", nav)
2536
2569
  }), {
2537
2570
  default: withCtx(() => {
2538
2571
  var _a3, _b, _c, _d, _e, _f;
2539
2572
  return [
2540
- nav.main ? (openBlock(), createBlock(_sfc_main$q, {
2573
+ nav.main ? (openBlock(), createBlock(_sfc_main$s, {
2541
2574
  key: 0,
2542
2575
  class: "rel w-5 mrg-h-auto"
2543
2576
  }, {
2544
2577
  default: withCtx(() => {
2545
2578
  var _a4, _b2, _c2, _d2;
2546
2579
  return [
2547
- createVNode(_sfc_main$i, mergeProps(nav.iconData, {
2580
+ createVNode(_sfc_main$k, mergeProps(nav.iconData, {
2548
2581
  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"}`
2549
2582
  }), null, 16, ["class"])
2550
2583
  ];
2551
2584
  }),
2552
2585
  _: 2
2553
- }, 1024)) : (openBlock(), createBlock(_sfc_main$q, {
2586
+ }, 1024)) : (openBlock(), createBlock(_sfc_main$s, {
2554
2587
  key: 1,
2555
2588
  class: normalizeClass(`flex-column rel flex-5 color-${((_b = (_a3 = _ctx.colors) == null ? void 0 : _a3.text) == null ? void 0 : _b.normal) || "mgray"}`),
2556
2589
  cname: ((_d = (_c = _ctx.colors) == null ? void 0 : _c.text) == null ? void 0 : _d.act) || "light",
@@ -2560,11 +2593,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2560
2593
  }
2561
2594
  }, {
2562
2595
  default: withCtx(() => [
2563
- nav.unread === 1 ? (openBlock(), createBlock(_sfc_main$q, {
2596
+ nav.unread === 1 ? (openBlock(), createBlock(_sfc_main$s, {
2564
2597
  key: 0,
2565
2598
  class: "round w-d7 h-d7 r-9d2-vw t-d2 bg-color-red abs"
2566
2599
  })) : createCommentVNode("", true),
2567
- nav.unread > 1 ? (openBlock(), createBlock(_sfc_main$q, {
2600
+ nav.unread > 1 ? (openBlock(), createBlock(_sfc_main$s, {
2568
2601
  key: 1,
2569
2602
  class: "flex-5 round w-1d5 h-1d5 bold r-7d7-vw t-fd5 bg-color-red abs color-Cfff"
2570
2603
  }, {
@@ -2573,7 +2606,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2573
2606
  ]),
2574
2607
  _: 2
2575
2608
  }, 1024)) : createCommentVNode("", true),
2576
- createVNode(_sfc_main$i, mergeProps(nav.iconData, {
2609
+ createVNode(_sfc_main$k, mergeProps(nav.iconData, {
2577
2610
  cname: nav.act,
2578
2611
  state: curRoute.value === nav.hotData.link ? "act" : "",
2579
2612
  states: {
@@ -2581,7 +2614,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2581
2614
  },
2582
2615
  class: `w-2d7 h-2d7 ${_ctx.iconTransAni ? "trans-fast" : ""} fsize-1d7`
2583
2616
  }), null, 16, ["cname", "state", "states", "class"]),
2584
- nav.text ? (openBlock(), createBlock(_sfc_main$p, {
2617
+ nav.text ? (openBlock(), createBlock(_sfc_main$r, {
2585
2618
  key: 2,
2586
2619
  class: "fsize-d83"
2587
2620
  }, {
@@ -2617,7 +2650,7 @@ const _hoisted_4 = [
2617
2650
  _hoisted_2,
2618
2651
  _hoisted_3
2619
2652
  ];
2620
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2653
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2621
2654
  __name: "confirm-wid",
2622
2655
  props: {
2623
2656
  colors: {}
@@ -2658,7 +2691,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2658
2691
  };
2659
2692
  }
2660
2693
  });
2661
- const _sfc_main = /* @__PURE__ */ defineComponent({
2694
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2662
2695
  __name: "toast-wid",
2663
2696
  props: {
2664
2697
  matteColor: {}
@@ -2704,6 +2737,158 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2704
2737
  };
2705
2738
  }
2706
2739
  });
2740
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2741
+ __name: "content-node-wid",
2742
+ props: {
2743
+ dataTree: {},
2744
+ gap: {},
2745
+ indent: {},
2746
+ hover: {},
2747
+ active: {}
2748
+ },
2749
+ emits: ["on_select"],
2750
+ setup(__props, { emit }) {
2751
+ const props = __props;
2752
+ const dataTree = ref(props.dataTree || []);
2753
+ const selected = inject("selected");
2754
+ const gap = computed(() => {
2755
+ return props.gap || "d7";
2756
+ });
2757
+ const indent = computed(() => {
2758
+ return props.indent || "3";
2759
+ });
2760
+ const setIndex = (level) => {
2761
+ return (level * parseFloat(indent.value.replace("d", ".")) + parseFloat(gap.value.replace("d", "."))).toString().replace(".", "d");
2762
+ };
2763
+ return (_ctx, _cache) => {
2764
+ const _component_b_text = resolveComponent("b-text");
2765
+ const _component_content_node_wid = resolveComponent("content-node-wid", true);
2766
+ return openBlock(true), createElementBlock(Fragment, null, renderList(dataTree.value, (item) => {
2767
+ return openBlock(), createBlock(_sfc_main$s, {
2768
+ state: `id-${item.id}`,
2769
+ key: item.id
2770
+ }, {
2771
+ default: withCtx(() => {
2772
+ var _a;
2773
+ return [
2774
+ createVNode(_sfc_main$q, {
2775
+ cname: `${item.id}-${Math.random()}`,
2776
+ class: normalizeClass(`flex-4 pad-v-${gap.value} pad-l-${setIndex(item.level)}`),
2777
+ hover: _ctx.hover,
2778
+ states: {
2779
+ true: `${_ctx.active ? _ctx.active : ""}`,
2780
+ false: ""
2781
+ },
2782
+ state: (((_a = unref(selected)) == null ? void 0 : _a.findIndex((data) => data.id === item.id)) > -1).toString()
2783
+ }, {
2784
+ default: withCtx(() => [
2785
+ item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$k, {
2786
+ key: 0,
2787
+ class: "mrg-r-d4",
2788
+ state: item.spread ? "content-wid-spread" : "content-wid-collapse",
2789
+ icon: "arrow-right"
2790
+ }, null, 8, ["state"])) : createCommentVNode("", true),
2791
+ createVNode(_component_b_text, null, {
2792
+ default: withCtx(() => [
2793
+ createTextVNode(toDisplayString(item.text), 1)
2794
+ ]),
2795
+ _: 2
2796
+ }, 1024)
2797
+ ]),
2798
+ _: 2
2799
+ }, 1032, ["cname", "class", "hover", "states", "state"]),
2800
+ item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$s, {
2801
+ key: 0,
2802
+ states: {
2803
+ "show": "show",
2804
+ "hide": "hide"
2805
+ },
2806
+ state: item.spread ? "show" : "hide"
2807
+ }, {
2808
+ default: withCtx(() => [
2809
+ createVNode(_component_content_node_wid, normalizeProps(guardReactiveProps({ ...props, dataTree: item.children })), null, 16)
2810
+ ]),
2811
+ _: 2
2812
+ }, 1032, ["state"])) : createCommentVNode("", true)
2813
+ ];
2814
+ }),
2815
+ _: 2
2816
+ }, 1032, ["state"]);
2817
+ }), 128);
2818
+ };
2819
+ }
2820
+ });
2821
+ const _sfc_main = /* @__PURE__ */ defineComponent({
2822
+ __name: "content-wid",
2823
+ props: {
2824
+ dataTree: {},
2825
+ gap: {},
2826
+ indent: {},
2827
+ hover: {},
2828
+ active: {}
2829
+ },
2830
+ emits: ["on_select"],
2831
+ setup(__props, { emit }) {
2832
+ const props = __props;
2833
+ let prefix = 0;
2834
+ const flatDataTree = reactive([]);
2835
+ const indexDataTree = reactive({});
2836
+ const dataTree = ref(props.dataTree);
2837
+ const flatState = ref(false);
2838
+ const flatData = () => {
2839
+ const traverse = (items, parent, level = 0) => {
2840
+ for (const item of items) {
2841
+ item.level = level;
2842
+ item.prefix = prefix++;
2843
+ if (parent)
2844
+ item.parent = parent;
2845
+ if (item.children)
2846
+ item.spread = item.spread || false;
2847
+ flatDataTree.push(item);
2848
+ indexDataTree[item.id] = item;
2849
+ if (item.children && item.children.length > 0) {
2850
+ traverse(item.children, item, level + 1);
2851
+ }
2852
+ }
2853
+ };
2854
+ traverse(dataTree.value);
2855
+ };
2856
+ const selected = ref([]);
2857
+ onBeforeMount(() => {
2858
+ provide("selected", selected.value);
2859
+ });
2860
+ onMounted(() => {
2861
+ flatData();
2862
+ flatState.value = true;
2863
+ });
2864
+ const select = (e) => {
2865
+ var _a, _b;
2866
+ const x = e.clientX;
2867
+ const y = e.clientY;
2868
+ let element = document.elementFromPoint(x, y);
2869
+ while (!(((_a = element == null ? void 0 : element.getAttribute("state")) == null ? void 0 : _a.indexOf("id-")) === 0)) {
2870
+ element = element == null ? void 0 : element.parentElement;
2871
+ }
2872
+ const data = indexDataTree[(_b = element == null ? void 0 : element.getAttribute("state")) == null ? void 0 : _b.substring(3)];
2873
+ selected.value[0] = data;
2874
+ if (data.spread !== void 0)
2875
+ data.spread = !data.spread;
2876
+ emit("on_select", data);
2877
+ };
2878
+ return (_ctx, _cache) => {
2879
+ return openBlock(), createBlock(_sfc_main$q, {
2880
+ onOn_click: select,
2881
+ "event-proxy": true
2882
+ }, {
2883
+ default: withCtx(() => [
2884
+ flatState.value ? (openBlock(), createBlock(_sfc_main$1, normalizeProps(mergeProps({ key: 0 }, { ...props, dataTree: dataTree.value })), null, 16)) : createCommentVNode("", true)
2885
+ ]),
2886
+ _: 1
2887
+ });
2888
+ };
2889
+ }
2890
+ });
2891
+ const contentWid_vue_vue_type_style_index_0_lang = "";
2707
2892
  let t;
2708
2893
  const defaultStyle = `
2709
2894
  position: fixed;
@@ -2808,30 +2993,31 @@ const hideLoadToast = () => {
2808
2993
  bToast.style.cssText = hideStyle;
2809
2994
  };
2810
2995
  const initGlobalComponents = [
2996
+ _sfc_main$t,
2997
+ _sfc_main$s,
2811
2998
  _sfc_main$r,
2812
2999
  _sfc_main$q,
2813
3000
  _sfc_main$p,
2814
- _sfc_main$o,
2815
- _sfc_main$n,
2816
- _sfc_main$i,
2817
- _sfc_main$f,
2818
- _sfc_main$e,
2819
- _sfc_main$c,
3001
+ _sfc_main$k,
2820
3002
  _sfc_main$h,
2821
- _sfc_main$d,
2822
3003
  _sfc_main$g,
3004
+ _sfc_main$e,
3005
+ _sfc_main$j,
3006
+ _sfc_main$f,
3007
+ _sfc_main$i,
3008
+ _sfc_main$d,
3009
+ _sfc_main$c,
2823
3010
  _sfc_main$b,
3011
+ _sfc_main$3,
2824
3012
  _sfc_main$a,
2825
3013
  _sfc_main$9,
2826
- _sfc_main$1,
2827
3014
  _sfc_main$8,
2828
3015
  _sfc_main$7,
3016
+ _sfc_main$4,
2829
3017
  _sfc_main$6,
2830
3018
  _sfc_main$5,
2831
- _sfc_main$2,
2832
- _sfc_main$4,
2833
- _sfc_main$3,
2834
- _sfc_main
3019
+ _sfc_main,
3020
+ _sfc_main$2
2835
3021
  ];
2836
3022
  const index = {
2837
3023
  name: "btxui",