@daffodil/checkout 0.66.1 → 0.67.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/billing/actions/billing.actions.d.ts +1 -1
- package/{esm2020 → esm2022}/billing/billing-state.module.mjs +5 -5
- package/{esm2020 → esm2022}/billing/billing.module.mjs +13 -13
- package/{esm2020 → esm2022}/billing/containers/billing.component.mjs +5 -5
- package/{esm2020 → esm2022}/billing/facades/billing.facade.mjs +5 -5
- package/{esm2020 → esm2022}/checkout.module.mjs +19 -19
- package/{esm2020 → esm2022}/order/containers/order.component.mjs +5 -5
- package/{esm2020 → esm2022}/order/effects/order.effects.mjs +6 -6
- package/{esm2020 → esm2022}/order/facades/order.facade.mjs +5 -5
- package/esm2022/order/order-state.module.mjs +31 -0
- package/{esm2020 → esm2022}/order/order.module.mjs +13 -13
- package/{esm2020 → esm2022}/payment/facades/payment.facade.mjs +5 -5
- package/{esm2020 → esm2022}/payment/payment-state.module.mjs +5 -5
- package/{esm2020 → esm2022}/payment/payment.module.mjs +13 -13
- package/{esm2020 → esm2022}/shipping/containers/shipping.component.mjs +5 -5
- package/{esm2020 → esm2022}/shipping/facades/shipping.facade.mjs +5 -5
- package/{esm2020 → esm2022}/shipping/shipping-state.module.mjs +5 -5
- package/{esm2020 → esm2022}/shipping/shipping.module.mjs +13 -13
- package/{esm2020 → esm2022}/testing/drivers/in-memory/checkout-driver.module.mjs +5 -5
- package/{esm2020 → esm2022}/testing/drivers/in-memory/checkout.service.mjs +5 -5
- package/{esm2020 → esm2022}/testing/drivers/testing/checkout-driver.module.mjs +5 -5
- package/{esm2020 → esm2022}/testing/drivers/testing/checkout.service.mjs +5 -5
- package/{esm2020 → esm2022}/testing/inmemory-backend/checkout.service.mjs +5 -5
- package/{esm2020 → esm2022}/testing/order/factories/order-address.factory.mjs +5 -5
- package/{esm2020 → esm2022}/testing/order/factories/order-item.factory.mjs +5 -5
- package/{esm2020 → esm2022}/testing/order/factories/order-payment.factory.mjs +5 -5
- package/{esm2020 → esm2022}/testing/order/factories/order-shipping-rate.factory.mjs +5 -5
- package/{esm2020 → esm2022}/testing/order/factories/order.factory.mjs +5 -5
- package/{esm2020 → esm2022}/testing/payment/factories/payment.factory.mjs +5 -5
- package/{esm2020 → esm2022}/testing/shipping/factories/shipping-option.factory.mjs +5 -5
- package/{esm2020 → esm2022}/testing/shipping/factories/shipping-rate.factory.mjs +5 -5
- package/{fesm2020 → fesm2022}/daffodil-checkout-testing.mjs +52 -52
- package/{fesm2020 → fesm2022}/daffodil-checkout-testing.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/daffodil-checkout.mjs +118 -118
- package/{fesm2020 → fesm2022}/daffodil-checkout.mjs.map +1 -1
- package/order/actions/order.actions.d.ts +1 -1
- package/package.json +1 -1
- package/payment/actions/payment.actions.d.ts +1 -1
- package/shipping/actions/shipping.actions.d.ts +1 -1
- package/esm2020/order/order-state.module.mjs +0 -31
- package/fesm2015/daffodil-checkout-testing.mjs +0 -425
- package/fesm2015/daffodil-checkout-testing.mjs.map +0 -1
- package/fesm2015/daffodil-checkout.mjs +0 -722
- package/fesm2015/daffodil-checkout.mjs.map +0 -1
- /package/{esm2020 → esm2022}/billing/actions/billing.actions.mjs +0 -0
- /package/{esm2020 → esm2022}/billing/reducers/billing/billing-reducer.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/billing/reducers/billing/billing.reducer.mjs +0 -0
- /package/{esm2020 → esm2022}/billing/reducers/billing-reducers.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/billing/reducers/billing-reducers.mjs +0 -0
- /package/{esm2020 → esm2022}/billing/selectors/billing.selector.mjs +0 -0
- /package/{esm2020 → esm2022}/daffodil-checkout.mjs +0 -0
- /package/{esm2020 → esm2022}/drivers/injection-tokens/driver-checkout.token.mjs +0 -0
- /package/{esm2020 → esm2022}/drivers/injection-tokens/payment-driver.token.mjs +0 -0
- /package/{esm2020 → esm2022}/drivers/injection-tokens/payment-transformer.token.mjs +0 -0
- /package/{esm2020 → esm2022}/drivers/interfaces/checkout-service.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/drivers/interfaces/order-service.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/models/cart-process-request.mjs +0 -0
- /package/{esm2020 → esm2022}/models/order/order-address.mjs +0 -0
- /package/{esm2020 → esm2022}/models/order/order-item.mjs +0 -0
- /package/{esm2020 → esm2022}/models/order/order-payment.mjs +0 -0
- /package/{esm2020 → esm2022}/models/order/order-shipping-rate.mjs +0 -0
- /package/{esm2020 → esm2022}/models/order/order.mjs +0 -0
- /package/{esm2020 → esm2022}/models/payment/payment-info.mjs +0 -0
- /package/{esm2020 → esm2022}/models/shipping/shipping-option.mjs +0 -0
- /package/{esm2020 → esm2022}/models/shipping/shipping-rate.mjs +0 -0
- /package/{esm2020 → esm2022}/order/actions/order.actions.mjs +0 -0
- /package/{esm2020 → esm2022}/order/reducers/order/order-reducer.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/order/reducers/order/order.reducer.mjs +0 -0
- /package/{esm2020 → esm2022}/order/reducers/order-reducers.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/order/reducers/order-reducers.mjs +0 -0
- /package/{esm2020 → esm2022}/order/selectors/order.selector.mjs +0 -0
- /package/{esm2020 → esm2022}/payment/actions/payment.actions.mjs +0 -0
- /package/{esm2020 → esm2022}/payment/reducers/payment/payment-reducer.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/payment/reducers/payment/payment.reducer.mjs +0 -0
- /package/{esm2020 → esm2022}/payment/reducers/payment-reducers.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/payment/reducers/payment-reducers.mjs +0 -0
- /package/{esm2020 → esm2022}/payment/selectors/payment.selector.mjs +0 -0
- /package/{esm2020 → esm2022}/shipping/actions/shipping.actions.mjs +0 -0
- /package/{esm2020 → esm2022}/shipping/reducers/shipping/shipping-reducer.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/shipping/reducers/shipping/shipping.reducer.mjs +0 -0
- /package/{esm2020 → esm2022}/shipping/reducers/shipping-reducers.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/shipping/reducers/shipping-reducers.mjs +0 -0
- /package/{esm2020 → esm2022}/shipping/selectors/shipping.selectors.mjs +0 -0
- /package/{esm2020 → esm2022}/testing/daffodil-checkout-testing.mjs +0 -0
- /package/{esm2020 → esm2022}/testing/index.mjs +0 -0
@@ -53,17 +53,17 @@ class ShippingContainer {
|
|
53
53
|
selectShippingOption(optionId) {
|
54
54
|
this.store.dispatch(new DaffSelectShippingOption(optionId));
|
55
55
|
}
|
56
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: ShippingContainer, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Component }); }
|
57
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: ShippingContainer, selector: "[shipping-container]", exportAs: ["ShippingContainer"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
|
56
58
|
}
|
57
|
-
|
58
|
-
/** @nocollapse */ ShippingContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ShippingContainer, selector: "[shipping-container]", exportAs: ["ShippingContainer"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ShippingContainer, decorators: [{
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: ShippingContainer, decorators: [{
|
60
60
|
type: Component,
|
61
61
|
args: [{
|
62
62
|
selector: '[shipping-container]',
|
63
63
|
template: '<ng-content></ng-content>',
|
64
64
|
exportAs: 'ShippingContainer',
|
65
65
|
}]
|
66
|
-
}], ctorParameters:
|
66
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
67
67
|
|
68
68
|
/**
|
69
69
|
* Order Feature State
|
@@ -101,17 +101,17 @@ class OrderContainer {
|
|
101
101
|
this.order$ = this.store.pipe(select(selectOrder));
|
102
102
|
this.loading$ = this.store.pipe(select(selectLoading));
|
103
103
|
}
|
104
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: OrderContainer, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Component }); }
|
105
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: OrderContainer, selector: "[order-container]", exportAs: ["OrderContainer"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
|
104
106
|
}
|
105
|
-
|
106
|
-
/** @nocollapse */ OrderContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: OrderContainer, selector: "[order-container]", exportAs: ["OrderContainer"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OrderContainer, decorators: [{
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: OrderContainer, decorators: [{
|
108
108
|
type: Component,
|
109
109
|
args: [{
|
110
110
|
selector: '[order-container]',
|
111
111
|
template: '<ng-content></ng-content>',
|
112
112
|
exportAs: 'OrderContainer',
|
113
113
|
}]
|
114
|
-
}], ctorParameters:
|
114
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
115
115
|
|
116
116
|
var DaffPaymentActionTypes;
|
117
117
|
(function (DaffPaymentActionTypes) {
|
@@ -141,11 +141,11 @@ const daffPaymentReducers = {
|
|
141
141
|
};
|
142
142
|
|
143
143
|
class DaffPaymentStateModule {
|
144
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffPaymentStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
145
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffPaymentStateModule, imports: [i1.StoreFeatureModule] }); }
|
146
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffPaymentStateModule, imports: [StoreModule.forFeature('payment', daffPaymentReducers)] }); }
|
144
147
|
}
|
145
|
-
|
146
|
-
/** @nocollapse */ DaffPaymentStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DaffPaymentStateModule, imports: [i1.StoreFeatureModule] });
|
147
|
-
/** @nocollapse */ DaffPaymentStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffPaymentStateModule, imports: [StoreModule.forFeature('payment', daffPaymentReducers)] });
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffPaymentStateModule, decorators: [{
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffPaymentStateModule, decorators: [{
|
149
149
|
type: NgModule,
|
150
150
|
args: [{
|
151
151
|
imports: [
|
@@ -155,19 +155,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
155
155
|
}] });
|
156
156
|
|
157
157
|
class DaffPaymentModule {
|
158
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffPaymentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
159
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffPaymentModule, imports: [CommonModule,
|
160
|
+
/**
|
161
|
+
* Ngrx/store
|
162
|
+
*/
|
163
|
+
DaffPaymentStateModule] }); }
|
164
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffPaymentModule, imports: [CommonModule,
|
165
|
+
/**
|
166
|
+
* Ngrx/store
|
167
|
+
*/
|
168
|
+
DaffPaymentStateModule] }); }
|
158
169
|
}
|
159
|
-
|
160
|
-
/** @nocollapse */ DaffPaymentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DaffPaymentModule, imports: [CommonModule,
|
161
|
-
/**
|
162
|
-
* Ngrx/store
|
163
|
-
*/
|
164
|
-
DaffPaymentStateModule] });
|
165
|
-
/** @nocollapse */ DaffPaymentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffPaymentModule, imports: [CommonModule,
|
166
|
-
/**
|
167
|
-
* Ngrx/store
|
168
|
-
*/
|
169
|
-
DaffPaymentStateModule] });
|
170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffPaymentModule, decorators: [{
|
170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffPaymentModule, decorators: [{
|
171
171
|
type: NgModule,
|
172
172
|
args: [{
|
173
173
|
imports: [
|
@@ -206,15 +206,15 @@ class DaffPaymentFacade {
|
|
206
206
|
dispatch(action) {
|
207
207
|
this.store.dispatch(action);
|
208
208
|
}
|
209
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffPaymentFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
210
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffPaymentFacade, providedIn: DaffPaymentModule }); }
|
209
211
|
}
|
210
|
-
|
211
|
-
/** @nocollapse */ DaffPaymentFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffPaymentFacade, providedIn: DaffPaymentModule });
|
212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffPaymentFacade, decorators: [{
|
212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffPaymentFacade, decorators: [{
|
213
213
|
type: Injectable,
|
214
214
|
args: [{
|
215
215
|
providedIn: DaffPaymentModule,
|
216
216
|
}]
|
217
|
-
}], ctorParameters:
|
217
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
218
218
|
|
219
219
|
const DaffPaymentDriver = new InjectionToken('DaffPaymentDriver');
|
220
220
|
|
@@ -281,11 +281,11 @@ const daffBillingReducers = {
|
|
281
281
|
};
|
282
282
|
|
283
283
|
class DaffBillingStateModule {
|
284
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
285
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingStateModule, imports: [i1.StoreFeatureModule] }); }
|
286
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingStateModule, imports: [StoreModule.forFeature('billing', daffBillingReducers)] }); }
|
284
287
|
}
|
285
|
-
|
286
|
-
/** @nocollapse */ DaffBillingStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DaffBillingStateModule, imports: [i1.StoreFeatureModule] });
|
287
|
-
/** @nocollapse */ DaffBillingStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffBillingStateModule, imports: [StoreModule.forFeature('billing', daffBillingReducers)] });
|
288
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffBillingStateModule, decorators: [{
|
288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingStateModule, decorators: [{
|
289
289
|
type: NgModule,
|
290
290
|
args: [{
|
291
291
|
imports: [
|
@@ -312,32 +312,32 @@ class BillingContainer {
|
|
312
312
|
updatePaymentInfo(info) {
|
313
313
|
this.store.dispatch(new DaffUpdatePaymentInfo(info));
|
314
314
|
}
|
315
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BillingContainer, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Component }); }
|
316
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: BillingContainer, selector: "[billing-container]", exportAs: ["BillingContainer"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
|
315
317
|
}
|
316
|
-
|
317
|
-
/** @nocollapse */ BillingContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: BillingContainer, selector: "[billing-container]", exportAs: ["BillingContainer"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BillingContainer, decorators: [{
|
318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BillingContainer, decorators: [{
|
319
319
|
type: Component,
|
320
320
|
args: [{
|
321
321
|
selector: '[billing-container]',
|
322
322
|
template: '<ng-content></ng-content>',
|
323
323
|
exportAs: 'BillingContainer',
|
324
324
|
}]
|
325
|
-
}], ctorParameters:
|
325
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
326
326
|
|
327
327
|
class DaffBillingModule {
|
328
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
329
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingModule, declarations: [BillingContainer], imports: [CommonModule,
|
330
|
+
/**
|
331
|
+
* Ngrx/store
|
332
|
+
*/
|
333
|
+
DaffBillingStateModule], exports: [BillingContainer] }); }
|
334
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingModule, imports: [CommonModule,
|
335
|
+
/**
|
336
|
+
* Ngrx/store
|
337
|
+
*/
|
338
|
+
DaffBillingStateModule] }); }
|
328
339
|
}
|
329
|
-
|
330
|
-
/** @nocollapse */ DaffBillingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DaffBillingModule, declarations: [BillingContainer], imports: [CommonModule,
|
331
|
-
/**
|
332
|
-
* Ngrx/store
|
333
|
-
*/
|
334
|
-
DaffBillingStateModule], exports: [BillingContainer] });
|
335
|
-
/** @nocollapse */ DaffBillingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffBillingModule, imports: [CommonModule,
|
336
|
-
/**
|
337
|
-
* Ngrx/store
|
338
|
-
*/
|
339
|
-
DaffBillingStateModule] });
|
340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffBillingModule, decorators: [{
|
340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingModule, decorators: [{
|
341
341
|
type: NgModule,
|
342
342
|
args: [{
|
343
343
|
imports: [
|
@@ -374,15 +374,15 @@ class DaffBillingFacade {
|
|
374
374
|
dispatch(action) {
|
375
375
|
this.store.dispatch(action);
|
376
376
|
}
|
377
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
378
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingFacade, providedIn: DaffBillingModule }); }
|
377
379
|
}
|
378
|
-
|
379
|
-
/** @nocollapse */ DaffBillingFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffBillingFacade, providedIn: DaffBillingModule });
|
380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffBillingFacade, decorators: [{
|
380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingFacade, decorators: [{
|
381
381
|
type: Injectable,
|
382
382
|
args: [{
|
383
383
|
providedIn: DaffBillingModule,
|
384
384
|
}]
|
385
|
-
}], ctorParameters:
|
385
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
386
386
|
|
387
387
|
const initialState$1 = {
|
388
388
|
shippingAddress: null,
|
@@ -404,11 +404,11 @@ const daffShippingReducers = {
|
|
404
404
|
};
|
405
405
|
|
406
406
|
class DaffShippingStateModule {
|
407
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffShippingStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
408
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffShippingStateModule, imports: [i1.StoreFeatureModule] }); }
|
409
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffShippingStateModule, imports: [StoreModule.forFeature('shipping', daffShippingReducers)] }); }
|
407
410
|
}
|
408
|
-
|
409
|
-
/** @nocollapse */ DaffShippingStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DaffShippingStateModule, imports: [i1.StoreFeatureModule] });
|
410
|
-
/** @nocollapse */ DaffShippingStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffShippingStateModule, imports: [StoreModule.forFeature('shipping', daffShippingReducers)] });
|
411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffShippingStateModule, decorators: [{
|
411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffShippingStateModule, decorators: [{
|
412
412
|
type: NgModule,
|
413
413
|
args: [{
|
414
414
|
imports: [
|
@@ -418,19 +418,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
418
418
|
}] });
|
419
419
|
|
420
420
|
class DaffShippingModule {
|
421
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffShippingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
422
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffShippingModule, declarations: [ShippingContainer], imports: [CommonModule,
|
423
|
+
/**
|
424
|
+
* Ngrx/store
|
425
|
+
*/
|
426
|
+
DaffShippingStateModule], exports: [ShippingContainer] }); }
|
427
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffShippingModule, imports: [CommonModule,
|
428
|
+
/**
|
429
|
+
* Ngrx/store
|
430
|
+
*/
|
431
|
+
DaffShippingStateModule] }); }
|
421
432
|
}
|
422
|
-
|
423
|
-
/** @nocollapse */ DaffShippingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DaffShippingModule, declarations: [ShippingContainer], imports: [CommonModule,
|
424
|
-
/**
|
425
|
-
* Ngrx/store
|
426
|
-
*/
|
427
|
-
DaffShippingStateModule], exports: [ShippingContainer] });
|
428
|
-
/** @nocollapse */ DaffShippingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffShippingModule, imports: [CommonModule,
|
429
|
-
/**
|
430
|
-
* Ngrx/store
|
431
|
-
*/
|
432
|
-
DaffShippingStateModule] });
|
433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffShippingModule, decorators: [{
|
433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffShippingModule, decorators: [{
|
434
434
|
type: NgModule,
|
435
435
|
args: [{
|
436
436
|
imports: [
|
@@ -467,15 +467,15 @@ class DaffShippingFacade {
|
|
467
467
|
dispatch(action) {
|
468
468
|
this.store.dispatch(action);
|
469
469
|
}
|
470
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffShippingFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
471
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffShippingFacade, providedIn: DaffShippingModule }); }
|
470
472
|
}
|
471
|
-
|
472
|
-
/** @nocollapse */ DaffShippingFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffShippingFacade, providedIn: DaffShippingModule });
|
473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffShippingFacade, decorators: [{
|
473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffShippingFacade, decorators: [{
|
474
474
|
type: Injectable,
|
475
475
|
args: [{
|
476
476
|
providedIn: DaffShippingModule,
|
477
477
|
}]
|
478
|
-
}], ctorParameters:
|
478
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
479
479
|
|
480
480
|
/**
|
481
481
|
* @deprecated
|
@@ -575,28 +575,28 @@ class OrderEffects {
|
|
575
575
|
this.onPlaceOrder$ = createEffect(() => this.actions$.pipe(ofType(DaffOrderActionTypes.PlaceOrderAction), switchMap((action) => this.checkoutDriver.placeOrder(action.payload.id.toString())
|
576
576
|
.pipe(map((resp) => new DaffPlaceOrderSuccess(resp)), catchError(error => of(new DaffPlaceOrderFailure('Failed to place order')))))));
|
577
577
|
}
|
578
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: OrderEffects, deps: [{ token: i1$1.Actions }, { token: DaffCheckoutDriver }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
579
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: OrderEffects }); }
|
578
580
|
}
|
579
|
-
|
580
|
-
/** @nocollapse */ OrderEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OrderEffects });
|
581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OrderEffects, decorators: [{
|
581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: OrderEffects, decorators: [{
|
582
582
|
type: Injectable
|
583
|
-
}], ctorParameters:
|
583
|
+
}], ctorParameters: () => [{ type: i1$1.Actions }, { type: undefined, decorators: [{
|
584
584
|
type: Inject,
|
585
585
|
args: [DaffCheckoutDriver]
|
586
|
-
}] }]
|
586
|
+
}] }] });
|
587
587
|
|
588
588
|
/**
|
589
589
|
* @deprecated
|
590
590
|
*/
|
591
591
|
class DaffOrderStateModule {
|
592
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffOrderStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
593
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffOrderStateModule, imports: [i1.StoreFeatureModule, i1$1.EffectsFeatureModule] }); }
|
594
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffOrderStateModule, imports: [StoreModule.forFeature('order', daffOrderReducers),
|
595
|
+
EffectsModule.forFeature([
|
596
|
+
OrderEffects,
|
597
|
+
])] }); }
|
592
598
|
}
|
593
|
-
|
594
|
-
/** @nocollapse */ DaffOrderStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DaffOrderStateModule, imports: [i1.StoreFeatureModule, i1$1.EffectsFeatureModule] });
|
595
|
-
/** @nocollapse */ DaffOrderStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffOrderStateModule, imports: [StoreModule.forFeature('order', daffOrderReducers),
|
596
|
-
EffectsModule.forFeature([
|
597
|
-
OrderEffects,
|
598
|
-
])] });
|
599
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffOrderStateModule, decorators: [{
|
599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffOrderStateModule, decorators: [{
|
600
600
|
type: NgModule,
|
601
601
|
args: [{
|
602
602
|
imports: [
|
@@ -612,19 +612,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
612
612
|
* @deprecated
|
613
613
|
*/
|
614
614
|
class DaffOrderModule {
|
615
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffOrderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
616
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffOrderModule, declarations: [OrderContainer], imports: [CommonModule,
|
617
|
+
/**
|
618
|
+
* Ngrx/store
|
619
|
+
*/
|
620
|
+
DaffOrderStateModule], exports: [OrderContainer] }); }
|
621
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffOrderModule, imports: [CommonModule,
|
622
|
+
/**
|
623
|
+
* Ngrx/store
|
624
|
+
*/
|
625
|
+
DaffOrderStateModule] }); }
|
615
626
|
}
|
616
|
-
|
617
|
-
/** @nocollapse */ DaffOrderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DaffOrderModule, declarations: [OrderContainer], imports: [CommonModule,
|
618
|
-
/**
|
619
|
-
* Ngrx/store
|
620
|
-
*/
|
621
|
-
DaffOrderStateModule], exports: [OrderContainer] });
|
622
|
-
/** @nocollapse */ DaffOrderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffOrderModule, imports: [CommonModule,
|
623
|
-
/**
|
624
|
-
* Ngrx/store
|
625
|
-
*/
|
626
|
-
DaffOrderStateModule] });
|
627
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffOrderModule, decorators: [{
|
627
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffOrderModule, decorators: [{
|
628
628
|
type: NgModule,
|
629
629
|
args: [{
|
630
630
|
imports: [
|
@@ -664,36 +664,36 @@ class DaffOrderFacade {
|
|
664
664
|
dispatch(action) {
|
665
665
|
this.store.dispatch(action);
|
666
666
|
}
|
667
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffOrderFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
668
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffOrderFacade, providedIn: DaffOrderModule }); }
|
667
669
|
}
|
668
|
-
|
669
|
-
/** @nocollapse */ DaffOrderFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffOrderFacade, providedIn: DaffOrderModule });
|
670
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DaffOrderFacade, decorators: [{
|
670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffOrderFacade, decorators: [{
|
671
671
|
type: Injectable,
|
672
672
|
args: [{
|
673
673
|
providedIn: DaffOrderModule,
|
674
674
|
}]
|
675
|
-
}], ctorParameters:
|
675
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
676
676
|
|
677
677
|
class StateCheckoutModule {
|
678
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: StateCheckoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
679
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: StateCheckoutModule, imports: [CommonModule,
|
680
|
+
DaffShippingModule,
|
681
|
+
DaffPaymentModule,
|
682
|
+
DaffBillingModule,
|
683
|
+
DaffOrderModule], exports: [DaffShippingModule,
|
684
|
+
DaffPaymentModule,
|
685
|
+
DaffBillingModule,
|
686
|
+
DaffOrderModule] }); }
|
687
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: StateCheckoutModule, imports: [CommonModule,
|
688
|
+
DaffShippingModule,
|
689
|
+
DaffPaymentModule,
|
690
|
+
DaffBillingModule,
|
691
|
+
DaffOrderModule, DaffShippingModule,
|
692
|
+
DaffPaymentModule,
|
693
|
+
DaffBillingModule,
|
694
|
+
DaffOrderModule] }); }
|
678
695
|
}
|
679
|
-
|
680
|
-
/** @nocollapse */ StateCheckoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: StateCheckoutModule, imports: [CommonModule,
|
681
|
-
DaffShippingModule,
|
682
|
-
DaffPaymentModule,
|
683
|
-
DaffBillingModule,
|
684
|
-
DaffOrderModule], exports: [DaffShippingModule,
|
685
|
-
DaffPaymentModule,
|
686
|
-
DaffBillingModule,
|
687
|
-
DaffOrderModule] });
|
688
|
-
/** @nocollapse */ StateCheckoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StateCheckoutModule, imports: [CommonModule,
|
689
|
-
DaffShippingModule,
|
690
|
-
DaffPaymentModule,
|
691
|
-
DaffBillingModule,
|
692
|
-
DaffOrderModule, DaffShippingModule,
|
693
|
-
DaffPaymentModule,
|
694
|
-
DaffBillingModule,
|
695
|
-
DaffOrderModule] });
|
696
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StateCheckoutModule, decorators: [{
|
696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: StateCheckoutModule, decorators: [{
|
697
697
|
type: NgModule,
|
698
698
|
args: [{
|
699
699
|
imports: [
|