@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,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "Breadcrumb",
|
|
4
|
+
"$componentTitle": "Breadcrumb",
|
|
5
|
+
"title": "Breadcrumb",
|
|
6
|
+
"description": "Configure the breadcrumb icon and depth",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["icon", "alt"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"icon": {
|
|
11
|
+
"title": "Icon",
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enumNames": ["House"],
|
|
14
|
+
"enum": ["House"]
|
|
15
|
+
},
|
|
16
|
+
"alt": {
|
|
17
|
+
"title": "Alternative Label",
|
|
18
|
+
"type": "string"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "CartSidebar",
|
|
4
|
+
"$componentTitle": "Cart Sidebar",
|
|
5
|
+
"title": "Cart Sidebar",
|
|
6
|
+
"description": "Cart Sidebar configuration",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"title": {
|
|
10
|
+
"title": "Title text",
|
|
11
|
+
"type": "string",
|
|
12
|
+
"default": "Your cart"
|
|
13
|
+
},
|
|
14
|
+
"alert": {
|
|
15
|
+
"title": "Alert",
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"icon": {
|
|
19
|
+
"title": "Icon",
|
|
20
|
+
"type": "object",
|
|
21
|
+
"required": ["icon", "alt"],
|
|
22
|
+
"properties": {
|
|
23
|
+
"icon": {
|
|
24
|
+
"title": "Icon",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"enumNames": [
|
|
27
|
+
"Bell",
|
|
28
|
+
"BellRinging",
|
|
29
|
+
"Checked",
|
|
30
|
+
"Info",
|
|
31
|
+
"Truck",
|
|
32
|
+
"User"
|
|
33
|
+
],
|
|
34
|
+
"enum": [
|
|
35
|
+
"Bell",
|
|
36
|
+
"BellRinging",
|
|
37
|
+
"Checked",
|
|
38
|
+
"Info",
|
|
39
|
+
"Truck",
|
|
40
|
+
"User"
|
|
41
|
+
],
|
|
42
|
+
"default": "Truck"
|
|
43
|
+
},
|
|
44
|
+
"alt": {
|
|
45
|
+
"title": "Alternative label",
|
|
46
|
+
"type": "string",
|
|
47
|
+
"default": "Arrow Right icon"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"text": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"title": "Text",
|
|
54
|
+
"default": "Free shipping on orders $300+"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"checkoutButton": {
|
|
59
|
+
"title": "Checkout button",
|
|
60
|
+
"type": "object",
|
|
61
|
+
"required": ["label", "loadingLabel", "icon"],
|
|
62
|
+
"properties": {
|
|
63
|
+
"label": {
|
|
64
|
+
"title": "Label",
|
|
65
|
+
"type": "string",
|
|
66
|
+
"default": "Checkout"
|
|
67
|
+
},
|
|
68
|
+
"loadingLabel": {
|
|
69
|
+
"title": "Loading label",
|
|
70
|
+
"type": "string",
|
|
71
|
+
"default": "Loading..."
|
|
72
|
+
},
|
|
73
|
+
"icon": {
|
|
74
|
+
"title": "Icon",
|
|
75
|
+
"type": "object",
|
|
76
|
+
"required": ["icon", "alt"],
|
|
77
|
+
"properties": {
|
|
78
|
+
"icon": {
|
|
79
|
+
"title": "Icon",
|
|
80
|
+
"type": "string",
|
|
81
|
+
"enumNames": ["ArrowRight"],
|
|
82
|
+
"enum": ["ArrowRight"],
|
|
83
|
+
"default": "ArrowRight"
|
|
84
|
+
},
|
|
85
|
+
"alt": {
|
|
86
|
+
"title": "Alternative label",
|
|
87
|
+
"type": "string",
|
|
88
|
+
"default": "Arrow Right icon"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"quantitySelector": {
|
|
95
|
+
"title": "Quantity Selector",
|
|
96
|
+
"type": "object",
|
|
97
|
+
"properties": {
|
|
98
|
+
"useUnitMultiplier": {
|
|
99
|
+
"title": "Should use unit multiplier?",
|
|
100
|
+
"type": "boolean",
|
|
101
|
+
"default": false
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"taxesConfiguration": {
|
|
106
|
+
"title": "Taxes Configuration",
|
|
107
|
+
"type": "object",
|
|
108
|
+
"properties": {
|
|
109
|
+
"usePriceWithTaxes": {
|
|
110
|
+
"title": "Should use taxes to calculate the price?",
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"default": false
|
|
113
|
+
},
|
|
114
|
+
"taxesLabel": {
|
|
115
|
+
"title": "Tax label to be displayed",
|
|
116
|
+
"type": "string",
|
|
117
|
+
"default": "Tax included"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "CrossSellingShelf",
|
|
4
|
+
"$componentTitle": "Cross Selling Shelf",
|
|
5
|
+
"title": "Cross Selling Shelf",
|
|
6
|
+
"description": "Add cross selling product data to your users",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["title", "numberOfItems", "kind"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"title": {
|
|
11
|
+
"title": "Title",
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"numberOfItems": {
|
|
15
|
+
"title": "Total number of items",
|
|
16
|
+
"type": "integer",
|
|
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
|
+
"kind": {
|
|
27
|
+
"title": "Kind",
|
|
28
|
+
"description": "Change cross selling types",
|
|
29
|
+
"default": "buy",
|
|
30
|
+
"enum": ["buy", "view"],
|
|
31
|
+
"enumNames": ["Who bought also bought", "Who saw also saw"]
|
|
32
|
+
},
|
|
33
|
+
"taxesConfiguration": {
|
|
34
|
+
"title": "Taxes Configuration",
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"usePriceWithTaxes": {
|
|
38
|
+
"title": "Should use taxes to calculate the price?",
|
|
39
|
+
"type": "boolean",
|
|
40
|
+
"default": false
|
|
41
|
+
},
|
|
42
|
+
"taxesLabel": {
|
|
43
|
+
"title": "Tax label to be displayed",
|
|
44
|
+
"type": "string",
|
|
45
|
+
"default": "Tax included"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "EmptyState",
|
|
4
|
+
"$componentTitle": "Empty State",
|
|
5
|
+
"title": "Empty State",
|
|
6
|
+
"description": "Empty State configuration",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"title": {
|
|
10
|
+
"title": "Title",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"titleIcon": {
|
|
14
|
+
"title": "Title Icon",
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"icon": {
|
|
18
|
+
"title": "Icon",
|
|
19
|
+
"type": "string",
|
|
20
|
+
"enumNames": ["CircleWavy Warning"],
|
|
21
|
+
"enum": ["CircleWavyWarning"]
|
|
22
|
+
},
|
|
23
|
+
"alt": {
|
|
24
|
+
"title": "Alternative Label",
|
|
25
|
+
"type": "string"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"subtitle": {
|
|
30
|
+
"title": "Subtitle",
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"showLoader": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"title": "Show loader?",
|
|
36
|
+
"default": false
|
|
37
|
+
},
|
|
38
|
+
"errorState": {
|
|
39
|
+
"title": "Error state used for shown errorId and fromUrl properties in 500 and 404 pages",
|
|
40
|
+
"type": "object",
|
|
41
|
+
"properties": {
|
|
42
|
+
"errorId": {
|
|
43
|
+
"title": "errorId used in 500 and 404 pages",
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {
|
|
46
|
+
"show": {
|
|
47
|
+
"type": "boolean",
|
|
48
|
+
"title": "Show errorId in the end of message?"
|
|
49
|
+
},
|
|
50
|
+
"description": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"title": "Description shown before the errorId"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"fromUrl": {
|
|
57
|
+
"title": "fromUrl used in 500 and 404 pages",
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"show": {
|
|
61
|
+
"type": "boolean",
|
|
62
|
+
"title": "Show fromUrl in the end of message?"
|
|
63
|
+
},
|
|
64
|
+
"description": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"title": "Description shown before the fromUrl"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "Footer",
|
|
4
|
+
"$componentTitle": "Footer",
|
|
5
|
+
"title": "Footer",
|
|
6
|
+
"description": "Footer displayed on all pages",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"incentives": {
|
|
10
|
+
"title": "Incentives",
|
|
11
|
+
"type": "array",
|
|
12
|
+
"minItems": 3,
|
|
13
|
+
"maxItems": 5,
|
|
14
|
+
"items": {
|
|
15
|
+
"title": "Incentive",
|
|
16
|
+
"type": "object",
|
|
17
|
+
"required": ["title", "firstLineText", "icon"],
|
|
18
|
+
"properties": {
|
|
19
|
+
"title": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"title": "Title"
|
|
22
|
+
},
|
|
23
|
+
"firstLineText": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"title": "First line of text"
|
|
26
|
+
},
|
|
27
|
+
"secondLineText": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"title": "Second line of text"
|
|
30
|
+
},
|
|
31
|
+
"icon": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"title": "Icon",
|
|
34
|
+
"enumNames": [
|
|
35
|
+
"Truck",
|
|
36
|
+
"Calendar",
|
|
37
|
+
"Gift",
|
|
38
|
+
"Store Front",
|
|
39
|
+
"Shield Check"
|
|
40
|
+
],
|
|
41
|
+
"enum": ["Truck", "Calendar", "Gift", "Storefront", "ShieldCheck"]
|
|
42
|
+
},
|
|
43
|
+
"alt": {
|
|
44
|
+
"title": "Alternative Label",
|
|
45
|
+
"type": "string"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"footerLinks": {
|
|
51
|
+
"title": "Footer Links Sections",
|
|
52
|
+
"type": "array",
|
|
53
|
+
"maxItems": 4,
|
|
54
|
+
"items": {
|
|
55
|
+
"title": "Footer Links Section",
|
|
56
|
+
"type": "object",
|
|
57
|
+
"properties": {
|
|
58
|
+
"sectionTitle": {
|
|
59
|
+
"title": "Section Title",
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
"items": {
|
|
63
|
+
"title": "Links",
|
|
64
|
+
"type": "array",
|
|
65
|
+
"minItems": 1,
|
|
66
|
+
"maxItems": 8,
|
|
67
|
+
"items": {
|
|
68
|
+
"title": "Link",
|
|
69
|
+
"type": "object",
|
|
70
|
+
"required": ["text", "url"],
|
|
71
|
+
"properties": {
|
|
72
|
+
"text": {
|
|
73
|
+
"title": "Link Text",
|
|
74
|
+
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
"url": {
|
|
77
|
+
"title": "Link URL",
|
|
78
|
+
"type": "string",
|
|
79
|
+
"description": "Absolute or Relative"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"footerSocial": {
|
|
88
|
+
"title": "Social Media Links",
|
|
89
|
+
"type": "object",
|
|
90
|
+
"properties": {
|
|
91
|
+
"title": {
|
|
92
|
+
"title": "Title",
|
|
93
|
+
"type": "string",
|
|
94
|
+
"default": "Follow us"
|
|
95
|
+
},
|
|
96
|
+
"socialLinks": {
|
|
97
|
+
"title": "Social Media",
|
|
98
|
+
"type": "array",
|
|
99
|
+
"minItems": 0,
|
|
100
|
+
"maxItems": 8,
|
|
101
|
+
"items": {
|
|
102
|
+
"title": "Link",
|
|
103
|
+
"type": "object",
|
|
104
|
+
"required": ["alt", "url", "icon"],
|
|
105
|
+
"properties": {
|
|
106
|
+
"icon": {
|
|
107
|
+
"title": "Icon",
|
|
108
|
+
"type": "object",
|
|
109
|
+
"properties": {
|
|
110
|
+
"icon": {
|
|
111
|
+
"title": "Icon",
|
|
112
|
+
"type": "string",
|
|
113
|
+
"enumNames": [
|
|
114
|
+
"Facebook",
|
|
115
|
+
"Instagram",
|
|
116
|
+
"Pinterest",
|
|
117
|
+
"Twitter"
|
|
118
|
+
],
|
|
119
|
+
"enum": ["Facebook", "Instagram", "Pinterest", "Twitter"]
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"alt": {
|
|
124
|
+
"title": "Alt",
|
|
125
|
+
"type": "string"
|
|
126
|
+
},
|
|
127
|
+
"url": {
|
|
128
|
+
"title": "URL",
|
|
129
|
+
"type": "string"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"logo": {
|
|
137
|
+
"title": "Logo",
|
|
138
|
+
"type": "object",
|
|
139
|
+
"properties": {
|
|
140
|
+
"src": {
|
|
141
|
+
"title": "Image",
|
|
142
|
+
"type": "string",
|
|
143
|
+
"widget": {
|
|
144
|
+
"ui:widget": "media-gallery",
|
|
145
|
+
"restrictMediaTypes": {
|
|
146
|
+
"video": true,
|
|
147
|
+
"image": ["png", "jpg", "jpeg", "gif", "svg", "webp"]
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"alt": {
|
|
152
|
+
"title": "Alternative Label",
|
|
153
|
+
"type": "string"
|
|
154
|
+
},
|
|
155
|
+
"link": {
|
|
156
|
+
"title": "Logo Link",
|
|
157
|
+
"type": "object",
|
|
158
|
+
"required": ["url", "title"],
|
|
159
|
+
"properties": {
|
|
160
|
+
"url": {
|
|
161
|
+
"title": "Link URL",
|
|
162
|
+
"type": "string"
|
|
163
|
+
},
|
|
164
|
+
"title": {
|
|
165
|
+
"title": "Link Title",
|
|
166
|
+
"type": "string"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"copyrightInfo": {
|
|
173
|
+
"title": "Copyright Message",
|
|
174
|
+
"type": "string"
|
|
175
|
+
},
|
|
176
|
+
"acceptedPaymentMethods": {
|
|
177
|
+
"title": "Payment Methods Sections",
|
|
178
|
+
"type": "object",
|
|
179
|
+
"required": ["showPaymentMethods"],
|
|
180
|
+
"properties": {
|
|
181
|
+
"showPaymentMethods": {
|
|
182
|
+
"title": "Display Payment Methods",
|
|
183
|
+
"type": "boolean",
|
|
184
|
+
"default": true
|
|
185
|
+
},
|
|
186
|
+
"title": {
|
|
187
|
+
"title": "Title",
|
|
188
|
+
"type": "string",
|
|
189
|
+
"default": "Payment methods"
|
|
190
|
+
},
|
|
191
|
+
"paymentMethods": {
|
|
192
|
+
"title": "Payment Methods",
|
|
193
|
+
"type": "array",
|
|
194
|
+
"items": {
|
|
195
|
+
"title": "Payment Method",
|
|
196
|
+
"type": "object",
|
|
197
|
+
"required": ["icon", "alt"],
|
|
198
|
+
"properties": {
|
|
199
|
+
"icon": {
|
|
200
|
+
"type": "object",
|
|
201
|
+
"properties": {
|
|
202
|
+
"icon": {
|
|
203
|
+
"title": "Icon",
|
|
204
|
+
"type": "string",
|
|
205
|
+
"enumNames": [
|
|
206
|
+
"Visa",
|
|
207
|
+
"Diners Club",
|
|
208
|
+
"Mastercard",
|
|
209
|
+
"Elo Card",
|
|
210
|
+
"PayPal",
|
|
211
|
+
"Stripe",
|
|
212
|
+
"GooglePay",
|
|
213
|
+
"ApplePay"
|
|
214
|
+
],
|
|
215
|
+
"enum": [
|
|
216
|
+
"Visa",
|
|
217
|
+
"Diners",
|
|
218
|
+
"Mastercard",
|
|
219
|
+
"EloCard",
|
|
220
|
+
"PayPal",
|
|
221
|
+
"Stripe",
|
|
222
|
+
"GooglePay",
|
|
223
|
+
"ApplePay"
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"alt": {
|
|
229
|
+
"type": "string",
|
|
230
|
+
"title": "Alternative Label"
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "Hero",
|
|
4
|
+
"$componentTitle": "Hero",
|
|
5
|
+
"title": "Hero",
|
|
6
|
+
"description": "Add a quick promotion with an image/action pair",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["title"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"title": {
|
|
11
|
+
"title": "Title",
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"subtitle": {
|
|
15
|
+
"title": "Subtitle",
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"link": {
|
|
19
|
+
"title": "Call to Action",
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {
|
|
22
|
+
"text": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"title": "Text"
|
|
25
|
+
},
|
|
26
|
+
"url": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"title": "URL"
|
|
29
|
+
},
|
|
30
|
+
"linkTargetBlank": {
|
|
31
|
+
"type": "boolean",
|
|
32
|
+
"title": "Open link in new window?",
|
|
33
|
+
"default": false
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"image": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"title": "Image",
|
|
40
|
+
"properties": {
|
|
41
|
+
"src": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"title": "Image",
|
|
44
|
+
"widget": {
|
|
45
|
+
"ui:widget": "media-gallery",
|
|
46
|
+
"restrictMediaTypes": {
|
|
47
|
+
"video": true,
|
|
48
|
+
"image": ["png", "jpg", "jpeg", "gif", "svg", "webp"]
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"alt": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"title": "Alternative Label"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"colorVariant": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"title": "Color variant",
|
|
61
|
+
"enumNames": ["Main", "Light", "Accent"],
|
|
62
|
+
"enum": ["main", "light", "accent"]
|
|
63
|
+
},
|
|
64
|
+
"variant": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"title": "Variant",
|
|
67
|
+
"enumNames": ["Primary", "Secondary"],
|
|
68
|
+
"enum": ["primary", "secondary"]
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "Incentives",
|
|
4
|
+
"$componentTitle": "Incentives",
|
|
5
|
+
"title": "Incentives",
|
|
6
|
+
"description": "Add Incentives to your shopper",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"incentives": {
|
|
10
|
+
"title": "Incentives",
|
|
11
|
+
"type": "array",
|
|
12
|
+
"minItems": 3,
|
|
13
|
+
"maxItems": 5,
|
|
14
|
+
"items": {
|
|
15
|
+
"title": "Incentive",
|
|
16
|
+
"type": "object",
|
|
17
|
+
"required": ["title", "firstLineText", "icon"],
|
|
18
|
+
"properties": {
|
|
19
|
+
"title": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"title": "Title"
|
|
22
|
+
},
|
|
23
|
+
"firstLineText": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"title": "First line of text"
|
|
26
|
+
},
|
|
27
|
+
"secondLineText": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"title": "Second line of text"
|
|
30
|
+
},
|
|
31
|
+
"icon": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"title": "Icon",
|
|
34
|
+
"enumNames": [
|
|
35
|
+
"Truck",
|
|
36
|
+
"Calendar",
|
|
37
|
+
"Gift",
|
|
38
|
+
"Store Front",
|
|
39
|
+
"Shield Check"
|
|
40
|
+
],
|
|
41
|
+
"enum": ["Truck", "Calendar", "Gift", "Storefront", "ShieldCheck"]
|
|
42
|
+
},
|
|
43
|
+
"alt": {
|
|
44
|
+
"title": "Alternative Label",
|
|
45
|
+
"type": "string"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|