@policystudio/policy-studio-ui-vue 1.1.88 → 1.1.90
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/dist/css/psui_styles.css
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@apply psui-w-full psui-whitespace-no-wrap psui-flex psui-overflow-auto;
|
|
4
4
|
|
|
5
5
|
&.table-flexible {
|
|
6
|
-
@apply psui-pr-4
|
|
6
|
+
@apply psui-pr-4;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
|
@@ -479,9 +479,9 @@
|
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
|
-
|
|
483
482
|
}
|
|
484
483
|
|
|
484
|
+
|
|
485
485
|
&.is-disabled {
|
|
486
486
|
td {
|
|
487
487
|
&.hover-color {
|
|
@@ -491,6 +491,7 @@
|
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
+
|
|
494
495
|
|
|
495
496
|
td {
|
|
496
497
|
@apply psui-text-gray-70 psui-h-10 psui-text-right psui-text-small;
|
|
@@ -24,10 +24,11 @@
|
|
|
24
24
|
{
|
|
25
25
|
'is-disabled' : item.is_disabled,
|
|
26
26
|
'is-first' : item.deep == 0,
|
|
27
|
-
'psui-hidden' : checkRowIsCollapsed(item),
|
|
27
|
+
'psui-hidden' : checkRowIsCollapsed(item) || item.not_visible,
|
|
28
28
|
'is-last' : item.is_last,
|
|
29
29
|
'is-active' : selectedRow == item.id,
|
|
30
|
-
'removed-class' : (item.slug == 'removed_measures' || item.is_excluded) && layout == 'flexible'
|
|
30
|
+
'removed-class' : (item.slug == 'removed_measures' || item.is_excluded) && layout == 'flexible',
|
|
31
|
+
'appended-row' : item.is_appended,
|
|
31
32
|
},
|
|
32
33
|
`${item.type}`
|
|
33
34
|
]"
|
|
@@ -59,9 +60,9 @@
|
|
|
59
60
|
<div
|
|
60
61
|
class="psui-flex psui-items-center psui-space-x-3"
|
|
61
62
|
:style="{paddingLeft: `${item.deep * 16}px`}"
|
|
62
|
-
>
|
|
63
|
+
>
|
|
63
64
|
<PsIcon
|
|
64
|
-
v-if="!item.last_deep || item.type === 'total'"
|
|
65
|
+
v-if="(!item.last_deep || item.type === 'total') && !item.is_appended"
|
|
65
66
|
icon="expand_more"
|
|
66
67
|
size="24"
|
|
67
68
|
class="actions-button psui-transition psui-transform psui-cursor-pointer"
|
|
@@ -74,8 +75,14 @@
|
|
|
74
75
|
@click.native="onCollapse(item, $event)"
|
|
75
76
|
/>
|
|
76
77
|
|
|
78
|
+
<div v-if="item.is_appended">
|
|
79
|
+
<span class="psui-text-small psui-font-bold psui-text-blue-60 psui-ml-2">
|
|
80
|
+
{{ item.title }}
|
|
81
|
+
</span>
|
|
82
|
+
</div>
|
|
83
|
+
|
|
77
84
|
<div
|
|
78
|
-
v-if="item.is_disabled || item.tooltip_text"
|
|
85
|
+
v-else-if="item.is_disabled || item.tooltip_text"
|
|
79
86
|
class="psui-inline-flex psui-cursor-default sticky"
|
|
80
87
|
:class="{ 'is-last-deep' : item.last_deep }"
|
|
81
88
|
v-tooltip="getTooltipContent(item)"
|
|
@@ -316,8 +323,7 @@
|
|
|
316
323
|
</template>
|
|
317
324
|
</tr>
|
|
318
325
|
</tbody>
|
|
319
|
-
|
|
320
|
-
<!-- <slot name="footer"></slot> -->
|
|
326
|
+
<slot name="footer"></slot>
|
|
321
327
|
</table>
|
|
322
328
|
</div>
|
|
323
329
|
</template>
|