@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
|
@@ -472,13 +472,13 @@ function An(t, e, n) {
|
|
|
472
472
|
if (b.value) {
|
|
473
473
|
if (["class", "style"].find((q) => q === M) && !j && (j = o.get("/converter/appearance.converter") || null), j && j.convertFrom)
|
|
474
474
|
return j.convertFrom(y, S, C, v);
|
|
475
|
-
const
|
|
476
|
-
return Object.prototype.hasOwnProperty.call(T, "defaultValue") && (
|
|
475
|
+
const se = y[S];
|
|
476
|
+
return Object.prototype.hasOwnProperty.call(T, "defaultValue") && (se === void 0 || typeof se == "string" && se === "") ? T.type === "boolean" ? T.defaultValue : T.defaultValue || "" : se;
|
|
477
477
|
}
|
|
478
478
|
return null;
|
|
479
479
|
},
|
|
480
|
-
set(
|
|
481
|
-
b.value += 1, j && j.convertTo ? (j.convertTo(h, S,
|
|
480
|
+
set(se) {
|
|
481
|
+
b.value += 1, j && j.convertTo ? (j.convertTo(h, S, se, C, v), j.convertTo(y, S, se, C, v)) : (h[S] = se, y[S] = se);
|
|
482
482
|
}
|
|
483
483
|
}), { refreshPanelAfterChanged: E, description: L, isExpand: A, parentPropertyID: U } = T, J = { propertyID: M, propertyName: F, propertyType: B, propertyValue: D, editor: g, visible: _, readonly: P, cascadeConfig: H, hideCascadeTitle: $, refreshPanelAfterChanged: E, description: L, isExpand: A, parentPropertyID: U };
|
|
484
484
|
return w[M] = J, J;
|
|
@@ -1663,7 +1663,7 @@ var Da = { exports: {} };
|
|
|
1663
1663
|
function l(F, B) {
|
|
1664
1664
|
var N = arguments.length;
|
|
1665
1665
|
N === 1 && Array.isArray(F) === !1 && (B = F, F = []);
|
|
1666
|
-
var g, _, P, H, $, j, D, E, L, A = null, U, J,
|
|
1666
|
+
var g, _, P, H, $, j, D, E, L, A = null, U, J, se = !1, q = 0, z, W = B || {};
|
|
1667
1667
|
W.moves === void 0 && (W.moves = C), W.accepts === void 0 && (W.accepts = C), W.invalid === void 0 && (W.invalid = oe), W.containers === void 0 && (W.containers = F || []), W.isContainer === void 0 && (W.isContainer = h), W.copy === void 0 && (W.copy = !1), W.copySortSource === void 0 && (W.copySortSource = !1), W.revertOnSpill === void 0 && (W.revertOnSpill = !1), W.removeOnSpill === void 0 && (W.removeOnSpill = !1), W.direction === void 0 && (W.direction = "vertical"), W.ignoreInputTextSelection === void 0 && (W.ignoreInputTextSelection = !0), W.mirrorContainer === void 0 && (W.mirrorContainer = d.body);
|
|
1668
1668
|
var K = r({
|
|
1669
1669
|
containers: W.containers,
|
|
@@ -1816,7 +1816,7 @@ var Da = { exports: {} };
|
|
|
1816
1816
|
return;
|
|
1817
1817
|
}
|
|
1818
1818
|
var Me, Le = ye(xe, _e);
|
|
1819
|
-
if (
|
|
1819
|
+
if (se = Pe(Le, xe), Le !== null)
|
|
1820
1820
|
Me = it(xe, Le, Y, ne);
|
|
1821
1821
|
else if (W.revertOnSpill === !0 && !E)
|
|
1822
1822
|
Me = j, xe = _;
|
|
@@ -1852,7 +1852,7 @@ var Da = { exports: {} };
|
|
|
1852
1852
|
var R = P.getBoundingClientRect();
|
|
1853
1853
|
J.style.left = R.left + "px", J.style.top = R.top + "px";
|
|
1854
1854
|
}
|
|
1855
|
-
|
|
1855
|
+
se = !1, W.mirrorContainer.appendChild(J);
|
|
1856
1856
|
}
|
|
1857
1857
|
function ie() {
|
|
1858
1858
|
g && (s.rm(W.mirrorContainer, "gu-unselectable"), c(m, "remove", "mousemove", st), x(g).removeChild(g), g = null);
|
|
@@ -1867,7 +1867,7 @@ var Da = { exports: {} };
|
|
|
1867
1867
|
}
|
|
1868
1868
|
function Pe(R, Y) {
|
|
1869
1869
|
if (!Y)
|
|
1870
|
-
return
|
|
1870
|
+
return se;
|
|
1871
1871
|
var ne = R || Y && Y.lastElementChild;
|
|
1872
1872
|
if (!ne)
|
|
1873
1873
|
return !0;
|
|
@@ -1902,7 +1902,7 @@ var Da = { exports: {} };
|
|
|
1902
1902
|
}
|
|
1903
1903
|
function Ye(R, Y) {
|
|
1904
1904
|
const ne = Y.getBoundingClientRect();
|
|
1905
|
-
if (J.style.left = ne.left + "px", J.style.top = ne.top + "px",
|
|
1905
|
+
if (J.style.left = ne.left + "px", J.style.top = ne.top + "px", se) {
|
|
1906
1906
|
if (J.style.height = ne.height + "px", J.style.width = "4px", R) {
|
|
1907
1907
|
const pe = R.getBoundingClientRect();
|
|
1908
1908
|
pe.top !== ne.top && (J.style.left = pe.right + "px", J.style.top = pe.top + "px", J.style.height = pe.height + "px");
|
|
@@ -1918,7 +1918,7 @@ var Da = { exports: {} };
|
|
|
1918
1918
|
var Y = R.lastElementChild;
|
|
1919
1919
|
if (Y) {
|
|
1920
1920
|
var ne = Y.getBoundingClientRect();
|
|
1921
|
-
|
|
1921
|
+
se ? (J.style.left = ne.right + "px", J.style.top = ne.top + "px", J.style.height = ne.height + "px", J.style.width = "4px") : (J.style.left = ne.left + "px", J.style.top = ne.bottom + "px", J.style.height = "4px", J.style.width = ne.width + "px"), Y === P && P && (J.style.display = "none");
|
|
1922
1922
|
} else
|
|
1923
1923
|
J.style.display = "none";
|
|
1924
1924
|
}
|
|
@@ -1950,7 +1950,7 @@ var Da = { exports: {} };
|
|
|
1950
1950
|
var ke = Y.getBoundingClientRect();
|
|
1951
1951
|
if (xe) {
|
|
1952
1952
|
var Ae = pe - ke.top, Xe = ne - ke.left, qe = ke.bottom - pe, Bt = ke.right - ne, Vt = Math.min(Xe, Bt, Ae, qe), ve;
|
|
1953
|
-
return
|
|
1953
|
+
return se ? ve = Bt < Xe : ve = qe === Vt || Bt === Vt || Xe === Vt, Le(ve);
|
|
1954
1954
|
}
|
|
1955
1955
|
return Le(_e ? ne > ke.left + v(ke) / 2 : pe > ke.top + I(ke) / 2);
|
|
1956
1956
|
}
|
|
@@ -3792,8 +3792,8 @@ function cl(t, e, n, o, i, a, r, u, s, d, m, l, p) {
|
|
|
3792
3792
|
function J(oe) {
|
|
3793
3793
|
return oe.collapse && t.loadData ? t.loadData(oe) : Promise.resolve();
|
|
3794
3794
|
}
|
|
3795
|
-
function
|
|
3796
|
-
return (oe || []).some((me) => Vn(me) ? !(me.type === Comment || me.type === Rt && !
|
|
3795
|
+
function se(oe) {
|
|
3796
|
+
return (oe || []).some((me) => Vn(me) ? !(me.type === Comment || me.type === Rt && !se(me.children)) : !0) ? oe : null;
|
|
3797
3797
|
}
|
|
3798
3798
|
function q(oe, me) {
|
|
3799
3799
|
oe.stopPropagation(), J(me).then(() => {
|
|
@@ -3864,7 +3864,7 @@ function cl(t, e, n, o, i, a, r, u, s, d, m, l, p) {
|
|
|
3864
3864
|
return oe.getEditor(oe);
|
|
3865
3865
|
}
|
|
3866
3866
|
function re(oe, me) {
|
|
3867
|
-
return e.slots.cellTemplate &&
|
|
3867
|
+
return e.slots.cellTemplate && se(e.slots.cellTemplate({
|
|
3868
3868
|
cell: me,
|
|
3869
3869
|
row: oe
|
|
3870
3870
|
})) ? Ce(me, oe) : me.mode === et.editing ? X(me) : me.formatter ? ge(me, oe) : Ie(me);
|
|
@@ -4417,7 +4417,7 @@ function gl(t, e, n, o) {
|
|
|
4417
4417
|
}), W.value.splice(ge, 0, ...Ie);
|
|
4418
4418
|
}
|
|
4419
4419
|
}
|
|
4420
|
-
function
|
|
4420
|
+
function se(q, z) {
|
|
4421
4421
|
const W = q[r.value], K = m.get(W), fe = Array.from(K.descendant.keys());
|
|
4422
4422
|
fe.unshift(W);
|
|
4423
4423
|
const Te = m.get(K.parentId);
|
|
@@ -4439,7 +4439,7 @@ function gl(t, e, n, o) {
|
|
|
4439
4439
|
isVisibleInTree: N,
|
|
4440
4440
|
shouldStratifyData: a,
|
|
4441
4441
|
toggleChildrenVisibiltyByCollapseStatus: H,
|
|
4442
|
-
trimmedOriginalData:
|
|
4442
|
+
trimmedOriginalData: se
|
|
4443
4443
|
};
|
|
4444
4444
|
}
|
|
4445
4445
|
function yl(t, e, n, o, i) {
|
|
@@ -4466,11 +4466,11 @@ function yl(t, e, n, o, i) {
|
|
|
4466
4466
|
return (Z == null ? void 0 : Z.groupFields) || [];
|
|
4467
4467
|
});
|
|
4468
4468
|
let U = /* @__PURE__ */ new Map();
|
|
4469
|
-
const J = k($.value.length),
|
|
4469
|
+
const J = k($.value.length), se = k(t.pagination);
|
|
4470
4470
|
function q() {
|
|
4471
|
-
return
|
|
4471
|
+
return se.value && se.value.enable && se.value.size > 0 ? se.value.size : $.value.length;
|
|
4472
4472
|
}
|
|
4473
|
-
const z = k(1), W = G(() =>
|
|
4473
|
+
const z = k(1), W = G(() => se.value && se.value.enable && se.value.mode !== "server"), K = G(() => se.value && se.value.enable && se.value.mode === "server"), fe = new Qn();
|
|
4474
4474
|
function Te(Z, R) {
|
|
4475
4475
|
const Y = Math.ceil(Z.length / R);
|
|
4476
4476
|
let ne = 0;
|
|
@@ -4648,10 +4648,10 @@ function yl(t, e, n, o, i) {
|
|
|
4648
4648
|
return re(Z, Array.from(m.values()));
|
|
4649
4649
|
}
|
|
4650
4650
|
function je(Z) {
|
|
4651
|
-
|
|
4651
|
+
se.value.size = Z;
|
|
4652
4652
|
}
|
|
4653
4653
|
function Ye(Z) {
|
|
4654
|
-
|
|
4654
|
+
se.value && (je(Z), Oe());
|
|
4655
4655
|
}
|
|
4656
4656
|
function tt(Z, R) {
|
|
4657
4657
|
const Y = h.value[Number(Z) - 1];
|
|
@@ -4723,7 +4723,8 @@ function yl(t, e, n, o, i) {
|
|
|
4723
4723
|
unFold: $e,
|
|
4724
4724
|
updateDataView: Oe,
|
|
4725
4725
|
visibleDataItems: Ie,
|
|
4726
|
-
shouldGroupingData: y
|
|
4726
|
+
shouldGroupingData: y,
|
|
4727
|
+
pagination: se
|
|
4727
4728
|
};
|
|
4728
4729
|
}
|
|
4729
4730
|
const oo = {
|
|
@@ -6115,8 +6116,8 @@ function En(t, e) {
|
|
|
6115
6116
|
const H = {}, $ = g.type === "form-group" && g.editor ? g.editor.type : g.type, j = (A = $o[$]) == null ? void 0 : A.events;
|
|
6116
6117
|
if (!j)
|
|
6117
6118
|
return;
|
|
6118
|
-
Object.keys(g).forEach((
|
|
6119
|
-
const q = Object.keys(j).find((z) => z ===
|
|
6119
|
+
Object.keys(g).forEach((se) => {
|
|
6120
|
+
const q = Object.keys(j).find((z) => z === se);
|
|
6120
6121
|
if (q && g[q]) {
|
|
6121
6122
|
const z = _.commands.find((W) => W.code === g[q]);
|
|
6122
6123
|
if (z) {
|
|
@@ -6127,17 +6128,17 @@ function En(t, e) {
|
|
|
6127
6128
|
});
|
|
6128
6129
|
const E = (e == null ? void 0 : e.designViewModelUtils).getDgViewModel(P.id), L = ["valueChanging", "valueChanged"];
|
|
6129
6130
|
if (((U = g.binding) == null ? void 0 : U.type) === Et.Form) {
|
|
6130
|
-
const
|
|
6131
|
-
|
|
6132
|
-
if (
|
|
6133
|
-
const z = _.commands.find((W) => W.code ===
|
|
6131
|
+
const se = (J = P.fields) == null ? void 0 : J.find((q) => q.id === g.binding.field);
|
|
6132
|
+
se && L.forEach((q) => {
|
|
6133
|
+
if (se[q]) {
|
|
6134
|
+
const z = _.commands.find((W) => W.code === se[q]);
|
|
6134
6135
|
if (!z)
|
|
6135
6136
|
return;
|
|
6136
6137
|
if (H[z.code])
|
|
6137
|
-
E.changeField(
|
|
6138
|
+
E.changeField(se.id, { [q]: H[z.code].code });
|
|
6138
6139
|
else {
|
|
6139
6140
|
const W = h(z);
|
|
6140
|
-
H[z.code] = W, P.commands.push(W), E.changeField(
|
|
6141
|
+
H[z.code] = W, P.commands.push(W), E.changeField(se.id, { [q]: W.code });
|
|
6141
6142
|
}
|
|
6142
6143
|
}
|
|
6143
6144
|
});
|
|
@@ -6287,10 +6288,10 @@ const Jl = {
|
|
|
6287
6288
|
class: "farris-label-info text-danger"
|
|
6288
6289
|
}, [dt("*")]), t.showType === "visible" && o.value])]);
|
|
6289
6290
|
}
|
|
6290
|
-
}), ae = {}, le = {},
|
|
6291
|
+
}), ae = {}, le = {}, ue = {}, ce = {};
|
|
6291
6292
|
let kn = !1;
|
|
6292
6293
|
function Zl() {
|
|
6293
|
-
kn || (kn = !0, Or.register(ae, le,
|
|
6294
|
+
kn || (kn = !0, Or.register(ae, le, ue, ce), Mr.register(ae, le, ue, ce), Br.register(ae, le, ue, ce), Vr.register(ae, le, ue, ce), Nr.register(ae, le, ue, ce), Rr.register(ae, le, ue, ce), Sn.register(ae, le, ue, ce), xn.register(ae, le, ue, ce), Sn.register(ae, le, ue, ce), xn.register(ae, le, ue, ce), ln.register(ae, le, ue, ce), Lr.register(ae, le, ue, ce), Pr.register(ae, le, ue, ce), Dr.register(ae, le, ue, ce), $r.register(ae, le, ue, ce), jr.register(ae, le, ue, ce), Ar.register(ae, le, ue, ce), Wr.register(ae, le, ue, ce), Ir.register(ae, le, ue, ce), zr.register(ae, le, ue, ce), Ni.register(ae, le, ue, ce), Sr.register(ae, le, ue, ce), Gr.register(ae, le, ue, ce), Ii.register(ae, le, ue, ce), qr.register(ae, le, ue, ce), Ur.register(ae, le, ue, ce), Yr.register(ae, le, ue, ce), Jr.register(ae, le, ue, ce), Xr.register(ae, le, ue, ce), Qr.register(ae, le, ue, ce), Zr.register(ae, le, ue, ce), Kr.register(ae, le, ue, ce), ei.register(ae, le, ue, ce), ti.register(ae, le, ue, ce), ni.register(ae, le, ue, ce), oi.register(ae, le, ue, ce), ri.register(ae, le, ue, ce), xr.register(ae, le, ue, ce), ii.register(ae, le, ue, ce), ai.register(ae, le, ue, ce), li.register(ae, le, ue, ce), si.register(ae, le, ue, ce), ci.register(ae, le, ue, ce), di.register(ae, le, ue, ce), ui.register(ae, le, ue, ce), xi.register(ae, le, ue), Fr.register(ae, le, ue, ce), fi.register(ae, le, ue, ce), pi.register(ae, le, ue, ce), mi.register(ae, le, ue, ce), hi.register(ae, le, ue, ce), vi.register(ae, le, ue, ce), ki.register(ae, le, ue, ce), Cr.register(ae, le, ue, ce), Tr.register(ae, le, ue, ce), gi.register(ae, le, ue, ce), yi.register(ae, le, ue, ce), br.register(ae, le, ue, ce), bi.register(ae, le, ue, ce), wi.register(ae, le, ue, ce), Ci.register(ae, le, ue, ce), _i.register(ae, le, ue, ce), Si.register(ae, le, ue, ce), Fi.register(ae, le, ue, ce), Hr.register(ae, le, ue, ce), Ti.register(ae, le, ue, ce), Ei.register(ae, le, ue, ce), Mi.register(ae, le, ue, ce), Oi.register(ae, le, ue, ce), Bi.register(ae, le, ue, ce), Vi.register(ae, le, ue, ce), Ri.register(ae, le, ue, ce), Li.register(ae, le, ue, ce), Pi.register(ae, le, ue, ce), yr.register(ae, le, ue, ce), $i.register(ae, le, ue, ce), Di.register(ae, le, ue, ce));
|
|
6294
6295
|
}
|
|
6295
6296
|
function Kl() {
|
|
6296
6297
|
Zl();
|
|
@@ -7639,7 +7640,7 @@ const Ot = /* @__PURE__ */ Ge({
|
|
|
7639
7640
|
isMaximized: N.value
|
|
7640
7641
|
});
|
|
7641
7642
|
});
|
|
7642
|
-
const J = G(() => (i.value && document.body.classList.add("modal-open"), i.value)),
|
|
7643
|
+
const J = G(() => (i.value && document.body.classList.add("modal-open"), i.value)), se = G(() => {
|
|
7643
7644
|
var $e;
|
|
7644
7645
|
const ee = {
|
|
7645
7646
|
modal: !0,
|
|
@@ -7819,7 +7820,7 @@ const Ot = /* @__PURE__ */ Ge({
|
|
|
7819
7820
|
}, {
|
|
7820
7821
|
default: () => [V("div", {
|
|
7821
7822
|
ref: v,
|
|
7822
|
-
class:
|
|
7823
|
+
class: se.value,
|
|
7823
7824
|
style: W.value,
|
|
7824
7825
|
onClick: Ne
|
|
7825
7826
|
}, [De()])]
|
|
@@ -8894,7 +8895,7 @@ function cu(t, e, n, o, i, a, r, u, s) {
|
|
|
8894
8895
|
function J() {
|
|
8895
8896
|
T.value && (I = j(Math.abs(C.value)), x = I + a.value - 1, (I < f.value || x > p.value - r / 2) && E());
|
|
8896
8897
|
}
|
|
8897
|
-
function
|
|
8898
|
+
function se(ie) {
|
|
8898
8899
|
let he = C.value + ie;
|
|
8899
8900
|
he > P && (he = P);
|
|
8900
8901
|
const ye = N();
|
|
@@ -8921,7 +8922,7 @@ function cu(t, e, n, o, i, a, r, u, s) {
|
|
|
8921
8922
|
Be([M, c], () => {
|
|
8922
8923
|
q(0);
|
|
8923
8924
|
}), Be(b, (ie, he) => {
|
|
8924
|
-
ie !== he && ie >= d.value.length * h &&
|
|
8925
|
+
ie !== he && ie >= d.value.length * h && se(0);
|
|
8925
8926
|
});
|
|
8926
8927
|
function fe(ie) {
|
|
8927
8928
|
let { deltaX: he } = ie, ye = -1 * ie.deltaY;
|
|
@@ -8932,7 +8933,7 @@ function cu(t, e, n, o, i, a, r, u, s) {
|
|
|
8932
8933
|
return;
|
|
8933
8934
|
ie.preventDefault(), ie.stopPropagation();
|
|
8934
8935
|
const { deltaX: he, deltaY: ye } = fe(ie);
|
|
8935
|
-
|
|
8936
|
+
se(ye), q(he);
|
|
8936
8937
|
}
|
|
8937
8938
|
const Ce = G(() => ({
|
|
8938
8939
|
height: `${d.value.length * h}px`,
|
|
@@ -8990,7 +8991,7 @@ function cu(t, e, n, o, i, a, r, u, s) {
|
|
|
8990
8991
|
const he = ee.value - ie.pageY, ye = N(), Pe = ye - g.value;
|
|
8991
8992
|
if (Math.abs(he) <= Pe) {
|
|
8992
8993
|
const je = he / (b.value - g.value) * (ye - b.value);
|
|
8993
|
-
|
|
8994
|
+
se(je), ee.value = ie.pageY;
|
|
8994
8995
|
}
|
|
8995
8996
|
}
|
|
8996
8997
|
}
|
|
@@ -9008,13 +9009,13 @@ function cu(t, e, n, o, i, a, r, u, s) {
|
|
|
9008
9009
|
function yt(ie) {
|
|
9009
9010
|
const he = d.value.length * h - b.value;
|
|
9010
9011
|
let ye = ie * h;
|
|
9011
|
-
ye >= he && (ye = he),
|
|
9012
|
+
ye >= he && (ye = he), se(-ye - C.value);
|
|
9012
9013
|
}
|
|
9013
9014
|
function mt() {
|
|
9014
9015
|
yt(d.value.length);
|
|
9015
9016
|
}
|
|
9016
9017
|
function xt(ie) {
|
|
9017
|
-
|
|
9018
|
+
se(ie - C.value);
|
|
9018
9019
|
}
|
|
9019
9020
|
return {
|
|
9020
9021
|
dataGridWidth: S,
|
|
@@ -9300,17 +9301,17 @@ function Cu(t, e, n, o, i, a, r) {
|
|
|
9300
9301
|
checked: $,
|
|
9301
9302
|
disabled: D,
|
|
9302
9303
|
indeterminate: j,
|
|
9303
|
-
setRef: (
|
|
9304
|
-
L.ref =
|
|
9304
|
+
setRef: (se) => {
|
|
9305
|
+
L.ref = se;
|
|
9305
9306
|
},
|
|
9306
9307
|
visible: H && E || H && !t.hierarchy,
|
|
9307
9308
|
status: ft.initial,
|
|
9308
|
-
updateCell: (
|
|
9309
|
-
c(
|
|
9309
|
+
updateCell: (se, q) => {
|
|
9310
|
+
c(se, b, L, q), e.updateSummary();
|
|
9310
9311
|
},
|
|
9311
|
-
updateCells: (
|
|
9312
|
+
updateCells: (se, q) => {
|
|
9312
9313
|
q.forEach((z) => {
|
|
9313
|
-
c(
|
|
9314
|
+
c(se, b, L, z);
|
|
9314
9315
|
});
|
|
9315
9316
|
}
|
|
9316
9317
|
};
|
|
@@ -9461,10 +9462,10 @@ function wu(t, e, n, o, i) {
|
|
|
9461
9462
|
selectOnCreated: t.selectOnEditingCell,
|
|
9462
9463
|
editor: J,
|
|
9463
9464
|
modelValue: E.editingData,
|
|
9464
|
-
"onUpdate:modelValue": (
|
|
9465
|
+
"onUpdate:modelValue": (se) => E.editingData = se,
|
|
9465
9466
|
id: L.id,
|
|
9466
|
-
onMousedown: (
|
|
9467
|
-
onMouseup: (
|
|
9467
|
+
onMousedown: (se) => O(se),
|
|
9468
|
+
onMouseup: (se) => F(se)
|
|
9468
9469
|
}, null)) : E.data;
|
|
9469
9470
|
}
|
|
9470
9471
|
function $() {
|
|
@@ -9727,7 +9728,7 @@ function xu(t, e, n, o, i) {
|
|
|
9727
9728
|
function J(X) {
|
|
9728
9729
|
X.__fv_checked__ = !1, X.__fv_indeterminate__ = !0, c.value = c.value.filter((re) => re !== X[a.value]);
|
|
9729
9730
|
}
|
|
9730
|
-
function
|
|
9731
|
+
function se(X) {
|
|
9731
9732
|
const re = X.raw;
|
|
9732
9733
|
re.__fv_checked__ = !1, re.__fv_indeterminate__ = !0, c.value = c.value.filter((de) => de !== re[a.value]), X.checked = !1, X.indeterminate = !0;
|
|
9733
9734
|
}
|
|
@@ -9798,7 +9799,7 @@ function xu(t, e, n, o, i) {
|
|
|
9798
9799
|
findIndexInSelectedItems: H,
|
|
9799
9800
|
getSelectedItems: C,
|
|
9800
9801
|
getSelectionRow: Ie,
|
|
9801
|
-
indeterminate:
|
|
9802
|
+
indeterminate: se,
|
|
9802
9803
|
indeterminateDataItem: J,
|
|
9803
9804
|
isSelectingHirarchyItem: b,
|
|
9804
9805
|
multiSelectMode: l,
|
|
@@ -9985,11 +9986,11 @@ const Ut = /* @__PURE__ */ Ge({
|
|
|
9985
9986
|
updateColumnRenderContext: j
|
|
9986
9987
|
} = _;
|
|
9987
9988
|
H(S, P);
|
|
9988
|
-
const D = Zo(t, $), E = Ko(t, e, M, r), L = er(t, e, r, E, f), A = tr(t), U = nr(t, L, A), J = or(t, S, L, C, r, A, U),
|
|
9989
|
+
const D = Zo(t, $), E = Ko(t, e, M, r), L = er(t, e, r, E, f), A = tr(t), U = nr(t, L, A), J = or(t, S, L, C, r, A, U), se = rr(t, a, S, F, 0, J), {
|
|
9989
9990
|
getVisualData: q
|
|
9990
|
-
} =
|
|
9991
|
+
} = se, z = ir(t, $), W = ar(t, M), {
|
|
9991
9992
|
sidebarWidth: K
|
|
9992
|
-
} = W, fe = lr(t, S, f, $,
|
|
9993
|
+
} = W, fe = lr(t, S, f, $, se, F, 0, K), {
|
|
9993
9994
|
onWheel: Te,
|
|
9994
9995
|
dataGridWidth: Ce,
|
|
9995
9996
|
viewPortHeight: ge,
|
|
@@ -10009,7 +10010,7 @@ const Ut = /* @__PURE__ */ Ge({
|
|
|
10009
10010
|
"fv-grid-wrap-content": w.value
|
|
10010
10011
|
})), {
|
|
10011
10012
|
renderDataArea: Ne
|
|
10012
|
-
} = Ou(t, e, m, l, p, z, _, S, L, C, E, M, T, fe,
|
|
10013
|
+
} = Ou(t, e, m, l, p, z, _, S, L, C, E, M, T, fe, se, A, f), {
|
|
10013
10014
|
renderGridHeader: De,
|
|
10014
10015
|
renderGridColumnResizeOverlay: Re,
|
|
10015
10016
|
shouldShowHeader: ee
|
|
@@ -10294,14 +10295,14 @@ const un = /* @__PURE__ */ Ge({
|
|
|
10294
10295
|
}, D), D;
|
|
10295
10296
|
});
|
|
10296
10297
|
function S(D, E) {
|
|
10297
|
-
var U, J,
|
|
10298
|
+
var U, J, se;
|
|
10298
10299
|
if (D && (D.preventDefault(), D.stopPropagation()), (U = C == null ? void 0 : C.designerContext) != null && U.checkCanDeleteControl && !C.designerContext.checkCanDeleteControl(E))
|
|
10299
10300
|
return;
|
|
10300
10301
|
if (f.value.triggerBelongedComponentToDeleteWhenDeleted) {
|
|
10301
10302
|
const q = f.value.getBelongedComponentInstance(f);
|
|
10302
10303
|
if (q && q.parent) {
|
|
10303
10304
|
const z = k(q == null ? void 0 : q.parent), W = z.value.contents.findIndex((K) => K.id === q.schema.id);
|
|
10304
|
-
(
|
|
10305
|
+
(se = (J = z.value) == null ? void 0 : J.contents) == null || se.splice(W, 1), Lt.value++;
|
|
10305
10306
|
}
|
|
10306
10307
|
return;
|
|
10307
10308
|
}
|
|
@@ -10365,7 +10366,7 @@ const un = /* @__PURE__ */ Ge({
|
|
|
10365
10366
|
let E;
|
|
10366
10367
|
const L = D.type, A = os[L], U = rs[L], J = U ? U(D) : {};
|
|
10367
10368
|
J.customClass = t.ignore ? J.customClass : "", J.componentId = u.value, J.id = D.id;
|
|
10368
|
-
const
|
|
10369
|
+
const se = D.contents && D.contents.length === 0;
|
|
10369
10370
|
return D.contents && !!D.contents.length && A ? V(A, Mt({
|
|
10370
10371
|
ref: f
|
|
10371
10372
|
}, J), Ru(E = D.contents.map((z) => V(un, {
|
|
@@ -10377,7 +10378,7 @@ const un = /* @__PURE__ */ Ge({
|
|
|
10377
10378
|
onDragEnd: B
|
|
10378
10379
|
}, null))) ? E : {
|
|
10379
10380
|
default: () => [E]
|
|
10380
|
-
}) : A ?
|
|
10381
|
+
}) : A ? se ? V(A, Mt({
|
|
10381
10382
|
ref: f
|
|
10382
10383
|
}, J), {
|
|
10383
10384
|
default: () => [V(Nu, null, null)]
|
|
@@ -11075,7 +11076,7 @@ const zu = /* @__PURE__ */ Ge({
|
|
|
11075
11076
|
m.value = E(0, x.value + o - 1);
|
|
11076
11077
|
const U = cu(t, v, m, F, D, x, o, A), {
|
|
11077
11078
|
onWheel: J,
|
|
11078
|
-
dataGridWidth:
|
|
11079
|
+
dataGridWidth: se,
|
|
11079
11080
|
viewPortHeight: q,
|
|
11080
11081
|
viewPortWidth: z,
|
|
11081
11082
|
updateVisibleRowsOnLatestVisibleScope: W
|
|
@@ -11098,11 +11099,11 @@ const zu = /* @__PURE__ */ Ge({
|
|
|
11098
11099
|
function X() {
|
|
11099
11100
|
var We, Ue;
|
|
11100
11101
|
const Se = Math.ceil(s.value.clientHeight / i);
|
|
11101
|
-
Se > a.value && (a.value = Se, W()), q.value = ((We = d.value) == null ? void 0 : We.clientHeight) || 0,
|
|
11102
|
+
Se > a.value && (a.value = Se, W()), q.value = ((We = d.value) == null ? void 0 : We.clientHeight) || 0, se.value = ((Ue = s.value) == null ? void 0 : Ue.clientWidth) || 0, fe();
|
|
11102
11103
|
}
|
|
11103
11104
|
_t(() => {
|
|
11104
11105
|
n.value.componentInstance = y, s.value && (a.value = Math.max(Math.ceil(s.value.clientHeight / i), a.value), m.value = E(0, x.value + o - 1), Ln(s.value, X), fe(), Xt(() => {
|
|
11105
|
-
s.value && (
|
|
11106
|
+
s.value && (se.value = s.value.clientWidth), d.value && (z.value = d.value.clientWidth, q.value = d.value.clientHeight);
|
|
11106
11107
|
}));
|
|
11107
11108
|
});
|
|
11108
11109
|
function re(Se) {
|