btxui 1.0.82 → 1.0.84

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: {},
@@ -1256,9 +1257,15 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1256
1257
  const change = (e) => {
1257
1258
  emit("on_change", check(), e);
1258
1259
  };
1259
- const blur = (e) => {
1260
+ const focusState = ref(false);
1261
+ const blurEvent = (e) => {
1262
+ focusState.value = false;
1260
1263
  emit("on_blur", check(), e);
1261
1264
  };
1265
+ const focusEvent = (e) => {
1266
+ focusState.value = true;
1267
+ emit("on_focus", e);
1268
+ };
1262
1269
  const check = () => {
1263
1270
  if (props.rule) {
1264
1271
  const pre_rule = preset_rules[props.rule.type];
@@ -1271,6 +1278,15 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1271
1278
  }
1272
1279
  return true;
1273
1280
  };
1281
+ const clear = () => {
1282
+ if (props.aspectHeight) {
1283
+ $input.value.innerText = "";
1284
+ input2();
1285
+ } else {
1286
+ val.value = "";
1287
+ input();
1288
+ }
1289
+ };
1274
1290
  const $input = ref();
1275
1291
  __expose({
1276
1292
  check,
@@ -1280,15 +1296,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1280
1296
  blur: function() {
1281
1297
  $input.value.blur();
1282
1298
  },
1283
- clear: function() {
1284
- if (props.aspectHeight) {
1285
- $input.value.innerText = "";
1286
- input2();
1287
- } else {
1288
- val.value = "";
1289
- input();
1290
- }
1291
- }
1299
+ clear
1292
1300
  });
1293
1301
  onMounted(() => {
1294
1302
  nextTick(() => {
@@ -1296,61 +1304,92 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1296
1304
  });
1297
1305
  });
1298
1306
  return (_ctx, _cache) => {
1299
- return openBlock(), createBlock(_sfc_main$r, {
1307
+ const _component_b_icon = resolveComponent("b-icon");
1308
+ const _component_b_hot = resolveComponent("b-hot");
1309
+ const _component_b_view = resolveComponent("b-view");
1310
+ return openBlock(), createBlock(_sfc_main$t, {
1300
1311
  class: normalizeClass(_ctx.class),
1301
1312
  focus: _ctx.focus,
1302
1313
  states: _ctx.states,
1303
1314
  cname: _ctx.cname
1304
1315
  }, {
1305
1316
  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
- ])
1317
+ createVNode(_component_b_view, { class: "flex-4 rel" }, {
1318
+ default: withCtx(() => {
1319
+ var _a, _b;
1320
+ return [
1321
+ _ctx.aspectHeight ? (openBlock(), createElementBlock("div", {
1322
+ key: 0,
1323
+ class: normalizeClass(scope.className),
1324
+ contenteditable: "",
1325
+ onFocus: _cache[0] || (_cache[0] = ($event) => focusEvent($event)),
1326
+ onBlur: blurEvent,
1327
+ onChange: change,
1328
+ onInput: input2,
1329
+ type: _ctx.type,
1330
+ ref_key: "$input",
1331
+ ref: $input,
1332
+ style: { "outline": "none" },
1333
+ name: _ctx.name,
1334
+ "focus-state": _ctx.focus ? "true" : "",
1335
+ state: _ctx.state,
1336
+ placeholder: _ctx.placeholder,
1337
+ maxlength: _ctx.maxlength,
1338
+ readonly: _ctx.readonly,
1339
+ autocomplete: "off"
1340
+ }, toDisplayString(val2.value), 43, _hoisted_1$8)) : withDirectives((openBlock(), createElementBlock("input", {
1341
+ key: 1,
1342
+ class: normalizeClass(scope.className),
1343
+ onFocus: _cache[1] || (_cache[1] = ($event) => focusEvent($event)),
1344
+ onBlur: blurEvent,
1345
+ onChange: change,
1346
+ onInput: input,
1347
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => val.value = $event),
1348
+ type: _ctx.type,
1349
+ ref_key: "$input",
1350
+ ref: $input,
1351
+ style: { "outline": "none" },
1352
+ name: _ctx.name,
1353
+ "focus-state": _ctx.focus ? "true" : "",
1354
+ state: _ctx.state,
1355
+ placeholder: _ctx.placeholder,
1356
+ maxlength: _ctx.maxlength,
1357
+ readonly: _ctx.readonly,
1358
+ autocomplete: "off"
1359
+ }, null, 42, _hoisted_2$3)), [
1360
+ [vModelDynamic, val.value]
1361
+ ]),
1362
+ !_ctx.readonly && !_ctx.aspectHeight ? (openBlock(), createBlock(_component_b_hot, {
1363
+ key: 2,
1364
+ onOn_click: clear,
1365
+ class: "abs r-1 trans-fast",
1366
+ states: {
1367
+ show: "alpha-1 visible",
1368
+ hide: "alpha-0"
1369
+ },
1370
+ state: (((_a = val.value) == null ? void 0 : _a.length) || ((_b = val2.value) == null ? void 0 : _b.length)) != 0 && focusState.value ? "show" : "hide"
1371
+ }, {
1372
+ default: withCtx(() => [
1373
+ _ctx.$slots.cancel ? renderSlot(_ctx.$slots, "cancel", { key: 0 }) : (openBlock(), createBlock(_component_b_icon, {
1374
+ key: 1,
1375
+ class: "flex-5 h-1d8 w-1d8 bg-color-neutral round",
1376
+ icon: "fail"
1377
+ }))
1378
+ ]),
1379
+ _: 3
1380
+ }, 8, ["state"])) : createCommentVNode("", true)
1381
+ ];
1382
+ }),
1383
+ _: 2
1384
+ }, 1024)
1346
1385
  ]),
1347
- _: 1
1386
+ _: 3
1348
1387
  }, 8, ["class", "focus", "states", "cname"]);
