lh-ui-next 0.1.7-beta.27 → 0.1.7-beta.28
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 +2 -2
- package/lib/lh-ui-next.mjs +30 -30
- package/lib/lh-ui-next.umd.js +1 -1
- package/package.json +1 -1
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.
|
|
8
|
-
## test version : "0.1.7-beta.
|
|
7
|
+
## Official version : "0.1.7-beta.28",
|
|
8
|
+
## test version : "0.1.7-beta.28",
|
|
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
|
package/lib/lh-ui-next.mjs
CHANGED
|
@@ -1924,7 +1924,7 @@ const B = Mi < 9 ? function(e, t) {
|
|
|
1924
1924
|
return e.style[t];
|
|
1925
1925
|
}
|
|
1926
1926
|
};
|
|
1927
|
-
let Fe = !1, Je = !1,
|
|
1927
|
+
let Fe = !1, Je = !1, ke;
|
|
1928
1928
|
const qe = function() {
|
|
1929
1929
|
let e = D.modalDom;
|
|
1930
1930
|
return e ? Fe = !0 : (Fe = !1, e = document.createElement("div"), D.modalDom = e, e.addEventListener("touchmove", function(t) {
|
|
@@ -1932,16 +1932,16 @@ const qe = function() {
|
|
|
1932
1932
|
}), e.addEventListener("click", function() {
|
|
1933
1933
|
D.doOnModalClick && D.doOnModalClick();
|
|
1934
1934
|
})), e;
|
|
1935
|
-
},
|
|
1935
|
+
}, Ce = {}, D = {
|
|
1936
1936
|
modalFade: !0,
|
|
1937
1937
|
getInstance: function(e) {
|
|
1938
|
-
return
|
|
1938
|
+
return Ce[e];
|
|
1939
1939
|
},
|
|
1940
1940
|
register: function(e, t) {
|
|
1941
|
-
e && t && (
|
|
1941
|
+
e && t && (Ce[e] = t);
|
|
1942
1942
|
},
|
|
1943
1943
|
deregister: function(e) {
|
|
1944
|
-
e && (
|
|
1944
|
+
e && (Ce[e] = null, delete Ce[e]);
|
|
1945
1945
|
},
|
|
1946
1946
|
nextZIndex: function() {
|
|
1947
1947
|
return D.zIndex++;
|
|
@@ -1988,10 +1988,10 @@ const qe = function() {
|
|
|
1988
1988
|
Object.defineProperty(D, "zIndex", {
|
|
1989
1989
|
configurable: !0,
|
|
1990
1990
|
get() {
|
|
1991
|
-
return Je || (
|
|
1991
|
+
return Je || (ke = ke || 2100, Je = !0), ke;
|
|
1992
1992
|
},
|
|
1993
1993
|
set(e) {
|
|
1994
|
-
|
|
1994
|
+
ke = e;
|
|
1995
1995
|
}
|
|
1996
1996
|
});
|
|
1997
1997
|
const Fi = function() {
|
|
@@ -2006,10 +2006,10 @@ window.addEventListener("keydown", function(e) {
|
|
|
2006
2006
|
t && t.closeOnPressEscape && (t.handleClose ? t.handleClose() : t.handleAction ? t.handleAction("cancel") : t.close());
|
|
2007
2007
|
}
|
|
2008
2008
|
});
|
|
2009
|
-
let
|
|
2009
|
+
let Se;
|
|
2010
2010
|
function Ri() {
|
|
2011
|
-
if (
|
|
2012
|
-
return
|
|
2011
|
+
if (Se !== void 0)
|
|
2012
|
+
return Se;
|
|
2013
2013
|
const e = document.createElement("div");
|
|
2014
2014
|
e.className = "lh-scrollbar__wrap", e.style.visibility = "hidden", e.style.width = "100px", e.style.position = "absolute", e.style.top = "-9999px", document.body.appendChild(e);
|
|
2015
2015
|
const t = e.offsetWidth;
|
|
@@ -2017,7 +2017,7 @@ function Ri() {
|
|
|
2017
2017
|
const i = document.createElement("div");
|
|
2018
2018
|
i.style.width = "100%", e.appendChild(i);
|
|
2019
2019
|
const s = i.offsetWidth;
|
|
2020
|
-
return e.parentNode.removeChild(e),
|
|
2020
|
+
return e.parentNode.removeChild(e), Se = t - s, Se;
|
|
2021
2021
|
}
|
|
2022
2022
|
let Bi = 1, De;
|
|
2023
2023
|
const Wi = {
|
|
@@ -6824,9 +6824,9 @@ function Ea(e, t, i, s, l, n) {
|
|
|
6824
6824
|
_: 1
|
|
6825
6825
|
}, 8, ["modelValue", "popoverContentClass"]);
|
|
6826
6826
|
}
|
|
6827
|
-
const
|
|
6828
|
-
|
|
6829
|
-
e.component(
|
|
6827
|
+
const ve = /* @__PURE__ */ C(va, [["render", Ea]]);
|
|
6828
|
+
ve.install = function(e) {
|
|
6829
|
+
e.component(ve.name, ve);
|
|
6830
6830
|
};
|
|
6831
6831
|
const Fa = {
|
|
6832
6832
|
name: "lhTable",
|
|
@@ -7227,9 +7227,9 @@ function Xa(e, t, i, s, l, n) {
|
|
|
7227
7227
|
[d, n.resizeTableHandler]
|
|
7228
7228
|
]);
|
|
7229
7229
|
}
|
|
7230
|
-
const
|
|
7231
|
-
|
|
7232
|
-
e.component(
|
|
7230
|
+
const _e = /* @__PURE__ */ C(Fa, [["render", Xa]]);
|
|
7231
|
+
_e.install = function(e) {
|
|
7232
|
+
e.component(_e.name, _e);
|
|
7233
7233
|
};
|
|
7234
7234
|
const Ga = {
|
|
7235
7235
|
name: "lhTableColumn",
|
|
@@ -7367,9 +7367,9 @@ function $a(e, t, i, s, l, n) {
|
|
|
7367
7367
|
], 4)
|
|
7368
7368
|
], 6);
|
|
7369
7369
|
}
|
|
7370
|
-
const
|
|
7371
|
-
|
|
7372
|
-
e.component(
|
|
7370
|
+
const xe = /* @__PURE__ */ C(Ga, [["render", $a]]);
|
|
7371
|
+
xe.install = function(e) {
|
|
7372
|
+
e.component(xe.name, xe);
|
|
7373
7373
|
};
|
|
7374
7374
|
const eo = {
|
|
7375
7375
|
data() {
|
|
@@ -7477,8 +7477,8 @@ const co = {
|
|
|
7477
7477
|
lock: !1,
|
|
7478
7478
|
customClass: ""
|
|
7479
7479
|
};
|
|
7480
|
-
let
|
|
7481
|
-
this.fullscreen && (
|
|
7480
|
+
let we, ho = function() {
|
|
7481
|
+
this.fullscreen && (we = void 0), setTimeout(() => {
|
|
7482
7482
|
const e = this.fullscreen || this.body ? document.body : this.target;
|
|
7483
7483
|
q(e, "lh-loading-parent--relative"), q(e, "lh-loading-parent--hidden"), this.$el && this.$el.parentNode && this.$el.parentNode.removeChild(this.$el);
|
|
7484
7484
|
}, 300), this.visible = !1;
|
|
@@ -7494,12 +7494,12 @@ const uo = (e, t, i) => {
|
|
|
7494
7494
|
i.$el.style[l] = s[l];
|
|
7495
7495
|
});
|
|
7496
7496
|
}, fo = (e = {}) => {
|
|
7497
|
-
if (e = Qe({}, co, 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 &&
|
|
7498
|
-
return
|
|
7497
|
+
if (e = Qe({}, co, 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 && we)
|
|
7498
|
+
return we;
|
|
7499
7499
|
let t = e.body ? document.body : e.target, s = Ve(tt).mount(document.createElement("div"));
|
|
7500
7500
|
return s.close = ho, s.originalPosition = "", s.originalOverflow = "", uo(e, t, s), s.originalPosition !== "absolute" && s.originalPosition !== "fixed" && J(t, "lh-loading-parent--relative"), e.fullscreen && e.lock && J(t, "lh-loading-parent--hidden"), t.appendChild(s.$el), Te(() => {
|
|
7501
7501
|
s.visible = !0;
|
|
7502
|
-
}), e.fullscreen && (
|
|
7502
|
+
}), e.fullscreen && (we = s), e.text && s.setText(e.text), s;
|
|
7503
7503
|
}, Xe = {
|
|
7504
7504
|
directive: ro,
|
|
7505
7505
|
service: fo
|
|
@@ -7691,9 +7691,9 @@ const wo = {
|
|
|
7691
7691
|
be,
|
|
7692
7692
|
ge,
|
|
7693
7693
|
ye,
|
|
7694
|
-
we,
|
|
7695
7694
|
ve,
|
|
7696
|
-
_e
|
|
7695
|
+
_e,
|
|
7696
|
+
xe
|
|
7697
7697
|
], it = function(e, t = {}) {
|
|
7698
7698
|
To.map((i) => {
|
|
7699
7699
|
e.component(i.name, i);
|
|
@@ -7743,9 +7743,9 @@ const Vo = {
|
|
|
7743
7743
|
FuzzySelect: be,
|
|
7744
7744
|
UploadFlowable: ge,
|
|
7745
7745
|
DatePicker: ye,
|
|
7746
|
-
DateRangePicker:
|
|
7747
|
-
Table:
|
|
7748
|
-
TableColumn:
|
|
7746
|
+
DateRangePicker: ve,
|
|
7747
|
+
Table: _e,
|
|
7748
|
+
TableColumn: xe
|
|
7749
7749
|
};
|
|
7750
7750
|
export {
|
|
7751
7751
|
Vo as default
|