@worksafevictoria/wcl7.5 1.8.0-beta.7 → 1.8.0-beta.8
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 +1 -1
- package/src/components/Paragraphs/Directory/HSCP/Records/SingleRecord/index.vue +13 -137
- package/src/components/Paragraphs/Directory/HSCP/Records/SingleRecord/styles.scss +127 -0
- package/src/components/Paragraphs/Directory/HSCP/Records/index.vue +3 -68
- package/src/components/Paragraphs/Directory/HSCP/styles.scss +68 -0
- package/src/components/Paragraphs/Directory/styles.scss +2 -0
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="paragraph--directory__records--
|
|
2
|
+
<div class="paragraph--directory__records--dir">
|
|
3
3
|
<!-- Main details -->
|
|
4
4
|
<container>
|
|
5
5
|
<row class="records">
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
</a>
|
|
34
34
|
</column>
|
|
35
35
|
</row>
|
|
36
|
-
<div class="
|
|
36
|
+
<div class="dir-caret" >
|
|
37
37
|
<a v-if="visible" href="javascript:void(0)" @click="this.visible = false">
|
|
38
38
|
<img
|
|
39
39
|
:src="CaretUp"
|
|
@@ -68,13 +68,13 @@
|
|
|
68
68
|
<column sm="2" class="label" v-if="item.contact1 !== ''">
|
|
69
69
|
Contact
|
|
70
70
|
</column>
|
|
71
|
-
<column sm="4" class="
|
|
71
|
+
<column sm="4" class="dir-additional-records" v-if="item.contact1 !== ''">
|
|
72
72
|
{{item.contact1}}
|
|
73
73
|
</column>
|
|
74
74
|
<column sm="2" class="label" v-if="item.contact2 !== ''">
|
|
75
75
|
Contact
|
|
76
76
|
</column>
|
|
77
|
-
<column sm="4" class="
|
|
77
|
+
<column sm="4" class="dir-additional-records" v-if="item.contact2 !== ''">
|
|
78
78
|
{{item.contact2}}
|
|
79
79
|
</column>
|
|
80
80
|
</row>
|
|
@@ -82,13 +82,13 @@
|
|
|
82
82
|
<column sm="2" class="label" v-if="item.phone1 !== ''">
|
|
83
83
|
Phone
|
|
84
84
|
</column>
|
|
85
|
-
<column sm="4" class="
|
|
85
|
+
<column sm="4" class="dir-additional-records" v-if="item.phone1 !== ''">
|
|
86
86
|
{{item.phone1}}
|
|
87
87
|
</column>
|
|
88
88
|
<column sm="2" class="label" v-if="item.phone2 !== ''">
|
|
89
89
|
Phone
|
|
90
90
|
</column>
|
|
91
|
-
<column sm="4" class="
|
|
91
|
+
<column sm="4" class="dir-additional-records" v-if="item.phone2 !== ''">
|
|
92
92
|
{{item.phone2}}
|
|
93
93
|
</column>
|
|
94
94
|
</row>
|
|
@@ -96,24 +96,24 @@
|
|
|
96
96
|
<column sm="2" class="label" v-if="item.email1 !== ''">
|
|
97
97
|
Email
|
|
98
98
|
</column>
|
|
99
|
-
<column sm="4" class="
|
|
99
|
+
<column sm="4" class="dir-additional-records" v-if="item.email1 !== ''">
|
|
100
100
|
{{item.email1}}
|
|
101
101
|
</column>
|
|
102
102
|
<column sm="2" class="label" v-if="item.email2 !== ''">
|
|
103
103
|
Email
|
|
104
104
|
</column>
|
|
105
|
-
<column sm="4" class="
|
|
105
|
+
<column sm="4" class="dir-additional-records" v-if="item.email1 !== ''">
|
|
106
106
|
{{item.email2}}
|
|
107
107
|
</column>
|
|
108
108
|
</row>
|
|
109
109
|
</div>
|
|
110
110
|
<div v-if="item.trainingVenues.length">
|
|
111
|
-
<row class="row-
|
|
111
|
+
<row class="row-dir-additional">
|
|
112
112
|
<column>
|
|
113
113
|
<h4>Training Venue Locations</h4>
|
|
114
114
|
</column>
|
|
115
115
|
</row>
|
|
116
|
-
<row class="
|
|
116
|
+
<row class="dir-additional-records">
|
|
117
117
|
<column >
|
|
118
118
|
<ul>
|
|
119
119
|
<li v-for="(venue) in item.trainingVenues.split(',')" :key="venue.id">
|
|
@@ -124,12 +124,12 @@
|
|
|
124
124
|
</row>
|
|
125
125
|
</div>
|
|
126
126
|
|
|
127
|
-
<row class="row-
|
|
127
|
+
<row class="row-dir-additional">
|
|
128
128
|
<column>
|
|
129
129
|
<h4>Training Courses</h4>
|
|
130
130
|
</column>
|
|
131
131
|
</row>
|
|
132
|
-
<row class="
|
|
132
|
+
<row class="dir-additional-records">
|
|
133
133
|
<column>
|
|
134
134
|
<ul>
|
|
135
135
|
<li v-for="(course) in item.courses.split(',')" :key="course.id">
|
|
@@ -201,132 +201,8 @@ export default {
|
|
|
201
201
|
</script>
|
|
202
202
|
|
|
203
203
|
<style lang="scss" scoped>
|
|
204
|
-
@import '../../../styles.scss';
|
|
205
204
|
|
|
206
|
-
.
|
|
207
|
-
margin-top: 20px;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.hscp-additional-records {
|
|
211
|
-
font-size: 16px;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.hscp-caret {
|
|
215
|
-
justify-content: end;
|
|
216
|
-
align-content: end;
|
|
217
|
-
max-width: 20px;
|
|
218
|
-
padding-right: 0px;
|
|
219
|
-
float:right;
|
|
220
|
-
}
|
|
221
|
-
.paragraph--directory__records--hscp {
|
|
222
|
-
|
|
223
|
-
padding-bottom: 30px !important;
|
|
224
|
-
|
|
225
|
-
a {
|
|
226
|
-
color: $black;
|
|
227
|
-
text-decoration: none;
|
|
228
|
-
}
|
|
229
|
-
a:hover {
|
|
230
|
-
text-decoration: underline;
|
|
231
|
-
}
|
|
232
|
-
a:focus {
|
|
233
|
-
text-decoration: underline;
|
|
234
|
-
}
|
|
205
|
+
@import './styles.scss'
|
|
235
206
|
|
|
236
|
-
.name {
|
|
237
|
-
font-size: 1rem;
|
|
238
|
-
color: $black;
|
|
239
|
-
font-weight: 700;
|
|
240
|
-
}
|
|
241
|
-
.address {
|
|
242
|
-
font-size: 15px;
|
|
243
|
-
a {
|
|
244
|
-
color: inherit;
|
|
245
|
-
text-decoration: none;
|
|
246
|
-
}
|
|
247
|
-
a:hover {
|
|
248
|
-
text-decoration: underline;
|
|
249
|
-
}
|
|
250
|
-
a:focus {
|
|
251
|
-
text-decoration: underline;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
.coldata {
|
|
255
|
-
a {
|
|
256
|
-
color: inherit;
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
.label {
|
|
260
|
-
font-size: 16px;
|
|
261
|
-
font-weight: bold;
|
|
262
|
-
}
|
|
263
|
-
.longstring {
|
|
264
|
-
word-break: break-all;
|
|
265
|
-
}
|
|
266
|
-
.search {
|
|
267
|
-
color: $black;
|
|
268
|
-
border: 1px solid $gray;
|
|
269
|
-
border-radius: 8px;
|
|
270
|
-
padding: 10px 12px;
|
|
271
|
-
height: 42px;
|
|
272
|
-
background-repeat: no-repeat;
|
|
273
|
-
background-position: 96% 12px;
|
|
274
|
-
margin-bottom: 16px;
|
|
275
|
-
transition: none;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.paragraph--directory.hscp-filters {
|
|
280
|
-
.search {
|
|
281
|
-
color: $black;
|
|
282
|
-
border: 1px solid $gray;
|
|
283
|
-
border-radius: 8px;
|
|
284
|
-
padding: 10px 12px;
|
|
285
|
-
height: 42px;
|
|
286
|
-
background-repeat: no-repeat;
|
|
287
|
-
background-position: 96% 12px;
|
|
288
|
-
margin-bottom: 16px;
|
|
289
|
-
transition: none;
|
|
290
|
-
}
|
|
291
|
-
select {
|
|
292
|
-
-moz-appearance: none; /* Firefox */
|
|
293
|
-
-webkit-appearance: none; /* Safari and Chrome */
|
|
294
|
-
appearance: none;
|
|
295
|
-
height: 42px;
|
|
296
|
-
border-radius: 8px;
|
|
297
|
-
padding: 10px 12px;
|
|
298
|
-
width: 100%;
|
|
299
|
-
border: 1px solid $gray;
|
|
300
|
-
background-image: url('@worksafevictoria/wcl7.5/src/assets/icons/caret-down.svg');
|
|
301
|
-
background-position: 95% 50%;
|
|
302
|
-
background-repeat: no-repeat;
|
|
303
|
-
text-transform: capitalise;
|
|
304
|
-
}
|
|
305
|
-
.grid-column {
|
|
306
|
-
display: inline-block;
|
|
307
|
-
width: 25%;
|
|
308
|
-
|
|
309
|
-
@media (max-width: 767px) {
|
|
310
|
-
width: 50%;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
@media (max-width: 539px) {
|
|
314
|
-
display: block;
|
|
315
|
-
width: 100%;
|
|
316
|
-
float: none;
|
|
317
|
-
margin-bottom: 16px;
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
.right {
|
|
321
|
-
float: right;
|
|
322
|
-
position: relative;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
.records {
|
|
326
|
-
padding: 0px;
|
|
327
|
-
margin: 0;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
}
|
|
331
207
|
</style>
|
|
332
208
|
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
@import '../../../styles.scss';
|
|
2
|
+
|
|
3
|
+
.row-dir-additional {
|
|
4
|
+
margin-top: 20px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.dir-additional-records {
|
|
8
|
+
font-size: 16px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.dir-caret {
|
|
12
|
+
justify-content: end;
|
|
13
|
+
align-content: end;
|
|
14
|
+
max-width: 20px;
|
|
15
|
+
padding-right: 0px;
|
|
16
|
+
float:right;
|
|
17
|
+
}
|
|
18
|
+
.paragraph--directory__records--dir {
|
|
19
|
+
|
|
20
|
+
padding-bottom: 30px !important;
|
|
21
|
+
|
|
22
|
+
a {
|
|
23
|
+
color: $black;
|
|
24
|
+
text-decoration: none;
|
|
25
|
+
}
|
|
26
|
+
a:hover {
|
|
27
|
+
text-decoration: underline;
|
|
28
|
+
}
|
|
29
|
+
a:focus {
|
|
30
|
+
text-decoration: underline;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.name {
|
|
34
|
+
font-size: 1rem;
|
|
35
|
+
color: $black;
|
|
36
|
+
font-weight: 700;
|
|
37
|
+
}
|
|
38
|
+
.address {
|
|
39
|
+
font-size: 15px;
|
|
40
|
+
a {
|
|
41
|
+
color: inherit;
|
|
42
|
+
text-decoration: none;
|
|
43
|
+
}
|
|
44
|
+
a:hover {
|
|
45
|
+
text-decoration: underline;
|
|
46
|
+
}
|
|
47
|
+
a:focus {
|
|
48
|
+
text-decoration: underline;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
.coldata {
|
|
52
|
+
a {
|
|
53
|
+
color: inherit;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
.label {
|
|
57
|
+
font-size: 16px;
|
|
58
|
+
font-weight: bold;
|
|
59
|
+
}
|
|
60
|
+
.longstring {
|
|
61
|
+
word-break: break-all;
|
|
62
|
+
}
|
|
63
|
+
.search {
|
|
64
|
+
color: $black;
|
|
65
|
+
border: 1px solid $gray;
|
|
66
|
+
border-radius: 8px;
|
|
67
|
+
padding: 10px 12px;
|
|
68
|
+
height: 42px;
|
|
69
|
+
background-repeat: no-repeat;
|
|
70
|
+
background-position: 96% 12px;
|
|
71
|
+
margin-bottom: 16px;
|
|
72
|
+
transition: none;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.paragraph--directory.dir-filters {
|
|
77
|
+
.search {
|
|
78
|
+
color: $black;
|
|
79
|
+
border: 1px solid $gray;
|
|
80
|
+
border-radius: 8px;
|
|
81
|
+
padding: 10px 12px;
|
|
82
|
+
height: 42px;
|
|
83
|
+
background-repeat: no-repeat;
|
|
84
|
+
background-position: 96% 12px;
|
|
85
|
+
margin-bottom: 16px;
|
|
86
|
+
transition: none;
|
|
87
|
+
}
|
|
88
|
+
select {
|
|
89
|
+
-moz-appearance: none; /* Firefox */
|
|
90
|
+
-webkit-appearance: none; /* Safari and Chrome */
|
|
91
|
+
appearance: none;
|
|
92
|
+
height: 42px;
|
|
93
|
+
border-radius: 8px;
|
|
94
|
+
padding: 10px 12px;
|
|
95
|
+
width: 100%;
|
|
96
|
+
border: 1px solid $gray;
|
|
97
|
+
background-image: url('@worksafevictoria/wcl7.5/src/assets/icons/caret-down.svg');
|
|
98
|
+
background-position: 95% 50%;
|
|
99
|
+
background-repeat: no-repeat;
|
|
100
|
+
text-transform: capitalise;
|
|
101
|
+
}
|
|
102
|
+
.grid-column {
|
|
103
|
+
display: inline-block;
|
|
104
|
+
width: 25%;
|
|
105
|
+
|
|
106
|
+
@media (max-width: 767px) {
|
|
107
|
+
width: 50%;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@media (max-width: 539px) {
|
|
111
|
+
display: block;
|
|
112
|
+
width: 100%;
|
|
113
|
+
float: none;
|
|
114
|
+
margin-bottom: 16px;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
.right {
|
|
118
|
+
float: right;
|
|
119
|
+
position: relative;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.records {
|
|
123
|
+
padding: 0px;
|
|
124
|
+
margin: 0;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<section-group class="paragraph--directory
|
|
2
|
+
<section-group class="paragraph--directory dir-filters">
|
|
3
3
|
<!-- Filters -->
|
|
4
4
|
<row style="column-gap: 16px;">
|
|
5
5
|
<!-- Keyword Filters -->
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
</column>
|
|
43
43
|
</row>
|
|
44
44
|
<!-- HSCP Records -->
|
|
45
|
-
<div class="
|
|
45
|
+
<div class="dirRecords" >
|
|
46
46
|
<template v-for="(item, index) in resultChunks[page]" >
|
|
47
47
|
<hscp-record v-if="item.type === 'hscp'" :key="index" :item="item"/>
|
|
48
48
|
</template>
|
|
@@ -290,73 +290,8 @@ export default {
|
|
|
290
290
|
</script>
|
|
291
291
|
|
|
292
292
|
<style lang="scss" scoped>
|
|
293
|
-
@import '../../styles.scss';
|
|
294
|
-
.paragraph--directory.hscp-filters {
|
|
295
|
-
|
|
296
|
-
.selectClass {
|
|
297
|
-
display:inline-block;
|
|
298
|
-
height: 42px;
|
|
299
|
-
border-radius: 8px;
|
|
300
|
-
padding: 10px 12px;
|
|
301
|
-
width: 200px;
|
|
302
|
-
border: 1px solid $gray;
|
|
303
|
-
margin-right: 16px;
|
|
304
|
-
margin-bottom: 16px;
|
|
305
|
-
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.search {
|
|
309
|
-
display: inline-block;
|
|
310
|
-
color: $black;
|
|
311
|
-
border: 1px solid $gray;
|
|
312
|
-
border-radius: 8px;
|
|
313
|
-
padding: 10px 12px;
|
|
314
|
-
height: 42px;
|
|
315
|
-
background-image: url('./../../../../../assets/icons/search.svg');
|
|
316
|
-
background-repeat: no-repeat !important;
|
|
317
|
-
background-position: 96% 12px;
|
|
318
|
-
margin-bottom: 16px;
|
|
319
|
-
margin-right: 16px;
|
|
320
|
-
transition: none;
|
|
321
|
-
width: 200px;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
.grid-column {
|
|
325
|
-
display: inline-block;
|
|
326
|
-
width: 25%;
|
|
327
|
-
|
|
328
|
-
@media (max-width: 767px) {
|
|
329
|
-
width: 50%;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
@media (max-width: 539px) {
|
|
333
|
-
display: block;
|
|
334
|
-
width: 100%;
|
|
335
|
-
float: none;
|
|
336
|
-
margin-bottom: 16px;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
}
|
|
340
|
-
.right {
|
|
341
|
-
float: right;
|
|
342
|
-
position: relative;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.records {
|
|
346
|
-
padding: 0;
|
|
347
|
-
margin: 0;
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
.filterButton__button--reset {
|
|
352
|
-
display: inline-block !important;
|
|
353
|
-
float: right;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
.hscpRecords {
|
|
357
|
-
padding-top: 16px;
|
|
358
|
-
}
|
|
359
293
|
|
|
294
|
+
@import '../styles.scss'
|
|
360
295
|
|
|
361
296
|
|
|
362
297
|
</style>
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
|
|
2
|
+
@import '../styles.scss';
|
|
3
|
+
|
|
4
|
+
.paragraph--directory.dir-filters {
|
|
5
|
+
|
|
6
|
+
.selectClass {
|
|
7
|
+
display:inline-block;
|
|
8
|
+
height: 42px;
|
|
9
|
+
border-radius: 8px;
|
|
10
|
+
padding: 10px 12px;
|
|
11
|
+
width: 200px;
|
|
12
|
+
border: 1px solid $gray;
|
|
13
|
+
margin-right: 16px;
|
|
14
|
+
margin-bottom: 16px;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.search {
|
|
19
|
+
display: inline-block;
|
|
20
|
+
color: $black;
|
|
21
|
+
border: 1px solid $gray;
|
|
22
|
+
border-radius: 8px;
|
|
23
|
+
padding: 10px 12px;
|
|
24
|
+
height: 42px;
|
|
25
|
+
background-image: url('./../../../../../assets/icons/search.svg');
|
|
26
|
+
background-repeat: no-repeat !important;
|
|
27
|
+
background-position: 96% 12px;
|
|
28
|
+
margin-bottom: 16px;
|
|
29
|
+
margin-right: 16px;
|
|
30
|
+
transition: none;
|
|
31
|
+
width: 200px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.grid-column {
|
|
35
|
+
display: inline-block;
|
|
36
|
+
width: 25%;
|
|
37
|
+
|
|
38
|
+
@media (max-width: 767px) {
|
|
39
|
+
width: 50%;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@media (max-width: 539px) {
|
|
43
|
+
display: block;
|
|
44
|
+
width: 100%;
|
|
45
|
+
float: none;
|
|
46
|
+
margin-bottom: 16px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
}
|
|
50
|
+
.right {
|
|
51
|
+
float: right;
|
|
52
|
+
position: relative;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.records {
|
|
56
|
+
padding: 0;
|
|
57
|
+
margin: 0;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.filterButton__button--reset {
|
|
62
|
+
display: inline-block !important;
|
|
63
|
+
float: right;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.dirRecords {
|
|
67
|
+
padding-top: 16px;
|
|
68
|
+
}
|