@kengic/vue 0.28.1-beta.14 → 0.28.1-beta.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +16 -51
- package/package.json +2 -2
- /package/dist/{close-outlined-DMcSQWxQ.fc6ad215.mjs → close-outlined-DMcSQWxQ.a4902e60.mjs} +0 -0
- /package/dist/{exclamation-circle-outlined-DZrXCnvM.48239a67.mjs → exclamation-circle-outlined-DZrXCnvM.a92e21bd.mjs} +0 -0
- /package/dist/{fullscreen-exit-outlined-X1iYkFc4.d0749a84.mjs → fullscreen-exit-outlined-X1iYkFc4.47f3e980.mjs} +0 -0
- /package/dist/{fullscreen-outlined-DDBrsRcy.204dfee6.mjs → fullscreen-outlined-DDBrsRcy.d66a8ecf.mjs} +0 -0
- /package/dist/{search-outlined-Od1M_oxf.79bc8cdd.mjs → search-outlined-Od1M_oxf.bdda4a21.mjs} +0 -0
- /package/dist/{three-dots-loading-bIlrTJYR.de772d56.mjs → three-dots-loading-bIlrTJYR.97ad665e.mjs} +0 -0
package/dist/kengic-vue.js
CHANGED
@@ -2695,12 +2695,12 @@ reactExports.forwardRef((e, G) => IconComponent({
|
|
2695
2695
|
...e,
|
2696
2696
|
_ref: G
|
2697
2697
|
}));
|
2698
|
-
import("./close-outlined-DMcSQWxQ.
|
2699
|
-
import("./fullscreen-exit-outlined-X1iYkFc4.
|
2700
|
-
import("./fullscreen-outlined-DDBrsRcy.
|
2701
|
-
import("./exclamation-circle-outlined-DZrXCnvM.
|
2702
|
-
import("./search-outlined-Od1M_oxf.
|
2703
|
-
import("./three-dots-loading-bIlrTJYR.
|
2698
|
+
import("./close-outlined-DMcSQWxQ.a4902e60.mjs").then(({ default: e }) => addIcon$1("ant-design:close-outlined", e));
|
2699
|
+
import("./fullscreen-exit-outlined-X1iYkFc4.47f3e980.mjs").then(({ default: e }) => addIcon$1("ant-design:fullscreen-exit-outlined", e));
|
2700
|
+
import("./fullscreen-outlined-DDBrsRcy.d66a8ecf.mjs").then(({ default: e }) => addIcon$1("ant-design:fullscreen-outlined", e));
|
2701
|
+
import("./exclamation-circle-outlined-DZrXCnvM.a92e21bd.mjs").then(({ default: e }) => addIcon$1("ant-design:exclamation-circle-outlined", e));
|
2702
|
+
import("./search-outlined-Od1M_oxf.bdda4a21.mjs").then(({ default: e }) => addIcon$1("ant-design:search-outlined", e));
|
2703
|
+
import("./three-dots-loading-bIlrTJYR.97ad665e.mjs").then(({ default: e }) => addIcon$1("eos-icons:three-dots-loading", e));
|
2704
2704
|
var jsxRuntime = { exports: {} }, reactJsxRuntime_production_min = {};
|
2705
2705
|
/**
|
2706
2706
|
* @license React
|
@@ -64429,21 +64429,7 @@ function useDragToResize$1(e) {
|
|
64429
64429
|
Ne$1("\u5F39\u7A97\u5143\u7D20\u4E3A\u7A7A.");
|
64430
64430
|
return;
|
64431
64431
|
}
|
64432
|
-
Ta = pi.pageX, Na = pi.pageY, ya = ta.offsetWidth, Sa = ta.offsetHeight, Number(getComputedStyle(ta).top.replace(/px/g, "")), Aa = Ra(
|
64433
|
-
document.documentElement,
|
64434
|
-
"mousemove",
|
64435
|
-
(Mi) => Ga({
|
64436
|
-
event: Mi,
|
64437
|
-
handleType: wi
|
64438
|
-
})
|
64439
|
-
), ka = Ra(
|
64440
|
-
document.documentElement,
|
64441
|
-
"mouseup",
|
64442
|
-
(Mi) => Va({
|
64443
|
-
event: Mi,
|
64444
|
-
handleType: wi
|
64445
|
-
})
|
64446
|
-
);
|
64432
|
+
Ta = pi.pageX, Na = pi.pageY, ya = ta.offsetWidth, Sa = ta.offsetHeight, Number(getComputedStyle(ta).top.replace(/px/g, "")), Aa = Ra(document.documentElement, "mousemove", (Mi) => Ga({ event: Mi, handleType: wi })), ka = Ra(document.documentElement, "mouseup", (Mi) => Va({ event: Mi, handleType: wi }));
|
64447
64433
|
}
|
64448
64434
|
}
|
64449
64435
|
function Ga(di) {
|
@@ -64466,39 +64452,18 @@ function useDragToResize$1(e) {
|
|
64466
64452
|
modalWrapElement: ea,
|
64467
64453
|
open: !!G.open
|
64468
64454
|
});
|
64469
|
-
const Bi = (vl) => La == null ? void 0 : La({
|
64470
|
-
event: vl,
|
64471
|
-
handleType: "top-left"
|
64472
|
-
}), rs = (vl) => La == null ? void 0 : La({
|
64473
|
-
event: vl,
|
64474
|
-
handleType: "top"
|
64475
|
-
}), Ji = (vl) => La == null ? void 0 : La({
|
64476
|
-
event: vl,
|
64477
|
-
handleType: "top-right"
|
64478
|
-
}), Ci = (vl) => La == null ? void 0 : La({
|
64479
|
-
event: vl,
|
64480
|
-
handleType: "right"
|
64481
|
-
}), Vi = (vl) => La == null ? void 0 : La({
|
64482
|
-
event: vl,
|
64483
|
-
handleType: "bottom-right"
|
64484
|
-
}), us = (vl) => La == null ? void 0 : La({
|
64485
|
-
event: vl,
|
64486
|
-
handleType: "bottom"
|
64487
|
-
}), Ps = (vl) => La == null ? void 0 : La({
|
64488
|
-
event: vl,
|
64489
|
-
handleType: "bottom-left"
|
64490
|
-
}), Rs = (vl) => La == null ? void 0 : La({
|
64491
|
-
event: vl,
|
64492
|
-
handleType: "left"
|
64493
|
-
});
|
64455
|
+
const Bi = (vl) => La == null ? void 0 : La({ event: vl, handleType: "top-left" }), rs = (vl) => La == null ? void 0 : La({ event: vl, handleType: "top" }), Ji = (vl) => La == null ? void 0 : La({ event: vl, handleType: "top-right" }), Ci = (vl) => La == null ? void 0 : La({ event: vl, handleType: "right" }), Vi = (vl) => La == null ? void 0 : La({ event: vl, handleType: "bottom-right" }), us = (vl) => La == null ? void 0 : La({ event: vl, handleType: "bottom" }), Ps = (vl) => La == null ? void 0 : La({ event: vl, handleType: "bottom-left" }), Rs = (vl) => La == null ? void 0 : La({ event: vl, handleType: "left" });
|
64494
64456
|
return !U.current || !G.open || !ea || !ta || !na || !la || !ca || (mi == null || mi.addEventListener("mousedown", Bi), qa == null || qa.addEventListener("mousedown", rs), Ua == null || Ua.addEventListener("mousedown", Ji), _i == null || _i.addEventListener("mousedown", Ci), Ni == null || Ni.addEventListener("mousedown", Vi), Gi == null || Gi.addEventListener("mousedown", us), Xi == null || Xi.addEventListener("mousedown", Ps), cs == null || cs.addEventListener("mousedown", Rs)), () => {
|
64495
64457
|
st == null || st.disconnect(), Ka(), mi == null || mi.removeEventListener("mousedown", Bi), qa == null || qa.removeEventListener("mousedown", rs), Ua == null || Ua.removeEventListener("mousedown", Ji), _i == null || _i.removeEventListener("mousedown", Ci), Ni == null || Ni.removeEventListener("mousedown", Vi), Gi == null || Gi.removeEventListener("mousedown", us), Xi == null || Xi.removeEventListener("mousedown", Ps), cs == null || cs.removeEventListener("mousedown", Rs);
|
64496
64458
|
};
|
64497
64459
|
}, [U, !!G.open, na]), reactExports.useEffect(() => {
|
64498
|
-
ii$1("src/component/KgModal/hook/useDragToResize.ts | 004", {
|
64499
|
-
|
64500
|
-
|
64501
|
-
|
64460
|
+
ii$1("src/component/KgModal/hook/useDragToResize.ts | 004", { modalElement: ta }), ta ? (ue = new ResizeObserver(() => {
|
64461
|
+
ii$1("src/component/KgModal/hook/useDragToResize.ts | 005", {
|
64462
|
+
maxHeight: ga,
|
64463
|
+
"modalElement.clientHeight": ta == null ? void 0 : ta.clientHeight,
|
64464
|
+
"modalBodyElement.scrollHeight": da == null ? void 0 : da.scrollHeight,
|
64465
|
+
"modalElement.style.height": ta == null ? void 0 : ta.style.height
|
64466
|
+
}), ta && !ta.style.height && (da && da.scrollHeight && da.scrollHeight > ga ? ta.style.height = `${ga}px` : ta.style.height = `${Math.min(ta.clientHeight, ga)}px`);
|
64502
64467
|
}), ue.observe(ta)) : ue == null || ue.disconnect();
|
64503
64468
|
}, [ta]), reactExports.useEffect(() => {
|
64504
64469
|
ii$1("src/component/KgModal/hook/useDragToResize.ts | 002", {
|
@@ -70135,7 +70100,7 @@ function fi(e) {
|
|
70135
70100
|
})
|
70136
70101
|
);
|
70137
70102
|
}
|
70138
|
-
const version = "0.28.1-beta.
|
70103
|
+
const version = "0.28.1-beta.16", en$1 = {
|
70139
70104
|
kg: {
|
70140
70105
|
KgAppSelect: {
|
70141
70106
|
businessManager: "Business Manager",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.28.1-beta.
|
3
|
+
"version": "0.28.1-beta.16",
|
4
4
|
"scripts": {
|
5
5
|
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
6
6
|
"build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
|
@@ -39,7 +39,7 @@
|
|
39
39
|
"@iconify-icons/ph": "1.2.5",
|
40
40
|
"@iconify/vue": "4.1.2",
|
41
41
|
"@kengic/core.core": "0.0.1-beta.22",
|
42
|
-
"@kengic/core.react": "0.0.2-beta.
|
42
|
+
"@kengic/core.react": "0.0.2-beta.14",
|
43
43
|
"@kengic/pont": "1.2.17-beta.5",
|
44
44
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|
45
45
|
"@thymine/xunee": "0.4.9-beta.8",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{search-outlined-Od1M_oxf.79bc8cdd.mjs → search-outlined-Od1M_oxf.bdda4a21.mjs}
RENAMED
File without changes
|
/package/dist/{three-dots-loading-bIlrTJYR.de772d56.mjs → three-dots-loading-bIlrTJYR.97ad665e.mjs}
RENAMED
File without changes
|