lh-ui-next 0.1.6 → 0.1.7-beta.1

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/README.md CHANGED
@@ -4,8 +4,8 @@
4
4
  alpha version is use to self-test; beta version is use to public survey.for example:
5
5
  1.0.0-alpha.1
6
6
  1.0.0-test.2
7
- ## Official version : "0.1.6",
8
- ## test version : "0.1.6",
7
+ ## Official version : "0.1.7-beta.1",
8
+ ## test version : "0.1.7-beta.1",
9
9
  ## npmmirror
10
10
  When cnpm sync execution is unsuccessful,you can go the website(http://www.npmmirror.com/package/lh-ui-next) and press sync button to
11
11
  manual trigger the sync event
@@ -1,4 +1,4 @@
1
- import { openBlock as o, createElementBlock as c, normalizeClass as f, createCommentVNode as m, renderSlot as L, withDirectives as x, createElementVNode as d, withModifiers as U, withKeys as Re, vModelDynamic as ht, toDisplayString as g, vModelRadio as dt, normalizeStyle as k, vShow as P, resolveDirective as We, resolveComponent as w, createBlock as M, withCtx as _, Fragment as b, renderList as y, createVNode as T, createTextVNode as I, vModelText as G, nextTick as Te, Transition as Ie, vModelCheckbox as Ge, createApp as Le } from "vue";
1
+ import { openBlock as o, createElementBlock as c, normalizeClass as f, createCommentVNode as m, renderSlot as P, withDirectives as x, createElementVNode as d, withModifiers as U, withKeys as Re, vModelDynamic as ht, toDisplayString as g, vModelRadio as dt, normalizeStyle as k, vShow as L, resolveDirective as We, resolveComponent as w, createBlock as M, withCtx as _, Fragment as b, renderList as y, createVNode as T, createTextVNode as I, vModelText as G, nextTick as Te, Transition as Ie, vModelCheckbox as Ge, createApp as Le } from "vue";
2
2
  const C = (e, t) => {
3
3
  const i = e.__vccOpts || e;
4
4
  for (const [s, l] of t)
@@ -67,7 +67,7 @@ function mt(e, t, i, s, l, n) {
67
67
  key: 0,
68
68
  class: f(["prefix-icon lh-ui-font-component", i.prefixIcon])
69
69
  }, null, 2)) : m("", !0),
70
- L(e.$slots, "default"),
70
+ P(e.$slots, "default"),
71
71
  i.suffixIcon ? (o(), c("i", {
72
72
  key: 1,
73
73
  class: f(["suffix-icon lh-ui-font-component", i.suffixIcon])
@@ -345,7 +345,7 @@ function wt(e, t, i, s, l, n) {
345
345
  d("span", {
346
346
  class: f(["lh-radio-title", [i.label === l.inputValue ? "lh-radio-title-checked" : ""]])
347
347
  }, [
348
- L(e.$slots, "default")
348
+ P(e.$slots, "default")
349
349
  ], 2)
350
350
  ], 2);
351
351
  }
@@ -647,7 +647,7 @@ function Lt(e, t, i, s, l, n) {
647
647
  onMousedown: t[3] || (t[3] = (...a) => n.popoverRefMousedown && n.popoverRefMousedown(...a)),
648
648
  onMouseup: t[4] || (t[4] = (...a) => n.popoverRefMouseup && n.popoverRefMouseup(...a))
649
649
  }, [
650
- L(e.$slots, "reference")
650
+ P(e.$slots, "reference")
651
651
  ], 544),
652
652
  x(d("div", {
653
653
  class: f(["lh-popover-content", i.popoverContentClass]),
@@ -663,11 +663,11 @@ function Lt(e, t, i, s, l, n) {
663
663
  style: k({ width: l.triangleIconPosition.width, height: l.triangleIconPosition.height, top: l.triangleIconPosition.top, left: l.triangleIconPosition.left }),
664
664
  ref: "triangleIcon"
665
665
  }, null, 6), [
666
- [P, i.visibleArrow]
666
+ [L, i.visibleArrow]
667
667
  ]),
668
- L(e.$slots, "default")
668
+ P(e.$slots, "default")
669
669
  ], 46, It), [
670
- [P, l.myVisible]
670
+ [L, l.myVisible]
671
671
  ])
672
672
  ], 8, Tt);
673
673
  }
