@policystudio/policy-studio-ui-vue 1.1.90 → 1.1.92
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<button
|
|
3
|
-
@click="onClick()"
|
|
3
|
+
@click="onClick($event)"
|
|
4
4
|
@mouseenter="onMouseEnter"
|
|
5
5
|
@mouseleave="onMouseLeave"
|
|
6
6
|
class='psui-el-button'
|
|
@@ -93,9 +93,9 @@ export default {
|
|
|
93
93
|
},
|
|
94
94
|
},
|
|
95
95
|
methods: {
|
|
96
|
-
onClick() {
|
|
96
|
+
onClick(event) {
|
|
97
97
|
if (this.disabled) return
|
|
98
|
-
this.$emit('click')
|
|
98
|
+
this.$emit('click',event)
|
|
99
99
|
},
|
|
100
100
|
onMouseEnter(){
|
|
101
101
|
if(!this.disabled){
|
|
@@ -92,12 +92,12 @@
|
|
|
92
92
|
<p class="title psui-text-gray-50 opacity-100-childrens-on-hover" :style='item.text_color ? `color: ${item.text_color};` : ""'>
|
|
93
93
|
|
|
94
94
|
{{ item.title }}
|
|
95
|
-
|
|
95
|
+
|
|
96
96
|
<PsIcon
|
|
97
97
|
v-if="item.has_helper"
|
|
98
|
-
icon="
|
|
99
|
-
size="
|
|
100
|
-
class="psui-text-gray-40 psui-opacity-0 psui-transition psui-leading-none psui-cursor-pointer psui-ml-1"
|
|
98
|
+
icon="info_outline"
|
|
99
|
+
size="16"
|
|
100
|
+
class="psui-text-gray-40 hover:psui-text-blue-60 psui-opacity-0 psui-transition psui-leading-none psui-cursor-pointer psui-ml-1"
|
|
101
101
|
display="flex"
|
|
102
102
|
@click.native="$eventBus.$emit('openDescriptionModal', { type: 'helper', slug: `table-results-${item.helper_slug}` })"
|
|
103
103
|
/>
|
|
@@ -117,10 +117,9 @@
|
|
|
117
117
|
|
|
118
118
|
<PsIcon
|
|
119
119
|
v-if="item.has_helper"
|
|
120
|
-
icon="
|
|
121
|
-
size="
|
|
122
|
-
|
|
123
|
-
class="psui-opacity-0 psui-transition psui-leading-none psui-cursor-pointer psui-ml-1"
|
|
120
|
+
icon="info_outline"
|
|
121
|
+
size="16"
|
|
122
|
+
class="psui-opacity-0 psui-text-gray-40 hover:psui-text-blue-60 psui-transition psui-leading-none psui-cursor-pointer psui-ml-1"
|
|
124
123
|
display="flex"
|
|
125
124
|
@click.native="$eventBus.$emit('openDescriptionModal', { type: 'helper', slug: `table-results-${item.helper_slug}` })"
|
|
126
125
|
/>
|
|
@@ -150,7 +149,7 @@
|
|
|
150
149
|
<PsIcon
|
|
151
150
|
:icon="getIcon(item)"
|
|
152
151
|
class="psui-flex psui-text-gray-40 psui-cursor-pointer leading-none hover:psui-text-blue-60 psui-gap-3 psui-px-5 psui-py-1 transition-all"
|
|
153
|
-
size="
|
|
152
|
+
size="16"
|
|
154
153
|
display="flex"
|
|
155
154
|
@click.native="executeCallback(item)"
|
|
156
155
|
/>
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
<div class="psui-space-x-1 psui-items-center psui-show-childrens-on-hover">
|
|
16
16
|
<p class="title">{{ columnGroup.title }}</p>
|
|
17
17
|
<PsIcon
|
|
18
|
-
icon="
|
|
19
|
-
size="
|
|
18
|
+
icon="info_outline"
|
|
19
|
+
size="16"
|
|
20
20
|
class="psui-cursor-pointer"
|
|
21
|
-
icon-classes="psui-text-blue-
|
|
21
|
+
icon-classes="psui-text-gray-40 hover:psui-text-blue-60 psui-opacity-0 psui-leading-none psui-transition"
|
|
22
22
|
:style="{ display: 'flex' }"
|
|
23
23
|
@click.native="$emit('click-column-group-helper', columnGroup, $event)"
|
|
24
24
|
/>
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
/>
|
|
53
53
|
|
|
54
54
|
<PsIcon
|
|
55
|
-
icon="
|
|
55
|
+
icon="info_outline"
|
|
56
56
|
size="16"
|
|
57
57
|
class="psui-cursor-pointer helper"
|
|
58
|
-
icon-classes="psui-text-blue-
|
|
58
|
+
icon-classes="psui-text-gray-40 hover:psui-text-blue-60 psui-opacity-0 psui-leading-none psui-transition"
|
|
59
59
|
:style="{ display: 'flex' }"
|
|
60
60
|
@click.native="$emit('click-column-helper', column, $event)"
|
|
61
61
|
/>
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
<div class="psui-flex psui-space-x-1 psui-items-center psui-show-childrens-on-hover">
|
|
10
10
|
<p class="title">{{ columnGroup.title }}</p>
|
|
11
11
|
<PsIcon
|
|
12
|
-
icon="
|
|
13
|
-
size="
|
|
12
|
+
icon="info_outline"
|
|
13
|
+
size="16"
|
|
14
14
|
class="psui-cursor-pointer"
|
|
15
|
-
icon-classes="psui-text-blue-
|
|
15
|
+
icon-classes="psui-text-blue-40 hover:psui-text-blue-60 psui-opacity-0 psui-leading-none psui-transition"
|
|
16
16
|
:style="{ display: 'flex' }"
|
|
17
17
|
@click.native="$emit('click-column-group-helper', columnGroup, $event)"
|
|
18
18
|
/>
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
<p class="title" v-if="column.title">{{ column.title }}</p>
|
|
37
37
|
|
|
38
38
|
<PsIcon
|
|
39
|
-
icon="
|
|
39
|
+
icon="info_outline"
|
|
40
40
|
size="16"
|
|
41
41
|
class="psui-cursor-pointer helper"
|
|
42
|
-
icon-classes="psui-text-blue-
|
|
42
|
+
icon-classes="psui-text-gray-40 hover:psui-text-blue-60 psui-opacity-0 psui-leading-none psui-transition"
|
|
43
43
|
:style="{ display: 'flex' }"
|
|
44
44
|
@click.native="$emit('click-column-helper', column, $event)"
|
|
45
45
|
/>
|