@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.
Files changed (94) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +41 -41
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/config.json +3 -3
  5. package/.next/cache/webpack/client-production/0.pack +0 -0
  6. package/.next/cache/webpack/client-production/index.pack +0 -0
  7. package/.next/cache/webpack/server-production/0.pack +0 -0
  8. package/.next/cache/webpack/server-production/index.pack +0 -0
  9. package/.next/prerender-manifest.js +1 -1
  10. package/.next/prerender-manifest.json +1 -1
  11. package/.next/react-loadable-manifest.json +11 -11
  12. package/.next/routes-manifest.json +1 -1
  13. package/.next/server/chunks/7098.js +1 -1
  14. package/.next/server/chunks/948.js +1 -1
  15. package/.next/server/chunks/9563.js +3 -3
  16. package/.next/server/chunks/9630.js +7 -7
  17. package/.next/server/middleware-build-manifest.js +1 -1
  18. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  19. package/.next/server/pages/[...slug].js +1 -1
  20. package/.next/server/pages/[slug]/p.js +1 -1
  21. package/.next/server/pages/api/graphql.js +3 -3
  22. package/.next/server/pages/en-US/404.html +1 -1
  23. package/.next/server/pages/en-US/500.html +1 -1
  24. package/.next/server/pages/en-US/checkout.html +1 -1
  25. package/.next/server/pages/en-US/login.html +1 -1
  26. package/.next/server/pages/en-US/s.html +1 -1
  27. package/.next/server/pages/en-US.html +1 -1
  28. package/.next/server/pages/en-US.json +1 -1
  29. package/.next/server/pages/pvt/account/orders/[id].js +1 -1
  30. package/.next/server/pages/s.js +1 -1
  31. package/.next/server/pages-manifest.json +1 -1
  32. package/.next/static/chunks/{1841.b3a98a2a1886b09c.js → 1841.a1b15f2c88e02d32.js} +1 -1
  33. package/.next/static/chunks/{2927.5a79877943a6bf7c.js → 2927.23bae2c79f0ac0f3.js} +1 -1
  34. package/.next/static/chunks/{7191-5aa417081c97d46a.js → 7191-5ede6e7ef625ea77.js} +1 -1
  35. package/.next/static/chunks/{9173-49a05f6f96710bd1.js → 9173-2ed920b87ee6640e.js} +1 -1
  36. package/.next/static/chunks/{UIToast.19a8664c01a00d3a.js → UIToast.de15325248043ce5.js} +1 -1
  37. package/.next/static/chunks/pages/[slug]/{p-cf620759e25940f8.js → p-b9320679eebf6f5c.js} +1 -1
  38. package/.next/static/chunks/pages/{_app-8e3a3eccc99a6f96.js → _app-35b56c71ba4f9a54.js} +1 -1
  39. package/.next/static/chunks/pages/pvt/account/orders/{[id]-68bbe8db444fd60a.js → [id]-dc662a778c5b8876.js} +1 -1
  40. package/.next/static/chunks/{webpack-f9e5828934d6d57c.js → webpack-237c97ab0eda7441.js} +1 -1
  41. package/.next/static/{xPZqGftdSs0H8UD6M_H3H → kf421rvguK2vjVH6LCPtr}/_buildManifest.js +1 -1
  42. package/.next/trace +138 -138
  43. package/.turbo/turbo-build.log +14 -14
  44. package/.turbo/turbo-test.log +8 -7
  45. package/@generated/gql.ts +2 -2
  46. package/@generated/graphql.ts +6 -1
  47. package/@generated/persisted-documents.json +1 -1
  48. package/@generated/schema.graphql +3 -0
  49. package/CHANGELOG.md +86 -0
  50. package/cms/faststore/base.jsonc +42 -0
  51. package/cms/faststore/components/cms_component__alert.jsonc +40 -0
  52. package/cms/faststore/components/cms_component__bannernewsletter.jsonc +183 -0
  53. package/cms/faststore/components/cms_component__bannertext.jsonc +51 -0
  54. package/cms/faststore/components/cms_component__breadcrumb.jsonc +21 -0
  55. package/cms/faststore/components/cms_component__cartsidebar.jsonc +122 -0
  56. package/cms/faststore/components/cms_component__children.jsonc +8 -0
  57. package/cms/faststore/components/cms_component__crosssellingshelf.jsonc +50 -0
  58. package/cms/faststore/components/cms_component__emptystate.jsonc +73 -0
  59. package/cms/faststore/components/cms_component__footer.jsonc +238 -0
  60. package/cms/faststore/components/cms_component__hero.jsonc +71 -0
  61. package/cms/faststore/components/cms_component__incentives.jsonc +51 -0
  62. package/cms/faststore/components/cms_component__navbar.jsonc +318 -0
  63. package/cms/faststore/components/cms_component__newsletter.jsonc +133 -0
  64. package/cms/faststore/components/cms_component__productdetails.jsonc +246 -0
  65. package/cms/faststore/components/cms_component__productgallery.jsonc +312 -0
  66. package/cms/faststore/components/cms_component__productshelf.jsonc +117 -0
  67. package/cms/faststore/components/cms_component__producttiles.jsonc +95 -0
  68. package/cms/faststore/components/cms_component__regionbar.jsonc +58 -0
  69. package/cms/faststore/components/cms_component__regionmodal.jsonc +85 -0
  70. package/cms/faststore/components/cms_component__regionpopover.jsonc +97 -0
  71. package/cms/faststore/components/cms_component__search.jsonc +144 -0
  72. package/cms/faststore/pages/cms_content_type__404.jsonc +18 -0
  73. package/cms/faststore/pages/cms_content_type__500.jsonc +18 -0
  74. package/cms/faststore/pages/cms_content_type__globalfootersections.jsonc +73 -0
  75. package/cms/faststore/pages/cms_content_type__globalheadersections.jsonc +73 -0
  76. package/cms/faststore/pages/cms_content_type__globalsections.jsonc +375 -0
  77. package/cms/faststore/pages/cms_content_type__home.jsonc +213 -0
  78. package/cms/faststore/pages/cms_content_type__landingpage.jsonc +108 -0
  79. package/cms/faststore/pages/cms_content_type__login.jsonc +18 -0
  80. package/cms/faststore/pages/cms_content_type__pdp.jsonc +115 -0
  81. package/cms/faststore/pages/cms_content_type__plp.jsonc +130 -0
  82. package/cms/faststore/pages/cms_content_type__search.jsonc +118 -0
  83. package/cms/faststore/schema.json +3859 -0
  84. package/cms/faststore/sections.json +2 -2
  85. package/package.json +15 -8
  86. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/MyAccountDeliveryOptionAccordion.tsx +18 -15
  87. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderDetails.tsx +9 -3
  88. package/src/components/account/orders/MyAccountOrderDetails/MyAccountSummaryCard/MyAccountSummaryCard.tsx +0 -1
  89. package/src/pages/api/graphql.ts +26 -5
  90. package/src/pages/pvt/account/orders/[id].tsx +2 -0
  91. package/src/sdk/graphql/request.ts +10 -1
  92. package/src/utils/cookieCacheBusting.ts +141 -0
  93. package/test/utils/cookieCacheBusting.test.ts +121 -0
  94. /package/.next/static/{xPZqGftdSs0H8UD6M_H3H → kf421rvguK2vjVH6LCPtr}/_ssgManifest.js +0 -0