@@ -872,7 +872,7 @@ function zt(e, t, i, s, l, n) {
872
872
  onScroll: t[0] || (t[0] = (r) => n.scrollhandler(r))
873
873
  }, [
874
874
  x((o(), c("div", Nt, [
875
- L(e.$slots, "default")
875
+ P(e.$slots, "default")
876
876
  ])), [
877
877
  [a, n.resizeViewHandler]
878
878
  ])
@@ -1216,7 +1216,7 @@ function Kt(e, t, i, s, l, n) {
1216
1216
  onClick: t[2] || (t[2] = (u) => n.selectClick("all"))
1217
1217
  }, [
1218
1218
  x(d("div", { class: "lh-select-placeholder" }, g(i.placeholder), 513), [
1219
- [P, l.showList.length === 0]
1219
+ [L, l.showList.length === 0]
1220
1220
  ]),
1221
1221
  i.selectType == "2" ? (o(), c(b, { key: 0 }, [
1222
1222
  (o(!0), c(b, null, y(l.showList, (u, p) => (o(), c(b, null, [
@@ -1279,7 +1279,7 @@ function Kt(e, t, i, s, l, n) {
1279
1279
  innerHTML: u.name
1280
1280
  }, null, 8, Rt)
1281
1281
  ], 10, Mt)), [
1282
- [P, n.filterTextIn(u.name)]
1282
+ [L, n.filterTextIn(u.name)]
1283
1283
  ])), 256)) : i.isTitle && !i.isRemoveTitleHTML ? (o(!0), c(b, { key: 1 }, y(l.myoptionList, (u) => x((o(), c("li", {
1284
1284
  onClick: (p) => n.itemClick(u),
1285
1285
  class: f(u.active ? "active" : u.disabled ? "disabled" : "")
@@ -1289,7 +1289,7 @@ function Kt(e, t, i, s, l, n) {
1289
1289
  innerHTML: u.name
1290
1290
  }, null, 8, Wt)
1291
1291
  ], 10, Bt)), [
1292
- [P, n.filterTextIn(u.name)]
1292
+ [L, n.filterTextIn(u.name)]
1293
1293
  ])), 256)) : (o(!0), c(b, { key: 2 }, y(l.myoptionList, (u) => x((o(), c("li", {
1294
1294
  onClick: (p) => n.itemClick(u),
1295
1295
  class: f(u.active ? "active" : u.disabled ? "disabled" : "")
@@ -1298,14 +1298,14 @@ function Kt(e, t, i, s, l, n) {
1298
1298
  innerHTML: u.name
1299
1299
  }, null, 8, Ft)
1300
1300
  ], 10, Et)), [
1301
- [P, n.filterTextIn(u.name)]
1301
+ [L, n.filterTextIn(u.name)]
1302
1302
  ])), 256)),
1303
1303
  l.myoptionList.length === 0 ? (o(), c("div", Ht, "-\xA0" + g(i.nullMsg) + "\xA0-", 1)) : m("", !0)
1304
1304
  ], 4))
1305
1305
  ]),
1306
1306
  _: 1
1307
1307
  }, 8, ["style"]),
1308
- L(e.$slots, "default")
1308
+ P(e.$slots, "default")
1309
1309
  ], 2)
1310
1310
  ]),
1311
1311
  _: 3
