@dataloop-ai/components 0.20.131 → 0.20.132
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
|
@@ -47,8 +47,14 @@
|
|
|
47
47
|
/>
|
|
48
48
|
</slot>
|
|
49
49
|
</td>
|
|
50
|
-
<td
|
|
51
|
-
|
|
50
|
+
<td
|
|
51
|
+
class="chevron-icon-container"
|
|
52
|
+
:class="{ 'no-children': (row.children || []).length === 0 }"
|
|
53
|
+
>
|
|
54
|
+
<div
|
|
55
|
+
class="chevron-icon"
|
|
56
|
+
:class="{ 'no-children': (row.children || []).length === 0 }"
|
|
57
|
+
>
|
|
52
58
|
<DlIcon
|
|
53
59
|
v-if="(row.children || []).length > 0"
|
|
54
60
|
:icon="`${
|
|
@@ -67,13 +73,13 @@
|
|
|
67
73
|
:class="col.tdClass(row)"
|
|
68
74
|
:style="
|
|
69
75
|
col.tdStyle(row) +
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
`padding-left: ${
|
|
77
|
+
setTrPadding(
|
|
78
|
+
level,
|
|
79
|
+
(row.children || []).length > 0,
|
|
80
|
+
colIndex
|
|
81
|
+
) + 1
|
|
82
|
+
}px;`
|
|
77
83
|
"
|
|
78
84
|
:col-index="colIndex"
|
|
79
85
|
:tooltip="tooltip"
|
|
@@ -432,9 +438,17 @@ export default defineComponent({
|
|
|
432
438
|
cursor: pointer;
|
|
433
439
|
padding: 5px;
|
|
434
440
|
height: 100%;
|
|
441
|
+
|
|
442
|
+
&.no-children {
|
|
443
|
+
cursor: default;
|
|
444
|
+
}
|
|
435
445
|
}
|
|
436
446
|
.chevron-icon-container {
|
|
437
447
|
cursor: pointer;
|
|
438
448
|
width: 25px;
|
|
449
|
+
|
|
450
|
+
&.no-children {
|
|
451
|
+
cursor: default;
|
|
452
|
+
}
|
|
439
453
|
}
|
|
440
454
|
</style>
|