1349
1388
  };
1350
1389
  }
1351
1390
  });
1352
1391
  const _hoisted_1$7 = ["name", "focus", "state", "placeholder", "maxlength", "readonly", "rows"];
1353
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
1392
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1354
1393
  __name: "b-textarea",
1355
1394
  props: {
1356
1395
  text: {},
@@ -1374,7 +1413,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
1374
1413
  emit("update:text", formatText(val.value));
1375
1414
  };
1376
1415
  return (_ctx, _cache) => {
1377
- return openBlock(), createBlock(_sfc_main$r, {
1416
+ return openBlock(), createBlock(_sfc_main$t, {
1378
1417
  class: normalizeClass(_ctx.class),
1379
1418
  focus: _ctx.focus,
1380
1419
  states: _ctx.states,
@@ -1406,7 +1445,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
1406
1445
  });
1407
1446
  const _hoisted_1$6 = ["poster", "muted", "src", "autoplay", "controls", "loop"];
1408
1447
  const _hoisted_2$2 = ["poster", "muted", "src", "autoplay", "controls", "loop"];
1409
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
1448
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1410
1449
  __name: "b-video",
1411
1450
  props: {
1412
1451
  video: {},
@@ -1449,7 +1488,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1449
1488
  const _component_b_icon = resolveComponent("b-icon");
1450
1489
  const _component_b_view = resolveComponent("b-view");
1451
1490
  const _component_b_hot = resolveComponent("b-hot");
1452
- return openBlock(), createBlock(_sfc_main$r, {
1491
+ return openBlock(), createBlock(_sfc_main$t, {
1453
1492
  class: normalizeClass(_ctx.class),
1454
1493
  cname: _ctx.cname
1455
1494
  }, {
@@ -1530,7 +1569,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1530
1569
  });
1531
1570
  const _hoisted_1$5 = ["state"];
1532
1571
  const tolerance = 2;
1533
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
1572
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
1534
1573
  __name: "b-list",
1535
1574
  props: {
1536
1575
  scroll: {},
@@ -1593,7 +1632,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1593
1632
  watchPos();
1594
1633
  });
1595
1634
  return (_ctx, _cache) => {
1596
- return openBlock(), createBlock(_sfc_main$r, {
1635
+ return openBlock(), createBlock(_sfc_main$t, {
1597
1636
  class: normalizeClass(_ctx.class),
1598
1637
  states: _ctx.states,
1599
1638
  cname: _ctx.cname
@@ -1621,7 +1660,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1621
1660
  }
1622
1661
  });
1623
1662
  const _hoisted_1$4 = ["state", "draggable"];
1624
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
1663
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1625
1664
  __name: "b-drag",
1626
1665
  props: {
1627
1666
  class: {},
@@ -1731,7 +1770,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
1731
1770
  bindEvent();
1732
1771
  });
1733
1772
  return (_ctx, _cache) => {
1734
- return openBlock(), createBlock(_sfc_main$r, {
1773
+ return openBlock(), createBlock(_sfc_main$t, {
1735
1774
  class: normalizeClass(_ctx.class),
1736
1775
  states: { dragStart: _ctx.dragStart, dragOver: _ctx.dragOver },
1737
1776
  cname: _ctx.cname
@@ -1761,7 +1800,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
1761
1800
  }
1762
1801
  });
1763
1802
  const _hoisted_1$3 = ["src"];
1764
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
1803
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1765
1804
  __name: "b-webview",
1766
1805
  props: {
1767
1806
  src: {},
@@ -1770,7 +1809,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
1770
1809
  },
1771
1810
  setup(__props) {
1772
1811
  return (_ctx, _cache) => {
1773
- return openBlock(), createBlock(_sfc_main$r, {
1812
+ return openBlock(), createBlock(_sfc_main$t, {
1774
1813
  class: normalizeClass(_ctx.class),
1775
1814
  cname: _ctx.cname
1776
1815
  }, {
@@ -1786,7 +1825,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
1786
1825
  };
1787
1826
  }
1788
1827
  });
1789
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
1828
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
1790
1829
  __name: "b-row",
1791
1830
  props: {
1792
1831
  class: {},
@@ -1803,7 +1842,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
1803
1842
  });
1804
1843
  const combClass = ref(`${props.class} flex pad-h-${gap.value[0]} pad-v-${gap.value[1]}`);
1805
1844
  return (_ctx, _cache) => {
1806
- return openBlock(), createBlock(_sfc_main$q, mergeProps({ class: combClass.value }, _ctx.viewData, {
1845
+ return openBlock(), createBlock(_sfc_main$s, mergeProps({ class: combClass.value }, _ctx.viewData, {
1807
1846
  extraClass: {
1808
1847
  selector: ">",
1809
1848
  value: `pad-h-${gap.value[0]} pad-v-${gap.value[1]}`
@@ -1817,7 +1856,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
1817
1856
  };
1818
1857
  }
1819
1858
  });
1820
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
1859
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
1821
1860
  __name: "b-col",
1822
1861
  props: {
1823
1862
  span: {},
@@ -1829,7 +1868,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
1829
1868
  const props = __props;
1830
1869
  const combClass = ref(`${props.class ?? ""} ${props.span ? "col-" + props.span : ""} ${props.offset ? "offset-" + props.offset : ""}`);
1831
1870
  return (_ctx, _cache) => {
1832
- return openBlock(), createBlock(_sfc_main$q, mergeProps({ class: combClass.value }, _ctx.viewData), {
1871
+ return openBlock(), createBlock(_sfc_main$s, mergeProps({ class: combClass.value }, _ctx.viewData), {
1833
1872
  default: withCtx(() => [
1834
1873
  renderSlot(_ctx.$slots, "default")
1835
1874
  ]),
@@ -1838,7 +1877,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
1838
1877
  };
1839
1878
  }
1840
1879
  });
1841
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
1880
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
1842
1881
  __name: "btn-wid",
1843
1882
  props: {
1844
1883
  btnText: {},
@@ -1885,13 +1924,13 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
1885
1924
  };
1886
1925
  });
1887
1926
  return (_ctx, _cache) => {
1888
- return openBlock(), createBlock(_sfc_main$o, mergeProps(_ctx.hotData, {
1927
+ return openBlock(), createBlock(_sfc_main$q, mergeProps(_ctx.hotData, {
1889
1928
  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
1929
  hover: `${hover.value.text} ${hover.value.bg} ${hover.value.line}`,
1891
1930
  active: `${active.value.text} ${active.value.bg} ${active.value.line}`
1892
1931
  }), {
1893
1932
  default: withCtx(() => [
1894
- _ctx.iconData ? (openBlock(), createBlock(_sfc_main$i, mergeProps({ key: 0 }, _ctx.iconData, { class: "mrg-r-d7" }), null, 16)) : createCommentVNode("", true),
1933
+ _ctx.iconData ? (openBlock(), createBlock(_sfc_main$k, mergeProps({ key: 0 }, _ctx.iconData, { class: "mrg-r-d7" }), null, 16)) : createCommentVNode("", true),
1895
1934
  createTextVNode(" " + toDisplayString(_ctx.btnText), 1)
1896
1935
  ]),
1897
1936
  _: 1
@@ -1899,7 +1938,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
1899
1938
  };
1900
1939
  }
1901
1940
  });
1902
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
1941
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
1903
1942
  __name: "checkbox-wid",
1904
1943
  props: {
1905
1944
  selected: { type: Boolean },
@@ -1927,7 +1966,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
1927
1966
  emit("change", props.value, state);
1928
1967
  };
1929
1968
  return (_ctx, _cache) => {
1930
- return openBlock(), createBlock(_sfc_main$o, {
1969
+ return openBlock(), createBlock(_sfc_main$q, {
1931
1970
  class: normalizeClass(combClass.value),
1932
1971
  hover: "alpha-d9",
1933
1972
  state: selected.value ? "act" : "",
@@ -1941,7 +1980,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
1941
1980
  }, () => {
1942
1981
  var _a, _b;
1943
1982
  return [
1944
- createVNode(_sfc_main$q, {
1983
+ createVNode(_sfc_main$s, {
1945
1984
  class: "w-24-px h-24-px bg-color-neutral round-sm flex-5",
1946
1985
  state: selected.value ? "act" : "",
1947
1986
  cname: combClass.value + combActClass.value,
@@ -1950,7 +1989,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
1950
1989
  }
1951
1990
  }, {
1952
1991
  default: withCtx(() => [
1953
- createVNode(_sfc_main$i, {
1992
+ createVNode(_sfc_main$k, {
1954
1993
  icon: "success",
1955
1994
  class: "alpha-d3",
1956
1995
  state: selected.value ? "act" : "",
@@ -1963,7 +2002,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
1963
2002
  }, 8, ["state", "cname", "states"])
1964
2003
  ];
1965
2004
  }),
1966
- label.value ? (openBlock(), createBlock(_sfc_main$q, {
2005
+ label.value ? (openBlock(), createBlock(_sfc_main$s, {
1967
2006
  key: 0,
1968
2007
  class: "pad-h-1 ellipsis"
1969
2008
  }, {
@@ -1978,7 +2017,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
1978
2017
  };
1979
2018
  }
1980
2019
  });
1981
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2020
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
1982
2021
  __name: "checkbox-group-wid",
1983
2022
  props: {
1984
2023
  options: {},
@@ -2021,11 +2060,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2021
2060
  return (_ctx, _cache) => {
2022
2061
  const _component_b_col = resolveComponent("b-col");
2023
2062
  const _component_b_row = resolveComponent("b-row");
2024
- return openBlock(), createBlock(_sfc_main$q, {
2063
+ return openBlock(), createBlock(_sfc_main$s, {
2025
2064
  class: normalizeClass(_ctx.class)
2026
2065
  }, {
2027
2066
  default: withCtx(() => [
2028
- _ctx.title ? (openBlock(), createBlock(_sfc_main$q, {
2067
+ _ctx.title ? (openBlock(), createBlock(_sfc_main$s, {
2029
2068
  key: 0,
2030
2069
  class: "mrg-b-1"
2031
2070
  }, {
@@ -2043,7 +2082,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2043
2082
  key: i
2044
2083
  }, {
2045
2084
  default: withCtx(() => [
2046
- createVNode(_sfc_main$8, mergeProps({
2085
+ createVNode(_sfc_main$a, mergeProps({
2047
2086
  onChange: change,
2048
2087
  label: item.label,
2049
2088
  value: item.value
@@ -2083,7 +2122,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2083
2122
  };
2084
2123
  }
2085
2124
  });
2086
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2125
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2087
2126
  __name: "radio-group-wid",
2088
2127
  props: {
2089
2128
  options: {},
@@ -2111,7 +2150,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2111
2150
  });
2112
2151
  return (_ctx, _cache) => {
2113
2152
  const _component_b_view = resolveComponent("b-view");
2114
- return openBlock(), createBlock(_sfc_main$7, {
2153
+ return openBlock(), createBlock(_sfc_main$9, {
2115
2154
  span: _ctx.span,
2116
2155
  title: _ctx.title,
2117
2156
  class: normalizeClass(_ctx.class),
@@ -2154,7 +2193,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2154
2193
  const _hoisted_1$2 = ["state"];
2155
2194
  const _hoisted_2$1 = ["innerHTML"];
2156
2195
  const _hoisted_3$1 = ["innerHTML"];
2157
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2196
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2158
2197
  __name: "tabs-wid",
2159
2198
  props: {
2160
2199
  options: {},
@@ -2224,9 +2263,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2224
2263
  });
2225
2264
  return (_ctx, _cache) => {
2226
2265
  return openBlock(), createElementBlock(Fragment, null, [
2227
- createVNode(_sfc_main$q, { class: "flex-7" }, {
2266
+ createVNode(_sfc_main$s, { class: "flex-7" }, {
2228
2267
  default: withCtx(() => [
2229
- createVNode(_sfc_main$6, {
2268
+ createVNode(_sfc_main$8, {
2230
2269
  options: options.value,
2231
2270
  title: _ctx.title,
2232
2271
  selected: selected.value,
@@ -2241,13 +2280,13 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2241
2280
  } : slots.value.length === 0 && _ctx.tabStyle === "card" ? {
2242
2281
  name: "default",
2243
2282
  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" })
2283
+ createVNode(_sfc_main$s, { class: "w-4-px b-f1-px h-1-px bg-color-neutral r-f5-px abs" })
2245
2284
  ]),
2246
2285
  key: "1"
2247
2286
  } : slots.value.length === 0 ? {
2248
2287
  name: "default",
2249
2288
  fn: withCtx((scope) => [
2250
- createVNode(_sfc_main$q, {
2289
+ createVNode(_sfc_main$s, {
2251
2290
  class: normalizeClass(`max-w l-0 b-f1-px round-sm h-2-px bg-color-none abs`),
2252
2291
  state: scope.state,
2253
2292
  states: {
@@ -2268,19 +2307,19 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2268
2307
  };
2269
2308
  })
2270
2309
  ]), 1032, ["options", "title", "selected"]),
2271
- contLine.value ? (openBlock(), createBlock(_sfc_main$q, {
2310
+ contLine.value ? (openBlock(), createBlock(_sfc_main$s, {
2272
2311
  key: 0,
2273
2312
  class: "grow-1 h-1-px bg-color-neutral"
2274
2313
  })) : createCommentVNode("", true)
2275
2314
  ]),
2276
2315
  _: 3
2277
2316
  }),
2278
- contArea.value ? (openBlock(), createBlock(_sfc_main$q, {
2317
+ contArea.value ? (openBlock(), createBlock(_sfc_main$s, {
2279
2318
  key: 0,
2280
2319
  class: "pad-v-1d5 over-hide"
2281
2320
  }, {
2282
2321
  default: withCtx(() => [
2283
- selected.value ? (openBlock(), createBlock(_sfc_main$q, { key: 0 }, {
2322
+ selected.value ? (openBlock(), createBlock(_sfc_main$s, { key: 0 }, {
2284
2323
  default: withCtx(() => [
2285
2324
  createElementVNode("div", {
2286
2325
  innerHTML: tabConts[selected.value],
@@ -2289,7 +2328,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2289
2328
  }, null, 42, _hoisted_2$1)
2290
2329
  ]),
2291
2330
  _: 1
2292
- })) : (openBlock(), createBlock(_sfc_main$q, {
2331
+ })) : (openBlock(), createBlock(_sfc_main$s, {
2293
2332
  key: 1,
2294
2333
  class: "alpha-d5"
2295
2334
  }, {
@@ -2308,7 +2347,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2308
2347
  }
2309
2348
  });
2310
2349
  const _hoisted_1$1 = ["multiple"];
2311
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2350
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2312
2351
  __name: "upload-wid",
2313
2352
  props: {
2314
2353
  type: {},
@@ -2366,7 +2405,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2366
2405
  };
2367
2406
  return (_ctx, _cache) => {
2368
2407
  const _component_b_hot = resolveComponent("b-hot");
2369
- return openBlock(), createBlock(_sfc_main$q, { class: "flex" }, {
2408
+ return openBlock(), createBlock(_sfc_main$s, { class: "flex" }, {
2370
2409
  default: withCtx(() => [
2371
2410
  _ctx.$slots.default ? (openBlock(), createBlock(_component_b_hot, {
2372
2411
  key: 0,
@@ -2376,7 +2415,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2376
2415
  renderSlot(_ctx.$slots, "default")
2377
2416
  ]),
2378
2417
  _: 3
2379
- })) : (openBlock(), createBlock(_sfc_main$9, mergeProps({
2418
+ })) : (openBlock(), createBlock(_sfc_main$b, mergeProps({
2380
2419
  key: 1,
2381
2420
  onOn_click: _cache[1] || (_cache[1] = ($event) => $uploader.value.click())
2382
2421
  }, btnData.value), null, 16)),
@@ -2394,7 +2433,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2394
2433
  };
2395
2434
  }
2396
2435
  });
2397
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2436
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2398
2437
  __name: "img-upload-wid",
2399
2438
  props: {
2400
2439
  preview: {},
@@ -2453,7 +2492,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2453
2492
  return (_ctx, _cache) => {
2454
2493
  const _component_b_view = resolveComponent("b-view");
2455
2494
  const _component_b_icon = resolveComponent("b-icon");
2456
- return openBlock(), createBlock(_sfc_main$4, {
2495
+ return openBlock(), createBlock(_sfc_main$6, {
2457
2496
  onOn_upload: imgUpload,
2458
2497
  size: size.value,
2459
2498
  multiple: _ctx.multiple,
@@ -2478,7 +2517,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2478
2517
  };
2479
2518
  }
2480
2519
  });
2481
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2520
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2482
2521
  __name: "app-wid",
2483
2522
  props: {
2484
2523
  path: {},
@@ -2503,15 +2542,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2503
2542
  return (_ctx, _cache) => {
2504
2543
  var _a;
2505
2544
  const _component_router_view = resolveComponent("router-view");
2506
- return openBlock(), createBlock(_sfc_main$q, {
2545
+ return openBlock(), createBlock(_sfc_main$s, {
2507
2546
  class: normalizeClass(`max fixed flex-column color-light select-none bg-color-${((_a = _ctx.colors) == null ? void 0 : _a.bg) || "none"}`)
2508
2547
  }, {
2509
2548
  default: withCtx(() => {
2510
2549
  var _a2;
2511
2550
  return [
2512
- createVNode(_sfc_main$q, { class: "rel grow-1" }, {
2551
+ createVNode(_sfc_main$s, { class: "rel grow-1" }, {
2513
2552
  default: withCtx(() => [
2514
- createVNode(_sfc_main$e, {
2553
+ createVNode(_sfc_main$g, {
2515
2554
  scroll: { y: "auto", x: "hidden" },
2516
2555
  class: "abs max"
2517
2556
  }, {
@@ -2525,32 +2564,32 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2525
2564
  ]),
2526
2565
  _: 1
2527
2566
  }),
2528
- createVNode(_sfc_main$q, {
2567
+ createVNode(_sfc_main$s, {
2529
2568
  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
2569
  }, {
2531
2570
  default: withCtx(() => [
2532
2571
  (openBlock(true), createElementBlock(Fragment, null, renderList(navs.value, (nav, i) => {
2533
- return openBlock(), createBlock(_sfc_main$o, mergeProps({ key: i }, nav.hotData, {
2572
+ return openBlock(), createBlock(_sfc_main$q, mergeProps({ key: i }, nav.hotData, {
2534
2573
  class: "grow-1",
2535
2574
  onOn_click: ($event) => _ctx.$emit("on_toggle", nav)
2536
2575
  }), {
2537
2576
  default: withCtx(() => {
2538
2577
  var _a3, _b, _c, _d, _e, _f;
2539
2578
  return [
2540
- nav.main ? (openBlock(), createBlock(_sfc_main$q, {
2579
+ nav.main ? (openBlock(), createBlock(_sfc_main$s, {
2541
2580
  key: 0,
2542
2581
  class: "rel w-5 mrg-h-auto"
2543
2582
  }, {
2544
2583
  default: withCtx(() => {
2545
2584
  var _a4, _b2, _c2, _d2;
2546
2585
  return [
2547
- createVNode(_sfc_main$i, mergeProps(nav.iconData, {
2586
+ createVNode(_sfc_main$k, mergeProps(nav.iconData, {
2548
2587
  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
2588
  }), null, 16, ["class"])
2550
2589
  ];
2551
2590
  }),
2552
2591
  _: 2
2553
- }, 1024)) : (openBlock(), createBlock(_sfc_main$q, {
2592
+ }, 1024)) : (openBlock(), createBlock(_sfc_main$s, {
2554
2593
  key: 1,
2555
2594
  class: normalizeClass(`flex-column rel flex-5 color-${((_b = (_a3 = _ctx.colors) == null ? void 0 : _a3.text) == null ? void 0 : _b.normal) || "mgray"}`),
2556
2595
  cname: ((_d = (_c = _ctx.colors) == null ? void 0 : _c.text) == null ? void 0 : _d.act) || "light",
@@ -2560,11 +2599,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2560
2599
  }
2561
2600
  }, {
2562
2601
  default: withCtx(() => [
2563
- nav.unread === 1 ? (openBlock(), createBlock(_sfc_main$q, {
2602
+ nav.unread === 1 ? (openBlock(), createBlock(_sfc_main$s, {
2564
2603
  key: 0,
2565
2604
  class: "round w-d7 h-d7 r-9d2-vw t-d2 bg-color-red abs"
2566
2605
  })) : createCommentVNode("", true),
2567
- nav.unread > 1 ? (openBlock(), createBlock(_sfc_main$q, {
2606
+ nav.unread > 1 ? (openBlock(), createBlock(_sfc_main$s, {
2568
2607
  key: 1,
2569
2608
  class: "flex-5 round w-1d5 h-1d5 bold r-7d7-vw t-fd5 bg-color-red abs color-Cfff"
2570
2609
  }, {
@@ -2573,7 +2612,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2573
2612
  ]),
2574
2613
  _: 2
2575
2614
  }, 1024)) : createCommentVNode("", true),
2576
- createVNode(_sfc_main$i, mergeProps(nav.iconData, {
2615
+ createVNode(_sfc_main$k, mergeProps(nav.iconData, {
2577
2616
  cname: nav.act,
2578
2617
  state: curRoute.value === nav.hotData.link ? "act" : "",
2579
2618
  states: {
@@ -2581,7 +2620,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2581
2620
  },
2582
2621
  class: `w-2d7 h-2d7 ${_ctx.iconTransAni ? "trans-fast" : ""} fsize-1d7`
2583
2622
  }), null, 16, ["cname", "state", "states", "class"]),
2584
- nav.text ? (openBlock(), createBlock(_sfc_main$p, {
2623
+ nav.text ? (openBlock(), createBlock(_sfc_main$r, {
2585
2624
  key: 2,
2586
2625
  class: "fsize-d83"
2587
2626
  }, {
@@ -2617,7 +2656,7 @@ const _hoisted_4 = [
2617
2656
  _hoisted_2,
2618
2657
  _hoisted_3
2619
2658
  ];
2620
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2659
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2621
2660
  __name: "confirm-wid",
2622
2661
  props: {
2623
2662
  colors: {}
@@ -2658,7 +2697,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2658
2697
  };
2659
2698
  }
2660
2699
  });
2661
- const _sfc_main = /* @__PURE__ */ defineComponent({
2700
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2662
2701
  __name: "toast-wid",
2663
2702
  props: {
2664
2703
  matteColor: {}
@@ -2704,6 +2743,158 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2704
2743
  };
2705
2744
  }
2706
2745
  });
2746
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2747
+ __name: "content-node-wid",
2748
+ props: {
2749
+ dataTree: {},
2750
+ gap: {},
2751
+ indent: {},
2752
+ hover: {},
2753
+ active: {}
2754
+ },
2755
+ emits: ["on_select"],
2756
+ setup(__props, { emit }) {
2757
+ const props = __props;
2758
+ const dataTree = ref(props.dataTree || []);
2759
+ const selected = inject("selected");
2760
+ const gap = computed(() => {
2761
+ return props.gap || "d7";
2762
+ });
2763
+ const indent = computed(() => {
2764
+ return props.indent || "3";
2765
+ });
2766
+ const setIndex = (level) => {
2767
+ return (level * parseFloat(indent.value.replace("d", ".")) + parseFloat(gap.value.replace("d", "."))).toString().replace(".", "d");
2768
+ };
2769
+ return (_ctx, _cache) => {
2770
+ const _component_b_text = resolveComponent("b-text");
2771
+ const _component_content_node_wid = resolveComponent("content-node-wid", true);
2772
+ return openBlock(true), createElementBlock(Fragment, null, renderList(dataTree.value, (item) => {
2773
+ return openBlock(), createBlock(_sfc_main$s, {
2774
+ state: `id-${item.id}`,
2775
+ key: item.id
2776
+ }, {
2777
+ default: withCtx(() => {
2778
+ var _a;
2779
+ return [
2780
+ createVNode(_sfc_main$q, {
2781
+ cname: `${item.id}-${Math.random()}`,
2782
+ class: normalizeClass(`flex-4 pad-v-${gap.value} pad-l-${setIndex(item.level)}`),
2783
+ hover: _ctx.hover,
2784
+ states: {
2785
+ true: `${_ctx.active ? _ctx.active : ""}`,
2786
+ false: ""
2787
+ },
2788
+ state: (((_a = unref(selected)) == null ? void 0 : _a.findIndex((data) => data.id === item.id)) > -1).toString()
2789
+ }, {
2790
+ default: withCtx(() => [
2791
+ item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$k, {
2792
+ key: 0,
2793
+ class: "mrg-r-d4",
2794
+ state: item.spread ? "content-wid-spread" : "content-wid-collapse",
2795
+ icon: "arrow-right"
2796
+ }, null, 8, ["state"])) : createCommentVNode("", true),
2797
+ createVNode(_component_b_text, null, {
2798
+ default: withCtx(() => [
2799
+ createTextVNode(toDisplayString(item.text), 1)
2800
+ ]),
2801
+ _: 2
2802
+ }, 1024)
2803
+ ]),
2804
+ _: 2
2805
+ }, 1032, ["cname", "class", "hover", "states", "state"]),
2806
+ item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$s, {
2807
+ key: 0,
2808
+ states: {
2809
+ "show": "show",
2810
+ "hide": "hide"
2811
+ },
2812
+ state: item.spread ? "show" : "hide"
2813
+ }, {
2814
+ default: withCtx(() => [
2815
+ createVNode(_component_content_node_wid, normalizeProps(guardReactiveProps({ ...props, dataTree: item.children })), null, 16)
2816
+ ]),
2817
+ _: 2
2818
+ }, 1032, ["state"])) : createCommentVNode("", true)
2819
+ ];
2820
+ }),
2821
+ _: 2
2822
+ }, 1032, ["state"]);
2823
+ }), 128);
2824
+ };
2825
+ }
2826
+ });
2827
+ const _sfc_main = /* @__PURE__ */ defineComponent({
2828
+ __name: "content-wid",
2829
+ props: {
2830
+ dataTree: {},
2831
+ gap: {},
2832
+ indent: {},
2833
+ hover: {},
2834
+ active: {}
2835
+ },
2836
+ emits: ["on_select"],
2837
+ setup(__props, { emit }) {
2838
+ const props = __props;
2839
+ let prefix = 0;
2840
+ const flatDataTree = reactive([]);
2841
+ const indexDataTree = reactive({});
2842
+ const dataTree = ref(props.dataTree);
2843
+ const flatState = ref(false);
2844
+ const flatData = () => {
2845
+ const traverse = (items, parent, level = 0) => {
2846
+ for (const item of items) {
2847
+ item.level = level;
2848
+ item.prefix = prefix++;
2849
+ if (parent)
2850
+ item.parent = parent;
2851
+ if (item.children)
2852
+ item.spread = item.spread || false;
2853
+ flatDataTree.push(item);
2854
+ indexDataTree[item.id] = item;
2855
+ if (item.children && item.children.length > 0) {
2856
+ traverse(item.children, item, level + 1);
2857
+ }
2858
+ }
2859
+ };
2860
+ traverse(dataTree.value);
2861
+ };
2862
+ const selected = ref([]);
2863
+ onBeforeMount(() => {
2864
+ provide("selected", selected.value);
2865
+ });
2866
+ onMounted(() => {
2867
+ flatData();
2868
+ flatState.value = true;
2869
+ });
2870
+ const select = (e) => {
2871
+ var _a, _b;
2872
+ const x = e.clientX;
2873
+ const y = e.clientY;
2874
+ let element = document.elementFromPoint(x, y);
2875
+ while (!(((_a = element == null ? void 0 : element.getAttribute("state")) == null ? void 0 : _a.indexOf("id-")) === 0)) {
2876
+ element = element == null ? void 0 : element.parentElement;
2877
+ }
2878
+ const data = indexDataTree[(_b = element == null ? void 0 : element.getAttribute("state")) == null ? void 0 : _b.substring(3)];
2879
+ selected.value[0] = data;
2880
+ if (data.spread !== void 0)
2881
+ data.spread = !data.spread;
2882
+ emit("on_select", data);
2883
+ };
2884
+ return (_ctx, _cache) => {
2885
+ return openBlock(), createBlock(_sfc_main$q, {
2886
+ onOn_click: select,
2887
+ "event-proxy": true
2888
+ }, {
2889
+ default: withCtx(() => [
2890
+ flatState.value ? (openBlock(), createBlock(_sfc_main$1, normalizeProps(mergeProps({ key: 0 }, { ...props, dataTree: dataTree.value })), null, 16)) : createCommentVNode("", true)
2891
+ ]),
2892
+ _: 1
2893
+ });
2894
+ };
2895
+ }
2896
+ });
2897
+ const contentWid_vue_vue_type_style_index_0_lang = "";
2707
2898
  let t;
2708
2899
  const defaultStyle = `
2709
2900
  position: fixed;
@@ -2808,30 +2999,31 @@ const hideLoadToast = () => {
2808
2999
  bToast.style.cssText = hideStyle;
2809
3000
  };
2810
3001
  const initGlobalComponents = [
3002
+ _sfc_main$t,
3003
+ _sfc_main$s,
2811
3004
  _sfc_main$r,
2812
3005
  _sfc_main$q,
2813
3006
  _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,
3007
+ _sfc_main$k,
2820
3008
  _sfc_main$h,
2821
- _sfc_main$d,
2822
3009
  _sfc_main$g,
3010
+ _sfc_main$e,
3011
+ _sfc_main$j,
3012
+ _sfc_main$f,
3013
+ _sfc_main$i,
3014
+ _sfc_main$d,
3015
+ _sfc_main$c,
2823
3016
  _sfc_main$b,
3017
+ _sfc_main$3,
2824
3018
  _sfc_main$a,
2825
3019
  _sfc_main$9,
2826
- _sfc_main$1,
2827
3020
  _sfc_main$8,
2828
3021
  _sfc_main$7,
3022
+ _sfc_main$4,
2829
3023
  _sfc_main$6,
2830
3024
  _sfc_main$5,
2831
- _sfc_main$2,
2832
- _sfc_main$4,
2833
- _sfc_main$3,
2834
- _sfc_main
3025
+ _sfc_main,
3026
+ _sfc_main$2
2835
3027
  ];
2836
3028
  const index = {
2837
3029
  name: "btxui",