pds-dev-kit-web-test 2.5.247 → 2.5.248
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.
@@ -1034,10 +1034,9 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
1034
1034
|
e.stopPropagation();
|
1035
1035
|
e.preventDefault();
|
1036
1036
|
onContextMenuCB(matchedCB.id, e);
|
1037
|
-
} }, { children: (0, jsx_runtime_1.jsxs)(ErrorBoundary_1.ErrorBoundary, { children: [(0, jsx_runtime_1.jsx)(ComponentBlockMatcher_1.default, { cbProps: matchedCB, device: device, rowHeight: rowHeight, index: index }), each.x < 0 && (0, jsx_runtime_1.jsx)("div", __assign({ className: "error-start-x" }, { children: "X" })), each.y < 0 && (0, jsx_runtime_1.jsx)("div", __assign({ className: "error-start-y" }, { children: "Y" })), (device === 'MOBILE' ? each.x + each.w > 8 : each.x + each.w > 24) && ((0, jsx_runtime_1.jsx)("div", __assign({ className: "error-cols" }, { children: "C" }))),
|
1037
|
+
} }, { children: (0, jsx_runtime_1.jsxs)(ErrorBoundary_1.ErrorBoundary, { children: [(0, jsx_runtime_1.jsx)(ComponentBlockMatcher_1.default, { cbProps: matchedCB, device: device, rowHeight: rowHeight, index: index }), each.x < 0 && (0, jsx_runtime_1.jsx)("div", __assign({ className: "error-start-x" }, { children: "X" })), each.y < 0 && (0, jsx_runtime_1.jsx)("div", __assign({ className: "error-start-y" }, { children: "Y" })), (device === 'MOBILE' ? each.x + each.w > 8 : each.x + each.w > 24) && ((0, jsx_runtime_1.jsx)("div", __assign({ className: "error-cols" }, { children: "C" }))), each.h < 0 && (0, jsx_runtime_1.jsx)("div", __assign({ className: "error-rows" }, { children: "R" })), (each.x < 0 ||
|
1038
1038
|
each.y < 0 ||
|
1039
1039
|
each.x + each.w > (device === 'MOBILE' ? 8 : 24) ||
|
1040
|
-
each.y < 0 ||
|
1041
1040
|
each.h < 0) && ((0, jsx_runtime_1.jsx)("button", __assign({ type: "button", style: { position: 'absolute', left: 70, top: -10, zIndex: 9999999 }, onClick: function (e) {
|
1042
1041
|
e.stopPropagation();
|
1043
1042
|
alert("ID: ".concat(each.i, "\nX: ").concat(each.x, "\nY: ").concat(each.y, "\nW: ").concat(each.w, "\nH: ").concat(each.h));
|