@faststore/core 3.97.0 → 3.97.1

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 (125) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +24 -24
  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 +1 -1
  12. package/.next/routes-manifest.json +1 -1
  13. package/.next/server/chunks/2445.js +12 -1
  14. package/.next/server/chunks/3890.js +492 -0
  15. package/.next/server/chunks/3951.js +7 -0
  16. package/.next/server/chunks/4365.js +1 -1
  17. package/.next/server/chunks/870.js +1 -1
  18. package/.next/server/chunks/9563.js +2 -2
  19. package/.next/server/middleware-build-manifest.js +1 -1
  20. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  21. package/.next/server/pages/404.js +1 -1
  22. package/.next/server/pages/404.js.nft.json +1 -1
  23. package/.next/server/pages/500.js +1 -1
  24. package/.next/server/pages/500.js.nft.json +1 -1
  25. package/.next/server/pages/[...slug].js +1 -1
  26. package/.next/server/pages/[...slug].js.nft.json +1 -1
  27. package/.next/server/pages/[slug]/p.js +1 -1
  28. package/.next/server/pages/[slug]/p.js.nft.json +1 -1
  29. package/.next/server/pages/_app.js +1 -1
  30. package/.next/server/pages/_app.js.nft.json +1 -1
  31. package/.next/server/pages/_document.js +1 -1
  32. package/.next/server/pages/_document.js.nft.json +1 -1
  33. package/.next/server/pages/_error.js +1 -1
  34. package/.next/server/pages/_error.js.nft.json +1 -1
  35. package/.next/server/pages/api/fs/logout.js.nft.json +1 -1
  36. package/.next/server/pages/api/graphql.js +3 -3
  37. package/.next/server/pages/api/graphql.js.nft.json +1 -1
  38. package/.next/server/pages/api/health/live.js.nft.json +1 -1
  39. package/.next/server/pages/api/health/ready.js.nft.json +1 -1
  40. package/.next/server/pages/api/preview.js +1 -1
  41. package/.next/server/pages/api/preview.js.nft.json +1 -1
  42. package/.next/server/pages/checkout.js +1 -1
  43. package/.next/server/pages/checkout.js.nft.json +1 -1
  44. package/.next/server/pages/en-US/404.html +28 -13
  45. package/.next/server/pages/en-US/500.html +28 -13
  46. package/.next/server/pages/en-US/checkout.html +28 -13
  47. package/.next/server/pages/en-US/login.html +28 -13
  48. package/.next/server/pages/en-US/s.html +28 -13
  49. package/.next/server/pages/en-US.html +28 -13
  50. package/.next/server/pages/index.js +1 -1
  51. package/.next/server/pages/index.js.nft.json +1 -1
  52. package/.next/server/pages/login.js +1 -1
  53. package/.next/server/pages/login.js.nft.json +1 -1
  54. package/.next/server/pages/pvt/account/403.js +1 -1
  55. package/.next/server/pages/pvt/account/403.js.nft.json +1 -1
  56. package/.next/server/pages/pvt/account/404.js +1 -1
  57. package/.next/server/pages/pvt/account/404.js.nft.json +1 -1
  58. package/.next/server/pages/pvt/account/[...unknown].js +1 -1
  59. package/.next/server/pages/pvt/account/[...unknown].js.nft.json +1 -1
  60. package/.next/server/pages/pvt/account/orders/[id].js +1 -1
  61. package/.next/server/pages/pvt/account/orders/[id].js.nft.json +1 -1
  62. package/.next/server/pages/pvt/account/orders.js +1 -1
  63. package/.next/server/pages/pvt/account/orders.js.nft.json +1 -1
  64. package/.next/server/pages/pvt/account/profile.js +1 -1
  65. package/.next/server/pages/pvt/account/profile.js.nft.json +1 -1
  66. package/.next/server/pages/pvt/account/security.js +1 -1
  67. package/.next/server/pages/pvt/account/security.js.nft.json +1 -1
  68. package/.next/server/pages/pvt/account/user-details.js +1 -1
  69. package/.next/server/pages/pvt/account/user-details.js.nft.json +1 -1
  70. package/.next/server/pages/pvt/account.js +1 -1
  71. package/.next/server/pages/pvt/account.js.nft.json +1 -1
  72. package/.next/server/pages/s.js +1 -1
  73. package/.next/server/pages/s.js.nft.json +1 -1
  74. package/.next/server/pages-manifest.json +1 -1
  75. package/.next/static/{wEDc4gCW_Kv0gEGlYKana → DAJIfXczlTKGDp0c66INm}/_buildManifest.js +1 -1
  76. package/.next/static/chunks/7692.8d5bf4560341a2f6.js +1 -0
  77. package/.next/static/chunks/941.3e2782ab9c490eb0.js +1 -0
  78. package/.next/static/chunks/CartSidebar.f0c16e2bc6f96e9e.js +1 -0
  79. package/.next/static/chunks/pages/_app-1595678557980d65.js +1 -0
  80. package/.next/static/chunks/pages/pvt/account/orders/[id]-e03ebb0393ac92a2.js +1 -0
  81. package/.next/static/chunks/webpack-f3fde0e8298ce999.js +1 -0
  82. package/.next/static/css/{5eecefd2c6deeee4.css → 08d03445f1797608.css} +1 -1
  83. package/.next/trace +140 -139
  84. package/.turbo/turbo-build.log +26 -26
  85. package/.turbo/turbo-test.log +6 -7
  86. package/@generated/gql.ts +2 -2
  87. package/@generated/graphql.ts +54 -1
  88. package/@generated/persisted-documents.json +1 -1
  89. package/@generated/schema.graphql +41 -0
  90. package/CHANGELOG.md +32 -0
  91. package/discovery.config.default.js +1 -0
  92. package/package.json +4 -4
  93. package/src/Layout.tsx +2 -2
  94. package/src/components/ThirdPartyScripts/GoogleTagManager.tsx +19 -10
  95. package/src/components/ThirdPartyScripts/ThirdPartyScripts.tsx +1 -22
  96. package/src/components/ThirdPartyScripts/vtex.tsx +6 -1
  97. package/src/components/account/orders/MyAccountOrderDetails/MyAccountBudgetsCard/MyAccountBudgetsCard.tsx +119 -0
  98. package/src/components/account/orders/MyAccountOrderDetails/MyAccountBudgetsCard/index.ts +1 -0
  99. package/src/components/account/orders/MyAccountOrderDetails/MyAccountBudgetsCard/styles.scss +129 -0
  100. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActions/MyAccountOrderActions.tsx +19 -6
  101. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActions/styles.scss +10 -0
  102. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderDetails.tsx +18 -5
  103. package/src/components/account/orders/MyAccountOrderDetails/MyAccountReorderButton/MyAccountReorderButton.tsx +37 -0
  104. package/src/components/account/orders/MyAccountOrderDetails/MyAccountReorderButton/index.ts +2 -0
  105. package/src/components/account/orders/MyAccountOrderDetails/MyAccountReorderButton/styles.scss +10 -0
  106. package/src/components/account/orders/MyAccountOrderDetails/section.module.scss +46 -17
  107. package/src/constants.ts +2 -0
  108. package/src/pages/_document.tsx +40 -0
  109. package/src/pages/api/preview.ts +4 -4
  110. package/src/pages/pvt/account/orders/[id].tsx +19 -1
  111. package/src/sdk/account/useReorder.ts +148 -0
  112. package/src/sdk/analytics/hooks/usePageViewEvent.ts +7 -2
  113. package/src/sdk/analytics/platform/vtex/search.ts +22 -8
  114. package/src/sdk/cart/redirectToCheckout.ts +15 -0
  115. package/src/sdk/cart/useCheckoutButton.ts +2 -9
  116. package/src/sdk/error/ReorderError/ReorderError.ts +6 -0
  117. package/.next/server/chunks/4168.js +0 -1
  118. package/.next/server/chunks/9630.js +0 -495
  119. package/.next/static/chunks/7692.a352cce6d744fa8b.js +0 -1
  120. package/.next/static/chunks/941.417f354fd61bae91.js +0 -1
  121. package/.next/static/chunks/CartSidebar.3342e22b115732a3.js +0 -1
  122. package/.next/static/chunks/pages/_app-dbee0add24c249fe.js +0 -1
  123. package/.next/static/chunks/pages/pvt/account/orders/[id]-dc662a778c5b8876.js +0 -1
  124. package/.next/static/chunks/webpack-c6f7dbc72e738310.js +0 -1
  125. /package/.next/static/{wEDc4gCW_Kv0gEGlYKana → DAJIfXczlTKGDp0c66INm}/_ssgManifest.js +0 -0