@@ -0,0 +1,108 @@
1
+ {
2
+ "landingPage": {
3
+ "$extends": ["#/components/base-page-template"],
4
+ "$singleton": false,
5
+ "type": "object",
6
+ "title": "Landing Page",
7
+ "properties": {
8
+ "seo": {
9
+ "title": "SEO",
10
+ "description": "Search Engine Optimization options",
11
+ "type": "object",
12
+ "widget": {
13
+ "ui:ObjectFieldTemplate": "GoogleSeoPreview"
14
+ },
15
+ "required": ["slug", "title", "description"],
16
+ "properties": {
17
+ "slug": {
18
+ "title": "Path",
19
+ "type": "string",
20
+ "default": "/"
21
+ },
22
+ "title": {
23
+ "title": "Default page title",
24
+ "description": "Display this title when no other tile is available.",
25
+ "type": "string",
26
+ "default": "FastStore Starter"
27
+ },
28
+ "description": {
29
+ "title": "Meta tag description",
30
+ "type": "string",
31
+ "default": "A beautifully designed store"
32
+ },
33
+ "canonical": {
34
+ "title": "Canonical url for the page",
35
+ "type": "string"
36
+ }
37
+ },
38
+ "$componentTitle": "SEO"
39
+ },
40
+ "sections": {
41
+ "type": "array",
42
+ "items": {
43
+ "anyOf": [
44
+ {
45
+ "$ref": "#/components/Search"
46
+ },
47
+ {
48
+ "$ref": "#/components/Navbar"
49
+ },
50
+ {
51
+ "$ref": "#/components/Alert"
52
+ },
53
+ {
54
+ "$ref": "#/components/Footer"
55
+ },
56
+ {
57
+ "$ref": "#/components/BannerText"
58
+ },
59
+ {
60
+ "$ref": "#/components/Hero"
61
+ },
62
+ {
63
+ "$ref": "#/components/Incentives"
64
+ },
65
+ {
66
+ "$ref": "#/components/ProductShelf"
67
+ },
68
+ {
69
+ "$ref": "#/components/CrossSellingShelf"
70
+ },
71
+ {
72
+ "$ref": "#/components/ProductTiles"
73
+ },
74
+ {
75
+ "$ref": "#/components/Newsletter"
76
+ },
77
+ {
78
+ "$ref": "#/components/Children"
79
+ },
80
+ {
81
+ "$ref": "#/components/BannerNewsletter"
82
+ },
83
+ {
84
+ "$ref": "#/components/CartSidebar"
85
+ },
86
+ {
87
+ "$ref": "#/components/RegionBar"
88
+ },
89
+ {
90
+ "$ref": "#/components/RegionModal"
91
+ },
92
+ {
93
+ "$ref": "#/components/RegionPopover"
94
+ },
95
+ {
96
+ "$ref": "#/components/EmptyState"
97
+ }
98
+ ]
99
+ }
100
+ }
101
+ },
102
+ "readOnly": false,
103
+ "writeOnly": false,
104
+ "deprecated": false,
105
+ "$abstract": false,
106
+ "identifierKeys": ["slug"]
107
+ }
108
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "login": {
3
+ "$extends": ["#/components/base-page-template"],
4
+ "$singleton": true,
5
+ "type": "object",
6
+ "title": "Login",
7
+ "properties": {
8
+ "sections": {
9
+ "$ref": "#/$defs/$ALLOW_ALL_COMPONENTS"
10
+ }
11
+ },
12
+ "readOnly": false,
13
+ "writeOnly": false,
14
+ "deprecated": false,
15
+ "$abstract": false,
16
+ "identifierKeys": []
17
+ }
18
+ }
@@ -0,0 +1,115 @@
1
+ {
2
+ "pdp": {
3
+ "$extends": ["#/components/base-page-template"],
4
+ "$singleton": false,
5
+ "type": "object",
6
+ "title": "Product Page",
7
+ "properties": {
8
+ "template": {
9
+ "title": "Template",
10
+ "type": "object",
11
+ "properties": {
12
+ "value": {
13
+ "title": "PDP template value (e.g. Slug: /apple-magic-mouse/p OR /department/category/subcategory/)",
14
+ "type": "string",
15
+ "description": "Possible values: the PDP slug template (e.g. '/apple-magic-mouse/p'); A PLP template (e.g. '/department/' OR '/department/category/' OR '/department/category/subcategory/'). If empty, this template will be the generic PDP."
16
+ }
17
+ },
18
+ "$componentTitle": "Template"
19
+ },
20
+ "seo": {
21
+ "title": "SEO",
22
+ "description": "Search Engine Optimization options",
23
+ "type": "object",
24
+ "widget": {
25
+ "ui:ObjectFieldTemplate": "GoogleSeoPreview"
26
+ },
27
+ "properties": {
28
+ "id": {
29
+ "title": "ID",
30
+ "description": "A unique identifier used to reference the product page. This is a descriptive value (e.g., `#product`) that will be concatenated with the product path (example of the result: `/product-slug/p#product`).",
31
+ "type": "string"
32
+ },
33
+ "mainEntityOfPage": {
34
+ "title": "Main entity of page",
35
+ "description": "Indicates the main entity of the page. A unique identifier used to reference the product page. This is a descriptive value (e.g., `#webpage`) that will be concatenated with the product path (example of the result: `/product-slug/p#webpage`).",
36
+ "type": "string"
37
+ }
38
+ },
39
+ "$componentTitle": "SEO"
40
+ },
41
+ "sections": {
42
+ "type": "array",
43
+ "items": {
44
+ "anyOf": [
45
+ {
46
+ "$ref": "#/components/Search"
47
+ },
48
+ {
49
+ "$ref": "#/components/Navbar"
50
+ },
51
+ {
52
+ "$ref": "#/components/Alert"
53
+ },
54
+ {
55
+ "$ref": "#/components/Footer"
56
+ },
57
+ {
58
+ "$ref": "#/components/BannerText"
59
+ },
60
+ {
61
+ "$ref": "#/components/Hero"
62
+ },
63
+ {
64
+ "$ref": "#/components/Incentives"
65
+ },
66
+ {
67
+ "$ref": "#/components/ProductShelf"
68
+ },
69
+ {
70
+ "$ref": "#/components/CrossSellingShelf"
71
+ },
72
+ {
73
+ "$ref": "#/components/ProductTiles"
74
+ },
75
+ {
76
+ "$ref": "#/components/Newsletter"
77
+ },
78
+ {
79
+ "$ref": "#/components/Children"
80
+ },
81
+ {
82
+ "$ref": "#/components/BannerNewsletter"
83
+ },
84
+ {
85
+ "$ref": "#/components/Breadcrumb"
86
+ },
87
+ {
88
+ "$ref": "#/components/ProductDetails"
89
+ },
90
+ {
91
+ "$ref": "#/components/CartSidebar"
92
+ },
93
+ {
94
+ "$ref": "#/components/RegionBar"
95
+ },
96
+ {
97
+ "$ref": "#/components/RegionModal"
98
+ },
99
+ {
100
+ "$ref": "#/components/RegionPopover"
101
+ },
102
+ {
103
+ "$ref": "#/components/EmptyState"
104
+ }
105
+ ]
106
+ }
107
+ }
108
+ },
109
+ "readOnly": false,
110
+ "writeOnly": false,
111
+ "deprecated": false,
112
+ "$abstract": false,
113
+ "identifierKeys": ["slug"]
114
+ }
115
+ }
@@ -0,0 +1,130 @@
1
+ {
2
+ "plp": {
3
+ "$extends": ["#/components/base-page-template"],
4
+ "$singleton": false,
5
+ "type": "object",
6
+ "title": "Product List Page",
7
+ "properties": {
8
+ "template": {
9
+ "title": "Template",
10
+ "type": "object",
11
+ "properties": {
12
+ "value": {
13
+ "title": "PLP template value (e.g. Slug: /department/category/subcategory)",
14
+ "type": "string",
15
+ "description": "PLP slug template (e.g. /office or /office/chairs) representing the /department/category/subcategory template). If this field is left empty, the generic PLP template will be applied."
16
+ }
17
+ },
18
+ "$componentTitle": "Template"
19
+ },
20
+ "productGallery": {
21
+ "title": "Product Gallery",
22
+ "description": "ProductGallery options",
23
+ "type": "object",
24
+ "required": ["itemsPerPage", "sortBySelection"],
25
+ "properties": {
26
+ "itemsPerPage": {
27
+ "title": "Number of ProductCards per page",
28
+ "type": "integer",
29
+ "default": 12
30
+ },
31
+ "sortBySelection": {
32
+ "title": "Default sort by value",
33
+ "type": "string",
34
+ "default": "score_desc",
35
+ "enumNames": [
36
+ "Price, descending",
37
+ "Price, ascending",
38
+ "Top sales",
39
+ "Name, A-Z",
40
+ "Name, Z-A",
41
+ "Release date",
42
+ "Discount",
43
+ "Relevance"
44
+ ],
45
+ "enum": [
46
+ "price_desc",
47
+ "price_asc",
48
+ "orders_desc",
49
+ "name_asc",
50
+ "name_desc",
51
+ "release_desc",
52
+ "discount_desc",
53
+ "score_desc"
54
+ ]
55
+ }
56
+ },
57
+ "$componentTitle": "Product Gallery"
58
+ },
59
+ "sections": {
60
+ "type": "array",
61
+ "items": {
62
+ "anyOf": [
63
+ {
64
+ "$ref": "#/components/Search"
65
+ },
66
+ {
67
+ "$ref": "#/components/Navbar"
68
+ },
69
+ {
70
+ "$ref": "#/components/Alert"
71
+ },
72
+ {
73
+ "$ref": "#/components/Footer"
74
+ },
75
+ {
76
+ "$ref": "#/components/BannerText"
77
+ },
78
+ {
79
+ "$ref": "#/components/Hero"
80
+ },
81
+ {
82
+ "$ref": "#/components/Incentives"
83
+ },
84
+ {
85
+ "$ref": "#/components/ProductShelf"
86
+ },
87
+ {
88
+ "$ref": "#/components/ProductTiles"
89
+ },
90
+ {
91
+ "$ref": "#/components/Newsletter"
92
+ },
93
+ {
94
+ "$ref": "#/components/Children"
95
+ },
96
+ {
97
+ "$ref": "#/components/BannerNewsletter"
98
+ },
99
+ {
100
+ "$ref": "#/components/Breadcrumb"
101
+ },
102
+ {
103
+ "$ref": "#/components/ProductGallery"
104
+ },
105
+ {
106
+ "$ref": "#/components/CartSidebar"
107
+ },
108
+ {
109
+ "$ref": "#/components/RegionBar"
110
+ },
111
+ {
112
+ "$ref": "#/components/RegionModal"
113
+ },
114
+ {
115
+ "$ref": "#/components/RegionPopover"
116
+ },
117
+ {
118
+ "$ref": "#/components/EmptyState"
119
+ }
120
+ ]
121
+ }
122
+ }
123
+ },
124
+ "readOnly": false,
125
+ "writeOnly": false,
126
+ "deprecated": false,
127
+ "$abstract": false,
128
+ "identifierKeys": ["slug"]
129
+ }
130
+ }
@@ -0,0 +1,118 @@
1
+ {
2
+ "search": {
3
+ "$extends": ["#/components/base-page-template"],
4
+ "$singleton": true,
5
+ "type": "object",
6
+ "title": "Search Page",
7
+ "properties": {
8
+ "productGallery": {
9
+ "title": "Product Gallery",
10
+ "description": "ProductGallery options",
11
+ "type": "object",
12
+ "required": ["itemsPerPage", "sortBySelection"],
13
+ "properties": {
14
+ "itemsPerPage": {
15
+ "title": "Number of ProductCards per page",
16
+ "type": "integer",
17
+ "default": 12
18
+ },
19
+ "sortBySelection": {
20
+ "title": "Default sort by value",
21
+ "type": "string",
22
+ "default": "score_desc",
23
+ "enumNames": [
24
+ "Price, descending",
25
+ "Price, ascending",
26
+ "Top sales",
27
+ "Name, A-Z",
28
+ "Name, Z-A",
29
+ "Release date",
30
+ "Discount",
31
+ "Relevance"
32
+ ],
33
+ "enum": [
34
+ "price_desc",
35
+ "price_asc",
36
+ "orders_desc",
37
+ "name_asc",
38
+ "name_desc",
39
+ "release_desc",
40
+ "discount_desc",
41
+ "score_desc"
42
+ ]
43
+ }
44
+ },
45
+ "$componentTitle": "Product Gallery"
46
+ },
47
+ "sections": {
48
+ "type": "array",
49
+ "items": {
50
+ "anyOf": [
51
+ {
52
+ "$ref": "#/components/Search"
53
+ },
54
+ {
55
+ "$ref": "#/components/Navbar"
56
+ },
57
+ {
58
+ "$ref": "#/components/Alert"
59
+ },
60
+ {
61
+ "$ref": "#/components/Footer"
62
+ },
63
+ {
64
+ "$ref": "#/components/BannerText"
65
+ },
66
+ {
67
+ "$ref": "#/components/Hero"
68
+ },
69
+ {
70
+ "$ref": "#/components/Incentives"
71
+ },
72
+ {
73
+ "$ref": "#/components/ProductShelf"
74
+ },
75
+ {
76
+ "$ref": "#/components/ProductTiles"
77
+ },
78
+ {
79
+ "$ref": "#/components/Newsletter"
80
+ },
81
+ {
82
+ "$ref": "#/components/Children"
83
+ },
84
+ {
85
+ "$ref": "#/components/BannerNewsletter"
86
+ },
87
+ {
88
+ "$ref": "#/components/Breadcrumb"
89
+ },
90
+ {
91
+ "$ref": "#/components/ProductGallery"
92
+ },
93
+ {
94
+ "$ref": "#/components/CartSidebar"
95
+ },
96
+ {
97
+ "$ref": "#/components/RegionBar"
98
+ },
99
+ {
100
+ "$ref": "#/components/RegionModal"
101
+ },
102
+ {
103
+ "$ref": "#/components/RegionPopover"
104
+ },
105
+ {
106
+ "$ref": "#/components/EmptyState"
107
+ }
108
+ ]
109
+ }
110
+ }
111
+ },
112
+ "readOnly": false,
113
+ "writeOnly": false,
114
+ "deprecated": false,
115
+ "$abstract": false,
116
+ "identifierKeys": []
117
+ }
118
+ }