@dropins/storefront-checkout 0.1.0-alpha5 → 0.1.0-alpha50
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/errors/errors.d.ts +30 -0
- package/api/errors/index.d.ts +18 -0
- package/api/estimateShippingMethods/estimateShippingMethods.d.ts +13 -0
- package/api/estimateShippingMethods/fixtures.d.ts +8 -0
- package/api/estimateShippingMethods/graphql/estimateShippingMethods.graphql.d.ts +18 -0
- package/api/estimateShippingMethods/graphql/index.d.ts +18 -0
- package/api/estimateShippingMethods/index.d.ts +18 -0
- package/api/fetch-graphql/fetch-graphql.d.ts +25 -0
- package/api/fetch-graphql/index.d.ts +18 -0
- package/api/getCart/fixtures.d.ts +12 -0
- package/api/getCart/getCart.d.ts +18 -0
- package/api/getCart/graphql/getCart.graphql.d.ts +20 -0
- package/api/getCart/graphql/index.d.ts +18 -0
- package/api/getCart/index.d.ts +18 -0
- package/api/getCheckoutData/getCheckoutData.d.ts +18 -0
- package/api/getCheckoutData/index.d.ts +18 -0
- package/api/getCustomer/fixtures.d.ts +5 -0
- package/api/getCustomer/getCustomer.d.ts +4 -0
- package/api/getCustomer/graphql/getCustomer.graphql.d.ts +18 -0
- package/api/getCustomer/graphql/index.d.ts +18 -0
- package/api/getCustomer/index.d.ts +18 -0
- package/api/getStoreConfig/getStoreConfig.d.ts +6 -0
- package/api/getStoreConfig/graphql/getStoreConfig.graphql.d.ts +18 -0
- package/api/getStoreConfig/index.d.ts +18 -0
- package/api/index.d.ts +36 -0
- package/api/initialize/index.d.ts +18 -0
- package/api/initialize/initialize.d.ts +15 -0
- package/api/initialize/listeners.d.ts +20 -0
- package/api/initializeCheckout/index.d.ts +18 -0
- package/api/initializeCheckout/initializeCheckout.d.ts +4 -0
- package/api/isEmailAvailable/graphql/isEmailAvailable.graphql.d.ts +18 -0
- package/api/isEmailAvailable/index.d.ts +18 -0
- package/api/isEmailAvailable/isEmailAvailable.d.ts +4 -0
- package/api/placeOrder/fixtures.d.ts +6 -0
- package/api/placeOrder/graphql/index.d.ts +18 -0
- package/api/placeOrder/graphql/placeOrder.graphql.d.ts +18 -0
- package/api/placeOrder/index.d.ts +18 -0
- package/api/placeOrder/placeOrder.d.ts +18 -0
- package/api/redirect/index.d.ts +18 -0
- package/api/redirect/redirect.d.ts +18 -0
- package/api/resetCheckout/index.d.ts +18 -0
- package/api/resetCheckout/resetCheckout.d.ts +18 -0
- package/api/resetCustomer/index.d.ts +18 -0
- package/api/resetCustomer/resetCustomer.d.ts +18 -0
- package/api/setBillingAddress/graphql/setBillingAddress.graphql.d.ts +18 -0
- package/api/setBillingAddress/index.d.ts +18 -0
- package/api/setBillingAddress/setBillingAddress.d.ts +4 -0
- package/api/setGuestEmailOnCart/graphql/setGuestEmailOnCart.graphql.d.ts +18 -0
- package/api/setGuestEmailOnCart/index.d.ts +18 -0
- package/api/setGuestEmailOnCart/setGuestEmailOnCart.d.ts +18 -0
- package/api/setPaymentMethod/graphql/setPaymentMethod.graphql.d.ts +18 -0
- package/api/setPaymentMethod/index.d.ts +18 -0
- package/api/setPaymentMethod/setPaymentMethod.d.ts +18 -0
- package/api/setShippingAddress/graphql/setShippingAddress.graphql.d.ts +18 -0
- package/api/setShippingAddress/index.d.ts +18 -0
- package/api/setShippingAddress/setShippingAddress.d.ts +4 -0
- package/api/setShippingMethods/graphql/setShippingMethodsOnCart.graphql.d.ts +18 -0
- package/api/setShippingMethods/index.d.ts +18 -0
- package/api/setShippingMethods/setShippingMethods.d.ts +18 -0
- package/api/utils/dispatchApiCall.d.ts +38 -0
- package/api/utils/enqueueRequest.d.ts +18 -0
- package/api/utils/filterControlledErrors.d.ts +18 -0
- package/api.d.ts +1 -0
- package/api.js +37 -2
- package/chunks/Heading.js +1 -0
- package/chunks/OrderError.js +1 -0
- package/chunks/classes.js +1 -0
- package/chunks/fetch-graphql.js +10 -0
- package/chunks/getCart.graphql.js +122 -0
- package/chunks/getCustomer.js +34 -0
- package/chunks/placeOrder2.js +131 -0
- package/chunks/resetCustomer.js +1 -0
- package/chunks/setBillingAddress.js +11 -0
- package/chunks/setGuestEmailOnCart.js +17 -0
- package/chunks/setPaymentMethod.js +13 -0
- package/chunks/setShippingMethods.js +16 -0
- package/chunks/store-config.js +1 -0
- package/chunks/withConditionalRendering.js +1 -0
- package/components/BillToShippingAddress/BillToShippingAddress.d.ts +8 -0
- package/components/BillToShippingAddress/BillToShippingAddressSkeleton.d.ts +4 -0
- package/components/BillToShippingAddress/index.d.ts +20 -0
- package/components/EstimateShipping/EstimateShipping.d.ts +12 -0
- package/components/EstimateShipping/EstimateShippingSkeleton.d.ts +4 -0
- package/components/EstimateShipping/index.d.ts +20 -0
- package/components/Heading/Heading.d.ts +8 -0
- package/components/Heading/index.d.ts +19 -0
- package/components/LoginForm/Email.d.ts +13 -0
- package/components/LoginForm/LoginForm.d.ts +20 -0
- package/components/LoginForm/LoginFormSkeleton.d.ts +4 -0
- package/components/LoginForm/SignIn.d.ts +8 -0
- package/components/LoginForm/SignOut.d.ts +8 -0
- package/components/LoginForm/index.d.ts +22 -0
- package/components/OutOfStock/OutOfStock.d.ts +11 -0
- package/components/OutOfStock/index.d.ts +19 -0
- package/components/OverlayLoader/OverlayLoader.d.ts +6 -0
- package/components/OverlayLoader/index.d.ts +18 -0
- package/components/PaymentMethods/PaymentMethods.d.ts +14 -0
- package/components/PaymentMethods/PaymentMethodsSkeleton.d.ts +4 -0
- package/components/PaymentMethods/index.d.ts +20 -0
- package/components/PlaceOrder/PlaceOrder.d.ts +9 -0
- package/components/PlaceOrder/PlaceOrderSkeleton.d.ts +4 -0
- package/components/PlaceOrder/index.d.ts +19 -0
- package/components/ServerError/ServerError.d.ts +10 -0
- package/components/ServerError/index.d.ts +19 -0
- package/components/ShippingMethods/ShippingMethods.d.ts +12 -0
- package/components/ShippingMethods/ShippingMethodsSkeleton.d.ts +4 -0
- package/components/ShippingMethods/index.d.ts +20 -0
- package/components/index.d.ts +27 -0
- package/containers/BillToShippingAddress/BillToShippingAddress.d.ts +24 -0
- package/containers/BillToShippingAddress/index.d.ts +19 -0
- package/containers/BillToShippingAddress.d.ts +3 -0
- package/containers/BillToShippingAddress.js +1 -1
- package/containers/ErrorBanner/ErrorBanner.d.ts +5 -0
- package/containers/ErrorBanner/index.d.ts +19 -0
- package/containers/ErrorBanner.d.ts +3 -0
- package/containers/ErrorBanner.js +1 -0
- package/containers/EstimateShipping/EstimateShipping.d.ts +4 -0
- package/containers/EstimateShipping/index.d.ts +19 -0
- package/containers/EstimateShipping.d.ts +3 -0
- package/containers/EstimateShipping.js +1 -0
- package/containers/LoginForm/LoginForm.d.ts +11 -0
- package/containers/LoginForm/index.d.ts +19 -0
- package/containers/LoginForm.d.ts +3 -0
- package/containers/LoginForm.js +1 -1
- package/containers/MergedCartBanner/MergedCartBanner.d.ts +5 -0
- package/containers/MergedCartBanner/index.d.ts +19 -0
- package/containers/MergedCartBanner.d.ts +3 -0
- package/containers/MergedCartBanner.js +1 -0
- package/containers/OutOfStock/OutOfStock.d.ts +13 -0
- package/containers/OutOfStock/index.d.ts +19 -0
- package/containers/OutOfStock.d.ts +3 -0
- package/containers/OutOfStock.js +1 -0
- package/containers/PaymentMethods/PaymentMethods.d.ts +24 -0
- package/containers/PaymentMethods/defaultHandlers.d.ts +4 -0
- package/containers/PaymentMethods/index.d.ts +19 -0
- package/containers/PaymentMethods.d.ts +3 -0
- package/containers/PaymentMethods.js +1 -1
- package/containers/PlaceOrder/PlaceOrder.d.ts +14 -0
- package/containers/PlaceOrder/index.d.ts +19 -0
- package/containers/PlaceOrder.d.ts +3 -0
- package/containers/PlaceOrder.js +1 -1
- package/containers/ServerError/ServerError.d.ts +8 -0
- package/containers/ServerError/index.d.ts +19 -0
- package/containers/ServerError.d.ts +3 -0
- package/containers/ServerError.js +1 -0
- package/containers/ShippingMethods/ShippingMethods.d.ts +18 -0
- package/containers/ShippingMethods/hooks/useShippingEstimateEventEmitter.d.ts +19 -0
- package/containers/ShippingMethods/index.d.ts +19 -0
- package/containers/ShippingMethods.d.ts +3 -0
- package/containers/ShippingMethods.js +1 -1
- package/containers/index.d.ts +27 -0
- package/data/models/acdl.d.ts +115 -0
- package/data/models/address.d.ts +17 -0
- package/data/models/api.d.ts +29 -0
- package/data/models/cart.d.ts +18 -0
- package/data/models/country.d.ts +21 -0
- package/data/models/custom-attribute.d.ts +21 -0
- package/data/models/customer.d.ts +14 -0
- package/data/models/email-availability.d.ts +18 -0
- package/data/models/index.d.ts +32 -0
- package/data/models/order.d.ts +81 -0
- package/data/models/payment-method.d.ts +21 -0
- package/data/models/price.d.ts +21 -0
- package/data/models/region.d.ts +22 -0
- package/data/models/shipping-estimate.d.ts +17 -0
- package/data/models/shipping-method.d.ts +19 -0
- package/data/models/store-config.d.ts +30 -0
- package/data/transforms/index.d.ts +26 -0
- package/data/transforms/transform-acdl.d.ts +6 -0
- package/data/transforms/transform-address.d.ts +91 -0
- package/data/transforms/transform-cart.d.ts +7 -0
- package/data/transforms/transform-customer.d.ts +14 -0
- package/data/transforms/transform-email-availability.d.ts +6 -0
- package/data/transforms/transform-order.d.ts +7 -0
- package/data/transforms/transform-payment-methods.d.ts +9 -0
- package/data/transforms/transform-shipping-estimate.d.ts +5 -0
- package/data/transforms/transform-shipping-methods.d.ts +14 -0
- package/data/transforms/transform-store-config.d.ts +6 -0
- package/hocs/index.d.ts +18 -0
- package/hocs/withConditionalRendering.d.ts +13 -0
- package/hooks/index.d.ts +20 -0
- package/hooks/useBreakpoint/index.d.ts +18 -0
- package/hooks/useBreakpoint/useBreakpoint.d.ts +18 -0
- package/hooks/useLockScroll/index.d.ts +18 -0
- package/hooks/useLockScroll/useLockScroll.d.ts +21 -0
- package/hooks/useStableList/index.d.ts +2 -0
- package/hooks/useStableList/useStableList.d.ts +2 -0
- package/i18n/en_US.json.d.ts +79 -0
- package/lib/acdl.d.ts +18 -0
- package/lib/backup-data.d.ts +20 -0
- package/lib/fetch-error.d.ts +23 -0
- package/lib/index.d.ts +20 -0
- package/lib/network-error.d.ts +22 -0
- package/lib/redirect.d.ts +18 -0
- package/lib/state.d.ts +23 -0
- package/lib/validation.d.ts +5 -0
- package/msw/browser.d.ts +18 -0
- package/msw/fixtures/fragments/available-shipping-methods.d.ts +23 -0
- package/msw/fixtures/fragments/billing-address.d.ts +52 -0
- package/msw/fixtures/fragments/cart.d.ts +141 -0
- package/msw/fixtures/fragments/index.d.ts +21 -0
- package/msw/fixtures/fragments/shipping-address.d.ts +58 -0
- package/msw/fixtures/index.d.ts +20 -0
- package/msw/fixtures/mutations/estimate-shipping-methods.d.ts +4 -0
- package/msw/fixtures/mutations/index.d.ts +24 -0
- package/msw/fixtures/mutations/place-order.d.ts +4 -0
- package/msw/fixtures/mutations/set-billing-address.d.ts +5 -0
- package/msw/fixtures/mutations/set-guest-email.d.ts +4 -0
- package/msw/fixtures/mutations/set-payment-method.d.ts +4 -0
- package/msw/fixtures/mutations/set-shipping-address.d.ts +4 -0
- package/msw/fixtures/mutations/set-shipping-methods.d.ts +4 -0
- package/msw/fixtures/queries/get-cart.d.ts +4 -0
- package/msw/fixtures/queries/get-customer-cart-stock-status.d.ts +4 -0
- package/msw/fixtures/queries/get-customer.d.ts +5 -0
- package/msw/fixtures/queries/get-stock-status.d.ts +4 -0
- package/msw/fixtures/queries/get-store-config.d.ts +4 -0
- package/msw/fixtures/queries/index.d.ts +23 -0
- package/msw/fixtures/queries/is-email-available.d.ts +4 -0
- package/msw/handlers.d.ts +4 -0
- package/msw/server.d.ts +18 -0
- package/package.json +1 -1
- package/render/Provider.d.ts +8 -0
- package/render/index.d.ts +18 -0
- package/render/render.d.ts +6 -0
- package/render.d.ts +1 -0
- package/render.js +4 -1
- package/signals/CartSignal.d.ts +7 -0
- package/signals/CustomerSignal.d.ts +7 -0
- package/signals/EstimateShippingMethodsSignal.d.ts +7 -0
- package/signals/IsBillToShippingSignal.d.ts +18 -0
- package/signals/SelectedShippingMethodSignal.d.ts +4 -0
- package/signals/ServerErrorSignal.d.ts +18 -0
- package/signals/StoreConfigSignal.d.ts +7 -0
- package/signals/index.d.ts +24 -0
- package/tests/constants.d.ts +19 -0
- package/tests/integration/utils/index.d.ts +19 -0
- package/tests/integration/utils/setup.d.ts +8 -0
- package/tests/integration/utils/user-actions.d.ts +18 -0
- package/tests/mocks/svg.d.ts +20 -0
- package/tests/utils/expectError.d.ts +25 -0
- package/tests/utils/index.d.ts +19 -0
- package/tests/utils/mockEvents.d.ts +21 -0
- package/utils/getDisplayName/getDisplayName.d.ts +4 -0
- package/utils/getDisplayName/index.d.ts +18 -0
- package/utils/index.d.ts +21 -0
- package/utils/isEmpty/index.d.ts +18 -0
- package/utils/isEmpty/isEmpty.d.ts +18 -0
- package/utils/isNullish/index.d.ts +18 -0
- package/utils/isNullish/isNullish.d.ts +18 -0
- package/utils/isUnexpectedError/index.d.ts +18 -0
- package/utils/isUnexpectedError/isUnexpectedError.d.ts +18 -0
- package/utils/refetchEstimatedShippingMethods/index.d.ts +18 -0
- package/utils/refetchEstimatedShippingMethods/refetchEstimatedShippingMethods.d.ts +5 -0
- package/utils/shippingMethods/index.d.ts +18 -0
- package/utils/shippingMethods/isEqual.d.ts +4 -0
- package/212.js +0 -2
- package/212.js.LICENSE.txt +0 -1
- package/261.js +0 -2
- package/261.js.LICENSE.txt +0 -1
- package/325.js +0 -2
- package/325.js.LICENSE.txt +0 -1
- package/350.js +0 -2
- package/350.js.LICENSE.txt +0 -1
- package/41.js +0 -2
- package/41.js.LICENSE.txt +0 -1
- package/486.js +0 -2
- package/486.js.LICENSE.txt +0 -1
- package/494.js +0 -2
- package/494.js.LICENSE.txt +0 -1
- package/516.js +0 -1
- package/548.js +0 -1
- package/549.js +0 -2
- package/549.js.LICENSE.txt +0 -1
- package/565.js +0 -2
- package/565.js.LICENSE.txt +0 -1
- package/655.js +0 -1
- package/693.js +0 -1
- package/757.js +0 -1
- package/805.js +0 -2
- package/805.js.LICENSE.txt +0 -1
- package/942.js +0 -1
- package/api.js.LICENSE.txt +0 -1
- package/containers/AddressForm.js +0 -1
- package/containers/BillingForm.js +0 -1
- package/containers/Checkout.js +0 -2
- package/containers/Checkout.js.LICENSE.txt +0 -1
- package/containers/OrderSummary.js +0 -1
- package/containers/ShippingForm.js +0 -1
- package/runtime.js +0 -1
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
* __________________
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2024 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 cartFixture: {
|
|
18
|
+
__typename?: "Cart" | undefined;
|
|
19
|
+
id: string;
|
|
20
|
+
is_virtual: boolean;
|
|
21
|
+
email?: string | null | undefined;
|
|
22
|
+
total_quantity: number;
|
|
23
|
+
billing_address?: {
|
|
24
|
+
__typename?: "BillingCartAddress" | undefined;
|
|
25
|
+
id?: number | null | undefined;
|
|
26
|
+
city: string;
|
|
27
|
+
firstname: string;
|
|
28
|
+
lastname: string;
|
|
29
|
+
company?: string | null | undefined;
|
|
30
|
+
postcode?: string | null | undefined;
|
|
31
|
+
vat_id?: string | null | undefined;
|
|
32
|
+
street: (string | null)[];
|
|
33
|
+
telephone?: string | null | undefined;
|
|
34
|
+
country: {
|
|
35
|
+
__typename?: "CartAddressCountry" | undefined;
|
|
36
|
+
code: string;
|
|
37
|
+
label: string;
|
|
38
|
+
};
|
|
39
|
+
region?: {
|
|
40
|
+
__typename?: "CartAddressRegion" | undefined;
|
|
41
|
+
region_id?: number | null | undefined;
|
|
42
|
+
code?: string | null | undefined;
|
|
43
|
+
label?: string | null | undefined;
|
|
44
|
+
} | null | undefined;
|
|
45
|
+
custom_attributes: ({
|
|
46
|
+
__typename?: "AttributeSelectedOptions" | undefined;
|
|
47
|
+
} | {
|
|
48
|
+
__typename?: "AttributeValue" | undefined;
|
|
49
|
+
code: string;
|
|
50
|
+
value: string;
|
|
51
|
+
} | null)[];
|
|
52
|
+
} | null | undefined;
|
|
53
|
+
shipping_addresses: ({
|
|
54
|
+
__typename?: "ShippingCartAddress" | undefined;
|
|
55
|
+
id?: number | null | undefined;
|
|
56
|
+
firstname: string;
|
|
57
|
+
lastname: string;
|
|
58
|
+
company?: string | null | undefined;
|
|
59
|
+
street: (string | null)[];
|
|
60
|
+
city: string;
|
|
61
|
+
postcode?: string | null | undefined;
|
|
62
|
+
vat_id?: string | null | undefined;
|
|
63
|
+
telephone?: string | null | undefined;
|
|
64
|
+
same_as_billing: boolean;
|
|
65
|
+
region?: {
|
|
66
|
+
__typename?: "CartAddressRegion" | undefined;
|
|
67
|
+
region_id?: number | null | undefined;
|
|
68
|
+
code?: string | null | undefined;
|
|
69
|
+
label?: string | null | undefined;
|
|
70
|
+
} | null | undefined;
|
|
71
|
+
country: {
|
|
72
|
+
__typename?: "CartAddressCountry" | undefined;
|
|
73
|
+
code: string;
|
|
74
|
+
label: string;
|
|
75
|
+
};
|
|
76
|
+
custom_attributes: ({
|
|
77
|
+
__typename?: "AttributeSelectedOptions" | undefined;
|
|
78
|
+
} | {
|
|
79
|
+
__typename?: "AttributeValue" | undefined;
|
|
80
|
+
code: string;
|
|
81
|
+
value: string;
|
|
82
|
+
} | null)[];
|
|
83
|
+
available_shipping_methods?: ({
|
|
84
|
+
__typename?: "AvailableShippingMethod" | undefined;
|
|
85
|
+
available: boolean;
|
|
86
|
+
carrier_code: string;
|
|
87
|
+
carrier_title: string;
|
|
88
|
+
error_message?: string | null | undefined;
|
|
89
|
+
method_code?: string | null | undefined;
|
|
90
|
+
method_title?: string | null | undefined;
|
|
91
|
+
amount: {
|
|
92
|
+
__typename?: "Money" | undefined;
|
|
93
|
+
currency?: import('../../../__generated__/types').CurrencyEnum | null | undefined;
|
|
94
|
+
value?: number | null | undefined;
|
|
95
|
+
};
|
|
96
|
+
price_excl_tax: {
|
|
97
|
+
__typename?: "Money" | undefined;
|
|
98
|
+
value?: number | null | undefined;
|
|
99
|
+
currency?: import('../../../__generated__/types').CurrencyEnum | null | undefined;
|
|
100
|
+
};
|
|
101
|
+
price_incl_tax: {
|
|
102
|
+
__typename?: "Money" | undefined;
|
|
103
|
+
value?: number | null | undefined;
|
|
104
|
+
currency?: import('../../../__generated__/types').CurrencyEnum | null | undefined;
|
|
105
|
+
};
|
|
106
|
+
} | null)[] | null | undefined;
|
|
107
|
+
selected_shipping_method?: {
|
|
108
|
+
__typename?: "SelectedShippingMethod" | undefined;
|
|
109
|
+
carrier_code: string;
|
|
110
|
+
carrier_title: string;
|
|
111
|
+
method_code: string;
|
|
112
|
+
method_title: string;
|
|
113
|
+
amount: {
|
|
114
|
+
__typename?: "Money" | undefined;
|
|
115
|
+
value?: number | null | undefined;
|
|
116
|
+
currency?: import('../../../__generated__/types').CurrencyEnum | null | undefined;
|
|
117
|
+
};
|
|
118
|
+
price_excl_tax: {
|
|
119
|
+
__typename?: "Money" | undefined;
|
|
120
|
+
value?: number | null | undefined;
|
|
121
|
+
currency?: import('../../../__generated__/types').CurrencyEnum | null | undefined;
|
|
122
|
+
};
|
|
123
|
+
price_incl_tax: {
|
|
124
|
+
__typename?: "Money" | undefined;
|
|
125
|
+
value?: number | null | undefined;
|
|
126
|
+
currency?: import('../../../__generated__/types').CurrencyEnum | null | undefined;
|
|
127
|
+
};
|
|
128
|
+
} | null | undefined;
|
|
129
|
+
} | null)[];
|
|
130
|
+
available_payment_methods?: ({
|
|
131
|
+
__typename?: "AvailablePaymentMethod" | undefined;
|
|
132
|
+
code: string;
|
|
133
|
+
title: string;
|
|
134
|
+
} | null)[] | null | undefined;
|
|
135
|
+
selected_payment_method?: {
|
|
136
|
+
__typename?: "SelectedPaymentMethod" | undefined;
|
|
137
|
+
code: string;
|
|
138
|
+
title: string;
|
|
139
|
+
} | null | undefined;
|
|
140
|
+
} | null | undefined;
|
|
141
|
+
//# sourceMappingURL=cart.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
* __________________
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2024 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 * from './shipping-address';
|
|
18
|
+
export * from './available-shipping-methods';
|
|
19
|
+
export * from './billing-address';
|
|
20
|
+
export * from './cart';
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
* __________________
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2024 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 shippingAddressFixture: {
|
|
18
|
+
firstname: string;
|
|
19
|
+
lastname: string;
|
|
20
|
+
company: null;
|
|
21
|
+
street: string[];
|
|
22
|
+
city: string;
|
|
23
|
+
postcode: string;
|
|
24
|
+
vat_id: null;
|
|
25
|
+
country: {
|
|
26
|
+
code: string;
|
|
27
|
+
label: string;
|
|
28
|
+
};
|
|
29
|
+
region: {
|
|
30
|
+
region_id: number;
|
|
31
|
+
code: string;
|
|
32
|
+
label: string;
|
|
33
|
+
};
|
|
34
|
+
telephone: string;
|
|
35
|
+
custom_attributes: {}[];
|
|
36
|
+
available_shipping_methods: {
|
|
37
|
+
amount: {
|
|
38
|
+
currency: import('../../../__generated__/types').CurrencyEnum;
|
|
39
|
+
value: number;
|
|
40
|
+
};
|
|
41
|
+
available: boolean;
|
|
42
|
+
carrier_code: string;
|
|
43
|
+
carrier_title: string;
|
|
44
|
+
error_message: string;
|
|
45
|
+
method_code: string;
|
|
46
|
+
method_title: string;
|
|
47
|
+
price_excl_tax: {
|
|
48
|
+
value: number;
|
|
49
|
+
currency: import('../../../__generated__/types').CurrencyEnum;
|
|
50
|
+
};
|
|
51
|
+
price_incl_tax: {
|
|
52
|
+
value: number;
|
|
53
|
+
currency: import('../../../__generated__/types').CurrencyEnum;
|
|
54
|
+
};
|
|
55
|
+
}[];
|
|
56
|
+
selected_shipping_method: null;
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=shipping-address.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
* __________________
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2024 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 * from './fragments';
|
|
18
|
+
export * from './queries';
|
|
19
|
+
export * from './mutations';
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
* __________________
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2024 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 * from './set-shipping-address';
|
|
18
|
+
export * from './set-billing-address';
|
|
19
|
+
export * from './set-shipping-methods';
|
|
20
|
+
export * from './set-payment-method';
|
|
21
|
+
export * from './set-guest-email';
|
|
22
|
+
export * from './place-order';
|
|
23
|
+
export * from './estimate-shipping-methods';
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SetBillingAddressMutation } from '../../../__generated__/types';
|
|
2
|
+
|
|
3
|
+
export declare const setBillingAddressFixture: SetBillingAddressMutation;
|
|
4
|
+
export declare const setBillingAddressSameAsShippingFixture: SetBillingAddressMutation;
|
|
5
|
+
//# sourceMappingURL=set-billing-address.d.ts.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
* __________________
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2024 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 * from './get-cart';
|
|
18
|
+
export * from './get-store-config';
|
|
19
|
+
export * from './get-stock-status';
|
|
20
|
+
export * from './is-email-available';
|
|
21
|
+
export * from './get-customer';
|
|
22
|
+
export * from './get-customer-cart-stock-status';
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
package/msw/server.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
* __________________
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2024 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 server: import('msw/node').SetupServerApi;
|
|
18
|
+
//# sourceMappingURL=server.d.ts.map
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@dropins/storefront-checkout", "version": "0.1.0-
|
|
1
|
+
{"name": "@dropins/storefront-checkout", "version": "0.1.0-alpha50", "@dropins/tools": "~0.34.0"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
* __________________
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2024 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 * from './render';
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
package/render.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './render/index'
|
package/render.js
CHANGED
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
(function(n,o){try{if(typeof document<"u"){const t=document.createElement("style"),r=o.styleId;for(const e in o.attributes)t.setAttribute(e,o.attributes[e]);t.setAttribute("data-dropin",r),t.appendChild(document.createTextNode(n));const a=document.querySelector('style[data-dropin="sdk"]');if(a)a.after(t);else{const e=document.querySelector('link[rel="stylesheet"], style');e?e.before(t):document.head.append(t)}}}catch(t){console.error("dropin-styles (injectCodeFunction)",t)}})(`.checkout-estimate-shipping{display:grid;grid-template-columns:1fr 1fr;gap:var(--spacing-xxsmall);align-items:center;color:var(--color-neutral-800)}.checkout-estimate-shipping__label,.checkout-estimate-shipping__price{font:var(--type-body-1-default-font);letter-spacing:var(--type-body-1-default-letter-spacing)}.checkout-estimate-shipping__label--muted{font:var(--type-body-2-default-font);letter-spacing:var(--type-body-2-default-letter-spacing);color:var(--color-neutral-700)}.checkout-estimate-shipping__price--muted{font:var(--type-body-2-default-font);letter-spacing:var(--type-body-2-default-letter-spacing)}.checkout-estimate-shipping__price{text-align:right}.checkout-estimate-shipping__label--bold,.checkout-estimate-shipping__price--bold{font:var(--type-body-1-emphasized-font);letter-spacing:var(--type-body-1-emphasized-letter-spacing)}.checkout-estimate-shipping__caption{font:var(--type-details-caption-2-font);letter-spacing:var(--type-details-caption-2-letter-spacing);color:var(--color-neutral-700)}.cart-order-summary__shipping .dropin-skeleton{grid-template-columns:1fr}.checkout-login-form__heading{display:grid;grid-template-columns:1fr max-content;grid-auto-rows:max-content}.checkout-login-form__content{grid-auto-rows:max-content}.checkout-login-form__customer-details{display:grid;grid-auto-flow:row;gap:var(--spacing-xxsmall)}.checkout-login-form__customer-name{font:var(--type-body-1-strong-font);letter-spacing:var(--type-body-1-default-letter-spacing)}.checkout-login-form__customer-email{font:var(--type-body-2-default-font);letter-spacing:var(--type-body-2-default-letter-spacing);color:var(--color-neutral-700)}.checkout-login-form__title{grid-column-start:1;color:var(--color-neutral-800);font:var(--type-headline-2-default-font);letter-spacing:var(--type-headline-2-default-letter-spacing);margin:0 0 var(--spacing-medium) 0}.checkout-login-form__sign-in,.checkout-login-form__sign-out{grid-column-start:2;color:var(--color-neutral-800);font:var(--type-body-2-default-font);letter-spacing:var(--type-body-2-default-letter-spacing);justify-self:flex-end;margin-top:var(--spacing-xxsmall)}a.checkout-login-form__link{font:var(--type-body-2-strong-font);margin-left:var(--spacing-xxsmall)}@media only screen and (min-width: 320px) and (max-width: 768px){.checkout-login-form__heading{grid-template-columns:repeat(1,1fr [col-start]);grid-template-rows:1fr}.checkout-login-form__sign-in,.checkout-login-form__sign-out{grid-column-start:1;align-self:flex-start;justify-self:flex-start;margin-top:0;margin-bottom:var(--spacing-medium)}}.checkout-out-of-stock.dropin-card{border-color:var(--color-warning-500)}.checkout-out-of-stock .dropin-card__content{gap:var(--spacing-small);padding:var(--spacing-small)}.checkout-out-of-stock__title{color:var(--color-neutral-900);font:var(--type-body-2-strong-font);margin:0;display:flex;gap:var(--spacing-xxsmall);align-items:center;justify-content:left;text-align:center}.checkout-out-of-stock__message{color:var(--color-neutral-800);font:var(--type-body-2-default-font);margin:0}.checkout-out-of-stock__items{display:grid;grid-template-columns:repeat(5,100px);grid-gap:var(--spacing-small);list-style:none;padding:0;margin:0}.checkout-out-of-stock__item img{width:100%;height:auto}.checkout-out-of-stock__actions{display:flex;gap:var(--spacing-small);justify-content:flex-end}a.checkout-out-of-stock__action{font:var(--type-details-caption-1-font)}.checkout-out-of-stock__action{background:none;border:none;padding:0;cursor:pointer}.checkout-out-of-stock__action:hover{--textColor: var(--color-brand-700);text-decoration:solid underline var(--textColor);text-underline-offset:6px}.checkout-overlay-loader{align-items:center;background:var(--color-neutral-50);display:flex;height:100vh;justify-content:center;left:0;opacity:.5;position:fixed;top:0;width:100%;z-index:9999}.checkout-payment-methods__title{color:var(--color-neutral-800);font:var(--type-headline-2-default-font);letter-spacing:var(--type-headline-2-default-letter-spacing);margin:0 0 var(--spacing-medium) 0}.checkout-payment-methods__wrapper{position:relative;display:grid}.checkout-payment-methods__methods{display:grid;grid-template-columns:1fr 1fr;gap:var(--spacing-medium)}.checkout-payment-methods__content{margin-top:var(--spacing-medium)}.checkout-payment-methods--full-width{grid-template-columns:1fr}.checkout-payment-methods--loading{opacity:.4;pointer-events:none}.checkout-payment-methods__spinner{margin:0 auto;position:absolute;z-index:999;left:0;right:0;top:calc(50% - (var(--size) / 2));bottom:0}.checkout__content [data-slot=PaymentMethods]:empty{display:none}@media only screen and (min-width: 320px) and (max-width: 768px){.checkout-payment-methods__methods{grid-template-columns:1fr}}.checkout-server-error{position:relative;text-align:center}.checkout-server-error__icon .error-icon{color:var(--color-alert-500)}.checkout-server-error a{font:var(--type-body-2-strong-font);letter-spacing:var(--type-body-2-strong-letter-spacing)}.checkout-shipping-methods__title{color:var(--color-neutral-800);font:var(--type-body-1-default-font);letter-spacing:var(--type-body-1-default-letter-spacing);margin:0 0 var(--spacing-medium) 0}.checkout-shipping-methods__content{position:relative;display:block}.checkout-shipping-methods__method{margin-bottom:var(--spacing-medium);width:fit-content;cursor:pointer;font:var(--type-body-2-default-font);letter-spacing:var(--type-body-2-default-letter-spacing)}.checkout-shipping-methods__method:last-child{margin-bottom:0}.dropin-radio-button__label .dropin-price{color:var(--color-neutral-800);font-weight:400}.checkout-shipping-methods__options--loading{opacity:.4;pointer-events:none}.checkout-shipping-methods__spinner{margin:0 auto;position:absolute;z-index:999;left:0;right:0;top:calc(50% - (var(--size) / 2));bottom:0}
|
|
2
|
+
.checkout-place-order{display:grid;padding-bottom:var(--spacing-big)}.checkout-place-order__button{align-self:flex-end;justify-self:flex-end}@media only screen and (min-width:320px) and (max-width: 768px){.checkout-place-order{background-color:var(--color-neutral-200);padding:var(--spacing-medium) var(--spacing-medium) var(--spacing-big) var(--spacing-medium)}.checkout-place-order__button{align-self:center;justify-self:stretch}}
|
|
3
|
+
.checkout-bill-to-shipping-address label{font:var(--type-body-2-default-font);letter-spacing:var(--type-body-2-default-letter-spacing);gap:0}`,{styleId:"checkout"});
|
|
4
|
+
import{jsx as f}from"@dropins/tools/preact-jsx-runtime.js";import{Render as d}from"@dropins/tools/lib.js";import{events as p}from"@dropins/tools/event-bus.js";import"./chunks/store-config.js";import"./chunks/fetch-graphql.js";import{c as g}from"./chunks/resetCustomer.js";import{UIProvider as y}from"@dropins/tools/components.js";import{useState as b,useEffect as h}from"@dropins/tools/preact-hooks.js";import"@dropins/tools/signals.js";import"@dropins/tools/fetch-graphql.js";import"./chunks/getCustomer.js";import"./chunks/getCart.graphql.js";function O(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var S=function(r){return E(r)&&!w(r)};function E(e){return!!e&&typeof e=="object"}function w(e){var r=Object.prototype.toString.call(e);return r==="[object RegExp]"||r==="[object Date]"||M(e)}var v=typeof Symbol=="function"&&Symbol.for,j=v?Symbol.for("react.element"):60103;function M(e){return e.$$typeof===j}function A(e){return Array.isArray(e)?[]:{}}function i(e,r){return r.clone!==!1&&r.isMergeableObject(e)?a(A(e),e,r):e}function P(e,r,t){return e.concat(r).map(function(o){return i(o,t)})}function I(e,r){if(!r.customMerge)return a;var t=r.customMerge(e);return typeof t=="function"?t:a}function T(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(r){return Object.propertyIsEnumerable.call(e,r)}):[]}function l(e){return Object.keys(e).concat(T(e))}function m(e,r){try{return r in e}catch{return!1}}function C(e,r){return m(e,r)&&!(Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))}function x(e,r,t){var o={};return t.isMergeableObject(e)&&l(e).forEach(function(n){o[n]=i(e[n],t)}),l(r).forEach(function(n){C(e,n)||(m(e,n)&&t.isMergeableObject(r[n])?o[n]=I(n,t)(e[n],r[n],t):o[n]=i(r[n],t))}),o}function a(e,r,t){t=t||{},t.arrayMerge=t.arrayMerge||P,t.isMergeableObject=t.isMergeableObject||S,t.cloneUnlessOtherwiseSpecified=i;var o=Array.isArray(r),n=Array.isArray(e),c=o===n;return c?o?t.arrayMerge(e,r,t):x(e,r,t):i(r,t)}a.all=function(r,t){if(!Array.isArray(r))throw new Error("first argument should be an array");return r.reduce(function(o,n){return a(o,n,t)},{})};var D=a,B=D;const L=O(B),_={title:"Checkout",LoginForm:{title:"Contact details",account:"Already have an account?",ariaLabel:"Email",invalidEmailError:"Please enter a valid email address.",missingEmailError:"Enter an email address.",emailExists:{alreadyHaveAccount:"It looks like you already have an account.",signInButton:"Sign in",forFasterCheckout:"for a faster checkout."},floatingLabel:"Email *",placeholder:"Enter your email address",signIn:"Sign In",switch:"Do you want to switch account?",signOut:"Sign Out"},ShippingMethods:{title:"Shipping options",emptyState:"This order can't be shipped to the address provided. Please review the address details you entered and make sure they're correct."},BillToShippingAddress:{title:"Bill to shipping address"},PaymentMethods:{title:"Payment",emptyState:"No payment methods available"},OutOfStock:{title:"Your cart contains items that are out of stock",message:"The following items are out of stock:",actions:{reviewCart:"Review cart",removeOutOfStock:"Remove out of stock items"},lowInventory:{one:"Last item!",many:"Only {{count}} left!"},alert:"Out of stock!"},PlaceOrder:{button:"Place Order"},ServerError:{title:"We were unable to process your order",contactSupport:"If you continue to have issues, please contact support.",unexpected:"An unexpected error occurred while processing your order. Please try again later.",button:"Try again"},EmptyCart:{title:"Your cart is empty",button:"Start shopping"},ErrorBanner:{genericMessage:"Server error detected. Please check your connection and try again."},MergedCartBanner:{items:{one:"1 item from a previous session was added to your cart. Please review your new subtotal.",many:"{{count}} items from a previous session were added to your cart. Please review your new subtotal."}},EstimateShipping:{estimated:"Estimated Shipping",freeShipping:"Free",label:"Shipping",taxToBeDetermined:"TBD",withTaxes:"Including taxes",withoutTaxes:"Excluding taxes"}},R={Checkout:_},U={default:R},k=({children:e})=>{var c;const[r,t]=b(),o=(c=g.getConfig())==null?void 0:c.langDefinitions;h(()=>{const s=p.on("locale",u=>{u!==r&&t(u)},{eager:!0});return()=>{s==null||s.off()}},[r]);const n=L(U,o??{});return f(y,{lang:r,langDefinitions:n,children:e})},Q=new d(f(k,{}));export{k as Provider,Q as render};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ShippingMethod } from '../data/models';
|
|
2
|
+
|
|
3
|
+
export declare const estimateShippingMethodsSignal: import('@preact/signals-core').Signal<{
|
|
4
|
+
pending: boolean;
|
|
5
|
+
data?: ShippingMethod[] | undefined;
|
|
6
|
+
}>;
|
|
7
|
+
//# sourceMappingURL=EstimateShippingMethodsSignal.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
* __________________
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2024 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 isBillToShippingSignal: import('@preact/signals-core').Signal<boolean>;
|
|
18
|
+
//# sourceMappingURL=IsBillToShippingSignal.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
* __________________
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2024 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 serverErrorSignal: import('@preact/signals-core').Signal<string | undefined>;
|
|
18
|
+
//# sourceMappingURL=ServerErrorSignal.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
* __________________
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2024 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 * from './CartSignal';
|
|
18
|
+
export * from './CustomerSignal';
|
|
19
|
+
export * from './EstimateShippingMethodsSignal';
|
|
20
|
+
export * from './IsBillToShippingSignal';
|
|
21
|
+
export * from './SelectedShippingMethodSignal';
|
|
22
|
+
export * from './ServerErrorSignal';
|
|
23
|
+
export * from './StoreConfigSignal';
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* ADOBE CONFIDENTIAL
|
|
3
|
+
* __________________
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2024 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 TEST_CART_ID = "fake-cart-id";
|
|
18
|
+
export declare const TEST_ORDER_ID = "fake-order-id";
|
|
19
|
+
//# sourceMappingURL=constants.d.ts.map
|