@worksafevictoria/wcl7.5 1.6.0 → 1.7.0
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 +3 -2
- package/src/components/Common/CardGridItem/card-grid-item-icon.vue +15 -19
- package/src/components/Global/AppFooter/styles.scss +3 -0
- package/src/components/Global/DirectoryFilters/index.vue +3 -0
- package/src/components/Paragraphs/Chart/Constants.js +479 -479
- package/src/components/Paragraphs/Directory/{Records/HSCP → HSCP/Records/SingleRecord}/index.stories.js +4 -3
- package/src/components/Paragraphs/Directory/HSCP/Records/SingleRecord/index.vue +321 -0
- package/src/components/Paragraphs/Directory/HSCP/Records/index.stories.js +19 -0
- package/src/components/Paragraphs/Directory/HSCP/Records/index.vue +345 -0
- package/src/components/Paragraphs/Directory/HSCP/Records/pagination.vue +179 -0
- package/src/components/Paragraphs/Directory/Records/CJ/index.vue +1 -1
- package/src/components/Paragraphs/Directory/Records/ISP/index.vue +1 -1
- package/src/components/Paragraphs/Directory/Records/PRS/index.stories.js +34 -0
- package/src/components/Paragraphs/Directory/Records/PRS/index.vue +5 -1
- package/src/components/Paragraphs/Directory/Records/index.storieshide.js +47 -0
- package/src/components/Paragraphs/Directory/Records/index.vue +18 -35
- package/src/components/Paragraphs/Directory/{Records/styles.scss → styles.scss} +4 -3
- package/src/components/Paragraphs/Map/Constants.js +4790 -0
- package/src/components/Paragraphs/Map/index.mdx +29 -0
- package/src/components/Paragraphs/Map/index.stories.js +15 -0
- package/src/components/Paragraphs/Map/index.vue +295 -0
- package/src/components/Paragraphs/Map/postcode_location.json +3543 -0
- package/src/components/SubComponents/Breadcrumb/index.vue +4 -0
- package/src/components/SubComponents/FormInstance/components/renderer/index.vue +23 -7
- package/src/components/SubComponents/FormInstance/models/overrides/file.js +7 -2
- package/src/components/SubComponents/Search/index.vue +7 -2
- package/src/index.js +4 -0
- package/src/mock/course-provider.js +273 -0
- package/src/components/Paragraphs/Directory/Records/HSCP/index.vue +0 -334
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@worksafevictoria/wcl7.5",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"main": "src/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
"storybook-addon-deep-controls": "^0.6.2",
|
|
50
50
|
"vue": "^3.3.4",
|
|
51
51
|
"vue-google-charts": "^1.1.0",
|
|
52
|
-
"vue-scrollto": "^2.20.0"
|
|
52
|
+
"vue-scrollto": "^2.20.0",
|
|
53
|
+
"vue3-google-map": "^0.21.1"
|
|
53
54
|
},
|
|
54
55
|
"resolutions": {
|
|
55
56
|
"formiojs": "4.13.13"
|
|
@@ -23,26 +23,11 @@
|
|
|
23
23
|
[`card-grid-item-icon--icon-bordered-${iconSize}`]: iconIsBordered
|
|
24
24
|
}"
|
|
25
25
|
:glyph="glyphSrc"
|
|
26
|
+
:key="computedIconSize"
|
|
26
27
|
icon-alt="alt"
|
|
27
|
-
:height="
|
|
28
|
-
iconSize === 'xsmall'
|
|
29
|
-
? 16
|
|
30
|
-
: iconSize === 'small'
|
|
31
|
-
? 32
|
|
32
|
-
: iconSize === 'medium'
|
|
33
|
-
? 64
|
|
34
|
-
: 80
|
|
35
|
-
"
|
|
36
|
-
:width="
|
|
37
|
-
iconSize === 'xsmall'
|
|
38
|
-
? 16
|
|
39
|
-
: iconSize === 'small'
|
|
40
|
-
? 32
|
|
41
|
-
: iconSize === 'medium'
|
|
42
|
-
? 64
|
|
43
|
-
: 80
|
|
44
|
-
"
|
|
45
28
|
:bordered="iconIsBordered"
|
|
29
|
+
:height="computedIconSize"
|
|
30
|
+
:width="computedIconSize"
|
|
46
31
|
/>
|
|
47
32
|
<component
|
|
48
33
|
:is="glyphComponent"
|
|
@@ -98,6 +83,17 @@ export default {
|
|
|
98
83
|
type: Boolean
|
|
99
84
|
}
|
|
100
85
|
},
|
|
86
|
+
computed: {
|
|
87
|
+
computedIconSize() {
|
|
88
|
+
return this.iconSize === 'xsmall'
|
|
89
|
+
? 16
|
|
90
|
+
: this.iconSize === 'small'
|
|
91
|
+
? 32
|
|
92
|
+
: this.iconSize === 'medium'
|
|
93
|
+
? 64
|
|
94
|
+
: 80;
|
|
95
|
+
}
|
|
96
|
+
},
|
|
101
97
|
data() {
|
|
102
98
|
return {
|
|
103
99
|
arrowRight,
|
|
@@ -119,7 +115,7 @@ export default {
|
|
|
119
115
|
border-radius: 8px;
|
|
120
116
|
width: 100%;
|
|
121
117
|
height: 170px;
|
|
122
|
-
background-size:
|
|
118
|
+
background-size: contain;
|
|
123
119
|
background-position: center center;
|
|
124
120
|
|
|
125
121
|
&-lg {
|
|
@@ -257,6 +257,9 @@ $whitesmoke: #f3f3f3 !default;
|
|
|
257
257
|
:deep(path) {
|
|
258
258
|
fill: white;
|
|
259
259
|
}
|
|
260
|
+
:deep(.icon) {
|
|
261
|
+
filter: invert(100%) sepia(5%) saturate(49%) hue-rotate(165deg) brightness(119%) contrast(100%);
|
|
262
|
+
}
|
|
260
263
|
}
|
|
261
264
|
|
|
262
265
|
@media screen and (max-width: 767px) {
|
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
@cleared="$emit('locationCleared')"
|
|
28
28
|
/>
|
|
29
29
|
</column>
|
|
30
|
+
<span class="d-none">{{ filters }}</span>
|
|
31
|
+
<span class="d-none">{{ filters.taxonomies.map(taxonomy => taxonomy.name).join(', ') }}</span>
|
|
30
32
|
<column
|
|
31
33
|
:md="!bundle ? 12 : bundle === 'isp' ? 4 : 8"
|
|
32
34
|
:sm="!bundle ? 12 : bundle === 'isp' ? 6 : 12"
|
|
@@ -163,6 +165,7 @@ export default {
|
|
|
163
165
|
background-position: 96% 12px;
|
|
164
166
|
margin-bottom: 16px;
|
|
165
167
|
transition: none;
|
|
168
|
+
background-image: url('./../../../assets/icons/search.svg')
|
|
166
169
|
}
|
|
167
170
|
&__filterButton {
|
|
168
171
|
display: inline-block;
|