wickes-css2 2.109.0-develop.5 → 2.109.0-develop.7
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/Readme.md +0 -1
- package/build/css/components/card-product-banner.css +1 -1
- package/build/css/components/special-opening-schedule-v2.css +1 -1
- package/build/css/components/special-opening-schedule.css +1 -1
- package/build/css/emulation.css +1 -1
- package/build/css/main.css +1 -1
- package/build/css/my-account-main-v2.css +1 -1
- package/build/css/my-account-main.css +1 -1
- package/build/css/pages/checkout-new.css +1 -1
- package/build/css/pages/page_merged-basket.css +1 -1
- package/build/css/pages/page_store-locator-details.css +1 -1
- package/build/css/pages/page_store-locator.css +1 -1
- package/build/css/plp-main.css +1 -1
- package/build/css/store-locator-main.css +1 -1
- package/build/js/basket.min.js +1 -1
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +1 -1
- package/build/js/emulation.min.js +340 -110
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/merged-checkout.min.js +1 -1
- package/build/js/page/components/store-locator-cards.js +76 -0
- package/build/js/pdp.bundle.min.js +1 -1
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/project-list.min.js +1 -1
- package/build/js/store-locator-cards.min.js +1 -0
- package/package.json +1 -1
- package/src/components/card-store-locator.hbs +70 -33
- package/src/components/card_bloomreach_media_banner.hbs +10 -0
- package/src/components/card_sponsor_banner.hbs +1 -1
- package/src/data/data_locators.json +441 -135
- package/src/data/data_search-results_v2.json +11 -0
- package/src/js/components/general/accordion.js +25 -2
- package/src/js/emulation/banner-placement-manager.js +235 -34
- package/src/js/emulation/gift-cards.js +1 -1
- package/src/js/emulation/store-locator-load-more.js +69 -0
- package/src/js/page/components/store-locator-cards.js +76 -0
- package/src/page_plp_bloomreach.html +81 -0
- package/src/page_plp_v2.html +5 -0
- package/src/page_store-locator-list.html +18 -28
- package/src/scss/components/_card-store-locator.scss +139 -32
- package/src/scss/components/card-product-banner.scss +35 -35
- package/src/scss/components/special-opening-schedule-v2.scss +2 -6
- package/src/scss/components/special-opening-schedule.scss +17 -4
- package/src/scss/emulation.scss +0 -6
- package/src/scss/pages/page_store-locator.scss +48 -26
- package/src/scss/store-locator-main.scss +15 -1
- package/src/sitemap.html +1 -0
- package/src/js/emulation/store-locator-list.js +0 -19
|
@@ -1,162 +1,468 @@
|
|
|
1
1
|
{
|
|
2
2
|
"locators": [
|
|
3
3
|
{
|
|
4
|
+
"titleName": "Epsom",
|
|
5
|
+
"distance": "4.3 Miles",
|
|
6
|
+
"storeName": "Store name",
|
|
7
|
+
"storeLocation": "PEEL CENTRE, EPSOM ADDRESS LONG STRING",
|
|
8
|
+
"storeCity": "SURREY",
|
|
9
|
+
"storePostcode": "KT17 1EQ",
|
|
4
10
|
"special-opening-schedule": {
|
|
5
|
-
|
|
11
|
+
"itemSchedule": [
|
|
6
12
|
{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
13
|
+
"reason": "Good Friday",
|
|
14
|
+
"day": "Fri 10 Apr",
|
|
15
|
+
"time": "07:00 AM - 08:00 PM"
|
|
10
16
|
},
|
|
11
17
|
{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
18
|
+
"reason": "Saturday",
|
|
19
|
+
"day": "Sat 11 Apr",
|
|
20
|
+
"time": "07:00 AM - 08:00 PM"
|
|
15
21
|
},
|
|
16
22
|
{
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
"reason": "Easter Sunday",
|
|
24
|
+
"day": "Sun 12 Apr",
|
|
25
|
+
"time": "Closed"
|
|
20
26
|
},
|
|
21
27
|
{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
"reason": "Easter Monday",
|
|
29
|
+
"day": "Mon 13 Apr",
|
|
30
|
+
"time": "07:00 AM - 08:00 PM"
|
|
25
31
|
}
|
|
26
|
-
|
|
32
|
+
]
|
|
27
33
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"titleName": "Epsom",
|
|
37
|
+
"distance": "4.3 Miles",
|
|
38
|
+
"storeLocation": "PEEL CENTRE, EPSOM",
|
|
39
|
+
"storeCity": "SURREY",
|
|
40
|
+
"storePostcode": "KT17 1EQ"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"titleName": "Epsom",
|
|
44
|
+
"distance": "4.3 Miles",
|
|
45
|
+
"storeName": "Store name",
|
|
46
|
+
"storeLocation": "PEEL CENTRE, EPSOM",
|
|
47
|
+
"storeCity": "SURREY",
|
|
48
|
+
"storePostcode": "KT17 1EQ",
|
|
49
|
+
"special-opening-schedule": {
|
|
31
50
|
"itemSchedule": [
|
|
32
51
|
{
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
52
|
+
"reason": "Good Friday",
|
|
53
|
+
"day": "Fri 10 Apr",
|
|
54
|
+
"time": "09.00 - 18.00"
|
|
36
55
|
},
|
|
37
56
|
{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
57
|
+
"reason": "Saturday",
|
|
58
|
+
"day": "Sat 11 Apr",
|
|
59
|
+
"time": "09.00 - 18.00"
|
|
41
60
|
},
|
|
42
61
|
{
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
62
|
+
"reason": "Easter Sunday",
|
|
63
|
+
"day": "Sun 12 Apr",
|
|
64
|
+
"time": "Closed"
|
|
46
65
|
},
|
|
47
66
|
{
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
67
|
+
"reason": "Easter Monday",
|
|
68
|
+
"day": "Mon 13 Apr",
|
|
69
|
+
"time": "09.00 - 18.00"
|
|
51
70
|
}
|
|
52
|
-
|
|
53
|
-
|
|
71
|
+
]
|
|
72
|
+
}
|
|
54
73
|
},
|
|
55
74
|
{
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
"reason": "Good Friday",
|
|
87
|
-
"day": "Fri 10 Apr",
|
|
88
|
-
"time": "07.00 - 20.00"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"reason": "Saturday",
|
|
92
|
-
"day": "Sat 11 Apr",
|
|
93
|
-
"time": "07.00 - 20.00"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"reason": "Easter Sunday",
|
|
97
|
-
"day": "Sun 12 Apr",
|
|
98
|
-
"time": "Closed"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"reason": "Easter Monday",
|
|
102
|
-
"day": "Mon 13 Apr",
|
|
103
|
-
"time": "07.00 - 20.00"
|
|
104
|
-
}
|
|
105
|
-
]
|
|
106
|
-
}
|
|
75
|
+
"titleName": "Epsom",
|
|
76
|
+
"distance": "4.3 Miles",
|
|
77
|
+
"storeName": "Store name",
|
|
78
|
+
"storeLocation": "PEEL CENTRE, EPSOM",
|
|
79
|
+
"storeCity": "SURREY",
|
|
80
|
+
"storePostcode": "KT17 1EQ",
|
|
81
|
+
"special-opening-schedule": {
|
|
82
|
+
"itemSchedule": [
|
|
83
|
+
{
|
|
84
|
+
"reason": "Good Friday",
|
|
85
|
+
"day": "Fri 10 Apr",
|
|
86
|
+
"time": "07.00 - 20.00"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"reason": "Saturday",
|
|
90
|
+
"day": "Sat 11 Apr",
|
|
91
|
+
"time": "07.00 - 20.00"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"reason": "Easter Sunday",
|
|
95
|
+
"day": "Sun 12 Apr",
|
|
96
|
+
"time": "Closed"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"reason": "Easter Monday",
|
|
100
|
+
"day": "Mon 13 Apr",
|
|
101
|
+
"time": "07.00 - 20.00"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
107
105
|
},
|
|
108
106
|
{
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
107
|
+
"titleName": "Epsom",
|
|
108
|
+
"storeName": "Store name",
|
|
109
|
+
"storeLocation": "PEEL CENTRE, EPSOM",
|
|
110
|
+
"storeCity": "SURREY",
|
|
111
|
+
"storePostcode": "KT17 1EQ",
|
|
112
|
+
"special-opening-schedule": {
|
|
113
|
+
"itemSchedule": [
|
|
114
|
+
{
|
|
115
|
+
"reason": "Good Friday",
|
|
116
|
+
"day": "Fri 10 Apr",
|
|
117
|
+
"time": "09.00 - 18.00"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"reason": "Saturday",
|
|
121
|
+
"day": "Sat 11 Apr",
|
|
122
|
+
"time": "09.00 - 18.00"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"reason": "Easter Sunday",
|
|
126
|
+
"day": "Sun 12 Apr",
|
|
127
|
+
"time": "Closed"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"reason": "Easter Monday",
|
|
131
|
+
"day": "Mon 13 Apr",
|
|
132
|
+
"time": "09.00 - 18.00"
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"titleName": "Epsom",
|
|
139
|
+
"storeName": "Store name",
|
|
140
|
+
"storeLocation": "PEEL CENTRE, EPSOM",
|
|
141
|
+
"storeCity": "SURREY",
|
|
142
|
+
"storePostcode": "KT17 1EQ",
|
|
143
|
+
"special-opening-schedule": {
|
|
144
|
+
"itemSchedule": [
|
|
145
|
+
{
|
|
146
|
+
"reason": "Good Friday",
|
|
147
|
+
"day": "Fri 10 Apr",
|
|
148
|
+
"time": "07.00 - 20.00"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"reason": "Saturday",
|
|
152
|
+
"day": "Sat 11 Apr",
|
|
153
|
+
"time": "07.00 - 20.00"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"reason": "Easter Sunday",
|
|
157
|
+
"day": "Sun 12 Apr",
|
|
158
|
+
"time": "Closed"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"reason": "Easter Monday",
|
|
162
|
+
"day": "Mon 13 Apr",
|
|
163
|
+
"time": "07.00 - 20.00"
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"titleName": "Epsom",
|
|
170
|
+
"distance": "4.3 Miles",
|
|
171
|
+
"storeName": "Store name",
|
|
172
|
+
"storeLocation": "PEEL CENTRE, EPSOM",
|
|
173
|
+
"storeCity": "SURREY",
|
|
174
|
+
"storePostcode": "KT17 1EQ",
|
|
175
|
+
"special-opening-schedule": {
|
|
176
|
+
"itemSchedule": [
|
|
177
|
+
{
|
|
178
|
+
"reason": "Good Friday",
|
|
179
|
+
"day": "Fri 10 Apr",
|
|
180
|
+
"time": "09.00 - 18.00"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"reason": "Saturday",
|
|
184
|
+
"day": "Sat 11 Apr",
|
|
185
|
+
"time": "09.00 - 18.00"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"reason": "Easter Sunday",
|
|
189
|
+
"day": "Sun 12 Apr",
|
|
190
|
+
"time": "Closed"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"reason": "Easter Monday",
|
|
194
|
+
"day": "Mon 13 Apr",
|
|
195
|
+
"time": "09.00 - 18.00"
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"titleName": "Epsom",
|
|
202
|
+
"storeName": "Store name",
|
|
203
|
+
"storeLocation": "PEEL CENTRE, EPSOM",
|
|
204
|
+
"storeCity": "SURREY",
|
|
205
|
+
"storePostcode": "KT17 1EQ",
|
|
206
|
+
"special-opening-schedule": {
|
|
207
|
+
"itemSchedule": [
|
|
208
|
+
{
|
|
209
|
+
"reason": "Good Friday",
|
|
210
|
+
"day": "Fri 10 Apr",
|
|
211
|
+
"time": "07.00 - 20.00"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"reason": "Saturday",
|
|
215
|
+
"day": "Sat 11 Apr",
|
|
216
|
+
"time": "07.00 - 20.00"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"reason": "Easter Sunday",
|
|
220
|
+
"day": "Sun 12 Apr",
|
|
221
|
+
"time": "Closed"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"reason": "Easter Monday",
|
|
225
|
+
"day": "Mon 13 Apr",
|
|
226
|
+
"time": "07.00 - 20.00"
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"titleName": "Epsom",
|
|
233
|
+
"distance": "4.3 Miles",
|
|
234
|
+
"storeLocation": "PEEL CENTRE, EPSOM",
|
|
235
|
+
"storeCity": "SURREY",
|
|
236
|
+
"storePostcode": "KT17 1EQ",
|
|
237
|
+
"special-opening-schedule": {
|
|
238
|
+
"itemSchedule": [
|
|
239
|
+
{
|
|
240
|
+
"reason": "Good Friday",
|
|
241
|
+
"day": "Fri 10 Apr",
|
|
242
|
+
"time": "07.00 - 20.00"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"reason": "Saturday",
|
|
246
|
+
"day": "Sat 11 Apr",
|
|
247
|
+
"time": "07.00 - 20.00"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"reason": "Easter Sunday",
|
|
251
|
+
"day": "Sun 12 Apr",
|
|
252
|
+
"time": "Closed"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"reason": "Easter Monday",
|
|
256
|
+
"day": "Mon 13 Apr",
|
|
257
|
+
"time": "07.00 - 20.00"
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"titleName": "Epsom",
|
|
264
|
+
"distance": "4.3 Miles",
|
|
265
|
+
"storeLocation": "PEEL CENTRE, EPSOM",
|
|
266
|
+
"storeCity": "SURREY",
|
|
267
|
+
"storePostcode": "KT17 1EQ",
|
|
268
|
+
"special-opening-schedule": {
|
|
269
|
+
"itemSchedule": [
|
|
270
|
+
{
|
|
271
|
+
"reason": "Good Friday",
|
|
272
|
+
"day": "Fri 10 Apr",
|
|
273
|
+
"time": "07:00 AM - 08:00 PM"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"reason": "Saturday",
|
|
277
|
+
"day": "Sat 11 Apr",
|
|
278
|
+
"time": "07.00 - 20.00"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"reason": "Easter Sunday",
|
|
282
|
+
"day": "Sun 12 Apr",
|
|
283
|
+
"time": "Closed"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"reason": "Easter Monday",
|
|
287
|
+
"day": "Mon 13 Apr",
|
|
288
|
+
"time": "07.00 - 20.00"
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"titleName": "Epsom",
|
|
295
|
+
"distance": "4.3 Miles",
|
|
296
|
+
"storeLocation": "PEEL CENTRE, EPSOM",
|
|
297
|
+
"storeCity": "SURREY",
|
|
298
|
+
"storePostcode": "KT17 1EQ",
|
|
299
|
+
"special-opening-schedule": {
|
|
300
|
+
"itemSchedule": [
|
|
301
|
+
{
|
|
302
|
+
"reason": "Good Friday",
|
|
303
|
+
"day": "Fri 10 Apr",
|
|
304
|
+
"time": "07.00 - 20.00"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"reason": "Saturday",
|
|
308
|
+
"day": "Sat 11 Apr",
|
|
309
|
+
"time": "07.00 - 20.00"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"reason": "Easter Sunday",
|
|
313
|
+
"day": "Sun 12 Apr",
|
|
314
|
+
"time": "Closed"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"reason": "Easter Monday",
|
|
318
|
+
"day": "Mon 13 Apr",
|
|
319
|
+
"time": "07.00 - 20.00"
|
|
320
|
+
}
|
|
321
|
+
]
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"titleName": "Epsom",
|
|
326
|
+
"distance": "4.3 Miles",
|
|
327
|
+
"storeLocation": "PEEL CENTRE, EPSOM",
|
|
328
|
+
"storeCity": "SURREY",
|
|
329
|
+
"storePostcode": "KT17 1EQ",
|
|
330
|
+
"special-opening-schedule": {
|
|
331
|
+
"itemSchedule": [
|
|
332
|
+
{
|
|
333
|
+
"reason": "Good Friday",
|
|
334
|
+
"day": "Fri 10 Apr",
|
|
335
|
+
"time": "07.00 - 20.00"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"reason": "Saturday",
|
|
339
|
+
"day": "Sat 11 Apr",
|
|
340
|
+
"time": "07.00 - 20.00"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"reason": "Easter Sunday",
|
|
344
|
+
"day": "Sun 12 Apr",
|
|
345
|
+
"time": "Closed"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"reason": "Easter Monday",
|
|
349
|
+
"day": "Mon 13 Apr",
|
|
350
|
+
"time": "07.00 - 20.00"
|
|
351
|
+
}
|
|
352
|
+
]
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"titleName": "Epsom",
|
|
357
|
+
"storeLocation": "PEEL CENTRE, EPSOM",
|
|
358
|
+
"special-opening-schedule": {
|
|
359
|
+
"itemSchedule": [
|
|
360
|
+
{
|
|
361
|
+
"reason": "Good Friday",
|
|
362
|
+
"day": "Fri 10 Apr",
|
|
363
|
+
"time": "07.00 - 20.00"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"reason": "Saturday",
|
|
367
|
+
"day": "Sat 11 Apr",
|
|
368
|
+
"time": "07.00 - 20.00"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"reason": "Easter Sunday",
|
|
372
|
+
"day": "Sun 12 Apr",
|
|
373
|
+
"time": "Closed"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"reason": "Easter Monday",
|
|
377
|
+
"day": "Mon 13 Apr",
|
|
378
|
+
"time": "07.00 - 20.00"
|
|
379
|
+
}
|
|
380
|
+
]
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"titleName": "Epsom",
|
|
385
|
+
"storeLocation": "PEEL CENTRE, EPSOM",
|
|
386
|
+
"special-opening-schedule": {
|
|
387
|
+
"itemSchedule": [
|
|
388
|
+
{
|
|
389
|
+
"reason": "Good Friday",
|
|
390
|
+
"day": "Fri 10 Apr",
|
|
391
|
+
"time": "07:00 AM - 08:00 PM"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"reason": "Saturday",
|
|
395
|
+
"day": "Sat 11 Apr",
|
|
396
|
+
"time": "07.00 - 20.00"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"reason": "Easter Sunday",
|
|
400
|
+
"day": "Sun 12 Apr",
|
|
401
|
+
"time": "Closed"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"reason": "Easter Monday",
|
|
405
|
+
"day": "Mon 13 Apr",
|
|
406
|
+
"time": "07.00 - 20.00"
|
|
407
|
+
}
|
|
408
|
+
]
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"titleName": "Epsom",
|
|
413
|
+
"storeLocation": "PEEL CENTRE, EPSOM",
|
|
414
|
+
"special-opening-schedule": {
|
|
415
|
+
"itemSchedule": [
|
|
416
|
+
{
|
|
417
|
+
"reason": "Good Friday",
|
|
418
|
+
"day": "Fri 10 Apr",
|
|
419
|
+
"time": "07.00 - 20.00"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"reason": "Saturday",
|
|
423
|
+
"day": "Sat 11 Apr",
|
|
424
|
+
"time": "07.00 - 20.00"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"reason": "Easter Sunday",
|
|
428
|
+
"day": "Sun 12 Apr",
|
|
429
|
+
"time": "Closed"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"reason": "Easter Monday",
|
|
433
|
+
"day": "Mon 13 Apr",
|
|
434
|
+
"time": "07.00 - 20.00"
|
|
435
|
+
}
|
|
436
|
+
]
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"titleName": "Epsom",
|
|
441
|
+
"storeLocation": "PEEL CENTRE, EPSOM",
|
|
442
|
+
"special-opening-schedule": {
|
|
443
|
+
"itemSchedule": [
|
|
444
|
+
{
|
|
445
|
+
"reason": "Good Friday",
|
|
446
|
+
"day": "Fri 10 Apr",
|
|
447
|
+
"time": "07.00 - 20.00"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"reason": "Saturday",
|
|
451
|
+
"day": "Sat 11 Apr",
|
|
452
|
+
"time": "07.00 - 20.00"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"reason": "Easter Sunday",
|
|
456
|
+
"day": "Sun 12 Apr",
|
|
457
|
+
"time": "Closed"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"reason": "Easter Monday",
|
|
461
|
+
"day": "Mon 13 Apr",
|
|
462
|
+
"time": "07.00 - 20.00"
|
|
463
|
+
}
|
|
464
|
+
]
|
|
465
|
+
}
|
|
160
466
|
}
|
|
161
|
-
|
|
162
|
-
}
|
|
467
|
+
]
|
|
468
|
+
}
|
|
@@ -15,6 +15,17 @@
|
|
|
15
15
|
"show": false
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
|
+
"bloomreach-media-banner": [
|
|
19
|
+
{
|
|
20
|
+
"contentType": "image_upload",
|
|
21
|
+
"htmlContent": "<img src=\"https://placehold.co/912x1426?text=Bloomreach+Banner\" alt=\"Bloomreach banner\" usemap=\"#hotspot-map-1221911-3b9891be\">\n<map name=\"hotspot-map-1221911-3b9891be\"><area shape=\"rect\" coords=\"0,0,912,1496\" href=\"https://www-cand2.dev.wickes.co.uk/Hippo-HIPPOSKIP---Collection-Service-Only/p/295961\" alt=\"Hippo HIPPOSKIP - Collection Service Only\"></map>",
|
|
22
|
+
"metaInfo": "",
|
|
23
|
+
"docType": "content",
|
|
24
|
+
"slots": [3],
|
|
25
|
+
"dimension": "1x1",
|
|
26
|
+
"show": true
|
|
27
|
+
}
|
|
28
|
+
],
|
|
18
29
|
"sponsor-product": [
|
|
19
30
|
{
|
|
20
31
|
"isSponsor": true,
|
|
@@ -3,10 +3,18 @@ Wick.Accordion = (function () {
|
|
|
3
3
|
var accordionRoot = '.accordion',
|
|
4
4
|
accordionToggler = '.accordion__header',
|
|
5
5
|
accordionIcon = '.accordion__action',
|
|
6
|
+
accordionBottomClose = '.opening-times-accordion__close',
|
|
6
7
|
accordionContent = '.accordion__content',
|
|
7
8
|
collapsed = 'accordion_collapsed',
|
|
8
9
|
$asideAccordion = $('.aside-accordion .js-toggle-aside-accordion');
|
|
9
10
|
|
|
11
|
+
function toggleAccordion($acc) {
|
|
12
|
+
if (!$acc.length) return;
|
|
13
|
+
|
|
14
|
+
$acc.toggleClass(collapsed);
|
|
15
|
+
$acc.children(accordionContent).stop(true, true).slideToggle(200);
|
|
16
|
+
}
|
|
17
|
+
|
|
10
18
|
function getTriggerSelector($acc) {
|
|
11
19
|
return $acc.attr('data-action-element') === 'icon' ? accordionIcon : accordionToggler;
|
|
12
20
|
}
|
|
@@ -20,8 +28,19 @@ Wick.Accordion = (function () {
|
|
|
20
28
|
|
|
21
29
|
if (!$trigger.is(triggerSel)) return;
|
|
22
30
|
|
|
23
|
-
$acc
|
|
24
|
-
|
|
31
|
+
toggleAccordion($acc);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function onAccordionBottomCloseClick(e) {
|
|
35
|
+
e.preventDefault();
|
|
36
|
+
|
|
37
|
+
var $trigger = $(e.currentTarget);
|
|
38
|
+
var $acc = $trigger.closest(accordionRoot);
|
|
39
|
+
if (!$acc.length) return;
|
|
40
|
+
|
|
41
|
+
if (!$acc.hasClass(collapsed)) {
|
|
42
|
+
toggleAccordion($acc);
|
|
43
|
+
}
|
|
25
44
|
}
|
|
26
45
|
|
|
27
46
|
function init() {
|
|
@@ -29,6 +48,10 @@ Wick.Accordion = (function () {
|
|
|
29
48
|
.off('click.wickAccordion', accordionToggler + ',' + accordionIcon)
|
|
30
49
|
.on('click.wickAccordion', accordionToggler + ',' + accordionIcon, onAccordionClick);
|
|
31
50
|
|
|
51
|
+
$(document)
|
|
52
|
+
.off('click.wickAccordionClose', accordionBottomClose)
|
|
53
|
+
.on('click.wickAccordionClose', accordionBottomClose, onAccordionBottomCloseClick);
|
|
54
|
+
|
|
32
55
|
$asideAccordion.off('click.wickAsideAccordion').on('click.wickAsideAccordion', function () {
|
|
33
56
|
if (window.matchMedia('(min-width: 992px)').matches) {
|
|
34
57
|
if ($(this).text().toLowerCase() !== 'useful links') {
|