btxui 1.1.14 → 1.1.16

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
@@ -565,7 +565,7 @@ var md5$1 = {
565
565
  })(md5$1);
566
566
  const md5 = md5Exports;
567
567
  const GLOBAL_STYLE_NAME = "BTXUIGlobal";
568
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
568
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
569
569
  __name: "b-style",
570
570
  props: {
571
571
  class: {},
@@ -812,7 +812,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
812
812
  }
813
813
  });
814
814
  const _hoisted_1$b = ["data-ani-states", "state"];
815
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
815
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
816
816
  __name: "b-view",
817
817
  props: {
818
818
  class: {},
@@ -862,7 +862,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
862
862
  setAniState();
863
863
  });
864
864
  return (_ctx, _cache) => {
865
- return openBlock(), createBlock(_sfc_main$v, {
865
+ return openBlock(), createBlock(_sfc_main$w, {
866
866
  class: normalizeClass(_ctx.class),
867
867
  cname: _ctx.cname,
868
868
  states: _ctx.states,
@@ -887,7 +887,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
887
887
  }
888
888
  });
889
889
  const _hoisted_1$a = ["state"];
890
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
890
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
891
891
  __name: "b-text",
892
892
  props: {
893
893
  class: {},
@@ -897,7 +897,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
897
897
  },
898
898
  setup(__props) {
899
899
  return (_ctx, _cache) => {
900
- return openBlock(), createBlock(_sfc_main$v, {
900
+ return openBlock(), createBlock(_sfc_main$w, {
901
901
  class: normalizeClass(_ctx.class),
902
902
  states: _ctx.states,
903
903
  cname: _ctx.cname
@@ -915,7 +915,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
915
915
  };
916
916
  }
917
917
  });
918
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
918
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
919
919
  __name: "b-hot",
920
920
  props: {
921
921
  link: {},
@@ -1008,7 +1008,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1008
1008
  $anchor.value.download = props.download;
1009
1009
  });
1010
1010
  return (_ctx, _cache) => {
1011
- return openBlock(), createBlock(_sfc_main$v, {
1011
+ return openBlock(), createBlock(_sfc_main$w, {
1012
1012
  class: normalizeClass(_ctx.class),
1013
1013
  states: _ctx.states,
1014
1014
  hover: _ctx.hover,
@@ -1048,7 +1048,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1048
1048
  }
1049
1049
  });
1050
1050
  const _hoisted_1$9 = ["src", "state", "alt"];
1051
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
1051
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1052
1052
  __name: "b-img",
1053
1053
  props: {
1054
1054
  img: {},
@@ -1083,7 +1083,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1083
1083
  setSrc();
1084
1084
  });
1085
1085
  return (_ctx, _cache) => {
1086
- return openBlock(), createBlock(_sfc_main$v, {
1086
+ return openBlock(), createBlock(_sfc_main$w, {
1087
1087
  class: normalizeClass(_ctx.class),
1088
1088
  cname: _ctx.cname,
1089
1089
  states: _ctx.states,
@@ -1109,17 +1109,17 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1109
1109
  };
1110
1110
  }
1111
1111
  });
1112
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
1112
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1113
1113
  __name: "ani-success",
1114
1114
  setup(__props) {
1115
1115
  return (_ctx, _cache) => {
1116
- return openBlock(), createBlock(_sfc_main$u, {
1116
+ return openBlock(), createBlock(_sfc_main$v, {
1117
1117
  class: "flex-5",
1118
1118
  matrix: { translate: "0,9px", rotate: "45deg" }
1119
1119
  }, {
1120
1120
  default: withCtx(() => [
1121
- createVNode(_sfc_main$t, { class: "ani-success-part1 w-1 h-3-px bg-color-green round-sm" }),
1122
- createVNode(_sfc_main$t, { class: "ani-success-part2 w-1d7 h-3-px bg-color-green round-sm rel t-1-px l-f1-px" })
1121
+ createVNode(_sfc_main$u, { class: "ani-success-part1 w-1 h-3-px bg-color-green round-sm" }),
1122
+ createVNode(_sfc_main$u, { class: "ani-success-part2 w-1d7 h-3-px bg-color-green round-sm rel t-1-px l-f1-px" })
1123
1123
  ]),
1124
1124
  _: 1
1125
1125
  });
@@ -1135,7 +1135,7 @@ const _export_sfc = (sfc, props) => {
1135
1135
  }
1136
1136
  return target;
1137
1137
  };
1138
- const _sfc_main$p = {};
1138
+ const _sfc_main$q = {};
1139
1139
  function _sfc_render$2(_ctx, _cache) {
1140
1140
  const _component_b_text = resolveComponent("b-text");
1141
1141
  const _component_b_view = resolveComponent("b-view");
@@ -1147,9 +1147,9 @@ function _sfc_render$2(_ctx, _cache) {
1147
1147
  _: 1
1148
1148
  });
1149
1149
  }
1150
- const AniFail = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$2]]);
1150
+ const AniFail = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$2]]);
1151
1151
  const aniNotic_vue_vue_type_style_index_0_lang = "";
1152
- const _sfc_main$o = {};
1152
+ const _sfc_main$p = {};
1153
1153
  function _sfc_render$1(_ctx, _cache) {
1154
1154
  const _component_b_text = resolveComponent("b-text");
1155
1155
  const _component_b_view = resolveComponent("b-view");
@@ -1164,9 +1164,9 @@ function _sfc_render$1(_ctx, _cache) {
1164
1164
  _: 1
1165
1165
  });
1166
1166
  }
1167
- const AniNotic = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$1]]);
1167
+ const AniNotic = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$1]]);
1168
1168
  const aniLoading_vue_vue_type_style_index_0_lang = "";
1169
- const _sfc_main$n = {};
1169
+ const _sfc_main$o = {};
1170
1170
  function _sfc_render(_ctx, _cache) {
1171
1171
  const _component_b_view = resolveComponent("b-view");
1172
1172
  return openBlock(), createBlock(_component_b_view, { class: "flex-5" }, {
@@ -1176,9 +1176,9 @@ function _sfc_render(_ctx, _cache) {
1176
1176
  _: 1
1177
1177
  });
1178
1178
  }
1179
- const AniLoading = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render]]);
1179
+ const AniLoading = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render]]);
1180
1180
  const _hoisted_1$8 = ["state"];
1181
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
1181
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1182
1182
  __name: "b-icon",