@@ -1544,11 +1544,11 @@ function Ni(e, t, i, s, l, n) {
1544
1544
  d("div", qt, [
1545
1545
  (o(!0), c(b, null, y(i.layout.split(","), (r) => (o(), c(b, null, [
1546
1546
  x(d("span", Xt, [
1547
- L(e.$slots, "total", {}, () => [
1547
+ P(e.$slots, "total", {}, () => [
1548
1548
  I(g(`${i.totalLeft} ${i.hasThousandBit ? n.thousandBit(i.total) : i.total} ${i.totalRight}`), 1)
1549
1549
  ])
1550
1550
  ], 512), [
1551
- [P, r.indexOf("total") > -1]
1551
+ [L, r.indexOf("total") > -1]
1552
1552
  ]),
1553
1553
  r.indexOf("prev") > -1 ? (o(), c("li", {
1554
1554
  key: 0,
@@ -1689,11 +1689,11 @@ function Ni(e, t, i, s, l, n) {
1689
1689
  d("div", ui, [
1690
1690
  (o(!0), c(b, null, y(i.layoutRight.split(","), (r) => (o(), c(b, null, [
1691
1691
  x(d("span", fi, [
1692
- L(e.$slots, "total", {}, () => [
1692
+ P(e.$slots, "total", {}, () => [
1693
1693
  I(g(`${i.totalLeft} ${i.hasThousandBit ? n.thousandBit(i.total) : i.total} ${i.totalRight}`), 1)
1694
1694
  ])
1695
1695
  ], 512), [
1696
- [P, r.indexOf("total") > -1]
1696
+ [L, r.indexOf("total") > -1]
1697
1697
  ]),
1698
1698
  r.indexOf("prev") > -1 ? (o(), c("li", {
1699
1699
  key: 0,
@@ -2220,11 +2220,11 @@ function Oi(e, t, i, s, l, n) {
2220
2220
  style: k(n.style)
2221
2221
  }, [
2222
2222
  e.rendered ? (o(), c("div", Hi, [
2223
- L(e.$slots, "default")
2223
+ P(e.$slots, "default")
2224
2224
  ])) : m("", !0)
2225
2225
  ], 6))
2226
2226
  ], 512), [
2227
- [P, e.visible]
2227
+ [L, e.visible]
2228
2228
  ])
2229
2229
  ]),
2230
2230
  _: 3
@@ -2274,7 +2274,7 @@ function ji(e, t, i, s, l, n) {
2274
2274
  class: "lh-radio-group",
2275
2275
  id: l.groupId
2276
2276
  }, [
2277
- L(e.$slots, "default")
2277
+ P(e.$slots, "default")
2278
2278
  ], 8, Ui);
2279
2279
  }
2280
2280
  const se = /* @__PURE__ */ C(Ai, [["render", ji]]);
@@ -2342,7 +2342,7 @@ function Xi(e, t, i, s, l, n) {
2342
2342
  ])
2343
2343
  ]),
2344
2344
  d("span", qi, [
2345
- L(e.$slots, "default")
2345
+ P(e.$slots, "default")
2346
2346
  ])
2347
2347
  ], 2);
2348
2348
  }
@@ -2462,7 +2462,7 @@ function dl(e, t, i, s, l, n) {
2462
2462
  _: 2
2463
2463
  }, 1032, ["title", "modelValue", "onUpdate:modelValue", "disabled", "onCheckChange"])
2464
2464
  ])), [
2465
- [P, n.filterTextIn(h.name)]
2465
+ [L, n.filterTextIn(h.name)]
2466
2466
  ])), 128))
2467
2467
  ])
2468
2468
  ]),
@@ -2575,7 +2575,7 @@ function xl(e, t, i, s, l, n) {
2575
2575
  class: f(["node-radio", { checked: i.node.checked }]),
2576
2576
  onClick: t[1] || (t[1] = (h) => n.handleRadioClick(i.node))
2577
2577
  }, bl, 2)), [
2578
- [P, !i.node.hideCheckbox]
2578
+ [L, !i.node.hideCheckbox]
2579
2579
  ]) : x((o(), M(a, {
2580
2580
  key: 2,
2581
2581
  class: "node-checkbox",
@@ -2587,7 +2587,7 @@ function xl(e, t, i, s, l, n) {
2587
2587
  disabled: i.node.disabled,
2588
2588
  onCheckChange: t[4] || (t[4] = (h) => n.handleCheckChange(h, i.node))
2589
2589
  }, null, 8, ["modelValue", "indeterminate", "disabled"])), [
2590
- [P, !i.node.hideCheckbox]
2590
+ [L, !i.node.hideCheckbox]
2591
2591
  ]),
2592
2592
  d("span", {
2593
2593
  class: f(["node-label", { disabled: i.node.disabled }])
@@ -2603,12 +2603,12 @@ function xl(e, t, i, s, l, n) {
2603
2603
  onNodeCheckChange: n.handleChildNodeCheckChange,
2604
2604
  onRadioClickChange: n.handleChildRadioClickChange
2605
2605
  }, null, 8, ["node", "onNodeCheckChange", "onRadioClickChange"]), [
2606
- [P, h.visible]
2606
+ [L, h.visible]
2607
2607
  ]),
2608
2608
  vl
2609
2609
  ], 64))), 128))
2610
2610
  ], 512), [
2611
- [P, i.node.open]
2611
+ [L, i.node.open]
2612
2612
  ])
2613
2613
  ], 2);
2614
2614
  }
@@ -2896,7 +2896,7 @@ function Sl(e, t, i, s, l, n) {
2896
2896
  onNodeCheckChange: n.nodeCheckChange,
2897
2897
  onRadioClickChange: n.radioClickChange
2898
2898
  }, null, 8, ["node", "onNodeCheckChange", "onRadioClickChange"]), [
2899
- [P, r.visible]
2899
+ [L, r.visible]
2900
2900
  ]),
2901
2901
  wl
2902
2902
  ], 64))), 128))
@@ -2933,15 +2933,15 @@ const Tl = {
2933
2933
  function Vl(e, t, i, s, l, n) {
2934
2934
  return o(), c("div", Il, [
2935
2935
  d("div", Ll, [
2936
- L(e.$slots, "header")
2936
+ P(e.$slots, "header")
2937
2937
  ]),
2938
2938
  d("div", Pl, [
2939
2939
  d("span", Nl, [
2940
- L(e.$slots, "content")
2940
+ P(e.$slots, "content")
2941
2941
  ])
2942
2942
  ]),
2943
2943
  d("div", zl, [
2944
- L(e.$slots, "footer")
2944
+ P(e.$slots, "footer")
2945
2945
  ])
2946
2946
  ]);
2947
2947
  }
@@ -3119,7 +3119,7 @@ function Hl(e, t, i, s, l, n) {
3119
3119
  ref: "mySelectSpan"
3120
3120
  }, [
3121
3121
  x(d("div", { class: "lh-select-placeholder" }, g(i.placeholder), 513), [
3122
- [P, l.showList.length === 0]
3122
+ [L, l.showList.length === 0]
3123
3123
  ]),
3124
3124
  n.isSingleSelect ? (o(!0), c(b, { key: 0 }, y(l.showList, (v) => (o(), c("div", {
3125
3125
  class: "lh-select-single text-overflow",
@@ -3195,7 +3195,7 @@ function Hl(e, t, i, s, l, n) {
3195
3195
  ]),
3196
3196
  _: 1
3197
3197
  }, 8, ["onClick"]),
3198
- L(e.$slots, "footer")
3198
+ P(e.$slots, "footer")
3199
3199
  ], 64)),
3200
3200
  T(h, {
3201
3201
  size: "mini",
@@ -3864,7 +3864,7 @@ function yn(e, t, i, s, l, n) {
3864
3864
  class: f([{ active: a.active, disabled: i.disabled || a.disabled }, { mini: i.size == "mini" }]),
3865
3865
  innerHTML: a.name
3866
3866
  }, null, 10, fn)), [
3867
- [P, a.show]
3867
+ [L, a.show]
3868
3868
  ])), 256)),
