@websolutespa/bom-mixer-checkout 3.0.0 → 3.0.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.
- package/CHANGELOG.md +155 -139
- package/dist/index.d.ts +14 -14
- package/package.json +21 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,139 +1,155 @@
|
|
|
1
|
-
# @websolutespa/bom-mixer-checkout
|
|
2
|
-
|
|
3
|
-
## 3.0.
|
|
4
|
-
|
|
5
|
-
###
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
- @websolutespa/bom-mixer-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
- Updated dependencies
|
|
59
|
-
- @websolutespa/bom-mixer-auth@1.
|
|
60
|
-
- @websolutespa/bom-mixer-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
-
|
|
94
|
-
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
-
|
|
103
|
-
-
|
|
104
|
-
|
|
105
|
-
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
- @websolutespa/bom-mixer-
|
|
112
|
-
- @websolutespa/bom-mixer-
|
|
113
|
-
|
|
114
|
-
## 1.8.
|
|
115
|
-
|
|
116
|
-
### Patch Changes
|
|
117
|
-
|
|
118
|
-
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
-
|
|
125
|
-
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
1
|
+
# @websolutespa/bom-mixer-checkout
|
|
2
|
+
|
|
3
|
+
## 3.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updating: dependencies
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @websolutespa/bom-mixer-emails@3.0.1
|
|
10
|
+
- @websolutespa/bom-mixer-models@3.0.2
|
|
11
|
+
- @websolutespa/bom-mixer-forms@3.0.1
|
|
12
|
+
- @websolutespa/bom-mixer-hooks@3.0.1
|
|
13
|
+
- @websolutespa/bom-mixer-icons@3.0.1
|
|
14
|
+
- @websolutespa/bom-mixer-store@3.0.1
|
|
15
|
+
- @websolutespa/bom-mixer-auth@3.0.1
|
|
16
|
+
- @websolutespa/bom-mixer-ui@3.0.1
|
|
17
|
+
- @websolutespa/bom-core@3.0.1
|
|
18
|
+
|
|
19
|
+
## 3.0.0
|
|
20
|
+
|
|
21
|
+
### Major Changes
|
|
22
|
+
|
|
23
|
+
- Release: Bom 3.0
|
|
24
|
+
|
|
25
|
+
## 1.9.3
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Added: Tenant
|
|
30
|
+
- Updated dependencies
|
|
31
|
+
- @websolutespa/bom-mixer-ui@1.10.4
|
|
32
|
+
|
|
33
|
+
## 1.9.2
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- Added: checkoutUrl & shopUrl options
|
|
38
|
+
- Updated dependencies
|
|
39
|
+
- @websolutespa/bom-mixer-forms@1.9.3
|
|
40
|
+
- @websolutespa/bom-mixer-ui@1.10.1
|
|
41
|
+
|
|
42
|
+
## 1.9.1
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- Modified: Link component
|
|
47
|
+
- Updated dependencies
|
|
48
|
+
- @websolutespa/bom-mixer-ui@1.9.14
|
|
49
|
+
|
|
50
|
+
## 1.9.0
|
|
51
|
+
|
|
52
|
+
### Minor Changes
|
|
53
|
+
|
|
54
|
+
- Added: useFormSchema
|
|
55
|
+
|
|
56
|
+
### Patch Changes
|
|
57
|
+
|
|
58
|
+
- Updated dependencies
|
|
59
|
+
- @websolutespa/bom-mixer-auth@1.9.0
|
|
60
|
+
- @websolutespa/bom-mixer-forms@1.9.0
|
|
61
|
+
- @websolutespa/bom-mixer-ui@1.9.0
|
|
62
|
+
|
|
63
|
+
## 1.8.4
|
|
64
|
+
|
|
65
|
+
### Patch Changes
|
|
66
|
+
|
|
67
|
+
- b3a813d: Added: FieldCombobox, FieldRadio, getCurrentUser
|
|
68
|
+
- f9b14f6: a11y next
|
|
69
|
+
- f106e10: Modified: a11y next Drawer, Auth Handler
|
|
70
|
+
- 70da173: Modified: a11y next Tabs, ModalHeader, DrawerHeader, AccordionTitle
|
|
71
|
+
- Updated dependencies [b3a813d]
|
|
72
|
+
- Updated dependencies [f9b14f6]
|
|
73
|
+
- Updated dependencies [f106e10]
|
|
74
|
+
- Updated dependencies [70da173]
|
|
75
|
+
- @websolutespa/bom-mixer-auth@1.8.4
|
|
76
|
+
- @websolutespa/bom-mixer-ui@1.8.15
|
|
77
|
+
|
|
78
|
+
## 1.8.4-next.3
|
|
79
|
+
|
|
80
|
+
### Patch Changes
|
|
81
|
+
|
|
82
|
+
- Modified: a11y next
|
|
83
|
+
- Updated dependencies
|
|
84
|
+
- @websolutespa/bom-mixer-auth@1.8.4-next.3
|
|
85
|
+
- @websolutespa/bom-mixer-ui@1.8.15-next.3
|
|
86
|
+
|
|
87
|
+
## 1.8.4-next.2
|
|
88
|
+
|
|
89
|
+
### Patch Changes
|
|
90
|
+
|
|
91
|
+
- Modified: a11y next
|
|
92
|
+
- Updated dependencies
|
|
93
|
+
- @websolutespa/bom-mixer-auth@1.8.4-next.2
|
|
94
|
+
- @websolutespa/bom-mixer-ui@1.8.15-next.2
|
|
95
|
+
|
|
96
|
+
## 1.8.4-next.1
|
|
97
|
+
|
|
98
|
+
### Patch Changes
|
|
99
|
+
|
|
100
|
+
- Modified: a11y next Tabs, ModalHeader, DrawerHeader, AccordionTitle
|
|
101
|
+
- Updated dependencies
|
|
102
|
+
- @websolutespa/bom-mixer-auth@1.8.4-next.1
|
|
103
|
+
- @websolutespa/bom-mixer-ui@1.8.15-next.1
|
|
104
|
+
|
|
105
|
+
## 1.8.4-next.0
|
|
106
|
+
|
|
107
|
+
### Patch Changes
|
|
108
|
+
|
|
109
|
+
- a11y next
|
|
110
|
+
- Updated dependencies
|
|
111
|
+
- @websolutespa/bom-mixer-auth@1.8.4-next.0
|
|
112
|
+
- @websolutespa/bom-mixer-ui@1.8.15-next.0
|
|
113
|
+
|
|
114
|
+
## 1.8.3
|
|
115
|
+
|
|
116
|
+
### Patch Changes
|
|
117
|
+
|
|
118
|
+
- 3a7fc91: Modified: Drawer added name
|
|
119
|
+
- Updated dependencies [3a7fc91]
|
|
120
|
+
- Updated dependencies [3a7fc91]
|
|
121
|
+
- Updated dependencies [3a7fc91]
|
|
122
|
+
- Updated dependencies [3a7fc91]
|
|
123
|
+
- Updated dependencies [3a7fc91]
|
|
124
|
+
- Updated dependencies [3a7fc91]
|
|
125
|
+
- @websolutespa/bom-mixer-ui@1.8.11
|
|
126
|
+
- @websolutespa/bom-mixer-auth@1.8.3
|
|
127
|
+
- @websolutespa/bom-mixer-icons@0.2.5
|
|
128
|
+
- @websolutespa/bom-mixer-hooks@1.8.9
|
|
129
|
+
|
|
130
|
+
## 1.8.2
|
|
131
|
+
|
|
132
|
+
### Patch Changes
|
|
133
|
+
|
|
134
|
+
- Renaming: collection Store -> Retailer
|
|
135
|
+
|
|
136
|
+
## 1.8.1
|
|
137
|
+
|
|
138
|
+
### Patch Changes
|
|
139
|
+
|
|
140
|
+
- 15ad595: Modified: checkout remote api
|
|
141
|
+
- 15ad595: Updating: test mock auth
|
|
142
|
+
|
|
143
|
+
## 1.8.0
|
|
144
|
+
|
|
145
|
+
### Patch Changes
|
|
146
|
+
|
|
147
|
+
- f8a1d97: Added: first release
|
|
148
|
+
- Updated dependencies [f8a1d97]
|
|
149
|
+
- Updated dependencies [f8a1d97]
|
|
150
|
+
- @websolutespa/bom-mixer-models@1.8.0
|
|
151
|
+
- @websolutespa/bom-mixer-ui@1.8.0
|
|
152
|
+
- @websolutespa/bom-core@1.8.0
|
|
153
|
+
- @websolutespa/bom-mixer-auth@1.8.0
|
|
154
|
+
- @websolutespa/bom-mixer-hooks@1.8.0
|
|
155
|
+
- @websolutespa/bom-mixer-forms@1.8.0
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IArticle, ICartAddItem, ICartItem, ICheckout, ICheckoutDelivery, ICheckoutDiscount, ICheckoutInfo, ICheckoutItem, ICheckoutPartial, ICheckoutPayment, ICheckoutPaymentRedirect, ICheckoutRetailer, IDelivery, IDiscount, IDiscountType, IOrder, IOrderDetail, IOrderStatus, IOrderStatusValue, IPayment, IRetailer, ITenant } from "./retailer-DdroKqxH.js";
|
|
2
2
|
import { DrawerProps, UIStyledComponentProps } from "@websolutespa/bom-mixer-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react0 from "react";
|
|
4
4
|
import * as zustand0 from "zustand";
|
|
5
|
-
import * as
|
|
5
|
+
import * as zustand_middleware0 from "zustand/middleware";
|
|
6
6
|
import { StateStorage } from "zustand/middleware";
|
|
7
7
|
import { IUser, IUserAddress } from "@websolutespa/bom-mixer-auth";
|
|
8
8
|
import { IAddressOptions } from "@websolutespa/bom-mixer-models";
|
|
@@ -176,15 +176,15 @@ type CartActions = {
|
|
|
176
176
|
type CartState = CartProps & {
|
|
177
177
|
actions: CartActions;
|
|
178
178
|
};
|
|
179
|
-
declare const CartContext:
|
|
179
|
+
declare const CartContext: react0.Context<(Omit<zustand0.StoreApi<CartState>, "persist"> & {
|
|
180
180
|
persist: {
|
|
181
|
-
setOptions: (options: Partial<
|
|
181
|
+
setOptions: (options: Partial<zustand_middleware0.PersistOptions<CartState, unknown>>) => void;
|
|
182
182
|
clearStorage: () => void;
|
|
183
183
|
rehydrate: () => Promise<void> | void;
|
|
184
184
|
hasHydrated: () => boolean;
|
|
185
185
|
onHydrate: (fn: (state: CartState) => void) => () => void;
|
|
186
186
|
onFinishHydration: (fn: (state: CartState) => void) => () => void;
|
|
187
|
-
getOptions: () => Partial<
|
|
187
|
+
getOptions: () => Partial<zustand_middleware0.PersistOptions<CartState, unknown>>;
|
|
188
188
|
};
|
|
189
189
|
}) | null>;
|
|
190
190
|
type CartProviderProps = React.PropsWithChildren<{
|
|
@@ -197,7 +197,7 @@ type CartProviderProps = React.PropsWithChildren<{
|
|
|
197
197
|
declare function CartProvider({
|
|
198
198
|
children,
|
|
199
199
|
...props
|
|
200
|
-
}: CartProviderProps):
|
|
200
|
+
}: CartProviderProps): react0.JSX.Element;
|
|
201
201
|
declare function useCart<T>(selector: (state: CartState) => T): T;
|
|
202
202
|
//#endregion
|
|
203
203
|
//#region src/hooks/useCheckout/useCheckout.d.ts
|
|
@@ -214,15 +214,15 @@ type CheckoutActions = {
|
|
|
214
214
|
type CheckoutState = CheckoutProps & {
|
|
215
215
|
actions: CheckoutActions;
|
|
216
216
|
};
|
|
217
|
-
declare const CheckoutContext:
|
|
217
|
+
declare const CheckoutContext: react0.Context<(Omit<zustand0.StoreApi<CheckoutState>, "persist"> & {
|
|
218
218
|
persist: {
|
|
219
|
-
setOptions: (options: Partial<
|
|
219
|
+
setOptions: (options: Partial<zustand_middleware0.PersistOptions<CheckoutState, unknown>>) => void;
|
|
220
220
|
clearStorage: () => void;
|
|
221
221
|
rehydrate: () => Promise<void> | void;
|
|
222
222
|
hasHydrated: () => boolean;
|
|
223
223
|
onHydrate: (fn: (state: CheckoutState) => void) => () => void;
|
|
224
224
|
onFinishHydration: (fn: (state: CheckoutState) => void) => () => void;
|
|
225
|
-
getOptions: () => Partial<
|
|
225
|
+
getOptions: () => Partial<zustand_middleware0.PersistOptions<CheckoutState, unknown>>;
|
|
226
226
|
};
|
|
227
227
|
}) | null>;
|
|
228
228
|
type CheckoutProviderProps = React.PropsWithChildren<{
|
|
@@ -234,7 +234,7 @@ type CheckoutProviderProps = React.PropsWithChildren<{
|
|
|
234
234
|
declare function CheckoutProvider({
|
|
235
235
|
children,
|
|
236
236
|
...props
|
|
237
|
-
}: CheckoutProviderProps):
|
|
237
|
+
}: CheckoutProviderProps): react0.JSX.Element;
|
|
238
238
|
declare function useCheckout<T>(selector: (state: CheckoutState) => T): T;
|
|
239
239
|
//#endregion
|
|
240
240
|
//#region src/hooks/useTenant/useTenant.d.ts
|
|
@@ -249,15 +249,15 @@ type TenantActions = {
|
|
|
249
249
|
type TenantState = TenantProps & {
|
|
250
250
|
actions: TenantActions;
|
|
251
251
|
};
|
|
252
|
-
declare const TenantContext:
|
|
252
|
+
declare const TenantContext: react0.Context<(Omit<zustand0.StoreApi<TenantState>, "persist"> & {
|
|
253
253
|
persist: {
|
|
254
|
-
setOptions: (options: Partial<
|
|
254
|
+
setOptions: (options: Partial<zustand_middleware0.PersistOptions<TenantState, unknown>>) => void;
|
|
255
255
|
clearStorage: () => void;
|
|
256
256
|
rehydrate: () => Promise<void> | void;
|
|
257
257
|
hasHydrated: () => boolean;
|
|
258
258
|
onHydrate: (fn: (state: TenantState) => void) => () => void;
|
|
259
259
|
onFinishHydration: (fn: (state: TenantState) => void) => () => void;
|
|
260
|
-
getOptions: () => Partial<
|
|
260
|
+
getOptions: () => Partial<zustand_middleware0.PersistOptions<TenantState, unknown>>;
|
|
261
261
|
};
|
|
262
262
|
}) | null>;
|
|
263
263
|
type TenantProviderProps = React.PropsWithChildren<{
|
|
@@ -268,7 +268,7 @@ type TenantProviderProps = React.PropsWithChildren<{
|
|
|
268
268
|
declare function TenantProvider({
|
|
269
269
|
children,
|
|
270
270
|
...props
|
|
271
|
-
}: TenantProviderProps):
|
|
271
|
+
}: TenantProviderProps): react0.JSX.Element;
|
|
272
272
|
declare function useTenant<T>(selector: (state: TenantState) => T): T;
|
|
273
273
|
//#endregion
|
|
274
274
|
//#region src/order/order-address.d.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@websolutespa/bom-mixer-checkout",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Mixer Checkout module of the BOM Repository",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bom",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@websolutespa/bom-core": "
|
|
29
|
-
"@websolutespa/bom-mixer-auth": "
|
|
30
|
-
"@websolutespa/bom-mixer-emails": "
|
|
31
|
-
"@websolutespa/bom-mixer-forms": "
|
|
32
|
-
"@websolutespa/bom-mixer-hooks": "
|
|
33
|
-
"@websolutespa/bom-mixer-icons": "
|
|
34
|
-
"@websolutespa/bom-mixer-models": "
|
|
35
|
-
"@websolutespa/bom-mixer-store": "
|
|
36
|
-
"@websolutespa/bom-mixer-ui": "
|
|
28
|
+
"@websolutespa/bom-core": "^3.0.1",
|
|
29
|
+
"@websolutespa/bom-mixer-auth": "^3.0.1",
|
|
30
|
+
"@websolutespa/bom-mixer-emails": "^3.0.1",
|
|
31
|
+
"@websolutespa/bom-mixer-forms": "^3.0.1",
|
|
32
|
+
"@websolutespa/bom-mixer-hooks": "^3.0.1",
|
|
33
|
+
"@websolutespa/bom-mixer-icons": "^3.0.1",
|
|
34
|
+
"@websolutespa/bom-mixer-models": "^3.0.2",
|
|
35
|
+
"@websolutespa/bom-mixer-store": "^3.0.1",
|
|
36
|
+
"@websolutespa/bom-mixer-ui": "^3.0.1",
|
|
37
37
|
"next": "16.1.6",
|
|
38
38
|
"react-dom": "19.2.3",
|
|
39
39
|
"react": "19.2.3",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"@types/react-dom": "19.2.3",
|
|
45
45
|
"@types/react": "19.2.10",
|
|
46
46
|
"@types/styled-components": "5.1.34",
|
|
47
|
-
"@websolutespa/bom-cli": "
|
|
48
|
-
"@websolutespa/
|
|
49
|
-
"@websolutespa/
|
|
50
|
-
"@websolutespa/
|
|
47
|
+
"@websolutespa/bom-cli": "^3.0.1",
|
|
48
|
+
"@websolutespa/eslint-config": "^3.0.0",
|
|
49
|
+
"@websolutespa/test": "^3.0.1",
|
|
50
|
+
"@websolutespa/tsconfig": "^3.0.0",
|
|
51
51
|
"eslint": "9.31.0",
|
|
52
52
|
"npm-run-all": "4.1.5",
|
|
53
53
|
"raw-loader": "4.0.2",
|
|
@@ -58,7 +58,12 @@
|
|
|
58
58
|
"vitest": "3.2.3"
|
|
59
59
|
},
|
|
60
60
|
"publishConfig": {
|
|
61
|
-
"access": "public"
|
|
61
|
+
"access": "public",
|
|
62
|
+
"exports": {
|
|
63
|
+
".": "./dist/index.js",
|
|
64
|
+
"./exports\\server": "./dist/exports\\server.js",
|
|
65
|
+
"./package.json": "./package.json"
|
|
66
|
+
}
|
|
62
67
|
},
|
|
63
68
|
"sideEffects": false,
|
|
64
69
|
"type": "module",
|
|
@@ -95,6 +100,7 @@
|
|
|
95
100
|
}
|
|
96
101
|
}
|
|
97
102
|
},
|
|
103
|
+
"module": "./dist/index.js",
|
|
98
104
|
"types": "./dist/index.d.ts",
|
|
99
105
|
"main": "./dist/index.js",
|
|
100
106
|
"source": "./src/index.ts",
|