1183
1183
  props: {
1184
1184
  icon: {},
@@ -1190,19 +1190,19 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
1190
1190
  setup(__props) {
1191
1191
  const props = __props;
1192
1192
  return (_ctx, _cache) => {
1193
- return openBlock(), createBlock(_sfc_main$v, {
1193
+ return openBlock(), createBlock(_sfc_main$w, {
1194
1194
  class: normalizeClass(_ctx.class),
1195
1195
  states: _ctx.states,
1196
1196
  cname: _ctx.cname
1197
1197
  }, {
1198
1198
  className: withCtx((scope) => [
1199
1199
  _ctx.icon.search("ani_") === 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
1200
- _ctx.icon === "ani_success" ? (openBlock(), createBlock(_sfc_main$q, { key: "success" })) : createCommentVNode("", true),
1200
+ _ctx.icon === "ani_success" ? (openBlock(), createBlock(_sfc_main$r, { key: "success" })) : createCommentVNode("", true),
1201
1201
  _ctx.icon === "ani_fail" ? (openBlock(), createBlock(AniFail, { key: "fail" })) : createCommentVNode("", true),
1202
1202
  _ctx.icon === "ani_notic" ? (openBlock(), createBlock(AniNotic, { key: "notic" })) : createCommentVNode("", true),
1203
1203
  _ctx.icon === "ani_loading" ? (openBlock(), createBlock(AniLoading, { key: "loading" })) : createCommentVNode("", true)
1204
1204
  ], 64)) : createCommentVNode("", true),
1205
- _ctx.icon.search("/") > -1 ? (openBlock(), createBlock(_sfc_main$u, {
1205
+ _ctx.icon.search("/") > -1 ? (openBlock(), createBlock(_sfc_main$v, {
1206
1206
  key: 1,
1207
1207
  "bg-img": _ctx.icon,
1208
1208
  states: _ctx.states,
@@ -1221,7 +1221,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
1221
1221
  });
1222
1222
  const _hoisted_1$7 = ["contenteditable", "focus-state", "state"];
1223
1223
  const _hoisted_2$2 = ["type", "name", "focus-state", "state", "placeholder", "maxlength", "readonly"];
1224
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
1224
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
1225
1225
  __name: "b-input",
1226
1226
  props: {
1227
1227
  type: {},
@@ -1356,7 +1356,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
1356
1356
  const _component_b_icon = resolveComponent("b-icon");
1357
1357
  const _component_b_hot = resolveComponent("b-hot");
1358
1358
  const _component_b_view = resolveComponent("b-view");
1359
- return openBlock(), createBlock(_sfc_main$v, {
1359
+ return openBlock(), createBlock(_sfc_main$w, {
1360
1360
  class: normalizeClass(_ctx.class),
1361
1361
  focus: _ctx.focus,
1362
1362
  states: _ctx.states,
@@ -1439,7 +1439,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
1439
1439
  }
1440
1440
  });
1441
1441
  const _hoisted_1$6 = ["name", "focus", "state", "placeholder", "maxlength", "readonly", "rows"];
1442
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
1442
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
1443
1443
  __name: "b-textarea",
1444
1444
  props: {
1445
1445
  text: {},
@@ -1463,7 +1463,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1463
1463
  emit("update:text", formatText(val.value));
1464
1464
  };
1465
1465
  return (_ctx, _cache) => {
1466
- return openBlock(), createBlock(_sfc_main$v, {
1466
+ return openBlock(), createBlock(_sfc_main$w, {
1467
1467
  class: normalizeClass(_ctx.class),
1468
1468
  focus: _ctx.focus,
1469
1469
  states: _ctx.states,
@@ -1495,7 +1495,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1495
1495
  });
1496
1496
  const _hoisted_1$5 = ["poster", "muted", "src", "autoplay", "controls", "loop"];
1497
1497
  const _hoisted_2$1 = ["poster", "muted", "src", "autoplay", "controls", "loop"];
1498
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
1498
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1499
1499
  __name: "b-video",
1500
1500
  props: {
1501
1501
  video: {},
@@ -1557,7 +1557,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1557
1557
  const _component_b_icon = resolveComponent("b-icon");
1558
1558
  const _component_b_view = resolveComponent("b-view");
1559
1559
  const _component_b_hot = resolveComponent("b-hot");
1560
- return openBlock(), createBlock(_sfc_main$v, {
1560
+ return openBlock(), createBlock(_sfc_main$w, {
1561
1561
  class: normalizeClass(_ctx.class),
1562
1562
  cname: _ctx.cname
1563
1563
  }, {
@@ -1636,7 +1636,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1636
1636
  });
1637
1637
  const _hoisted_1$4 = ["state"];
1638
1638
  const tolerance = 2;
1639
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
1639
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1640
1640
  __name: "b-list",
1641
1641
  props: {
1642
1642
  scroll: {},
@@ -1699,7 +1699,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1699
1699
  watchPos();
1700
1700
  });
1701
1701
  return (_ctx, _cache) => {
1702
- return openBlock(), createBlock(_sfc_main$v, {
1702
+ return openBlock(), createBlock(_sfc_main$w, {
1703
1703
  class: normalizeClass(_ctx.class),
1704
1704
  states: _ctx.states,
1705
1705
  cname: _ctx.cname
@@ -1727,7 +1727,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1727
1727
  }
1728
1728
  });
1729
1729
  const _hoisted_1$3 = ["state", "draggable"];
1730
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
1730
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1731
1731
  __name: "b-drag",
1732
1732
  props: {
1733
1733
  class: {},
@@ -1837,7 +1837,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1837
1837
  bindEvent();
1838
1838
  });
1839
1839
  return (_ctx, _cache) => {
1840
- return openBlock(), createBlock(_sfc_main$v, {
1840
+ return openBlock(), createBlock(_sfc_main$w, {
1841
1841
  class: normalizeClass(_ctx.class),
1842
1842
  states: { dragStart: _ctx.dragStart, dragOver: _ctx.dragOver },
1843
1843
  cname: _ctx.cname
@@ -1867,7 +1867,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1867
1867
  }
1868
1868
  });
1869
1869
  const _hoisted_1$2 = ["src"];
1870
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
1870
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1871
1871
  __name: "b-webview",
1872
1872
  props: {
1873
1873
  src: {},
@@ -1876,7 +1876,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
1876
1876
  },
1877
1877
  setup(__props) {
1878
1878
  return (_ctx, _cache) => {
1879
- return openBlock(), createBlock(_sfc_main$v, {
1879
+ return openBlock(), createBlock(_sfc_main$w, {
1880
1880
  class: normalizeClass(_ctx.class),
1881
1881
  cname: _ctx.cname
1882
1882
  }, {
@@ -1892,7 +1892,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
1892
1892
  };
1893
1893
  }
1894
1894
  });
1895
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
1895
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
1896
1896
  __name: "b-row",
1897
1897
  props: {
1898
1898
  class: {},
@@ -1909,7 +1909,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1909
1909
  });
1910
1910
  const combClass = ref(`${props.class} flex pad-h-${gap.value[0]} pad-v-${gap.value[1]}`);
1911
1911
  return (_ctx, _cache) => {
1912
- return openBlock(), createBlock(_sfc_main$u, mergeProps({ class: combClass.value }, _ctx.viewData, {
1912
+ return openBlock(), createBlock(_sfc_main$v, mergeProps({ class: combClass.value }, _ctx.viewData, {
1913
1913
  extraClass: {
1914
1914
  selector: ">",
1915
1915
  value: `pad-h-${gap.value[0]} pad-v-${gap.value[1]}`
@@ -1923,7 +1923,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1923
1923
  };
1924
1924
  }
1925
1925
  });
1926
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
1926
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1927
1927
  __name: "b-col",
1928
1928
  props: {
1929
1929
  span: {},
@@ -1935,7 +1935,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1935
1935
  const props = __props;
1936
1936
  const combClass = ref(`${props.class ?? ""} ${props.span ? "col-" + props.span : ""} ${props.offset ? "offset-" + props.offset : ""}`);
1937
1937
  return (_ctx, _cache) => {
1938
- return openBlock(), createBlock(_sfc_main$u, mergeProps({ class: combClass.value }, _ctx.viewData), {
1938
+ return openBlock(), createBlock(_sfc_main$v, mergeProps({ class: combClass.value }, _ctx.viewData), {
1939
1939
  default: withCtx(() => [
1940
1940
  renderSlot(_ctx.$slots, "default")
1941
1941
  ]),
@@ -1944,7 +1944,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1944
1944
  };
1945
1945
  }
1946
1946
  });
1947
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
1947
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1948
1948
  __name: "btn-wid",
1949
1949
  props: {
1950
1950
  btnText: {},
@@ -1991,13 +1991,13 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
1991
1991
  };
1992
1992
  });
1993
1993
  return (_ctx, _cache) => {
1994
- return openBlock(), createBlock(_sfc_main$s, mergeProps(_ctx.hotData, {
1994
+ return openBlock(), createBlock(_sfc_main$t, mergeProps(_ctx.hotData, {
1995
1995
  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`,
1996
1996
  hover: `${hover.value.text} ${hover.value.bg} ${hover.value.line}`,
1997
1997
  active: `${active.value.text} ${active.value.bg} ${active.value.line}`
1998
1998
  }), {
1999
1999
  default: withCtx(() => [
2000
- _ctx.iconData ? (openBlock(), createBlock(_sfc_main$m, mergeProps({ key: 0 }, _ctx.iconData, { class: "mrg-r-d7" }), null, 16)) : createCommentVNode("", true),
2000
+ _ctx.iconData ? (openBlock(), createBlock(_sfc_main$n, mergeProps({ key: 0 }, _ctx.iconData, { class: "mrg-r-d7" }), null, 16)) : createCommentVNode("", true),
2001
2001
  createTextVNode(" " + toDisplayString(_ctx.btnText), 1)
2002
2002
  ]),
2003
2003
  _: 1
@@ -2005,7 +2005,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2005
2005
  };
2006
2006
  }
2007
2007
  });
2008
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
2008
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2009
2009
  __name: "checkbox-wid",
2010
2010
  props: {
2011
2011
  selected: { type: Boolean },
@@ -2033,7 +2033,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2033
2033
  emit("change", props.value, state);
2034
2034
  };
2035
2035
  return (_ctx, _cache) => {
2036
- return openBlock(), createBlock(_sfc_main$s, {
2036
+ return openBlock(), createBlock(_sfc_main$t, {
2037
2037
  class: normalizeClass(combClass.value),
2038
2038
  hover: "alpha-d9",
2039
2039
  state: selected.value ? "act" : "",
@@ -2047,7 +2047,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2047
2047
  }, () => {
2048
2048
  var _a, _b;
2049
2049
  return [
2050
- createVNode(_sfc_main$u, {
2050
+ createVNode(_sfc_main$v, {
2051
2051
  class: "w-24-px h-24-px bg-color-neutral round-sm flex-5",
2052
2052
  state: selected.value ? "act" : "",
2053
2053
  cname: combClass.value + combActClass.value,
@@ -2056,7 +2056,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2056
2056
  }
2057
2057
  }, {
2058
2058
  default: withCtx(() => [
2059
- createVNode(_sfc_main$m, {
2059
+ createVNode(_sfc_main$n, {
2060
2060
  icon: "success",
2061
2061
  class: "alpha-d3",
2062
2062
  state: selected.value ? "act" : "",
@@ -2069,7 +2069,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2069
2069
  }, 8, ["state", "cname", "states"])
2070
2070
  ];
2071
2071
  }),
2072
- label.value ? (openBlock(), createBlock(_sfc_main$u, {
2072
+ label.value ? (openBlock(), createBlock(_sfc_main$v, {
2073
2073
  key: 0,
2074
2074
  class: "pad-h-1 ellipsis"
2075
2075
  }, {
@@ -2084,7 +2084,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2084
2084
  };
2085
2085
  }
2086
2086
  });
2087
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
2087
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2088
2088
  __name: "checkbox-group-wid",
2089
2089
  props: {
2090
2090
  options: {},
@@ -2127,11 +2127,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2127
2127
  return (_ctx, _cache) => {
2128
2128
  const _component_b_col = resolveComponent("b-col");
2129
2129
  const _component_b_row = resolveComponent("b-row");
2130
- return openBlock(), createBlock(_sfc_main$u, {
2130
+ return openBlock(), createBlock(_sfc_main$v, {
2131
2131
  class: normalizeClass(_ctx.class)
2132
2132
  }, {
2133
2133
  default: withCtx(() => [
2134
- _ctx.title ? (openBlock(), createBlock(_sfc_main$u, {
2134
+ _ctx.title ? (openBlock(), createBlock(_sfc_main$v, {
2135
2135
  key: 0,
2136
2136
  class: "mrg-b-1"
2137
2137
  }, {
@@ -2149,7 +2149,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2149
2149
  key: i
2150
2150
  }, {
2151
2151
  default: withCtx(() => [
2152
- createVNode(_sfc_main$c, mergeProps({
2152
+ createVNode(_sfc_main$d, mergeProps({
2153
2153
  onChange: change,
2154
2154
  label: item.label,
2155
2155
  value: item.value
@@ -2189,7 +2189,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2189
2189
  };
2190
2190
  }
2191
2191
  });
2192
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
2192
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2193
2193
  __name: "radio-group-wid",
2194
2194
  props: {
2195
2195
  options: {},
@@ -2217,7 +2217,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2217
2217
  });
2218
2218
  return (_ctx, _cache) => {
2219
2219
  const _component_b_view = resolveComponent("b-view");
2220
- return openBlock(), createBlock(_sfc_main$b, {
2220
+ return openBlock(), createBlock(_sfc_main$c, {
2221
2221
  span: _ctx.span,
2222
2222
  title: _ctx.title,
2223
2223
  class: normalizeClass(_ctx.class),
@@ -2260,7 +2260,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2260
2260
  const _hoisted_1$1 = ["state"];
2261
2261
  const _hoisted_2 = ["innerHTML"];
2262
2262
  const _hoisted_3 = ["innerHTML"];
2263
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2263
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2264
2264
  __name: "tabs-wid",
2265
2265
  props: {
2266
2266
  options: {},
@@ -2330,9 +2330,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2330
2330
  });
2331
2331
  return (_ctx, _cache) => {
2332
2332
  return openBlock(), createElementBlock(Fragment, null, [
2333
- createVNode(_sfc_main$u, { class: "flex-7" }, {
2333
+ createVNode(_sfc_main$v, { class: "flex-7" }, {
2334
2334
  default: withCtx(() => [
2335
- createVNode(_sfc_main$a, {
2335
+ createVNode(_sfc_main$b, {
2336
2336
  options: options.value,
2337
2337
  title: _ctx.title,
2338
2338
  selected: selected.value,
@@ -2347,13 +2347,13 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2347
2347
  } : slots.value.length === 0 && _ctx.tabStyle === "card" ? {
2348
2348
  name: "default",
2349
2349
  fn: withCtx((scope) => [
2350
- createVNode(_sfc_main$u, { class: "w-4-px b-f1-px h-1-px bg-color-neutral r-f5-px abs" })
2350
+ createVNode(_sfc_main$v, { class: "w-4-px b-f1-px h-1-px bg-color-neutral r-f5-px abs" })
2351
2351
  ]),
2352
2352
  key: "1"
2353
2353
  } : slots.value.length === 0 ? {
2354
2354
  name: "default",
2355
2355
  fn: withCtx((scope) => [
2356
- createVNode(_sfc_main$u, {
2356
+ createVNode(_sfc_main$v, {
2357
2357
  class: normalizeClass(`max-w l-0 b-f1-px round-sm h-2-px bg-color-none abs`),
2358
2358
  state: scope.state,
2359
2359
  states: {
@@ -2374,19 +2374,19 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2374
2374
  };
2375
2375
  })
2376
2376
  ]), 1032, ["options", "title", "selected"]),
2377
- contLine.value ? (openBlock(), createBlock(_sfc_main$u, {
2377
+ contLine.value ? (openBlock(), createBlock(_sfc_main$v, {
2378
2378
  key: 0,
2379
2379
  class: "grow-1 h-1-px bg-color-neutral"
2380
2380
  })) : createCommentVNode("", true)
2381
2381
  ]),
2382
2382
  _: 3
2383
2383
  }),
2384
- contArea.value ? (openBlock(), createBlock(_sfc_main$u, {
2384
+ contArea.value ? (openBlock(), createBlock(_sfc_main$v, {
2385
2385
  key: 0,
2386
2386
  class: "pad-v-1d5 over-hide"
2387
2387
  }, {
2388
2388
  default: withCtx(() => [
2389
- selected.value ? (openBlock(), createBlock(_sfc_main$u, { key: 0 }, {
2389
+ selected.value ? (openBlock(), createBlock(_sfc_main$v, { key: 0 }, {
2390
2390
  default: withCtx(() => [
2391
2391
  createElementVNode("div", {
2392
2392
  innerHTML: tabConts[selected.value],
@@ -2395,7 +2395,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2395
2395
  }, null, 42, _hoisted_2)
2396
2396
  ]),
2397
2397
  _: 1
2398
- })) : (openBlock(), createBlock(_sfc_main$u, {
2398
+ })) : (openBlock(), createBlock(_sfc_main$v, {
2399
2399
  key: 1,
2400
2400
  class: "alpha-d5"
2401
2401
  }, {
@@ -2414,7 +2414,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2414
2414
  }
2415
2415
  });
2416
2416
  const _hoisted_1 = ["multiple"];
2417
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2417
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2418
2418
  __name: "upload-wid",
2419
2419
  props: {
2420
2420
  type: {},
@@ -2473,7 +2473,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2473
2473
  };
2474
2474
  return (_ctx, _cache) => {
2475
2475
  const _component_b_hot = resolveComponent("b-hot");
2476
- return openBlock(), createBlock(_sfc_main$u, { class: "flex" }, {
2476
+ return openBlock(), createBlock(_sfc_main$v, { class: "flex" }, {
2477
2477
  default: withCtx(() => [
2478
2478
  _ctx.$slots.default ? (openBlock(), createBlock(_component_b_hot, {
2479
2479
  key: 0,
@@ -2483,7 +2483,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2483
2483
  renderSlot(_ctx.$slots, "default")
2484
2484
  ]),
2485
2485
  _: 3
2486
- })) : (openBlock(), createBlock(_sfc_main$d, mergeProps({
2486
+ })) : (openBlock(), createBlock(_sfc_main$e, mergeProps({
2487
2487
  key: 1,
2488
2488
  onOn_click: _cache[1] || (_cache[1] = ($event) => $uploader.value.click())
2489
2489
  }, btnData.value), null, 16)),
@@ -2511,7 +2511,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2511
2511
  };
2512
2512
  }
2513
2513
  });
2514
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2514
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2515
2515
  __name: "modal-wid",
2516
2516
  props: {
2517
2517
  visiable: { type: Boolean },
@@ -2611,7 +2611,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2611
2611
  emit("update:visiable", false);
2612
2612
  };
2613
2613
  return (_ctx, _cache) => {
2614
- return openBlock(), createBlock(_sfc_main$u, {
2614
+ return openBlock(), createBlock(_sfc_main$v, {
2615
2615
  class: normalizeClass(`fixed t-0 l-0 max z-9 ${dirStyle.value.layout}`),
2616
2616
  state: closeState.value.toString(),
2617
2617
  states: {
@@ -2620,7 +2620,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2620
2620
  }
2621
2621
  }, {
2622
2622
  default: withCtx(() => [
2623
- createVNode(_sfc_main$s, {
2623
+ createVNode(_sfc_main$t, {
2624
2624
  onOn_transend: matteAniend,
2625
2625
  onOn_click: _cache[0] || (_cache[0] = ($event) => !_ctx.matteCloseForbid && hide()),
2626
2626
  state: _ctx.visiable.toString(),
@@ -2630,7 +2630,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2630
2630
  },
2631
2631
  class: normalizeClass(`abs trans-fast max t-0 l-0 bg-color-${_ctx.matteColor || "C000000cc"}`)
2632
2632
  }, null, 8, ["state", "class"]),
2633
- createVNode(_sfc_main$u, {
2633
+ createVNode(_sfc_main$v, {
2634
2634
  class: normalizeClass(`${dirStyle.value.pannal} rel ani-mode-both ani-fast`),
2635
2635
  state: aniDir.value,
2636
2636
  "ani-end-clear": true,
@@ -2639,17 +2639,17 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2639
2639
  }, {
2640
2640
  default: withCtx(() => [
2641
2641
  renderSlot(_ctx.$slots, "custom", {}, () => [
2642
- createVNode(_sfc_main$u, {
2642
+ createVNode(_sfc_main$v, {
2643
2643
  class: normalizeClass(`bg-color-${_ctx.pannelColor || "light"} rel pad-2 ${_ctx.roundEnable ? "round-md" : ""} ${dirStyle.value.pannal}`)
2644
2644
  }, {
2645
2645
  default: withCtx(() => [
2646
- !_ctx.closeEnable ? (openBlock(), createBlock(_sfc_main$s, {
2646
+ !_ctx.closeEnable ? (openBlock(), createBlock(_sfc_main$t, {
2647
2647
  key: 0,
2648
2648
  class: "abs r-1 t-d7 color-mgray",
2649
2649
  onOn_click: hide
2650
2650
  }, {
2651
2651
  default: withCtx(() => [
2652
- createVNode(_sfc_main$m, {
2652
+ createVNode(_sfc_main$n, {
2653
2653
  icon: "fail",
2654
2654
  class: "fsize-2 lh-1d4"
2655
2655
  })
@@ -2670,7 +2670,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2670
2670
  };
2671
2671
  }
2672
2672
  });
2673
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2673
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2674
2674
  __name: "toast-wid",
2675
2675
  props: {
2676
2676
  text: {},
@@ -2704,7 +2704,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2704
2704
  close
2705
2705
  });
2706
2706
  return (_ctx, _cache) => {
2707
- return openBlock(), createBlock(_sfc_main$7, {
2707
+ return openBlock(), createBlock(_sfc_main$8, {
2708
2708
  visiable: visiable.value,
2709
2709
  "onUpdate:visiable": _cache[0] || (_cache[0] = ($event) => visiable.value = $event),
2710
2710
  "matte-close-forbid": true,
@@ -2715,11 +2715,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2715
2715
  }, {
2716
2716
  custom: withCtx(() => [
2717
2717
  renderSlot(_ctx.$slots, "default", {}, () => [
2718
- createVNode(_sfc_main$u, { class: "round-md pad-v-1d2 pad-h-1d7 color-light fsize-1d27 bg-color-C000000ee flex-column lw-10 pcenter" }, {
2718
+ createVNode(_sfc_main$v, { class: "round-md pad-v-1d2 pad-h-1d7 color-light fsize-1d27 bg-color-C000000ee flex-column lw-10 pcenter" }, {
2719
2719
  default: withCtx(() => {
2720
2720
  var _a;
2721
2721
  return [
2722
- _ctx.icon ? (openBlock(), createBlock(_sfc_main$u, {
2722
+ _ctx.icon ? (openBlock(), createBlock(_sfc_main$v, {
2723
2723
  key: 0,
2724
2724
  class: "mrg-b-1d2 fsize-3d2",
2725
2725
  states: {
@@ -2731,11 +2731,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2731
2731
  state: ((_a = _ctx.extra) == null ? void 0 : _a.type) ?? ""
2732
2732
  }, {
2733
2733
  default: withCtx(() => [
2734
- createVNode(_sfc_main$m, { icon: _ctx.icon }, null, 8, ["icon"])
2734
+ createVNode(_sfc_main$n, { icon: _ctx.icon }, null, 8, ["icon"])
2735
2735
  ]),
2736
2736
  _: 1
2737
2737
  }, 8, ["state"])) : createCommentVNode("", true),
2738
- createVNode(_sfc_main$t, null, {
2738
+ createVNode(_sfc_main$u, null, {
2739
2739
  default: withCtx(() => [
2740
2740
  createTextVNode(toDisplayString(_ctx.text), 1)
2741
2741
  ]),
@@ -2752,21 +2752,148 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2752
2752
  };
2753
2753
  }
2754
2754
  });
2755
- let $toastContainer;
2755
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2756
+ __name: "confirm-wid",
2757
+ props: {
2758
+ notic: {},
2759
+ type: {},
2760
+ theme: {},
2761
+ text: {},
2762
+ matteColor: {},
2763
+ ok: { type: Function },
2764
+ cancel: { type: Function }
2765
+ },
2766
+ emits: ["ok", "cancel", "close"],
2767
+ setup(__props, { expose: __expose, emit }) {
2768
+ const props = __props;
2769
+ const visiable = ref(false);
2770
+ const closed = () => {
2771
+ emit("close");
2772
+ };
2773
+ const pannelWidthClass = computed(() => {
2774
+ const { availWidth, availHeight } = window.screen;
2775
+ return availWidth / availHeight > 1 ? "lw-24 rw-37" : "lw-74-vw";
2776
+ });
2777
+ const theme2 = computed(() => {
2778
+ return {
2779
+ bg: "light",
2780
+ text: "dark",
2781
+ line: "lgray",
2782
+ ok: "blue",
2783
+ cancel: "mgray",
2784
+ ...props == null ? void 0 : props.theme
2785
+ };
2786
+ });
2787
+ const ok = () => {
2788
+ var _a;
2789
+ emit("ok");
2790
+ (_a = props.ok) == null ? void 0 : _a.call(props);
2791
+ visiable.value = false;
2792
+ };
2793
+ const cancel = () => {
2794
+ var _a;
2795
+ emit("cancel");
2796
+ (_a = props.cancel) == null ? void 0 : _a.call(props);
2797
+ visiable.value = false;
2798
+ };
2799
+ __expose({
2800
+ show: () => {
2801
+ visiable.value = true;
2802
+ }
2803
+ });
2804
+ return (_ctx, _cache) => {
2805
+ return openBlock(), createBlock(_sfc_main$8, {
2806
+ visiable: visiable.value,
2807
+ "onUpdate:visiable": _cache[0] || (_cache[0] = ($event) => visiable.value = $event),
2808
+ "matte-close-forbid": true,
2809
+ onClosed: closed,
2810
+ dir: "center",
2811
+ "ani-name": ["ani-fade-in", "ani-fade-out"],
2812
+ "matte-color": _ctx.matteColor
2813
+ }, {
2814
+ custom: withCtx(() => [
2815
+ createVNode(_sfc_main$v, {
2816
+ class: normalizeClass(`bg-color-${theme2.value.bg} round-md ${pannelWidthClass.value} pcenter`)
2817
+ }, {
2818
+ default: withCtx(() => [
2819
+ createVNode(_sfc_main$v, {
2820
+ class: normalizeClass(`color-${theme2.value.text} pad-3d4 fsize-1d4 bolder-470`)
2821
+ }, {
2822
+ default: withCtx(() => [
2823
+ createTextVNode(toDisplayString(_ctx.notic), 1)
2824
+ ]),
2825
+ _: 1
2826
+ }, 8, ["class"]),
2827
+ createVNode(_sfc_main$v, {
2828
+ class: normalizeClass(`flex solid-t bolder-470 line-${theme2.value.line} thick-d4 fsize-1d44`)
2829
+ }, {
2830
+ default: withCtx(() => [
2831
+ _ctx.type === "confirm" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
2832
+ createVNode(_sfc_main$t, {
2833
+ class: normalizeClass(`color-${theme2.value.cancel} solid-r thick-d4 line-${theme2.value.line} round-md round-3 flex-5 pad-v-1d4 w-50-P`),
2834
+ active: "bg-color-neutral",
2835
+ onOn_click: cancel
2836
+ }, {
2837
+ default: withCtx(() => {
2838
+ var _a;
2839
+ return [
2840
+ createTextVNode(toDisplayString(((_a = _ctx.text) == null ? void 0 : _a.cancel) ?? "取消"), 1)
2841
+ ];
2842
+ }),
2843
+ _: 1
2844
+ }, 8, ["class"]),
2845
+ createVNode(_sfc_main$t, {
2846
+ class: normalizeClass(`color-${theme2.value.ok} round-md round-4 flex-5 pad-v-1d4 w-50-P`),
2847
+ active: "bg-color-neutral",
2848
+ onOn_click: ok
2849
+ }, {
2850
+ default: withCtx(() => {
2851
+ var _a;
2852
+ return [
2853
+ createTextVNode(toDisplayString(((_a = _ctx.text) == null ? void 0 : _a.ok) ?? "确定"), 1)
2854
+ ];
2855
+ }),
2856
+ _: 1
2857
+ }, 8, ["class"])
2858
+ ], 64)) : (openBlock(), createBlock(_sfc_main$t, {
2859
+ key: 1,
2860
+ class: normalizeClass(`color-${theme2.value.ok} round-b round-md flex-5 pad-v-1d4 grow-1`),
2861
+ active: "bg-color-neutral",
2862
+ onOn_click: ok
2863
+ }, {
2864
+ default: withCtx(() => {
2865
+ var _a;
2866
+ return [
2867
+ createTextVNode(toDisplayString(((_a = _ctx.text) == null ? void 0 : _a.ok) ?? "确定"), 1)
2868
+ ];
2869
+ }),
2870
+ _: 1
2871
+ }, 8, ["class"]))
2872
+ ]),
2873
+ _: 1
2874
+ }, 8, ["class"])
2875
+ ]),
2876
+ _: 1
2877
+ }, 8, ["class"])
2878
+ ]),
2879
+ _: 1
2880
+ }, 8, ["visiable", "matte-color"]);
2881
+ };
2882
+ }
2883
+ });
2756
2884
  const showToast = (text, duration = 2e3, icon = "", extra = {}) => {
2757
2885
  var _a, _b;
2758
- if (!$toastContainer) {
2759
- $toastContainer = document.createElement("div");
2760
- $toastContainer.setAttribute("id", "BTXUI-toast");
2761
- document.body.appendChild($toastContainer);
2762
- }
2763
- const vNode = createVNode(_sfc_main$6, {
2886
+ const $toastContainer = document.createElement("div");
2887
+ $toastContainer.setAttribute("id", "BTXUI-toast");
2888
+ document.body.appendChild($toastContainer);
2889
+ const vNode = createVNode(_sfc_main$7, {
2764
2890
  text,
2765
2891
  duration,
2766
2892
  icon,
2767
2893
  extra,
2768
2894
  onClose: () => {
2769
2895
  render(null, $toastContainer);
2896
+ document.body.removeChild($toastContainer);
2770
2897
  }
2771
2898
  });
2772
2899
  render(vNode, $toastContainer);
@@ -2793,6 +2920,41 @@ const hideLoadToast = (text, icon) => {
2793
2920
  cacheVNodeClose();
2794
2921
  }
2795
2922
  };
2923
+ let cacheConfirmTheme = {
2924
+ theme: {},
2925
+ matte: ""
2926
+ };
2927
+ const _confirm = (type, notic, ok, cancel) => {
2928
+ var _a, _b;
2929
+ const $toastContainer = document.createElement("div");
2930
+ $toastContainer.setAttribute("id", "BTXUI-confirm");
2931
+ document.body.appendChild($toastContainer);
2932
+ const vNode = createVNode(_sfc_main$6, {
2933
+ type,
2934
+ notic,
2935
+ ok,
2936
+ cancel,
2937
+ theme: cacheConfirmTheme.theme,
2938
+ matteColor: cacheConfirmTheme.matte,
2939
+ onClose: () => {
2940
+ render(null, $toastContainer);
2941
+ document.body.removeChild($toastContainer);
2942
+ }
2943
+ });
2944
+ render(vNode, $toastContainer);
2945
+ setTimeout((_b = (_a = vNode.component) == null ? void 0 : _a.exposed) == null ? void 0 : _b.show, 40);
2946
+ return vNode;
2947
+ };
2948
+ const confirmTheme = (theme2, matteColor) => {
2949
+ cacheConfirmTheme.theme = theme2;
2950
+ cacheConfirmTheme.matte = matteColor;
2951
+ };
2952
+ const showAlert = (notic, ok) => {
2953
+ _confirm("alert", notic, ok);
2954
+ };
2955
+ const showConfirm = (notic, ok, cancel) => {
2956
+ _confirm("confirm", notic, ok, cancel);
2957
+ };
2796
2958
  const upload = (extra) => {
2797
2959
  const $input = document.createElement("input");
2798
2960
  $input.type = "file";
@@ -2885,7 +3047,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2885
3047
  return (_ctx, _cache) => {
2886
3048
  const _component_b_view = resolveComponent("b-view");
2887
3049
  const _component_b_icon = resolveComponent("b-icon");
2888
- return openBlock(), createBlock(_sfc_main$8, {
3050
+ return openBlock(), createBlock(_sfc_main$9, {
2889
3051
  onOn_upload: imgUpload,
2890
3052
  size: size.value,
2891
3053
  multiple: _ctx.multiple,
@@ -2936,15 +3098,15 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2936
3098
  return (_ctx, _cache) => {
2937
3099
  var _a;
2938
3100
  const _component_router_view = resolveComponent("router-view");
2939
- return openBlock(), createBlock(_sfc_main$u, {
3101
+ return openBlock(), createBlock(_sfc_main$v, {
2940
3102
  class: normalizeClass(`max fixed flex-column color-light select-none bg-color-${((_a = _ctx.colors) == null ? void 0 : _a.bg) || "none"}`)
2941
3103
  }, {
2942
3104
  default: withCtx(() => {
2943
3105
  var _a2;
2944
3106
  return [
2945
- createVNode(_sfc_main$u, { class: "rel grow-1" }, {
3107
+ createVNode(_sfc_main$v, { class: "rel grow-1" }, {
2946
3108
  default: withCtx(() => [
2947
- createVNode(_sfc_main$i, {
3109
+ createVNode(_sfc_main$j, {
2948
3110
  scroll: { y: "auto", x: "hidden" },
2949
3111
  class: "abs max"
2950
3112
  }, {
@@ -2958,32 +3120,32 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2958
3120
  ]),
2959
3121
  _: 1
2960
3122
  }),
2961
- createVNode(_sfc_main$u, {
3123
+ createVNode(_sfc_main$v, {
2962
3124
  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`)
2963
3125
  }, {
2964
3126
  default: withCtx(() => [
2965
3127
  (openBlock(true), createElementBlock(Fragment, null, renderList(navs.value, (nav, i) => {
2966
- return openBlock(), createBlock(_sfc_main$s, mergeProps({ key: i }, nav.hotData, {
3128
+ return openBlock(), createBlock(_sfc_main$t, mergeProps({ key: i }, nav.hotData, {
2967
3129
  class: "grow-1",
2968
3130
  onOn_click: ($event) => _ctx.$emit("on_toggle", nav)
2969
3131
  }), {
2970
3132
  default: withCtx(() => {
2971
3133
  var _a3, _b, _c, _d, _e, _f;
2972
3134
  return [
2973
- nav.main ? (openBlock(), createBlock(_sfc_main$u, {
3135
+ nav.main ? (openBlock(), createBlock(_sfc_main$v, {
2974
3136
  key: 0,
2975
3137
  class: "rel w-5 mrg-h-auto"
2976
3138
  }, {
2977
3139
  default: withCtx(() => {
2978
3140
  var _a4, _b2, _c2, _d2;
2979
3141
  return [
2980
- createVNode(_sfc_main$m, mergeProps(nav.iconData, {
3142
+ createVNode(_sfc_main$n, mergeProps(nav.iconData, {
2981
3143
  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"}`
2982
3144
  }), null, 16, ["class"])
2983
3145
  ];
2984
3146
  }),
2985
3147
  _: 2
2986
- }, 1024)) : (openBlock(), createBlock(_sfc_main$u, {
3148
+ }, 1024)) : (openBlock(), createBlock(_sfc_main$v, {
2987
3149
  key: 1,
2988
3150
  class: normalizeClass(`flex-column rel flex-5 color-${((_b = (_a3 = _ctx.colors) == null ? void 0 : _a3.text) == null ? void 0 : _b.normal) || "mgray"}`),
2989
3151
  cname: ((_d = (_c = _ctx.colors) == null ? void 0 : _c.text) == null ? void 0 : _d.act) || "light",
@@ -2993,11 +3155,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2993
3155
  }
2994
3156
  }, {
2995
3157
  default: withCtx(() => [
2996
- nav.unread === 1 ? (openBlock(), createBlock(_sfc_main$u, {
3158
+ nav.unread === 1 ? (openBlock(), createBlock(_sfc_main$v, {
2997
3159
  key: 0,
2998
3160
  class: "round w-d7 h-d7 r-9d2-vw t-d2 bg-color-red abs"
2999
3161
  })) : createCommentVNode("", true),
3000
- nav.unread > 1 ? (openBlock(), createBlock(_sfc_main$u, {
3162
+ nav.unread > 1 ? (openBlock(), createBlock(_sfc_main$v, {
3001
3163
  key: 1,
3002
3164
  class: "flex-5 round w-1d5 h-1d5 bold r-7d7-vw t-fd5 bg-color-red abs color-Cfff"
3003
3165
  }, {
@@ -3006,7 +3168,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3006
3168
  ]),
3007
3169
  _: 2
3008
3170
  }, 1024)) : createCommentVNode("", true),
3009
- createVNode(_sfc_main$m, mergeProps(nav.iconData, {
3171
+ createVNode(_sfc_main$n, mergeProps(nav.iconData, {
3010
3172
  cname: nav.act,
3011
3173
  state: curRoute.value === nav.hotData.link ? "act" : "",
3012
3174
  states: {
@@ -3014,7 +3176,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3014
3176
  },
3015
3177
  class: `w-2d7 h-2d7 ${_ctx.iconTransAni ? "trans-fast" : ""} fsize-1d7`
3016
3178
  }), null, 16, ["cname", "state", "states", "class"]),
3017
- nav.text ? (openBlock(), createBlock(_sfc_main$t, {
3179
+ nav.text ? (openBlock(), createBlock(_sfc_main$u, {
3018
3180
  key: 2,
3019
3181
  class: "fsize-d83"
3020
3182
  }, {
@@ -3252,19 +3414,19 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3252
3414
  ]),
3253
3415
  _: 3
3254
3416
  }),
3255
- modalData.dir ? (openBlock(), createBlock(_sfc_main$7, mergeProps({
3417
+ modalData.dir ? (openBlock(), createBlock(_sfc_main$8, mergeProps({
3256
3418
  key: 0,
3257
3419
  visiable: state.value,
3258
3420
  "onUpdate:visiable": _cache[6] || (_cache[6] = ($event) => state.value = $event)
3259
3421
  }, modalData), {
3260
3422
  default: withCtx(() => [
3261
- createVNode(_sfc_main$u, { class: "flex-4 pad-t-1 lw-24" }, {
3423
+ createVNode(_sfc_main$v, { class: "flex-4 pad-t-1 lw-24" }, {
3262
3424
  default: withCtx(() => [
3263
3425
  createVNode(_component_b_icon, {
3264
3426
  icon: "time",
3265
3427
  class: "alpha-d7 mrg-r-d7"
3266
3428
  }),
3267
- curTime.y.show ? (openBlock(), createBlock(_sfc_main$u, { key: 0 }, {
3429
+ curTime.y.show ? (openBlock(), createBlock(_sfc_main$v, { key: 0 }, {
3268
3430
  default: withCtx(() => [
3269
3431
  createVNode(_component_b_hot, {
3270
3432
  onOn_click: _cache[0] || (_cache[0] = ($event) => curOper.value = "y"),
@@ -3286,7 +3448,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3286
3448
  ]),
3287
3449
  _: 1
3288
3450
  })) : createCommentVNode("", true),
3289
- curTime.m.show ? (openBlock(), createBlock(_sfc_main$u, { key: 1 }, {
3451
+ curTime.m.show ? (openBlock(), createBlock(_sfc_main$v, { key: 1 }, {
3290
3452
  default: withCtx(() => [
3291
3453
  createVNode(_component_b_hot, {
3292
3454
  onOn_click: _cache[1] || (_cache[1] = ($event) => curOper.value = "m"),
@@ -3308,7 +3470,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3308
3470
  ]),
3309
3471
  _: 1
3310
3472
  })) : createCommentVNode("", true),
3311
- curTime.d.show ? (openBlock(), createBlock(_sfc_main$u, { key: 2 }, {
3473
+ curTime.d.show ? (openBlock(), createBlock(_sfc_main$v, { key: 2 }, {
3312
3474
  default: withCtx(() => [
3313
3475
  createVNode(_component_b_hot, {
3314
3476
  onOn_click: _cache[2] || (_cache[2] = ($event) => curOper.value = "d"),
@@ -3330,11 +3492,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3330
3492
  ]),
3331
3493
  _: 1
3332
3494
  })) : createCommentVNode("", true),
3333
- twoSides.value ? (openBlock(), createBlock(_sfc_main$u, {
3495
+ twoSides.value ? (openBlock(), createBlock(_sfc_main$v, {
3334
3496
  key: 3,
3335
3497
  class: "w-1d4"
3336
3498
  })) : createCommentVNode("", true),
3337
- curTime.h.show ? (openBlock(), createBlock(_sfc_main$u, { key: 4 }, {
3499
+ curTime.h.show ? (openBlock(), createBlock(_sfc_main$v, { key: 4 }, {
3338
3500
  default: withCtx(() => [
3339
3501
  createVNode(_component_b_hot, {
3340
3502
  onOn_click: _cache[3] || (_cache[3] = ($event) => curOper.value = "h"),
@@ -3356,7 +3518,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3356
3518
  ]),
3357
3519
  _: 1
3358
3520
  })) : createCommentVNode("", true),
3359
- curTime.i.show ? (openBlock(), createBlock(_sfc_main$u, { key: 5 }, {
3521
+ curTime.i.show ? (openBlock(), createBlock(_sfc_main$v, { key: 5 }, {
3360
3522
  default: withCtx(() => [
3361
3523
  createVNode(_component_b_hot, {
3362
3524
  onOn_click: _cache[4] || (_cache[4] = ($event) => curOper.value = "i"),
@@ -3378,7 +3540,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3378
3540
  ]),
3379
3541
  _: 1
3380
3542
  })) : createCommentVNode("", true),
3381
- curTime.s.show ? (openBlock(), createBlock(_sfc_main$u, { key: 6 }, {
3543
+ curTime.s.show ? (openBlock(), createBlock(_sfc_main$v, { key: 6 }, {
3382
3544
  default: withCtx(() => [
3383
3545
  createVNode(_component_b_hot, {
3384
3546
  onOn_click: _cache[5] || (_cache[5] = ($event) => curOper.value = "s"),
@@ -3403,7 +3565,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3403
3565
  ]),
3404
3566
  _: 1
3405
3567
  }),
3406
- createVNode(_sfc_main$u, { class: "flex" }, {
3568
+ createVNode(_sfc_main$v, { class: "flex" }, {
3407
3569
  default: withCtx(() => [
3408
3570
  createVNode(_component_b_list, {
3409
3571
  class: "grow-1 h-17 bg-color-neutral mrg-v-1 round-md pad-1",
@@ -3417,7 +3579,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3417
3579
  }, {
3418
3580
  default: withCtx(() => [
3419
3581
  (openBlock(true), createElementBlock(Fragment, null, renderList(options.value, (opt) => {
3420
- return openBlock(), createBlock(_sfc_main$u, {
3582
+ return openBlock(), createBlock(_sfc_main$v, {
3421
3583
  state: opt,
3422
3584
  hover: "bg-color-neutral",
3423
3585
  class: "h-3 pad-h-1 lh-3-rem flex round-sm alpha-d7"
@@ -3554,7 +3716,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3554
3716
  ]),
3555
3717
  _: 3
3556
3718
  }),
3557
- theme2.dir ? (openBlock(), createBlock(_sfc_main$7, {
3719
+ theme2.dir ? (openBlock(), createBlock(_sfc_main$8, {
3558
3720
  key: 0,
3559
3721
  visiable: state.value,
3560
3722
  "onUpdate:visiable": _cache[1] || (_cache[1] = ($event) => state.value = $event),
@@ -3563,11 +3725,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3563
3725
  "matte-close-forbid": _ctx.matteCloseForbid
3564
3726
  }, {
3565
3727
  custom: withCtx(() => [
3566
- createVNode(_sfc_main$u, {
3728
+ createVNode(_sfc_main$v, {
3567
3729
  class: normalizeClass(`${theme2.dir === "center" ? "w-30 round-md fsize-1d3" : "fsize-1d6"} bg-color-${theme2.pannel} color-${theme2.text}`)
3568
3730
  }, {
3569
3731
  default: withCtx(() => [
3570
- _ctx.$slots.screen ? renderSlot(_ctx.$slots, "default", { key: 0 }) : (openBlock(), createBlock(_sfc_main$u, {
3732
+ _ctx.$slots.screen ? renderSlot(_ctx.$slots, "default", { key: 0 }) : (openBlock(), createBlock(_sfc_main$v, {
3571
3733
  key: 1,
3572
3734
  class: "flex-4 no-wrap pad-1d4"
3573
3735
  }, {
@@ -3588,7 +3750,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3588
3750
  ]),
3589
3751
  _: 1
3590
3752
  })),
3591
- createVNode(_sfc_main$u, { class: "pad-b-2 bolder-500" }, {
3753
+ createVNode(_sfc_main$v, { class: "pad-b-2 bolder-500" }, {
3592
3754
  default: withCtx(() => [
3593
3755
  createVNode(_component_b_hot, { onOn_click: selPrice }, {
3594
3756
  default: withCtx(() => [
@@ -3696,7 +3858,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3696
3858
  }),
3697
3859
  createVNode(_component_b_col, { span: 3 }, {
3698
3860
  default: withCtx(() => [
3699
- createVNode(_sfc_main$u, { class: "rel h-4d2" }, {
3861
+ createVNode(_sfc_main$v, { class: "rel h-4d2" }, {
3700
3862
  default: withCtx(() => [
3701
3863
  createVNode(_component_b_hot, {
3702
3864
  class: normalizeClass(`abs b-0 h-14 max-w bg-color-${theme2.btn2.normal} flex-5 round-sm`),
@@ -3766,14 +3928,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3766
3928
  const _component_b_text = resolveComponent("b-text");
3767
3929
  const _component_content_node_wid = resolveComponent("content-node-wid", true);
3768
3930
  return openBlock(true), createElementBlock(Fragment, null, renderList(dataTree.value, (item) => {
3769
- return openBlock(), createBlock(_sfc_main$u, {
3931
+ return openBlock(), createBlock(_sfc_main$v, {
3770
3932
  state: `id-${item.id}`,
3771
3933
  key: item.id
3772
3934
  }, {
3773
3935
  default: withCtx(() => {
3774
3936
  var _a;
3775
3937
  return [
3776
- createVNode(_sfc_main$s, {
3938
+ createVNode(_sfc_main$t, {
3777
3939
  cname: `${item.id}-${Math.random()}`,
3778
3940
  class: normalizeClass(`flex-4 pad-v-${gap.value} pad-l-${setIndex(item.level)}`),
3779
3941
  hover: _ctx.hover,
@@ -3784,7 +3946,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3784
3946
  state: (((_a = unref(selected)) == null ? void 0 : _a.findIndex((data) => data.id === item.id)) > -1).toString()
3785
3947
  }, {
3786
3948
  default: withCtx(() => [
3787
- item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$m, {
3949
+ item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$n, {
3788
3950
  key: 0,
3789
3951
  class: "mrg-r-d4",
3790
3952
  state: item.spread ? "content-wid-spread" : "content-wid-collapse",
@@ -3803,7 +3965,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3803
3965
  ]),
3804
3966
  _: 2
3805
3967
  }, 1032, ["cname", "class", "hover", "states", "state"]),
3806
- item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$u, {
3968
+ item.children && item.children.length ? (openBlock(), createBlock(_sfc_main$v, {
3807
3969
  key: 0,
3808
3970
  states: {
3809
3971
  "show": "show",
@@ -3890,7 +4052,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3890
4052
  emit("on_select", data);
3891
4053
  };
3892
4054
  return (_ctx, _cache) => {
3893
- return openBlock(), createBlock(_sfc_main$s, {
4055
+ return openBlock(), createBlock(_sfc_main$t, {
3894
4056
  onOn_click: select,
3895
4057
  "event-proxy": true
3896
4058
  }, {
@@ -3912,33 +4074,34 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3912
4074
  });
3913
4075
  const contentWid_vue_vue_type_style_index_0_lang = "";
3914
4076
  const initGlobalComponents = [
4077
+ _sfc_main$w,
3915
4078
  _sfc_main$v,
3916
4079
  _sfc_main$u,
3917
4080
  _sfc_main$t,
3918
4081
  _sfc_main$s,
3919
- _sfc_main$r,
3920
- _sfc_main$m,
4082
+ _sfc_main$n,
4083
+ _sfc_main$k,
3921
4084
  _sfc_main$j,
4085
+ _sfc_main$h,
4086
+ _sfc_main$m,
3922
4087
  _sfc_main$i,
3923
- _sfc_main$g,
3924
4088
  _sfc_main$l,
3925
- _sfc_main$h,
3926
- _sfc_main$k,
4089
+ _sfc_main$g,
3927
4090
  _sfc_main$f,
3928
4091
  _sfc_main$e,
3929
4092
  _sfc_main$d,
3930
4093
  _sfc_main$c,
3931
4094
  _sfc_main$b,
3932
4095
  _sfc_main$a,
3933
- _sfc_main$9,
3934
4096
  _sfc_main$4,
3935
- _sfc_main$8,
4097
+ _sfc_main$9,
3936
4098
  _sfc_main$5,
3937
4099
  _sfc_main,
4100
+ _sfc_main$8,
4101
+ _sfc_main$6,
3938
4102
  _sfc_main$7,
3939
4103
  _sfc_main$3,
3940
- _sfc_main$2,
3941
- _sfc_main$6
4104
+ _sfc_main$2
3942
4105
  ];
3943
4106
  const index = {
3944
4107
  name: "btxui",
@@ -3956,8 +4119,11 @@ const index = {
3956
4119
  };
3957
4120
  export {
3958
4121
  compress,
4122
+ confirmTheme,
3959
4123
  index as default,
3960
4124
  hideLoadToast,
4125
+ showAlert,
4126
+ showConfirm,
3961
4127
  showLoadToast,
3962
4128
  showToast,
3963
4129
  upload,