package/.next/BUILD_ID CHANGED
@@ -1 +1 @@
1
- wEDc4gCW_Kv0gEGlYKana
1
+ DAJIfXczlTKGDp0c66INm
@@ -5,13 +5,13 @@
5
5
  "devFiles": [],
6
6
  "ampDevFiles": [],
7
7
  "lowPriorityFiles": [
8
- "static/wEDc4gCW_Kv0gEGlYKana/_buildManifest.js",
9
- "static/wEDc4gCW_Kv0gEGlYKana/_ssgManifest.js"
8
+ "static/DAJIfXczlTKGDp0c66INm/_buildManifest.js",
9
+ "static/DAJIfXczlTKGDp0c66INm/_ssgManifest.js"
10
10
  ],
11
11
  "rootMainFiles": [],
12
12
  "pages": {
13
13
  "/": [
14
- "static/chunks/webpack-c6f7dbc72e738310.js",
14
+ "static/chunks/webpack-f3fde0e8298ce999.js",
15
15
  "static/chunks/framework-d514426edf885c68.js",
16
16
  "static/chunks/main-ec03882c4375091d.js",
17
17
  "static/chunks/6031-b0b111f48a7d504d.js",
@@ -22,7 +22,7 @@
22
22
  "static/chunks/pages/index-1f8bf0fb351b90f4.js"
23
23
  ],
24
24
  "/404": [
25
- "static/chunks/webpack-c6f7dbc72e738310.js",
25
+ "static/chunks/webpack-f3fde0e8298ce999.js",
26
26
  "static/chunks/framework-d514426edf885c68.js",
27
27
  "static/chunks/main-ec03882c4375091d.js",
28
28
  "static/chunks/6031-b0b111f48a7d504d.js",
@@ -32,7 +32,7 @@
32
32
  "static/chunks/pages/404-4b3f1e22c77f849a.js"
33
33
  ],
34
34
  "/500": [
35
- "static/chunks/webpack-c6f7dbc72e738310.js",
35
+ "static/chunks/webpack-f3fde0e8298ce999.js",
36
36
  "static/chunks/framework-d514426edf885c68.js",
37
37
  "static/chunks/main-ec03882c4375091d.js",
38
38
  "static/chunks/6031-b0b111f48a7d504d.js",
@@ -42,7 +42,7 @@
42
42
  "static/chunks/pages/500-bb2de0c11524b2b8.js"
43
43
  ],
44
44
  "/[...slug]": [
45
- "static/chunks/webpack-c6f7dbc72e738310.js",
45
+ "static/chunks/webpack-f3fde0e8298ce999.js",
46
46
  "static/chunks/framework-d514426edf885c68.js",
47
47
  "static/chunks/main-ec03882c4375091d.js",
48
48
  "static/chunks/6031-b0b111f48a7d504d.js",
@@ -53,7 +53,7 @@
53
53
  "static/chunks/pages/[...slug]-3579b3b8b8309552.js"
54
54
  ],
55
55
  "/[slug]/p": [
56
- "static/chunks/webpack-c6f7dbc72e738310.js",
56
+ "static/chunks/webpack-f3fde0e8298ce999.js",
57
57
  "static/chunks/framework-d514426edf885c68.js",
58
58
  "static/chunks/main-ec03882c4375091d.js",
59
59
  "static/chunks/6031-b0b111f48a7d504d.js",
@@ -66,20 +66,20 @@
66
66
  "static/chunks/pages/[slug]/p-7ac98274c47b0ff4.js"
67
67
  ],
68
68
  "/_app": [
69
- "static/chunks/webpack-c6f7dbc72e738310.js",
69
+ "static/chunks/webpack-f3fde0e8298ce999.js",
70
70
  "static/chunks/framework-d514426edf885c68.js",
71
71
  "static/chunks/main-ec03882c4375091d.js",
72
72
  "static/css/0f070d03aacd9cc5.css",
73
- "static/chunks/pages/_app-dbee0add24c249fe.js"
73
+ "static/chunks/pages/_app-1595678557980d65.js"
74
74
  ],
75
75
  "/_error": [
76
- "static/chunks/webpack-c6f7dbc72e738310.js",
76
+ "static/chunks/webpack-f3fde0e8298ce999.js",
77
77
  "static/chunks/framework-d514426edf885c68.js",
78
78
  "static/chunks/main-ec03882c4375091d.js",
79
79
  "static/chunks/pages/_error-2b0148be56a716e9.js"
80
80
  ],
81
81
  "/checkout": [
82
- "static/chunks/webpack-c6f7dbc72e738310.js",
82
+ "static/chunks/webpack-f3fde0e8298ce999.js",
83
83
  "static/chunks/framework-d514426edf885c68.js",
84
84
  "static/chunks/main-ec03882c4375091d.js",
85
85
  "static/chunks/6031-b0b111f48a7d504d.js",
@@ -88,7 +88,7 @@
88
88
  "static/chunks/pages/checkout-dc07d72b3514c83d.js"
89
89
  ],
90
90
  "/login": [
91
- "static/chunks/webpack-c6f7dbc72e738310.js",
91
+ "static/chunks/webpack-f3fde0e8298ce999.js",
92
92
  "static/chunks/framework-d514426edf885c68.js",
93
93
  "static/chunks/main-ec03882c4375091d.js",
94
94
  "static/chunks/6031-b0b111f48a7d504d.js",
@@ -98,13 +98,13 @@
98
98
  "static/chunks/pages/login-e97ef92769456bf6.js"
99
99
  ],
100
100
  "/pvt/account": [
101
- "static/chunks/webpack-c6f7dbc72e738310.js",
101
+ "static/chunks/webpack-f3fde0e8298ce999.js",
102
102
  "static/chunks/framework-d514426edf885c68.js",
103
103
  "static/chunks/main-ec03882c4375091d.js",
104
104
  "static/chunks/pages/pvt/account-65fefcc699344bdb.js"
105
105
  ],
106
106
  "/pvt/account/403": [
107
- "static/chunks/webpack-c6f7dbc72e738310.js",
107
+ "static/chunks/webpack-f3fde0e8298ce999.js",
108
108
  "static/chunks/framework-d514426edf885c68.js",
109
109
  "static/chunks/main-ec03882c4375091d.js",
110
110
  "static/chunks/6031-b0b111f48a7d504d.js",
@@ -114,7 +114,7 @@
114
114
  "static/chunks/pages/pvt/account/403-91597100f8956385.js"
115
115
  ],
116
116
  "/pvt/account/404": [
117
- "static/chunks/webpack-c6f7dbc72e738310.js",
117
+ "static/chunks/webpack-f3fde0e8298ce999.js",
118
118
  "static/chunks/framework-d514426edf885c68.js",
119
119
  "static/chunks/main-ec03882c4375091d.js",
120
120
  "static/chunks/6031-b0b111f48a7d504d.js",
@@ -124,13 +124,13 @@
124
124
  "static/chunks/pages/pvt/account/404-c68124bed7cb7c48.js"
125
125
  ],
126
126
  "/pvt/account/[...unknown]": [
127
- "static/chunks/webpack-c6f7dbc72e738310.js",
127
+ "static/chunks/webpack-f3fde0e8298ce999.js",
128
128
  "static/chunks/framework-d514426edf885c68.js",
129
129
  "static/chunks/main-ec03882c4375091d.js",
130
130
  "static/chunks/pages/pvt/account/[...unknown]-f80f645594d2740c.js"
131
131
  ],
132
132
  "/pvt/account/orders": [
133
- "static/chunks/webpack-c6f7dbc72e738310.js",
133
+ "static/chunks/webpack-f3fde0e8298ce999.js",
134
134
  "static/chunks/framework-d514426edf885c68.js",
135
135
  "static/chunks/main-ec03882c4375091d.js",
136
136
  "static/chunks/6031-b0b111f48a7d504d.js",
@@ -140,17 +140,17 @@
140
140
  "static/chunks/pages/pvt/account/orders-12a215899ae6f3eb.js"
141
141
  ],
142
142
  "/pvt/account/orders/[id]": [
143
- "static/chunks/webpack-c6f7dbc72e738310.js",
143
+ "static/chunks/webpack-f3fde0e8298ce999.js",
144
144
  "static/chunks/framework-d514426edf885c68.js",
145
145
  "static/chunks/main-ec03882c4375091d.js",
146
146
  "static/chunks/6031-b0b111f48a7d504d.js",
147
147
  "static/css/9d403a1bee48c9fc.css",
148
148
  "static/chunks/9173-ab3c4d9d8f978c4b.js",
149
- "static/css/5eecefd2c6deeee4.css",
150
- "static/chunks/pages/pvt/account/orders/[id]-dc662a778c5b8876.js"
149
+ "static/css/08d03445f1797608.css",
150
+ "static/chunks/pages/pvt/account/orders/[id]-e03ebb0393ac92a2.js"
151
151
  ],
152
152
  "/pvt/account/profile": [
153
- "static/chunks/webpack-c6f7dbc72e738310.js",
153
+ "static/chunks/webpack-f3fde0e8298ce999.js",
154
154
  "static/chunks/framework-d514426edf885c68.js",
155
155
  "static/chunks/main-ec03882c4375091d.js",
156
156
  "static/chunks/6031-b0b111f48a7d504d.js",
@@ -160,7 +160,7 @@
160
160
  "static/chunks/pages/pvt/account/profile-b6cdbf02d4682544.js"
161
161
  ],
162
162
  "/pvt/account/security": [
163
- "static/chunks/webpack-c6f7dbc72e738310.js",
163
+ "static/chunks/webpack-f3fde0e8298ce999.js",
164
164
  "static/chunks/framework-d514426edf885c68.js",
165
165
  "static/chunks/main-ec03882c4375091d.js",
166
166
  "static/chunks/6031-b0b111f48a7d504d.js",
@@ -170,7 +170,7 @@
170
170
  "static/chunks/pages/pvt/account/security-e6289a40e745d3c4.js"
171
171
  ],
172
172
  "/pvt/account/user-details": [
173
- "static/chunks/webpack-c6f7dbc72e738310.js",
173
+ "static/chunks/webpack-f3fde0e8298ce999.js",
174
174
  "static/chunks/framework-d514426edf885c68.js",
175
175
  "static/chunks/main-ec03882c4375091d.js",
176
176
  "static/chunks/6031-b0b111f48a7d504d.js",
@@ -180,7 +180,7 @@
180
180
  "static/chunks/pages/pvt/account/user-details-fba1822e52e7de26.js"
181
181
  ],
182
182
  "/s": [
183
- "static/chunks/webpack-c6f7dbc72e738310.js",
183
+ "static/chunks/webpack-f3fde0e8298ce999.js",
184
184
  "static/chunks/framework-d514426edf885c68.js",
185
185
  "static/chunks/main-ec03882c4375091d.js",
186
186
  "static/chunks/6031-b0b111f48a7d504d.js",