@worksafevictoria/wcl7.5 1.1.0-beta.41 → 1.1.0-beta.42
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
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
v-if="card.description"
|
|
36
36
|
class="subheader__description"
|
|
37
37
|
:class="{
|
|
38
|
-
[`w-100 text-left`]: alignLeft
|
|
38
|
+
[`w-100 text-left`]: alignLeft,
|
|
39
39
|
}"
|
|
40
40
|
>
|
|
41
41
|
<strong
|
|
42
42
|
v-if="singleLineCards && card.title"
|
|
43
|
-
v-html="card.title + ':'"
|
|
43
|
+
v-html="card.title + ': '"
|
|
44
44
|
>
|
|
45
45
|
</strong>
|
|
46
46
|
<span v-html="card.description"></span>
|
|
@@ -61,42 +61,42 @@ export default {
|
|
|
61
61
|
props: {
|
|
62
62
|
itemList: {
|
|
63
63
|
type: Array,
|
|
64
|
-
required: true
|
|
64
|
+
required: true,
|
|
65
65
|
},
|
|
66
66
|
cardColumnSize: {
|
|
67
67
|
type: Number,
|
|
68
|
-
default: null
|
|
68
|
+
default: null,
|
|
69
69
|
},
|
|
70
70
|
singleLineCards: {
|
|
71
|
-
type: Boolean
|
|
71
|
+
type: Boolean,
|
|
72
72
|
},
|
|
73
73
|
background: {
|
|
74
74
|
type: String,
|
|
75
|
-
default: 'none'
|
|
75
|
+
default: 'none',
|
|
76
76
|
},
|
|
77
77
|
heading: {
|
|
78
78
|
type: String,
|
|
79
|
-
default: ''
|
|
79
|
+
default: '',
|
|
80
80
|
},
|
|
81
81
|
alignLeft: {
|
|
82
|
-
type: Boolean
|
|
82
|
+
type: Boolean,
|
|
83
83
|
},
|
|
84
84
|
showIcon: {
|
|
85
85
|
type: Boolean,
|
|
86
|
-
default: true
|
|
86
|
+
default: true,
|
|
87
87
|
},
|
|
88
88
|
iconPosition: {
|
|
89
89
|
type: String,
|
|
90
|
-
default: null
|
|
90
|
+
default: null,
|
|
91
91
|
},
|
|
92
92
|
type: {
|
|
93
93
|
type: String,
|
|
94
|
-
default: ''
|
|
95
|
-
}
|
|
94
|
+
default: '',
|
|
95
|
+
},
|
|
96
96
|
},
|
|
97
97
|
data() {
|
|
98
98
|
return {
|
|
99
|
-
isSingleColumn: false
|
|
99
|
+
isSingleColumn: false,
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
methods: {
|
|
@@ -110,18 +110,18 @@ export default {
|
|
|
110
110
|
navigateToPath.call(
|
|
111
111
|
this,
|
|
112
112
|
card?.selectedCard?.linkHref,
|
|
113
|
-
card?.ev?.ctrlKey === true || card?.ev?.metaKey === true
|
|
113
|
+
card?.ev?.ctrlKey === true || card?.ev?.metaKey === true,
|
|
114
114
|
)
|
|
115
115
|
}
|
|
116
116
|
} else {
|
|
117
117
|
navigateToPath.call(
|
|
118
118
|
this,
|
|
119
119
|
card?.selectedCard?.linkHref,
|
|
120
|
-
card?.ev?.ctrlKey === true || card?.ev?.metaKey === true
|
|
120
|
+
card?.ev?.ctrlKey === true || card?.ev?.metaKey === true,
|
|
121
121
|
)
|
|
122
122
|
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
125
|
}
|
|
126
126
|
</script>
|
|
127
127
|
<style lang="scss" scoped>
|