@worksafevictoria/wcl7.5 1.13.0-beta.2 → 1.13.0-beta.4
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/Global/AppHeaderNew/index.vue +12 -7
- package/src/components/Global/AppHeaderNew/styles.scss +6 -22
- package/src/components/Paragraphs/Directory/Asbestos/Records/SingleRecord/index.vue +6 -6
- package/src/components/Paragraphs/Directory/Asbestos/Records/index.vue +23 -24
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -48,14 +48,15 @@
|
|
|
48
48
|
</a>
|
|
49
49
|
<div
|
|
50
50
|
ref="contrastChoices"
|
|
51
|
-
class="flex-
|
|
51
|
+
class="flex-container_contrast"
|
|
52
52
|
v-if="show"
|
|
53
53
|
>
|
|
54
|
-
<div class="flex-
|
|
55
|
-
<div v-for="list in lists" :key="list.value">
|
|
56
|
-
|
|
54
|
+
<div class="flex-item_contrast contrast_slide--box-list">
|
|
55
|
+
<div v-for="list in lists" :key="list.value" >
|
|
56
|
+
<label :for="list.id" :class="{'last-radio': list.label==='Greyscale'}">
|
|
57
57
|
<input
|
|
58
58
|
type="radio"
|
|
59
|
+
:id="list.id"
|
|
59
60
|
:name="list.name"
|
|
60
61
|
:value="list.value"
|
|
61
62
|
:checked="list.value === selectedValue"
|
|
@@ -411,18 +412,22 @@ export default {
|
|
|
411
412
|
NavSearchIcon,
|
|
412
413
|
lists: [
|
|
413
414
|
{
|
|
415
|
+
id: 'contrast1',
|
|
414
416
|
name: 'contrast',
|
|
415
417
|
value: 'default',
|
|
416
418
|
label: 'Light contrast (default)'
|
|
417
419
|
},
|
|
418
420
|
{
|
|
421
|
+
id: 'contrast2',
|
|
419
422
|
name: 'contrast',
|
|
420
423
|
value: 'high_contrast',
|
|
421
424
|
label: 'Increased contrast'
|
|
422
425
|
},
|
|
423
|
-
{
|
|
424
|
-
|
|
425
|
-
|
|
426
|
+
{
|
|
427
|
+
id: 'contrast3',
|
|
428
|
+
name: 'contrast',
|
|
429
|
+
value: 'grayscale',
|
|
430
|
+
label: 'Greyscale'
|
|
426
431
|
}
|
|
427
432
|
],
|
|
428
433
|
selectedValue: null
|
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
padding: 0px 15px;
|
|
19
19
|
display: table;
|
|
20
20
|
width: 100%;
|
|
21
|
+
border-bottom-style: solid;
|
|
22
|
+
border-bottom-color: lightgrey;
|
|
23
|
+
border-bottom-width: 1px;
|
|
21
24
|
|
|
22
25
|
> nav {
|
|
23
26
|
width: 100%;
|
|
@@ -470,11 +473,7 @@
|
|
|
470
473
|
}
|
|
471
474
|
}
|
|
472
475
|
}
|
|
473
|
-
|
|
474
|
-
left: 100%;
|
|
475
|
-
-webkit-transform: translateX(-100%);
|
|
476
|
-
transform: translateX(-100%);
|
|
477
|
-
}
|
|
476
|
+
|
|
478
477
|
.contrast_slide {
|
|
479
478
|
&_container {
|
|
480
479
|
background: white;
|
|
@@ -490,21 +489,6 @@
|
|
|
490
489
|
margin: 0;
|
|
491
490
|
right: 0;
|
|
492
491
|
position: absolute;
|
|
493
|
-
|
|
494
|
-
// &.closed {}
|
|
495
|
-
&.opened {
|
|
496
|
-
> .contrast_slide_hoverbar {
|
|
497
|
-
@include opened-slide;
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
@media (min-width: 768px) {
|
|
502
|
-
&:hover {
|
|
503
|
-
> .contrast_slide_hoverbar {
|
|
504
|
-
@include opened-slide;
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
492
|
}
|
|
509
493
|
|
|
510
494
|
&_hoverbar {
|
|
@@ -633,11 +617,11 @@
|
|
|
633
617
|
}
|
|
634
618
|
}
|
|
635
619
|
|
|
636
|
-
.flex-
|
|
620
|
+
.flex-container_contrast {
|
|
637
621
|
margin-left: -5px;
|
|
638
622
|
}
|
|
639
623
|
|
|
640
|
-
.flex-
|
|
624
|
+
.flex-item_contrast {
|
|
641
625
|
border: 1px solid;
|
|
642
626
|
border-color: #BABABA;
|
|
643
627
|
padding: 10px;
|
|
@@ -69,25 +69,25 @@
|
|
|
69
69
|
</column>
|
|
70
70
|
</row>
|
|
71
71
|
<row v-if="item.contact1 !== ''">
|
|
72
|
-
<column sm="2" class="label"> Contact </column>
|
|
72
|
+
<column sm="2" class="label" v-if="item.contact1 !== ''"> Contact </column>
|
|
73
73
|
<column sm="4" class="dir-additional-records">
|
|
74
74
|
{{ item.contact1 }}
|
|
75
75
|
</column>
|
|
76
76
|
</row>
|
|
77
|
-
<row v-if="item.phone1 !== ''">
|
|
77
|
+
<!-- <row v-if="item.phone1 !== ''">
|
|
78
78
|
<column sm="2" class="label"> Phone </column>
|
|
79
79
|
<column sm="4" class="dir-additional-records">
|
|
80
80
|
{{ item.phone1 }}
|
|
81
81
|
</column>
|
|
82
|
-
</row>
|
|
83
|
-
<row v-if="item.mobile1
|
|
82
|
+
</row> -->
|
|
83
|
+
<row v-if="item.mobile1">
|
|
84
84
|
<column sm="2" class="label"> Mobile </column>
|
|
85
85
|
<column sm="4" class="dir-additional-records">
|
|
86
86
|
{{ item.mobile1 }}
|
|
87
87
|
</column>
|
|
88
88
|
</row>
|
|
89
|
-
<row v-if="item.email1
|
|
90
|
-
<column sm="2" class="label"> Email </column>
|
|
89
|
+
<row v-if="item.email1">
|
|
90
|
+
<column sm="2" class="label" > Email </column>
|
|
91
91
|
<column sm="4" class="dir-additional-records">
|
|
92
92
|
{{ item.email1 }}
|
|
93
93
|
</column>
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
<!-- Filters -->
|
|
4
4
|
<row style="column-gap: 10px">
|
|
5
5
|
<!-- Keyword Filters -->
|
|
6
|
-
|
|
7
|
-
<column xxl="2" xl="3" md="4" sm="6">
|
|
6
|
+
<column xxl="2" xl="3" md="4" sm="6">
|
|
8
7
|
<label class="col-form-label visually-hidden" for="keyword-search">
|
|
9
8
|
Search by keyword (typed keyword automatically filters below results)
|
|
10
9
|
</label>
|
|
@@ -121,7 +120,7 @@ export default {
|
|
|
121
120
|
searchRem: '',
|
|
122
121
|
searchSub: '',
|
|
123
122
|
searchClass: '',
|
|
124
|
-
searchServices: '',
|
|
123
|
+
// searchServices: '',
|
|
125
124
|
filteredItems: null,
|
|
126
125
|
perPage: 10,
|
|
127
126
|
page: 0,
|
|
@@ -173,8 +172,8 @@ export default {
|
|
|
173
172
|
if (
|
|
174
173
|
this.searchRem.length ||
|
|
175
174
|
this.searchSub.length ||
|
|
176
|
-
this.searchClass.length
|
|
177
|
-
this.searchServices.length
|
|
175
|
+
this.searchClass.length
|
|
176
|
+
// || this.searchServices.length
|
|
178
177
|
) {
|
|
179
178
|
this.pageChanged(1)
|
|
180
179
|
}
|
|
@@ -231,26 +230,26 @@ export default {
|
|
|
231
230
|
},
|
|
232
231
|
|
|
233
232
|
methods: {
|
|
234
|
-
formatWebsite(url) {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
},
|
|
233
|
+
// formatWebsite(url) {
|
|
234
|
+
// let startUrl = url.slice(0, 3)
|
|
235
|
+
// let returnUrl = url
|
|
236
|
+
// if (startUrl.toLowerCase() === 'www') {
|
|
237
|
+
// returnUrl = 'https://' + url
|
|
238
|
+
// }
|
|
239
|
+
// if (
|
|
240
|
+
// startUrl.toLowerCase() !== 'htt' &&
|
|
241
|
+
// startUrl.toLowerCase() !== 'www' &&
|
|
242
|
+
// url !== ''
|
|
243
|
+
// ) {
|
|
244
|
+
// returnUrl = 'https://www.' + url
|
|
245
|
+
// }
|
|
246
|
+
// return returnUrl
|
|
247
|
+
// },
|
|
249
248
|
|
|
250
|
-
returnContact(firstN, lastN) {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
},
|
|
249
|
+
// returnContact(firstN, lastN) {
|
|
250
|
+
// let retContact = [firstN, lastN].filter(Boolean).join(' ')
|
|
251
|
+
// return retContact
|
|
252
|
+
// },
|
|
254
253
|
|
|
255
254
|
chunkify(arr, n) {
|
|
256
255
|
if (arr) {
|
package/src/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import Subheader from './components/Containers/Subheader/index.vue'
|
|
|
7
7
|
import SectionGroup from './components/Containers/SectionGroup/index.vue'
|
|
8
8
|
import CarouselComponent from './components/Containers/Carousel/index.vue'
|
|
9
9
|
|
|
10
|
-
import AppHeader from './components/Global/
|
|
10
|
+
import AppHeader from './components/Global/AppHeaderNew/index.vue'
|
|
11
11
|
import AppFooter from './components/Global/AppFooter/index.vue'
|
|
12
12
|
import HeroHeader from './components/Global/HeroHeader/index.vue'
|
|
13
13
|
import SocialShare from './components/Global/SocialShare/index.vue'
|