3869
3869
  i.selectType == 4 || i.selectType == 6 ? (o(), c("div", {
3870
3870
  key: 1,
@@ -4027,7 +4027,7 @@ function Sn(e, t, i, s, l, n) {
4027
4027
  ref: "conditionRoller"
4028
4028
  }, [
4029
4029
  d("div", xn, [
4030
- L(e.$slots, "first"),
4030
+ P(e.$slots, "first"),
4031
4031
  i.collapse ? m("", !0) : (o(), c(b, { key: 0 }, [
4032
4032
  i.hasSearchBtn ? (o(), M(a, {
4033
4033
  key: 0,
@@ -4055,9 +4055,9 @@ function Sn(e, t, i, s, l, n) {
4055
4055
  ], 64))
4056
4056
  ]),
4057
4057
  x(d("div", _n, [
4058
- L(e.$slots, "second")
4058
+ P(e.$slots, "second")
4059
4059
  ], 512), [
4060
- [P, !i.collapse || l.state]
4060
+ [L, !i.collapse || l.state]
4061
4061
  ]),
4062
4062
  i.collapse ? (o(), c("div", kn, [
4063
4063
  i.noMore ? m("", !0) : (o(), c(b, { key: 0 }, [
@@ -4068,7 +4068,7 @@ function Sn(e, t, i, s, l, n) {
4068
4068
  Cn,
4069
4069
  I("\xA0\xA0\u5C55\u5F00\u66F4\u591A ")
4070
4070
  ], 512), [
4071
- [P, !l.state]
4071
+ [L, !l.state]
4072
4072
  ]),
4073
4073
  x(d("a", {
4074
4074
  class: "roller-btn pull-right",
@@ -4077,7 +4077,7 @@ function Sn(e, t, i, s, l, n) {
4077
4077
  wn,
4078
4078
  I("\xA0\xA0\u6536\u8D77 ")
4079
4079
  ], 512), [
4080
- [P, l.state]
4080
+ [L, l.state]
4081
4081
  ])
4082
4082
  ], 64)),
4083
4083
  i.hasSearchBtn ? (o(), M(a, {
@@ -4221,7 +4221,7 @@ function Wn(e, t, i, s, l, n) {
4221
4221
  return o(), c("div", In, [
4222
4222
  d("div", Ln, [
4223
4223
  d("div", Pn, [
4224
- L(e.$slots, "head"),
4224
+ P(e.$slots, "head"),
4225
4225
  i.showMore ? (o(), c("span", {
4226
4226
  key: 0,
4227
4227
  class: "lh-condition-more",
@@ -4246,7 +4246,7 @@ function Wn(e, t, i, s, l, n) {
4246
4246
  d("span", null, g(e.$lht("conditionSide.title")), 1)
4247
4247
  ], 4),
4248
4248
  d("div", Rn, [
4249
- L(e.$slots, "content")
4249
+ P(e.$slots, "content")
4250
4250
  ]),
4251
4251
  d("div", Bn, [
4252
4252
  T(a, {
@@ -5041,7 +5041,7 @@ function Zn(e, t, i, s, l, n) {
5041
5041
  class: f(["info-header", { isToday: r.dayDescription == null ? !1 : r.dayDescription.isToday, active: r.dayDescription && r.dayDescription.date === e.selectDate }])
5042
5042
  }, g(r.day) + " (" + g(r.dayDescription == null ? "" : r.dayDescription.lunarFestival || r.dayDescription.festival || r.dayDescription.IMonthCn + r.dayDescription.IDayCn) + ") ", 11, An),
5043
5043
  d("div", Un, [
5044
- L(e.$slots, "infoContent", { data: r })
5044
+ P(e.$slots, "infoContent", { data: r })
5045
5045
  ])
5046
5046
  ], 2)
5047
5047
  ]))), 256))
@@ -5061,7 +5061,7 @@ function Zn(e, t, i, s, l, n) {
5061
5061
  class: f(["info-header", { isToday: r.dayDescription == null ? !1 : r.dayDescription.isToday, active: r.dayDescription && r.dayDescription.date === e.selectDate }])
5062
5062
  }, g(r.day) + " (" + g(r.dayDescription == null ? "" : r.dayDescription.lunarFestival || r.dayDescription.festival || r.dayDescription.IMonthCn + r.dayDescription.IDayCn) + ") ", 11, Xn),
5063
5063
  d("div", Gn, [
5064
- L(e.$slots, "infoContent", { data: r })
5064
+ P(e.$slots, "infoContent", { data: r })
5065
5065
  ])
5066
5066
  ], 2)
5067
5067
  ]))), 256))
@@ -6041,7 +6041,7 @@ function Hs(e, t, i, s, l, n) {
6041
6041
  key: 1,
6042
6042
  class: f(n.typeClass)
6043
6043
  }, null, 2)),
6044
- L(e.$slots, "default", {}, () => [
6044
+ P(e.$slots, "default", {}, () => [
6045
6045
  l.dangerouslyUseHTMLString ? (o(), c("p", {
6046
6046
  key: 1,
6047
6047
  innerHTML: l.message,
@@ -6054,7 +6054,7 @@ function Hs(e, t, i, s, l, n) {
6054
6054
  onClick: t[0] || (t[0] = (...a) => n.close && n.close(...a))
6055
6055
  })) : m("", !0)
6056
6056
  ], 38), [
6057
- [P, l.visible]
6057
+ [L, l.visible]
6058
6058
  ])
6059
6059
  ]),
6060
6060
  _: 3
@@ -6373,7 +6373,7 @@ function ua(e, t, i, s, l, n) {
6373
6373
  ]),
6374
6374
  _: 1
6375
6375
  }, 8, ["size", "onClick"])),
6376
- L(e.$slots, "head")
6376
+ P(e.$slots, "head")
6377
6377
  ])) : (o(), c(b, { key: 1 }, [
6378
6378
  l.currentFiles.length > 1 && e.urlDownloadAll ? (o(), c("span", {
6379
6379
  key: 0,
@@ -6694,6 +6694,7 @@ const xa = {
6694
6694
  },
6695
6695
  watch: {
6696
6696
  data: {
6697
+ immediate: !0,
6697
6698
  deep: !0,
6698
6699
  handler: function(e) {
6699
6700
  let t = JSON.parse(JSON.stringify(e));
@@ -7031,7 +7032,7 @@ function Da(e, t, i, s, l, n) {
7031
7032
  onMouseenter: (v) => n.cellMouseEnter(u),
7032
7033
  onMouseleave: (v) => n.cellMouseLeave(u)
7033
7034
  }, [
7034
- L(e.$slots, "default")
7035
+ P(e.$slots, "default")
7035
7036
  ], 40, za))), 256))
7036
7037
  ])
7037
7038
  ], 4)
