@policystudio/policy-studio-ui-vue 1.1.70 → 1.1.71
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
|
@@ -2740,7 +2740,7 @@ video {
|
|
|
2740
2740
|
.psui-el-table-results.layout-flexible tbody tr:not(.is-first):not(.removed-class) td:first-child:before {
|
|
2741
2741
|
background-color: #ffffff ;
|
|
2742
2742
|
left: 0;
|
|
2743
|
-
width:
|
|
2743
|
+
width: 30px;
|
|
2744
2744
|
height: calc(100% + 1px);
|
|
2745
2745
|
}
|
|
2746
2746
|
|
|
@@ -2764,6 +2764,10 @@ video {
|
|
|
2764
2764
|
height: calc(100% + 1px);
|
|
2765
2765
|
}
|
|
2766
2766
|
|
|
2767
|
+
.psui-el-table-results.layout-flexible tbody tr:not(.is-first) td:first-child > div {
|
|
2768
|
+
margin-left: 16px;
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2767
2771
|
.psui-el-table-results.layout-flexible tbody tr.is-last {
|
|
2768
2772
|
border-bottom-width: 0;
|
|
2769
2773
|
}
|
|
@@ -24520,25 +24524,6 @@ html {
|
|
|
24520
24524
|
transition-duration: 150ms;
|
|
24521
24525
|
}
|
|
24522
24526
|
|
|
24523
|
-
.tooltip.layout-blue .tooltip-inner {
|
|
24524
|
-
background: #00465F;
|
|
24525
|
-
font-weight: 700;
|
|
24526
|
-
color: #ffffff;
|
|
24527
|
-
padding: 10px 16px 12px 16px;
|
|
24528
|
-
border-radius: 6px;
|
|
24529
|
-
font-size: 12px;
|
|
24530
|
-
line-height: 130%;
|
|
24531
|
-
}
|
|
24532
|
-
|
|
24533
|
-
.tooltip.layout-gray-50 .tooltip-inner {
|
|
24534
|
-
background: #798490;
|
|
24535
|
-
padding: 4px 8px;
|
|
24536
|
-
border-radius: 4px;
|
|
24537
|
-
font-size: 12px;
|
|
24538
|
-
line-height: 130%;
|
|
24539
|
-
letter-spacing: 1px;
|
|
24540
|
-
}
|
|
24541
|
-
|
|
24542
24527
|
@media (min-width: 640px){
|
|
24543
24528
|
.sm\:psui-container{
|
|
24544
24529
|
width: 100%;
|
package/package.json
CHANGED
|
@@ -98,28 +98,4 @@ html {
|
|
|
98
98
|
|
|
99
99
|
.psui-transition {
|
|
100
100
|
@apply psui-transition-all psui-ease-in-out psui-duration-150;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
.tooltip.layout-blue {
|
|
105
|
-
.tooltip-inner {
|
|
106
|
-
background: #00465F;
|
|
107
|
-
font-weight: 700;
|
|
108
|
-
color: #ffffff;
|
|
109
|
-
padding: 10px 16px 12px 16px;
|
|
110
|
-
border-radius: 6px;
|
|
111
|
-
font-size: 12px;
|
|
112
|
-
line-height: 130%;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.tooltip.layout-gray-50 {
|
|
117
|
-
.tooltip-inner {
|
|
118
|
-
background: #798490;
|
|
119
|
-
padding: 4px 8px;
|
|
120
|
-
border-radius: 4px;
|
|
121
|
-
font-size: 12px;
|
|
122
|
-
line-height: 130%;
|
|
123
|
-
letter-spacing: 1px;
|
|
124
|
-
}
|
|
125
101
|
}
|
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
.title {
|
|
361
361
|
@apply psui-text-small psui-font-bold psui-leading-4;
|
|
362
362
|
}
|
|
363
|
-
|
|
363
|
+
|
|
364
364
|
th {
|
|
365
365
|
@apply psui-pl-4 psui-text-gray-50 psui-text-right psui-w-auto psui-align-top;
|
|
366
366
|
padding-top: 0.438rem;
|
|
@@ -637,7 +637,7 @@
|
|
|
637
637
|
|
|
638
638
|
&:before {
|
|
639
639
|
@apply psui-bg-white psui-left-0;
|
|
640
|
-
width:
|
|
640
|
+
width: 30px;
|
|
641
641
|
height: calc(100% + 1px);
|
|
642
642
|
}
|
|
643
643
|
|
|
@@ -663,6 +663,16 @@
|
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
665
|
|
|
666
|
+
&:not(.is-first) {
|
|
667
|
+
td {
|
|
668
|
+
&:first-child {
|
|
669
|
+
> div {
|
|
670
|
+
margin-left: 16px;
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
|
|
666
676
|
&.is-last {
|
|
667
677
|
@apply psui-border-b-0;
|
|
668
678
|
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
@mouseleave="onRowHover(false)"
|
|
38
38
|
>
|
|
39
39
|
<td
|
|
40
|
-
:style="item.background_color ? `background-color: ${getBackgroundColor(item.background_color)};` : ''"
|
|
40
|
+
:style="isHoveringRow == index && layout == 'flexible' ? `background-color: ${getHoveringRowColor(item)};` : item.background_color ? `background-color: ${getBackgroundColor(item.background_color)};` : ''"
|
|
41
41
|
>
|
|
42
42
|
|
|
43
43
|
<div class="psui-flex psui-relative">
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
<PsIcon
|
|
51
51
|
v-if="item.remove_add_button"
|
|
52
52
|
:icon="item.remove_add_button_icon"
|
|
53
|
-
class="psui-flex psui-text-gray-40 pl-
|
|
53
|
+
class="psui-flex psui-text-gray-40 pl-4 psui-cursor-pointer leading-none hover:psui-text-blue-60 transition-all"
|
|
54
54
|
size="15"
|
|
55
55
|
display="flex"
|
|
56
56
|
@click.native="$emit('removeOrAddButtonChange',item)"
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
|
|
192
192
|
<template v-for="(columnGroup, indexColumn) of columnGroups">
|
|
193
193
|
<td
|
|
194
|
-
:style="item.background_color ? `background-color: ${getBackgroundColor(item.background_color)};` : ''"
|
|
194
|
+
:style="isHoveringRow == index && layout == 'flexible' ? `background-color: ${getHoveringRowColor(item)};` : item.background_color ? `background-color: ${getBackgroundColor(item.background_color)};` : ''"
|
|
195
195
|
v-for="column of columnGroup.columns"
|
|
196
196
|
class="psui-transition"
|
|
197
197
|
:key="indexColumn + '-' + columnGroup.key + '-' + column.key"
|
|
@@ -512,6 +512,9 @@ export default {
|
|
|
512
512
|
this.$refs.tableWrapper.removeEventListener('scroll', this.handleTableScroll)
|
|
513
513
|
},
|
|
514
514
|
methods: {
|
|
515
|
+
getHoveringRowColor(item){
|
|
516
|
+
return !item.is_disabled && item.deep != 0 ? '#ECF7FB' : item.is_disabled && item.deep != 0 ? '#E6ECF2' : ''
|
|
517
|
+
},
|
|
515
518
|
setCollapsedRows() {
|
|
516
519
|
if ( this.itemsHiddenIndexes ) {
|
|
517
520
|
this.collapsedRows = [...this.itemsHiddenIndexes]
|