@eturnity/eturnity_reusable_components 1.1.76 → 1.1.79
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/package.json
CHANGED
|
@@ -15,8 +15,15 @@
|
|
|
15
15
|
'table-dropdown-item': item.type !== 'input',
|
|
16
16
|
}"
|
|
17
17
|
>
|
|
18
|
-
<nested-container>
|
|
19
|
-
<nested-icon
|
|
18
|
+
<nested-container :isNested="isNested">
|
|
19
|
+
<nested-icon
|
|
20
|
+
v-if="
|
|
21
|
+
isNested &&
|
|
22
|
+
(item.type === 'input' ||
|
|
23
|
+
item.type === 'no-template' ||
|
|
24
|
+
item.type === 'template')
|
|
25
|
+
"
|
|
26
|
+
/>
|
|
20
27
|
<template-button
|
|
21
28
|
@click.stop="onTemplateClick(item.row)"
|
|
22
29
|
v-if="
|
|
@@ -410,7 +417,7 @@ const NestedAttrs = { isNested: Boolean }
|
|
|
410
417
|
const NestedContainer = styled("div", NestedAttrs)`
|
|
411
418
|
display: grid;
|
|
412
419
|
grid-gap: 5px;
|
|
413
|
-
grid-template-columns: auto 1fr;
|
|
420
|
+
grid-template-columns: ${(props) => (props.isNested ? "auto 1fr" : "1fr")};
|
|
414
421
|
align-items: center;
|
|
415
422
|
`
|
|
416
423
|
|