@dropins/storefront-checkout 2.0.0-beta1 → 2.0.0-beta2
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/api/fragments.d.ts
CHANGED
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
* is strictly forbidden unless prior written permission is obtained
|
|
15
15
|
* from Adobe.
|
|
16
16
|
*******************************************************************/
|
|
17
|
+
export { BILLING_CART_ADDRESS_FRAGMENT, SHIPPING_CART_ADDRESS_FRAGMENT, } from './graphql/CartAddressFragment.graphql';
|
|
18
|
+
export { AVAILABLE_PAYMENT_METHOD_FRAGMENT, SELECTED_PAYMENT_METHOD_FRAGMENT, } from './graphql/CartPaymentMethodFragment.graphql';
|
|
17
19
|
export { CHECKOUT_DATA_FRAGMENT } from './graphql/CheckoutDataFragment.graphql';
|
|
18
20
|
export { CUSTOMER_FRAGMENT } from './graphql/CustomerFragment.graphql';
|
|
19
21
|
//# sourceMappingURL=fragments.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
* __________________
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2025 Adobe
|
|
6
|
+
* All Rights Reserved.
|
|
7
|
+
*
|
|
8
|
+
* NOTICE: All information contained herein is, and remains
|
|
9
|
+
* the property of Adobe and its suppliers, if any. The intellectual
|
|
10
|
+
* and technical concepts contained herein are proprietary to Adobe
|
|
11
|
+
* and its suppliers and are protected by all applicable intellectual
|
|
12
|
+
* property laws, including trade secret and copyright laws.
|
|
13
|
+
* Dissemination of this information or reproduction of this material
|
|
14
|
+
* is strictly forbidden unless prior written permission is obtained
|
|
15
|
+
* from Adobe.
|
|
16
|
+
*******************************************************************/
|
|
17
|
+
export declare const AVAILABLE_PAYMENT_METHOD_FRAGMENT = "\n fragment AVAILABLE_PAYMENT_METHOD_FRAGMENT on AvailablePaymentMethod {\n code\n title\n }\n";
|
|
18
|
+
export declare const SELECTED_PAYMENT_METHOD_FRAGMENT = "\n fragment SELECTED_PAYMENT_METHOD_FRAGMENT on SelectedPaymentMethod {\n code\n title\n }\n";
|
|
19
|
+
//# sourceMappingURL=CartPaymentMethodFragment.graphql.d.ts.map
|
package/chunks/values.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Copyright 2025 Adobe
|
|
2
2
|
All Rights Reserved. */
|
|
3
|
-
import{events as
|
|
3
|
+
import{events as l}from"@dropins/tools/event-bus.js";const a={email:"",isBillToShipping:!0,selectedPaymentMethod:null,selectedShippingMethod:null};function s(e){const n={...l.lastPayload("checkout/values")??a,...e};l.emit("checkout/values",n)}function u(e){const t=l.lastPayload("checkout/values");return t&&e in t?t[e]:null}export{u as g,s as n};
|
package/data/models/values.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PaymentMethod, ShippingMethod } from '.';
|
|
2
2
|
|
|
3
3
|
export interface ValuesModel {
|
|
4
|
-
billingAddress: Address | null;
|
|
5
4
|
email: string;
|
|
6
5
|
isBillToShipping: boolean;
|
|
7
6
|
selectedPaymentMethod: PaymentMethod | null;
|
|
8
7
|
selectedShippingMethod: ShippingMethod | null;
|
|
9
|
-
shippingAddress: Address | null;
|
|
10
8
|
}
|
|
11
9
|
//# sourceMappingURL=values.d.ts.map
|
package/fragments.js
CHANGED
|
@@ -101,7 +101,17 @@ const e=`
|
|
|
101
101
|
middlename
|
|
102
102
|
fax
|
|
103
103
|
}
|
|
104
|
+
`,_=`
|
|
105
|
+
fragment AVAILABLE_PAYMENT_METHOD_FRAGMENT on AvailablePaymentMethod {
|
|
106
|
+
code
|
|
107
|
+
title
|
|
108
|
+
}
|
|
104
109
|
`,a=`
|
|
110
|
+
fragment SELECTED_PAYMENT_METHOD_FRAGMENT on SelectedPaymentMethod {
|
|
111
|
+
code
|
|
112
|
+
title
|
|
113
|
+
}
|
|
114
|
+
`,i=`
|
|
105
115
|
fragment CHECKOUT_DATA_FRAGMENT on Cart {
|
|
106
116
|
id
|
|
107
117
|
is_virtual
|
|
@@ -114,21 +124,21 @@ const e=`
|
|
|
114
124
|
...SHIPPING_CART_ADDRESS_FRAGMENT
|
|
115
125
|
}
|
|
116
126
|
available_payment_methods {
|
|
117
|
-
|
|
118
|
-
title
|
|
127
|
+
...AVAILABLE_PAYMENT_METHOD_FRAGMENT
|
|
119
128
|
}
|
|
120
129
|
selected_payment_method {
|
|
121
|
-
|
|
122
|
-
title
|
|
130
|
+
...SELECTED_PAYMENT_METHOD_FRAGMENT
|
|
123
131
|
}
|
|
124
132
|
}
|
|
125
133
|
|
|
126
134
|
${e}
|
|
127
135
|
${t}
|
|
128
|
-
|
|
136
|
+
${_}
|
|
137
|
+
${a}
|
|
138
|
+
`,r=`
|
|
129
139
|
fragment CUSTOMER_FRAGMENT on Customer {
|
|
130
140
|
firstname
|
|
131
141
|
lastname
|
|
132
142
|
email
|
|
133
143
|
}
|
|
134
|
-
`;export{
|
|
144
|
+
`;export{_ as AVAILABLE_PAYMENT_METHOD_FRAGMENT,e as BILLING_CART_ADDRESS_FRAGMENT,i as CHECKOUT_DATA_FRAGMENT,r as CUSTOMER_FRAGMENT,a as SELECTED_PAYMENT_METHOD_FRAGMENT,t as SHIPPING_CART_ADDRESS_FRAGMENT};
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@dropins/storefront-checkout", "version": "2.0.0-
|
|
1
|
+
{"name": "@dropins/storefront-checkout", "version": "2.0.0-beta2", "@dropins/tools": "~1.2.1", "license": "SEE LICENSE IN LICENSE.md"}
|