@worksafevictoria/wcl7.5 1.6.0 → 1.7.1
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/Common/CardGridItem/index.vue +108 -139
- 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 +322 -0
- package/src/components/Paragraphs/Directory/HSCP/Records/index.stories.js +19 -0
- package/src/components/Paragraphs/Directory/HSCP/Records/index.vue +343 -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 +313 -0
- package/src/components/Paragraphs/Map/lga-map.json +33462 -0
- package/src/components/Paragraphs/Map/postcode_location.json +3543 -0
- package/src/components/Paragraphs/TabulatedData/index.vue +27 -36
- 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/ResourceGroup/index.vue +158 -184
- package/src/components/SubComponents/ResourceGroup/styles.scss +2 -0
- package/src/components/SubComponents/Search/index.vue +8 -3
- 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/src/index.js
CHANGED
|
@@ -30,6 +30,7 @@ import TaskFinder from './components/Paragraphs/TaskFinder/index.vue'
|
|
|
30
30
|
import ListGroup from './components/Paragraphs/ListGroup/index.vue'
|
|
31
31
|
import ScrollSpy from './components/Paragraphs/ScrollSpy/index.vue'
|
|
32
32
|
import Directory from './components/Paragraphs/Directory/index.vue'
|
|
33
|
+
import HscpDirectory from './components/Paragraphs/Directory/HSCP/Records/index.vue'
|
|
33
34
|
import SelectableCards from './components/Paragraphs/SelectableCards/index.vue'
|
|
34
35
|
import VideoMedia from './components/Paragraphs/VideoPlayer/index.vue'
|
|
35
36
|
import VideoGrid from './components/Paragraphs/VideoGrid/index.vue'
|
|
@@ -42,6 +43,7 @@ import MarketingBanner from './components/Paragraphs/MarketingBanner/index.vue'
|
|
|
42
43
|
import RelatedInformation from './components/Paragraphs/RelatedInformation/index.vue'
|
|
43
44
|
import Calculator from './components/Paragraphs/Calculator/index.vue'
|
|
44
45
|
import Chart from './components/Paragraphs/Chart/index.vue'
|
|
46
|
+
import GeoChart from './components/Paragraphs/Map/index.vue'
|
|
45
47
|
|
|
46
48
|
// SubComponents
|
|
47
49
|
import FormAddressPostcode from './components/SubComponents/FormAddressPostcode/index.vue'
|
|
@@ -96,6 +98,7 @@ export {
|
|
|
96
98
|
ListGroup,
|
|
97
99
|
ScrollSpy,
|
|
98
100
|
Directory,
|
|
101
|
+
HscpDirectory,
|
|
99
102
|
SelectableCards,
|
|
100
103
|
Statistics,
|
|
101
104
|
ProofPoints,
|
|
@@ -106,6 +109,7 @@ export {
|
|
|
106
109
|
RelatedInformation,
|
|
107
110
|
Calculator,
|
|
108
111
|
Chart,
|
|
112
|
+
GeoChart,
|
|
109
113
|
}
|
|
110
114
|
|
|
111
115
|
// Export Sub Components
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
export const hscpData = [
|
|
2
|
+
{
|
|
3
|
+
type: 'hscp',
|
|
4
|
+
Organisation: 'Australian Nurses and Midwifery Federation - Victorian Branch',
|
|
5
|
+
Main_office_address: 'Level 8/535 Elizabeth St Melbourne VIC 3000',
|
|
6
|
+
Organisation_acronym: 'ANMF',
|
|
7
|
+
Work_phone: '03 9555 9333',
|
|
8
|
+
Toll_free_phone: '1800 555 333',
|
|
9
|
+
Email1: 'ohs@test.com.au',
|
|
10
|
+
Website: 'https://www.anmfvic.asn.au/education-and-training/hsr-training/events',
|
|
11
|
+
Contact_1: 'Christina Groebl',
|
|
12
|
+
Contact_1_Phone: '03 9555 0222',
|
|
13
|
+
Contact_1_Email: 'cgroebl@test.com.au',
|
|
14
|
+
Contact_2_Name: 'Joey Bradford',
|
|
15
|
+
Contact_2_Phone: '03 9555 0666',
|
|
16
|
+
Contact_2_Email: 'jbradford@test.com.au',
|
|
17
|
+
Training_courses: 'HSR initial, HSR refresher',
|
|
18
|
+
Training_venues: 'Melbourne CBD, All Regional Victoria - HQ in Melbourne',
|
|
19
|
+
id: '1'
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
type: 'hscp',
|
|
23
|
+
Organisation: 'Chisholm Institute',
|
|
24
|
+
Organisation_acronym: 'Chisholm',
|
|
25
|
+
Main_office_address: '121 Stud Road Dandenong VIC 3175',
|
|
26
|
+
Work_phone: '03 5990 7117',
|
|
27
|
+
Toll_free_phone: '1300 244 746',
|
|
28
|
+
Email1: 'csadmin@chisholm.edu.au',
|
|
29
|
+
Website: 'https://www.chisholm.edu.au/career-fields/workplace-safety',
|
|
30
|
+
Contact_1: 'Francesca Laforgia',
|
|
31
|
+
Contact_1_Email: 'csadmin@chisholm.edu.au',
|
|
32
|
+
Contact_1_Phone: '03 5990 7117',
|
|
33
|
+
Contact_2_Name: '',
|
|
34
|
+
Contact_2_Email: '',
|
|
35
|
+
Contact_2_Phone: '',
|
|
36
|
+
Training_courses: 'HSR initial, HSR refresher - Plant, HSR refresher - Work-related stress',
|
|
37
|
+
Training_venues: 'Cranbourne, Berwick, Mornington Peninsula'
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
type: 'hscp',
|
|
41
|
+
Organisation: 'Action OHS Consulting Pty Ltd',
|
|
42
|
+
Organisation_acronym: 'Action OHS',
|
|
43
|
+
Main_office_address: '5 Cubitt Street Cremorne VIC 3121',
|
|
44
|
+
Work_phone: '',
|
|
45
|
+
Toll_free_phone: '1300 101 647',
|
|
46
|
+
Email1: 'admin@actionohs.com.au',
|
|
47
|
+
Website: 'www.actionhs.com.au/training/',
|
|
48
|
+
Contact_1: '',
|
|
49
|
+
Contact_1_Email: '',
|
|
50
|
+
Contact_1_Phone: '',
|
|
51
|
+
Contact_2_Name: '',
|
|
52
|
+
Contact_2_Email: '',
|
|
53
|
+
Contact_2_Phone: '',
|
|
54
|
+
Training_courses: 'HSR initial, HSR refresher - Plant, HSR refresher - Work-related stress',
|
|
55
|
+
Training_venues: 'Melbourne CBD'
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
type: 'hscp',
|
|
59
|
+
Organisation: 'Ai Group Centre for Education and Training',
|
|
60
|
+
orgAcronyn: 'Ai Group',
|
|
61
|
+
Main_office_address: 'Level 5 441 St Kilda Road Melbourne VIC 3004',
|
|
62
|
+
Work_phone: '',
|
|
63
|
+
Toll_free_phone: '1300 55 66 77',
|
|
64
|
+
Email1: 'training@aigroup.com.au',
|
|
65
|
+
Website: 'https://www.aigroup.com.au/education-training/training-courses/health-safety/',
|
|
66
|
+
Contact_1: 'Rebecca Hayward',
|
|
67
|
+
Contact_1_Email: 'rebecca.hayward@aigroup.com.au',
|
|
68
|
+
Contact_1_Phone: '02 49258320',
|
|
69
|
+
Contact_2_Name: 'Leeanne Lyme',
|
|
70
|
+
Contact_2_Email: 'leeanne.lyme@aigroup.com.au',
|
|
71
|
+
Contact_2_Phone: '02 4925 8310',
|
|
72
|
+
Training_courses: 'HSR refresher, HSR refresher - Work-related violence, HSR refresher - Plant, HSR refresher - Work-related stress,Onsite only',
|
|
73
|
+
Training_venues: 'Melbourne'
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
type: 'hscp',
|
|
77
|
+
Organisation: 'Australian Institute of Leadership and Safety Pty Ltd (AILS)',
|
|
78
|
+
Organisation_acronym: 'AILS',
|
|
79
|
+
Main_office_address: '37 Wentworth Drive Taylors Lakes VIC 3038',
|
|
80
|
+
Work_phone: '03 8385 7491',
|
|
81
|
+
Toll_free_phone: '',
|
|
82
|
+
Email1: 'admin@ails.edu.au',
|
|
83
|
+
Website: 'www.ails.edu.au/category/short-courses/work-safe/',
|
|
84
|
+
Contact_1: '',
|
|
85
|
+
Contact_1_Email: '',
|
|
86
|
+
Contact_1_Phone: '',
|
|
87
|
+
Contact_2_Name: '',
|
|
88
|
+
Contact_2_Email: '',
|
|
89
|
+
Contact_2_Phone: '',
|
|
90
|
+
Training_courses: 'HSR initial, HSR refresher',
|
|
91
|
+
Training_venues: '',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
type: 'hscp',
|
|
95
|
+
Organisation: 'ONE Extra Australian Institute of Leadership and Safety Pty Ltd (AILS)',
|
|
96
|
+
Organisation_acronym: 'AILS',
|
|
97
|
+
Main_office_address: '37 Wentworth Drive Taylors Lakes VIC 3038',
|
|
98
|
+
Work_phone: '03 8385 7491',
|
|
99
|
+
Toll_free_phone: '',
|
|
100
|
+
email: 'admin@ails.edu.au',
|
|
101
|
+
Website: 'www.ails.edu.au/category/short-courses/work-safe/',
|
|
102
|
+
Contact_1: '',
|
|
103
|
+
Contact_1_Email: '',
|
|
104
|
+
Contact_1_Phone: '',
|
|
105
|
+
Contact_2_Name: '',
|
|
106
|
+
Contact_2_Email: '',
|
|
107
|
+
Contact_2_Phone: '',
|
|
108
|
+
Training_courses: 'HSR initial, HSR refresher',
|
|
109
|
+
Training_venues: '',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
type: 'hscp',
|
|
113
|
+
Organisation: 'TWO Extra Australian Institute of Leadership and Safety Pty Ltd (AILS)',
|
|
114
|
+
Organisation_acronym: 'AILS',
|
|
115
|
+
Main_office_address: '37 Wentworth Drive Taylors Lakes VIC 3038',
|
|
116
|
+
Work_phone: '03 8385 7491',
|
|
117
|
+
Toll_free_phone: '',
|
|
118
|
+
Email1: 'admin@ails.edu.au',
|
|
119
|
+
Website: 'www.ails.edu.au/category/short-courses/work-safe/',
|
|
120
|
+
Contact_1: '',
|
|
121
|
+
Contact_1_Email: '',
|
|
122
|
+
Contact_1_Phone: '',
|
|
123
|
+
Contact_2_Name: '',
|
|
124
|
+
Contact_2_Email: '',
|
|
125
|
+
Contact_2_Phone: '',
|
|
126
|
+
Training_courses: 'HSR initial, HSR refresher',
|
|
127
|
+
Training_venues: '',
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
type: 'hscp',
|
|
131
|
+
Organisation: 'THREE Extra Australian Institute of Leadership and Safety Pty Ltd (AILS)',
|
|
132
|
+
Organisation_acronym: 'AILS',
|
|
133
|
+
Main_office_address: '37 Wentworth Drive Taylors Lakes VIC 3038',
|
|
134
|
+
Work_phone: '03 8385 7491',
|
|
135
|
+
Toll_free_phone: '',
|
|
136
|
+
Email1: 'admin@ails.edu.au',
|
|
137
|
+
Website: 'www.ails.edu.au/category/short-courses/work-safe/',
|
|
138
|
+
Contact_1: '',
|
|
139
|
+
Contact_1_Email: '',
|
|
140
|
+
Contact_1_Phone: '',
|
|
141
|
+
Contact_2_Name: '',
|
|
142
|
+
Contact_2_Email: '',
|
|
143
|
+
Contact_2_Phone: '',
|
|
144
|
+
Training_courses: 'HSR initial, HSR refresher',
|
|
145
|
+
Training_venues: '',
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
type: 'hscp',
|
|
149
|
+
Organisation: 'FOUR Extra Australian Institute of Leadership and Safety Pty Ltd (AILS)',
|
|
150
|
+
Organisation_acronym: 'AILS',
|
|
151
|
+
Main_office_address: '37 Wentworth Drive Taylors Lakes VIC 3038',
|
|
152
|
+
Work_phone: '03 8385 7491',
|
|
153
|
+
Toll_free_phone: '',
|
|
154
|
+
Email1: 'admin@ails.edu.au',
|
|
155
|
+
Website: 'www.ails.edu.au/category/short-courses/work-safe/',
|
|
156
|
+
Contact_1: '',
|
|
157
|
+
Contact_1_Email: '',
|
|
158
|
+
Contact_1_Phone: '',
|
|
159
|
+
Contact_2_Name: '',
|
|
160
|
+
Contact_2_Email: '',
|
|
161
|
+
Contact_2_Phone: '',
|
|
162
|
+
Training_courses: 'HSR initial, HSR refresher',
|
|
163
|
+
Training_venues: '',
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
type: 'hscp',
|
|
167
|
+
Organisation: 'FIVE Extra Australian Institute of Leadership and Safety Pty Ltd (AILS)',
|
|
168
|
+
Organisation_acronym: 'AILS',
|
|
169
|
+
Main_office_address: '37 Wentworth Drive Taylors Lakes VIC 3038',
|
|
170
|
+
Work_phone: '03 8385 7491',
|
|
171
|
+
Toll_free_phone: '',
|
|
172
|
+
Email1: 'admin@ails.edu.au',
|
|
173
|
+
Website: 'www.ails.edu.au/category/short-courses/work-safe/',
|
|
174
|
+
Contact_1: '',
|
|
175
|
+
Contact_1_Email: '',
|
|
176
|
+
Contact_1_Phone: '',
|
|
177
|
+
Contact_2_Name: '',
|
|
178
|
+
Contact_2_Email: '',
|
|
179
|
+
Contact_2_Phone: '',
|
|
180
|
+
Training_courses: 'HSR initial, HSR refresher',
|
|
181
|
+
Training_venues: '',
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
type: 'hscp',
|
|
185
|
+
Organisation: 'SIX Extra Australian Institute of Leadership and Safety Pty Ltd (AILS)',
|
|
186
|
+
Organisation_acronym: 'AILS',
|
|
187
|
+
Main_office_address: '37 Wentworth Drive Taylors Lakes VIC 3038',
|
|
188
|
+
Work_phone: '03 8385 7491',
|
|
189
|
+
Toll_free_phone: '',
|
|
190
|
+
Email1: 'admin@ails.edu.au',
|
|
191
|
+
Website: 'www.ails.edu.au/category/short-courses/work-safe/',
|
|
192
|
+
Contact_1: '',
|
|
193
|
+
Contact_1_Email: '',
|
|
194
|
+
Contact_1_Phone: '',
|
|
195
|
+
Contact_2_Name: '',
|
|
196
|
+
Contact_2_Email: '',
|
|
197
|
+
Contact_2_Phone: '',
|
|
198
|
+
Training_courses: 'HSR initial, HSR refresher',
|
|
199
|
+
Training_venues: '',
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
type: 'hscp',
|
|
203
|
+
Organisation: 'SEVEN Extra Australian Institute of Leadership and Safety Pty Ltd (AILS)',
|
|
204
|
+
Organisation_acronym: 'AILS',
|
|
205
|
+
Main_office_address: '37 Wentworth Drive Taylors Lakes VIC 3038',
|
|
206
|
+
Work_phone: '03 8385 7491',
|
|
207
|
+
Toll_free_phone: '',
|
|
208
|
+
Email1: 'admin@ails.edu.au',
|
|
209
|
+
Website: 'www.ails.edu.au/category/short-courses/work-safe/',
|
|
210
|
+
Contact_1: '',
|
|
211
|
+
Contact_1_Email: '',
|
|
212
|
+
Contact_1_Phone: '',
|
|
213
|
+
Contact_2_Name: '',
|
|
214
|
+
Contact_2_Email: '',
|
|
215
|
+
Contact_2_Phone: '',
|
|
216
|
+
Training_courses: 'HSR initial, HSR refresher',
|
|
217
|
+
Training_venues: '',
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
type: 'hscp',
|
|
221
|
+
Organisation: 'EIGHT Extra Australian Institute of Leadership and Safety Pty Ltd (AILS)',
|
|
222
|
+
Organisation_acronym: 'AILS',
|
|
223
|
+
Main_office_address: '37 Wentworth Drive Taylors Lakes VIC 3038',
|
|
224
|
+
Work_phone: '03 8385 7491',
|
|
225
|
+
Toll_free_phone: '',
|
|
226
|
+
Email1: 'admin@ails.edu.au',
|
|
227
|
+
Website: 'www.ails.edu.au/category/short-courses/work-safe/',
|
|
228
|
+
Contact_1: '',
|
|
229
|
+
Contact_1_Email: '',
|
|
230
|
+
Contact_1_Phone: '',
|
|
231
|
+
Contact_2_Name: '',
|
|
232
|
+
Contact_2_Email: '',
|
|
233
|
+
Contact_2_Phone: '',
|
|
234
|
+
Training_courses: 'HSR initial, HSR refresher',
|
|
235
|
+
Training_venues: '',
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
type: 'hscp',
|
|
239
|
+
Organisation: 'NINE Extra Australian Institute of Leadership and Safety Pty Ltd (AILS)',
|
|
240
|
+
Organisation_acronym: 'AILS',
|
|
241
|
+
Main_office_address: '37 Wentworth Drive Taylors Lakes VIC 3038',
|
|
242
|
+
Work_phone: '03 8385 7491',
|
|
243
|
+
Toll_free_phone: '',
|
|
244
|
+
Email1: 'admin@ails.edu.au',
|
|
245
|
+
Website: 'www.ails.edu.au/category/short-courses/work-safe/',
|
|
246
|
+
Contact_1: '',
|
|
247
|
+
Contact_1_Email: '',
|
|
248
|
+
Contact_1_Phone: '',
|
|
249
|
+
Contact_2_Name: '',
|
|
250
|
+
Contact_2_Email: '',
|
|
251
|
+
Contact_2_Phone: '',
|
|
252
|
+
Training_courses: 'HSR initial, HSR refresher',
|
|
253
|
+
Training_venues: '',
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
type: 'hscp',
|
|
257
|
+
Organisation: 'TEN Extra Australian Institute of Leadership and Safety Pty Ltd (AILS)',
|
|
258
|
+
Organisation_acronym: 'AILS',
|
|
259
|
+
Main_office_address: '37 Wentworth Drive Taylors Lakes VIC 3038',
|
|
260
|
+
Work_phone: '03 8385 7491',
|
|
261
|
+
Toll_free_phone: '',
|
|
262
|
+
Email1: 'admin@ails.edu.au',
|
|
263
|
+
Website: 'www.ails.edu.au/category/short-courses/work-safe/',
|
|
264
|
+
Contact_1: '',
|
|
265
|
+
Contact_1_Email: '',
|
|
266
|
+
Contact_1_Phone: '',
|
|
267
|
+
Contact_2_Name: '',
|
|
268
|
+
Contact_2_Email: '',
|
|
269
|
+
Contact_2_Phone: '',
|
|
270
|
+
Training_courses: 'HSR initial, HSR refresher',
|
|
271
|
+
Training_venues: '',
|
|
272
|
+
}
|
|
273
|
+
]
|
|
@@ -1,334 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="paragraph--directory__records--hscp">
|
|
3
|
-
<container>
|
|
4
|
-
<!-- Main details -->
|
|
5
|
-
<row>
|
|
6
|
-
<column class="title">
|
|
7
|
-
<a href="javascript:void(0)" @click="this.visible = !this.visible">
|
|
8
|
-
{{ item.title }}
|
|
9
|
-
</a>
|
|
10
|
-
</column>
|
|
11
|
-
<column class="address">
|
|
12
|
-
<a target="_blank" :href="gMapLink">
|
|
13
|
-
{{ item.fullAddress }}
|
|
14
|
-
</a>
|
|
15
|
-
</column>
|
|
16
|
-
<column class="contact">
|
|
17
|
-
<div class="label">Email</div>
|
|
18
|
-
<a target="_blank" :href="`mailto:${item.email}`"><span class="sr-only visually-hidden">Email address</span>
|
|
19
|
-
{{ item.email }}
|
|
20
|
-
</a>
|
|
21
|
-
</column>
|
|
22
|
-
<column class="contact">
|
|
23
|
-
<div class="label">Website</div>
|
|
24
|
-
<a target="_blank" :href="`${item.website}`"><span class="sr-only visually-hidden">Website address</span>
|
|
25
|
-
{{ item.website }}
|
|
26
|
-
</a>
|
|
27
|
-
</column>
|
|
28
|
-
<column class="contact">
|
|
29
|
-
<div class="label">Phone</div>
|
|
30
|
-
<a :href="`tel:${item.tollfreephone || item.workphone}`"><span class="sr-only visually-hidden">Phone number</span>
|
|
31
|
-
{{ item.tollfreePhone || item.workPhone }}
|
|
32
|
-
</a>
|
|
33
|
-
</column>
|
|
34
|
-
<column class="hscp-caret" sm="1">
|
|
35
|
-
<a v-if="visible" href="javascript:void(0)" @click="this.visible = false">
|
|
36
|
-
<img
|
|
37
|
-
style="float: right;"
|
|
38
|
-
:src="CaretUp"
|
|
39
|
-
height="12"
|
|
40
|
-
width="17"
|
|
41
|
-
alt="Expand Detail">
|
|
42
|
-
</a>
|
|
43
|
-
<a v-if="!visible" href="javascript:void(0)" @click="this.visible = true">
|
|
44
|
-
<img
|
|
45
|
-
style="float: right;"
|
|
46
|
-
:src="CaretDown"
|
|
47
|
-
height="12"
|
|
48
|
-
width="17"
|
|
49
|
-
alt="Expand Detail">
|
|
50
|
-
</a>
|
|
51
|
-
</column>
|
|
52
|
-
</row>
|
|
53
|
-
<!-- Additional Content -->
|
|
54
|
-
<template v-if="this.visible">
|
|
55
|
-
<row class="row-hscp-additional">
|
|
56
|
-
<column>
|
|
57
|
-
<h4>Contact Information</h4>
|
|
58
|
-
</column>
|
|
59
|
-
</row>
|
|
60
|
-
<row>
|
|
61
|
-
<column sm="3" class="label">
|
|
62
|
-
Contact
|
|
63
|
-
</column>
|
|
64
|
-
<column sm="3">
|
|
65
|
-
{{item.contact1}}
|
|
66
|
-
</column>
|
|
67
|
-
<column sm="3" class="label">
|
|
68
|
-
Contact
|
|
69
|
-
</column>
|
|
70
|
-
<column sm="3">
|
|
71
|
-
{{item.contact2}}
|
|
72
|
-
</column>
|
|
73
|
-
</row>
|
|
74
|
-
<row>
|
|
75
|
-
<column sm="3" class="label">
|
|
76
|
-
Phone
|
|
77
|
-
</column>
|
|
78
|
-
<column sm="3">
|
|
79
|
-
{{item.phone1}}
|
|
80
|
-
</column>
|
|
81
|
-
<column sm="3" class="label">
|
|
82
|
-
Phone
|
|
83
|
-
</column>
|
|
84
|
-
<column sm="3">
|
|
85
|
-
{{item.phone2}}
|
|
86
|
-
</column>
|
|
87
|
-
</row>
|
|
88
|
-
<row>
|
|
89
|
-
<column sm="3" class="label">
|
|
90
|
-
Email
|
|
91
|
-
</column>
|
|
92
|
-
<column sm="3">
|
|
93
|
-
{{item.email1}}
|
|
94
|
-
</column>
|
|
95
|
-
<column sm="3" class="label">
|
|
96
|
-
Email
|
|
97
|
-
</column>
|
|
98
|
-
<column sm="3">
|
|
99
|
-
{{item.email2}}
|
|
100
|
-
</column>
|
|
101
|
-
</row>
|
|
102
|
-
<row class="row-hscp-additional">
|
|
103
|
-
<column>
|
|
104
|
-
<h4>Training Venue Locations</h4>
|
|
105
|
-
</column>
|
|
106
|
-
</row>
|
|
107
|
-
<row>
|
|
108
|
-
<column>
|
|
109
|
-
<ul>
|
|
110
|
-
<li v-for="(venue) in item.trainingVenues" :key="venue.id">
|
|
111
|
-
{{venue}}
|
|
112
|
-
</li>
|
|
113
|
-
</ul>
|
|
114
|
-
</column>
|
|
115
|
-
</row>
|
|
116
|
-
<row class="row-hscp-additional">
|
|
117
|
-
<column>
|
|
118
|
-
<h4>Training Courses</h4>
|
|
119
|
-
</column>
|
|
120
|
-
</row>
|
|
121
|
-
<row>
|
|
122
|
-
<column>
|
|
123
|
-
<ul>
|
|
124
|
-
<li v-for="(course) in item.courses" :key="course.id">
|
|
125
|
-
{{course}}
|
|
126
|
-
</li>
|
|
127
|
-
</ul>
|
|
128
|
-
</column>
|
|
129
|
-
</row>
|
|
130
|
-
</template>
|
|
131
|
-
</container>
|
|
132
|
-
</div>
|
|
133
|
-
</template>
|
|
134
|
-
<script>
|
|
135
|
-
import Container from '../../../../Containers/Container/index.vue'
|
|
136
|
-
import Row from '../../../../Containers/Row/index.vue'
|
|
137
|
-
import Column from '../../../../Containers/Column/index.vue'
|
|
138
|
-
import CaretUp from './../../../../../assets/icons/caret-up.svg?url'
|
|
139
|
-
import CaretDown from './../../../../../assets/icons/caret-down.svg?url'
|
|
140
|
-
|
|
141
|
-
export default {
|
|
142
|
-
components: {
|
|
143
|
-
Container,
|
|
144
|
-
Row,
|
|
145
|
-
Column
|
|
146
|
-
},
|
|
147
|
-
props: {
|
|
148
|
-
item: {
|
|
149
|
-
type: Object,
|
|
150
|
-
required: true
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
data() {
|
|
154
|
-
return {
|
|
155
|
-
visible: false,
|
|
156
|
-
CaretUp,
|
|
157
|
-
CaretDown,
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
computed: {
|
|
161
|
-
gMapLink() {
|
|
162
|
-
return `https://google.com/maps?q=${this.item.title}%20${this.item.fullAddress}`
|
|
163
|
-
},
|
|
164
|
-
},
|
|
165
|
-
methods: {
|
|
166
|
-
handleClick(title) {
|
|
167
|
-
this.visible = !this.visible
|
|
168
|
-
if (this.$gtm) {
|
|
169
|
-
if (this.visible) {
|
|
170
|
-
this.$gtm.push({ event: 'custom.search.prs.open', title })
|
|
171
|
-
} else {
|
|
172
|
-
this.$gtm.push({
|
|
173
|
-
event: 'custom.search.prs.close',
|
|
174
|
-
title
|
|
175
|
-
})
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
</script>
|
|
182
|
-
|
|
183
|
-
<style lang="scss" scoped>
|
|
184
|
-
@import '../styles.scss';
|
|
185
|
-
|
|
186
|
-
.row-hscp-additional {
|
|
187
|
-
margin-top: 20px;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.hscp-caret {
|
|
191
|
-
justify-content: end;
|
|
192
|
-
align-content: end;
|
|
193
|
-
border-radius: 0px;
|
|
194
|
-
}
|
|
195
|
-
.paragraph--directory__records--hscp {
|
|
196
|
-
|
|
197
|
-
a {
|
|
198
|
-
color: $black;
|
|
199
|
-
text-decoration: none;
|
|
200
|
-
}
|
|
201
|
-
a:hover {
|
|
202
|
-
text-decoration: underline;
|
|
203
|
-
}
|
|
204
|
-
a:focus {
|
|
205
|
-
text-decoration: underline;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.name {
|
|
209
|
-
font-size: 1rem;
|
|
210
|
-
color: $black;
|
|
211
|
-
font-weight: 700;
|
|
212
|
-
}
|
|
213
|
-
.address {
|
|
214
|
-
font-size: 15px;
|
|
215
|
-
a {
|
|
216
|
-
color: inherit;
|
|
217
|
-
text-decoration: none;
|
|
218
|
-
}
|
|
219
|
-
a:hover {
|
|
220
|
-
text-decoration: underline;
|
|
221
|
-
}
|
|
222
|
-
a:focus {
|
|
223
|
-
text-decoration: underline;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
.phone {
|
|
227
|
-
a {
|
|
228
|
-
color: inherit;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
.label {
|
|
232
|
-
font-size: 15px;
|
|
233
|
-
font-weight: bold;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
.paragraph--directory.hscp-filters {
|
|
237
|
-
.search {
|
|
238
|
-
color: $black;
|
|
239
|
-
border: 1px solid $gray;
|
|
240
|
-
border-radius: 8px;
|
|
241
|
-
padding: 10px 12px;
|
|
242
|
-
height: 42px;
|
|
243
|
-
background-repeat: no-repeat;
|
|
244
|
-
background-position: 96% 12px;
|
|
245
|
-
margin-bottom: 16px;
|
|
246
|
-
transition: none;
|
|
247
|
-
}
|
|
248
|
-
select {
|
|
249
|
-
-moz-appearance: none; /* Firefox */
|
|
250
|
-
-webkit-appearance: none; /* Safari and Chrome */
|
|
251
|
-
appearance: none;
|
|
252
|
-
height: 42px;
|
|
253
|
-
border-radius: 8px;
|
|
254
|
-
padding: 10px 12px;
|
|
255
|
-
width: 100%;
|
|
256
|
-
border: 1px solid $gray;
|
|
257
|
-
background-image: url('@worksafevictoria/wcl7.5/src/assets/icons/caret-down.svg');
|
|
258
|
-
background-position: 95% 50%;
|
|
259
|
-
background-repeat: no-repeat;
|
|
260
|
-
text-transform: capitalise;
|
|
261
|
-
}
|
|
262
|
-
.grid-column {
|
|
263
|
-
display: inline-block;
|
|
264
|
-
width: 25%;
|
|
265
|
-
|
|
266
|
-
@media (max-width: 767px) {
|
|
267
|
-
width: 50%;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
@media (max-width: 539px) {
|
|
271
|
-
display: block;
|
|
272
|
-
width: 100%;
|
|
273
|
-
float: none;
|
|
274
|
-
margin-bottom: 16px;
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
.right {
|
|
278
|
-
float: right;
|
|
279
|
-
position: relative;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
ul.records {
|
|
283
|
-
padding: 0;
|
|
284
|
-
margin: 0;
|
|
285
|
-
|
|
286
|
-
li {
|
|
287
|
-
text-align: left;
|
|
288
|
-
display: block;
|
|
289
|
-
width: 100%;
|
|
290
|
-
background: $white;
|
|
291
|
-
color: $black;
|
|
292
|
-
margin-bottom: 32px;
|
|
293
|
-
border: 1px solid $gray;
|
|
294
|
-
border-radius: 12px;
|
|
295
|
-
font-size: 14px;
|
|
296
|
-
padding: 16px;
|
|
297
|
-
|
|
298
|
-
.name {
|
|
299
|
-
font-size: 1rem;
|
|
300
|
-
color: $black;
|
|
301
|
-
font-weight: 700;
|
|
302
|
-
}
|
|
303
|
-
.address {
|
|
304
|
-
font-size: 15px;
|
|
305
|
-
a {
|
|
306
|
-
color: inherit;
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
.phone {
|
|
310
|
-
a {
|
|
311
|
-
color: inherit;
|
|
312
|
-
}
|
|
313
|
-
.labl {
|
|
314
|
-
font-size: 15px;
|
|
315
|
-
font-weight: bold;
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
@media (max-width: 767px) {
|
|
320
|
-
.name,
|
|
321
|
-
.address,
|
|
322
|
-
.phone {
|
|
323
|
-
margin-bottom: 5px;
|
|
324
|
-
width: 100%;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
.pagination-container {
|
|
328
|
-
text-align: center;
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
</style>
|
|
334
|
-
|