lh-ui-next 0.1.7-beta.2 → 0.1.7-beta.4

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.7-beta.2",
8
- ## test version : "0.1.7-beta.2",
7
+ ## Official version : "0.1.7-beta.4",
8
+ ## test version : "0.1.7-beta.4",
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
@@ -853,11 +853,11 @@ const J = /* @__PURE__ */ C(St, [["render", Lt]]), Pt = {
853
853
  }
854
854
  }, 100);
855
855
  }
856
- }, Nt = {
856
+ }, zt = {
857
857
  class: "lh-scrollbar__view",
858
858
  ref: "myScrollbarView"
859
859
  };
860
- function zt(e, t, i, s, l, n) {
860
+ function Nt(e, t, i, s, l, n) {
861
861
  const a = We("resize");
862
862
  return o(), c("div", {
863
863
  class: "lh-scrollbar",
@@ -871,7 +871,7 @@ function zt(e, t, i, s, l, n) {
871
871
  ref: "myScrollbarWrap",
872
872
  onScroll: t[0] || (t[0] = (r) => n.scrollhandler(r))
873
873
  }, [
874
- x((o(), c("div", Nt, [
874
+ x((o(), c("div", zt, [
875
875
  L(e.$slots, "default")
876
876
  ])), [
877
877
  [a, n.resizeViewHandler]
@@ -899,7 +899,7 @@ function zt(e, t, i, s, l, n) {
899
899
  ], 2)
900
900
  ], 544);
901
901
  }
902
- const Z = /* @__PURE__ */ C(Pt, [["render", zt]]), Vt = {
902
+ const Z = /* @__PURE__ */ C(Pt, [["render", Nt]]), Vt = {
903
903
  name: "lhSelect",
904
904
  componentName: "lhSelect",
905
905
  components: {
@@ -1314,7 +1314,7 @@ function Kt(e, t, i, s, l, n) {
1314
1314
  const Q = /* @__PURE__ */ C(Vt, [["render", Kt]]), Jt = {
1315
1315
  name: "lhPagination",
1316
1316
  componentName: "lhPagination",
1317
- emits: ["current-change", "prev-click", "next-click", "size-change"],
1317
+ emits: ["current-change", "prev-click", "next-click", "size-change", "size-item-click"],
1318
1318
  props: {
1319
1319
  currentPage: {
1320
1320
  type: Number,
@@ -1458,6 +1458,9 @@ const Q = /* @__PURE__ */ C(Vt, [["render", Kt]]), Jt = {
1458
1458
  return;
1459
1459
  const e = this.currentPageIs + (this.pagerCount - 2);
1460
1460
  e > this.totalPage ? this.changePage(this.totalPage) : this.changePage(e);
1461
+ },
1462
+ sizeItemClick(e) {
1463
+ this.currentPageSize != e.value && this.$emit("size-item-click", e.value);
1461
1464
  }
1462
1465
  },
1463
1466
  computed: {
@@ -1532,7 +1535,7 @@ const Q = /* @__PURE__ */ C(Vt, [["render", Kt]]), Jt = {
1532
1535
  key: 3,
1533
1536
  class: "lh-pagination__sizer childNum"
1534
1537
  }, Li = ["disabled"], Pi = ["placeholder", "disabled"];
1535
- function Ni(e, t, i, s, l, n) {
1538
+ function zi(e, t, i, s, l, n) {
1536
1539
  const a = w("lh-select");
1537
1540
  return !i.hideOnSinglePage || n.totalPage > 1 ? (o(), c("ul", {
1538
1541
  key: 0,
@@ -1639,15 +1642,15 @@ function Ni(e, t, i, s, l, n) {
1639
1642
  r.indexOf("sizes") > -1 ? (o(), c("div", ci, [
1640
1643
  T(a, {
1641
1644
  style: { width: "100px" },
1642
- selectWidth: "100",
1643
1645
  disabled: i.disabled,
1644
1646
  optionList: l.pageSizeList,
1645
1647
  backType: "value",
1648
+ onItemClick: n.sizeItemClick,
1646
1649
  size: i.size ? "mini" : "",
1647
1650
  modelValue: l.currentPageSize,
1648
1651
  "onUpdate:modelValue": t[6] || (t[6] = (h) => l.currentPageSize = h),
1649
1652
  appendToBody: !1
1650
- }, null, 8, ["disabled", "optionList", "size", "modelValue"])
1653
+ }, null, 8, ["disabled", "optionList", "onItemClick", "size", "modelValue"])
1651
1654
  ])) : m("", !0),
1652
1655
  r.indexOf("jumper") > -1 ? (o(), c("span", {
1653
1656
  key: 4,
@@ -1784,15 +1787,15 @@ function Ni(e, t, i, s, l, n) {
1784
1787
  r.indexOf("sizes") > -1 ? (o(), c("div", Ii, [
1785
1788
  T(a, {
1786
1789
  style: { width: "100px" },
1787
- selectWidth: "100",
1788
1790
  disabled: i.disabled,
1789
1791
  optionList: l.pageSizeList,
1790
1792
  backType: "value",
1793
+ onItemClick: n.sizeItemClick,
1791
1794
  size: i.size ? "mini" : "",
1792
1795
  modelValue: l.currentPageSize,
1793
1796
  "onUpdate:modelValue": t[19] || (t[19] = (h) => l.currentPageSize = h),
1794
1797
  appendToBody: !1
1795
- }, null, 8, ["disabled", "optionList", "size", "modelValue"])
1798
+ }, null, 8, ["disabled", "optionList", "onItemClick", "size", "modelValue"])
1796
1799
  ])) : m("", !0),
1797
1800
  r.indexOf("jumper") > -1 ? (o(), c("span", {
1798
1801
  key: 4,
@@ -1833,7 +1836,7 @@ function Ni(e, t, i, s, l, n) {
1833
1836
  ])
1834
1837
  ], 2)) : m("", !0);
1835
1838
  }
1836
- const le = /* @__PURE__ */ C(Jt, [["render", Ni]]);
1839
+ const le = /* @__PURE__ */ C(Jt, [["render", zi]]);
1837
1840
  le.install = function(e) {
1838
1841
  e.component(le.name, le);
1839
1842
  };
@@ -1848,10 +1851,10 @@ function Ze(e) {
1848
1851
  }
1849
1852
  return e;
1850
1853
  }
1851
- const zi = /([\:\-\_]+(.))/g, Vi = /^moz([A-Z])/, Di = Number(document.documentMode), Mi = function(e) {
1854
+ const Ni = /([\:\-\_]+(.))/g, Vi = /^moz([A-Z])/, Di = Number(document.documentMode), Mi = function(e) {
1852
1855
  return (e || "").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g, "");
1853
1856
  }, Ke = function(e) {
1854
- return e.replace(zi, function(t, i, s, l) {
1857
+ return e.replace(Ni, function(t, i, s, l) {
1855
1858
  return l ? s.toUpperCase() : s;
1856
1859
  }).replace(Vi, "Moz$1");
1857
1860
  };
@@ -1915,13 +1918,13 @@ const E = Di < 9 ? function(e, t) {
1915
1918
  };
1916
1919
  let Be = !1, Je = !1, ke;
1917
1920
  const qe = function() {
1918
- let e = z.modalDom;
1919
- return e ? Be = !0 : (Be = !1, e = document.createElement("div"), z.modalDom = e, e.addEventListener("touchmove", function(t) {
1921
+ let e = N.modalDom;
1922
+ return e ? Be = !0 : (Be = !1, e = document.createElement("div"), N.modalDom = e, e.addEventListener("touchmove", function(t) {
1920
1923
  t.preventDefault(), t.stopPropagation();
1921
1924
  }), e.addEventListener("click", function() {
1922
- z.doOnModalClick && z.doOnModalClick();
1925
+ N.doOnModalClick && N.doOnModalClick();
1923
1926
  })), e;
1924
- }, Ce = {}, z = {
1927
+ }, Ce = {}, N = {
1925
1928
  modalFade: !0,
1926
1929
  getInstance: function(e) {
1927
1930
  return Ce[e];
@@ -1933,14 +1936,14 @@ const qe = function() {
1933
1936
  e && (Ce[e] = null, delete Ce[e]);
1934
1937
  },
1935
1938
  nextZIndex: function() {
1936
- return z.zIndex++;
1939
+ return N.zIndex++;
1937
1940
  },
1938
1941
  modalStack: [],
1939
1942
  doOnModalClick: function() {
1940
- const e = z.modalStack[z.modalStack.length - 1];
1943
+ const e = N.modalStack[N.modalStack.length - 1];
1941
1944
  if (!e)
1942
1945
  return;
1943
- const t = z.getInstance(e.id);
1946
+ const t = N.getInstance(e.id);
1944
1947
  t && t.closeOnClickModal && t.close();
1945
1948
  },
1946
1949
  openModal: function(e, t, i, s, l) {
@@ -1970,11 +1973,11 @@ const qe = function() {
1970
1973
  }
1971
1974
  }
1972
1975
  t.length === 0 && (this.modalFade && K(i, "v-modal-leave"), setTimeout(() => {
1973
- t.length === 0 && (i.parentNode && i.parentNode.removeChild(i), i.style.display = "none", z.modalDom = void 0), q(i, "v-modal-leave");
1976
+ t.length === 0 && (i.parentNode && i.parentNode.removeChild(i), i.style.display = "none", N.modalDom = void 0), q(i, "v-modal-leave");
1974
1977
  }, 200));
1975
1978
  }
1976
1979
  };
1977
- Object.defineProperty(z, "zIndex", {
1980
+ Object.defineProperty(N, "zIndex", {
1978
1981
  configurable: !0,
1979
1982
  get() {
1980
1983
  return Je || (ke = ke || 2100, Je = !0), ke;
@@ -1984,9 +1987,9 @@ Object.defineProperty(z, "zIndex", {
1984
1987
  }
1985
1988
  });
1986
1989
  const Ri = function() {
1987
- if (z.modalStack.length > 0) {
1988
- const e = z.modalStack[z.modalStack.length - 1];
1989
- return e ? z.getInstance(e.id) : void 0;
1990
+ if (N.modalStack.length > 0) {
1991
+ const e = N.modalStack[N.modalStack.length - 1];
1992
+ return e ? N.getInstance(e.id) : void 0;
1990
1993
  }
1991
1994
  };
1992
1995
  window.addEventListener("keydown", function(e) {
@@ -2008,7 +2011,7 @@ function Bi() {
2008
2011
  const s = i.offsetWidth;
2009
2012
  return e.parentNode.removeChild(e), we = t - s, we;
2010
2013
  }
2011
- let Wi = 1, ze;
2014
+ let Wi = 1, Ne;
2012
2015
  const Ei = {
2013
2016
  props: {
2014
2017
  visible: {
@@ -2045,10 +2048,10 @@ const Ei = {
2045
2048
  }
2046
2049
  },
2047
2050
  beforeMount() {
2048
- this._popupId = "popup-" + Wi++, z.register(this._popupId, this);
2051
+ this._popupId = "popup-" + Wi++, N.register(this._popupId, this);
2049
2052
  },
2050
2053
  beforeUnmount() {
2051
- z.deregister(this._popupId), z.closeModal(this._popupId), this.restoreBodyStyle();
2054
+ N.deregister(this._popupId), N.closeModal(this._popupId), this.restoreBodyStyle();
2052
2055
  },
2053
2056
  data() {
2054
2057
  return {
@@ -2086,12 +2089,12 @@ const Ei = {
2086
2089
  return;
2087
2090
  this._opening = !0;
2088
2091
  const t = this.$el, i = e.modal, s = e.zIndex;
2089
- if (s && (z.zIndex = s), i && (this._closing && (z.closeModal(this._popupId), this._closing = !1), z.openModal(this._popupId, z.nextZIndex(), this.modalAppendToBody ? void 0 : t, e.modalClass, e.modalFade), e.lockScroll)) {
2090
- this.withoutHiddenClass = !Ee(document.body, "lh-popup-parent--hidden"), this.withoutHiddenClass && (this.bodyPaddingRight = document.body.style.paddingRight, this.computedBodyPaddingRight = parseInt(E(document.body, "paddingRight"), 10)), ze = Bi();
2092
+ if (s && (N.zIndex = s), i && (this._closing && (N.closeModal(this._popupId), this._closing = !1), N.openModal(this._popupId, N.nextZIndex(), this.modalAppendToBody ? void 0 : t, e.modalClass, e.modalFade), e.lockScroll)) {
2093
+ this.withoutHiddenClass = !Ee(document.body, "lh-popup-parent--hidden"), this.withoutHiddenClass && (this.bodyPaddingRight = document.body.style.paddingRight, this.computedBodyPaddingRight = parseInt(E(document.body, "paddingRight"), 10)), Ne = Bi();
2091
2094
  const l = document.documentElement.clientHeight < document.body.scrollHeight, n = E(document.body, "overflowY");
2092
- ze > 0 && (l || n === "scroll") && this.withoutHiddenClass && (document.body.style.paddingRight = this.computedBodyPaddingRight + ze + "px"), K(document.body, "lh-popup-parent--hidden");
2095
+ Ne > 0 && (l || n === "scroll") && this.withoutHiddenClass && (document.body.style.paddingRight = this.computedBodyPaddingRight + Ne + "px"), K(document.body, "lh-popup-parent--hidden");
2093
2096
  }
2094
- getComputedStyle(t).position === "static" && (t.style.position = "absolute"), t.style.zIndex = z.nextZIndex(), this.opened = !0, this.onOpen && this.onOpen(), this.doAfterOpen();
2097
+ getComputedStyle(t).position === "static" && (t.style.position = "absolute"), t.style.zIndex = N.nextZIndex(), this.opened = !0, this.onOpen && this.onOpen(), this.doAfterOpen();
2095
2098
  },
2096
2099
  doAfterOpen() {
2097
2100
  this._opening = !1;
@@ -2109,7 +2112,7 @@ const Ei = {
2109
2112
  this._closing = !0, this.onClose && this.onClose(), this.lockScroll && setTimeout(this.restoreBodyStyle, 200), this.opened = !1, this.doAfterClose();
2110
2113
  },
2111
2114
  doAfterClose() {
2112
- z.closeModal(this._popupId), this._closing = !1;
2115
+ N.closeModal(this._popupId), this._closing = !1;
2113
2116
  },
2114
2117
  restoreBodyStyle() {
2115
2118
  this.modal && this.withoutHiddenClass && (document.body.style.paddingRight = this.bodyPaddingRight, q(
@@ -2639,7 +2642,8 @@ const _l = /* @__PURE__ */ C(ul, [["render", xl]]), kl = {
2639
2642
  data: [],
2640
2643
  map: {},
2641
2644
  arrayList: []
2642
- }
2645
+ },
2646
+ initStatus: !1
2643
2647
  };
2644
2648
  },
2645
2649
  watch: {
@@ -2647,7 +2651,10 @@ const _l = /* @__PURE__ */ C(ul, [["render", xl]]), kl = {
2647
2651
  immediate: !0,
2648
2652
  deep: !0,
2649
2653
  handler: function(e) {
2650
- this.initData(JSON.parse(JSON.stringify(e)));
2654
+ if (e === null || e === "" || e.length === 0)
2655
+ return;
2656
+ let t = JSON.parse(JSON.stringify(e));
2657
+ this.initData(t);
2651
2658
  }
2652
2659
  }
2653
2660
  },
@@ -2693,7 +2700,9 @@ const _l = /* @__PURE__ */ C(ul, [["render", xl]]), kl = {
2693
2700
  }
2694
2701
  this.store.data = e, this.store.map = t, this.store.arrayList = i;
2695
2702
  let l = this.props.defaultCheckedkeys;
2696
- Array.isArray(l) && l.length > 0 && this.setCheckedKeys(l);
2703
+ Array.isArray(l) && l.length > 0 && this.setCheckedKeys(l), setTimeout(() => {
2704
+ this.initStatus = !0;
2705
+ }, 0);
2697
2706
  },
2698
2707
  nodeCheckChange(e) {
2699
2708
  this.oneNodeClickCallback(e), this.$emit("check-click", e), this.checkChanged();
@@ -2929,18 +2938,18 @@ const Tl = {
2929
2938
  this.$emit("handleResizeCallback", e);
2930
2939
  }
2931
2940
  }
2932
- }, Il = { class: "lh-tree-select-div" }, Ll = { class: "tree-select-div-header" }, Pl = { class: "tree-select-div-content-wapper lh-scroll-common" }, Nl = { class: "tree-select-div-content" }, zl = { class: "tree-select-div-footer" };
2941
+ }, Il = { class: "lh-tree-select-div" }, Ll = { class: "tree-select-div-header" }, Pl = { class: "tree-select-div-content-wapper lh-scroll-common" }, zl = { class: "tree-select-div-content" }, Nl = { class: "tree-select-div-footer" };
2933
2942
  function Vl(e, t, i, s, l, n) {
2934
2943
  return o(), c("div", Il, [
2935
2944
  d("div", Ll, [
2936
2945
  L(e.$slots, "header")
2937
2946
  ]),
2938
2947
  d("div", Pl, [
2939
- d("span", Nl, [
2948
+ d("span", zl, [
2940
2949
  L(e.$slots, "content")
2941
2950
  ])
2942
2951
  ]),
2943
- d("div", zl, [
2952
+ d("div", Nl, [
2944
2953
  L(e.$slots, "footer")
2945
2954
  ])
2946
2955
  ]);
@@ -2997,7 +3006,8 @@ const Dl = /* @__PURE__ */ C(Tl, [["render", Vl]]), Ml = {
2997
3006
  showList: [],
2998
3007
  pWidth: 200,
2999
3008
  searchText: "",
3000
- innerChangeFlag: !1
3009
+ innerChangeFlag: !1,
3010
+ storeKeyList: []
3001
3011
  };
3002
3012
  },
3003
3013
  watch: {
@@ -3008,7 +3018,7 @@ const Dl = /* @__PURE__ */ C(Tl, [["render", Vl]]), Ml = {
3008
3018
  }
3009
3019
  },
3010
3020
  modelValue: {
3011
- immediate: !1,
3021
+ immediate: !0,
3012
3022
  deep: !0,
3013
3023
  handler: function(e, t) {
3014
3024
  if (this.innerChangeFlag) {
@@ -3016,10 +3026,10 @@ const Dl = /* @__PURE__ */ C(Tl, [["render", Vl]]), Ml = {
3016
3026
  return;
3017
3027
  }
3018
3028
  if (e === "" || e === null)
3019
- this.$refs.myTree && this.$refs.myTree.setCheckedKeys([]);
3029
+ this.$refs.myTree && this.$refs.myTree.initStatus && (this.$refs.myTree.setCheckedKeys([]), this.innerChangeFlag = !1);
3020
3030
  else {
3021
3031
  let i = e.split(",");
3022
- this.$refs.myTree && this.$refs.myTree.setCheckedKeys(i);
3032
+ this.$refs.myTree && this.$refs.myTree.initStatus ? (this.$refs.myTree.setCheckedKeys(i), this.innerChangeFlag = !1) : this.storeKeyList = i;
3023
3033
  }
3024
3034
  }
3025
3035
  },
@@ -3027,7 +3037,9 @@ const Dl = /* @__PURE__ */ C(Tl, [["render", Vl]]), Ml = {
3027
3037
  immediate: !1,
3028
3038
  deep: !0,
3029
3039
  handler: function(e) {
3030
- this.showList = [], this.$emit("update:modelValue", "");
3040
+ this.storeKeyList.length > 0 ? setTimeout(() => {
3041
+ this.$refs.myTree.setCheckedKeys(this.storeKeyList), this.innerChangeFlag = !1, this.storeKeyList = [];
3042
+ }, 0) : (this.showList = [], this.$emit("update:modelValue", ""));
3031
3043
  }
3032
3044
  }
3033
3045
  },
@@ -3068,7 +3080,7 @@ const Dl = /* @__PURE__ */ C(Tl, [["render", Vl]]), Ml = {
3068
3080
  this.$emit("tree-check-click", e), this.isSingleSelect && this.$refs.mySelectSpan.click();
3069
3081
  },
3070
3082
  checkChangeCallback(e) {
3071
- this.innerChangeFlag = !0, this.showList = e;
3083
+ console.log("check-change-call-back"), this.innerChangeFlag = !0, this.showList = e;
3072
3084
  let t = "";
3073
3085
  for (let i = 0; i < this.showList.length; i++) {
3074
3086
  let s = this.showList[i];
@@ -4207,8 +4219,8 @@ const Tn = {
4207
4219
  }, In = {
4208
4220
  class: "lh-condition-side",
4209
4221
  ref: "condition"
4210
- }, Ln = { class: "lh-condition-side-head" }, Pn = { class: "lh-condition-side-head-right" }, Nn = /* @__PURE__ */ d("i", { class: "lh-ui-font-component icon_component_funnel" }, null, -1), zn = [
4211
- Nn
4222
+ }, Ln = { class: "lh-condition-side-head" }, Pn = { class: "lh-condition-side-head-right" }, zn = /* @__PURE__ */ d("i", { class: "lh-ui-font-component icon_component_funnel" }, null, -1), Nn = [
4223
+ zn
4212
4224
  ], Vn = {
4213
4225
  class: "lh-condition-side-wapper canNotDown",
4214
4226
  ref: "conditionWapper"
@@ -4226,7 +4238,7 @@ function Wn(e, t, i, s, l, n) {
4226
4238
  key: 0,
4227
4239
  class: "lh-condition-more",
4228
4240
  onClick: t[0] || (t[0] = (...r) => n.openEvent && n.openEvent(...r))
4229
- }, zn)) : m("", !0),
4241
+ }, Nn)) : m("", !0),
4230
4242
  T(a, { onClick: n.searchEvent }, {
4231
4243
  default: _(() => [
4232
4244
  I(g(e.$lht("conditionSide.search")), 1)
@@ -4830,14 +4842,14 @@ let Ve = {
4830
4842
  p.getFullYear() == a && p.getMonth() + 1 == r && p.getDate() == h && (v = !0);
4831
4843
  var S = s.getDay(), V = this.nStr1[S];
4832
4844
  S == 0 && (S = 7);
4833
- var D = l, B = this.leapMonth(l), N = !1;
4845
+ var D = l, B = this.leapMonth(l), z = !1;
4834
4846
  for (l = 1; l < 13 && u > 0; l++)
4835
- B > 0 && l == B + 1 && N == !1 ? (--l, N = !0, n = this.leapDays(D)) : n = this.monthDays(D, l), N == !0 && l == B + 1 && (N = !1), u -= n;
4836
- u == 0 && B > 0 && l == B + 1 && (N ? N = !1 : (N = !0, --l)), u < 0 && (u += n, --l);
4847
+ B > 0 && l == B + 1 && z == !1 ? (--l, z = !0, n = this.leapDays(D)) : n = this.monthDays(D, l), z == !0 && l == B + 1 && (z = !1), u -= n;
4848
+ u == 0 && B > 0 && l == B + 1 && (z ? z = !1 : (z = !0, --l)), u < 0 && (u += n, --l);
4837
4849
  var R = l, F = u + 1, it = r - 1, lt = this.toGanZhiYear(D), He = this.getTerm(a, r * 2 - 1), nt = this.getTerm(a, r * 2), Oe = this.toGanZhi((a - 1900) * 12 + r + 11);
4838
4850
  h >= He && (Oe = this.toGanZhi((a - 1900) * 12 + r + 12));
4839
- var Pe = !1, Ne = null;
4840
- He == h && (Pe = !0, Ne = this.solarTerm[r * 2 - 2]), nt == h && (Pe = !0, Ne = this.solarTerm[r * 2 - 1]);
4851
+ var Pe = !1, ze = null;
4852
+ He == h && (Pe = !0, ze = this.solarTerm[r * 2 - 2]), nt == h && (Pe = !0, ze = this.solarTerm[r * 2 - 1]);
4841
4853
  var st = Date.UTC(a, it, 1, 0, 0, 0, 0) / 864e5 + 25567 + 10, at = this.toGanZhi(st + h - 1), ot = this.toAstro(r, h), rt = a + "-" + (r < 10 ? "0" + r.toString() : r) + "-" + (h < 10 ? "0" + h.toString() : h), ct = D + "-" + R + "-" + F, Ae = this.festival, Ue = this.lfestival, je = r + "-" + h, Ye = R + "-" + F;
4842
4854
  return {
4843
4855
  date: rt,
@@ -4848,7 +4860,7 @@ let Ve = {
4848
4860
  lMonth: R,
4849
4861
  lDay: F,
4850
4862
  Animal: this.getAnimal(D),
4851
- IMonthCn: (N ? "\u95F0" : "") + this.toChinaMonth(R),
4863
+ IMonthCn: (z ? "\u95F0" : "") + this.toChinaMonth(R),
4852
4864
  IDayCn: this.toChinaDay(F),
4853
4865
  cYear: a,
4854
4866
  cMonth: r,
@@ -4857,11 +4869,11 @@ let Ve = {
4857
4869
  gzMonth: Oe,
4858
4870
  gzDay: at,
4859
4871
  isToday: v,
4860
- isLeap: N,
4872
+ isLeap: z,
4861
4873
  nWeek: S,
4862
4874
  ncWeek: "\u661F\u671F" + V,
4863
4875
  isTerm: Pe,
4864
- Term: Ne,
4876
+ Term: ze,
4865
4877
  astro: ot
4866
4878
  };
4867
4879
  },
@@ -4878,8 +4890,8 @@ let Ve = {
4878
4890
  for (var p = 0, v = !1, u = 1; u < t; u++)
4879
4891
  p = this.leapMonth(e), v || p <= u && p > 0 && (h += this.leapDays(e), v = !0), h += this.monthDays(e, u);
4880
4892
  l && (h += a);
4881
- var S = Date.UTC(1900, 1, 30, 0, 0, 0), V = new Date((h + i - 31) * 864e5 + S), D = V.getUTCFullYear(), B = V.getUTCMonth() + 1, N = V.getUTCDate();
4882
- return this.solar2lunar(D, B, N);
4893
+ var S = Date.UTC(1900, 1, 30, 0, 0, 0), V = new Date((h + i - 31) * 864e5 + S), D = V.getUTCFullYear(), B = V.getUTCMonth() + 1, z = V.getUTCDate();
4894
+ return this.solar2lunar(D, B, z);
4883
4895
  }
4884
4896
  };
4885
4897
  const Qe = {
@@ -4916,15 +4928,15 @@ const Qe = {
4916
4928
  for (let h = 0; h < a; h++) {
4917
4929
  let u = null, p = null, v = !1;
4918
4930
  if (h < s - 1) {
4919
- let N = "", R = "";
4920
- t === 1 ? (N = 12, R = e - 1) : (N = t - 1, R = e);
4921
- let F = this.getDayCount4Month(R, N);
4922
- u = h + F - s + 2, p = Ve.solar2lunar(R, N, u), v = this.disabledNotCurrentMonth;
4931
+ let z = "", R = "";
4932
+ t === 1 ? (z = 12, R = e - 1) : (z = t - 1, R = e);
4933
+ let F = this.getDayCount4Month(R, z);
4934
+ u = h + F - s + 2, p = Ve.solar2lunar(R, z, u), v = this.disabledNotCurrentMonth;
4923
4935
  } else if (h > l - 1) {
4924
- let N = "", R = "";
4925
- t === 12 ? (N = 1, R = e + 1) : (N = t + 1, R = e);
4936
+ let z = "", R = "";
4937
+ t === 12 ? (z = 1, R = e + 1) : (z = t + 1, R = e);
4926
4938
  let F = (h + 1) % 7;
4927
- F = F === 0 ? 7 : F, u = F - (7 - (a - l)), p = Ve.solar2lunar(R, N, u), v = this.disabledNotCurrentMonth;
4939
+ F = F === 0 ? 7 : F, u = F - (7 - (a - l)), p = Ve.solar2lunar(R, z, u), v = this.disabledNotCurrentMonth;
4928
4940
  } else
4929
4941
  u = h - s + 2, p = Ve.solar2lunar(e, t, u);
4930
4942
  let S = !1;
@@ -5116,8 +5128,8 @@ const Qn = {
5116
5128
  V = 0, D = 0;
5117
5129
  else {
5118
5130
  a / l >= 2 && (V = V + -1 * a, D = D + -1 * u * (a / l)), r.translate(p, s);
5119
- let B = l / 2 + 10, N = B * Math.cos(h), R = B * Math.sin(h);
5120
- v / s % 2 == 0 ? (V = V + -1 * N, D = D + -1 * R) : (V = V + N, D = D + R);
5131
+ let B = l / 2 + 10, z = B * Math.cos(h), R = B * Math.sin(h);
5132
+ v / s % 2 == 0 ? (V = V + -1 * z, D = D + -1 * R) : (V = V + z, D = D + R);
5121
5133
  }
5122
5134
  else
5123
5135
  V = l, D = u;
@@ -5623,7 +5635,7 @@ const Ts = {
5623
5635
  key: 0,
5624
5636
  style: { color: "red" }
5625
5637
  };
5626
- function Ns(e, t, i, s, l, n) {
5638
+ function zs(e, t, i, s, l, n) {
5627
5639
  const a = w("lh-input"), r = w("lh-popover");
5628
5640
  return o(), M(r, {
5629
5641
  zIndex: "2500",
@@ -5678,11 +5690,11 @@ function Ns(e, t, i, s, l, n) {
5678
5690
  _: 1
5679
5691
  }, 8, ["modelValue", "width", "popoverContentClass"]);
5680
5692
  }
5681
- const be = /* @__PURE__ */ C(Ts, [["render", Ns]]);
5693
+ const be = /* @__PURE__ */ C(Ts, [["render", zs]]);
5682
5694
  be.install = function(e) {
5683
5695
  e.component(be.name, be);
5684
5696
  };
5685
- const zs = {
5697
+ const Ns = {
5686
5698
  name: "lhFuzzySelect",
5687
5699
  props: {
5688
5700
  emits: ["update:modelValue", "fuzzyClick"],
@@ -5934,7 +5946,7 @@ function Bs(e, t, i, s, l, n) {
5934
5946
  _: 1
5935
5947
  }, 8, ["modelValue", "width", "popoverContentClass"]);
5936
5948
  }
5937
- const ge = /* @__PURE__ */ C(zs, [["render", Bs]]);
5949
+ const ge = /* @__PURE__ */ C(Ns, [["render", Bs]]);
5938
5950
  ge.install = function(e) {
5939
5951
  e.component(ge.name, ge);
5940
5952
  };
@@ -6943,7 +6955,7 @@ const xa = {
6943
6955
  }, Ca = ["width"], wa = ["onMousedown", "onMousemove"], Sa = { class: "caret-wrapper" }, Ta = ["onClick"], Ia = ["onClick"], La = {
6944
6956
  key: 0,
6945
6957
  class: "lh-table__empty-block"
6946
- }, Pa = { class: "lh-table__empty-text" }, Na = ["width"], za = ["onMouseenter", "onMouseleave"], Va = {
6958
+ }, Pa = { class: "lh-table__empty-text" }, za = ["width"], Na = ["onMouseenter", "onMouseleave"], Va = {
6947
6959
  class: "lh-table__column-resize-proxy",
6948
6960
  ref: "resizeProxy"
6949
6961
  };
@@ -7025,7 +7037,7 @@ function Da(e, t, i, s, l, n) {
7025
7037
  d("colgroup", null, [
7026
7038
  (o(!0), c(b, null, y(l.tableHeader, (u) => (o(), c("col", {
7027
7039
  width: u.realWidth
7028
- }, null, 8, Na))), 256))
7040
+ }, null, 8, za))), 256))
7029
7041
  ]),
7030
7042
  d("tbody", null, [
7031
7043
  (o(!0), c(b, null, y(l.myData, (u, p) => (o(), c("tr", {
@@ -7033,7 +7045,7 @@ function Da(e, t, i, s, l, n) {
7033
7045
  onMouseleave: (v) => n.cellMouseLeave(u)
7034
7046
  }, [
7035
7047
  L(e.$slots, "default")
7036
- ], 40, za))), 256))
7048
+ ], 40, Na))), 256))
7037
7049
  ])
7038
7050
  ], 4)
7039
7051
  ]),