@worksafevictoria/wcl7.5 1.13.0-beta.2 → 1.13.0-beta.3
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
|
@@ -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) {
|