@farris/ui-vue 1.6.5 → 1.6.6
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 +1 -1
- package/components/avatar/index.umd.cjs +1 -1
- package/components/button-edit/index.esm.js +2 -2
- package/components/button-edit/index.umd.cjs +1 -1
- package/components/combo-list/index.esm.js +7 -5
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/common/index.esm.js +1 -1
- package/components/common/index.umd.cjs +1 -1
- package/components/component/index.esm.js +1 -1
- package/components/component/index.umd.cjs +1 -1
- package/components/condition/index.esm.js +3 -2
- package/components/condition/index.umd.cjs +1 -1
- package/components/content-container/index.esm.js +1 -1
- package/components/content-container/index.umd.cjs +1 -1
- package/components/data-view/index.esm.js +498 -495
- package/components/data-view/index.umd.cjs +1 -1
- package/components/date-picker/index.esm.js +833 -832
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/designer-canvas/index.esm.js +1 -1
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/dynamic-form/index.esm.js +3 -2
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/events-editor/index.esm.js +1 -1
- package/components/events-editor/index.umd.cjs +1 -1
- package/components/expression-editor/index.esm.js +256 -254
- package/components/expression-editor/index.umd.cjs +2 -2
- package/components/filter-bar/index.esm.js +416 -394
- package/components/filter-bar/index.umd.cjs +1 -1
- package/components/filter-condition-editor/index.esm.js +388 -386
- package/components/filter-condition-editor/index.umd.cjs +1 -1
- package/components/flow-canvas/index.esm.js +1 -1
- package/components/flow-canvas/index.umd.cjs +1 -1
- package/components/language-textbox/index.esm.js +77 -76
- package/components/language-textbox/index.umd.cjs +1 -1
- package/components/list-nav/index.esm.js +4 -2
- package/components/list-nav/index.umd.cjs +1 -1
- package/components/lookup/index.esm.js +118 -118
- package/components/lookup/index.umd.cjs +1 -1
- package/components/mapping-editor/index.esm.js +80 -81
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/message-box/index.esm.js +237 -237
- package/components/message-box/index.umd.cjs +1 -1
- package/components/modal/index.esm.js +1 -1
- package/components/modal/index.umd.cjs +1 -1
- package/components/number-range/index.esm.js +1 -1
- package/components/number-range/index.umd.cjs +1 -1
- package/components/number-spinner/index.esm.js +9 -3
- package/components/number-spinner/index.umd.cjs +1 -1
- package/components/order/index.esm.js +114 -112
- package/components/order/index.umd.cjs +1 -1
- package/components/page-header/index.esm.js +1 -1
- package/components/page-header/index.umd.cjs +1 -1
- package/components/property-panel/index.esm.js +1 -1
- package/components/property-panel/index.umd.cjs +1 -1
- package/components/query-solution/index.esm.js +485 -463
- package/components/query-solution/index.umd.cjs +3 -3
- package/components/radio-group/index.esm.js +30 -30
- package/components/radio-group/index.umd.cjs +1 -1
- package/components/response-layout/index.esm.js +1 -1
- package/components/response-layout/index.umd.cjs +1 -1
- package/components/response-layout-editor/index.esm.js +544 -545
- package/components/response-layout-editor/index.umd.cjs +1 -1
- package/components/response-toolbar/index.esm.js +1 -1
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/schema-selector/index.esm.js +6 -4
- package/components/schema-selector/index.umd.cjs +2 -2
- package/components/section/index.esm.js +1 -1
- package/components/section/index.umd.cjs +1 -1
- package/components/sort-condition-editor/index.esm.js +9 -7
- package/components/sort-condition-editor/index.umd.cjs +1 -1
- package/components/switch/index.esm.js +77 -78
- package/components/switch/index.umd.cjs +1 -1
- package/components/tabs/index.esm.js +5 -3
- package/components/tabs/index.umd.cjs +1 -1
- package/components/textarea/index.esm.js +1 -1
- package/components/textarea/index.umd.cjs +1 -1
- package/components/time-picker/index.esm.js +2 -2
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/video/index.esm.js +1 -1
- package/components/video/index.umd.cjs +1 -1
- package/designer/button-edit/index.esm.js +211 -211
- package/designer/button-edit/index.umd.cjs +1 -1
- package/designer/checkbox/index.esm.js +1 -1
- package/designer/checkbox/index.umd.cjs +1 -1
- package/designer/checkbox-group/index.esm.js +25 -26
- package/designer/checkbox-group/index.umd.cjs +1 -1
- package/designer/data-grid/index.esm.js +15 -9
- package/designer/data-grid/index.umd.cjs +2 -2
- package/designer/farris-designer.all.esm.js +917 -916
- package/designer/farris-designer.all.umd.cjs +5 -5
- package/designer/input-group/index.esm.js +2 -1
- package/designer/input-group/index.umd.cjs +1 -1
- package/designer/list-view/index.esm.js +685 -689
- package/designer/list-view/index.umd.cjs +3 -3
- package/designer/radio-group/index.esm.js +7 -3
- package/designer/radio-group/index.umd.cjs +1 -1
- package/farris.all.esm.js +5641 -5603
- package/farris.all.umd.cjs +21 -21
- package/locales/data-grid/ui/en.json +2 -1
- package/locales/data-grid/ui/zh-CHS.json +2 -1
- package/locales/data-grid/ui/zh-CHT.json +2 -1
- package/locales/designer/en.json +2 -1
- package/locales/designer/zh-CHS.json +2 -1
- package/locales/designer/zh-CHT.json +2 -1
- package/locales/ui/en.json +2 -1
- package/locales/ui/zh-CHS.json +2 -1
- package/locales/ui/zh-CHT.json +2 -1
- package/package.json +1 -1
|
@@ -608,10 +608,10 @@ function da(e, t) {
|
|
|
608
608
|
const C = o.value || document.body, I = window.getComputedStyle(C);
|
|
609
609
|
if (!I || !n.value)
|
|
610
610
|
return;
|
|
611
|
-
const
|
|
611
|
+
const U = we.getTransformInfo(n.value), N = {};
|
|
612
612
|
r.value && (N.deltaL = n.value.offsetLeft - r.value.x, N.deltaT = n.value.offsetTop - r.value.y);
|
|
613
613
|
const ee = I.getPropertyValue("position");
|
|
614
|
-
N.width = C.clientWidth, N.height = C.clientHeight, N.pr = parseInt(I.getPropertyValue("padding-right"), 10), N.pb = parseInt(I.getPropertyValue("padding-bottom"), 10), N.position = I.getPropertyValue("position"), ee === "static" && (C.style.position = "relative"), N.translateX =
|
|
614
|
+
N.width = C.clientWidth, N.height = C.clientHeight, N.pr = parseInt(I.getPropertyValue("padding-right"), 10), N.pb = parseInt(I.getPropertyValue("padding-bottom"), 10), N.position = I.getPropertyValue("position"), ee === "static" && (C.style.position = "relative"), N.translateX = U.x, N.translateY = U.y, d.value = N;
|
|
615
615
|
}
|
|
616
616
|
function O(C) {
|
|
617
617
|
if (n.value) {
|
|
@@ -626,10 +626,10 @@ function da(e, t) {
|
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
628
|
function L() {
|
|
629
|
-
var C, I,
|
|
629
|
+
var C, I, U, N;
|
|
630
630
|
if (n.value) {
|
|
631
631
|
const ee = n.value;
|
|
632
|
-
s.value && ((s.value.n || s.value.s) && ((C = u.value) != null && C.height) && (ee.style.height = u.value.height + "px"), (s.value.w || s.value.e) && ((I = u.value) != null && I.width) && (ee.style.width = u.value.width + "px"), r.value && ((
|
|
632
|
+
s.value && ((s.value.n || s.value.s) && ((C = u.value) != null && C.height) && (ee.style.height = u.value.height + "px"), (s.value.w || s.value.e) && ((I = u.value) != null && I.width) && (ee.style.width = u.value.width + "px"), r.value && ((U = r.value) != null && U.x && (ee.style.left = r.value.x + "px"), (N = r.value) != null && N.y && (ee.style.top = r.value.y + "px")));
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
635
|
function k() {
|
|
@@ -640,8 +640,8 @@ function da(e, t) {
|
|
|
640
640
|
if (o.value) {
|
|
641
641
|
const C = d.value;
|
|
642
642
|
if (r.value && u.value && s.value && l.value) {
|
|
643
|
-
const I = C.width - C.pr - C.deltaL - C.translateX - r.value.x,
|
|
644
|
-
s.value.n && r.value.y + C.translateY < 0 && i.value && (r.value.y = -C.translateY, u.value.height = l.value.height + i.value.y + C.translateY), s.value.w && r.value.x + C.translateX < 0 && i.value && (r.value.x = -C.translateX, u.value.width = l.value.width + i.value.x + C.translateX), u.value.width > I && (u.value.width = I), u.value.height >
|
|
643
|
+
const I = C.width - C.pr - C.deltaL - C.translateX - r.value.x, U = C.height - C.pb - C.deltaT - C.translateY - r.value.y;
|
|
644
|
+
s.value.n && r.value.y + C.translateY < 0 && i.value && (r.value.y = -C.translateY, u.value.height = l.value.height + i.value.y + C.translateY), s.value.w && r.value.x + C.translateX < 0 && i.value && (r.value.x = -C.translateX, u.value.width = l.value.width + i.value.x + C.translateX), u.value.width > I && (u.value.width = I), u.value.height > U && (u.value.height = U);
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
647
|
}
|
|
@@ -649,8 +649,8 @@ function da(e, t) {
|
|
|
649
649
|
if (!a.value || !l.value || !i.value || !s.value)
|
|
650
650
|
return;
|
|
651
651
|
C.subtract(a.value);
|
|
652
|
-
const I = C.x,
|
|
653
|
-
s.value.n ? (r.value.y = i.value.y +
|
|
652
|
+
const I = C.x, U = C.y;
|
|
653
|
+
s.value.n ? (r.value.y = i.value.y + U, u.value.height = l.value.height - U) : s.value.s && (u.value.height = l.value.height + U), s.value.e ? u.value.width = l.value.width + I : s.value.w && (u.value.width = l.value.width - I, r.value.x = i.value.x + I), T(), k(), L();
|
|
654
654
|
}
|
|
655
655
|
function x(C) {
|
|
656
656
|
if (!p.value)
|
|
@@ -663,7 +663,7 @@ function da(e, t) {
|
|
|
663
663
|
const {
|
|
664
664
|
width: C,
|
|
665
665
|
height: I,
|
|
666
|
-
x:
|
|
666
|
+
x: U,
|
|
667
667
|
y: N
|
|
668
668
|
} = n.value.getBoundingClientRect(), ee = we.getTransformInfo(n.value);
|
|
669
669
|
return {
|
|
@@ -672,7 +672,7 @@ function da(e, t) {
|
|
|
672
672
|
height: I
|
|
673
673
|
},
|
|
674
674
|
position: {
|
|
675
|
-
x:
|
|
675
|
+
x: U - ee.x,
|
|
676
676
|
y: N - ee.y
|
|
677
677
|
}
|
|
678
678
|
};
|
|
@@ -729,8 +729,8 @@ function da(e, t) {
|
|
|
729
729
|
}
|
|
730
730
|
function W(C = !0) {
|
|
731
731
|
document.body.click();
|
|
732
|
-
const I = o.value || document.body,
|
|
733
|
-
C && N && (c.value = F(), c.value.transform = N.style.transform),
|
|
732
|
+
const I = o.value || document.body, U = ft.getCurrent(I), N = n.value;
|
|
733
|
+
C && N && (c.value = F(), c.value.transform = N.style.transform), U && N && (u.value = U, u.value.height -= 14, u.value.width -= 14, N.style.height = u.value.height + "px", N.style.width = u.value.width + "px", N.style.left = "7px", N.style.top = "7px", N.style.transform = "", m.value = {
|
|
734
734
|
size: u.value,
|
|
735
735
|
position: {
|
|
736
736
|
x: 0,
|
|
@@ -741,17 +741,17 @@ function da(e, t) {
|
|
|
741
741
|
function $() {
|
|
742
742
|
var C, I;
|
|
743
743
|
if (document.body.click(), c.value) {
|
|
744
|
-
const
|
|
744
|
+
const U = {
|
|
745
745
|
width: c.value.size.width || 0,
|
|
746
746
|
height: c.value.size.height || 0
|
|
747
747
|
}, N = {
|
|
748
|
-
x: (window.innerWidth -
|
|
749
|
-
y: (window.innerHeight -
|
|
748
|
+
x: (window.innerWidth - U.width) / 2,
|
|
749
|
+
y: (window.innerHeight - U.height) / 2
|
|
750
750
|
};
|
|
751
|
-
(C = u.value) == null || C.set(
|
|
751
|
+
(C = u.value) == null || C.set(U), (I = r.value) == null || I.set(N);
|
|
752
752
|
const ee = n.value;
|
|
753
|
-
ee.style.height =
|
|
754
|
-
size:
|
|
753
|
+
ee.style.height = U.height + "px", ee.style.width = U.width + "px", ee.style.left = `${N.x}px`, ee.style.top = `${N.y}px`, ee.style.transform = "", m.value = {
|
|
754
|
+
size: U,
|
|
755
755
|
position: N
|
|
756
756
|
}, v.value = e.draggable, B.value = !1;
|
|
757
757
|
}
|
|
@@ -762,9 +762,9 @@ function da(e, t) {
|
|
|
762
762
|
if (C) {
|
|
763
763
|
const {
|
|
764
764
|
width: I,
|
|
765
|
-
height:
|
|
765
|
+
height: U
|
|
766
766
|
} = C;
|
|
767
|
-
n.value.style.left = `${(window.innerWidth - I) / 2}px`, n.value.style.top = `${(window.innerHeight -
|
|
767
|
+
n.value.style.left = `${(window.innerWidth - I) / 2}px`, n.value.style.top = `${(window.innerHeight - U) / 2}px`, n.value.style.transform = "";
|
|
768
768
|
}
|
|
769
769
|
}
|
|
770
770
|
}
|
|
@@ -939,7 +939,7 @@ const pt = /* @__PURE__ */ tt({
|
|
|
939
939
|
boundingElement: j,
|
|
940
940
|
resizedEventParam: C,
|
|
941
941
|
allowDrag: I,
|
|
942
|
-
unWindowResizeHandle:
|
|
942
|
+
unWindowResizeHandle: U,
|
|
943
943
|
moveToCenter: N
|
|
944
944
|
} = da(e), {
|
|
945
945
|
registerDraggle: ee
|
|
@@ -994,10 +994,10 @@ const pt = /* @__PURE__ */ tt({
|
|
|
994
994
|
height: u.value ? "auto" : `${o.value}px`
|
|
995
995
|
};
|
|
996
996
|
return e.mask || (M.pointerEvents = "auto"), M;
|
|
997
|
-
}),
|
|
997
|
+
}), X = () => Eo() || 1040, se = R(() => {
|
|
998
998
|
const M = {
|
|
999
999
|
display: "block",
|
|
1000
|
-
zIndex:
|
|
1000
|
+
zIndex: X()
|
|
1001
1001
|
};
|
|
1002
1002
|
return e.mask || (M.pointerEvents = "none", M.backgroundColor = "transparent"), T.value && (M.backgroundColor = "transparent"), M;
|
|
1003
1003
|
}), Ne = R(() => ({
|
|
@@ -1047,7 +1047,7 @@ const pt = /* @__PURE__ */ tt({
|
|
|
1047
1047
|
}), vt(() => {
|
|
1048
1048
|
G.value && !O.value && (O.value = G.value.parentElement, j.value = O.value, ee(y.value, G.value, j.value)), Z.value && document.body.classList.add("modal-open"), Ge = ma(e, t), Oe = pa(e, t);
|
|
1049
1049
|
}), bt(() => {
|
|
1050
|
-
|
|
1050
|
+
U && U(), Ge && Ge.remove(), Oe && Oe.remove();
|
|
1051
1051
|
}), t.expose({
|
|
1052
1052
|
modalElementRef: G,
|
|
1053
1053
|
updateModalOptions: de,
|
|
@@ -1679,7 +1679,7 @@ function Qn(e, t, n) {
|
|
|
1679
1679
|
$.readonly = $.readonly === void 0 ? _() : $.readonly;
|
|
1680
1680
|
const j = D.type === "cascade" ? p(D.properties, v, B, E, O, L, k) : [], C = !0;
|
|
1681
1681
|
let I = s(D, k);
|
|
1682
|
-
const
|
|
1682
|
+
const U = R({
|
|
1683
1683
|
get() {
|
|
1684
1684
|
if (x.value) {
|
|
1685
1685
|
if (["class", "style"].find((ye) => ye === F) && !I && (I = o.get("/converter/appearance.converter") || null), I && I.convertFrom)
|
|
@@ -1692,7 +1692,7 @@ function Qn(e, t, n) {
|
|
|
1692
1692
|
set(ae) {
|
|
1693
1693
|
x.value += 1, I && I.convertTo ? (I.convertTo(E, b, ae, O, L), I.convertTo(B, b, ae, O, L)) : (E[b] = ae, B[b] = ae);
|
|
1694
1694
|
}
|
|
1695
|
-
}), { refreshPanelAfterChanged: N, description: ee, isExpand: le, parentPropertyID: fe } = D, Z = { propertyID: F, propertyName: y, propertyType: G, propertyValue:
|
|
1695
|
+
}), { refreshPanelAfterChanged: N, description: ee, isExpand: le, parentPropertyID: fe } = D, Z = { propertyID: F, propertyName: y, propertyType: G, propertyValue: U, editor: $, visible: J, readonly: _, cascadeConfig: j, hideCascadeTitle: C, refreshPanelAfterChanged: N, description: ee, isExpand: le, parentPropertyID: fe };
|
|
1696
1696
|
return v[F] = Z, Z;
|
|
1697
1697
|
});
|
|
1698
1698
|
}
|
|
@@ -2092,10 +2092,10 @@ var Qa = { exports: {} };
|
|
|
2092
2092
|
function d(y, G) {
|
|
2093
2093
|
var W = arguments.length;
|
|
2094
2094
|
W === 1 && Array.isArray(y) === !1 && (G = y, y = []);
|
|
2095
|
-
var $, J, _, j, C, I,
|
|
2096
|
-
|
|
2095
|
+
var $, J, _, j, C, I, U, N, ee, le = null, fe, Z, ae = !1, ye = 0, oe, X = G || {};
|
|
2096
|
+
X.moves === void 0 && (X.moves = O), X.accepts === void 0 && (X.accepts = O), X.invalid === void 0 && (X.invalid = We), X.containers === void 0 && (X.containers = y || []), X.isContainer === void 0 && (X.isContainer = E), X.copy === void 0 && (X.copy = !1), X.copySortSource === void 0 && (X.copySortSource = !1), X.revertOnSpill === void 0 && (X.revertOnSpill = !1), X.removeOnSpill === void 0 && (X.removeOnSpill = !1), X.direction === void 0 && (X.direction = "vertical"), X.ignoreInputTextSelection === void 0 && (X.ignoreInputTextSelection = !0), X.mirrorContainer === void 0 && (X.mirrorContainer = s.body);
|
|
2097
2097
|
var se = i({
|
|
2098
|
-
containers:
|
|
2098
|
+
containers: X.containers,
|
|
2099
2099
|
start: Oe,
|
|
2100
2100
|
end: Fe,
|
|
2101
2101
|
cancel: M,
|
|
@@ -2104,9 +2104,9 @@ var Qa = { exports: {} };
|
|
|
2104
2104
|
canMove: Ge,
|
|
2105
2105
|
dragging: !1
|
|
2106
2106
|
});
|
|
2107
|
-
return
|
|
2107
|
+
return X.removeOnSpill === !0 && se.on("over", K).on("out", ce), De(), se;
|
|
2108
2108
|
function Ne(S) {
|
|
2109
|
-
return se.containers.indexOf(S) !== -1 ||
|
|
2109
|
+
return se.containers.indexOf(S) !== -1 || X.isContainer(S);
|
|
2110
2110
|
}
|
|
2111
2111
|
function De(S) {
|
|
2112
2112
|
var P = S ? "remove" : "add";
|
|
@@ -2140,8 +2140,8 @@ var Qa = { exports: {} };
|
|
|
2140
2140
|
Re({});
|
|
2141
2141
|
return;
|
|
2142
2142
|
}
|
|
2143
|
-
if (!(S.clientX !== void 0 && Math.abs(S.clientX - j) <= (
|
|
2144
|
-
if (
|
|
2143
|
+
if (!(S.clientX !== void 0 && Math.abs(S.clientX - j) <= (X.slideFactorX || 0) && S.clientY !== void 0 && Math.abs(S.clientY - C) <= (X.slideFactorY || 0))) {
|
|
2144
|
+
if (X.ignoreInputTextSelection) {
|
|
2145
2145
|
var P = q("clientX", S) || 0, V = q("clientY", S) || 0, Q = s.elementFromPoint(P, V);
|
|
2146
2146
|
if (b(Q))
|
|
2147
2147
|
return;
|
|
@@ -2154,11 +2154,11 @@ var Qa = { exports: {} };
|
|
|
2154
2154
|
function de(S) {
|
|
2155
2155
|
if (!(se.dragging && $) && !Ne(S)) {
|
|
2156
2156
|
for (var P = S; T(S) && Ne(T(S)) === !1; )
|
|
2157
|
-
if (
|
|
2157
|
+
if (X.invalid(S, P) || (S = T(S), !S))
|
|
2158
2158
|
return;
|
|
2159
2159
|
var V = T(S);
|
|
2160
|
-
if (V && !
|
|
2161
|
-
var Q =
|
|
2160
|
+
if (V && !X.invalid(S, P)) {
|
|
2161
|
+
var Q = X.moves(S, V, P, F(S));
|
|
2162
2162
|
if (Q)
|
|
2163
2163
|
return {
|
|
2164
2164
|
item: S,
|
|
@@ -2175,7 +2175,7 @@ var Qa = { exports: {} };
|
|
|
2175
2175
|
P && He(P);
|
|
2176
2176
|
}
|
|
2177
2177
|
function He(S) {
|
|
2178
|
-
Tt(S.item, S.source) && (N = S.item.cloneNode(!0), se.emit("cloned", N, S.item, "copy")), J = S.source, _ = S.item, I =
|
|
2178
|
+
Tt(S.item, S.source) && (N = S.item.cloneNode(!0), se.emit("cloned", N, S.item, "copy")), J = S.source, _ = S.item, I = U = F(S.item), se.dragging = !0, se.emit("drag", _, J);
|
|
2179
2179
|
}
|
|
2180
2180
|
function We() {
|
|
2181
2181
|
return !1;
|
|
@@ -2192,12 +2192,12 @@ var Qa = { exports: {} };
|
|
|
2192
2192
|
function Re(S) {
|
|
2193
2193
|
if ($e(), !!se.dragging) {
|
|
2194
2194
|
var P = N || _, V = q("clientX", S) || 0, Q = q("clientY", S) || 0, re = B($, V, Q), ie = he(re, V, Q);
|
|
2195
|
-
ie && (N &&
|
|
2195
|
+
ie && (N && X.copySortSource || !N || ie !== J) ? _e(P, ie) : X.removeOnSpill ? Le() : M();
|
|
2196
2196
|
}
|
|
2197
2197
|
}
|
|
2198
2198
|
function _e(S, P) {
|
|
2199
2199
|
var V = T(S);
|
|
2200
|
-
N &&
|
|
2200
|
+
N && X.copySortSource && P === J && V.removeChild(_), ge(P) ? se.emit("cancel", S, J) : se.emit("drop", S, P, J, U), ne();
|
|
2201
2201
|
}
|
|
2202
2202
|
function Le() {
|
|
2203
2203
|
if (se.dragging) {
|
|
@@ -2207,17 +2207,17 @@ var Qa = { exports: {} };
|
|
|
2207
2207
|
}
|
|
2208
2208
|
function M(S) {
|
|
2209
2209
|
if (se.dragging) {
|
|
2210
|
-
var P = arguments.length > 0 ? S :
|
|
2211
|
-
re === !1 && P && (N ? Q && Q.removeChild(N) : J.insertBefore(V, I)), re || P ? se.emit("cancel", V, J, J) : se.emit("drop", V, Q, J,
|
|
2210
|
+
var P = arguments.length > 0 ? S : X.revertOnSpill, V = N || _, Q = T(V), re = ge(Q);
|
|
2211
|
+
re === !1 && P && (N ? Q && Q.removeChild(N) : J.insertBefore(V, I)), re || P ? se.emit("cancel", V, J, J) : se.emit("drop", V, Q, J, U), ne();
|
|
2212
2212
|
}
|
|
2213
2213
|
}
|
|
2214
2214
|
function ne() {
|
|
2215
2215
|
var S = N || _;
|
|
2216
|
-
$e(), Je(), nt(), S && r.rm(S, "gu-transit"), ee && clearTimeout(ee), se.dragging = !1, le && se.emit("out", S, le, J), se.emit("dragend", S, ye), J = _ = N = I =
|
|
2216
|
+
$e(), Je(), nt(), S && r.rm(S, "gu-transit"), ee && clearTimeout(ee), se.dragging = !1, le && se.emit("out", S, le, J), se.emit("dragend", S, ye), J = _ = N = I = U = ee = le = null;
|
|
2217
2217
|
}
|
|
2218
2218
|
function ge(S, P) {
|
|
2219
2219
|
var V;
|
|
2220
|
-
return P !== void 0 ? V = P : $ ? V =
|
|
2220
|
+
return P !== void 0 ? V = P : $ ? V = U : V = F(N || _), S === J && V === I;
|
|
2221
2221
|
}
|
|
2222
2222
|
function he(S, P, V) {
|
|
2223
2223
|
for (var Q = S; Q && !re(); )
|
|
@@ -2228,7 +2228,7 @@ var Qa = { exports: {} };
|
|
|
2228
2228
|
if (ie === !1)
|
|
2229
2229
|
return !1;
|
|
2230
2230
|
var Pe = Qe(Q, S), Be = gt(Q, Pe, P, V), Ee = ge(Q, Be);
|
|
2231
|
-
return Ee ? !0 :
|
|
2231
|
+
return Ee ? !0 : X.accepts(_, Q, J, Be);
|
|
2232
2232
|
}
|
|
2233
2233
|
}
|
|
2234
2234
|
function Ve(S) {
|
|
@@ -2240,14 +2240,14 @@ var Qa = { exports: {} };
|
|
|
2240
2240
|
var Q = N || _, re = B($, P, V), ie = he(re, P, V), Pe = ie !== null && ie !== le;
|
|
2241
2241
|
(Pe || ie === null) && (Me(), le = ie, Ue()), St(re, V);
|
|
2242
2242
|
var Be = T(Q);
|
|
2243
|
-
if (ie === J && N && !
|
|
2243
|
+
if (ie === J && N && !X.copySortSource) {
|
|
2244
2244
|
Be && Be.removeChild(Q);
|
|
2245
2245
|
return;
|
|
2246
2246
|
}
|
|
2247
2247
|
var Ee, qe = Qe(ie, re);
|
|
2248
2248
|
if (ae = it(qe, ie), qe !== null)
|
|
2249
2249
|
Ee = gt(ie, qe, P, V);
|
|
2250
|
-
else if (
|
|
2250
|
+
else if (X.revertOnSpill === !0 && !N)
|
|
2251
2251
|
Ee = I, ie = J;
|
|
2252
2252
|
else {
|
|
2253
2253
|
N && Be && Be.removeChild(Q), N && Z && (Z.style.display = "none");
|
|
@@ -2265,7 +2265,7 @@ var Qa = { exports: {} };
|
|
|
2265
2265
|
}
|
|
2266
2266
|
}
|
|
2267
2267
|
function w(S, P, V) {
|
|
2268
|
-
(S === P || S === F(P)) && (
|
|
2268
|
+
(S === P || S === F(P)) && (U = F(P)), (S === null && V || S !== P && S !== F(P)) && (U = S);
|
|
2269
2269
|
}
|
|
2270
2270
|
function K(S) {
|
|
2271
2271
|
r.rm(S, "gu-hide");
|
|
@@ -2274,17 +2274,17 @@ var Qa = { exports: {} };
|
|
|
2274
2274
|
se.dragging && r.add(S, "gu-hide");
|
|
2275
2275
|
}
|
|
2276
2276
|
function Y() {
|
|
2277
|
-
$ || ($ = document.createElement("div"), $.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", $.innerHTML =
|
|
2277
|
+
$ || ($ = document.createElement("div"), $.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", $.innerHTML = X.getMirrorText && X.getMirrorText(_) || "控件", r.add($, "gu-mirror"), X.mirrorContainer.appendChild($), c(p, "add", "mousemove", Ve), r.add(X.mirrorContainer, "gu-unselectable"), se.emit("cloned", $, _, "mirror"));
|
|
2278
2278
|
}
|
|
2279
2279
|
function pe() {
|
|
2280
2280
|
if (Z = document.createElement("div"), r.add(Z, "gu-insertion"), _) {
|
|
2281
2281
|
var S = _.getBoundingClientRect();
|
|
2282
2282
|
Z.style.left = S.left + "px", Z.style.top = S.top + "px";
|
|
2283
2283
|
}
|
|
2284
|
-
ae = !1,
|
|
2284
|
+
ae = !1, X.mirrorContainer.appendChild(Z);
|
|
2285
2285
|
}
|
|
2286
2286
|
function Je() {
|
|
2287
|
-
$ && (r.rm(
|
|
2287
|
+
$ && (r.rm(X.mirrorContainer, "gu-unselectable"), c(p, "remove", "mousemove", Ve), T($).removeChild($), $ = null);
|
|
2288
2288
|
}
|
|
2289
2289
|
function nt() {
|
|
2290
2290
|
Z && (T(Z).removeChild(Z), Z = null);
|
|
@@ -2343,7 +2343,7 @@ var Qa = { exports: {} };
|
|
|
2343
2343
|
P === _ && _ && (Z.style.display = "none");
|
|
2344
2344
|
}
|
|
2345
2345
|
function xt(S) {
|
|
2346
|
-
|
|
2346
|
+
U = null;
|
|
2347
2347
|
var P = S.lastElementChild;
|
|
2348
2348
|
if (P) {
|
|
2349
2349
|
var V = P.getBoundingClientRect();
|
|
@@ -2352,7 +2352,7 @@ var Qa = { exports: {} };
|
|
|
2352
2352
|
Z.style.display = "none";
|
|
2353
2353
|
}
|
|
2354
2354
|
function St(S, P) {
|
|
2355
|
-
if (!
|
|
2355
|
+
if (!X.mirrorContainer.contains(S) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (oe = m(S), !oe || !oe.contains(S)))
|
|
2356
2356
|
return;
|
|
2357
2357
|
const V = document.querySelector(".dgComponentSelected"), Q = oe.getBoundingClientRect();
|
|
2358
2358
|
if (P - 30 < Q.top && oe.scrollTop > 0) {
|
|
@@ -2366,7 +2366,7 @@ var Qa = { exports: {} };
|
|
|
2366
2366
|
}
|
|
2367
2367
|
}
|
|
2368
2368
|
function gt(S, P, V, Q) {
|
|
2369
|
-
var re =
|
|
2369
|
+
var re = X.direction === "horizontal", ie = X.direction === "mixed", Pe = P !== S ? Ee() : Be();
|
|
2370
2370
|
return Pe;
|
|
2371
2371
|
function Be() {
|
|
2372
2372
|
var be = S.children.length, Ue, Me, xe;
|
|
@@ -2388,7 +2388,7 @@ var Qa = { exports: {} };
|
|
|
2388
2388
|
}
|
|
2389
2389
|
}
|
|
2390
2390
|
function Tt(S, P) {
|
|
2391
|
-
return typeof
|
|
2391
|
+
return typeof X.copy == "boolean" ? X.copy : X.copy(S, P);
|
|
2392
2392
|
}
|
|
2393
2393
|
}
|
|
2394
2394
|
function m(y) {
|
|
@@ -3285,7 +3285,7 @@ const ol = /* @__PURE__ */ tt({
|
|
|
3285
3285
|
C(l);
|
|
3286
3286
|
const {
|
|
3287
3287
|
applyColumnSetting: I,
|
|
3288
|
-
removeColumnSetting:
|
|
3288
|
+
removeColumnSetting: U
|
|
3289
3289
|
} = xn(e);
|
|
3290
3290
|
e.showSetting && I(l);
|
|
3291
3291
|
const N = Sn(e, t), ee = Tn(e), {
|
|
@@ -3294,7 +3294,7 @@ const ol = /* @__PURE__ */ tt({
|
|
|
3294
3294
|
updateColumnRenderContext: Z
|
|
3295
3295
|
} = N;
|
|
3296
3296
|
le(b, ee);
|
|
3297
|
-
const ae = Bn(e, fe), ye = Fn(e, t, F, i), oe = kn(e, t, i, ye, f),
|
|
3297
|
+
const ae = Bn(e, fe), ye = Fn(e, t, F, i), oe = kn(e, t, i, ye, f), X = In(e), se = On(e, oe, X), Ne = En(e, b, oe, O, i, X, se), De = Mn(e, l, b, W, 0, Ne), {
|
|
3298
3298
|
getVisualData: Ie
|
|
3299
3299
|
} = De, Ye = Dn(e, fe), Xe = Rn(e, F), {
|
|
3300
3300
|
sidebarWidth: Ae
|
|
@@ -3321,7 +3321,7 @@ const ol = /* @__PURE__ */ tt({
|
|
|
3321
3321
|
"fv-grid-wrap-content": v.value
|
|
3322
3322
|
})), {
|
|
3323
3323
|
renderDataArea: ge
|
|
3324
|
-
} = nl(e, t, p, d, m, Ye, N, b, oe, O, ye, F, y, ve, De,
|
|
3324
|
+
} = nl(e, t, p, d, m, Ye, N, b, oe, O, ye, F, y, ve, De, X, f), {
|
|
3325
3325
|
renderGridHeader: he,
|
|
3326
3326
|
renderGridColumnResizeOverlay: Ve,
|
|
3327
3327
|
shouldShowHeader: w
|
|
@@ -3466,7 +3466,7 @@ const ol = /* @__PURE__ */ tt({
|
|
|
3466
3466
|
return L.value;
|
|
3467
3467
|
}
|
|
3468
3468
|
me(() => e.showSetting, (A, te) => {
|
|
3469
|
-
A !== te && (A ? I(l) :
|
|
3469
|
+
A !== te && (A ? I(l) : U(l), P(l.value));
|
|
3470
3470
|
});
|
|
3471
3471
|
function Vt(A) {
|
|
3472
3472
|
return f.value.filter((te) => A.includes(te.raw[e.idField]));
|
|
@@ -4180,7 +4180,7 @@ function ti(e, t, n, o) {
|
|
|
4180
4180
|
}, [u.value])]);
|
|
4181
4181
|
}
|
|
4182
4182
|
function ni(e, t, n, o, a) {
|
|
4183
|
-
const l = h(e.type), i = h(e.buttons), u = h(e.exceptionInfo), r = h(a.ok || e.okButtonText), s = h(a.cancel || e.cancelButtonText), p = h(e.showCancelButton), d = h(e.showOkButton), m = R(() => !!(i.value && i.value.length)), f = R(() => u.value && u.value.
|
|
4183
|
+
const l = h(e.type), i = h(e.buttons), u = h(e.exceptionInfo), r = h(a.ok || e.okButtonText), s = h(a.cancel || e.cancelButtonText), p = h(e.showCancelButton), d = h(e.showOkButton), m = R(() => !!(i.value && i.value.length)), f = R(() => !!(u.value && u.value.detail)), c = R(() => !(i.value && i.value.length) && (d.value || p.value)), v = ti(e, n, o, a);
|
|
4184
4184
|
r.value === "关闭" ? r.value = a.close : r.value === "知道了" && (r.value = a.exception.roger);
|
|
4185
4185
|
function B(O) {
|
|
4186
4186
|
l.value === "question" && t.emit("reject"), t.emit("close");
|
|
@@ -4567,7 +4567,7 @@ function ri(e, t, n, o) {
|
|
|
4567
4567
|
if (!!t.slots.default) {
|
|
4568
4568
|
if (!f && !l.value && !await i())
|
|
4569
4569
|
return;
|
|
4570
|
-
l.value = !l.value, await mt(), r();
|
|
4570
|
+
l.value = !l.value, l.value && (await mt(), r());
|
|
4571
4571
|
}
|
|
4572
4572
|
}
|
|
4573
4573
|
async function p(f = !1) {
|
|
@@ -5037,7 +5037,7 @@ function mi(e, t, n, o, a, l, i, u, r, s, p, d, m, f, c, v) {
|
|
|
5037
5037
|
gridRowClass: j,
|
|
5038
5038
|
onClickRow: C,
|
|
5039
5039
|
onMouseoverRow: I,
|
|
5040
|
-
onMouseoutRow:
|
|
5040
|
+
onMouseoutRow: U
|
|
5041
5041
|
} = d, {
|
|
5042
5042
|
onClickCell: N
|
|
5043
5043
|
} = r, {
|
|
@@ -5049,7 +5049,7 @@ function mi(e, t, n, o, a, l, i, u, r, s, p, d, m, f, c, v) {
|
|
|
5049
5049
|
} = u, {
|
|
5050
5050
|
navigateOnKeyUp: ae,
|
|
5051
5051
|
navigateOnKeyDown: ye
|
|
5052
|
-
} = p, oe = (w) => (w || []).some((K) => Fo(K) ? !(K.type === ko || K.type === lt && !oe(K.children)) : !0) ? w : null,
|
|
5052
|
+
} = p, oe = (w) => (w || []).some((K) => Fo(K) ? !(K.type === ko || K.type === lt && !oe(K.children)) : !0) ? w : null, X = (w) => {
|
|
5053
5053
|
var K, ce, Y;
|
|
5054
5054
|
return ((ce = (K = w.column) == null ? void 0 : K.editor) == null ? void 0 : ce.type) === "switch" || ((Y = w.column) == null ? void 0 : Y.dataType) === "boolean" ? {
|
|
5055
5055
|
display: "flex",
|
|
@@ -5157,7 +5157,7 @@ function mi(e, t, n, o, a, l, i, u, r, s, p, d, m, f, c, v) {
|
|
|
5157
5157
|
}
|
|
5158
5158
|
function $e(w, K) {
|
|
5159
5159
|
return !B(w.data) && !E(w.data) ? w.data.toString() : w.data, w.mode === Ho.editing ? g("div", {
|
|
5160
|
-
style:
|
|
5160
|
+
style: X(w)
|
|
5161
5161
|
}, [w.getEditor(w)]) : w.column.columnTemplate ? w.column.columnTemplate(w, K) : w.formatter ? We(w, K) : Fe(w);
|
|
5162
5162
|
}
|
|
5163
5163
|
function Re(w, K, ce) {
|
|
@@ -5168,7 +5168,7 @@ function mi(e, t, n, o, a, l, i, u, r, s, p, d, m, f, c, v) {
|
|
|
5168
5168
|
style: F(w),
|
|
5169
5169
|
onClick: (Y) => C(Y, w),
|
|
5170
5170
|
onMouseover: (Y) => I(Y, w),
|
|
5171
|
-
onMouseout: (Y) =>
|
|
5171
|
+
onMouseout: (Y) => U(Y, w)
|
|
5172
5172
|
}, [Object.values(w.data).filter((Y) => K[Y.field] && Y.rowSpan === 1).map((Y) => {
|
|
5173
5173
|
var Je, nt;
|
|
5174
5174
|
const pe = t.slots.cellTemplate && oe(t.slots.cellTemplate({
|
|
@@ -5278,13 +5278,13 @@ const po = /* @__PURE__ */ tt({
|
|
|
5278
5278
|
removeColumnSetting: C
|
|
5279
5279
|
} = xn(e);
|
|
5280
5280
|
e.showSetting && j(l);
|
|
5281
|
-
const I = Sn(e, t),
|
|
5281
|
+
const I = Sn(e, t), U = Tn(e), {
|
|
5282
5282
|
applyColumnSorter: N,
|
|
5283
5283
|
columnContext: ee,
|
|
5284
5284
|
updateColumnRenderContext: le
|
|
5285
5285
|
} = I;
|
|
5286
|
-
N(k,
|
|
5287
|
-
const fe = Bn(e, ee), Z = Fn(e, t, x, i), ae = kn(e, t, i, Z, m), ye = In(e), oe = On(e, ae, ye),
|
|
5286
|
+
N(k, U);
|
|
5287
|
+
const fe = Bn(e, ee), Z = Fn(e, t, x, i), ae = kn(e, t, i, Z, m), ye = In(e), oe = On(e, ae, ye), X = En(e, k, ae, E, i, ye, oe), se = $o(e, i, oe, X), Ne = Lo(e, i, oe, X), De = Mn(e, l, k, W, n, X, se, Ne), {
|
|
5288
5288
|
getVisualData: Ie
|
|
5289
5289
|
} = De, Ye = Vo(ee), Xe = Dn(e, ee), Ae = Rn(e, x), {
|
|
5290
5290
|
sidebarWidth: ve,
|
|
@@ -5317,7 +5317,7 @@ const po = /* @__PURE__ */ tt({
|
|
|
5317
5317
|
renderGridHeader: w,
|
|
5318
5318
|
renderGridColumnResizeOverlay: K,
|
|
5319
5319
|
shouldShowHeader: ce
|
|
5320
|
-
} = Ln(e, t, r, p, d, I, k, ne, M, B, Le, Re, fe, x, Ae,
|
|
5320
|
+
} = Ln(e, t, r, p, d, I, k, ne, M, B, Le, Re, fe, x, Ae, U, de, We, m), {
|
|
5321
5321
|
renderDataGridPagination: Y
|
|
5322
5322
|
} = _n(e, t, k, de, T, x), {
|
|
5323
5323
|
renderDataGridSidebar: pe
|
|
@@ -5376,7 +5376,7 @@ const po = /* @__PURE__ */ tt({
|
|
|
5376
5376
|
});
|
|
5377
5377
|
}
|
|
5378
5378
|
function ie(z) {
|
|
5379
|
-
z && (l.value = z, re(l.value), _(l), e.showSetting && j(l), le(l.value), N(k,
|
|
5379
|
+
z && (l.value = z, re(l.value), _(l), e.showSetting && j(l), le(l.value), N(k, U), _e());
|
|
5380
5380
|
}
|
|
5381
5381
|
me(() => e.showSetting, (z, ue) => {
|
|
5382
5382
|
z !== ue && ie(l.value);
|
|
@@ -5499,7 +5499,7 @@ const po = /* @__PURE__ */ tt({
|
|
|
5499
5499
|
dataView: k,
|
|
5500
5500
|
useFilterComposition: B,
|
|
5501
5501
|
useFitColumnComposition: Re,
|
|
5502
|
-
useSortComposition:
|
|
5502
|
+
useSortComposition: U,
|
|
5503
5503
|
useVirtualScrollComposition: de
|
|
5504
5504
|
}), () => g("div", {
|
|
5505
5505
|
ref: u,
|
|
@@ -5593,9 +5593,9 @@ const Ut = /* @__PURE__ */ tt({
|
|
|
5593
5593
|
props: vo,
|
|
5594
5594
|
emits: ["submitModal", "update:modelValue"],
|
|
5595
5595
|
setup(e, t) {
|
|
5596
|
-
const n = '<i class="f-icon f-icon-lookup"></i>', o = h(), a = h(e.modelValue || {}), l = h([]), i = h(e.fromData.dataSource || []), u = h([]), r = e.fromData.repositoryToken ? Rt(e.fromData.repositoryToken) : null, s = e.toData.repositoryToken ? Rt(e.toData.repositoryToken) : null, p = Rt(uo), d = (j) => ((j.raw.$type !== "SimpleField" || j.raw.selectable === !1) && (j.disabled = !0), j), m = R(() => Yt(i.value)), f = R(() => Yt(u.value)), c = (j, C, I,
|
|
5596
|
+
const n = '<i class="f-icon f-icon-lookup"></i>', o = h(), a = h(e.modelValue || {}), l = h([]), i = h(e.fromData.dataSource || []), u = h([]), r = e.fromData.repositoryToken ? Rt(e.fromData.repositoryToken) : null, s = e.toData.repositoryToken ? Rt(e.toData.repositoryToken) : null, p = Rt(uo), d = (j) => ((j.raw.$type !== "SimpleField" || j.raw.selectable === !1) && (j.disabled = !0), j), m = R(() => Yt(i.value)), f = R(() => Yt(u.value)), c = (j, C, I, U) => {
|
|
5597
5597
|
var le, fe;
|
|
5598
|
-
const N = ((le = j.value.find((Z) => Z[
|
|
5598
|
+
const N = ((le = j.value.find((Z) => Z[U] === C)) == null ? void 0 : le[I || "name"]) || "", ee = ((fe = j.value.find((Z) => Z[U] === C)) == null ? void 0 : fe[U || "code"]) || "";
|
|
5599
5599
|
return N && ee ? `${N}[${ee}]` : "";
|
|
5600
5600
|
}, v = [{
|
|
5601
5601
|
field: "sourceField",
|
|
@@ -5634,7 +5634,7 @@ const Ut = /* @__PURE__ */ tt({
|
|
|
5634
5634
|
customRowStatus: d,
|
|
5635
5635
|
displayFormatter: e.toData.displayFormatter
|
|
5636
5636
|
},
|
|
5637
|
-
formatter: (j, C) => C.raw.targetField ? (C.raw.targetField.indexOf(",") > -1 ? C.raw.targetField.split(",") : [C.raw.targetField]).map((
|
|
5637
|
+
formatter: (j, C) => C.raw.targetField ? (C.raw.targetField.indexOf(",") > -1 ? C.raw.targetField.split(",") : [C.raw.targetField]).map((U) => c(f, U, e.toData.textField, e.toData.valueField)).join(",") : ""
|
|
5638
5638
|
}];
|
|
5639
5639
|
function B() {
|
|
5640
5640
|
return Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
|
|
@@ -5662,7 +5662,6 @@ const Ut = /* @__PURE__ */ tt({
|
|
|
5662
5662
|
};
|
|
5663
5663
|
}
|
|
5664
5664
|
function b() {
|
|
5665
|
-
var N;
|
|
5666
5665
|
if (!l.value.length) {
|
|
5667
5666
|
p.warning("请选择要删除的映射字段!");
|
|
5668
5667
|
return;
|
|
@@ -5674,8 +5673,8 @@ const Ut = /* @__PURE__ */ tt({
|
|
|
5674
5673
|
const C = l.value[0].id;
|
|
5675
5674
|
if (o.value.removeDataItemById(C), l.value = [], !O.value.length)
|
|
5676
5675
|
return;
|
|
5677
|
-
const I = Math.min(j, O.value.length - 1),
|
|
5678
|
-
|
|
5676
|
+
const I = Math.min(j, O.value.length - 1), U = O.value[I], N = U == null ? void 0 : U.id;
|
|
5677
|
+
N && (o.value.selectItemById(N), l.value = [U]);
|
|
5679
5678
|
}
|
|
5680
5679
|
function x() {
|
|
5681
5680
|
Ft.question("确定要清空所有映射字段吗?", "", () => {
|
|
@@ -5743,8 +5742,8 @@ const Ut = /* @__PURE__ */ tt({
|
|
|
5743
5742
|
}), !1;
|
|
5744
5743
|
const C = [], I = r ? r.getData(e.editorParams) : Promise.resolve(i.value);
|
|
5745
5744
|
C.push(I), typeof e.toData.dataSource == "function" ? u.value = e.toData.dataSource() : u.value = e.toData.dataSource;
|
|
5746
|
-
const
|
|
5747
|
-
return C.push(
|
|
5745
|
+
const U = s ? s.getData(e.editorParams) : Promise.resolve(u.value);
|
|
5746
|
+
return C.push(U), Promise.all(C).then(([le, fe]) => (i.value = le, u.value = fe, v[0].editor.data = le, v[1].editor.data = fe, !0));
|
|
5748
5747
|
}
|
|
5749
5748
|
function W(j, C) {
|
|
5750
5749
|
j.forEach((I) => {
|
|
@@ -5756,10 +5755,10 @@ const Ut = /* @__PURE__ */ tt({
|
|
|
5756
5755
|
column: C,
|
|
5757
5756
|
rawData: I
|
|
5758
5757
|
} = j, {
|
|
5759
|
-
field:
|
|
5758
|
+
field: U,
|
|
5760
5759
|
editor: N
|
|
5761
5760
|
} = C;
|
|
5762
|
-
if (
|
|
5761
|
+
if (U === "sourceField" && N) {
|
|
5763
5762
|
const ee = O.value.filter((le) => le.sourceField !== I.sourceField).map((le) => le.sourceField);
|
|
5764
5763
|
W(i.value, ee), N.data = Nt(i.value);
|
|
5765
5764
|
}
|
|
@@ -5817,7 +5816,7 @@ const Ut = /* @__PURE__ */ tt({
|
|
|
5817
5816
|
columns: v,
|
|
5818
5817
|
data: O.value,
|
|
5819
5818
|
newDataItem: T,
|
|
5820
|
-
|
|
5819
|
+
onSelectionChange: y,
|
|
5821
5820
|
beforeEditCell: $
|
|
5822
5821
|
}, null)])])]
|
|
5823
5822
|
});
|