@daffodil/cart 0.75.0 → 0.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -1
- package/driver/magento/errors/map.d.ts +2 -0
- package/esm2022/driver/errors/cart-not-found.mjs +1 -1
- package/esm2022/driver/errors/invalid-country.mjs +1 -1
- package/esm2022/driver/errors/invalid-coupon-code.mjs +1 -1
- package/esm2022/driver/errors/invalid-email.mjs +1 -1
- package/esm2022/driver/errors/invalid-region.mjs +1 -1
- package/esm2022/driver/errors/item-exceeds-max-qty.mjs +1 -1
- package/esm2022/driver/errors/product-not-found.mjs +1 -1
- package/esm2022/driver/errors/product-out-of-stock.mjs +1 -1
- package/esm2022/driver/errors/unauthorized-for-cart.mjs +1 -1
- package/esm2022/driver/in-memory/backend/cart/cart.service.mjs +4 -4
- package/esm2022/driver/in-memory/backend/cart-address/cart-address.service.mjs +4 -4
- package/esm2022/driver/in-memory/backend/cart-billing-address/cart-billing-address.service.mjs +4 -4
- package/esm2022/driver/in-memory/backend/cart-coupon/cart-coupon.service.mjs +4 -4
- package/esm2022/driver/in-memory/backend/cart-items/cart-items.service.mjs +4 -4
- package/esm2022/driver/in-memory/backend/cart-order/cart-order.service.mjs +4 -4
- package/esm2022/driver/in-memory/backend/cart-payment/cart-payment.service.mjs +4 -4
- package/esm2022/driver/in-memory/backend/cart-payment-methods/cart-payment-methods.service.mjs +4 -4
- package/esm2022/driver/in-memory/backend/cart-root.service.mjs +4 -4
- package/esm2022/driver/in-memory/backend/cart-shipping-address/cart-shipping-address.service.mjs +4 -4
- package/esm2022/driver/in-memory/backend/cart-shipping-information/cart-shipping-information.service.mjs +4 -4
- package/esm2022/driver/in-memory/backend/cart-shipping-methods/cart-shipping-methods.service.mjs +4 -4
- package/esm2022/driver/in-memory/drivers/cart/cart.service.mjs +4 -4
- package/esm2022/driver/in-memory/drivers/cart-address/cart-address.service.mjs +4 -4
- package/esm2022/driver/in-memory/drivers/cart-billing-address/cart-billing-address.service.mjs +4 -4
- package/esm2022/driver/in-memory/drivers/cart-coupon/cart-coupon.service.mjs +4 -4
- package/esm2022/driver/in-memory/drivers/cart-driver.module.mjs +5 -5
- package/esm2022/driver/in-memory/drivers/cart-item/cart-item.service.mjs +4 -4
- package/esm2022/driver/in-memory/drivers/cart-order/cart-order.service.mjs +4 -4
- package/esm2022/driver/in-memory/drivers/cart-payment/cart-payment.service.mjs +4 -4
- package/esm2022/driver/in-memory/drivers/cart-payment-methods/cart-payment-methods.service.mjs +4 -4
- package/esm2022/driver/in-memory/drivers/cart-shipping-address/cart-shipping-address.service.mjs +4 -4
- package/esm2022/driver/in-memory/drivers/cart-shipping-information/cart-shipping-information.service.mjs +4 -4
- package/esm2022/driver/in-memory/drivers/cart-shipping-methods/cart-shipping-methods.service.mjs +4 -4
- package/esm2022/driver/interfaces/cart-address-service.interface.mjs +1 -1
- package/esm2022/driver/interfaces/cart-billing-address-service.interface.mjs +1 -1
- package/esm2022/driver/interfaces/cart-item-service.interface.mjs +1 -1
- package/esm2022/driver/interfaces/cart-payment-methods-service.interface.mjs +1 -1
- package/esm2022/driver/interfaces/cart-payment-service.interface.mjs +1 -1
- package/esm2022/driver/interfaces/cart-shipping-address-service.interface.mjs +1 -1
- package/esm2022/driver/interfaces/cart-shipping-information-service.interface.mjs +1 -1
- package/esm2022/driver/interfaces/cart-shipping-methods-service.interface.mjs +1 -1
- package/esm2022/driver/magento/cart-address.service.mjs +4 -4
- package/esm2022/driver/magento/cart-billing-address.service.mjs +4 -4
- package/esm2022/driver/magento/cart-coupon.service.mjs +4 -4
- package/esm2022/driver/magento/cart-driver.module.mjs +5 -5
- package/esm2022/driver/magento/cart-item.service.mjs +4 -4
- package/esm2022/driver/magento/cart-order.service.mjs +4 -4
- package/esm2022/driver/magento/cart-payment-methods.service.mjs +4 -4
- package/esm2022/driver/magento/cart-payment.service.mjs +4 -4
- package/esm2022/driver/magento/cart-shipping-address.service.mjs +4 -4
- package/esm2022/driver/magento/cart-shipping-information.service.mjs +4 -4
- package/esm2022/driver/magento/cart-shipping-methods.service.mjs +4 -4
- package/esm2022/driver/magento/cart.service.mjs +4 -4
- package/esm2022/driver/magento/errors/map.mjs +3 -1
- package/esm2022/driver/magento/errors/transform.mjs +1 -1
- package/esm2022/driver/magento/queries/create-cart/variables.type.mjs +1 -1
- package/esm2022/driver/magento/testing/factories/cart-address-input.factory.mjs +4 -4
- package/esm2022/driver/magento/testing/factories/cart-address.factory.mjs +4 -4
- package/esm2022/driver/magento/testing/factories/cart-coupon.factory.mjs +4 -4
- package/esm2022/driver/magento/testing/factories/cart-item/bundle-cart-item.factory.mjs +4 -4
- package/esm2022/driver/magento/testing/factories/cart-item/cart-item.factory.mjs +4 -4
- package/esm2022/driver/magento/testing/factories/cart-item/configurable-cart-item.factory.mjs +4 -4
- package/esm2022/driver/magento/testing/factories/cart-payment-method.factory.mjs +4 -4
- package/esm2022/driver/magento/testing/factories/cart-shipping-method.factory.mjs +4 -4
- package/esm2022/driver/magento/testing/factories/cart.factory.mjs +4 -4
- package/esm2022/driver/magento/testing/factories/shipping-address.factory.mjs +4 -4
- package/esm2022/driver/magento/transforms/inputs/billing-address.service.mjs +4 -4
- package/esm2022/driver/magento/transforms/inputs/cart-address.service.mjs +4 -4
- package/esm2022/driver/magento/transforms/inputs/cart-item-update.service.mjs +4 -4
- package/esm2022/driver/magento/transforms/inputs/payment-method.service.mjs +4 -4
- package/esm2022/driver/magento/transforms/inputs/shipping-address.service.mjs +4 -4
- package/esm2022/driver/magento/transforms/inputs/shipping-method.service.mjs +4 -4
- package/esm2022/driver/magento/transforms/outputs/billing-address.service.mjs +4 -4
- package/esm2022/driver/magento/transforms/outputs/cart-address.service.mjs +4 -4
- package/esm2022/driver/magento/transforms/outputs/cart-coupon-response.service.mjs +4 -4
- package/esm2022/driver/magento/transforms/outputs/cart-item/cart-item-transformer.mjs +1 -1
- package/esm2022/driver/magento/transforms/outputs/cart-payment.service.mjs +4 -4
- package/esm2022/driver/magento/transforms/outputs/cart-shipping-rate.service.mjs +4 -4
- package/esm2022/driver/magento/transforms/outputs/cart.service.mjs +4 -4
- package/esm2022/driver/magento/transforms/outputs/shipping-address.service.mjs +4 -4
- package/esm2022/driver/operators/handle-cart-not-found.mjs +1 -1
- package/esm2022/driver/services/resolve.service.mjs +4 -4
- package/esm2022/driver/testing/drivers/cart/cart.service.mjs +4 -4
- package/esm2022/driver/testing/drivers/cart-address/cart-address.service.mjs +4 -4
- package/esm2022/driver/testing/drivers/cart-billing-address/cart-billing-address.service.mjs +4 -4
- package/esm2022/driver/testing/drivers/cart-coupon/cart-coupon.service.mjs +4 -4
- package/esm2022/driver/testing/drivers/cart-driver.module.mjs +5 -5
- package/esm2022/driver/testing/drivers/cart-item/cart-item.service.mjs +4 -4
- package/esm2022/driver/testing/drivers/cart-order/cart-order.service.mjs +4 -4
- package/esm2022/driver/testing/drivers/cart-payment/cart-payment.service.mjs +4 -4
- package/esm2022/driver/testing/drivers/cart-payment-methods/cart-payment-methods.service.mjs +4 -4
- package/esm2022/driver/testing/drivers/cart-shipping-address/cart-shipping-address.service.mjs +4 -4
- package/esm2022/driver/testing/drivers/cart-shipping-information/cart-shipping-information.service.mjs +4 -4
- package/esm2022/driver/testing/drivers/cart-shipping-methods/cart-shipping-methods.service.mjs +4 -4
- package/esm2022/errors/resolution/cart-not-found-or-created-resolution.mjs +1 -1
- package/esm2022/errors/resolution/cart-resolution.mjs +1 -1
- package/esm2022/errors/resolution/cart-server-side-resolution.mjs +1 -1
- package/esm2022/errors/resolution/cart-storage-resolution.mjs +1 -1
- package/esm2022/helpers/get-affected-item.mjs +1 -1
- package/esm2022/routing/cart-routing.module.mjs +5 -5
- package/esm2022/routing/config/config.mjs +1 -1
- package/esm2022/routing/guards/billing-address/billing-address.guard.mjs +4 -4
- package/esm2022/routing/guards/cart-items/cart-items.guard.mjs +4 -4
- package/esm2022/routing/guards/in-stock-items/in-stock-items.guard.mjs +4 -4
- package/esm2022/routing/guards/order-result/order-result.guard.mjs +4 -4
- package/esm2022/routing/guards/payment-method/payment-method.guard.mjs +4 -4
- package/esm2022/routing/guards/resolve-cart/resolve-cart.guard.mjs +4 -4
- package/esm2022/routing/guards/resolved-cart/resolved-cart.guard.mjs +4 -4
- package/esm2022/routing/guards/shipping-address/shipping-address.guard.mjs +4 -4
- package/esm2022/routing/guards/shipping-method/shipping-method.guard.mjs +4 -4
- package/esm2022/routing/resolvers/cart-resolver.service.mjs +4 -4
- package/esm2022/routing/resolvers/empty-cart-resolver.service.mjs +4 -4
- package/esm2022/state/cart-retrieval/get-response.mjs +1 -1
- package/esm2022/state/cart-state.module.mjs +5 -5
- package/esm2022/state/effects/cart-address.effects.mjs +4 -4
- package/esm2022/state/effects/cart-billing-address.effects.mjs +4 -4
- package/esm2022/state/effects/cart-coupon.effects.mjs +4 -4
- package/esm2022/state/effects/cart-item.effects.mjs +4 -4
- package/esm2022/state/effects/cart-order.effects.mjs +4 -4
- package/esm2022/state/effects/cart-payment-methods.effects.mjs +4 -4
- package/esm2022/state/effects/cart-payment-processor.effects.mjs +4 -4
- package/esm2022/state/effects/cart-payment.effects.mjs +4 -4
- package/esm2022/state/effects/cart-resolver.effects.mjs +4 -4
- package/esm2022/state/effects/cart-shipping-address.effects.mjs +4 -4
- package/esm2022/state/effects/cart-shipping-information.effects.mjs +4 -4
- package/esm2022/state/effects/cart-shipping-methods.effects.mjs +4 -4
- package/esm2022/state/effects/cart.effects.mjs +4 -4
- package/esm2022/state/facades/cart/cart.facade.mjs +6 -6
- package/esm2022/state/reducers/cart/cart.reducer.mjs +1 -1
- package/esm2022/state/reducers/cart-billing-address/cart-billing-address.reducer.mjs +1 -1
- package/esm2022/state/reducers/cart-coupon/cart-coupon.reducer.mjs +1 -1
- package/esm2022/state/reducers/cart-item/cart-item.reducer.mjs +1 -1
- package/esm2022/state/reducers/cart-item-entities/cart-item-entities.reducer.mjs +1 -1
- package/esm2022/state/reducers/cart-item-entities/set-state-meta-reducer.mjs +1 -1
- package/esm2022/state/reducers/cart-order/cart-order.reducer.mjs +1 -1
- package/esm2022/state/reducers/cart-payment/cart-payment.reducer.mjs +1 -1
- package/esm2022/state/reducers/cart-payment/payment.reducer.mjs +1 -1
- package/esm2022/state/reducers/cart-payment-methods/cart-payment-methods.reducer.mjs +1 -1
- package/esm2022/state/reducers/cart-resolve/cart-resolve.reducer.mjs +1 -1
- package/esm2022/state/reducers/cart-shipping-address/cart-shipping-address.reducer.mjs +1 -1
- package/esm2022/state/reducers/cart-shipping-information/cart-shipping-information.reducer.mjs +1 -1
- package/esm2022/state/reducers/cart-shipping-methods/cart-shipping-methods.reducer.mjs +1 -1
- package/esm2022/state/selectors/cart-item-entities/cart-item-entities.selectors.mjs +1 -1
- package/esm2022/state/testing/cart-testing.module.mjs +5 -5
- package/esm2022/state/testing/factories/stateful-cart-item.factory.mjs +4 -4
- package/esm2022/state/testing/factories/stateful-composite-cart-item.factory.mjs +4 -4
- package/esm2022/state/testing/factories/stateful-configurable-cart-item.factory.mjs +4 -4
- package/esm2022/state/testing/mock-cart-facade.mjs +4 -4
- package/esm2022/storage/cart-storage.service.mjs +4 -4
- package/esm2022/testing/factories/cart-address.factory.mjs +4 -4
- package/esm2022/testing/factories/cart-coupon.factory.mjs +4 -4
- package/esm2022/testing/factories/cart-item/cart-item.factory.mjs +4 -4
- package/esm2022/testing/factories/cart-item/composite-cart-item.factory.mjs +4 -4
- package/esm2022/testing/factories/cart-item/configurable-cart-item.factory.mjs +4 -4
- package/esm2022/testing/factories/cart-payment.factory.mjs +4 -4
- package/esm2022/testing/factories/cart-shipping-rate.factory.mjs +4 -4
- package/esm2022/testing/factories/cart-total.factory.mjs +4 -4
- package/esm2022/testing/factories/cart.factory.mjs +4 -4
- package/fesm2022/daffodil-cart-driver-in-memory.mjs +73 -73
- package/fesm2022/daffodil-cart-driver-in-memory.mjs.map +1 -1
- package/fesm2022/daffodil-cart-driver-magento-testing.mjs +30 -30
- package/fesm2022/daffodil-cart-driver-magento-testing.mjs.map +1 -1
- package/fesm2022/daffodil-cart-driver-magento.mjs +78 -76
- package/fesm2022/daffodil-cart-driver-magento.mjs.map +1 -1
- package/fesm2022/daffodil-cart-driver-testing.mjs +37 -37
- package/fesm2022/daffodil-cart-driver-testing.mjs.map +1 -1
- package/fesm2022/daffodil-cart-driver.mjs +3 -3
- package/fesm2022/daffodil-cart-driver.mjs.map +1 -1
- package/fesm2022/daffodil-cart-routing.mjs +37 -37
- package/fesm2022/daffodil-cart-routing.mjs.map +1 -1
- package/fesm2022/daffodil-cart-state-testing.mjs +16 -16
- package/fesm2022/daffodil-cart-state-testing.mjs.map +1 -1
- package/fesm2022/daffodil-cart-state.mjs +48 -48
- package/fesm2022/daffodil-cart-state.mjs.map +1 -1
- package/fesm2022/daffodil-cart-testing.mjs +27 -27
- package/fesm2022/daffodil-cart-testing.mjs.map +1 -1
- package/fesm2022/daffodil-cart.mjs +3 -3
- package/fesm2022/daffodil-cart.mjs.map +1 -1
- package/package.json +1 -1
- package/state/facades/cart/cart.facade.d.ts +1 -1
- package/state/reducers/cart-item-entities/retrieval-actions.reducer.d.ts +1 -1
- package/state/reducers/token/config.token.d.ts +1 -1
- package/state/reducers/token/extra.token.d.ts +1 -1
- package/state/reducers/token/reducers.token.d.ts +1 -1
- package/state/selectors/cart/cart.selector.d.ts +1 -1
|
@@ -47,10 +47,10 @@ class DaffInMemoryCartService {
|
|
|
47
47
|
errors: [],
|
|
48
48
|
})));
|
|
49
49
|
}
|
|
50
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
51
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
50
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
51
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartService, providedIn: 'root' }); }
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartService, decorators: [{
|
|
54
54
|
type: Injectable,
|
|
55
55
|
args: [{
|
|
56
56
|
providedIn: 'root',
|
|
@@ -83,10 +83,10 @@ class DaffInMemoryCartItemService {
|
|
|
83
83
|
delete(cartId, itemId) {
|
|
84
84
|
return this.http.delete(`${this.url}/${cartId}/${itemId}`);
|
|
85
85
|
}
|
|
86
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
87
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
86
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartItemService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
87
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartItemService, providedIn: 'root' }); }
|
|
88
88
|
}
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartItemService, decorators: [{
|
|
90
90
|
type: Injectable,
|
|
91
91
|
args: [{
|
|
92
92
|
providedIn: 'root',
|
|
@@ -110,10 +110,10 @@ class DaffInMemoryCartBillingAddressService {
|
|
|
110
110
|
update(cartId, address) {
|
|
111
111
|
return this.http.put(`${this.url}/${cartId}`, address);
|
|
112
112
|
}
|
|
113
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
114
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
113
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartBillingAddressService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
114
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartBillingAddressService, providedIn: 'root' }); }
|
|
115
115
|
}
|
|
116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartBillingAddressService, decorators: [{
|
|
117
117
|
type: Injectable,
|
|
118
118
|
args: [{
|
|
119
119
|
providedIn: 'root',
|
|
@@ -143,10 +143,10 @@ class DaffInMemoryCartPaymentService {
|
|
|
143
143
|
remove(cartId) {
|
|
144
144
|
return this.http.delete(`${this.url}/${cartId}`);
|
|
145
145
|
}
|
|
146
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
147
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
146
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartPaymentService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
147
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartPaymentService, providedIn: 'root' }); }
|
|
148
148
|
}
|
|
149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartPaymentService, decorators: [{
|
|
150
150
|
type: Injectable,
|
|
151
151
|
args: [{
|
|
152
152
|
providedIn: 'root',
|
|
@@ -167,10 +167,10 @@ class DaffInMemoryCartPaymentMethodsService {
|
|
|
167
167
|
list(cartId) {
|
|
168
168
|
return this.http.get(`${this.url}/${cartId}`);
|
|
169
169
|
}
|
|
170
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
171
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
170
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartPaymentMethodsService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
171
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartPaymentMethodsService, providedIn: 'root' }); }
|
|
172
172
|
}
|
|
173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartPaymentMethodsService, decorators: [{
|
|
174
174
|
type: Injectable,
|
|
175
175
|
args: [{
|
|
176
176
|
providedIn: 'root',
|
|
@@ -194,10 +194,10 @@ class DaffInMemoryCartShippingAddressService {
|
|
|
194
194
|
update(cartId, address) {
|
|
195
195
|
return this.http.put(`${this.url}/${cartId}`, address);
|
|
196
196
|
}
|
|
197
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
198
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
197
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingAddressService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
198
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingAddressService, providedIn: 'root' }); }
|
|
199
199
|
}
|
|
200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingAddressService, decorators: [{
|
|
201
201
|
type: Injectable,
|
|
202
202
|
args: [{
|
|
203
203
|
providedIn: 'root',
|
|
@@ -224,10 +224,10 @@ class DaffInMemoryCartShippingInformationService {
|
|
|
224
224
|
delete(cartId) {
|
|
225
225
|
return this.http.delete(`${this.url}/${cartId}`);
|
|
226
226
|
}
|
|
227
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
228
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
227
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingInformationService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
228
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingInformationService, providedIn: 'root' }); }
|
|
229
229
|
}
|
|
230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingInformationService, decorators: [{
|
|
231
231
|
type: Injectable,
|
|
232
232
|
args: [{
|
|
233
233
|
providedIn: 'root',
|
|
@@ -248,10 +248,10 @@ class DaffInMemoryCartShippingMethodsService {
|
|
|
248
248
|
list(cartId) {
|
|
249
249
|
return this.http.get(`${this.url}/${cartId}`);
|
|
250
250
|
}
|
|
251
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
252
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
251
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingMethodsService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
252
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingMethodsService, providedIn: 'root' }); }
|
|
253
253
|
}
|
|
254
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingMethodsService, decorators: [{
|
|
255
255
|
type: Injectable,
|
|
256
256
|
args: [{
|
|
257
257
|
providedIn: 'root',
|
|
@@ -272,10 +272,10 @@ class DaffInMemoryCartOrderService {
|
|
|
272
272
|
placeOrder(cartId, payment) {
|
|
273
273
|
return this.http.post(`${this.url}/${cartId}/`, { payment });
|
|
274
274
|
}
|
|
275
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
276
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
275
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartOrderService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
276
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartOrderService, providedIn: 'root' }); }
|
|
277
277
|
}
|
|
278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartOrderService, decorators: [{
|
|
279
279
|
type: Injectable,
|
|
280
280
|
args: [{
|
|
281
281
|
providedIn: 'root',
|
|
@@ -305,10 +305,10 @@ class DaffInMemoryCartCouponService {
|
|
|
305
305
|
removeAll(cartId) {
|
|
306
306
|
return this.http.delete(`${this.url}/${cartId}/`);
|
|
307
307
|
}
|
|
308
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
309
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
308
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartCouponService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
309
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartCouponService, providedIn: 'root' }); }
|
|
310
310
|
}
|
|
311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartCouponService, decorators: [{
|
|
312
312
|
type: Injectable,
|
|
313
313
|
args: [{
|
|
314
314
|
providedIn: 'root',
|
|
@@ -329,10 +329,10 @@ class DaffInMemoryCartAddressService {
|
|
|
329
329
|
update(cartId, address) {
|
|
330
330
|
return this.http.put(`${this.url}/${cartId}`, address);
|
|
331
331
|
}
|
|
332
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
333
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
332
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartAddressService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
333
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartAddressService, providedIn: 'root' }); }
|
|
334
334
|
}
|
|
335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartAddressService, decorators: [{
|
|
336
336
|
type: Injectable,
|
|
337
337
|
args: [{
|
|
338
338
|
providedIn: 'root',
|
|
@@ -391,11 +391,11 @@ class DaffCartInMemoryDriverModule {
|
|
|
391
391
|
],
|
|
392
392
|
};
|
|
393
393
|
}
|
|
394
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
395
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
396
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
394
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCartInMemoryDriverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
395
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffCartInMemoryDriverModule, imports: [CommonModule] }); }
|
|
396
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCartInMemoryDriverModule, imports: [CommonModule] }); }
|
|
397
397
|
}
|
|
398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCartInMemoryDriverModule, decorators: [{
|
|
399
399
|
type: NgModule,
|
|
400
400
|
args: [{
|
|
401
401
|
imports: [
|
|
@@ -570,10 +570,10 @@ class DaffInMemoryBackendCartService {
|
|
|
570
570
|
status: STATUS.NOT_FOUND,
|
|
571
571
|
};
|
|
572
572
|
}
|
|
573
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
574
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
573
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartService, deps: [{ token: i1$1.DaffCartFactory }, { token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }, { token: i2.DaffInMemoryBackendProductService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
574
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartService, providedIn: 'root' }); }
|
|
575
575
|
}
|
|
576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartService, decorators: [{
|
|
577
577
|
type: Injectable,
|
|
578
578
|
args: [{
|
|
579
579
|
providedIn: 'root',
|
|
@@ -609,10 +609,10 @@ class DaffInMemoryBackendCartAddressService {
|
|
|
609
609
|
extra_attributes: this.extraFieldsHook(reqInfo, cart),
|
|
610
610
|
};
|
|
611
611
|
}
|
|
612
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
613
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
612
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartAddressService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
613
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartAddressService, providedIn: 'root' }); }
|
|
614
614
|
}
|
|
615
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
615
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartAddressService, decorators: [{
|
|
616
616
|
type: Injectable,
|
|
617
617
|
args: [{
|
|
618
618
|
providedIn: 'root',
|
|
@@ -656,10 +656,10 @@ class DaffInMemoryBackendCartBillingAddressService {
|
|
|
656
656
|
extra_attributes: this.extraFieldsHook(reqInfo, cart),
|
|
657
657
|
};
|
|
658
658
|
}
|
|
659
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
660
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
659
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartBillingAddressService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
660
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartBillingAddressService, providedIn: 'root' }); }
|
|
661
661
|
}
|
|
662
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
662
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartBillingAddressService, decorators: [{
|
|
663
663
|
type: Injectable,
|
|
664
664
|
args: [{
|
|
665
665
|
providedIn: 'root',
|
|
@@ -741,10 +741,10 @@ class DaffInMemoryBackendCartCouponService {
|
|
|
741
741
|
extra_attributes: this.extraFieldsHook(reqInfo, cart),
|
|
742
742
|
};
|
|
743
743
|
}
|
|
744
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
745
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
744
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartCouponService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
745
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartCouponService, providedIn: 'root' }); }
|
|
746
746
|
}
|
|
747
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
747
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartCouponService, decorators: [{
|
|
748
748
|
type: Injectable,
|
|
749
749
|
args: [{
|
|
750
750
|
providedIn: 'root',
|
|
@@ -879,10 +879,10 @@ class DaffInMemoryBackendCartItemsService {
|
|
|
879
879
|
}, this.productBackend.products);
|
|
880
880
|
return reqInfo.collection[cartIndex];
|
|
881
881
|
}
|
|
882
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
883
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
882
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartItemsService, deps: [{ token: i1$1.DaffCartItemFactory }, { token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }, { token: i2.DaffInMemoryBackendProductService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
883
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartItemsService, providedIn: 'root' }); }
|
|
884
884
|
}
|
|
885
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartItemsService, decorators: [{
|
|
886
886
|
type: Injectable,
|
|
887
887
|
args: [{
|
|
888
888
|
providedIn: 'root',
|
|
@@ -909,10 +909,10 @@ class DaffInMemoryBackendCartOrderService {
|
|
|
909
909
|
orderId: '8235422034',
|
|
910
910
|
};
|
|
911
911
|
}
|
|
912
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
913
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
912
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartOrderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
913
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartOrderService, providedIn: 'root' }); }
|
|
914
914
|
}
|
|
915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
915
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartOrderService, decorators: [{
|
|
916
916
|
type: Injectable,
|
|
917
917
|
args: [{
|
|
918
918
|
providedIn: 'root',
|
|
@@ -970,10 +970,10 @@ class DaffInMemoryBackendCartPaymentService {
|
|
|
970
970
|
extra_attributes: this.extraFieldsHook(reqInfo, cart),
|
|
971
971
|
};
|
|
972
972
|
}
|
|
973
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
974
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
973
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartPaymentService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
974
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartPaymentService, providedIn: 'root' }); }
|
|
975
975
|
}
|
|
976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
976
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartPaymentService, decorators: [{
|
|
977
977
|
type: Injectable,
|
|
978
978
|
args: [{
|
|
979
979
|
providedIn: 'root',
|
|
@@ -999,10 +999,10 @@ class DaffInMemoryBackendCartPaymentMethodsService {
|
|
|
999
999
|
listPaymentMethods(reqInfo) {
|
|
1000
1000
|
return this.getCart(reqInfo).available_payment_methods;
|
|
1001
1001
|
}
|
|
1002
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1003
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1002
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartPaymentMethodsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1003
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartPaymentMethodsService, providedIn: 'root' }); }
|
|
1004
1004
|
}
|
|
1005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartPaymentMethodsService, decorators: [{
|
|
1006
1006
|
type: Injectable,
|
|
1007
1007
|
args: [{
|
|
1008
1008
|
providedIn: 'root',
|
|
@@ -1043,10 +1043,10 @@ class DaffInMemoryBackendCartShippingAddressService {
|
|
|
1043
1043
|
extra_attributes: this.extraFieldsHook(reqInfo, cart),
|
|
1044
1044
|
};
|
|
1045
1045
|
}
|
|
1046
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1047
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1046
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingAddressService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1047
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingAddressService, providedIn: 'root' }); }
|
|
1048
1048
|
}
|
|
1049
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingAddressService, decorators: [{
|
|
1050
1050
|
type: Injectable,
|
|
1051
1051
|
args: [{
|
|
1052
1052
|
providedIn: 'root',
|
|
@@ -1105,10 +1105,10 @@ class DaffInMemoryBackendCartShippingInformationService {
|
|
|
1105
1105
|
extra_attributes: this.extraFieldsHook(reqInfo, cart),
|
|
1106
1106
|
};
|
|
1107
1107
|
}
|
|
1108
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1109
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1108
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingInformationService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }, { token: i2.DaffInMemoryBackendProductService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1109
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingInformationService, providedIn: 'root' }); }
|
|
1110
1110
|
}
|
|
1111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingInformationService, decorators: [{
|
|
1112
1112
|
type: Injectable,
|
|
1113
1113
|
args: [{
|
|
1114
1114
|
providedIn: 'root',
|
|
@@ -1146,10 +1146,10 @@ class DaffInMemoryBackendCartShippingMethodsService {
|
|
|
1146
1146
|
}
|
|
1147
1147
|
return cart.available_shipping_methods;
|
|
1148
1148
|
}
|
|
1149
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1150
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1149
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingMethodsService, deps: [{ token: i1$1.DaffCartShippingRateFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1150
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingMethodsService, providedIn: 'root' }); }
|
|
1151
1151
|
}
|
|
1152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingMethodsService, decorators: [{
|
|
1153
1153
|
type: Injectable,
|
|
1154
1154
|
args: [{
|
|
1155
1155
|
providedIn: 'root',
|
|
@@ -1250,10 +1250,10 @@ class DaffInMemoryBackendCartRootService {
|
|
|
1250
1250
|
}));
|
|
1251
1251
|
}
|
|
1252
1252
|
}
|
|
1253
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1254
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1253
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartRootService, deps: [{ token: DaffInMemoryBackendCartService }, { token: DaffInMemoryBackendCartItemsService }, { token: DaffInMemoryBackendCartOrderService }, { token: DaffInMemoryBackendCartCouponService }, { token: DaffInMemoryBackendCartAddressService }, { token: DaffInMemoryBackendCartShippingAddressService }, { token: DaffInMemoryBackendCartBillingAddressService }, { token: DaffInMemoryBackendCartPaymentMethodsService }, { token: DaffInMemoryBackendCartShippingMethodsService }, { token: DaffInMemoryBackendCartPaymentService }, { token: DaffInMemoryBackendCartShippingInformationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1254
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartRootService, providedIn: 'root' }); }
|
|
1255
1255
|
}
|
|
1256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartRootService, decorators: [{
|
|
1257
1257
|
type: Injectable,
|
|
1258
1258
|
args: [{
|
|
1259
1259
|
providedIn: 'root',
|