@farris/ui-vue 1.6.0-beta.6 → 1.6.0-beta.8
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/components/avatar/index.esm.js +2 -1
- package/components/avatar/index.umd.cjs +1 -1
- package/components/button-edit/index.esm.js +2 -1
- package/components/button-edit/index.umd.cjs +1 -1
- package/components/component/index.esm.js +2 -1
- package/components/component/index.umd.cjs +1 -1
- package/components/condition/index.esm.js +2 -1
- package/components/condition/index.umd.cjs +1 -1
- package/components/content-container/index.esm.js +2 -1
- package/components/content-container/index.umd.cjs +1 -1
- package/components/data-grid/index.esm.js +1 -1
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-view/index.esm.js +2964 -2937
- package/components/data-view/index.umd.cjs +1 -1
- package/components/designer-canvas/index.esm.js +2 -1
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/dynamic-form/index.esm.js +63 -62
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/events-editor/index.esm.js +2 -1
- package/components/events-editor/index.umd.cjs +1 -1
- package/components/expression-editor/index.esm.js +2 -1
- package/components/expression-editor/index.umd.cjs +1 -1
- package/components/filter-bar/index.esm.js +2 -1
- package/components/filter-bar/index.umd.cjs +1 -1
- package/components/filter-condition-editor/index.esm.js +2 -1
- package/components/filter-condition-editor/index.umd.cjs +1 -1
- package/components/flow-canvas/index.esm.js +2 -1
- package/components/flow-canvas/index.umd.cjs +1 -1
- package/components/list-view/index.esm.js +103 -102
- package/components/list-view/index.umd.cjs +2 -2
- package/components/mapping-editor/index.esm.js +107 -106
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/message-box/index.esm.js +2 -1
- package/components/message-box/index.umd.cjs +1 -1
- package/components/modal/index.esm.js +2 -1
- package/components/modal/index.umd.cjs +1 -1
- package/components/number-range/index.esm.js +2 -1
- package/components/number-range/index.umd.cjs +1 -1
- package/components/number-spinner/index.esm.js +2 -1
- package/components/number-spinner/index.umd.cjs +1 -1
- package/components/pagination/index.esm.js +276 -282
- package/components/pagination/index.umd.cjs +1 -1
- package/components/property-panel/index.esm.js +103 -102
- package/components/property-panel/index.umd.cjs +2 -2
- package/components/query-solution/index.esm.js +2 -1
- package/components/query-solution/index.umd.cjs +1 -1
- package/components/response-layout/index.esm.js +63 -62
- package/components/response-layout/index.umd.cjs +1 -1
- package/components/response-layout-editor/index.esm.js +2 -1
- package/components/response-layout-editor/index.umd.cjs +1 -1
- package/components/schema-selector/index.esm.js +203 -208
- package/components/schema-selector/index.umd.cjs +2 -2
- package/components/section/index.esm.js +2 -1
- package/components/section/index.umd.cjs +1 -1
- package/components/sort-condition-editor/index.esm.js +2 -1
- package/components/sort-condition-editor/index.umd.cjs +1 -1
- package/components/tabs/index.esm.js +2 -1
- package/components/tabs/index.umd.cjs +1 -1
- package/components/textarea/index.esm.js +2 -1
- package/components/textarea/index.umd.cjs +1 -1
- package/components/time-picker/index.esm.js +103 -102
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/tree-grid/index.esm.js +2 -1
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-view/index.esm.js +2 -1
- package/components/tree-view/index.umd.cjs +1 -1
- package/components/video/index.esm.js +2 -1
- package/components/video/index.umd.cjs +1 -1
- package/designer/button-edit/index.esm.js +2 -1
- package/designer/button-edit/index.umd.cjs +1 -1
- package/designer/data-grid/index.esm.js +2 -1
- package/designer/data-grid/index.umd.cjs +1 -1
- package/designer/farris-designer.all.esm.js +4 -9
- package/designer/farris-designer.all.umd.cjs +2 -2
- package/designer/radio-group/index.esm.js +2 -1
- package/designer/radio-group/index.umd.cjs +1 -1
- package/farris.all.esm.js +6668 -6647
- package/farris.all.umd.cjs +19 -19
- package/package.json +1 -1
- package/types/data-view/composition/types.d.ts +2 -0
- package/types/chs.d.ts +0 -494
|
@@ -423,13 +423,13 @@ function Bn(e, t, n) {
|
|
|
423
423
|
if (v.value) {
|
|
424
424
|
if (["class", "style"].find((q) => q === k) && !z && (z = o.get("/converter/appearance.converter") || null), z && z.convertFrom)
|
|
425
425
|
return z.convertFrom(y, _, b, h);
|
|
426
|
-
const
|
|
427
|
-
return Object.prototype.hasOwnProperty.call(x, "defaultValue") && (
|
|
426
|
+
const pe = y[_];
|
|
427
|
+
return Object.prototype.hasOwnProperty.call(x, "defaultValue") && (pe === void 0 || typeof pe == "string" && pe === "") ? x.type === "boolean" ? x.defaultValue : x.defaultValue || "" : pe;
|
|
428
428
|
}
|
|
429
429
|
return null;
|
|
430
430
|
},
|
|
431
|
-
set(
|
|
432
|
-
v.value += 1, z && z.convertTo ? (z.convertTo(g, _,
|
|
431
|
+
set(pe) {
|
|
432
|
+
v.value += 1, z && z.convertTo ? (z.convertTo(g, _, pe, b, h), z.convertTo(y, _, pe, b, h)) : (g[_] = pe, y[_] = pe);
|
|
433
433
|
}
|
|
434
434
|
}), { refreshPanelAfterChanged: B, description: D, isExpand: W, parentPropertyID: Z } = x, Q = { propertyID: k, propertyName: w, propertyType: O, propertyValue: j, editor: M, visible: V, readonly: H, cascadeConfig: ee, hideCascadeTitle: L, refreshPanelAfterChanged: B, description: D, isExpand: W, parentPropertyID: Z };
|
|
435
435
|
return C[k] = Q, Q;
|
|
@@ -1274,7 +1274,7 @@ const wa = {
|
|
|
1274
1274
|
function Q(ve, he, $ = !0) {
|
|
1275
1275
|
(!f.value || he) && (f.value = he || e.schema), s.value = en(f.value, h, S, _, ve), I.filterPropertyEntity && (s.value = I.filterPropertyEntity(s.value, f.value)), Z(), r.value && D(y.value), $ && k.value++;
|
|
1276
1276
|
}
|
|
1277
|
-
function
|
|
1277
|
+
function pe(ve, he) {
|
|
1278
1278
|
S = ve, _ = he;
|
|
1279
1279
|
}
|
|
1280
1280
|
function q() {
|
|
@@ -1428,7 +1428,7 @@ const wa = {
|
|
|
1428
1428
|
}
|
|
1429
1429
|
return t.expose({
|
|
1430
1430
|
updatePropertyConfig: Q,
|
|
1431
|
-
updateDesignerItem:
|
|
1431
|
+
updateDesignerItem: pe,
|
|
1432
1432
|
reloadPropertyPanel: xe,
|
|
1433
1433
|
refreshPanel: Fe
|
|
1434
1434
|
}), () => T(Ct, null, [T("div", {
|
|
@@ -2333,7 +2333,7 @@ var Na = { exports: {} };
|
|
|
2333
2333
|
function l(w, O) {
|
|
2334
2334
|
var P = arguments.length;
|
|
2335
2335
|
P === 1 && Array.isArray(w) === !1 && (O = w, w = []);
|
|
2336
|
-
var M, V, H, ee, L, z, j, B, D, W = null, Z, Q,
|
|
2336
|
+
var M, V, H, ee, L, z, j, B, D, W = null, Z, Q, pe = !1, q = 0, G, R = O || {};
|
|
2337
2337
|
R.moves === void 0 && (R.moves = b), R.accepts === void 0 && (R.accepts = b), R.invalid === void 0 && (R.invalid = $), R.containers === void 0 && (R.containers = w || []), R.isContainer === void 0 && (R.isContainer = g), R.copy === void 0 && (R.copy = !1), R.copySortSource === void 0 && (R.copySortSource = !1), R.revertOnSpill === void 0 && (R.revertOnSpill = !1), R.removeOnSpill === void 0 && (R.removeOnSpill = !1), R.direction === void 0 && (R.direction = "vertical"), R.ignoreInputTextSelection === void 0 && (R.ignoreInputTextSelection = !0), R.mirrorContainer === void 0 && (R.mirrorContainer = f.body);
|
|
2338
2338
|
var K = i({
|
|
2339
2339
|
containers: R.containers,
|
|
@@ -2371,8 +2371,8 @@ var Na = { exports: {} };
|
|
|
2371
2371
|
ee = N.clientX, L = N.clientY;
|
|
2372
2372
|
var U = C(N) !== 1 || N.metaKey || N.ctrlKey;
|
|
2373
2373
|
if (!U) {
|
|
2374
|
-
var oe = N.target,
|
|
2375
|
-
|
|
2374
|
+
var oe = N.target, me = xe(oe);
|
|
2375
|
+
me && (Z = me, Se(), N.type === "mousedown" && (_(oe) ? oe.focus() : N.preventDefault()));
|
|
2376
2376
|
}
|
|
2377
2377
|
}
|
|
2378
2378
|
function ue(N) {
|
|
@@ -2383,8 +2383,8 @@ var Na = { exports: {} };
|
|
|
2383
2383
|
}
|
|
2384
2384
|
if (!(N.clientX !== void 0 && Math.abs(N.clientX - ee) <= (R.slideFactorX || 0) && N.clientY !== void 0 && Math.abs(N.clientY - L) <= (R.slideFactorY || 0))) {
|
|
2385
2385
|
if (R.ignoreInputTextSelection) {
|
|
2386
|
-
var U = I("clientX", N) || 0, oe = I("clientY", N) || 0,
|
|
2387
|
-
if (_(
|
|
2386
|
+
var U = I("clientX", N) || 0, oe = I("clientY", N) || 0, me = f.elementFromPoint(U, oe);
|
|
2387
|
+
if (_(me))
|
|
2388
2388
|
return;
|
|
2389
2389
|
}
|
|
2390
2390
|
var Ee = Z;
|
|
@@ -2399,8 +2399,8 @@ var Na = { exports: {} };
|
|
|
2399
2399
|
return;
|
|
2400
2400
|
var oe = S(N);
|
|
2401
2401
|
if (oe && !R.invalid(N, U)) {
|
|
2402
|
-
var
|
|
2403
|
-
if (
|
|
2402
|
+
var me = R.moves(N, oe, U, k(N));
|
|
2403
|
+
if (me)
|
|
2404
2404
|
return {
|
|
2405
2405
|
item: N,
|
|
2406
2406
|
source: oe
|
|
@@ -2432,7 +2432,7 @@ var Na = { exports: {} };
|
|
|
2432
2432
|
}
|
|
2433
2433
|
function je(N) {
|
|
2434
2434
|
if (_e(), !!K.dragging) {
|
|
2435
|
-
var U = B || H, oe = I("clientX", N) || 0,
|
|
2435
|
+
var U = B || H, oe = I("clientX", N) || 0, me = I("clientY", N) || 0, Ee = y(M, oe, me), ke = ot(Ee, oe, me);
|
|
2436
2436
|
ke && (B && R.copySortSource || !B || ke !== V) ? Oe(U, ke) : R.removeOnSpill ? te() : we();
|
|
2437
2437
|
}
|
|
2438
2438
|
}
|
|
@@ -2448,8 +2448,8 @@ var Na = { exports: {} };
|
|
|
2448
2448
|
}
|
|
2449
2449
|
function we(N) {
|
|
2450
2450
|
if (K.dragging) {
|
|
2451
|
-
var U = arguments.length > 0 ? N : R.revertOnSpill, oe = B || H,
|
|
2452
|
-
Ee === !1 && U && (B ?
|
|
2451
|
+
var U = arguments.length > 0 ? N : R.revertOnSpill, oe = B || H, me = S(oe), Ee = Re(me);
|
|
2452
|
+
Ee === !1 && U && (B ? me && me.removeChild(B) : V.insertBefore(oe, z)), Ee || U ? K.emit("cancel", oe, V, V) : K.emit("drop", oe, me, V, j), $e();
|
|
2453
2453
|
}
|
|
2454
2454
|
}
|
|
2455
2455
|
function $e() {
|
|
@@ -2461,15 +2461,15 @@ var Na = { exports: {} };
|
|
|
2461
2461
|
return U !== void 0 ? oe = U : M ? oe = j : oe = k(B || H), N === V && oe === z;
|
|
2462
2462
|
}
|
|
2463
2463
|
function ot(N, U, oe) {
|
|
2464
|
-
for (var
|
|
2465
|
-
|
|
2466
|
-
return
|
|
2464
|
+
for (var me = N; me && !Ee(); )
|
|
2465
|
+
me = S(me);
|
|
2466
|
+
return me;
|
|
2467
2467
|
function Ee() {
|
|
2468
|
-
var ke = de(
|
|
2468
|
+
var ke = de(me);
|
|
2469
2469
|
if (ke === !1)
|
|
2470
2470
|
return !1;
|
|
2471
|
-
var Ie = Ce(
|
|
2472
|
-
return Ne ? !0 : R.accepts(H,
|
|
2471
|
+
var Ie = Ce(me, N), Le = rt(me, Ie, U, oe), Ne = Re(me, Le);
|
|
2472
|
+
return Ne ? !0 : R.accepts(H, me, V, Le);
|
|
2473
2473
|
}
|
|
2474
2474
|
}
|
|
2475
2475
|
function lt(N) {
|
|
@@ -2478,25 +2478,25 @@ var Na = { exports: {} };
|
|
|
2478
2478
|
N.preventDefault();
|
|
2479
2479
|
var U = I("clientX", N) || 0, oe = I("clientY", N) || 0;
|
|
2480
2480
|
M.style.left = U - 2 + "px", M.style.top = oe - 2 + "px";
|
|
2481
|
-
var
|
|
2481
|
+
var me = B || H, Ee = y(M, U, oe), ke = ot(Ee, U, oe), Ie = ke !== null && ke !== W;
|
|
2482
2482
|
(Ie || ke === null) && (Xe(), W = ke, He()), mt(Ee, oe);
|
|
2483
|
-
var Le = S(
|
|
2483
|
+
var Le = S(me);
|
|
2484
2484
|
if (ke === V && B && !R.copySortSource) {
|
|
2485
|
-
Le && Le.removeChild(
|
|
2485
|
+
Le && Le.removeChild(me);
|
|
2486
2486
|
return;
|
|
2487
2487
|
}
|
|
2488
2488
|
var Ne, De = Ce(ke, Ee);
|
|
2489
|
-
if (
|
|
2489
|
+
if (pe = We(De, ke), De !== null)
|
|
2490
2490
|
Ne = rt(ke, De, U, oe);
|
|
2491
2491
|
else if (R.revertOnSpill === !0 && !B)
|
|
2492
2492
|
Ne = z, ke = V;
|
|
2493
2493
|
else {
|
|
2494
|
-
B && Le && Le.removeChild(
|
|
2494
|
+
B && Le && Le.removeChild(me), B && Q && (Q.style.display = "none");
|
|
2495
2495
|
return;
|
|
2496
2496
|
}
|
|
2497
|
-
Q.style.display = "block", _t(Ne,
|
|
2497
|
+
Q.style.display = "block", _t(Ne, me, Ie), Ne ? Ye(De, Ne) : tt(ke);
|
|
2498
2498
|
function Be(qe) {
|
|
2499
|
-
K.emit(qe,
|
|
2499
|
+
K.emit(qe, me, W, V);
|
|
2500
2500
|
}
|
|
2501
2501
|
function He() {
|
|
2502
2502
|
Ie && Be("over");
|
|
@@ -2522,7 +2522,7 @@ var Na = { exports: {} };
|
|
|
2522
2522
|
var N = H.getBoundingClientRect();
|
|
2523
2523
|
Q.style.left = N.left + "px", Q.style.top = N.top + "px";
|
|
2524
2524
|
}
|
|
2525
|
-
|
|
2525
|
+
pe = !1, R.mirrorContainer.appendChild(Q);
|
|
2526
2526
|
}
|
|
2527
2527
|
function ae() {
|
|
2528
2528
|
M && (s.rm(R.mirrorContainer, "gu-unselectable"), d(m, "remove", "mousemove", lt), S(M).removeChild(M), M = null);
|
|
@@ -2537,11 +2537,11 @@ var Na = { exports: {} };
|
|
|
2537
2537
|
}
|
|
2538
2538
|
function We(N, U) {
|
|
2539
2539
|
if (!U)
|
|
2540
|
-
return
|
|
2540
|
+
return pe;
|
|
2541
2541
|
var oe = N || U && U.lastElementChild;
|
|
2542
2542
|
if (!oe)
|
|
2543
2543
|
return !0;
|
|
2544
|
-
var
|
|
2544
|
+
var me = getComputedStyle(N), Ee = /^inline/.test(me.getPropertyValue("display")) || /^(left|right)$/.test(me.getPropertyValue("float"));
|
|
2545
2545
|
if (Ee)
|
|
2546
2546
|
return !0;
|
|
2547
2547
|
if (U) {
|
|
@@ -2559,10 +2559,10 @@ var Na = { exports: {} };
|
|
|
2559
2559
|
if (!N.children || !N.children.length)
|
|
2560
2560
|
return !1;
|
|
2561
2561
|
for (const U of Array.from(N.children)) {
|
|
2562
|
-
const
|
|
2563
|
-
if (!
|
|
2562
|
+
const me = (U.className && U.className.split(" ") || []).filter((Ee) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(Ee));
|
|
2563
|
+
if (!me.length)
|
|
2564
2564
|
return !1;
|
|
2565
|
-
for (const Ee of
|
|
2565
|
+
for (const Ee of me) {
|
|
2566
2566
|
const ke = Ee.slice(Ee.lastIndexOf("-") + 1);
|
|
2567
2567
|
if (parseInt(ke, 10) !== 12)
|
|
2568
2568
|
return !1;
|
|
@@ -2572,14 +2572,14 @@ var Na = { exports: {} };
|
|
|
2572
2572
|
}
|
|
2573
2573
|
function Ye(N, U) {
|
|
2574
2574
|
const oe = U.getBoundingClientRect();
|
|
2575
|
-
if (Q.style.left = oe.left + "px", Q.style.top = oe.top + "px",
|
|
2575
|
+
if (Q.style.left = oe.left + "px", Q.style.top = oe.top + "px", pe) {
|
|
2576
2576
|
if (Q.style.height = oe.height + "px", Q.style.width = "4px", N) {
|
|
2577
|
-
const
|
|
2578
|
-
|
|
2577
|
+
const me = N.getBoundingClientRect();
|
|
2578
|
+
me.top !== oe.top && (Q.style.left = me.right + "px", Q.style.top = me.top + "px", Q.style.height = me.height + "px");
|
|
2579
2579
|
}
|
|
2580
2580
|
} else if (Q.style.height = "4px", Q.style.width = oe.width + "px", G) {
|
|
2581
|
-
const
|
|
2582
|
-
oe.top <
|
|
2581
|
+
const me = G.getBoundingClientRect();
|
|
2582
|
+
oe.top < me.top && (Q.style.display = "none");
|
|
2583
2583
|
}
|
|
2584
2584
|
U === H && H && (Q.style.display = "none");
|
|
2585
2585
|
}
|
|
@@ -2588,41 +2588,41 @@ var Na = { exports: {} };
|
|
|
2588
2588
|
var U = N.lastElementChild;
|
|
2589
2589
|
if (U) {
|
|
2590
2590
|
var oe = U.getBoundingClientRect();
|
|
2591
|
-
|
|
2591
|
+
pe ? (Q.style.left = oe.right + "px", Q.style.top = oe.top + "px", Q.style.height = oe.height + "px", Q.style.width = "4px") : (Q.style.left = oe.left + "px", Q.style.top = oe.bottom + "px", Q.style.height = "4px", Q.style.width = oe.width + "px"), U === H && H && (Q.style.display = "none");
|
|
2592
2592
|
} else
|
|
2593
2593
|
Q.style.display = "none";
|
|
2594
2594
|
}
|
|
2595
2595
|
function mt(N, U) {
|
|
2596
2596
|
if (!R.mirrorContainer.contains(N) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (G = p(N), !G || !G.contains(N)))
|
|
2597
2597
|
return;
|
|
2598
|
-
const oe = document.querySelector(".dgComponentSelected"),
|
|
2599
|
-
if (U - 30 <
|
|
2598
|
+
const oe = document.querySelector(".dgComponentSelected"), me = G.getBoundingClientRect();
|
|
2599
|
+
if (U - 30 < me.top && G.scrollTop > 0) {
|
|
2600
2600
|
let Ee = G.scrollTop < 10 ? G.scrollTop : 10;
|
|
2601
2601
|
G.scrollBy(0, -1 * Ee), oe && G.contains(oe) && (q = q + -1 * Ee);
|
|
2602
2602
|
}
|
|
2603
|
-
if (U + 30 >
|
|
2603
|
+
if (U + 30 > me.bottom && G.scrollTop < G.scrollHeight - G.clientHeight) {
|
|
2604
2604
|
const Ee = G.scrollHeight - G.clientHeight - G.scrollTop;
|
|
2605
2605
|
let ke = Ee < 10 ? Ee : 10;
|
|
2606
2606
|
G.scrollBy(0, ke), oe && G.contains(oe) && (q = q + ke);
|
|
2607
2607
|
}
|
|
2608
2608
|
}
|
|
2609
|
-
function rt(N, U, oe,
|
|
2609
|
+
function rt(N, U, oe, me) {
|
|
2610
2610
|
var Ee = R.direction === "horizontal", ke = R.direction === "mixed", Ie = U !== N ? Ne() : Le();
|
|
2611
2611
|
return Ie;
|
|
2612
2612
|
function Le() {
|
|
2613
2613
|
var Be = N.children.length, He, Xe, qe;
|
|
2614
2614
|
for (He = 0; He < Be; He++)
|
|
2615
|
-
if (Xe = N.children[He], qe = Xe.getBoundingClientRect(), Ee && qe.left + qe.width / 2 > oe || !ke && !Ee && qe.top + qe.height / 2 >
|
|
2615
|
+
if (Xe = N.children[He], qe = Xe.getBoundingClientRect(), Ee && qe.left + qe.width / 2 > oe || !ke && !Ee && qe.top + qe.height / 2 > me || ke && qe.left + qe.width > oe && qe.top + qe.height > me)
|
|
2616
2616
|
return Xe;
|
|
2617
2617
|
return null;
|
|
2618
2618
|
}
|
|
2619
2619
|
function Ne() {
|
|
2620
2620
|
var Be = U.getBoundingClientRect();
|
|
2621
2621
|
if (ke) {
|
|
2622
|
-
var He =
|
|
2623
|
-
return
|
|
2622
|
+
var He = me - Be.top, Xe = oe - Be.left, qe = Be.bottom - me, Vt = Be.right - oe, Bt = Math.min(Xe, Vt, He, qe), ye;
|
|
2623
|
+
return pe ? ye = Vt < Xe : ye = qe === Bt || Vt === Bt || Xe === Bt, De(ye);
|
|
2624
2624
|
}
|
|
2625
|
-
return De(Ee ? oe > Be.left + h(Be) / 2 :
|
|
2625
|
+
return De(Ee ? oe > Be.left + h(Be) / 2 : me > Be.top + E(Be) / 2);
|
|
2626
2626
|
}
|
|
2627
2627
|
function De(Be) {
|
|
2628
2628
|
return Be ? k(U) : U;
|
|
@@ -4462,8 +4462,8 @@ function al(e, t, n, o, r, a, i, u, s, f, m, l, p) {
|
|
|
4462
4462
|
function Q($) {
|
|
4463
4463
|
return $.collapse && e.loadData ? e.loadData($) : Promise.resolve();
|
|
4464
4464
|
}
|
|
4465
|
-
function
|
|
4466
|
-
return ($ || []).some((ne) => kn(ne) ? !(ne.type === Comment || ne.type === Ct && !
|
|
4465
|
+
function pe($) {
|
|
4466
|
+
return ($ || []).some((ne) => kn(ne) ? !(ne.type === Comment || ne.type === Ct && !pe(ne.children)) : !0) ? $ : null;
|
|
4467
4467
|
}
|
|
4468
4468
|
function q($, ne) {
|
|
4469
4469
|
$.stopPropagation(), Q(ne).then(() => {
|
|
@@ -4534,7 +4534,7 @@ function al(e, t, n, o, r, a, i, u, s, f, m, l, p) {
|
|
|
4534
4534
|
return $.getEditor($);
|
|
4535
4535
|
}
|
|
4536
4536
|
function re($, ne) {
|
|
4537
|
-
return t.slots.cellTemplate &&
|
|
4537
|
+
return t.slots.cellTemplate && pe(t.slots.cellTemplate({
|
|
4538
4538
|
cell: ne,
|
|
4539
4539
|
row: $
|
|
4540
4540
|
})) ? Se(ne, $) : ne.mode === et.editing ? Y(ne) : ne.formatter ? be(ne, $) : Me(ne);
|
|
@@ -5087,7 +5087,7 @@ function pl(e, t, n, o) {
|
|
|
5087
5087
|
}), R.value.splice(be, 0, ...Me);
|
|
5088
5088
|
}
|
|
5089
5089
|
}
|
|
5090
|
-
function
|
|
5090
|
+
function pe(q, G) {
|
|
5091
5091
|
const R = q[i.value], K = m.get(R), de = Array.from(K.descendant.keys());
|
|
5092
5092
|
de.unshift(R);
|
|
5093
5093
|
const Te = m.get(K.parentId);
|
|
@@ -5109,7 +5109,7 @@ function pl(e, t, n, o) {
|
|
|
5109
5109
|
isVisibleInTree: P,
|
|
5110
5110
|
shouldStratifyData: a,
|
|
5111
5111
|
toggleChildrenVisibiltyByCollapseStatus: ee,
|
|
5112
|
-
trimmedOriginalData:
|
|
5112
|
+
trimmedOriginalData: pe
|
|
5113
5113
|
};
|
|
5114
5114
|
}
|
|
5115
5115
|
function ml(e, t, n, o, r) {
|
|
@@ -5136,21 +5136,21 @@ function ml(e, t, n, o, r) {
|
|
|
5136
5136
|
return (J == null ? void 0 : J.groupFields) || [];
|
|
5137
5137
|
});
|
|
5138
5138
|
let Z = /* @__PURE__ */ new Map();
|
|
5139
|
-
const Q = F(L.value.length),
|
|
5139
|
+
const Q = F(L.value.length), pe = F(e.pagination);
|
|
5140
5140
|
function q() {
|
|
5141
|
-
return
|
|
5141
|
+
return pe.value && pe.value.enable && pe.value.size > 0 ? pe.value.size : L.value.length;
|
|
5142
5142
|
}
|
|
5143
|
-
const G = F(1), R = A(() =>
|
|
5143
|
+
const G = F(1), R = A(() => pe.value && pe.value.enable && pe.value.mode !== "server"), K = A(() => pe.value && pe.value.enable && pe.value.mode === "server"), de = new Xn();
|
|
5144
5144
|
function Te(J, N) {
|
|
5145
5145
|
const U = Math.ceil(J.length / N);
|
|
5146
5146
|
let oe = 0;
|
|
5147
|
-
const
|
|
5147
|
+
const me = [], Ee = [], ke = [];
|
|
5148
5148
|
for (; oe < U; ) {
|
|
5149
5149
|
const Ie = J.slice(oe * N, (oe + 1) * N), Le = d(C.value, Ie, t);
|
|
5150
|
-
Ee[oe] = Le.filter((Ne) => Ne.__fv_data_grid_group_row__).length,
|
|
5150
|
+
Ee[oe] = Le.filter((Ne) => Ne.__fv_data_grid_group_row__).length, me.push(...Le), oe++;
|
|
5151
5151
|
}
|
|
5152
5152
|
return Ee.reduce((Ie, Le, Ne) => (Ie = Ie + Le, ke.push(Ie), Ie), 0), {
|
|
5153
|
-
groupData:
|
|
5153
|
+
groupData: me,
|
|
5154
5154
|
groupRowSizeList: Ee,
|
|
5155
5155
|
accumulateGroupRowSize: ke
|
|
5156
5156
|
};
|
|
@@ -5159,19 +5159,19 @@ function ml(e, t, n, o, r) {
|
|
|
5159
5159
|
var Le;
|
|
5160
5160
|
L.value = g.value, R.value && (Q.value = L.value.length), y.value && !R.value && (L.value = d(C.value, g.value, t)), Z = W.value.reduce((Ne, De) => (Ne.set(De, 0), Ne), Z);
|
|
5161
5161
|
const J = 0, N = q(), U = (G.value - 1) * N;
|
|
5162
|
-
let
|
|
5162
|
+
let me = U > L.value.length - 1 || K.value ? J : U, Ee = K.value ? L.value.length : Math.min(me + N, L.value.length);
|
|
5163
5163
|
if (y.value && R.value) {
|
|
5164
5164
|
const { accumulateGroupRowSize: Ne, groupData: De, groupRowSizeList: Be } = Te(g.value, N);
|
|
5165
5165
|
L.value = De;
|
|
5166
5166
|
const He = Be[G.value - 1];
|
|
5167
|
-
|
|
5167
|
+
me += G.value - 2 < 0 ? 0 : Ne[G.value - 2], Ee = me + N + He;
|
|
5168
5168
|
}
|
|
5169
5169
|
let ke = 0;
|
|
5170
5170
|
const Ie = [];
|
|
5171
5171
|
if (L.value.length) {
|
|
5172
5172
|
H(L.value);
|
|
5173
5173
|
const Ne = V.value !== e.idField;
|
|
5174
|
-
for (let De =
|
|
5174
|
+
for (let De = me; De < Ee; De++) {
|
|
5175
5175
|
const Be = L.value[De];
|
|
5176
5176
|
Be.__fv_data_grid_group_row__ ? (ke = 0, Be.__fv_data_index__ = "") : Be.__fv_data_grid_group_summary__ ? Be.__fv_data_index__ = "" : (ke++, Be.__fv_data_index__ = ke + (G.value - 1) * N), Be.__fv_index__ = De, Be.__fv_visible_index__ = De, e.rowOption && e.rowOption.disabledField && (Be.__fv_disabled__ = Be[(Le = e.rowOption) == null ? void 0 : Le.disabledField]), Ne && (Be[V.value] = De), W.value.forEach((He) => {
|
|
5177
5177
|
const Xe = Z.get(He) || 0;
|
|
@@ -5189,7 +5189,7 @@ function ml(e, t, n, o, r) {
|
|
|
5189
5189
|
Me.value.forEach((J, N) => (J.__fv_visible_index__ = N, J));
|
|
5190
5190
|
}
|
|
5191
5191
|
function re(J, N, U = !1) {
|
|
5192
|
-
const
|
|
5192
|
+
const me = (U ? Se() : [...z.value]).filter((Ie) => n.apply(Ie)), Ee = J && J.length ? me.filter((Ie) => J.reduce((Le, Ne) => Le && Ne.filter(Ie), !0)) : me, ke = N && N.length ? Ee.sort((Ie, Le) => {
|
|
5193
5193
|
const Ne = [...N], De = Ne.shift();
|
|
5194
5194
|
let Be = De.compare(Ie[De.field], Le[De.field]);
|
|
5195
5195
|
for (; Be === 0 && Ne.length !== 0; ) {
|
|
@@ -5227,7 +5227,7 @@ function ml(e, t, n, o, r) {
|
|
|
5227
5227
|
function ne(J, N) {
|
|
5228
5228
|
const U = `group_of_${J}_${N}`;
|
|
5229
5229
|
i.set(U, !0);
|
|
5230
|
-
const oe = (
|
|
5230
|
+
const oe = (me) => me[J] !== N;
|
|
5231
5231
|
return s.set(`collapse_${J}_${N}`, {
|
|
5232
5232
|
field: J,
|
|
5233
5233
|
fieldName: J,
|
|
@@ -5272,7 +5272,7 @@ function ml(e, t, n, o, r) {
|
|
|
5272
5272
|
g.value = U, Re();
|
|
5273
5273
|
}
|
|
5274
5274
|
function lt(J, N, U) {
|
|
5275
|
-
return (J && J.length ? be.value.filter((
|
|
5275
|
+
return (J && J.length ? be.value.filter((me, Ee) => J.reduce((ke, Ie) => ke && Ie.filter(me), !0)) : be.value).slice(N, U);
|
|
5276
5276
|
}
|
|
5277
5277
|
function _t(J) {
|
|
5278
5278
|
const N = q(), U = Math.ceil(Q.value / N);
|
|
@@ -5318,10 +5318,10 @@ function ml(e, t, n, o, r) {
|
|
|
5318
5318
|
return re(J, Array.from(m.values()));
|
|
5319
5319
|
}
|
|
5320
5320
|
function Ae(J) {
|
|
5321
|
-
|
|
5321
|
+
pe.value.size = J;
|
|
5322
5322
|
}
|
|
5323
5323
|
function Ye(J) {
|
|
5324
|
-
|
|
5324
|
+
pe.value && (Ae(J), Re());
|
|
5325
5325
|
}
|
|
5326
5326
|
function tt(J, N) {
|
|
5327
5327
|
const U = g.value[Number(J) - 1];
|
|
@@ -5334,7 +5334,7 @@ function ml(e, t, n, o, r) {
|
|
|
5334
5334
|
}
|
|
5335
5335
|
function mt(J) {
|
|
5336
5336
|
return J.map((U) => {
|
|
5337
|
-
const oe = z.value.findIndex((
|
|
5337
|
+
const oe = z.value.findIndex((me) => "" + me[V.value] == "" + U);
|
|
5338
5338
|
return oe > -1 ? z.value[oe] : null;
|
|
5339
5339
|
}).filter((U) => U != null);
|
|
5340
5340
|
}
|
|
@@ -5393,7 +5393,8 @@ function ml(e, t, n, o, r) {
|
|
|
5393
5393
|
unFold: $e,
|
|
5394
5394
|
updateDataView: Re,
|
|
5395
5395
|
visibleDataItems: Me,
|
|
5396
|
-
shouldGroupingData: y
|
|
5396
|
+
shouldGroupingData: y,
|
|
5397
|
+
pagination: pe
|
|
5397
5398
|
};
|
|
5398
5399
|
}
|
|
5399
5400
|
const to = {
|
|
@@ -7426,7 +7427,7 @@ const Ot = /* @__PURE__ */ Ue({
|
|
|
7426
7427
|
isMaximized: P.value
|
|
7427
7428
|
});
|
|
7428
7429
|
});
|
|
7429
|
-
const Q = A(() => (r.value && document.body.classList.add("modal-open"), r.value)),
|
|
7430
|
+
const Q = A(() => (r.value && document.body.classList.add("modal-open"), r.value)), pe = A(() => {
|
|
7430
7431
|
var $e;
|
|
7431
7432
|
const te = {
|
|
7432
7433
|
modal: !0,
|
|
@@ -7606,7 +7607,7 @@ const Ot = /* @__PURE__ */ Ue({
|
|
|
7606
7607
|
}, {
|
|
7607
7608
|
default: () => [T("div", {
|
|
7608
7609
|
ref: h,
|
|
7609
|
-
class:
|
|
7610
|
+
class: pe.value,
|
|
7610
7611
|
style: R.value,
|
|
7611
7612
|
onClick: _e
|
|
7612
7613
|
}, [je()])]
|
|
@@ -8681,7 +8682,7 @@ function js(e, t, n, o, r, a, i, u, s) {
|
|
|
8681
8682
|
function Q() {
|
|
8682
8683
|
x.value && (E = z(Math.abs(b.value)), S = E + a.value - 1, (E < c.value || S > p.value - i / 2) && B());
|
|
8683
8684
|
}
|
|
8684
|
-
function
|
|
8685
|
+
function pe(ae) {
|
|
8685
8686
|
let ge = b.value + ae;
|
|
8686
8687
|
ge > H && (ge = H);
|
|
8687
8688
|
const Ce = P();
|
|
@@ -8708,7 +8709,7 @@ function js(e, t, n, o, r, a, i, u, s) {
|
|
|
8708
8709
|
Pe([k, d], () => {
|
|
8709
8710
|
q(0);
|
|
8710
8711
|
}), Pe(v, (ae, ge) => {
|
|
8711
|
-
ae !== ge && ae >= f.value.length * g &&
|
|
8712
|
+
ae !== ge && ae >= f.value.length * g && pe(0);
|
|
8712
8713
|
});
|
|
8713
8714
|
function de(ae) {
|
|
8714
8715
|
let { deltaX: ge } = ae, Ce = -1 * ae.deltaY;
|
|
@@ -8719,7 +8720,7 @@ function js(e, t, n, o, r, a, i, u, s) {
|
|
|
8719
8720
|
return;
|
|
8720
8721
|
ae.preventDefault(), ae.stopPropagation();
|
|
8721
8722
|
const { deltaX: ge, deltaY: Ce } = de(ae);
|
|
8722
|
-
|
|
8723
|
+
pe(Ce), q(ge);
|
|
8723
8724
|
}
|
|
8724
8725
|
const Se = A(() => ({
|
|
8725
8726
|
height: `${f.value.length * g}px`,
|
|
@@ -8777,7 +8778,7 @@ function js(e, t, n, o, r, a, i, u, s) {
|
|
|
8777
8778
|
const ge = te.value - ae.pageY, Ce = P(), We = Ce - M.value;
|
|
8778
8779
|
if (Math.abs(ge) <= We) {
|
|
8779
8780
|
const Ae = ge / (v.value - M.value) * (Ce - v.value);
|
|
8780
|
-
|
|
8781
|
+
pe(Ae), te.value = ae.pageY;
|
|
8781
8782
|
}
|
|
8782
8783
|
}
|
|
8783
8784
|
}
|
|
@@ -8795,13 +8796,13 @@ function js(e, t, n, o, r, a, i, u, s) {
|
|
|
8795
8796
|
function ht(ae) {
|
|
8796
8797
|
const ge = f.value.length * g - v.value;
|
|
8797
8798
|
let Ce = ae * g;
|
|
8798
|
-
Ce >= ge && (Ce = ge),
|
|
8799
|
+
Ce >= ge && (Ce = ge), pe(-Ce - b.value);
|
|
8799
8800
|
}
|
|
8800
8801
|
function pt() {
|
|
8801
8802
|
ht(f.value.length);
|
|
8802
8803
|
}
|
|
8803
8804
|
function xt(ae) {
|
|
8804
|
-
|
|
8805
|
+
pe(ae - b.value);
|
|
8805
8806
|
}
|
|
8806
8807
|
return {
|
|
8807
8808
|
dataGridWidth: _,
|
|
@@ -9087,17 +9088,17 @@ function Js(e, t, n, o, r, a, i) {
|
|
|
9087
9088
|
checked: L,
|
|
9088
9089
|
disabled: j,
|
|
9089
9090
|
indeterminate: z,
|
|
9090
|
-
setRef: (
|
|
9091
|
-
D.ref =
|
|
9091
|
+
setRef: (pe) => {
|
|
9092
|
+
D.ref = pe;
|
|
9092
9093
|
},
|
|
9093
9094
|
visible: ee && B || ee && !e.hierarchy,
|
|
9094
9095
|
status: dt.initial,
|
|
9095
|
-
updateCell: (
|
|
9096
|
-
d(
|
|
9096
|
+
updateCell: (pe, q) => {
|
|
9097
|
+
d(pe, v, D, q), t.updateSummary();
|
|
9097
9098
|
},
|
|
9098
|
-
updateCells: (
|
|
9099
|
+
updateCells: (pe, q) => {
|
|
9099
9100
|
q.forEach((G) => {
|
|
9100
|
-
d(
|
|
9101
|
+
d(pe, v, D, G);
|
|
9101
9102
|
});
|
|
9102
9103
|
}
|
|
9103
9104
|
};
|
|
@@ -9248,10 +9249,10 @@ function Qs(e, t, n, o, r) {
|
|
|
9248
9249
|
selectOnCreated: e.selectOnEditingCell,
|
|
9249
9250
|
editor: Q,
|
|
9250
9251
|
modelValue: B.editingData,
|
|
9251
|
-
"onUpdate:modelValue": (
|
|
9252
|
+
"onUpdate:modelValue": (pe) => B.editingData = pe,
|
|
9252
9253
|
id: D.id,
|
|
9253
|
-
onMousedown: (
|
|
9254
|
-
onMouseup: (
|
|
9254
|
+
onMousedown: (pe) => I(pe),
|
|
9255
|
+
onMouseup: (pe) => w(pe)
|
|
9255
9256
|
}, null)) : B.data;
|
|
9256
9257
|
}
|
|
9257
9258
|
function L() {
|
|
@@ -9514,7 +9515,7 @@ function eu(e, t, n, o, r) {
|
|
|
9514
9515
|
function Q(Y) {
|
|
9515
9516
|
Y.__fv_checked__ = !1, Y.__fv_indeterminate__ = !0, d.value = d.value.filter((re) => re !== Y[a.value]);
|
|
9516
9517
|
}
|
|
9517
|
-
function
|
|
9518
|
+
function pe(Y) {
|
|
9518
9519
|
const re = Y.raw;
|
|
9519
9520
|
re.__fv_checked__ = !1, re.__fv_indeterminate__ = !0, d.value = d.value.filter((ue) => ue !== re[a.value]), Y.checked = !1, Y.indeterminate = !0;
|
|
9520
9521
|
}
|
|
@@ -9585,7 +9586,7 @@ function eu(e, t, n, o, r) {
|
|
|
9585
9586
|
findIndexInSelectedItems: ee,
|
|
9586
9587
|
getSelectedItems: b,
|
|
9587
9588
|
getSelectionRow: Me,
|
|
9588
|
-
indeterminate:
|
|
9589
|
+
indeterminate: pe,
|
|
9589
9590
|
indeterminateDataItem: Q,
|
|
9590
9591
|
isSelectingHirarchyItem: v,
|
|
9591
9592
|
multiSelectMode: l,
|
|
@@ -9772,11 +9773,11 @@ const Xt = /* @__PURE__ */ Ue({
|
|
|
9772
9773
|
updateColumnRenderContext: z
|
|
9773
9774
|
} = V;
|
|
9774
9775
|
ee(_, H);
|
|
9775
|
-
const j = fi(e, L), B = pi(e, t, k, i), D = mi(e, t, i, B, c), W = vi(e), Z = hi(e, D, W), Q = gi(e, _, D, b, i, W, Z),
|
|
9776
|
+
const j = fi(e, L), B = pi(e, t, k, i), D = mi(e, t, i, B, c), W = vi(e), Z = hi(e, D, W), Q = gi(e, _, D, b, i, W, Z), pe = yi(e, a, _, w, 0, Q), {
|
|
9776
9777
|
getVisualData: q
|
|
9777
|
-
} =
|
|
9778
|
+
} = pe, G = bi(e, L), R = Ci(e, k), {
|
|
9778
9779
|
sidebarWidth: K
|
|
9779
|
-
} = R, de = wi(e, _, c, L,
|
|
9780
|
+
} = R, de = wi(e, _, c, L, pe, w, 0, K), {
|
|
9780
9781
|
onWheel: Te,
|
|
9781
9782
|
dataGridWidth: Se,
|
|
9782
9783
|
viewPortHeight: be,
|
|
@@ -9796,7 +9797,7 @@ const Xt = /* @__PURE__ */ Ue({
|
|
|
9796
9797
|
"fv-grid-wrap-content": C.value
|
|
9797
9798
|
})), {
|
|
9798
9799
|
renderDataArea: _e
|
|
9799
|
-
} = lu(e, t, m, l, p, G, V, _, D, b, B, k, x, de,
|
|
9800
|
+
} = lu(e, t, m, l, p, G, V, _, D, b, B, k, x, de, pe, W, c), {
|
|
9800
9801
|
renderGridHeader: je,
|
|
9801
9802
|
renderGridColumnResizeOverlay: Oe,
|
|
9802
9803
|
shouldShowHeader: te
|
|
@@ -9887,7 +9888,7 @@ const Xt = /* @__PURE__ */ Ue({
|
|
|
9887
9888
|
function oe() {
|
|
9888
9889
|
k.clearSelection();
|
|
9889
9890
|
}
|
|
9890
|
-
const
|
|
9891
|
+
const me = A(() => !c.value || !c.value.length), {
|
|
9891
9892
|
renderEmpty: Ee
|
|
9892
9893
|
} = Oi(t);
|
|
9893
9894
|
function ke() {
|
|
@@ -9984,7 +9985,7 @@ const Xt = /* @__PURE__ */ Ue({
|
|
|
9984
9985
|
onMouseover: () => d.value = !0,
|
|
9985
9986
|
onMouseleave: () => d.value = !1,
|
|
9986
9987
|
style: Xe.value
|
|
9987
|
-
}, [f.value && we(c), f.value && _e(), f.value &&
|
|
9988
|
+
}, [f.value && we(c), f.value && _e(), f.value && me.value && Ee(), f.value && Re(), f.value && ot()]), Oe(), I.value && $e()]);
|
|
9988
9989
|
}
|
|
9989
9990
|
}), su = {
|
|
9990
9991
|
id: { type: String, default: "" },
|
|
@@ -10081,14 +10082,14 @@ const an = /* @__PURE__ */ Ue({
|
|
|
10081
10082
|
}, j), j;
|
|
10082
10083
|
});
|
|
10083
10084
|
function _(j, B) {
|
|
10084
|
-
var Z, Q,
|
|
10085
|
+
var Z, Q, pe;
|
|
10085
10086
|
if (j && (j.preventDefault(), j.stopPropagation()), (Z = b == null ? void 0 : b.designerContext) != null && Z.checkCanDeleteControl && !b.designerContext.checkCanDeleteControl(B))
|
|
10086
10087
|
return;
|
|
10087
10088
|
if (c.value.triggerBelongedComponentToDeleteWhenDeleted) {
|
|
10088
10089
|
const q = c.value.getBelongedComponentInstance(c);
|
|
10089
10090
|
if (q && q.parent) {
|
|
10090
10091
|
const G = F(q == null ? void 0 : q.parent), R = G.value.contents.findIndex((K) => K.id === q.schema.id);
|
|
10091
|
-
(
|
|
10092
|
+
(pe = (Q = G.value) == null ? void 0 : Q.contents) == null || pe.splice(R, 1), Mt.value++;
|
|
10092
10093
|
}
|
|
10093
10094
|
return;
|
|
10094
10095
|
}
|
|
@@ -10152,7 +10153,7 @@ const an = /* @__PURE__ */ Ue({
|
|
|
10152
10153
|
let B;
|
|
10153
10154
|
const D = j.type, W = Bl[D], Z = Pl[D], Q = Z ? Z(j) : {};
|
|
10154
10155
|
Q.customClass = e.ignore ? Q.customClass : "", Q.componentId = u.value, Q.id = j.id;
|
|
10155
|
-
const
|
|
10156
|
+
const pe = j.contents && j.contents.length === 0;
|
|
10156
10157
|
return j.contents && !!j.contents.length && W ? T(W, It({
|
|
10157
10158
|
ref: c
|
|
10158
10159
|
}, Q), du(B = j.contents.map((G) => T(an, {
|
|
@@ -10164,7 +10165,7 @@ const an = /* @__PURE__ */ Ue({
|
|
|
10164
10165
|
onDragEnd: O
|
|
10165
10166
|
}, null))) ? B : {
|
|
10166
10167
|
default: () => [B]
|
|
10167
|
-
}) : W ?
|
|
10168
|
+
}) : W ? pe ? T(W, It({
|
|
10168
10169
|
ref: c
|
|
10169
10170
|
}, Q), {
|
|
10170
10171
|
default: () => [T(cu, null, null)]
|
|
@@ -10862,7 +10863,7 @@ const bu = /* @__PURE__ */ Ue({
|
|
|
10862
10863
|
m.value = B(0, S.value + o - 1);
|
|
10863
10864
|
const Z = js(e, h, m, w, j, S, o, W), {
|
|
10864
10865
|
onWheel: Q,
|
|
10865
|
-
dataGridWidth:
|
|
10866
|
+
dataGridWidth: pe,
|
|
10866
10867
|
viewPortHeight: q,
|
|
10867
10868
|
viewPortWidth: G,
|
|
10868
10869
|
updateVisibleRowsOnLatestVisibleScope: R
|
|
@@ -10885,11 +10886,11 @@ const bu = /* @__PURE__ */ Ue({
|
|
|
10885
10886
|
function Y() {
|
|
10886
10887
|
var ve, he;
|
|
10887
10888
|
const Fe = Math.ceil(s.value.clientHeight / r);
|
|
10888
|
-
Fe > a.value && (a.value = Fe, R()), q.value = ((ve = f.value) == null ? void 0 : ve.clientHeight) || 0,
|
|
10889
|
+
Fe > a.value && (a.value = Fe, R()), q.value = ((ve = f.value) == null ? void 0 : ve.clientHeight) || 0, pe.value = ((he = s.value) == null ? void 0 : he.clientWidth) || 0, de();
|
|
10889
10890
|
}
|
|
10890
10891
|
wt(() => {
|
|
10891
10892
|
n.value.componentInstance = y, s.value && (a.value = Math.max(Math.ceil(s.value.clientHeight / r), a.value), m.value = B(0, S.value + o - 1), On(s.value, Y), de(), Nt(() => {
|
|
10892
|
-
s.value && (
|
|
10893
|
+
s.value && (pe.value = s.value.clientWidth), f.value && (G.value = f.value.clientWidth, q.value = f.value.clientHeight);
|
|
10893
10894
|
}));
|
|
10894
10895
|
});
|
|
10895
10896
|
function re(Fe) {
|