@akinon/projectzero 1.42.0-rc.9 → 1.43.0-rc.0
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/CHANGELOG.md +7 -19
- package/app-template/CHANGELOG.md +60 -210
- package/app-template/package.json +15 -15
- package/app-template/public/locales/en/basket.json +4 -0
- package/app-template/public/locales/tr/basket.json +4 -0
- package/app-template/src/app/[commerce]/[locale]/[currency]/basket/page.tsx +14 -4
- package/app-template/src/views/account/favorite-item.tsx +1 -1
- package/app-template/src/views/basket/basket-item.tsx +12 -4
- package/commands/plugins.ts +4 -0
- package/dist/commands/plugins.js +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,24 +1,6 @@
|
|
|
1
1
|
# @akinon/projectzero
|
|
2
2
|
|
|
3
|
-
## 1.
|
|
4
|
-
|
|
5
|
-
## 1.42.0-rc.8
|
|
6
|
-
|
|
7
|
-
## 1.42.0-rc.7
|
|
8
|
-
|
|
9
|
-
## 1.42.0-rc.6
|
|
10
|
-
|
|
11
|
-
## 1.42.0-rc.5
|
|
12
|
-
|
|
13
|
-
## 1.42.0-rc.4
|
|
14
|
-
|
|
15
|
-
## 1.42.0-rc.3
|
|
16
|
-
|
|
17
|
-
## 1.42.0-rc.2
|
|
18
|
-
|
|
19
|
-
## 1.42.0-rc.1
|
|
20
|
-
|
|
21
|
-
## 1.42.0-rc.0
|
|
3
|
+
## 1.43.0-rc.0
|
|
22
4
|
|
|
23
5
|
### Minor Changes
|
|
24
6
|
|
|
@@ -28,6 +10,12 @@
|
|
|
28
10
|
- 00ffde2: ZERO-2637: enhance create command with improved messaging
|
|
29
11
|
- d2f0f15: ZERO-2723: Update sentry version and dependencies
|
|
30
12
|
|
|
13
|
+
## 1.42.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- 5ea00a6: ZERO-2761: Add multi basket package
|
|
18
|
+
|
|
31
19
|
## 1.41.0
|
|
32
20
|
|
|
33
21
|
## 1.40.0
|
|
@@ -1,202 +1,6 @@
|
|
|
1
1
|
# projectzeronext
|
|
2
2
|
|
|
3
|
-
## 1.
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
- 552ee8a: ZERO-2777: fix link component usage
|
|
8
|
-
- 9609eb2: ZERO-2779: Upgrade for tailwind
|
|
9
|
-
- 959e1fa: ZERO-2778: Upgrade for nextjs
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- @akinon/next@1.42.0-rc.9
|
|
14
|
-
- @akinon/pz-akifast@1.42.0-rc.9
|
|
15
|
-
- @akinon/pz-b2b@1.42.0-rc.9
|
|
16
|
-
- @akinon/pz-basket-gift-pack@1.42.0-rc.9
|
|
17
|
-
- @akinon/pz-bkm@1.42.0-rc.9
|
|
18
|
-
- @akinon/pz-checkout-gift-pack@1.42.0-rc.9
|
|
19
|
-
- @akinon/pz-click-collect@1.42.0-rc.9
|
|
20
|
-
- @akinon/pz-credit-payment@1.42.0-rc.9
|
|
21
|
-
- @akinon/pz-gpay@1.42.0-rc.9
|
|
22
|
-
- @akinon/pz-masterpass@1.42.0-rc.9
|
|
23
|
-
- @akinon/pz-one-click-checkout@1.42.0-rc.9
|
|
24
|
-
- @akinon/pz-otp@1.42.0-rc.9
|
|
25
|
-
- @akinon/pz-pay-on-delivery@1.42.0-rc.9
|
|
26
|
-
|
|
27
|
-
## 1.42.0-rc.8
|
|
28
|
-
|
|
29
|
-
### Minor Changes
|
|
30
|
-
|
|
31
|
-
- e665a0a: ZERO-2625: Add click outside functionality to close mobile menu
|
|
32
|
-
|
|
33
|
-
### Patch Changes
|
|
34
|
-
|
|
35
|
-
- Updated dependencies [d409996]
|
|
36
|
-
- @akinon/next@1.42.0-rc.8
|
|
37
|
-
- @akinon/pz-akifast@1.42.0-rc.8
|
|
38
|
-
- @akinon/pz-b2b@1.42.0-rc.8
|
|
39
|
-
- @akinon/pz-basket-gift-pack@1.42.0-rc.8
|
|
40
|
-
- @akinon/pz-bkm@1.42.0-rc.8
|
|
41
|
-
- @akinon/pz-checkout-gift-pack@1.42.0-rc.8
|
|
42
|
-
- @akinon/pz-click-collect@1.42.0-rc.8
|
|
43
|
-
- @akinon/pz-credit-payment@1.42.0-rc.8
|
|
44
|
-
- @akinon/pz-gpay@1.42.0-rc.8
|
|
45
|
-
- @akinon/pz-masterpass@1.42.0-rc.8
|
|
46
|
-
- @akinon/pz-one-click-checkout@1.42.0-rc.8
|
|
47
|
-
- @akinon/pz-otp@1.42.0-rc.8
|
|
48
|
-
- @akinon/pz-pay-on-delivery@1.42.0-rc.8
|
|
49
|
-
|
|
50
|
-
## 1.42.0-rc.7
|
|
51
|
-
|
|
52
|
-
### Patch Changes
|
|
53
|
-
|
|
54
|
-
- Updated dependencies [50b9069]
|
|
55
|
-
- @akinon/pz-checkout-gift-pack@1.42.0-rc.7
|
|
56
|
-
- @akinon/pz-one-click-checkout@1.42.0-rc.7
|
|
57
|
-
- @akinon/pz-basket-gift-pack@1.42.0-rc.7
|
|
58
|
-
- @akinon/pz-click-collect@1.42.0-rc.7
|
|
59
|
-
- @akinon/pz-masterpass@1.42.0-rc.7
|
|
60
|
-
- @akinon/pz-akifast@1.42.0-rc.7
|
|
61
|
-
- @akinon/pz-gpay@1.42.0-rc.7
|
|
62
|
-
- @akinon/pz-b2b@1.42.0-rc.7
|
|
63
|
-
- @akinon/pz-bkm@1.42.0-rc.7
|
|
64
|
-
- @akinon/pz-otp@1.42.0-rc.7
|
|
65
|
-
- @akinon/next@1.42.0-rc.7
|
|
66
|
-
- @akinon/pz-credit-payment@1.42.0-rc.7
|
|
67
|
-
- @akinon/pz-pay-on-delivery@1.42.0-rc.7
|
|
68
|
-
|
|
69
|
-
## 1.42.0-rc.6
|
|
70
|
-
|
|
71
|
-
### Patch Changes
|
|
72
|
-
|
|
73
|
-
- Updated dependencies [146ea39]
|
|
74
|
-
- @akinon/next@1.42.0-rc.6
|
|
75
|
-
- @akinon/pz-akifast@1.42.0-rc.6
|
|
76
|
-
- @akinon/pz-b2b@1.42.0-rc.6
|
|
77
|
-
- @akinon/pz-basket-gift-pack@1.42.0-rc.6
|
|
78
|
-
- @akinon/pz-bkm@1.42.0-rc.6
|
|
79
|
-
- @akinon/pz-checkout-gift-pack@1.42.0-rc.6
|
|
80
|
-
- @akinon/pz-click-collect@1.42.0-rc.6
|
|
81
|
-
- @akinon/pz-credit-payment@1.42.0-rc.6
|
|
82
|
-
- @akinon/pz-gpay@1.42.0-rc.6
|
|
83
|
-
- @akinon/pz-masterpass@1.42.0-rc.6
|
|
84
|
-
- @akinon/pz-one-click-checkout@1.42.0-rc.6
|
|
85
|
-
- @akinon/pz-otp@1.42.0-rc.6
|
|
86
|
-
- @akinon/pz-pay-on-delivery@1.42.0-rc.6
|
|
87
|
-
|
|
88
|
-
## 1.42.0-rc.5
|
|
89
|
-
|
|
90
|
-
### Minor Changes
|
|
91
|
-
|
|
92
|
-
- 5a4c607: ZERO-2764: Add case-warning rule to eslint-plugin-projectzero
|
|
93
|
-
- 06650ca: ZERO-2620: Remove unnecessary pointer-events-none class
|
|
94
|
-
- fac2e5b: ZERO-2622: Add isMenuOpen state to Category reducer and update CategoryInfo component
|
|
95
|
-
|
|
96
|
-
### Patch Changes
|
|
97
|
-
|
|
98
|
-
- @akinon/next@1.42.0-rc.5
|
|
99
|
-
- @akinon/pz-akifast@1.42.0-rc.5
|
|
100
|
-
- @akinon/pz-b2b@1.42.0-rc.5
|
|
101
|
-
- @akinon/pz-basket-gift-pack@1.42.0-rc.5
|
|
102
|
-
- @akinon/pz-bkm@1.42.0-rc.5
|
|
103
|
-
- @akinon/pz-checkout-gift-pack@1.42.0-rc.5
|
|
104
|
-
- @akinon/pz-click-collect@1.42.0-rc.5
|
|
105
|
-
- @akinon/pz-credit-payment@1.42.0-rc.5
|
|
106
|
-
- @akinon/pz-gpay@1.42.0-rc.5
|
|
107
|
-
- @akinon/pz-masterpass@1.42.0-rc.5
|
|
108
|
-
- @akinon/pz-one-click-checkout@1.42.0-rc.5
|
|
109
|
-
- @akinon/pz-otp@1.42.0-rc.5
|
|
110
|
-
- @akinon/pz-pay-on-delivery@1.42.0-rc.5
|
|
111
|
-
|
|
112
|
-
## 1.42.0-rc.4
|
|
113
|
-
|
|
114
|
-
### Patch Changes
|
|
115
|
-
|
|
116
|
-
- Updated dependencies [46b7aad]
|
|
117
|
-
- @akinon/next@1.42.0-rc.4
|
|
118
|
-
- @akinon/pz-akifast@1.42.0-rc.4
|
|
119
|
-
- @akinon/pz-b2b@1.42.0-rc.4
|
|
120
|
-
- @akinon/pz-basket-gift-pack@1.42.0-rc.4
|
|
121
|
-
- @akinon/pz-bkm@1.42.0-rc.4
|
|
122
|
-
- @akinon/pz-checkout-gift-pack@1.42.0-rc.4
|
|
123
|
-
- @akinon/pz-click-collect@1.42.0-rc.4
|
|
124
|
-
- @akinon/pz-credit-payment@1.42.0-rc.4
|
|
125
|
-
- @akinon/pz-gpay@1.42.0-rc.4
|
|
126
|
-
- @akinon/pz-masterpass@1.42.0-rc.4
|
|
127
|
-
- @akinon/pz-one-click-checkout@1.42.0-rc.4
|
|
128
|
-
- @akinon/pz-otp@1.42.0-rc.4
|
|
129
|
-
- @akinon/pz-pay-on-delivery@1.42.0-rc.4
|
|
130
|
-
|
|
131
|
-
## 1.42.0-rc.3
|
|
132
|
-
|
|
133
|
-
### Minor Changes
|
|
134
|
-
|
|
135
|
-
- 52c1373: ZERO-2619: Added fix flag for the staged linter
|
|
136
|
-
|
|
137
|
-
### Patch Changes
|
|
138
|
-
|
|
139
|
-
- Updated dependencies [fda5b92]
|
|
140
|
-
- @akinon/next@1.42.0-rc.3
|
|
141
|
-
- @akinon/pz-akifast@1.42.0-rc.3
|
|
142
|
-
- @akinon/pz-b2b@1.42.0-rc.3
|
|
143
|
-
- @akinon/pz-basket-gift-pack@1.42.0-rc.3
|
|
144
|
-
- @akinon/pz-bkm@1.42.0-rc.3
|
|
145
|
-
- @akinon/pz-checkout-gift-pack@1.42.0-rc.3
|
|
146
|
-
- @akinon/pz-click-collect@1.42.0-rc.3
|
|
147
|
-
- @akinon/pz-credit-payment@1.42.0-rc.3
|
|
148
|
-
- @akinon/pz-gpay@1.42.0-rc.3
|
|
149
|
-
- @akinon/pz-masterpass@1.42.0-rc.3
|
|
150
|
-
- @akinon/pz-one-click-checkout@1.42.0-rc.3
|
|
151
|
-
- @akinon/pz-otp@1.42.0-rc.3
|
|
152
|
-
- @akinon/pz-pay-on-delivery@1.42.0-rc.3
|
|
153
|
-
|
|
154
|
-
## 1.42.0-rc.2
|
|
155
|
-
|
|
156
|
-
### Minor Changes
|
|
157
|
-
|
|
158
|
-
- 778a9a0: ZERO-2740: Upgrade next to 14.2.4
|
|
159
|
-
|
|
160
|
-
### Patch Changes
|
|
161
|
-
|
|
162
|
-
- @akinon/next@1.42.0-rc.2
|
|
163
|
-
- @akinon/pz-akifast@1.42.0-rc.2
|
|
164
|
-
- @akinon/pz-b2b@1.42.0-rc.2
|
|
165
|
-
- @akinon/pz-basket-gift-pack@1.42.0-rc.2
|
|
166
|
-
- @akinon/pz-bkm@1.42.0-rc.2
|
|
167
|
-
- @akinon/pz-checkout-gift-pack@1.42.0-rc.2
|
|
168
|
-
- @akinon/pz-click-collect@1.42.0-rc.2
|
|
169
|
-
- @akinon/pz-credit-payment@1.42.0-rc.2
|
|
170
|
-
- @akinon/pz-gpay@1.42.0-rc.2
|
|
171
|
-
- @akinon/pz-masterpass@1.42.0-rc.2
|
|
172
|
-
- @akinon/pz-one-click-checkout@1.42.0-rc.2
|
|
173
|
-
- @akinon/pz-otp@1.42.0-rc.2
|
|
174
|
-
- @akinon/pz-pay-on-delivery@1.42.0-rc.2
|
|
175
|
-
|
|
176
|
-
## 1.42.0-rc.1
|
|
177
|
-
|
|
178
|
-
### Minor Changes
|
|
179
|
-
|
|
180
|
-
- 714e0b4: ZERO-2759: update pz-click-collect peer dependencies
|
|
181
|
-
|
|
182
|
-
### Patch Changes
|
|
183
|
-
|
|
184
|
-
- Updated dependencies [714e0b4]
|
|
185
|
-
- @akinon/pz-click-collect@1.42.0-rc.1
|
|
186
|
-
- @akinon/next@1.42.0-rc.1
|
|
187
|
-
- @akinon/pz-akifast@1.42.0-rc.1
|
|
188
|
-
- @akinon/pz-b2b@1.42.0-rc.1
|
|
189
|
-
- @akinon/pz-basket-gift-pack@1.42.0-rc.1
|
|
190
|
-
- @akinon/pz-bkm@1.42.0-rc.1
|
|
191
|
-
- @akinon/pz-checkout-gift-pack@1.42.0-rc.1
|
|
192
|
-
- @akinon/pz-credit-payment@1.42.0-rc.1
|
|
193
|
-
- @akinon/pz-gpay@1.42.0-rc.1
|
|
194
|
-
- @akinon/pz-masterpass@1.42.0-rc.1
|
|
195
|
-
- @akinon/pz-one-click-checkout@1.42.0-rc.1
|
|
196
|
-
- @akinon/pz-otp@1.42.0-rc.1
|
|
197
|
-
- @akinon/pz-pay-on-delivery@1.42.0-rc.1
|
|
198
|
-
|
|
199
|
-
## 1.42.0-rc.0
|
|
3
|
+
## 1.43.0-rc.0
|
|
200
4
|
|
|
201
5
|
### Minor Changes
|
|
202
6
|
|
|
@@ -204,19 +8,30 @@
|
|
|
204
8
|
- 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
|
|
205
9
|
- c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
206
10
|
- 97b8bdc: ZERO-2724: Remove onClick event in shipping options component
|
|
11
|
+
- 714e0b4: ZERO-2759: update pz-click-collect peer dependencies
|
|
12
|
+
- 7521265: ZERO-2787: Fix hover classname for favorite item
|
|
207
13
|
- 27a5296: ZERO-2631:Fix Checkbox Click
|
|
14
|
+
- 5a4c607: ZERO-2764: Add case-warning rule to eslint-plugin-projectzero
|
|
15
|
+
- e665a0a: ZERO-2625: Add click outside functionality to close mobile menu
|
|
16
|
+
- 52c1373: ZERO-2619: Added fix flag for the staged linter
|
|
17
|
+
- 552ee8a: ZERO-2777: fix link component usage
|
|
208
18
|
- 03c4c3e: ZERO-2731: Update Project Zero CLI command
|
|
209
19
|
- 0d3a913: ZERO-2725: Update decimal scale in Price component
|
|
20
|
+
- 778a9a0: ZERO-2740: Upgrade next to 14.2.4
|
|
210
21
|
- 9b6bf91: ZERO-2660: Change campaings to campaigns
|
|
22
|
+
- 06650ca: ZERO-2620: Remove unnecessary pointer-events-none class
|
|
211
23
|
- 74a1269: ZERO-2658:Edit product name clickability on completed order page
|
|
212
24
|
- d3474c6: ZERO-2655: Add data source shipping option
|
|
213
25
|
- d2f0f15: ZERO-2723: Update sentry version and dependencies
|
|
214
26
|
- 75080fd: ZERO-2630: Add max limit to postcode area
|
|
27
|
+
- 9609eb2: ZERO-2779: Upgrade for tailwind
|
|
215
28
|
- 91265bb: ZERO-2551: Improve pretty url and caching performance
|
|
29
|
+
- 959e1fa: ZERO-2778: Upgrade for nextjs
|
|
216
30
|
- 902d828: ZERO-2621:edit position of loaderSpinner in favorites page
|
|
217
31
|
- 7a4bb76: ZERO-2610:Refactor FilterItem component for better readability and efficiency
|
|
218
32
|
- dff0d59: ZERO-2659: add formData support to proxy api requests
|
|
219
33
|
- beb499e: ZERO-2551: Add new tsconfig paths
|
|
34
|
+
- fac2e5b: ZERO-2622: Add isMenuOpen state to Category reducer and update CategoryInfo component
|
|
220
35
|
- 4614eee: ZERO-2602: The script that checks the build for standalone projects
|
|
221
36
|
- e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass
|
|
222
37
|
- f046f8e: ZERO-2575: update version for react-number-format
|
|
@@ -225,9 +40,16 @@
|
|
|
225
40
|
### Patch Changes
|
|
226
41
|
|
|
227
42
|
- Updated dependencies [90282b5]
|
|
43
|
+
- Updated dependencies [50b9069]
|
|
228
44
|
- Updated dependencies [572d2e8]
|
|
229
45
|
- Updated dependencies [a4c8d6a]
|
|
46
|
+
- Updated dependencies [fda5b92]
|
|
47
|
+
- Updated dependencies [2d9b2b2]
|
|
230
48
|
- Updated dependencies [c53ea3e]
|
|
49
|
+
- Updated dependencies [8d9ac9a]
|
|
50
|
+
- Updated dependencies [18e8197]
|
|
51
|
+
- Updated dependencies [714e0b4]
|
|
52
|
+
- Updated dependencies [e9541a1]
|
|
231
53
|
- Updated dependencies [c53ef7b]
|
|
232
54
|
- Updated dependencies [0d3a913]
|
|
233
55
|
- Updated dependencies [1448a96]
|
|
@@ -235,28 +57,56 @@
|
|
|
235
57
|
- Updated dependencies [75080fd]
|
|
236
58
|
- Updated dependencies [91265bb]
|
|
237
59
|
- Updated dependencies [bbe18b9]
|
|
60
|
+
- Updated dependencies [d409996]
|
|
61
|
+
- Updated dependencies [69ca080]
|
|
62
|
+
- Updated dependencies [94b6928]
|
|
238
63
|
- Updated dependencies [98bb8dc]
|
|
64
|
+
- Updated dependencies [46b7aad]
|
|
239
65
|
- Updated dependencies [dcc8a15]
|
|
240
66
|
- Updated dependencies [fad2768]
|
|
241
67
|
- Updated dependencies [dff0d59]
|
|
242
68
|
- Updated dependencies [beb499e]
|
|
69
|
+
- Updated dependencies [146ea39]
|
|
243
70
|
- Updated dependencies [c47be30]
|
|
244
71
|
- Updated dependencies [e9a46ac]
|
|
245
72
|
- Updated dependencies [f046f8e]
|
|
246
73
|
- Updated dependencies [86d2531]
|
|
247
|
-
- @akinon/next@1.
|
|
248
|
-
- @akinon/pz-
|
|
249
|
-
- @akinon/pz-
|
|
250
|
-
- @akinon/pz-
|
|
251
|
-
- @akinon/pz-
|
|
252
|
-
- @akinon/pz-
|
|
253
|
-
- @akinon/pz-
|
|
254
|
-
- @akinon/pz-
|
|
255
|
-
- @akinon/pz-
|
|
256
|
-
- @akinon/pz-
|
|
257
|
-
- @akinon/pz-
|
|
258
|
-
- @akinon/pz-
|
|
259
|
-
- @akinon/pz-pay-on-delivery@1.
|
|
74
|
+
- @akinon/next@1.43.0-rc.0
|
|
75
|
+
- @akinon/pz-checkout-gift-pack@1.43.0-rc.0
|
|
76
|
+
- @akinon/pz-one-click-checkout@1.43.0-rc.0
|
|
77
|
+
- @akinon/pz-basket-gift-pack@1.43.0-rc.0
|
|
78
|
+
- @akinon/pz-click-collect@1.43.0-rc.0
|
|
79
|
+
- @akinon/pz-masterpass@1.43.0-rc.0
|
|
80
|
+
- @akinon/pz-akifast@1.43.0-rc.0
|
|
81
|
+
- @akinon/pz-gpay@1.43.0-rc.0
|
|
82
|
+
- @akinon/pz-b2b@1.43.0-rc.0
|
|
83
|
+
- @akinon/pz-bkm@1.43.0-rc.0
|
|
84
|
+
- @akinon/pz-otp@1.43.0-rc.0
|
|
85
|
+
- @akinon/pz-credit-payment@1.43.0-rc.0
|
|
86
|
+
- @akinon/pz-pay-on-delivery@1.43.0-rc.0
|
|
87
|
+
|
|
88
|
+
## 1.42.0
|
|
89
|
+
|
|
90
|
+
### Minor Changes
|
|
91
|
+
|
|
92
|
+
- 5ea00a6: ZERO-2761: Add multi basket package
|
|
93
|
+
|
|
94
|
+
### Patch Changes
|
|
95
|
+
|
|
96
|
+
- Updated dependencies [5ea00a6]
|
|
97
|
+
- @akinon/next@1.42.0
|
|
98
|
+
- @akinon/pz-akifast@1.42.0
|
|
99
|
+
- @akinon/pz-b2b@1.42.0
|
|
100
|
+
- @akinon/pz-basket-gift-pack@1.42.0
|
|
101
|
+
- @akinon/pz-bkm@1.42.0
|
|
102
|
+
- @akinon/pz-checkout-gift-pack@1.42.0
|
|
103
|
+
- @akinon/pz-click-collect@1.42.0
|
|
104
|
+
- @akinon/pz-credit-payment@1.42.0
|
|
105
|
+
- @akinon/pz-gpay@1.42.0
|
|
106
|
+
- @akinon/pz-masterpass@1.42.0
|
|
107
|
+
- @akinon/pz-one-click-checkout@1.42.0
|
|
108
|
+
- @akinon/pz-otp@1.42.0
|
|
109
|
+
- @akinon/pz-pay-on-delivery@1.42.0
|
|
260
110
|
|
|
261
111
|
## 1.41.0
|
|
262
112
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "projectzeronext",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.43.0-rc.0",
|
|
4
4
|
"private": true,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -22,19 +22,19 @@
|
|
|
22
22
|
"prestart": "pz-prestart"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@akinon/next": "1.
|
|
26
|
-
"@akinon/pz-akifast": "1.
|
|
27
|
-
"@akinon/pz-b2b": "1.
|
|
28
|
-
"@akinon/pz-basket-gift-pack": "1.
|
|
29
|
-
"@akinon/pz-bkm": "1.
|
|
30
|
-
"@akinon/pz-checkout-gift-pack": "1.
|
|
31
|
-
"@akinon/pz-click-collect": "1.
|
|
32
|
-
"@akinon/pz-credit-payment": "1.
|
|
33
|
-
"@akinon/pz-gpay": "1.
|
|
34
|
-
"@akinon/pz-masterpass": "1.
|
|
35
|
-
"@akinon/pz-one-click-checkout": "1.
|
|
36
|
-
"@akinon/pz-otp": "1.
|
|
37
|
-
"@akinon/pz-pay-on-delivery": "1.
|
|
25
|
+
"@akinon/next": "1.43.0-rc.0",
|
|
26
|
+
"@akinon/pz-akifast": "1.43.0-rc.0",
|
|
27
|
+
"@akinon/pz-b2b": "1.43.0-rc.0",
|
|
28
|
+
"@akinon/pz-basket-gift-pack": "1.43.0-rc.0",
|
|
29
|
+
"@akinon/pz-bkm": "1.43.0-rc.0",
|
|
30
|
+
"@akinon/pz-checkout-gift-pack": "1.43.0-rc.0",
|
|
31
|
+
"@akinon/pz-click-collect": "1.43.0-rc.0",
|
|
32
|
+
"@akinon/pz-credit-payment": "1.43.0-rc.0",
|
|
33
|
+
"@akinon/pz-gpay": "1.43.0-rc.0",
|
|
34
|
+
"@akinon/pz-masterpass": "1.43.0-rc.0",
|
|
35
|
+
"@akinon/pz-one-click-checkout": "1.43.0-rc.0",
|
|
36
|
+
"@akinon/pz-otp": "1.43.0-rc.0",
|
|
37
|
+
"@akinon/pz-pay-on-delivery": "1.43.0-rc.0",
|
|
38
38
|
"@hookform/resolvers": "2.9.0",
|
|
39
39
|
"@next/third-parties": "14.1.0",
|
|
40
40
|
"@react-google-maps/api": "2.17.1",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"yup": "0.32.11"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@akinon/eslint-plugin-projectzero": "1.
|
|
61
|
+
"@akinon/eslint-plugin-projectzero": "1.43.0-rc.0",
|
|
62
62
|
"@semantic-release/changelog": "6.0.2",
|
|
63
63
|
"@semantic-release/exec": "6.0.3",
|
|
64
64
|
"@semantic-release/git": "10.0.1",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"my_cart": "My Cart",
|
|
3
3
|
"back_to_shopping": "BACK TO SHOPPING",
|
|
4
|
+
"selected_basket": "SELECTED BASKET",
|
|
5
|
+
"select_basket": "SELECT BASKET",
|
|
6
|
+
"total": "Total",
|
|
7
|
+
"remove_basket": "Remove Basket",
|
|
4
8
|
"empty": {
|
|
5
9
|
"title": "Your Shopping Cart is Empty!",
|
|
6
10
|
"content_first": "Your cart is currently empty",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"my_cart": "Sepetim",
|
|
3
3
|
"back_to_shopping": "ALIŞVERİŞE GERİ DÖN",
|
|
4
|
+
"selected_basket": "SEÇİLEN SEPET",
|
|
5
|
+
"select_basket": "SEPETİ SEÇİN",
|
|
6
|
+
"total": "Toplam",
|
|
7
|
+
"remove_basket": "Sepeti Kaldır",
|
|
4
8
|
"empty": {
|
|
5
9
|
"title": "Alışveriş Sepetiniz Boş!",
|
|
6
10
|
"content_first": "Sepetiniz şu anda boş",
|
|
@@ -7,10 +7,13 @@ import { pushCartView } from '@theme/utils/gtm';
|
|
|
7
7
|
import { Button, LoaderSpinner, Link } from '@theme/components';
|
|
8
8
|
import { BasketItem, Summary } from '@theme/views/basket';
|
|
9
9
|
import { useLocalization } from '@akinon/next/hooks';
|
|
10
|
+
import PluginModule, { Component } from '@akinon/next/components/plugin-module';
|
|
11
|
+
import settings from '@theme/settings';
|
|
10
12
|
|
|
11
13
|
export default function Page() {
|
|
12
14
|
const { data: basket, isLoading, isSuccess } = useGetBasketQuery();
|
|
13
15
|
const { t } = useLocalization();
|
|
16
|
+
const multiBasket = settings.plugins?.multiBasket ?? false;
|
|
14
17
|
|
|
15
18
|
useEffect(() => {
|
|
16
19
|
if (isSuccess) {
|
|
@@ -29,7 +32,7 @@ export default function Page() {
|
|
|
29
32
|
</div>
|
|
30
33
|
)}
|
|
31
34
|
{isSuccess &&
|
|
32
|
-
(basket
|
|
35
|
+
(basket ? (
|
|
33
36
|
<>
|
|
34
37
|
<div className="flex-1 xl:mr-16">
|
|
35
38
|
<div className="flex items-center justify-between py-2 border-b border-gray-200 lg:py-3">
|
|
@@ -44,9 +47,16 @@ export default function Page() {
|
|
|
44
47
|
</Link>
|
|
45
48
|
</div>
|
|
46
49
|
<ul>
|
|
47
|
-
{
|
|
48
|
-
<
|
|
49
|
-
|
|
50
|
+
{multiBasket ? (
|
|
51
|
+
<PluginModule
|
|
52
|
+
component={Component.MultiBasket}
|
|
53
|
+
props={{ BasketItem }}
|
|
54
|
+
/>
|
|
55
|
+
) : (
|
|
56
|
+
basket.basketitem_set.map((basketItem, index) => (
|
|
57
|
+
<BasketItem basketItem={basketItem} key={index} />
|
|
58
|
+
))
|
|
59
|
+
)}
|
|
50
60
|
</ul>
|
|
51
61
|
</div>
|
|
52
62
|
<Summary basket={basket} />
|
|
@@ -15,13 +15,15 @@ import PluginModule, { Component } from '@akinon/next/components/plugin-module';
|
|
|
15
15
|
import { Image } from '@akinon/next/components/image';
|
|
16
16
|
import clsx from 'clsx';
|
|
17
17
|
import { pushRemoveFromCart } from '@theme/utils/gtm';
|
|
18
|
+
|
|
18
19
|
interface Props {
|
|
19
|
-
basketItem
|
|
20
|
+
basketItem?: BasketItemType;
|
|
21
|
+
namespace?: string;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
export const BasketItem = (props: Props) => {
|
|
23
25
|
const { t } = useLocalization();
|
|
24
|
-
const { basketItem } = props;
|
|
26
|
+
const { basketItem, namespace } = props;
|
|
25
27
|
const [updateQuantityMutation] = useUpdateQuantityMutation();
|
|
26
28
|
const dispatch = useAppDispatch();
|
|
27
29
|
const [isRemoveBasketModalOpen, setRemoveBasketModalOpen] = useState(false);
|
|
@@ -37,11 +39,17 @@ export const BasketItem = (props: Props) => {
|
|
|
37
39
|
quantity: number,
|
|
38
40
|
attributes: object = {}
|
|
39
41
|
) => {
|
|
40
|
-
|
|
42
|
+
const requestParams: any = {
|
|
41
43
|
product: productPk,
|
|
42
44
|
quantity,
|
|
43
45
|
attributes
|
|
44
|
-
}
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
if (namespace) {
|
|
49
|
+
requestParams.namespace = namespace;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
await updateQuantityMutation(requestParams)
|
|
45
53
|
.unwrap()
|
|
46
54
|
.then((data) =>
|
|
47
55
|
dispatch(
|
package/commands/plugins.ts
CHANGED
package/dist/commands/plugins.js
CHANGED
|
@@ -119,6 +119,10 @@ exports.default = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
|
119
119
|
{
|
|
120
120
|
name: 'Credit Payment',
|
|
121
121
|
value: 'pz-credit-payment'
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
name: 'Multi Basket',
|
|
125
|
+
value: 'pz-multi-basket'
|
|
122
126
|
}
|
|
123
127
|
];
|
|
124
128
|
const prompt = new Prompt({
|