@faststore/core 3.95.1-dev.0 → 3.96.0-dev.18
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 +41 -41
- 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 +11 -11
- 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/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/chunks/{1841.b3a98a2a1886b09c.js → 1841.a1b15f2c88e02d32.js} +1 -1
- package/.next/static/chunks/{2927.5a79877943a6bf7c.js → 2927.23bae2c79f0ac0f3.js} +1 -1
- package/.next/static/chunks/{7191-5aa417081c97d46a.js → 7191-5ede6e7ef625ea77.js} +1 -1
- package/.next/static/chunks/{9173-49a05f6f96710bd1.js → 9173-2ed920b87ee6640e.js} +1 -1
- package/.next/static/chunks/{UIToast.19a8664c01a00d3a.js → UIToast.de15325248043ce5.js} +1 -1
- package/.next/static/chunks/pages/[slug]/{p-cf620759e25940f8.js → p-b9320679eebf6f5c.js} +1 -1
- package/.next/static/chunks/pages/{_app-8e3a3eccc99a6f96.js → _app-35b56c71ba4f9a54.js} +1 -1
- package/.next/static/chunks/pages/pvt/account/orders/{[id]-68bbe8db444fd60a.js → [id]-dc662a778c5b8876.js} +1 -1
- package/.next/static/chunks/{webpack-f9e5828934d6d57c.js → webpack-237c97ab0eda7441.js} +1 -1
- package/.next/static/{xPZqGftdSs0H8UD6M_H3H → kf421rvguK2vjVH6LCPtr}/_buildManifest.js +1 -1
- package/.next/trace +138 -138
- package/.turbo/turbo-build.log +14 -14
- 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 +86 -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 → kf421rvguK2vjVH6LCPtr}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "Navbar",
|
|
4
|
+
"$componentTitle": "Navbar",
|
|
5
|
+
"title": "Navbar",
|
|
6
|
+
"description": "Navbar configuration",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["logo"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"logo": {
|
|
11
|
+
"title": "Logo",
|
|
12
|
+
"type": "object",
|
|
13
|
+
"required": ["src"],
|
|
14
|
+
"properties": {
|
|
15
|
+
"src": {
|
|
16
|
+
"title": "Image",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"widget": {
|
|
19
|
+
"ui:widget": "media-gallery",
|
|
20
|
+
"restrictMediaTypes": {
|
|
21
|
+
"video": true,
|
|
22
|
+
"image": ["png", "jpg", "jpeg", "gif", "svg", "webp"]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"alt": {
|
|
27
|
+
"title": "Alternative Label",
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"link": {
|
|
31
|
+
"title": "Logo Link",
|
|
32
|
+
"type": "object",
|
|
33
|
+
"required": ["url", "title"],
|
|
34
|
+
"properties": {
|
|
35
|
+
"url": {
|
|
36
|
+
"title": "Link URL",
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
"title": {
|
|
40
|
+
"title": "Link Title",
|
|
41
|
+
"type": "string"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"searchInput": {
|
|
48
|
+
"title": "Search Input",
|
|
49
|
+
"description": "Search Input configurations",
|
|
50
|
+
"type": "object",
|
|
51
|
+
"required": ["sort"],
|
|
52
|
+
"properties": {
|
|
53
|
+
"placeholder": {
|
|
54
|
+
"title": "Placeholder for Search Bar",
|
|
55
|
+
"type": "string",
|
|
56
|
+
"default": "Search everything in the store"
|
|
57
|
+
},
|
|
58
|
+
"sort": {
|
|
59
|
+
"title": "Results default sort value",
|
|
60
|
+
"type": "string",
|
|
61
|
+
"default": "score_desc",
|
|
62
|
+
"enumNames": [
|
|
63
|
+
"Price, descending",
|
|
64
|
+
"Price, ascending",
|
|
65
|
+
"Top sales",
|
|
66
|
+
"Name, A-Z",
|
|
67
|
+
"Name, Z-A",
|
|
68
|
+
"Release date",
|
|
69
|
+
"Discount",
|
|
70
|
+
"Relevance"
|
|
71
|
+
],
|
|
72
|
+
"enum": [
|
|
73
|
+
"price_desc",
|
|
74
|
+
"price_asc",
|
|
75
|
+
"orders_desc",
|
|
76
|
+
"name_asc",
|
|
77
|
+
"name_desc",
|
|
78
|
+
"release_desc",
|
|
79
|
+
"discount_desc",
|
|
80
|
+
"score_desc"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"quickOrderSettings": {
|
|
84
|
+
"title": "Quick Order settings",
|
|
85
|
+
"type": "object",
|
|
86
|
+
"properties": {
|
|
87
|
+
"quickOrder": {
|
|
88
|
+
"title": "Enable Quick Order?",
|
|
89
|
+
"description": "Allows adding products directly to the cart through search terms, streamlining the purchase.",
|
|
90
|
+
"type": "boolean",
|
|
91
|
+
"default": false
|
|
92
|
+
},
|
|
93
|
+
"skuMatrix": {
|
|
94
|
+
"title": "SKUMatrix Configuration",
|
|
95
|
+
"type": "object",
|
|
96
|
+
"properties": {
|
|
97
|
+
"triggerButtonLabel": {
|
|
98
|
+
"title": "SKU Matrix Trigger label to be displayed",
|
|
99
|
+
"type": "string",
|
|
100
|
+
"default": "Select multiple"
|
|
101
|
+
},
|
|
102
|
+
"columns": {
|
|
103
|
+
"title": "Columns",
|
|
104
|
+
"type": "object",
|
|
105
|
+
"properties": {
|
|
106
|
+
"name": {
|
|
107
|
+
"title": "SKU name column label",
|
|
108
|
+
"type": "string",
|
|
109
|
+
"default": "Name"
|
|
110
|
+
},
|
|
111
|
+
"additionalColumns": {
|
|
112
|
+
"title": "Additional columns",
|
|
113
|
+
"type": "array",
|
|
114
|
+
"items": {
|
|
115
|
+
"title": "Column",
|
|
116
|
+
"type": "object",
|
|
117
|
+
"required": ["label", "value"],
|
|
118
|
+
"properties": {
|
|
119
|
+
"label": {
|
|
120
|
+
"title": "Label",
|
|
121
|
+
"type": "string"
|
|
122
|
+
},
|
|
123
|
+
"value": {
|
|
124
|
+
"title": "Value",
|
|
125
|
+
"type": "string"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"availability": {
|
|
131
|
+
"title": "Availability column label",
|
|
132
|
+
"type": "object",
|
|
133
|
+
"properties": {
|
|
134
|
+
"label": {
|
|
135
|
+
"title": "Label",
|
|
136
|
+
"type": "string",
|
|
137
|
+
"default": "Availability"
|
|
138
|
+
},
|
|
139
|
+
"stockDisplaySettings": {
|
|
140
|
+
"title": "Stock display settings",
|
|
141
|
+
"description": "Control how the stock status of your products is displayed to customers on your online store.",
|
|
142
|
+
"type": "string",
|
|
143
|
+
"enum": ["showAvailability", "showStockQuantity"],
|
|
144
|
+
"enumNames": [
|
|
145
|
+
"Show availability (Available/Out of Stock)",
|
|
146
|
+
"Show stock quantity"
|
|
147
|
+
],
|
|
148
|
+
"default": "showAvailability"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"price": {
|
|
153
|
+
"title": "Price column label",
|
|
154
|
+
"type": "string",
|
|
155
|
+
"default": "Price"
|
|
156
|
+
},
|
|
157
|
+
"quantitySelector": {
|
|
158
|
+
"title": "Quantity selector column label",
|
|
159
|
+
"type": "string",
|
|
160
|
+
"default": "Quantity"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"signInButton": {
|
|
171
|
+
"title": "Sign In Button",
|
|
172
|
+
"type": "object",
|
|
173
|
+
"properties": {
|
|
174
|
+
"icon": {
|
|
175
|
+
"title": "Icon",
|
|
176
|
+
"type": "object",
|
|
177
|
+
"properties": {
|
|
178
|
+
"icon": {
|
|
179
|
+
"title": "Icon",
|
|
180
|
+
"type": "string",
|
|
181
|
+
"enumNames": ["User"],
|
|
182
|
+
"enum": ["User"],
|
|
183
|
+
"default": "User"
|
|
184
|
+
},
|
|
185
|
+
"alt": {
|
|
186
|
+
"title": "Alternative Label",
|
|
187
|
+
"type": "string",
|
|
188
|
+
"default": "User"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"label": {
|
|
193
|
+
"title": "Call to Action",
|
|
194
|
+
"type": "string",
|
|
195
|
+
"default": "Sign in"
|
|
196
|
+
},
|
|
197
|
+
"myAccountLabel": {
|
|
198
|
+
"title": "My Account Label",
|
|
199
|
+
"type": "string",
|
|
200
|
+
"default": "My account"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"cartIcon": {
|
|
205
|
+
"title": "Cart Icon",
|
|
206
|
+
"type": "object",
|
|
207
|
+
"properties": {
|
|
208
|
+
"icon": {
|
|
209
|
+
"title": "Icon",
|
|
210
|
+
"type": "string",
|
|
211
|
+
"enumNames": ["Shopping Cart"],
|
|
212
|
+
"enum": ["ShoppingCart"],
|
|
213
|
+
"default": "ShoppingCart"
|
|
214
|
+
},
|
|
215
|
+
"alt": {
|
|
216
|
+
"title": "Alternative Label",
|
|
217
|
+
"type": "string",
|
|
218
|
+
"default": "Shopping cart"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"navigation": {
|
|
223
|
+
"title": "Navigation",
|
|
224
|
+
"type": "object",
|
|
225
|
+
"properties": {
|
|
226
|
+
"regionalization": {
|
|
227
|
+
"type": "object",
|
|
228
|
+
"title": "Regionalization",
|
|
229
|
+
"properties": {
|
|
230
|
+
"enabled": {
|
|
231
|
+
"type": "boolean",
|
|
232
|
+
"title": "Use Regionalization?",
|
|
233
|
+
"default": true
|
|
234
|
+
},
|
|
235
|
+
"icon": {
|
|
236
|
+
"title": "Icon",
|
|
237
|
+
"type": "object",
|
|
238
|
+
"properties": {
|
|
239
|
+
"icon": {
|
|
240
|
+
"title": "Icon",
|
|
241
|
+
"type": "string",
|
|
242
|
+
"enumNames": ["Map Pin"],
|
|
243
|
+
"enum": ["MapPin"],
|
|
244
|
+
"default": "MapPin"
|
|
245
|
+
},
|
|
246
|
+
"alt": {
|
|
247
|
+
"title": "Alternative Label",
|
|
248
|
+
"type": "string",
|
|
249
|
+
"default": "MapPin"
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"label": {
|
|
254
|
+
"title": "Call to Action",
|
|
255
|
+
"type": "string",
|
|
256
|
+
"default": "Set Location"
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"pageLinks": {
|
|
261
|
+
"title": "Links",
|
|
262
|
+
"type": "array",
|
|
263
|
+
"maxItems": 8,
|
|
264
|
+
"items": {
|
|
265
|
+
"title": "Link",
|
|
266
|
+
"type": "object",
|
|
267
|
+
"required": ["text", "url"],
|
|
268
|
+
"properties": {
|
|
269
|
+
"text": {
|
|
270
|
+
"title": "Link Text",
|
|
271
|
+
"type": "string"
|
|
272
|
+
},
|
|
273
|
+
"url": {
|
|
274
|
+
"title": "Link URL",
|
|
275
|
+
"type": "string"
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"menu": {
|
|
281
|
+
"type": "object",
|
|
282
|
+
"title": "Menu",
|
|
283
|
+
"properties": {
|
|
284
|
+
"icon": {
|
|
285
|
+
"title": "Icon",
|
|
286
|
+
"type": "object",
|
|
287
|
+
"properties": {
|
|
288
|
+
"icon": {
|
|
289
|
+
"title": "Icon",
|
|
290
|
+
"type": "string",
|
|
291
|
+
"enumNames": ["List"],
|
|
292
|
+
"enum": ["List"],
|
|
293
|
+
"default": "List"
|
|
294
|
+
},
|
|
295
|
+
"alt": {
|
|
296
|
+
"title": "Alternative Label",
|
|
297
|
+
"type": "string",
|
|
298
|
+
"default": "List"
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"home": {
|
|
305
|
+
"title": "Home",
|
|
306
|
+
"type": "object",
|
|
307
|
+
"properties": {
|
|
308
|
+
"label": {
|
|
309
|
+
"title": "Go to Home Label",
|
|
310
|
+
"type": "string",
|
|
311
|
+
"default": "Go to Home"
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "Newsletter",
|
|
4
|
+
"$componentTitle": "Newsletter",
|
|
5
|
+
"title": "Newsletter",
|
|
6
|
+
"description": "Allow users to subscribe to your updates",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["title"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"icon": {
|
|
11
|
+
"title": "Icon",
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"icon": {
|
|
15
|
+
"title": "Icon",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"enumNames": ["Envelope"],
|
|
18
|
+
"enum": ["Envelope"],
|
|
19
|
+
"default": "Envelope"
|
|
20
|
+
},
|
|
21
|
+
"alt": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"title": "Alternative Label",
|
|
24
|
+
"default": "Envelope"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"title": {
|
|
29
|
+
"title": "Title",
|
|
30
|
+
"type": "string",
|
|
31
|
+
"default": "Subscribe to the newsletter"
|
|
32
|
+
},
|
|
33
|
+
"description": {
|
|
34
|
+
"title": "Description",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"default": "Get news and special offers!"
|
|
37
|
+
},
|
|
38
|
+
"privacyPolicy": {
|
|
39
|
+
"title": "Privacy Policy Disclaimer",
|
|
40
|
+
"type": "string",
|
|
41
|
+
"widget": {
|
|
42
|
+
"ui:widget": "draftjs-rich-text"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"emailInputLabel": {
|
|
46
|
+
"title": "Email input label",
|
|
47
|
+
"type": "string",
|
|
48
|
+
"default": "Email"
|
|
49
|
+
},
|
|
50
|
+
"displayNameInput": {
|
|
51
|
+
"title": "Request name?",
|
|
52
|
+
"type": "boolean",
|
|
53
|
+
"default": true
|
|
54
|
+
},
|
|
55
|
+
"nameInputLabel": {
|
|
56
|
+
"title": "Name input label",
|
|
57
|
+
"type": "string",
|
|
58
|
+
"default": "Name"
|
|
59
|
+
},
|
|
60
|
+
"subscribeButtonLabel": {
|
|
61
|
+
"title": "Subscribe button label",
|
|
62
|
+
"type": "string",
|
|
63
|
+
"default": "Subscribe"
|
|
64
|
+
},
|
|
65
|
+
"subscribeButtonLoadingLabel": {
|
|
66
|
+
"title": "Subscribe button loading label",
|
|
67
|
+
"type": "string",
|
|
68
|
+
"default": "Loading..."
|
|
69
|
+
},
|
|
70
|
+
"card": {
|
|
71
|
+
"title": "Newsletter should be in card format?",
|
|
72
|
+
"type": "boolean",
|
|
73
|
+
"default": false
|
|
74
|
+
},
|
|
75
|
+
"colorVariant": {
|
|
76
|
+
"title": "Color variant",
|
|
77
|
+
"type": "string",
|
|
78
|
+
"enumNames": ["Main", "Light", "Accent"],
|
|
79
|
+
"enum": ["main", "light", "accent"],
|
|
80
|
+
"default": "main"
|
|
81
|
+
},
|
|
82
|
+
"toastSubscribe": {
|
|
83
|
+
"title": "Toast Subscribe",
|
|
84
|
+
"type": "object",
|
|
85
|
+
"properties": {
|
|
86
|
+
"title": {
|
|
87
|
+
"title": "Title",
|
|
88
|
+
"description": "Message Title",
|
|
89
|
+
"type": "string",
|
|
90
|
+
"default": "Hooray!"
|
|
91
|
+
},
|
|
92
|
+
"message": {
|
|
93
|
+
"title": "Message",
|
|
94
|
+
"description": "Message",
|
|
95
|
+
"type": "string",
|
|
96
|
+
"default": "Thanks for your subscription."
|
|
97
|
+
},
|
|
98
|
+
"icon": {
|
|
99
|
+
"title": "Icon",
|
|
100
|
+
"type": "string",
|
|
101
|
+
"enumNames": ["CircleWavyCheck"],
|
|
102
|
+
"enum": ["CircleWavyCheck"],
|
|
103
|
+
"default": "CircleWavyCheck"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"toastSubscribeError": {
|
|
108
|
+
"title": "Toast Subscribe Error",
|
|
109
|
+
"type": "object",
|
|
110
|
+
"properties": {
|
|
111
|
+
"title": {
|
|
112
|
+
"title": "Title",
|
|
113
|
+
"description": "Message Title",
|
|
114
|
+
"type": "string",
|
|
115
|
+
"default": "Oops!"
|
|
116
|
+
},
|
|
117
|
+
"message": {
|
|
118
|
+
"title": "Message",
|
|
119
|
+
"description": "Message",
|
|
120
|
+
"type": "string",
|
|
121
|
+
"default": "Something went wrong. Please try again."
|
|
122
|
+
},
|
|
123
|
+
"icon": {
|
|
124
|
+
"title": "Icon",
|
|
125
|
+
"type": "string",
|
|
126
|
+
"enumNames": ["CircleWavyWarning"],
|
|
127
|
+
"enum": ["CircleWavyWarning"],
|
|
128
|
+
"default": "CircleWavyWarning"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "ProductDetails",
|
|
4
|
+
"$componentTitle": "Product Details",
|
|
5
|
+
"title": "Product Details",
|
|
6
|
+
"description": "Display Product Details Section",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"productTitle": {
|
|
10
|
+
"title": "Product Title",
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"discountBadge": {
|
|
14
|
+
"title": "Discount Badge",
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"showDiscountBadge": {
|
|
18
|
+
"title": "Show Discount Badge?",
|
|
19
|
+
"type": "boolean",
|
|
20
|
+
"default": false
|
|
21
|
+
},
|
|
22
|
+
"size": {
|
|
23
|
+
"title": "Size",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"enumNames": ["Big", "Small"],
|
|
26
|
+
"enum": ["big", "small"]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"refNumber": {
|
|
31
|
+
"title": "Show Reference Number?",
|
|
32
|
+
"type": "boolean",
|
|
33
|
+
"default": false
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"buyButton": {
|
|
38
|
+
"title": "Buy Button",
|
|
39
|
+
"type": "object",
|
|
40
|
+
"properties": {
|
|
41
|
+
"title": {
|
|
42
|
+
"title": "Title",
|
|
43
|
+
"type": "string",
|
|
44
|
+
"default": "Add to cart"
|
|
45
|
+
},
|
|
46
|
+
"icon": {
|
|
47
|
+
"title": "Icon",
|
|
48
|
+
"type": "object",
|
|
49
|
+
"properties": {
|
|
50
|
+
"icon": {
|
|
51
|
+
"title": "Icon",
|
|
52
|
+
"type": "string",
|
|
53
|
+
"enumNames": ["Shopping Cart"],
|
|
54
|
+
"enum": ["ShoppingCart"]
|
|
55
|
+
},
|
|
56
|
+
"alt": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"title": "Alternative Label",
|
|
59
|
+
"default": "Shopping cart"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"notAvailableButton": {
|
|
66
|
+
"title": "Not Available Button",
|
|
67
|
+
"description": "Shown when a SKU is not available",
|
|
68
|
+
"type": "object",
|
|
69
|
+
"properties": {
|
|
70
|
+
"title": {
|
|
71
|
+
"title": "Title",
|
|
72
|
+
"type": "string",
|
|
73
|
+
"default": "Unavailable"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"shippingSimulator": {
|
|
78
|
+
"title": "Shipping Simulation",
|
|
79
|
+
"type": "object",
|
|
80
|
+
"properties": {
|
|
81
|
+
"title": {
|
|
82
|
+
"title": "Title",
|
|
83
|
+
"type": "string",
|
|
84
|
+
"default": "Shipping"
|
|
85
|
+
},
|
|
86
|
+
"inputLabel": {
|
|
87
|
+
"title": "Input Label",
|
|
88
|
+
"type": "string",
|
|
89
|
+
"default": "Postal code"
|
|
90
|
+
},
|
|
91
|
+
"link": {
|
|
92
|
+
"title": "Postal Code Discovery",
|
|
93
|
+
"type": "object",
|
|
94
|
+
"properties": {
|
|
95
|
+
"text": {
|
|
96
|
+
"title": "Link Text",
|
|
97
|
+
"type": "string",
|
|
98
|
+
"default": "I don't know my postal code"
|
|
99
|
+
},
|
|
100
|
+
"to": {
|
|
101
|
+
"title": "URL",
|
|
102
|
+
"type": "string"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"shippingOptionsTableTitle": {
|
|
107
|
+
"title": "Shipping Options Table Header",
|
|
108
|
+
"type": "string"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"productDescription": {
|
|
113
|
+
"title": "Product Description",
|
|
114
|
+
"type": "object",
|
|
115
|
+
"properties": {
|
|
116
|
+
"initiallyExpanded": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"title": "Initially Expanded?",
|
|
119
|
+
"enumNames": ["First", "All", "None"],
|
|
120
|
+
"enum": ["first", "all", "none"]
|
|
121
|
+
},
|
|
122
|
+
"displayDescription": {
|
|
123
|
+
"title": "Should display description?",
|
|
124
|
+
"type": "boolean",
|
|
125
|
+
"default": true
|
|
126
|
+
},
|
|
127
|
+
"title": {
|
|
128
|
+
"title": "Description section title",
|
|
129
|
+
"type": "string",
|
|
130
|
+
"default": "Description"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"quantitySelector": {
|
|
135
|
+
"title": "Quantity Selector",
|
|
136
|
+
"type": "object",
|
|
137
|
+
"properties": {
|
|
138
|
+
"useUnitMultiplier": {
|
|
139
|
+
"title": "Should use unit multiplier?",
|
|
140
|
+
"type": "boolean",
|
|
141
|
+
"default": false
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"taxesConfiguration": {
|
|
146
|
+
"title": "Taxes Configuration",
|
|
147
|
+
"type": "object",
|
|
148
|
+
"properties": {
|
|
149
|
+
"usePriceWithTaxes": {
|
|
150
|
+
"title": "Should use taxes to calculate the price?",
|
|
151
|
+
"type": "boolean",
|
|
152
|
+
"default": false
|
|
153
|
+
},
|
|
154
|
+
"taxesLabel": {
|
|
155
|
+
"title": "Tax label to be displayed",
|
|
156
|
+
"type": "string",
|
|
157
|
+
"default": "Tax included"
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"skuMatrix": {
|
|
162
|
+
"title": "SKUMatrix Configuration",
|
|
163
|
+
"type": "object",
|
|
164
|
+
"properties": {
|
|
165
|
+
"shouldDisplaySKUMatrix": {
|
|
166
|
+
"title": "Should display SKUMatrix?",
|
|
167
|
+
"type": "boolean",
|
|
168
|
+
"default": false
|
|
169
|
+
},
|
|
170
|
+
"triggerButtonLabel": {
|
|
171
|
+
"title": "SKU Matrix Trigger label to be displayed",
|
|
172
|
+
"type": "string",
|
|
173
|
+
"default": "Select multiple"
|
|
174
|
+
},
|
|
175
|
+
"separatorButtonsText": {
|
|
176
|
+
"title": "Separator text",
|
|
177
|
+
"description": "Text that separates the add to cart button from the SKU Matrix Trigger button.",
|
|
178
|
+
"type": "string",
|
|
179
|
+
"default": "Or"
|
|
180
|
+
},
|
|
181
|
+
"columns": {
|
|
182
|
+
"title": "Columns",
|
|
183
|
+
"type": "object",
|
|
184
|
+
"properties": {
|
|
185
|
+
"name": {
|
|
186
|
+
"title": "SKU name column label",
|
|
187
|
+
"type": "string",
|
|
188
|
+
"default": "Name"
|
|
189
|
+
},
|
|
190
|
+
"additionalColumns": {
|
|
191
|
+
"title": "Additional columns",
|
|
192
|
+
"type": "array",
|
|
193
|
+
"items": {
|
|
194
|
+
"title": "Column",
|
|
195
|
+
"type": "object",
|
|
196
|
+
"required": ["label", "value"],
|
|
197
|
+
"properties": {
|
|
198
|
+
"label": {
|
|
199
|
+
"title": "Label",
|
|
200
|
+
"type": "string"
|
|
201
|
+
},
|
|
202
|
+
"value": {
|
|
203
|
+
"title": "Value",
|
|
204
|
+
"type": "string"
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"availability": {
|
|
210
|
+
"title": "Availability column label",
|
|
211
|
+
"type": "object",
|
|
212
|
+
"properties": {
|
|
213
|
+
"label": {
|
|
214
|
+
"title": "Label",
|
|
215
|
+
"type": "string",
|
|
216
|
+
"default": "Availability"
|
|
217
|
+
},
|
|
218
|
+
"stockDisplaySettings": {
|
|
219
|
+
"title": "Stock display settings",
|
|
220
|
+
"description": "Control how the stock status of your products is displayed to customers on your online store.",
|
|
221
|
+
"type": "string",
|
|
222
|
+
"enum": ["showAvailability", "showStockQuantity"],
|
|
223
|
+
"enumNames": [
|
|
224
|
+
"Show availability (Available/Out of Stock)",
|
|
225
|
+
"Show stock quantity"
|
|
226
|
+
],
|
|
227
|
+
"default": "showAvailability"
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"price": {
|
|
232
|
+
"title": "Price column label",
|
|
233
|
+
"type": "string",
|
|
234
|
+
"default": "Price"
|
|
235
|
+
},
|
|
236
|
+
"quantitySelector": {
|
|
237
|
+
"title": "Quantity selector column label",
|
|
238
|
+
"type": "string",
|
|
239
|
+
"default": "Quantity"
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|