@wikala/spmkt 2.18.2 → 2.19.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.
|
@@ -34,7 +34,9 @@
|
|
|
34
34
|
<b-input
|
|
35
35
|
native-value="inside"
|
|
36
36
|
v-model="addressData.first_name"
|
|
37
|
-
type="text"
|
|
37
|
+
type="text"
|
|
38
|
+
name="first_name"
|
|
39
|
+
autocomplete="given-name"
|
|
38
40
|
/>
|
|
39
41
|
</b-field>
|
|
40
42
|
</div>
|
|
@@ -48,6 +50,7 @@
|
|
|
48
50
|
<b-input
|
|
49
51
|
v-model="addressData.last_name"
|
|
50
52
|
name="last_name"
|
|
53
|
+
autocomplete="family-name"
|
|
51
54
|
/>
|
|
52
55
|
</b-field>
|
|
53
56
|
</div>
|
|
@@ -112,6 +115,7 @@
|
|
|
112
115
|
native-value="inside"
|
|
113
116
|
v-model="addressData.address1"
|
|
114
117
|
name="address1"
|
|
118
|
+
autocomplete="address-line1"
|
|
115
119
|
/>
|
|
116
120
|
</b-field>
|
|
117
121
|
</div>
|
|
@@ -128,6 +132,7 @@
|
|
|
128
132
|
<b-input
|
|
129
133
|
v-model="addressData.address2"
|
|
130
134
|
name="address2"
|
|
135
|
+
autocomplete="address-line2"
|
|
131
136
|
/>
|
|
132
137
|
</b-field>
|
|
133
138
|
</div>
|
|
@@ -140,6 +145,7 @@
|
|
|
140
145
|
native-value="inside"
|
|
141
146
|
v-model="addressData.city"
|
|
142
147
|
name="city"
|
|
148
|
+
autocomplete="address-level2"
|
|
143
149
|
/>
|
|
144
150
|
</b-field>
|
|
145
151
|
</div>
|
|
@@ -166,6 +172,7 @@
|
|
|
166
172
|
native-value="inside"
|
|
167
173
|
v-model="addressData.phone"
|
|
168
174
|
name="phone"
|
|
175
|
+
autocomplete="tel"
|
|
169
176
|
/>
|
|
170
177
|
</b-field>
|
|
171
178
|
</div>
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
@input="changeCardNumber"
|
|
18
18
|
@paste.native="pasteCardNumber"
|
|
19
19
|
novalidate
|
|
20
|
+
autocomplete="cc-number"
|
|
20
21
|
></b-input>
|
|
21
22
|
</b-field>
|
|
22
23
|
<b-icon v-if="!validationErrors.card_number" icon="lock-alt"></b-icon>
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
:type="{ 'is-danger': validationErrors.card_expiry_month }"
|
|
32
33
|
:message="validationErrors.card_expiry_month"
|
|
33
34
|
>
|
|
34
|
-
<b-select name="card_expiry_month" v-model="cardData.card_expiry_month">
|
|
35
|
+
<b-select name="card_expiry_month" v-model="cardData.card_expiry_month" autocomplete="cc-exp-month">
|
|
35
36
|
<option v-for="month in months" :value="month" :key="month">{{ month }}</option>
|
|
36
37
|
</b-select>
|
|
37
38
|
</b-field>
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
:type="{ 'is-danger': validationErrors.card_expiry_year }"
|
|
42
43
|
:message="validationErrors.card_expiry_year"
|
|
43
44
|
>
|
|
44
|
-
<b-select name="card_expiry_year" v-model="cardData.card_expiry_year">
|
|
45
|
+
<b-select name="card_expiry_year" v-model="cardData.card_expiry_year" autocomplete="cc-exp-year">
|
|
45
46
|
<option v-for="year in years" :value="year" :key="year">{{ year }}</option>
|
|
46
47
|
</b-select>
|
|
47
48
|
</b-field>
|
|
@@ -58,6 +59,7 @@
|
|
|
58
59
|
:has-counter="false"
|
|
59
60
|
v-model="cardData.card_cvv"
|
|
60
61
|
@input="changeCVV"
|
|
62
|
+
autocomplete="cc-csc"
|
|
61
63
|
></b-input>
|
|
62
64
|
</b-field>
|
|
63
65
|
<b-icon v-if="!validationErrors.card_cvv" icon="lock-alt"></b-icon>
|
|
@@ -66,7 +68,7 @@
|
|
|
66
68
|
<div class="columns cc-row">
|
|
67
69
|
<div class="column">
|
|
68
70
|
<b-field label="Name on card" label-position="inside" :type="{ 'is-danger': validationErrors.name_on_card }" :message="validationErrors.name_on_card">
|
|
69
|
-
<b-input name="name_on_card" v-model="cardData.name_on_card" type="text"></b-input>
|
|
71
|
+
<b-input name="name_on_card" v-model="cardData.name_on_card" type="text" autocomplete="cc-name"></b-input>
|
|
70
72
|
</b-field>
|
|
71
73
|
</div>
|
|
72
74
|
</div>
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
:loading="checkingEmail"
|
|
15
15
|
type="email"
|
|
16
16
|
name="email"
|
|
17
|
+
autocomplete="email"
|
|
17
18
|
/>
|
|
18
19
|
</b-field>
|
|
19
20
|
<div v-if="emailSuggestion" class="email-suggestion-container">
|
|
@@ -32,7 +33,7 @@
|
|
|
32
33
|
:type="{ 'is-danger': errors.first_name }"
|
|
33
34
|
:message="errors.first_name"
|
|
34
35
|
>
|
|
35
|
-
<b-input native-value="inside" v-model="userIdentity.first_name" type="text" name="first_name"></b-input>
|
|
36
|
+
<b-input native-value="inside" v-model="userIdentity.first_name" type="text" name="first_name" autocomplete="given-name"></b-input>
|
|
36
37
|
</b-field>
|
|
37
38
|
</div>
|
|
38
39
|
<div class="column">
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
:type="{ 'is-danger': errors.last_name }"
|
|
43
44
|
:message="errors.last_name"
|
|
44
45
|
>
|
|
45
|
-
<b-input v-model="userIdentity.last_name" name="last_name" />
|
|
46
|
+
<b-input v-model="userIdentity.last_name" name="last_name" autocomplete="family-name" />
|
|
46
47
|
</b-field>
|
|
47
48
|
</div>
|
|
48
49
|
</div>
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
:type="{ 'is-danger': errors.phone }"
|
|
55
56
|
:message="errors.phone"
|
|
56
57
|
>
|
|
57
|
-
<b-input v-mask="initialState.phoneNumberMask" native-value="inside" v-model="userIdentity.phone" name="phone" />
|
|
58
|
+
<b-input v-mask="initialState.phoneNumberMask" native-value="inside" v-model="userIdentity.phone" name="phone" autocomplete="tel"/>
|
|
58
59
|
</b-field>
|
|
59
60
|
</div>
|
|
60
61
|
</div>
|
|
@@ -61,7 +61,7 @@ export default {
|
|
|
61
61
|
setProducts(products) {
|
|
62
62
|
this.products = products
|
|
63
63
|
this.setAttTemplateId()
|
|
64
|
-
Cookie.set('compareList', this.products, { expires: 1 })
|
|
64
|
+
Cookie.set('compareList', JSON.stringify(this.products), { expires: 1 })
|
|
65
65
|
},
|
|
66
66
|
|
|
67
67
|
addProduct(product) {
|
|
@@ -81,7 +81,7 @@ export default {
|
|
|
81
81
|
this.products.push(product)
|
|
82
82
|
this.setCompareIconStatus(product.id, 'on')
|
|
83
83
|
this.setAttTemplateId()
|
|
84
|
-
Cookie.set('compareList', this.products, { expires: 1 })
|
|
84
|
+
Cookie.set('compareList', JSON.stringify(this.products), { expires: 1 })
|
|
85
85
|
},
|
|
86
86
|
|
|
87
87
|
compare() {
|