@faststore/core 3.95.1-dev.0 → 3.96.0-dev.17
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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +54 -54
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/react-loadable-manifest.json +6 -6
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/7098.js +1 -1
- package/.next/server/chunks/948.js +1 -1
- package/.next/server/chunks/9563.js +3 -3
- package/.next/server/chunks/9630.js +7 -7
- package/.next/server/functions-config-manifest.json +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/[...slug].js +1 -1
- package/.next/server/pages/[slug]/p.js +1 -1
- package/.next/server/pages/api/graphql.js +3 -3
- package/.next/server/pages/en-US/404.html +1 -1
- package/.next/server/pages/en-US/500.html +1 -1
- package/.next/server/pages/en-US/checkout.html +1 -1
- package/.next/server/pages/en-US/login.html +1 -1
- package/.next/server/pages/en-US/s.html +1 -1
- package/.next/server/pages/en-US.html +1 -1
- package/.next/server/pages/en-US.json +1 -1
- package/.next/server/pages/pvt/account/orders/[id].js +1 -1
- package/.next/server/pages/s.js +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/static/Yo88n9O6FrhtIc3GGfGv9/_buildManifest.js +1 -0
- package/.next/static/chunks/{1841.b3a98a2a1886b09c.js → 1841.a1b15f2c88e02d32.js} +1 -1
- package/.next/static/chunks/{2500.d6beb5af6ee00a9e.js → 2500.b188ad84b5a0a521.js} +1 -1
- package/.next/static/chunks/{7191-5aa417081c97d46a.js → 7191-e43007cdde83bc1f.js} +1 -1
- package/.next/static/chunks/{9173-49a05f6f96710bd1.js → 9173-2ed920b87ee6640e.js} +1 -1
- package/.next/static/chunks/pages/{404-4b3f1e22c77f849a.js → 404-f04d51a89ab8e8c8.js} +1 -1
- package/.next/static/chunks/pages/{500-bb2de0c11524b2b8.js → 500-b3cd1219951eb7d1.js} +1 -1
- package/.next/static/chunks/pages/{[...slug]-3579b3b8b8309552.js → [...slug]-28b3f75a1b2b22b8.js} +1 -1
- package/.next/static/chunks/pages/[slug]/{p-cf620759e25940f8.js → p-f3b7653e4bd1ba57.js} +1 -1
- package/.next/static/chunks/pages/{_app-8e3a3eccc99a6f96.js → _app-38f75642a57fe506.js} +1 -1
- package/.next/static/chunks/pages/{checkout-dc07d72b3514c83d.js → checkout-9a253c6c2498d41f.js} +1 -1
- package/.next/static/chunks/pages/{index-1f8bf0fb351b90f4.js → index-f522924c892c46dd.js} +1 -1
- package/.next/static/chunks/pages/{login-e97ef92769456bf6.js → login-1d364797aaa9da36.js} +1 -1
- package/.next/static/chunks/pages/pvt/account/{403-91597100f8956385.js → 403-2105ed93b3e3e58e.js} +1 -1
- package/.next/static/chunks/pages/pvt/account/{404-c68124bed7cb7c48.js → 404-2e555481b1a4f63b.js} +1 -1
- package/.next/static/chunks/pages/pvt/account/orders/{[id]-68bbe8db444fd60a.js → [id]-2bd9adec59ae1ed3.js} +1 -1
- package/.next/static/chunks/pages/pvt/account/{orders-12a215899ae6f3eb.js → orders-4d66173a6e6282a1.js} +1 -1
- package/.next/static/chunks/pages/pvt/account/{profile-b6cdbf02d4682544.js → profile-1799ddf1749086aa.js} +1 -1
- package/.next/static/chunks/pages/pvt/account/{security-e6289a40e745d3c4.js → security-f2734d61da9099db.js} +1 -1
- package/.next/static/chunks/pages/pvt/account/{user-details-fba1822e52e7de26.js → user-details-c8636b99b6725815.js} +1 -1
- package/.next/static/chunks/pages/{s-41cffb20de1d2617.js → s-603fab8b09726274.js} +1 -1
- package/.next/static/chunks/{webpack-f9e5828934d6d57c.js → webpack-3cd689c2fd3d4dd1.js} +1 -1
- package/.next/trace +138 -138
- package/.turbo/turbo-build.log +17 -17
- package/.turbo/turbo-test.log +8 -7
- package/@generated/gql.ts +2 -2
- package/@generated/graphql.ts +6 -1
- package/@generated/persisted-documents.json +1 -1
- package/@generated/schema.graphql +3 -0
- package/CHANGELOG.md +82 -0
- package/cms/faststore/base.jsonc +42 -0
- package/cms/faststore/components/cms_component__alert.jsonc +40 -0
- package/cms/faststore/components/cms_component__bannernewsletter.jsonc +183 -0
- package/cms/faststore/components/cms_component__bannertext.jsonc +51 -0
- package/cms/faststore/components/cms_component__breadcrumb.jsonc +21 -0
- package/cms/faststore/components/cms_component__cartsidebar.jsonc +122 -0
- package/cms/faststore/components/cms_component__children.jsonc +8 -0
- package/cms/faststore/components/cms_component__crosssellingshelf.jsonc +50 -0
- package/cms/faststore/components/cms_component__emptystate.jsonc +73 -0
- package/cms/faststore/components/cms_component__footer.jsonc +238 -0
- package/cms/faststore/components/cms_component__hero.jsonc +71 -0
- package/cms/faststore/components/cms_component__incentives.jsonc +51 -0
- package/cms/faststore/components/cms_component__navbar.jsonc +318 -0
- package/cms/faststore/components/cms_component__newsletter.jsonc +133 -0
- package/cms/faststore/components/cms_component__productdetails.jsonc +246 -0
- package/cms/faststore/components/cms_component__productgallery.jsonc +312 -0
- package/cms/faststore/components/cms_component__productshelf.jsonc +117 -0
- package/cms/faststore/components/cms_component__producttiles.jsonc +95 -0
- package/cms/faststore/components/cms_component__regionbar.jsonc +58 -0
- package/cms/faststore/components/cms_component__regionmodal.jsonc +85 -0
- package/cms/faststore/components/cms_component__regionpopover.jsonc +97 -0
- package/cms/faststore/components/cms_component__search.jsonc +144 -0
- package/cms/faststore/pages/cms_content_type__404.jsonc +18 -0
- package/cms/faststore/pages/cms_content_type__500.jsonc +18 -0
- package/cms/faststore/pages/cms_content_type__globalfootersections.jsonc +73 -0
- package/cms/faststore/pages/cms_content_type__globalheadersections.jsonc +73 -0
- package/cms/faststore/pages/cms_content_type__globalsections.jsonc +375 -0
- package/cms/faststore/pages/cms_content_type__home.jsonc +213 -0
- package/cms/faststore/pages/cms_content_type__landingpage.jsonc +108 -0
- package/cms/faststore/pages/cms_content_type__login.jsonc +18 -0
- package/cms/faststore/pages/cms_content_type__pdp.jsonc +115 -0
- package/cms/faststore/pages/cms_content_type__plp.jsonc +130 -0
- package/cms/faststore/pages/cms_content_type__search.jsonc +118 -0
- package/cms/faststore/schema.json +3859 -0
- package/cms/faststore/sections.json +2 -2
- package/package.json +15 -8
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/MyAccountDeliveryOptionAccordion.tsx +18 -15
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderDetails.tsx +9 -3
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountSummaryCard/MyAccountSummaryCard.tsx +0 -1
- package/src/pages/api/graphql.ts +26 -5
- package/src/pages/pvt/account/orders/[id].tsx +2 -0
- package/src/sdk/graphql/request.ts +10 -1
- package/src/utils/cookieCacheBusting.ts +141 -0
- package/test/utils/cookieCacheBusting.test.ts +121 -0
- package/.next/static/xPZqGftdSs0H8UD6M_H3H/_buildManifest.js +0 -1
- /package/.next/static/{xPZqGftdSs0H8UD6M_H3H → Yo88n9O6FrhtIc3GGfGv9}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "ProductGallery",
|
|
4
|
+
"$componentTitle": "Product Gallery",
|
|
5
|
+
"title": "Product Gallery",
|
|
6
|
+
"description": "Product Gallery configuration",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["filter"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"searchTermLabel": {
|
|
11
|
+
"title": "Search page term label",
|
|
12
|
+
"type": "string",
|
|
13
|
+
"default": "Showing results for:"
|
|
14
|
+
},
|
|
15
|
+
"totalCountLabel": {
|
|
16
|
+
"title": "Total count label",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"default": "Results"
|
|
19
|
+
},
|
|
20
|
+
"previousPageButton": {
|
|
21
|
+
"title": "Previous page button",
|
|
22
|
+
"type": "object",
|
|
23
|
+
"required": ["icon", "label"],
|
|
24
|
+
"properties": {
|
|
25
|
+
"icon": {
|
|
26
|
+
"title": "Icon",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"icon": {
|
|
30
|
+
"title": "Icon",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enumNames": ["ArrowLeft"],
|
|
33
|
+
"enum": ["ArrowLeft"],
|
|
34
|
+
"default": "ArrowLeft"
|
|
35
|
+
},
|
|
36
|
+
"alt": {
|
|
37
|
+
"title": "Alternative label",
|
|
38
|
+
"type": "string",
|
|
39
|
+
"default": "Arrow Left icon"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"label": {
|
|
44
|
+
"title": "Previous page button",
|
|
45
|
+
"type": "string",
|
|
46
|
+
"default": "Previous page"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"loadMorePageButton": {
|
|
51
|
+
"title": "Load more products Button",
|
|
52
|
+
"type": "object",
|
|
53
|
+
"required": ["label"],
|
|
54
|
+
"properties": {
|
|
55
|
+
"label": {
|
|
56
|
+
"title": "Load more products label",
|
|
57
|
+
"type": "string",
|
|
58
|
+
"default": "Load more products"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"filter": {
|
|
63
|
+
"title": "Filter",
|
|
64
|
+
"type": "object",
|
|
65
|
+
"required": ["title", "mobileOnly"],
|
|
66
|
+
"properties": {
|
|
67
|
+
"title": {
|
|
68
|
+
"title": "Filter title",
|
|
69
|
+
"type": "string",
|
|
70
|
+
"default": "Filters"
|
|
71
|
+
},
|
|
72
|
+
"mobileOnly": {
|
|
73
|
+
"title": "Mobile Only",
|
|
74
|
+
"type": "object",
|
|
75
|
+
"required": ["filterButton", "clearButtonLabel", "applyButtonLabel"],
|
|
76
|
+
"properties": {
|
|
77
|
+
"filterButton": {
|
|
78
|
+
"title": "Show filter button",
|
|
79
|
+
"type": "object",
|
|
80
|
+
"required": ["label", "icon"],
|
|
81
|
+
"properties": {
|
|
82
|
+
"label": {
|
|
83
|
+
"title": "Label",
|
|
84
|
+
"type": "string",
|
|
85
|
+
"default": "Filters"
|
|
86
|
+
},
|
|
87
|
+
"icon": {
|
|
88
|
+
"title": "Icon",
|
|
89
|
+
"type": "object",
|
|
90
|
+
"required": ["icon", "alt"],
|
|
91
|
+
"properties": {
|
|
92
|
+
"icon": {
|
|
93
|
+
"title": "Icon",
|
|
94
|
+
"type": "string",
|
|
95
|
+
"enumNames": ["FadersHorizontal"],
|
|
96
|
+
"enum": ["FadersHorizontal"],
|
|
97
|
+
"default": "FadersHorizontal"
|
|
98
|
+
},
|
|
99
|
+
"alt": {
|
|
100
|
+
"title": "Alternative label",
|
|
101
|
+
"type": "string",
|
|
102
|
+
"default": "Open filters"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"clearButtonLabel": {
|
|
109
|
+
"title": "Clear button label",
|
|
110
|
+
"type": "string",
|
|
111
|
+
"default": "Clear all"
|
|
112
|
+
},
|
|
113
|
+
"applyButtonLabel": {
|
|
114
|
+
"title": "Apply button label",
|
|
115
|
+
"type": "string",
|
|
116
|
+
"default": "Apply"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"productCard": {
|
|
123
|
+
"title": "Product Card Configuration",
|
|
124
|
+
"type": "object",
|
|
125
|
+
"properties": {
|
|
126
|
+
"showDiscountBadge": {
|
|
127
|
+
"title": "Show discount badge?",
|
|
128
|
+
"type": "boolean",
|
|
129
|
+
"default": true
|
|
130
|
+
},
|
|
131
|
+
"bordered": {
|
|
132
|
+
"title": "Cards should be bordered?",
|
|
133
|
+
"type": "boolean",
|
|
134
|
+
"default": true
|
|
135
|
+
},
|
|
136
|
+
"taxesConfiguration": {
|
|
137
|
+
"title": "Taxes Configuration",
|
|
138
|
+
"type": "object",
|
|
139
|
+
"properties": {
|
|
140
|
+
"usePriceWithTaxes": {
|
|
141
|
+
"title": "Should use taxes to calculate the price?",
|
|
142
|
+
"type": "boolean",
|
|
143
|
+
"default": false
|
|
144
|
+
},
|
|
145
|
+
"taxesLabel": {
|
|
146
|
+
"title": "Tax label to be displayed",
|
|
147
|
+
"type": "string",
|
|
148
|
+
"default": "Tax included"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"sponsoredLabel": {
|
|
153
|
+
"title": "Sponsored Label",
|
|
154
|
+
"type": "string",
|
|
155
|
+
"default": "Sponsored"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"emptyGallery": {
|
|
160
|
+
"title": "Empty Gallery",
|
|
161
|
+
"type": "object",
|
|
162
|
+
"properties": {
|
|
163
|
+
"title": {
|
|
164
|
+
"title": "Title",
|
|
165
|
+
"type": "string",
|
|
166
|
+
"default": "Nothing matches your search"
|
|
167
|
+
},
|
|
168
|
+
"firstButton": {
|
|
169
|
+
"title": "First Button",
|
|
170
|
+
"type": "object",
|
|
171
|
+
"properties": {
|
|
172
|
+
"label": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"title": "Label",
|
|
175
|
+
"default": "Browse offers"
|
|
176
|
+
},
|
|
177
|
+
"url": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"title": "URL",
|
|
180
|
+
"default": "/office"
|
|
181
|
+
},
|
|
182
|
+
"icon": {
|
|
183
|
+
"title": "Icon",
|
|
184
|
+
"type": "string",
|
|
185
|
+
"default": "CircleWavyWarning"
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"secondButton": {
|
|
190
|
+
"title": "Second Button",
|
|
191
|
+
"type": "object",
|
|
192
|
+
"properties": {
|
|
193
|
+
"label": {
|
|
194
|
+
"type": "string",
|
|
195
|
+
"title": "Label",
|
|
196
|
+
"default": "Just arrived"
|
|
197
|
+
},
|
|
198
|
+
"url": {
|
|
199
|
+
"type": "string",
|
|
200
|
+
"title": "URL",
|
|
201
|
+
"default": "/technology"
|
|
202
|
+
},
|
|
203
|
+
"icon": {
|
|
204
|
+
"title": "Icon",
|
|
205
|
+
"type": "string",
|
|
206
|
+
"default": "RocketLaunch"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"productComparison": {
|
|
213
|
+
"title": "Product Comparison",
|
|
214
|
+
"type": "object",
|
|
215
|
+
"properties": {
|
|
216
|
+
"enabled": {
|
|
217
|
+
"title": "Enable Product Comparison",
|
|
218
|
+
"type": "boolean",
|
|
219
|
+
"default": false
|
|
220
|
+
},
|
|
221
|
+
"labels": {
|
|
222
|
+
"title": "Labels",
|
|
223
|
+
"type": "object",
|
|
224
|
+
"properties": {
|
|
225
|
+
"compareButton": {
|
|
226
|
+
"title": "Compare Button",
|
|
227
|
+
"type": "string",
|
|
228
|
+
"default": "Compare"
|
|
229
|
+
},
|
|
230
|
+
"clearSelectionButton": {
|
|
231
|
+
"title": "Clear Selection Button",
|
|
232
|
+
"type": "string",
|
|
233
|
+
"default": "Clear Selection"
|
|
234
|
+
},
|
|
235
|
+
"selectionWarning": {
|
|
236
|
+
"title": "Selection Warning",
|
|
237
|
+
"type": "string",
|
|
238
|
+
"default": "Select at least 2"
|
|
239
|
+
},
|
|
240
|
+
"sidebarComponent": {
|
|
241
|
+
"title": "Sidebar component",
|
|
242
|
+
"type": "object",
|
|
243
|
+
"properties": {
|
|
244
|
+
"title": {
|
|
245
|
+
"title": "Title",
|
|
246
|
+
"type": "string",
|
|
247
|
+
"default": "Compare Products"
|
|
248
|
+
},
|
|
249
|
+
"filterLabel": {
|
|
250
|
+
"title": "Filter text",
|
|
251
|
+
"type": "string",
|
|
252
|
+
"default": "Filters"
|
|
253
|
+
},
|
|
254
|
+
"productNameFilterLabel": {
|
|
255
|
+
"title": "Filter by product name text",
|
|
256
|
+
"type": "string",
|
|
257
|
+
"default": "Product name"
|
|
258
|
+
},
|
|
259
|
+
"sortLabel": {
|
|
260
|
+
"title": "Sort filter text",
|
|
261
|
+
"type": "string",
|
|
262
|
+
"default": "Sort by"
|
|
263
|
+
},
|
|
264
|
+
"toggleFieldLabel": {
|
|
265
|
+
"title": "Toggle filter text",
|
|
266
|
+
"type": "string",
|
|
267
|
+
"default": "Show only differences"
|
|
268
|
+
},
|
|
269
|
+
"preferencesLabel": {
|
|
270
|
+
"title": "Preferences text",
|
|
271
|
+
"type": "string",
|
|
272
|
+
"default": "Preferences"
|
|
273
|
+
},
|
|
274
|
+
"cartButtonLabel": {
|
|
275
|
+
"title": "Add to cart button",
|
|
276
|
+
"type": "string",
|
|
277
|
+
"default": "Add to cart"
|
|
278
|
+
},
|
|
279
|
+
"priceLabel": {
|
|
280
|
+
"title": "Price text",
|
|
281
|
+
"type": "string",
|
|
282
|
+
"default": "Price"
|
|
283
|
+
},
|
|
284
|
+
"priceWithTaxLabel": {
|
|
285
|
+
"title": "Price with taxes text",
|
|
286
|
+
"type": "string",
|
|
287
|
+
"default": "Price with taxes"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"technicalInformation": {
|
|
292
|
+
"title": "Technical Information",
|
|
293
|
+
"type": "object",
|
|
294
|
+
"properties": {
|
|
295
|
+
"title": {
|
|
296
|
+
"title": "Title",
|
|
297
|
+
"type": "string",
|
|
298
|
+
"default": "Technical Information"
|
|
299
|
+
},
|
|
300
|
+
"description": {
|
|
301
|
+
"title": "Description",
|
|
302
|
+
"type": "string",
|
|
303
|
+
"default": "Technical facts and information about the product."
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "ProductShelf",
|
|
4
|
+
"$componentTitle": "Product Shelf",
|
|
5
|
+
"title": "Product Shelf",
|
|
6
|
+
"description": "Add custom shelves to your store",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["title", "numberOfItems", "after", "sort"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"title": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"title": "Title"
|
|
13
|
+
},
|
|
14
|
+
"numberOfItems": {
|
|
15
|
+
"type": "integer",
|
|
16
|
+
"title": "Total number of items",
|
|
17
|
+
"default": 5,
|
|
18
|
+
"description": "Total number of items. The quantity may be smaller if the query returns fewer products."
|
|
19
|
+
},
|
|
20
|
+
"itemsPerPage": {
|
|
21
|
+
"type": "integer",
|
|
22
|
+
"title": "Number of items per page",
|
|
23
|
+
"default": 5,
|
|
24
|
+
"description": "Number of items to display per page in carousel"
|
|
25
|
+
},
|
|
26
|
+
"after": {
|
|
27
|
+
"type": "integer",
|
|
28
|
+
"title": "After",
|
|
29
|
+
"default": 0,
|
|
30
|
+
"description": "Initial pagination item"
|
|
31
|
+
},
|
|
32
|
+
"sort": {
|
|
33
|
+
"title": "Sort",
|
|
34
|
+
"description": "Items order",
|
|
35
|
+
"default": "score_desc",
|
|
36
|
+
"enum": [
|
|
37
|
+
"discount_desc",
|
|
38
|
+
"name_asc",
|
|
39
|
+
"name_desc",
|
|
40
|
+
"orders_desc",
|
|
41
|
+
"price_asc",
|
|
42
|
+
"price_desc",
|
|
43
|
+
"release_desc",
|
|
44
|
+
"score_desc"
|
|
45
|
+
],
|
|
46
|
+
"enumNames": [
|
|
47
|
+
"Discount: higher to lower",
|
|
48
|
+
"Name: A-Z",
|
|
49
|
+
"Name: Z-A",
|
|
50
|
+
"Orders: higher to lower",
|
|
51
|
+
"Price: lower to higher",
|
|
52
|
+
"Price: higher to lower",
|
|
53
|
+
"Release date: newer to older",
|
|
54
|
+
"Relevance: higher to lower"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"term": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"title": "Search term"
|
|
60
|
+
},
|
|
61
|
+
"selectedFacets": {
|
|
62
|
+
"title": "Facets",
|
|
63
|
+
"type": "array",
|
|
64
|
+
"items": {
|
|
65
|
+
"title": "Facet",
|
|
66
|
+
"type": "object",
|
|
67
|
+
"required": ["key", "value"],
|
|
68
|
+
"properties": {
|
|
69
|
+
"key": {
|
|
70
|
+
"title": "Key",
|
|
71
|
+
"description": "For collections use: productClusterIds",
|
|
72
|
+
"type": "string",
|
|
73
|
+
"default": "productClusterIds"
|
|
74
|
+
},
|
|
75
|
+
"value": {
|
|
76
|
+
"title": "Value",
|
|
77
|
+
"description": "E.g. For 'Most Wanted' collection, use: 140. To consult your collection ids go to Collections page",
|
|
78
|
+
"type": "string",
|
|
79
|
+
"default": "140"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"taxesConfiguration": {
|
|
85
|
+
"title": "Taxes Configuration",
|
|
86
|
+
"type": "object",
|
|
87
|
+
"properties": {
|
|
88
|
+
"usePriceWithTaxes": {
|
|
89
|
+
"title": "Should use taxes to calculate the price?",
|
|
90
|
+
"type": "boolean",
|
|
91
|
+
"default": false
|
|
92
|
+
},
|
|
93
|
+
"taxesLabel": {
|
|
94
|
+
"title": "Tax label to be displayed",
|
|
95
|
+
"type": "string",
|
|
96
|
+
"default": "Tax included"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"productCardConfiguration": {
|
|
101
|
+
"title": "Product Card Configuration",
|
|
102
|
+
"type": "object",
|
|
103
|
+
"properties": {
|
|
104
|
+
"showDiscountBadge": {
|
|
105
|
+
"title": "Show discount badge?",
|
|
106
|
+
"type": "boolean",
|
|
107
|
+
"default": true
|
|
108
|
+
},
|
|
109
|
+
"bordered": {
|
|
110
|
+
"title": "Cards should be bordered?",
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"default": true
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "ProductTiles",
|
|
4
|
+
"$componentTitle": "Product Tiles",
|
|
5
|
+
"title": "Product Tiles",
|
|
6
|
+
"description": "Add custom highlights to your store",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["title", "first", "after", "sort"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"title": {
|
|
11
|
+
"title": "Title",
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"first": {
|
|
15
|
+
"title": "First",
|
|
16
|
+
"type": "integer",
|
|
17
|
+
"default": 3,
|
|
18
|
+
"description": "Number of items to display"
|
|
19
|
+
},
|
|
20
|
+
"after": {
|
|
21
|
+
"title": "After",
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"default": 0,
|
|
24
|
+
"description": "Initial pagination item"
|
|
25
|
+
},
|
|
26
|
+
"sort": {
|
|
27
|
+
"title": "Sort",
|
|
28
|
+
"description": "Items order",
|
|
29
|
+
"default": "score_desc",
|
|
30
|
+
"enum": [
|
|
31
|
+
"discount_desc",
|
|
32
|
+
"name_asc",
|
|
33
|
+
"name_desc",
|
|
34
|
+
"orders_desc",
|
|
35
|
+
"price_asc",
|
|
36
|
+
"price_desc",
|
|
37
|
+
"release_desc",
|
|
38
|
+
"score_desc"
|
|
39
|
+
],
|
|
40
|
+
"enumNames": [
|
|
41
|
+
"Discount: higher to lower",
|
|
42
|
+
"Name: Z-A",
|
|
43
|
+
"Name: A-Z",
|
|
44
|
+
"Orders: higher to lower",
|
|
45
|
+
"Price: lower to higher",
|
|
46
|
+
"Price: higher to lower",
|
|
47
|
+
"Release date: newer to older",
|
|
48
|
+
"Relevance: higher to lower"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"term": {
|
|
52
|
+
"title": "Search term",
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"selectedFacets": {
|
|
56
|
+
"title": "Facets",
|
|
57
|
+
"type": "array",
|
|
58
|
+
"items": {
|
|
59
|
+
"title": "Facet",
|
|
60
|
+
"type": "object",
|
|
61
|
+
"required": ["key", "value"],
|
|
62
|
+
"properties": {
|
|
63
|
+
"key": {
|
|
64
|
+
"title": "Key",
|
|
65
|
+
"description": "Tip: For collections, use: productClusterIds",
|
|
66
|
+
"type": "string",
|
|
67
|
+
"default": "productClusterIds"
|
|
68
|
+
},
|
|
69
|
+
"value": {
|
|
70
|
+
"title": "Value",
|
|
71
|
+
"description": "Tip: For collection 140, use: 140",
|
|
72
|
+
"type": "string",
|
|
73
|
+
"default": "140"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"taxesConfiguration": {
|
|
79
|
+
"title": "Taxes Configuration",
|
|
80
|
+
"type": "object",
|
|
81
|
+
"properties": {
|
|
82
|
+
"usePriceWithTaxes": {
|
|
83
|
+
"title": "Should use taxes to calculate the price?",
|
|
84
|
+
"type": "boolean",
|
|
85
|
+
"default": false
|
|
86
|
+
},
|
|
87
|
+
"taxesLabel": {
|
|
88
|
+
"title": "Tax label to be displayed",
|
|
89
|
+
"type": "string",
|
|
90
|
+
"default": "Tax included"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "RegionBar",
|
|
4
|
+
"$componentTitle": "Region Bar",
|
|
5
|
+
"title": "Region Bar",
|
|
6
|
+
"description": "Region Bar configuration",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["label"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"icon": {
|
|
11
|
+
"title": "Location icon",
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"icon": {
|
|
15
|
+
"title": "Icon",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"enumNames": ["Map Pin"],
|
|
18
|
+
"enum": ["MapPin"],
|
|
19
|
+
"default": "MapPin"
|
|
20
|
+
},
|
|
21
|
+
"alt": {
|
|
22
|
+
"title": "Alternative label",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"default": "Map Pin icon"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"label": {
|
|
29
|
+
"title": "Location label",
|
|
30
|
+
"type": "string",
|
|
31
|
+
"default": "Set your location"
|
|
32
|
+
},
|
|
33
|
+
"editLabel": {
|
|
34
|
+
"title": "Location edit label",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"default": "",
|
|
37
|
+
"description": "[Deprecated] This label should not be used anymore."
|
|
38
|
+
},
|
|
39
|
+
"buttonIcon": {
|
|
40
|
+
"title": "Button Icon",
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"icon": {
|
|
44
|
+
"title": "Icon",
|
|
45
|
+
"type": "string",
|
|
46
|
+
"enumNames": ["Caret Right"],
|
|
47
|
+
"enum": ["CaretRight"],
|
|
48
|
+
"default": "CaretRight"
|
|
49
|
+
},
|
|
50
|
+
"alt": {
|
|
51
|
+
"title": "Alternative Label",
|
|
52
|
+
"type": "string",
|
|
53
|
+
"default": "Caret Right icon"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "RegionModal",
|
|
4
|
+
"$componentTitle": "Region Modal",
|
|
5
|
+
"title": "Region Modal",
|
|
6
|
+
"description": "Region Modal configuration",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"title": {
|
|
10
|
+
"title": "Title",
|
|
11
|
+
"type": "string",
|
|
12
|
+
"default": "Set your location"
|
|
13
|
+
},
|
|
14
|
+
"description": {
|
|
15
|
+
"title": "Description",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"default": "Offers and availability vary by location"
|
|
18
|
+
},
|
|
19
|
+
"closeButtonAriaLabel": {
|
|
20
|
+
"title": "Close modal aria-label",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"default": "Close Region Modal"
|
|
23
|
+
},
|
|
24
|
+
"inputField": {
|
|
25
|
+
"title": "Input Field",
|
|
26
|
+
"type": "object",
|
|
27
|
+
"properties": {
|
|
28
|
+
"label": {
|
|
29
|
+
"title": "Input field label",
|
|
30
|
+
"description": "[Deprecated] Use the fields from the Settings tab in Global Sections",
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"errorMessage": {
|
|
34
|
+
"title": "Input field error message",
|
|
35
|
+
"description": "[Deprecated] Use the fields from the Settings tab in Global Sections",
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
"noProductsAvailableErrorMessage": {
|
|
39
|
+
"title": "Input field error message for the scenario of no products available for a given location",
|
|
40
|
+
"description": "[Deprecated] Use the fields from the Settings tab in Global Sections. The '%s' is replaced by the postal code value.",
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
"buttonActionText": {
|
|
44
|
+
"title": "Input field action button label",
|
|
45
|
+
"description": "[Deprecated] Use the fields from the Settings tab in Global Sections",
|
|
46
|
+
"type": "string"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"idkPostalCodeLink": {
|
|
51
|
+
"title": "I don't know my postal code link",
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {
|
|
54
|
+
"text": {
|
|
55
|
+
"title": "Link Text",
|
|
56
|
+
"description": "[Deprecated] Use the fields from the Settings tab in Global Sections",
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"to": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"title": "Action link",
|
|
62
|
+
"description": "[Deprecated] Use the fields from the Settings tab in Global Sections"
|
|
63
|
+
},
|
|
64
|
+
"icon": {
|
|
65
|
+
"title": "Icon",
|
|
66
|
+
"type": "object",
|
|
67
|
+
"properties": {
|
|
68
|
+
"icon": {
|
|
69
|
+
"title": "Icon",
|
|
70
|
+
"description": "[Deprecated] Use the fields from the Settings tab in Global Sections",
|
|
71
|
+
"type": "string",
|
|
72
|
+
"enumNames": ["Arrow Square Out"],
|
|
73
|
+
"enum": ["ArrowSquareOut"]
|
|
74
|
+
},
|
|
75
|
+
"alt": {
|
|
76
|
+
"title": "Alternative Label",
|
|
77
|
+
"description": "[Deprecated] Use the fields from the Settings tab in Global Sections",
|
|
78
|
+
"type": "string"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|