@@ -7040,7 +7041,7 @@ function Da(e, t, i, s, l, n) {
7040
7041
  }, 8, ["style", "onOnScrollHorizontal", "onInit", "onHorizontalVisibleChange"])
7041
7042
  ]),
7042
7043
  x(d("div", Va, null, 512), [
7043
- [P, l.isDragging]
7044
+ [L, l.isDragging]
7044
7045
  ])
7045
7046
  ], 2)), [
7046
7047
  [h, n.resizeTableHandler]
@@ -7068,7 +7069,7 @@ const Ma = {
7068
7069
  },
7069
7070
  type: {
7070
7071
  type: String,
7071
- default: ""
7072
+ default: "common"
7072
7073
  },
7073
7074
  width: {
7074
7075
  type: [String, Number],
@@ -7158,8 +7159,8 @@ const Ma = {
7158
7159
  mounted() {
7159
7160
  this.initFn();
7160
7161
  }
7161
- }, Ra = { key: 0 };
7162
- function Ba(e, t, i, s, l, n) {
7162
+ };
7163
+ function Ra(e, t, i, s, l, n) {
7163
7164
  const a = w("lh-checkbox");
7164
7165
  return o(), c("td", {
7165
7166
  ref: "myTd",
@@ -7170,27 +7171,35 @@ function Ba(e, t, i, s, l, n) {
7170
7171
  class: "cell",
7171
7172
  style: k({ textAlign: i.align })
7172
7173
  }, [
7173
- i.type === "index" ? (o(), c("span", Ra, g(l.trIndex + 1), 1)) : i.type === "selection" ? (o(), M(a, {
7174
- key: 1,
7174
+ x(d("span", null, g(l.trIndex + 1), 513), [
7175
+ [L, i.type === "index"]
7176
+ ]),
7177
+ x(T(a, {
7175
7178
  label: "2",
7176
7179
  modelValue: l.item.selected,
7177
7180
  "onUpdate:modelValue": t[0] || (t[0] = (r) => l.item.selected = r),
7178
7181
  onCheckChange: n.checkChange
7179
- }, null, 8, ["modelValue", "onCheckChange"])) : L(e.$slots, "default", {
7180
- key: 2,
7181
- row: l.item,
7182
- $index: l.trIndex
7183
- }, () => [
7184
- d("span", null, g(l.item[i.prop]), 1)
7182
+ }, null, 8, ["modelValue", "onCheckChange"]), [
7183
+ [L, i.type === "selection"]
7184
+ ]),
7185
+ x(d("div", null, [
7186
+ P(e.$slots, "default", {
7187
+ row: l.item,
7188
+ $index: l.trIndex
7189
+ }, () => [
7190
+ d("span", null, g(l.item[i.prop]), 1)
7191
+ ])
7192
+ ], 512), [
7193
+ [L, i.type === "common"]
7185
7194
  ])
7186
7195
  ], 4)
7187
7196
  ], 6);
7188
7197
  }
7189
- const _e = /* @__PURE__ */ C(Ma, [["render", Ba]]);
7198
+ const _e = /* @__PURE__ */ C(Ma, [["render", Ra]]);
7190
7199
  _e.install = function(e) {
7191
7200
  e.component(_e.name, _e);
7192
7201
  };
7193
- const Wa = {
7202
+ const Ba = {
7194
7203
  data() {
7195
7204
  return {
7196
7205
  text: null,
@@ -7206,48 +7215,48 @@ const Wa = {
7206
7215
  this.text = e;
7207
7216
  }
7208
7217
  }
7209
- }, Ea = { class: "lh-loading-spinner" }, Fa = {
7218
+ }, Wa = { class: "lh-loading-spinner" }, Ea = {
7210
7219
  key: 0,
7211
7220
  class: "circular",
7212
7221
  viewBox: "25 25 50 50"
7213
- }, Ha = /* @__PURE__ */ d("circle", {
7222
+ }, Fa = /* @__PURE__ */ d("circle", {
7214
7223
  class: "path",
7215
7224
  cx: "50",
7216
7225
  cy: "50",
7217
7226
  r: "20",
7218
7227
  fill: "none"
7219
- }, null, -1), Oa = [
7220
- Ha
7221
- ], Aa = {
7228
+ }, null, -1), Ha = [
7229
+ Fa
7230
+ ], Oa = {
7222
7231
  key: 1,
7223
7232
  class: "lh-loading-icon-wapper"
7224
- }, Ua = {
7233
+ }, Aa = {
7225
7234
  key: 2,
7226
7235
  class: "lh-loading-text"
7227
7236
  };
7228
- function ja(e, t, i, s, l, n) {
7237
+ function Ua(e, t, i, s, l, n) {
7229
7238
  return o(), M(Ie, { name: "lh-loading-fade" }, {
7230
7239
  default: _(() => [
7231
7240
  x(d("div", {
7232
7241
  class: f(["lh-loading-mask", [l.customClass, { "is-fullscreen": l.fullscreen }]]),
7233
7242
  style: k({ backgroundColor: l.background || "" })
7234
7243
  }, [
7235
- d("div", Ea, [
7236
- l.spinner ? (o(), c("div", Aa, [
7244
+ d("div", Wa, [
7245
+ l.spinner ? (o(), c("div", Oa, [
7237
7246
  d("i", {
7238
7247
  class: f(l.spinner)
7239
7248
  }, null, 2)
7240
- ])) : (o(), c("svg", Fa, Oa)),
7241
- l.text ? (o(), c("p", Ua, g(l.text), 1)) : m("", !0)
7249
+ ])) : (o(), c("svg", Ea, Ha)),
7250
+ l.text ? (o(), c("p", Aa, g(l.text), 1)) : m("", !0)
7242
7251
  ])
7243
7252
  ], 6), [
7244
- [P, l.visible]
7253
+ [L, l.visible]
7245
7254
  ])
7246
7255
  ]),
7247
7256
  _: 1
7248
7257
  });
7249
7258
  }
7250
- const et = /* @__PURE__ */ C(Wa, [["render", ja]]), De = (e, t) => {
7259
+ const et = /* @__PURE__ */ C(Ba, [["render", Ua]]), De = (e, t) => {
7251
7260
  t.value ? Te(() => {
7252
7261
  t.modifiers.fullscreen ? (e.originalPosition = E(document.body, "position"), e.originalOverflow = E(document.body, "overflow"), e.maskStyle.zIndex = "3000", K(e.mask, "is-fullscreen"), Me(document.body, e, t)) : (q(e.mask, "is-fullscreen"), t.modifiers.body ? (e.originalPosition = E(document.body, "position"), ["top", "left"].forEach((i) => {
7253
7262
  const s = i === "top" ? "scrollTop" : "scrollLeft";
@@ -7271,7 +7280,7 @@ const et = /* @__PURE__ */ C(Wa, [["render", ja]]), De = (e, t) => {
7271
7280
  t.instance.hiding || (t.instance.visible = !0);
7272
7281
  }), t.domInserted = !0) : t.domVisible && t.instance.hiding === !0 && (t.instance.visible = !0, t.instance.hiding = !1);
7273
7282
  };
7274
- let Ya = {
7283
+ let ja = {
7275
7284
  mounted: function(e, t, i) {
7276
7285
  const s = e.getAttribute("lh-loading-text"), l = e.getAttribute("lh-loading-spinner"), n = e.getAttribute("lh-loading-background"), a = e.getAttribute("lh-loading-custom-class"), r = i.context;
7277
7286
  let u = Le(et).mount(document.createElement("div"));
@@ -7289,20 +7298,20 @@ let Ya = {
7289
7298
  }
7290
7299
  }
7291
7300
  };
7292
- const Ka = {
7301
+ const Ya = {
7293
7302
  text: null,
7294
7303
  fullscreen: !0,
7295
7304
  body: !1,
7296
7305
  lock: !1,
7297
7306
  customClass: ""
7298
7307
  };
7299
- let Se, Ja = function() {
7308
+ let Se, Ka = function() {
7300
7309
  this.fullscreen && (Se = void 0), setTimeout(() => {
7301
7310
  const e = this.fullscreen || this.body ? document.body : this.target;
7302
7311
  q(e, "lh-loading-parent--relative"), q(e, "lh-loading-parent--hidden"), this.$el && this.$el.parentNode && this.$el.parentNode.removeChild(this.$el);
7303
7312
  }, 300), this.visible = !1;
7304
7313
  };
7305
- const qa = (e, t, i) => {
7314
+ const Ja = (e, t, i) => {
7306
7315
  let s = {};
7307
7316
  e.fullscreen ? (i.originalPosition = E(document.body, "position"), i.originalOverflow = E(document.body, "overflow"), s.zIndex = 3e3) : e.body ? (i.originalPosition = E(document.body, "position"), ["top", "left"].forEach((l) => {
7308
7317
  let n = l === "top" ? "scrollTop" : "scrollLeft";
@@ -7312,17 +7321,17 @@ const qa = (e, t, i) => {
7312
7321
  })) : i.originalPosition = E(t, "position"), Object.keys(s).forEach((l) => {
7313
7322
  i.$el.style[l] = s[l];
7314
7323
  });
7315
- }, Xa = (e = {}) => {
7316
- if (e = Ze({}, Ka, e), typeof e.target == "string" && (e.target = document.querySelector(e.target)), e.target = e.target || document.body, e.target !== document.body ? e.fullscreen = !1 : e.body = !0, e.fullscreen && Se)
7324
+ }, qa = (e = {}) => {
7325
+ if (e = Ze({}, Ya, e), typeof e.target == "string" && (e.target = document.querySelector(e.target)), e.target = e.target || document.body, e.target !== document.body ? e.fullscreen = !1 : e.body = !0, e.fullscreen && Se)
7317
7326
  return Se;
7318
7327
  let t = e.body ? document.body : e.target, s = Le(et).mount(document.createElement("div"));
7319
- return s.close = Ja, s.originalPosition = "", s.originalOverflow = "", qa(e, t, s), s.originalPosition !== "absolute" && s.originalPosition !== "fixed" && K(t, "lh-loading-parent--relative"), e.fullscreen && e.lock && K(t, "lh-loading-parent--hidden"), t.appendChild(s.$el), Te(() => {
7328
+ return s.close = Ka, s.originalPosition = "", s.originalOverflow = "", Ja(e, t, s), s.originalPosition !== "absolute" && s.originalPosition !== "fixed" && K(t, "lh-loading-parent--relative"), e.fullscreen && e.lock && K(t, "lh-loading-parent--hidden"), t.appendChild(s.$el), Te(() => {
7320
7329
  s.visible = !0;
7321
7330
  }), e.fullscreen && (Se = s), e.text && s.setText(e.text), s;
7322
7331
  }, Xe = {
7323
- directive: Ya,
7324
- service: Xa
7325
- }, Ga = {
7332
+ directive: ja,
7333
+ service: qa
7334
+ }, Xa = {
7326
7335
  data() {
7327
7336
  return {
7328
7337
  title: "",
@@ -7378,26 +7387,26 @@ const qa = (e, t, i) => {
7378
7387
  beforeUnmount() {
7379
7388
  document.removeEventListener("keydown", this.keydown), document.removeEventListener("hashchange", this.close);
7380
7389
  }
7381
- }, Za = { class: "lh-mb-wapper" }, Qa = { class: "lh-mb-header" }, $a = /* @__PURE__ */ d("i", { class: "lh-ui-font-component icon_component_remind02" }, null, -1), eo = { class: "lh-mb-header-span" }, to = { class: "lh-mb-content" }, io = { class: "lh-mb-footer" }, lo = { class: "pull-right" };
7382
- function no(e, t, i, s, l, n) {
7390
+ }, Ga = { class: "lh-mb-wapper" }, Za = { class: "lh-mb-header" }, Qa = /* @__PURE__ */ d("i", { class: "lh-ui-font-component icon_component_remind02" }, null, -1), $a = { class: "lh-mb-header-span" }, eo = { class: "lh-mb-content" }, to = { class: "lh-mb-footer" }, io = { class: "pull-right" };
7391
+ function lo(e, t, i, s, l, n) {
7383
7392
  const a = w("lh-button");
7384
7393
  return o(), M(Ie, {
7385
7394
  name: "lh-mb-fade",
7386
7395
  onAfterLeave: n.handleAfterLeave
7387
7396
  }, {
7388
7397
  default: _(() => [
7389
- x(d("div", Za, [
7398
+ x(d("div", Ga, [
7390
7399
  d("div", {
7391
7400
  class: "lh-mb",
7392
7401
  style: k(n.positionStyle)
7393
7402
  }, [
7394
- d("div", Qa, [
7395
- $a,
7396
- d("span", eo, g(l.title), 1)
7403
+ d("div", Za, [
7404
+ Qa,
7405
+ d("span", $a, g(l.title), 1)
7397
7406
  ]),
7398
- d("div", to, g(l.message), 1),
7399
- d("div", io, [
7400
- d("div", lo, [
7407
+ d("div", eo, g(l.message), 1),
7408
+ d("div", to, [
7409
+ d("div", io, [
7401
7410
  T(a, {
7402
7411
  category: "minor",
7403
7412
  onClick: n.cancel
@@ -7417,21 +7426,21 @@ function no(e, t, i, s, l, n) {
7417
7426
  ])
7418
7427
  ], 4)
7419
7428
  ], 512), [
7420
- [P, l.visible]
7429
+ [L, l.visible]
7421
7430
  ])
7422
7431
  ]),
7423
7432
  _: 1
7424
7433
  }, 8, ["onAfterLeave"]);
7425
7434
  }
7426
- const so = /* @__PURE__ */ C(Ga, [["render", no]]);
7427
- let A = [], ao = 1;
7435
+ const no = /* @__PURE__ */ C(Xa, [["render", lo]]);
7436
+ let A = [], so = 1;
7428
7437
  const te = function(e) {
7429
7438
  e = e || {};
7430
- let t = e.onClose, i = "messageBox_" + ao++;
7439
+ let t = e.onClose, i = "messageBox_" + so++;
7431
7440
  e.onClose = function() {
7432
7441
  te.close(i, t);
7433
7442
  };
7434
- let l = Le(so).mount(document.createElement("div"));
7443
+ let l = Le(no).mount(document.createElement("div"));
7435
7444
  for (let r in e)
7436
7445
  l[r] = e[r] || l[r];
7437
7446
  l.id = i, document.body.appendChild(l.$el);
@@ -7462,7 +7471,7 @@ te.closeAll = function() {
7462
7471
  for (let e = A.length - 1; e >= 0; e--)
7463
7472
  A[e].close();
7464
7473
  };
7465
- const oo = {
7474
+ const ao = {
7466
7475
  conditionSide: {
7467
7476
  title: "\u7B5B\u9009\u6761\u4EF6",
7468
7477
  reset: "\u91CD\u7F6E",
@@ -7484,7 +7493,7 @@ const oo = {
7484
7493
  custom: "\u81EA\u5B9A\u4E49",
7485
7494
  unlimit: "\u4E0D\u9650"
7486
7495
  }
7487
- }, ro = [
7496
+ }, oo = [
7488
7497
  j,
7489
7498
  Y,
7490
7499
  le,
@@ -7514,11 +7523,11 @@ const oo = {
7514
7523
  xe,
7515
7524
  _e
7516
7525
  ], tt = function(e, t = {}) {
7517
- ro.map((i) => {
7526
+ oo.map((i) => {
7518
7527
  e.component(i.name, i);
7519
7528
  }), window.$lhMessage = W, window.$loadingDirective = Xe.directive, window.$loading = Xe.service, window.$confirm = te.confirm, e.config.globalProperties.$lht = (i) => {
7520
7529
  let s = [];
7521
- return t.language && t.language.locale ? s = t.lang[t.language.locale].message : s = oo, i.split(".").reduce((l, n) => {
7530
+ return t.language && t.language.locale ? s = t.lang[t.language.locale].message : s = ao, i.split(".").reduce((l, n) => {
7522
7531
  if (l)
7523
7532
  return l[n];
7524
7533
  }, s);
@@ -7535,7 +7544,7 @@ document.addEventListener("click", function(e) {
7535
7544
  s[l].classList.remove("active");
7536
7545
  }
7537
7546
  });
7538
- const ho = {
7547
+ const co = {
7539
7548
  install: tt,
7540
7549
  Button: j,
7541
7550
  Input: Y,
@@ -7567,5 +7576,5 @@ const ho = {
7567
7576
  TableColumn: _e
7568
7577
  };
7569
7578
  export {
7570
- ho as default
7579
+ co as default
7571
7580
  };