@daffodil/cart 0.63.2 → 0.64.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/driver/in-memory/backend/cart-root.service.d.ts +2 -2
- package/driver/magento/transforms/inputs/billing-address.service.d.ts +1 -1
- package/driver/magento/transforms/inputs/shipping-address.service.d.ts +1 -1
- package/driver/magento/transforms/outputs/billing-address.service.d.ts +1 -1
- package/driver/magento/transforms/outputs/cart-shipping-information.service.d.ts +1 -1
- package/driver/magento/transforms/outputs/cart.service.d.ts +2 -2
- package/driver/magento/transforms/outputs/shipping-address.service.d.ts +1 -1
- package/esm2020/driver/in-memory/backend/cart/cart.service.mjs +3 -3
- package/esm2020/driver/in-memory/backend/cart-address/cart-address.service.mjs +3 -3
- package/esm2020/driver/in-memory/backend/cart-billing-address/cart-billing-address.service.mjs +3 -3
- package/esm2020/driver/in-memory/backend/cart-coupon/cart-coupon.service.mjs +3 -3
- package/esm2020/driver/in-memory/backend/cart-items/cart-items.service.mjs +3 -3
- package/esm2020/driver/in-memory/backend/cart-order/cart-order.service.mjs +3 -3
- package/esm2020/driver/in-memory/backend/cart-payment/cart-payment.service.mjs +3 -3
- package/esm2020/driver/in-memory/backend/cart-payment-methods/cart-payment-methods.service.mjs +3 -3
- package/esm2020/driver/in-memory/backend/cart-root.service.mjs +6 -6
- package/esm2020/driver/in-memory/backend/cart-shipping-address/cart-shipping-address.service.mjs +3 -3
- package/esm2020/driver/in-memory/backend/cart-shipping-information/cart-shipping-information.service.mjs +3 -3
- package/esm2020/driver/in-memory/backend/cart-shipping-methods/cart-shipping-methods.service.mjs +3 -3
- package/esm2020/driver/in-memory/drivers/cart/cart.service.mjs +3 -3
- package/esm2020/driver/in-memory/drivers/cart-address/cart-address.service.mjs +3 -3
- package/esm2020/driver/in-memory/drivers/cart-billing-address/cart-billing-address.service.mjs +3 -3
- package/esm2020/driver/in-memory/drivers/cart-coupon/cart-coupon.service.mjs +3 -3
- package/esm2020/driver/in-memory/drivers/cart-driver.module.mjs +7 -9
- package/esm2020/driver/in-memory/drivers/cart-item/cart-item.service.mjs +3 -3
- package/esm2020/driver/in-memory/drivers/cart-order/cart-order.service.mjs +3 -3
- package/esm2020/driver/in-memory/drivers/cart-payment/cart-payment.service.mjs +3 -3
- package/esm2020/driver/in-memory/drivers/cart-payment-methods/cart-payment-methods.service.mjs +3 -3
- package/esm2020/driver/in-memory/drivers/cart-shipping-address/cart-shipping-address.service.mjs +3 -3
- package/esm2020/driver/in-memory/drivers/cart-shipping-information/cart-shipping-information.service.mjs +3 -3
- package/esm2020/driver/in-memory/drivers/cart-shipping-methods/cart-shipping-methods.service.mjs +3 -3
- package/esm2020/driver/magento/cart-address.service.mjs +3 -3
- package/esm2020/driver/magento/cart-billing-address.service.mjs +3 -3
- package/esm2020/driver/magento/cart-coupon.service.mjs +3 -3
- package/esm2020/driver/magento/cart-driver.module.mjs +5 -7
- package/esm2020/driver/magento/cart-item.service.mjs +3 -3
- package/esm2020/driver/magento/cart-order.service.mjs +3 -3
- package/esm2020/driver/magento/cart-payment-methods.service.mjs +3 -3
- package/esm2020/driver/magento/cart-payment.service.mjs +3 -3
- package/esm2020/driver/magento/cart-shipping-address.service.mjs +3 -3
- package/esm2020/driver/magento/cart-shipping-information.service.mjs +3 -3
- package/esm2020/driver/magento/cart-shipping-methods.service.mjs +3 -3
- package/esm2020/driver/magento/cart.service.mjs +3 -3
- package/esm2020/driver/magento/errors/map.mjs +2 -2
- package/esm2020/driver/magento/errors/transform.mjs +1 -1
- package/esm2020/driver/magento/queries/add-item/query.mjs +1 -1
- package/esm2020/driver/magento/queries/apply-coupon/query.mjs +1 -1
- package/esm2020/driver/magento/queries/get-billing-address/query.mjs +1 -1
- package/esm2020/driver/magento/queries/get-cart/query.mjs +1 -1
- package/esm2020/driver/magento/queries/get-selected-payment-method/query.mjs +1 -1
- package/esm2020/driver/magento/queries/get-selected-shipping-method/query.mjs +1 -1
- package/esm2020/driver/magento/queries/get-shipping-address/query.mjs +1 -1
- package/esm2020/driver/magento/queries/list-coupons/query.mjs +1 -1
- package/esm2020/driver/magento/queries/list-items/query.mjs +1 -1
- package/esm2020/driver/magento/queries/list-payment-methods/query.mjs +1 -1
- package/esm2020/driver/magento/queries/merge-carts/query.mjs +1 -1
- package/esm2020/driver/magento/queries/remove-all-coupons/query.mjs +1 -1
- package/esm2020/driver/magento/queries/remove-item/query.mjs +1 -1
- package/esm2020/driver/magento/queries/set-selected-payment-method/query.mjs +1 -1
- package/esm2020/driver/magento/queries/set-selected-payment-method-with-billing/query.mjs +1 -1
- package/esm2020/driver/magento/queries/set-selected-payment-method-with-billing-and-email/query.mjs +1 -1
- package/esm2020/driver/magento/queries/set-selected-shipping-method/query.mjs +1 -1
- package/esm2020/driver/magento/queries/update-address/query.mjs +1 -1
- package/esm2020/driver/magento/queries/update-address-with-email/query.mjs +1 -1
- package/esm2020/driver/magento/queries/update-billing-address/query.mjs +1 -1
- package/esm2020/driver/magento/queries/update-billing-address-with-email/query.mjs +1 -1
- package/esm2020/driver/magento/queries/update-item/query.mjs +1 -1
- package/esm2020/driver/magento/queries/update-shipping-address/query.mjs +1 -1
- package/esm2020/driver/magento/queries/update-shipping-address-with-email/query.mjs +1 -1
- package/esm2020/driver/magento/testing/factories/cart-address-input.factory.mjs +3 -3
- package/esm2020/driver/magento/testing/factories/cart-address.factory.mjs +3 -3
- package/esm2020/driver/magento/testing/factories/cart-coupon.factory.mjs +3 -3
- package/esm2020/driver/magento/testing/factories/cart-item/bundle-cart-item.factory.mjs +3 -3
- package/esm2020/driver/magento/testing/factories/cart-item/cart-item.factory.mjs +3 -3
- package/esm2020/driver/magento/testing/factories/cart-item/configurable-cart-item.factory.mjs +3 -3
- package/esm2020/driver/magento/testing/factories/cart-payment-method.factory.mjs +3 -3
- package/esm2020/driver/magento/testing/factories/cart-shipping-method.factory.mjs +3 -3
- package/esm2020/driver/magento/testing/factories/cart.factory.mjs +3 -3
- package/esm2020/driver/magento/testing/factories/shipping-address.factory.mjs +3 -3
- package/esm2020/driver/magento/transforms/inputs/billing-address.service.mjs +4 -4
- package/esm2020/driver/magento/transforms/inputs/cart-address.service.mjs +3 -3
- package/esm2020/driver/magento/transforms/inputs/cart-item-update.service.mjs +3 -3
- package/esm2020/driver/magento/transforms/inputs/payment-method.service.mjs +3 -3
- package/esm2020/driver/magento/transforms/inputs/shipping-address.service.mjs +4 -4
- package/esm2020/driver/magento/transforms/inputs/shipping-method.service.mjs +3 -3
- package/esm2020/driver/magento/transforms/outputs/billing-address.service.mjs +4 -4
- package/esm2020/driver/magento/transforms/outputs/cart-address.service.mjs +3 -3
- package/esm2020/driver/magento/transforms/outputs/cart-coupon-response.service.mjs +5 -5
- package/esm2020/driver/magento/transforms/outputs/cart-item/bundle-cart-item-transformer.mjs +1 -1
- package/esm2020/driver/magento/transforms/outputs/cart-item/cart-item-transformer.mjs +2 -2
- package/esm2020/driver/magento/transforms/outputs/cart-item/configurable-cart-item-transformer.mjs +1 -1
- package/esm2020/driver/magento/transforms/outputs/cart-payment.service.mjs +3 -3
- package/esm2020/driver/magento/transforms/outputs/cart-shipping-information.service.mjs +4 -4
- package/esm2020/driver/magento/transforms/outputs/cart-shipping-rate.service.mjs +3 -3
- package/esm2020/driver/magento/transforms/outputs/cart.service.mjs +5 -5
- package/esm2020/driver/magento/transforms/outputs/shipping-address.service.mjs +4 -4
- package/esm2020/driver/services/resolve.service.mjs +3 -3
- package/esm2020/driver/testing/drivers/cart/cart.service.mjs +3 -3
- package/esm2020/driver/testing/drivers/cart-address/cart-address.service.mjs +3 -3
- package/esm2020/driver/testing/drivers/cart-billing-address/cart-billing-address.service.mjs +3 -3
- package/esm2020/driver/testing/drivers/cart-coupon/cart-coupon.service.mjs +3 -3
- package/esm2020/driver/testing/drivers/cart-driver.module.mjs +7 -9
- package/esm2020/driver/testing/drivers/cart-item/cart-item.service.mjs +3 -3
- package/esm2020/driver/testing/drivers/cart-order/cart-order.service.mjs +3 -3
- package/esm2020/driver/testing/drivers/cart-payment/cart-payment.service.mjs +3 -3
- package/esm2020/driver/testing/drivers/cart-payment-methods/cart-payment-methods.service.mjs +3 -3
- package/esm2020/driver/testing/drivers/cart-shipping-address/cart-shipping-address.service.mjs +3 -3
- package/esm2020/driver/testing/drivers/cart-shipping-information/cart-shipping-information.service.mjs +3 -3
- package/esm2020/driver/testing/drivers/cart-shipping-methods/cart-shipping-methods.service.mjs +3 -3
- package/esm2020/routing/cart-routing.module.mjs +4 -4
- package/esm2020/routing/guards/billing-address/billing-address.guard.mjs +3 -3
- package/esm2020/routing/guards/cart-items/cart-items.guard.mjs +3 -3
- package/esm2020/routing/guards/in-stock-items/in-stock-items.guard.mjs +3 -3
- package/esm2020/routing/guards/order-result/order-result.guard.mjs +3 -3
- package/esm2020/routing/guards/payment-method/payment-method.guard.mjs +3 -3
- package/esm2020/routing/guards/resolve-cart/resolve-cart.guard.mjs +3 -3
- package/esm2020/routing/guards/resolved-cart/resolved-cart.guard.mjs +3 -3
- package/esm2020/routing/guards/shipping-address/shipping-address.guard.mjs +3 -3
- package/esm2020/routing/guards/shipping-method/shipping-method.guard.mjs +3 -3
- package/esm2020/routing/resolvers/cart-resolver.service.mjs +3 -3
- package/esm2020/routing/resolvers/empty-cart-resolver.service.mjs +3 -3
- package/esm2020/state/cart-state.module.mjs +21 -23
- package/esm2020/state/effects/cart-address.effects.mjs +3 -3
- package/esm2020/state/effects/cart-billing-address.effects.mjs +3 -3
- package/esm2020/state/effects/cart-coupon.effects.mjs +3 -3
- package/esm2020/state/effects/cart-item.effects.mjs +3 -3
- package/esm2020/state/effects/cart-order.effects.mjs +3 -3
- package/esm2020/state/effects/cart-payment-methods.effects.mjs +3 -3
- package/esm2020/state/effects/cart-payment-processor.effects.mjs +3 -3
- package/esm2020/state/effects/cart-payment.effects.mjs +3 -3
- package/esm2020/state/effects/cart-resolver.effects.mjs +3 -3
- package/esm2020/state/effects/cart-shipping-address.effects.mjs +3 -3
- package/esm2020/state/effects/cart-shipping-information.effects.mjs +3 -3
- package/esm2020/state/effects/cart-shipping-methods.effects.mjs +3 -3
- package/esm2020/state/effects/cart.effects.mjs +3 -3
- package/esm2020/state/facades/cart/cart.facade.mjs +4 -4
- package/esm2020/state/reducers/cart/cart.reducer.mjs +8 -8
- package/esm2020/state/reducers/cart-billing-address/cart-billing-address.reducer.mjs +6 -6
- package/esm2020/state/reducers/cart-coupon/cart-coupon.reducer.mjs +6 -6
- package/esm2020/state/reducers/cart-initial-state.mjs +11 -10
- package/esm2020/state/reducers/cart-item/cart-item.reducer.mjs +10 -10
- package/esm2020/state/reducers/cart-item-entities/cart-item-entities.reducer.mjs +2 -2
- package/esm2020/state/reducers/cart-order/cart-order-initial-state.mjs +2 -2
- package/esm2020/state/reducers/cart-order/cart-order.reducer.mjs +5 -5
- package/esm2020/state/reducers/cart-payment/cart-payment.reducer.mjs +7 -7
- package/esm2020/state/reducers/cart-payment-methods/cart-payment-methods.reducer.mjs +4 -4
- package/esm2020/state/reducers/cart-reducers-state.interface.mjs +1 -1
- package/esm2020/state/reducers/cart-resolve/cart-resolve.reducer.mjs +2 -2
- package/esm2020/state/reducers/cart-shipping-address/cart-shipping-address.reducer.mjs +6 -6
- package/esm2020/state/reducers/cart-shipping-information/cart-shipping-information.reducer.mjs +6 -6
- package/esm2020/state/reducers/cart-shipping-methods/cart-shipping-methods.reducer.mjs +4 -4
- package/esm2020/state/reducers/cart.reducer.mjs +3 -3
- package/esm2020/state/reducers/errors/error-state-helpers.mjs +1 -1
- package/esm2020/state/reducers/token/reducers.token.mjs +2 -2
- package/esm2020/state/selectors/cart/cart.selector.mjs +26 -26
- package/esm2020/state/selectors/cart-order/cart-order.selector.mjs +3 -3
- package/esm2020/state/selectors/cart.selector.mjs +2 -2
- package/esm2020/state/testing/cart-testing.module.mjs +4 -4
- package/esm2020/state/testing/factories/stateful-cart-item.factory.mjs +3 -3
- package/esm2020/state/testing/factories/stateful-composite-cart-item.factory.mjs +3 -3
- package/esm2020/state/testing/factories/stateful-configurable-cart-item.factory.mjs +3 -3
- package/esm2020/state/testing/mock-cart-facade.mjs +3 -3
- package/esm2020/storage/cart-storage.service.mjs +3 -3
- package/esm2020/testing/factories/cart-address.factory.mjs +3 -3
- package/esm2020/testing/factories/cart-coupon.factory.mjs +3 -3
- package/esm2020/testing/factories/cart-item/cart-item.factory.mjs +3 -3
- package/esm2020/testing/factories/cart-item/composite-cart-item.factory.mjs +3 -3
- package/esm2020/testing/factories/cart-item/configurable-cart-item.factory.mjs +3 -3
- package/esm2020/testing/factories/cart-payment.factory.mjs +3 -3
- package/esm2020/testing/factories/cart-shipping-rate.factory.mjs +3 -3
- package/esm2020/testing/factories/cart.factory.mjs +3 -3
- package/fesm2015/daffodil-cart-driver-in-memory.mjs +73 -75
- package/fesm2015/daffodil-cart-driver-in-memory.mjs.map +1 -1
- package/fesm2015/daffodil-cart-driver-magento-testing.mjs +30 -30
- package/fesm2015/daffodil-cart-driver-magento.mjs +152 -154
- package/fesm2015/daffodil-cart-driver-magento.mjs.map +1 -1
- package/fesm2015/daffodil-cart-driver-testing.mjs +37 -39
- package/fesm2015/daffodil-cart-driver-testing.mjs.map +1 -1
- package/fesm2015/daffodil-cart-driver.mjs +3 -3
- package/fesm2015/daffodil-cart-routing.mjs +37 -37
- package/fesm2015/daffodil-cart-state-testing.mjs +16 -16
- package/fesm2015/daffodil-cart-state.mjs +252 -253
- package/fesm2015/daffodil-cart-state.mjs.map +1 -1
- package/fesm2015/daffodil-cart-testing.mjs +24 -24
- package/fesm2015/daffodil-cart.mjs +3 -3
- package/fesm2020/daffodil-cart-driver-in-memory.mjs +205 -207
- package/fesm2020/daffodil-cart-driver-in-memory.mjs.map +1 -1
- package/fesm2020/daffodil-cart-driver-magento-testing.mjs +30 -30
- package/fesm2020/daffodil-cart-driver-magento.mjs +153 -155
- package/fesm2020/daffodil-cart-driver-magento.mjs.map +1 -1
- package/fesm2020/daffodil-cart-driver-testing.mjs +37 -39
- package/fesm2020/daffodil-cart-driver-testing.mjs.map +1 -1
- package/fesm2020/daffodil-cart-driver.mjs +3 -3
- package/fesm2020/daffodil-cart-routing.mjs +37 -37
- package/fesm2020/daffodil-cart-state-testing.mjs +16 -16
- package/fesm2020/daffodil-cart-state.mjs +319 -320
- package/fesm2020/daffodil-cart-state.mjs.map +1 -1
- package/fesm2020/daffodil-cart-testing.mjs +24 -24
- package/fesm2020/daffodil-cart.mjs +3 -3
- package/package.json +1 -1
- package/state/facades/cart/cart.facade.d.ts +1 -1
- package/state/reducers/cart-order/cart-order.reducer.d.ts +1 -1
- package/state/reducers/cart-reducers-state.interface.d.ts +1 -1
- package/state/reducers/errors/error-state-helpers.d.ts +1 -1
- package/state/selectors/cart.selector.d.ts +2 -2
- package/daffodil-cart.d.ts +0 -5
- package/driver/daffodil-cart-driver.d.ts +0 -5
- package/driver/in-memory/daffodil-cart-driver-in-memory.d.ts +0 -5
- package/driver/in-memory/package.json +0 -1
- package/driver/magento/daffodil-cart-driver-magento.d.ts +0 -5
- package/driver/magento/package.json +0 -1
- package/driver/magento/testing/daffodil-cart-driver-magento-testing.d.ts +0 -5
- package/driver/magento/testing/package.json +0 -1
- package/driver/package.json +0 -1
- package/driver/testing/daffodil-cart-driver-testing.d.ts +0 -5
- package/driver/testing/package.json +0 -1
- package/routing/daffodil-cart-routing.d.ts +0 -5
- package/routing/package.json +0 -1
- package/state/daffodil-cart-state.d.ts +0 -5
- package/state/package.json +0 -1
- package/state/testing/daffodil-cart-state-testing.d.ts +0 -5
- package/state/testing/package.json +0 -1
- package/testing/daffodil-cart-testing.d.ts +0 -5
- package/testing/package.json +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Injectable, InjectionToken, Inject, inject, NgModule } from '@angular/core';
|
|
3
3
|
import { DaffCartItemInputType, DaffCartTotalTypeEnum } from '@daffodil/cart';
|
|
4
4
|
import { MagentoProductStockStatusEnum } from '@daffodil/product/driver/magento';
|
|
5
5
|
import { daffAdd } from '@daffodil/core';
|
|
@@ -15,72 +15,6 @@ import { of, throwError, forkJoin } from 'rxjs';
|
|
|
15
15
|
import { map, switchMap, catchError } from 'rxjs/operators';
|
|
16
16
|
import { CommonModule } from '@angular/common';
|
|
17
17
|
|
|
18
|
-
/**
|
|
19
|
-
* An multi-provider injection token for providing extra GraphQL fragments that will be spread into cart queries.
|
|
20
|
-
* This can be used to retrieve additional data that is not covered by the standard Daffodil interfaces.
|
|
21
|
-
* The data will appear in DaffCart#extra_attributes.
|
|
22
|
-
*
|
|
23
|
-
* Fragment structure is platform-specific and this feature should be used with care.
|
|
24
|
-
*
|
|
25
|
-
* This can increase query complexity above the Magento default of 300.
|
|
26
|
-
* Daffodil only guarantees that stock queries don't exceed the limit of 300.
|
|
27
|
-
* Apps using this token should therefore increase the query complexity limit
|
|
28
|
-
* to accommodate the extra complexity contributed by the provided fragments.
|
|
29
|
-
*/
|
|
30
|
-
const DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS = new InjectionToken('DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS', { factory: () => [] });
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* A multi-provider injection token for providing cart item transform logic in the Magento driver.
|
|
34
|
-
* It is run after the standard transforms and passed both the current transformed Daffodil cart item and the Magento cart item.
|
|
35
|
-
*/
|
|
36
|
-
const DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS = new InjectionToken('DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS', { factory: () => [] });
|
|
37
|
-
/**
|
|
38
|
-
* Provides cart item transforms for the Magento cart driver.
|
|
39
|
-
*
|
|
40
|
-
* See {@link DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS}.
|
|
41
|
-
*
|
|
42
|
-
* ```ts
|
|
43
|
-
* providers: [
|
|
44
|
-
* ...daffProvideCartMagentoCartItemTransforms(
|
|
45
|
-
* myCartItemTransform
|
|
46
|
-
* )
|
|
47
|
-
* ]
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
function daffProvideCartMagentoCartItemTransforms(...transforms) {
|
|
51
|
-
return transforms.map(transform => ({
|
|
52
|
-
provide: DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS,
|
|
53
|
-
useValue: transform,
|
|
54
|
-
multi: true,
|
|
55
|
-
}));
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* A multi-provider injection token for providing cart transform logic in the Magento driver.
|
|
60
|
-
* It is run after the standard transforms and passed both the current transformed Daffodil cart and the Magento cart.
|
|
61
|
-
*/
|
|
62
|
-
const DAFF_CART_MAGENTO_CART_TRANSFORMS = new InjectionToken('DAFF_CART_MAGENTO_CART_TRANSFORMS', { factory: () => [] });
|
|
63
|
-
/**
|
|
64
|
-
* Provides cart transforms for the Magento cart driver.
|
|
65
|
-
*
|
|
66
|
-
* See {@link DAFF_CART_MAGENTO_CART_TRANSFORMS}.
|
|
67
|
-
*
|
|
68
|
-
* ```ts
|
|
69
|
-
* providers: [
|
|
70
|
-
* ...daffProvideCartMagentoCartTransforms(
|
|
71
|
-
* myCartTransform
|
|
72
|
-
* )
|
|
73
|
-
* ]
|
|
74
|
-
* ```
|
|
75
|
-
*/
|
|
76
|
-
function daffProvideCartMagentoCartTransforms(...transforms) {
|
|
77
|
-
return transforms.map(transform => ({
|
|
78
|
-
provide: DAFF_CART_MAGENTO_CART_TRANSFORMS,
|
|
79
|
-
useValue: transform,
|
|
80
|
-
multi: true,
|
|
81
|
-
}));
|
|
82
|
-
}
|
|
83
|
-
|
|
84
18
|
/**
|
|
85
19
|
* Transforms magento addresses into an object usable by daffodil.
|
|
86
20
|
*/
|
|
@@ -115,9 +49,9 @@ class DaffMagentoCartAddressTransformer {
|
|
|
115
49
|
} : null;
|
|
116
50
|
}
|
|
117
51
|
}
|
|
118
|
-
/** @nocollapse */ DaffMagentoCartAddressTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
119
|
-
/** @nocollapse */ DaffMagentoCartAddressTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
52
|
+
/** @nocollapse */ DaffMagentoCartAddressTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartAddressTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
53
|
+
/** @nocollapse */ DaffMagentoCartAddressTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartAddressTransformer, providedIn: 'root' });
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartAddressTransformer, decorators: [{
|
|
121
55
|
type: Injectable,
|
|
122
56
|
args: [{
|
|
123
57
|
providedIn: 'root',
|
|
@@ -143,9 +77,9 @@ class DaffMagentoBillingAddressTransformer {
|
|
|
143
77
|
} : null;
|
|
144
78
|
}
|
|
145
79
|
}
|
|
146
|
-
/** @nocollapse */ DaffMagentoBillingAddressTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
147
|
-
/** @nocollapse */ DaffMagentoBillingAddressTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
80
|
+
/** @nocollapse */ DaffMagentoBillingAddressTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoBillingAddressTransformer, deps: [{ token: DaffMagentoCartAddressTransformer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
81
|
+
/** @nocollapse */ DaffMagentoBillingAddressTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoBillingAddressTransformer, providedIn: 'root' });
|
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoBillingAddressTransformer, decorators: [{
|
|
149
83
|
type: Injectable,
|
|
150
84
|
args: [{
|
|
151
85
|
providedIn: 'root',
|
|
@@ -159,13 +93,6 @@ function daffMagentoCouponTransform(coupon) {
|
|
|
159
93
|
};
|
|
160
94
|
}
|
|
161
95
|
|
|
162
|
-
var MagentoCartItemTypeEnum;
|
|
163
|
-
(function (MagentoCartItemTypeEnum) {
|
|
164
|
-
MagentoCartItemTypeEnum["Simple"] = "SimpleCartItem";
|
|
165
|
-
MagentoCartItemTypeEnum["Bundle"] = "BundleCartItem";
|
|
166
|
-
MagentoCartItemTypeEnum["Configurable"] = "ConfigurableCartItem";
|
|
167
|
-
})(MagentoCartItemTypeEnum || (MagentoCartItemTypeEnum = {}));
|
|
168
|
-
|
|
169
96
|
/**
|
|
170
97
|
* Transforms the magento MagentoCartItem from the magento cart query into a DaffCartItem.
|
|
171
98
|
*
|
|
@@ -239,6 +166,13 @@ function transformMagentoConfigurableCartItem(configurableCartItem) {
|
|
|
239
166
|
};
|
|
240
167
|
}
|
|
241
168
|
|
|
169
|
+
var MagentoCartItemTypeEnum;
|
|
170
|
+
(function (MagentoCartItemTypeEnum) {
|
|
171
|
+
MagentoCartItemTypeEnum["Simple"] = "SimpleCartItem";
|
|
172
|
+
MagentoCartItemTypeEnum["Bundle"] = "BundleCartItem";
|
|
173
|
+
MagentoCartItemTypeEnum["Configurable"] = "ConfigurableCartItem";
|
|
174
|
+
})(MagentoCartItemTypeEnum || (MagentoCartItemTypeEnum = {}));
|
|
175
|
+
|
|
242
176
|
/**
|
|
243
177
|
* The standard transform for a magento cart item.
|
|
244
178
|
*/
|
|
@@ -273,9 +207,9 @@ class DaffMagentoCartPaymentTransformer {
|
|
|
273
207
|
} : null;
|
|
274
208
|
}
|
|
275
209
|
}
|
|
276
|
-
/** @nocollapse */ DaffMagentoCartPaymentTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
277
|
-
/** @nocollapse */ DaffMagentoCartPaymentTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
210
|
+
/** @nocollapse */ DaffMagentoCartPaymentTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartPaymentTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
211
|
+
/** @nocollapse */ DaffMagentoCartPaymentTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartPaymentTransformer, providedIn: 'root' });
|
|
212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartPaymentTransformer, decorators: [{
|
|
279
213
|
type: Injectable,
|
|
280
214
|
args: [{
|
|
281
215
|
providedIn: 'root',
|
|
@@ -304,9 +238,9 @@ class DaffMagentoCartShippingRateTransformer {
|
|
|
304
238
|
} : null;
|
|
305
239
|
}
|
|
306
240
|
}
|
|
307
|
-
/** @nocollapse */ DaffMagentoCartShippingRateTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
308
|
-
/** @nocollapse */ DaffMagentoCartShippingRateTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
241
|
+
/** @nocollapse */ DaffMagentoCartShippingRateTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartShippingRateTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
242
|
+
/** @nocollapse */ DaffMagentoCartShippingRateTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartShippingRateTransformer, providedIn: 'root' });
|
|
243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartShippingRateTransformer, decorators: [{
|
|
310
244
|
type: Injectable,
|
|
311
245
|
args: [{
|
|
312
246
|
providedIn: 'root',
|
|
@@ -333,9 +267,9 @@ class DaffMagentoCartShippingInformationTransformer {
|
|
|
333
267
|
} : null;
|
|
334
268
|
}
|
|
335
269
|
}
|
|
336
|
-
/** @nocollapse */ DaffMagentoCartShippingInformationTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
337
|
-
/** @nocollapse */ DaffMagentoCartShippingInformationTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
270
|
+
/** @nocollapse */ DaffMagentoCartShippingInformationTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartShippingInformationTransformer, deps: [{ token: DaffMagentoCartShippingRateTransformer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
271
|
+
/** @nocollapse */ DaffMagentoCartShippingInformationTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartShippingInformationTransformer, providedIn: 'root' });
|
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartShippingInformationTransformer, decorators: [{
|
|
339
273
|
type: Injectable,
|
|
340
274
|
args: [{
|
|
341
275
|
providedIn: 'root',
|
|
@@ -417,15 +351,81 @@ class DaffMagentoShippingAddressTransformer {
|
|
|
417
351
|
} : null;
|
|
418
352
|
}
|
|
419
353
|
}
|
|
420
|
-
/** @nocollapse */ DaffMagentoShippingAddressTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
421
|
-
/** @nocollapse */ DaffMagentoShippingAddressTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
354
|
+
/** @nocollapse */ DaffMagentoShippingAddressTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoShippingAddressTransformer, deps: [{ token: DaffMagentoCartAddressTransformer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
355
|
+
/** @nocollapse */ DaffMagentoShippingAddressTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoShippingAddressTransformer, providedIn: 'root' });
|
|
356
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoShippingAddressTransformer, decorators: [{
|
|
423
357
|
type: Injectable,
|
|
424
358
|
args: [{
|
|
425
359
|
providedIn: 'root',
|
|
426
360
|
}]
|
|
427
361
|
}], ctorParameters: function () { return [{ type: DaffMagentoCartAddressTransformer }]; } });
|
|
428
362
|
|
|
363
|
+
/**
|
|
364
|
+
* An multi-provider injection token for providing extra GraphQL fragments that will be spread into cart queries.
|
|
365
|
+
* This can be used to retrieve additional data that is not covered by the standard Daffodil interfaces.
|
|
366
|
+
* The data will appear in DaffCart#extra_attributes.
|
|
367
|
+
*
|
|
368
|
+
* Fragment structure is platform-specific and this feature should be used with care.
|
|
369
|
+
*
|
|
370
|
+
* This can increase query complexity above the Magento default of 300.
|
|
371
|
+
* Daffodil only guarantees that stock queries don't exceed the limit of 300.
|
|
372
|
+
* Apps using this token should therefore increase the query complexity limit
|
|
373
|
+
* to accommodate the extra complexity contributed by the provided fragments.
|
|
374
|
+
*/
|
|
375
|
+
const DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS = new InjectionToken('DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS', { factory: () => [] });
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* A multi-provider injection token for providing cart item transform logic in the Magento driver.
|
|
379
|
+
* It is run after the standard transforms and passed both the current transformed Daffodil cart item and the Magento cart item.
|
|
380
|
+
*/
|
|
381
|
+
const DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS = new InjectionToken('DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS', { factory: () => [] });
|
|
382
|
+
/**
|
|
383
|
+
* Provides cart item transforms for the Magento cart driver.
|
|
384
|
+
*
|
|
385
|
+
* See {@link DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS}.
|
|
386
|
+
*
|
|
387
|
+
* ```ts
|
|
388
|
+
* providers: [
|
|
389
|
+
* ...daffProvideCartMagentoCartItemTransforms(
|
|
390
|
+
* myCartItemTransform
|
|
391
|
+
* )
|
|
392
|
+
* ]
|
|
393
|
+
* ```
|
|
394
|
+
*/
|
|
395
|
+
function daffProvideCartMagentoCartItemTransforms(...transforms) {
|
|
396
|
+
return transforms.map(transform => ({
|
|
397
|
+
provide: DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS,
|
|
398
|
+
useValue: transform,
|
|
399
|
+
multi: true,
|
|
400
|
+
}));
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* A multi-provider injection token for providing cart transform logic in the Magento driver.
|
|
405
|
+
* It is run after the standard transforms and passed both the current transformed Daffodil cart and the Magento cart.
|
|
406
|
+
*/
|
|
407
|
+
const DAFF_CART_MAGENTO_CART_TRANSFORMS = new InjectionToken('DAFF_CART_MAGENTO_CART_TRANSFORMS', { factory: () => [] });
|
|
408
|
+
/**
|
|
409
|
+
* Provides cart transforms for the Magento cart driver.
|
|
410
|
+
*
|
|
411
|
+
* See {@link DAFF_CART_MAGENTO_CART_TRANSFORMS}.
|
|
412
|
+
*
|
|
413
|
+
* ```ts
|
|
414
|
+
* providers: [
|
|
415
|
+
* ...daffProvideCartMagentoCartTransforms(
|
|
416
|
+
* myCartTransform
|
|
417
|
+
* )
|
|
418
|
+
* ]
|
|
419
|
+
* ```
|
|
420
|
+
*/
|
|
421
|
+
function daffProvideCartMagentoCartTransforms(...transforms) {
|
|
422
|
+
return transforms.map(transform => ({
|
|
423
|
+
provide: DAFF_CART_MAGENTO_CART_TRANSFORMS,
|
|
424
|
+
useValue: transform,
|
|
425
|
+
multi: true,
|
|
426
|
+
}));
|
|
427
|
+
}
|
|
428
|
+
|
|
429
429
|
/**
|
|
430
430
|
* Transforms magento carts into an object usable by daffodil.
|
|
431
431
|
*/
|
|
@@ -524,9 +524,9 @@ class DaffMagentoCartTransformer {
|
|
|
524
524
|
}) : null;
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
/** @nocollapse */ DaffMagentoCartTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
528
|
-
/** @nocollapse */ DaffMagentoCartTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
529
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
527
|
+
/** @nocollapse */ DaffMagentoCartTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartTransformer, deps: [{ token: DaffMagentoShippingAddressTransformer }, { token: DaffMagentoBillingAddressTransformer }, { token: DaffMagentoCartPaymentTransformer }, { token: DaffMagentoCartShippingInformationTransformer }, { token: DaffMagentoCartShippingRateTransformer }, { token: DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS }, { token: DAFF_CART_MAGENTO_CART_TRANSFORMS }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
528
|
+
/** @nocollapse */ DaffMagentoCartTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartTransformer, providedIn: 'root' });
|
|
529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartTransformer, decorators: [{
|
|
530
530
|
type: Injectable,
|
|
531
531
|
args: [{
|
|
532
532
|
providedIn: 'root',
|
|
@@ -558,9 +558,9 @@ class DaffMagentoCartAddressInputTransformer {
|
|
|
558
558
|
};
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
|
-
/** @nocollapse */ DaffMagentoCartAddressInputTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
562
|
-
/** @nocollapse */ DaffMagentoCartAddressInputTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
563
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
561
|
+
/** @nocollapse */ DaffMagentoCartAddressInputTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartAddressInputTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
562
|
+
/** @nocollapse */ DaffMagentoCartAddressInputTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartAddressInputTransformer, providedIn: 'root' });
|
|
563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartAddressInputTransformer, decorators: [{
|
|
564
564
|
type: Injectable,
|
|
565
565
|
args: [{
|
|
566
566
|
providedIn: 'root',
|
|
@@ -583,9 +583,9 @@ class DaffMagentoShippingAddressInputTransformer {
|
|
|
583
583
|
};
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
|
-
/** @nocollapse */ DaffMagentoShippingAddressInputTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
587
|
-
/** @nocollapse */ DaffMagentoShippingAddressInputTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
586
|
+
/** @nocollapse */ DaffMagentoShippingAddressInputTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoShippingAddressInputTransformer, deps: [{ token: DaffMagentoCartAddressInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
587
|
+
/** @nocollapse */ DaffMagentoShippingAddressInputTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoShippingAddressInputTransformer, providedIn: 'root' });
|
|
588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoShippingAddressInputTransformer, decorators: [{
|
|
589
589
|
type: Injectable,
|
|
590
590
|
args: [{
|
|
591
591
|
providedIn: 'root',
|
|
@@ -608,9 +608,9 @@ class DaffMagentoBillingAddressInputTransformer {
|
|
|
608
608
|
};
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
|
-
/** @nocollapse */ DaffMagentoBillingAddressInputTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
612
|
-
/** @nocollapse */ DaffMagentoBillingAddressInputTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
611
|
+
/** @nocollapse */ DaffMagentoBillingAddressInputTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoBillingAddressInputTransformer, deps: [{ token: DaffMagentoCartAddressInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
612
|
+
/** @nocollapse */ DaffMagentoBillingAddressInputTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoBillingAddressInputTransformer, providedIn: 'root' });
|
|
613
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoBillingAddressInputTransformer, decorators: [{
|
|
614
614
|
type: Injectable,
|
|
615
615
|
args: [{
|
|
616
616
|
providedIn: 'root',
|
|
@@ -625,9 +625,9 @@ class DaffMagentoCartItemUpdateInputTransformer {
|
|
|
625
625
|
};
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
|
-
/** @nocollapse */ DaffMagentoCartItemUpdateInputTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
629
|
-
/** @nocollapse */ DaffMagentoCartItemUpdateInputTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
628
|
+
/** @nocollapse */ DaffMagentoCartItemUpdateInputTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartItemUpdateInputTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
629
|
+
/** @nocollapse */ DaffMagentoCartItemUpdateInputTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartItemUpdateInputTransformer, providedIn: 'root' });
|
|
630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartItemUpdateInputTransformer, decorators: [{
|
|
631
631
|
type: Injectable,
|
|
632
632
|
args: [{
|
|
633
633
|
providedIn: 'root',
|
|
@@ -641,9 +641,9 @@ class DaffMagentoPaymentMethodInputTransformer {
|
|
|
641
641
|
};
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
/** @nocollapse */ DaffMagentoPaymentMethodInputTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
645
|
-
/** @nocollapse */ DaffMagentoPaymentMethodInputTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
646
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
644
|
+
/** @nocollapse */ DaffMagentoPaymentMethodInputTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoPaymentMethodInputTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
645
|
+
/** @nocollapse */ DaffMagentoPaymentMethodInputTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoPaymentMethodInputTransformer, providedIn: 'root' });
|
|
646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoPaymentMethodInputTransformer, decorators: [{
|
|
647
647
|
type: Injectable,
|
|
648
648
|
args: [{
|
|
649
649
|
providedIn: 'root',
|
|
@@ -658,9 +658,9 @@ class DaffMagentoShippingMethodInputTransformer {
|
|
|
658
658
|
};
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
|
-
/** @nocollapse */ DaffMagentoShippingMethodInputTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
662
|
-
/** @nocollapse */ DaffMagentoShippingMethodInputTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
661
|
+
/** @nocollapse */ DaffMagentoShippingMethodInputTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoShippingMethodInputTransformer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
662
|
+
/** @nocollapse */ DaffMagentoShippingMethodInputTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoShippingMethodInputTransformer, providedIn: 'root' });
|
|
663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoShippingMethodInputTransformer, decorators: [{
|
|
664
664
|
type: Injectable,
|
|
665
665
|
args: [{
|
|
666
666
|
providedIn: 'root',
|
|
@@ -1542,9 +1542,9 @@ class DaffMagentoCartService {
|
|
|
1542
1542
|
}
|
|
1543
1543
|
;
|
|
1544
1544
|
}
|
|
1545
|
-
/** @nocollapse */ DaffMagentoCartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1546
|
-
/** @nocollapse */ DaffMagentoCartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1547
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1545
|
+
/** @nocollapse */ DaffMagentoCartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DaffMagentoCartTransformer }, { token: DaffCartItemDriver }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1546
|
+
/** @nocollapse */ DaffMagentoCartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartService, providedIn: 'root' });
|
|
1547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartService, decorators: [{
|
|
1548
1548
|
type: Injectable,
|
|
1549
1549
|
args: [{
|
|
1550
1550
|
providedIn: 'root',
|
|
@@ -1659,9 +1659,9 @@ class DaffMagentoCartItemService {
|
|
|
1659
1659
|
: of(this.cartTransformer.transform(result.data.addProductsToCart.cart))), catchError(err => throwError(() => transformCartMagentoError(err))));
|
|
1660
1660
|
}
|
|
1661
1661
|
}
|
|
1662
|
-
/** @nocollapse */ DaffMagentoCartItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1663
|
-
/** @nocollapse */ DaffMagentoCartItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1662
|
+
/** @nocollapse */ DaffMagentoCartItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartItemService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoCartItemUpdateInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1663
|
+
/** @nocollapse */ DaffMagentoCartItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartItemService, providedIn: 'root' });
|
|
1664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartItemService, decorators: [{
|
|
1665
1665
|
type: Injectable,
|
|
1666
1666
|
args: [{
|
|
1667
1667
|
providedIn: 'root',
|
|
@@ -1750,9 +1750,9 @@ class DaffMagentoCartPaymentService {
|
|
|
1750
1750
|
}).pipe(map(resp => this.cartTransformer.transform(resp.data.setGuestEmailOnCart.cart)), catchError(error => throwError(() => transformCartMagentoError(error))));
|
|
1751
1751
|
}
|
|
1752
1752
|
}
|
|
1753
|
-
/** @nocollapse */ DaffMagentoCartPaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1754
|
-
/** @nocollapse */ DaffMagentoCartPaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1753
|
+
/** @nocollapse */ DaffMagentoCartPaymentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartPaymentService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoCartPaymentTransformer }, { token: DaffMagentoPaymentMethodInputTransformer }, { token: DaffMagentoBillingAddressInputTransformer }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1754
|
+
/** @nocollapse */ DaffMagentoCartPaymentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartPaymentService, providedIn: 'root' });
|
|
1755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartPaymentService, decorators: [{
|
|
1756
1756
|
type: Injectable,
|
|
1757
1757
|
args: [{
|
|
1758
1758
|
providedIn: 'root',
|
|
@@ -1784,9 +1784,9 @@ class DaffMagentoCartPaymentMethodsService {
|
|
|
1784
1784
|
}).pipe(map(result => result.data.cart.available_payment_methods.map(item => this.paymentTransformer.transform(item))), catchError(error => throwError(() => transformCartMagentoError(error))));
|
|
1785
1785
|
}
|
|
1786
1786
|
}
|
|
1787
|
-
/** @nocollapse */ DaffMagentoCartPaymentMethodsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1788
|
-
/** @nocollapse */ DaffMagentoCartPaymentMethodsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1787
|
+
/** @nocollapse */ DaffMagentoCartPaymentMethodsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartPaymentMethodsService, deps: [{ token: i1.Apollo }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartPaymentTransformer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1788
|
+
/** @nocollapse */ DaffMagentoCartPaymentMethodsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartPaymentMethodsService, providedIn: 'root' });
|
|
1789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartPaymentMethodsService, decorators: [{
|
|
1790
1790
|
type: Injectable,
|
|
1791
1791
|
args: [{
|
|
1792
1792
|
providedIn: 'root',
|
|
@@ -1842,9 +1842,9 @@ class DaffMagentoCartAddressService {
|
|
|
1842
1842
|
}).pipe(map(resp => this.cartTransformer.transform(resp.data.setGuestEmailOnCart.cart)), catchError(error => throwError(() => transformCartMagentoError(error))));
|
|
1843
1843
|
}
|
|
1844
1844
|
}
|
|
1845
|
-
/** @nocollapse */ DaffMagentoCartAddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1846
|
-
/** @nocollapse */ DaffMagentoCartAddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1847
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1845
|
+
/** @nocollapse */ DaffMagentoCartAddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartAddressService, deps: [{ token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoCartAddressInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1846
|
+
/** @nocollapse */ DaffMagentoCartAddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartAddressService, providedIn: 'root' });
|
|
1847
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartAddressService, decorators: [{
|
|
1848
1848
|
type: Injectable,
|
|
1849
1849
|
args: [{
|
|
1850
1850
|
providedIn: 'root',
|
|
@@ -1911,9 +1911,9 @@ class DaffMagentoCartBillingAddressService {
|
|
|
1911
1911
|
})), catchError(error => throwError(() => transformCartMagentoError(error))));
|
|
1912
1912
|
}
|
|
1913
1913
|
}
|
|
1914
|
-
/** @nocollapse */ DaffMagentoCartBillingAddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1915
|
-
/** @nocollapse */ DaffMagentoCartBillingAddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1914
|
+
/** @nocollapse */ DaffMagentoCartBillingAddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartBillingAddressService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoBillingAddressTransformer }, { token: DaffMagentoBillingAddressInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1915
|
+
/** @nocollapse */ DaffMagentoCartBillingAddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartBillingAddressService, providedIn: 'root' });
|
|
1916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartBillingAddressService, decorators: [{
|
|
1917
1917
|
type: Injectable,
|
|
1918
1918
|
args: [{
|
|
1919
1919
|
providedIn: 'root',
|
|
@@ -1980,9 +1980,9 @@ class DaffMagentoCartShippingAddressService {
|
|
|
1980
1980
|
})), catchError(error => throwError(() => transformCartMagentoError(error))));
|
|
1981
1981
|
}
|
|
1982
1982
|
}
|
|
1983
|
-
/** @nocollapse */ DaffMagentoCartShippingAddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1984
|
-
/** @nocollapse */ DaffMagentoCartShippingAddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1983
|
+
/** @nocollapse */ DaffMagentoCartShippingAddressService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartShippingAddressService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoShippingAddressTransformer }, { token: DaffMagentoShippingAddressInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1984
|
+
/** @nocollapse */ DaffMagentoCartShippingAddressService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartShippingAddressService, providedIn: 'root' });
|
|
1985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartShippingAddressService, decorators: [{
|
|
1986
1986
|
type: Injectable,
|
|
1987
1987
|
args: [{
|
|
1988
1988
|
providedIn: 'root',
|
|
@@ -2014,9 +2014,9 @@ class DaffMagentoCartShippingMethodsService {
|
|
|
2014
2014
|
}).pipe(map(result => result.data.cart.shipping_addresses[0].available_shipping_methods.map(item => this.shippingRateTransformer.transform(item))), catchError(error => throwError(() => transformCartMagentoError(error))));
|
|
2015
2015
|
}
|
|
2016
2016
|
}
|
|
2017
|
-
/** @nocollapse */ DaffMagentoCartShippingMethodsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2018
|
-
/** @nocollapse */ DaffMagentoCartShippingMethodsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2019
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2017
|
+
/** @nocollapse */ DaffMagentoCartShippingMethodsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartShippingMethodsService, deps: [{ token: i1.Apollo }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartShippingRateTransformer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2018
|
+
/** @nocollapse */ DaffMagentoCartShippingMethodsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartShippingMethodsService, providedIn: 'root' });
|
|
2019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartShippingMethodsService, decorators: [{
|
|
2020
2020
|
type: Injectable,
|
|
2021
2021
|
args: [{
|
|
2022
2022
|
providedIn: 'root',
|
|
@@ -2083,9 +2083,9 @@ class DaffMagentoCartShippingInformationService {
|
|
|
2083
2083
|
}).pipe(map(result => this.cartTransformer.transform(result.data.setShippingMethodsOnCart.cart)), catchError(error => throwError(() => transformCartMagentoError(error))));
|
|
2084
2084
|
}
|
|
2085
2085
|
}
|
|
2086
|
-
/** @nocollapse */ DaffMagentoCartShippingInformationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2087
|
-
/** @nocollapse */ DaffMagentoCartShippingInformationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2088
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2086
|
+
/** @nocollapse */ DaffMagentoCartShippingInformationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartShippingInformationService, deps: [{ token: i1.Apollo }, { token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartTransformer }, { token: DaffMagentoCartShippingRateTransformer }, { token: DaffMagentoShippingMethodInputTransformer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2087
|
+
/** @nocollapse */ DaffMagentoCartShippingInformationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartShippingInformationService, providedIn: 'root' });
|
|
2088
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartShippingInformationService, decorators: [{
|
|
2089
2089
|
type: Injectable,
|
|
2090
2090
|
args: [{
|
|
2091
2091
|
providedIn: 'root',
|
|
@@ -2141,9 +2141,9 @@ class DaffMagentoCartCouponService {
|
|
|
2141
2141
|
}).pipe(map(result => this.cartTransformer.transform(result.data.removeCouponFromCart.cart)), catchError(err => throwError(() => transformCartMagentoError(err))));
|
|
2142
2142
|
}
|
|
2143
2143
|
}
|
|
2144
|
-
/** @nocollapse */ DaffMagentoCartCouponService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2145
|
-
/** @nocollapse */ DaffMagentoCartCouponService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2144
|
+
/** @nocollapse */ DaffMagentoCartCouponService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartCouponService, deps: [{ token: DAFF_MAGENTO_CART_MUTATION_QUEUE }, { token: DAFF_CART_MAGENTO_EXTRA_CART_FRAGMENTS }, { token: DaffMagentoCartTransformer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2145
|
+
/** @nocollapse */ DaffMagentoCartCouponService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartCouponService, providedIn: 'root' });
|
|
2146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartCouponService, decorators: [{
|
|
2147
2147
|
type: Injectable,
|
|
2148
2148
|
args: [{
|
|
2149
2149
|
providedIn: 'root',
|
|
@@ -2179,9 +2179,9 @@ class DaffMagentoCartOrderService {
|
|
|
2179
2179
|
})), catchError(err => throwError(() => transformCartMagentoError(err))));
|
|
2180
2180
|
}
|
|
2181
2181
|
}
|
|
2182
|
-
/** @nocollapse */ DaffMagentoCartOrderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2183
|
-
/** @nocollapse */ DaffMagentoCartOrderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2182
|
+
/** @nocollapse */ DaffMagentoCartOrderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartOrderService, deps: [{ token: DAFF_MAGENTO_CART_MUTATION_QUEUE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2183
|
+
/** @nocollapse */ DaffMagentoCartOrderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartOrderService, providedIn: 'root' });
|
|
2184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartOrderService, decorators: [{
|
|
2185
2185
|
type: Injectable,
|
|
2186
2186
|
args: [{
|
|
2187
2187
|
providedIn: 'root',
|
|
@@ -2232,9 +2232,9 @@ class DaffMagentoCartCouponResponseTransformer {
|
|
|
2232
2232
|
} : null;
|
|
2233
2233
|
}
|
|
2234
2234
|
}
|
|
2235
|
-
/** @nocollapse */ DaffMagentoCartCouponResponseTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2236
|
-
/** @nocollapse */ DaffMagentoCartCouponResponseTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2235
|
+
/** @nocollapse */ DaffMagentoCartCouponResponseTransformer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartCouponResponseTransformer, deps: [{ token: DAFF_CART_MAGENTO_CART_ITEM_TRANSFORMS }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2236
|
+
/** @nocollapse */ DaffMagentoCartCouponResponseTransformer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartCouponResponseTransformer, providedIn: 'root' });
|
|
2237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffMagentoCartCouponResponseTransformer, decorators: [{
|
|
2238
2238
|
type: Injectable,
|
|
2239
2239
|
args: [{
|
|
2240
2240
|
providedIn: 'root',
|
|
@@ -2319,12 +2319,10 @@ class DaffCartMagentoDriverModule {
|
|
|
2319
2319
|
};
|
|
2320
2320
|
}
|
|
2321
2321
|
}
|
|
2322
|
-
/** @nocollapse */ DaffCartMagentoDriverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2323
|
-
/** @nocollapse */ DaffCartMagentoDriverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
2324
|
-
/** @nocollapse */ DaffCartMagentoDriverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2325
|
-
|
|
2326
|
-
]] });
|
|
2327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffCartMagentoDriverModule, decorators: [{
|
|
2322
|
+
/** @nocollapse */ DaffCartMagentoDriverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffCartMagentoDriverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2323
|
+
/** @nocollapse */ DaffCartMagentoDriverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DaffCartMagentoDriverModule, imports: [CommonModule] });
|
|
2324
|
+
/** @nocollapse */ DaffCartMagentoDriverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffCartMagentoDriverModule, imports: [CommonModule] });
|
|
2325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffCartMagentoDriverModule, decorators: [{
|
|
2328
2326
|
type: NgModule,
|
|
2329
2327
|
args: [{
|
|
2330
2328
|
imports: [
|