pds-dev-kit-web-test 2.7.103 → 2.7.104
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.
@@ -95,24 +95,13 @@ function RenderPedigreeRecursively(_a) {
|
|
95
95
|
var relativeGridArea_1 = parentGroupArea
|
96
96
|
? calculateRelativeGridArea(gridArea_1, parentGroupArea)
|
97
97
|
: gridArea_1;
|
98
|
-
return ((0, jsx_runtime_1.
|
98
|
+
return ((0, jsx_runtime_1.jsx)(S_GroupItem, __assign({ cols: bounding.w, sectionRow: bounding.h, rowHeight: rowHeight, selectedRows: [], style: {
|
99
99
|
gridArea: gridAreaObjToString(relativeGridArea_1),
|
100
100
|
display: 'grid',
|
101
101
|
zIndex: device === 'DESKTOP'
|
102
102
|
? block.zOrderDesktopInternal
|
103
103
|
: block.zOrderMobileInternal
|
104
|
-
} }, { children:
|
105
|
-
position: 'absolute',
|
106
|
-
top: 4,
|
107
|
-
left: 4,
|
108
|
-
background: 'rgba(0,0,0,0.6)',
|
109
|
-
color: '#fff',
|
110
|
-
padding: '2px 6px',
|
111
|
-
borderRadius: '4px',
|
112
|
-
fontSize: '12px',
|
113
|
-
zIndex: 1,
|
114
|
-
pointerEvents: 'none'
|
115
|
-
} }, { children: block.blockId })), block.children.map(function (child) { return ((0, jsx_runtime_1.jsx)(RenderPedigreeRecursively, { rowHeight: rowHeight, block: child, layoutItems: layoutItems, cbs: cbs, parentGroupArea: gridArea_1, device: device }, child.blockId)); })] })));
|
104
|
+
} }, { children: block.children.map(function (child) { return ((0, jsx_runtime_1.jsx)(RenderPedigreeRecursively, { rowHeight: rowHeight, block: child, layoutItems: layoutItems, cbs: cbs, parentGroupArea: gridArea_1, device: device }, child.blockId)); }) })));
|
116
105
|
}
|
117
106
|
// default: TYPE === 'COMPONENT_BLOCK'
|
118
107
|
var cbIndex = cbs.findIndex(function (c) { return c.blockId === block.blockId; });
|
@@ -201,8 +190,7 @@ function calculateRelativeGridArea(componentArea, parentArea) {
|
|
201
190
|
colEnd: componentArea.colEnd - parentArea.colStart + 1
|
202
191
|
};
|
203
192
|
}
|
204
|
-
var
|
205
|
-
var S_GroupItem = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n box-shadow: 0 0 0 3px blue;\n gap: 10px;\n grid-template-columns: repeat(", ", 1fr);\n grid-template-rows: ", ";\n position: relative; /* \uBC30\uC5F4\uC744 \uACF5\uBC31\uC73C\uB85C \uAD6C\uBD84\uB41C \uBB38\uC790\uC5F4\uB85C \uD569\uCE69\uB2C8\uB2E4. */\n"], ["\n box-shadow: 0 0 0 3px blue;\n gap: 10px;\n grid-template-columns: repeat(", ", 1fr);\n grid-template-rows: ", ";\n position: relative; /* \uBC30\uC5F4\uC744 \uACF5\uBC31\uC73C\uB85C \uAD6C\uBD84\uB41C \uBB38\uC790\uC5F4\uB85C \uD569\uCE69\uB2C8\uB2E4. */\n"])), function (props) { return props.cols; }, function (props) {
|
193
|
+
var S_GroupItem = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-shadow: 0 0 0 3px blue;\n gap: 10px;\n grid-template-columns: repeat(", ", 1fr);\n grid-template-rows: ", ";\n position: relative; /* \uBC30\uC5F4\uC744 \uACF5\uBC31\uC73C\uB85C \uAD6C\uBD84\uB41C \uBB38\uC790\uC5F4\uB85C \uD569\uCE69\uB2C8\uB2E4. */\n"], ["\n box-shadow: 0 0 0 3px blue;\n gap: 10px;\n grid-template-columns: repeat(", ", 1fr);\n grid-template-rows: ", ";\n position: relative; /* \uBC30\uC5F4\uC744 \uACF5\uBC31\uC73C\uB85C \uAD6C\uBD84\uB41C \uBB38\uC790\uC5F4\uB85C \uD569\uCE69\uB2C8\uB2E4. */\n"])), function (props) { return props.cols; }, function (props) {
|
206
194
|
// // 전체 행 개수만큼 배열을 생성하여 각 행의 CSS 값을 정의합니다.
|
207
195
|
return Array.from({ length: props.sectionRow })
|
208
196
|
.map(function (_, index) {
|
@@ -214,4 +202,4 @@ var S_GroupItem = styled_components_1.default.div(templateObject_2 || (templateO
|
|
214
202
|
)
|
215
203
|
.join(' ');
|
216
204
|
});
|
217
|
-
var templateObject_1
|
205
|
+
var templateObject_1;
|