@daffodil/checkout 0.70.0 → 0.71.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/esm2022/billing/billing-state.module.mjs +5 -5
- package/esm2022/billing/billing.module.mjs +5 -5
- package/esm2022/billing/containers/billing.component.mjs +4 -4
- package/esm2022/billing/facades/billing.facade.mjs +4 -4
- package/esm2022/checkout.module.mjs +5 -5
- package/esm2022/order/containers/order.component.mjs +4 -4
- package/esm2022/order/effects/order.effects.mjs +4 -4
- package/esm2022/order/facades/order.facade.mjs +4 -4
- package/esm2022/order/order-state.module.mjs +5 -5
- package/esm2022/order/order.module.mjs +5 -5
- package/esm2022/payment/facades/payment.facade.mjs +4 -4
- package/esm2022/payment/payment-state.module.mjs +5 -5
- package/esm2022/payment/payment.module.mjs +5 -5
- package/esm2022/shipping/containers/shipping.component.mjs +4 -4
- package/esm2022/shipping/facades/shipping.facade.mjs +4 -4
- package/esm2022/shipping/shipping-state.module.mjs +5 -5
- package/esm2022/shipping/shipping.module.mjs +5 -5
- package/esm2022/state/checkout-state.module.mjs +5 -5
- package/esm2022/state/facades/placed-order/placed-order.facade.mjs +4 -4
- package/esm2022/state/testing/checkout-testing.module.mjs +5 -5
- package/esm2022/state/testing/mock-placed-order-facade.mjs +4 -4
- package/esm2022/testing/drivers/in-memory/checkout-driver.module.mjs +5 -5
- package/esm2022/testing/drivers/in-memory/checkout.service.mjs +4 -4
- package/esm2022/testing/drivers/testing/checkout-driver.module.mjs +5 -5
- package/esm2022/testing/drivers/testing/checkout.service.mjs +4 -4
- package/esm2022/testing/inmemory-backend/checkout.service.mjs +4 -4
- package/esm2022/testing/order/factories/order-address.factory.mjs +4 -4
- package/esm2022/testing/order/factories/order-item.factory.mjs +4 -4
- package/esm2022/testing/order/factories/order-payment.factory.mjs +4 -4
- package/esm2022/testing/order/factories/order-shipping-rate.factory.mjs +4 -4
- package/esm2022/testing/order/factories/order.factory.mjs +5 -5
- package/esm2022/testing/payment/factories/payment.factory.mjs +4 -4
- package/esm2022/testing/shipping/factories/shipping-option.factory.mjs +5 -5
- package/esm2022/testing/shipping/factories/shipping-rate.factory.mjs +4 -4
- package/fesm2022/daffodil-checkout-state-testing.mjs +7 -7
- package/fesm2022/daffodil-checkout-state-testing.mjs.map +1 -1
- package/fesm2022/daffodil-checkout-state.mjs +7 -7
- package/fesm2022/daffodil-checkout-state.mjs.map +1 -1
- package/fesm2022/daffodil-checkout-testing.mjs +43 -43
- package/fesm2022/daffodil-checkout-testing.mjs.map +1 -1
- package/fesm2022/daffodil-checkout.mjs +60 -60
- package/fesm2022/daffodil-checkout.mjs.map +1 -1
- package/package.json +1 -1
@@ -53,10 +53,10 @@ 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.
|
57
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
56
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", 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.3.10", type: ShippingContainer, selector: "[shipping-container]", exportAs: ["ShippingContainer"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
|
58
58
|
}
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ShippingContainer, decorators: [{
|
60
60
|
type: Component,
|
61
61
|
args: [{
|
62
62
|
selector: '[shipping-container]',
|
@@ -101,10 +101,10 @@ 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.
|
105
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
104
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", 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.3.10", type: OrderContainer, selector: "[order-container]", exportAs: ["OrderContainer"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
|
106
106
|
}
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: OrderContainer, decorators: [{
|
108
108
|
type: Component,
|
109
109
|
args: [{
|
110
110
|
selector: '[order-container]',
|
@@ -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.
|
145
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
146
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
144
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffPaymentStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
145
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffPaymentStateModule, imports: [i1.StoreFeatureModule] }); }
|
146
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffPaymentStateModule, imports: [StoreModule.forFeature('payment', daffPaymentReducers)] }); }
|
147
147
|
}
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", 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: "17.1.1", ngImpor
|
|
155
155
|
}] });
|
156
156
|
|
157
157
|
class DaffPaymentModule {
|
158
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
159
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
158
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffPaymentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
159
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffPaymentModule, imports: [CommonModule,
|
160
160
|
/**
|
161
161
|
* Ngrx/store
|
162
162
|
*/
|
163
163
|
DaffPaymentStateModule] }); }
|
164
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
164
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffPaymentModule, imports: [CommonModule,
|
165
165
|
/**
|
166
166
|
* Ngrx/store
|
167
167
|
*/
|
168
168
|
DaffPaymentStateModule] }); }
|
169
169
|
}
|
170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffPaymentModule, decorators: [{
|
171
171
|
type: NgModule,
|
172
172
|
args: [{
|
173
173
|
imports: [
|
@@ -206,10 +206,10 @@ 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.
|
210
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
209
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", 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.3.10", ngImport: i0, type: DaffPaymentFacade, providedIn: DaffPaymentModule }); }
|
211
211
|
}
|
212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffPaymentFacade, decorators: [{
|
213
213
|
type: Injectable,
|
214
214
|
args: [{
|
215
215
|
providedIn: DaffPaymentModule,
|
@@ -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.
|
285
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
286
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
284
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffBillingStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
285
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffBillingStateModule, imports: [i1.StoreFeatureModule] }); }
|
286
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffBillingStateModule, imports: [StoreModule.forFeature('billing', daffBillingReducers)] }); }
|
287
287
|
}
|
288
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffBillingStateModule, decorators: [{
|
289
289
|
type: NgModule,
|
290
290
|
args: [{
|
291
291
|
imports: [
|
@@ -312,10 +312,10 @@ 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.
|
316
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
315
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", 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.3.10", type: BillingContainer, selector: "[billing-container]", exportAs: ["BillingContainer"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
|
317
317
|
}
|
318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: BillingContainer, decorators: [{
|
319
319
|
type: Component,
|
320
320
|
args: [{
|
321
321
|
selector: '[billing-container]',
|
@@ -325,19 +325,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImpor
|
|
325
325
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
326
326
|
|
327
327
|
class DaffBillingModule {
|
328
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
329
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
328
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffBillingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
329
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffBillingModule, declarations: [BillingContainer], imports: [CommonModule,
|
330
330
|
/**
|
331
331
|
* Ngrx/store
|
332
332
|
*/
|
333
333
|
DaffBillingStateModule], exports: [BillingContainer] }); }
|
334
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
334
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffBillingModule, imports: [CommonModule,
|
335
335
|
/**
|
336
336
|
* Ngrx/store
|
337
337
|
*/
|
338
338
|
DaffBillingStateModule] }); }
|
339
339
|
}
|
340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffBillingModule, decorators: [{
|
341
341
|
type: NgModule,
|
342
342
|
args: [{
|
343
343
|
imports: [
|
@@ -374,10 +374,10 @@ 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.
|
378
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
377
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", 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.3.10", ngImport: i0, type: DaffBillingFacade, providedIn: DaffBillingModule }); }
|
379
379
|
}
|
380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffBillingFacade, decorators: [{
|
381
381
|
type: Injectable,
|
382
382
|
args: [{
|
383
383
|
providedIn: DaffBillingModule,
|
@@ -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.
|
408
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
409
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
407
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffShippingStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
408
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffShippingStateModule, imports: [i1.StoreFeatureModule] }); }
|
409
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffShippingStateModule, imports: [StoreModule.forFeature('shipping', daffShippingReducers)] }); }
|
410
410
|
}
|
411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", 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: "17.1.1", ngImpor
|
|
418
418
|
}] });
|
419
419
|
|
420
420
|
class DaffShippingModule {
|
421
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
422
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
421
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffShippingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
422
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffShippingModule, declarations: [ShippingContainer], imports: [CommonModule,
|
423
423
|
/**
|
424
424
|
* Ngrx/store
|
425
425
|
*/
|
426
426
|
DaffShippingStateModule], exports: [ShippingContainer] }); }
|
427
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
427
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffShippingModule, imports: [CommonModule,
|
428
428
|
/**
|
429
429
|
* Ngrx/store
|
430
430
|
*/
|
431
431
|
DaffShippingStateModule] }); }
|
432
432
|
}
|
433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffShippingModule, decorators: [{
|
434
434
|
type: NgModule,
|
435
435
|
args: [{
|
436
436
|
imports: [
|
@@ -467,10 +467,10 @@ 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.
|
471
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
470
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", 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.3.10", ngImport: i0, type: DaffShippingFacade, providedIn: DaffShippingModule }); }
|
472
472
|
}
|
473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffShippingFacade, decorators: [{
|
474
474
|
type: Injectable,
|
475
475
|
args: [{
|
476
476
|
providedIn: DaffShippingModule,
|
@@ -575,10 +575,10 @@ 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.
|
579
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
578
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", 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.3.10", ngImport: i0, type: OrderEffects }); }
|
580
580
|
}
|
581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: OrderEffects, decorators: [{
|
582
582
|
type: Injectable
|
583
583
|
}], ctorParameters: () => [{ type: i1$1.Actions }, { type: undefined, decorators: [{
|
584
584
|
type: Inject,
|
@@ -589,14 +589,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImpor
|
|
589
589
|
* @deprecated
|
590
590
|
*/
|
591
591
|
class DaffOrderStateModule {
|
592
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
593
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
594
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
592
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffOrderStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
593
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffOrderStateModule, imports: [i1.StoreFeatureModule, i1$1.EffectsFeatureModule] }); }
|
594
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffOrderStateModule, imports: [StoreModule.forFeature('order', daffOrderReducers),
|
595
595
|
EffectsModule.forFeature([
|
596
596
|
OrderEffects,
|
597
597
|
])] }); }
|
598
598
|
}
|
599
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", 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: "17.1.1", ngImpor
|
|
612
612
|
* @deprecated
|
613
613
|
*/
|
614
614
|
class DaffOrderModule {
|
615
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
616
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
615
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffOrderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
616
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: DaffOrderModule, declarations: [OrderContainer], imports: [CommonModule,
|
617
617
|
/**
|
618
618
|
* Ngrx/store
|
619
619
|
*/
|
620
620
|
DaffOrderStateModule], exports: [OrderContainer] }); }
|
621
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
621
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffOrderModule, imports: [CommonModule,
|
622
622
|
/**
|
623
623
|
* Ngrx/store
|
624
624
|
*/
|
625
625
|
DaffOrderStateModule] }); }
|
626
626
|
}
|
627
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
627
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffOrderModule, decorators: [{
|
628
628
|
type: NgModule,
|
629
629
|
args: [{
|
630
630
|
imports: [
|
@@ -664,10 +664,10 @@ 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.
|
668
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
667
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", 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.3.10", ngImport: i0, type: DaffOrderFacade, providedIn: DaffOrderModule }); }
|
669
669
|
}
|
670
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffOrderFacade, decorators: [{
|
671
671
|
type: Injectable,
|
672
672
|
args: [{
|
673
673
|
providedIn: DaffOrderModule,
|
@@ -675,8 +675,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImpor
|
|
675
675
|
}], ctorParameters: () => [{ type: i1.Store }] });
|
676
676
|
|
677
677
|
class StateCheckoutModule {
|
678
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
679
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
678
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: StateCheckoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
679
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: StateCheckoutModule, imports: [CommonModule,
|
680
680
|
DaffShippingModule,
|
681
681
|
DaffPaymentModule,
|
682
682
|
DaffBillingModule,
|
@@ -684,7 +684,7 @@ class StateCheckoutModule {
|
|
684
684
|
DaffPaymentModule,
|
685
685
|
DaffBillingModule,
|
686
686
|
DaffOrderModule] }); }
|
687
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
687
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: StateCheckoutModule, imports: [CommonModule,
|
688
688
|
DaffShippingModule,
|
689
689
|
DaffPaymentModule,
|
690
690
|
DaffBillingModule,
|
@@ -693,7 +693,7 @@ class StateCheckoutModule {
|
|
693
693
|
DaffBillingModule,
|
694
694
|
DaffOrderModule] }); }
|
695
695
|
}
|
696
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: StateCheckoutModule, decorators: [{
|
697
697
|
type: NgModule,
|
698
698
|
args: [{
|
699
699
|
imports: [
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"daffodil-checkout.mjs","sources":["../../../libs/checkout/src/shipping/actions/shipping.actions.ts","../../../libs/checkout/src/shipping/selectors/shipping.selectors.ts","../../../libs/checkout/src/shipping/containers/shipping.component.ts","../../../libs/checkout/src/order/selectors/order.selector.ts","../../../libs/checkout/src/order/containers/order.component.ts","../../../libs/checkout/src/payment/actions/payment.actions.ts","../../../libs/checkout/src/payment/reducers/payment/payment.reducer.ts","../../../libs/checkout/src/payment/reducers/payment-reducers.ts","../../../libs/checkout/src/payment/payment-state.module.ts","../../../libs/checkout/src/payment/payment.module.ts","../../../libs/checkout/src/payment/selectors/payment.selector.ts","../../../libs/checkout/src/payment/facades/payment.facade.ts","../../../libs/checkout/src/drivers/injection-tokens/payment-driver.token.ts","../../../libs/checkout/src/drivers/interfaces/order-service.interface.ts","../../../libs/checkout/src/drivers/injection-tokens/payment-transformer.token.ts","../../../libs/checkout/src/billing/actions/billing.actions.ts","../../../libs/checkout/src/billing/selectors/billing.selector.ts","../../../libs/checkout/src/billing/reducers/billing/billing.reducer.ts","../../../libs/checkout/src/billing/reducers/billing-reducers.ts","../../../libs/checkout/src/billing/billing-state.module.ts","../../../libs/checkout/src/billing/containers/billing.component.ts","../../../libs/checkout/src/billing/billing.module.ts","../../../libs/checkout/src/billing/facades/billing.facade.ts","../../../libs/checkout/src/shipping/reducers/shipping/shipping.reducer.ts","../../../libs/checkout/src/shipping/reducers/shipping-reducers.ts","../../../libs/checkout/src/shipping/shipping-state.module.ts","../../../libs/checkout/src/shipping/shipping.module.ts","../../../libs/checkout/src/shipping/facades/shipping.facade.ts","../../../libs/checkout/src/order/actions/order.actions.ts","../../../libs/checkout/src/order/reducers/order/order.reducer.ts","../../../libs/checkout/src/order/reducers/order-reducers.ts","../../../libs/checkout/src/drivers/injection-tokens/driver-checkout.token.ts","../../../libs/checkout/src/order/effects/order.effects.ts","../../../libs/checkout/src/order/order-state.module.ts","../../../libs/checkout/src/order/order.module.ts","../../../libs/checkout/src/order/facades/order.facade.ts","../../../libs/checkout/src/checkout.module.ts","../../../libs/checkout/src/daffodil-checkout.ts"],"sourcesContent":["import { Action } from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nexport enum DaffShippingActionTypes {\n UpdateShippingAddressAction = '[Shipping] Update Shipping Address Action',\n SelectShippingOptionAction = '[Shipping] Select Shipping Option Action'\n}\n\nexport class DaffUpdateShippingAddress implements Action {\n readonly type = DaffShippingActionTypes.UpdateShippingAddressAction;\n\n constructor(public payload: DaffAddress) {}\n}\n\nexport class DaffSelectShippingOption implements Action {\n readonly type = DaffShippingActionTypes.SelectShippingOptionAction;\n\n constructor(public payload: string) {}\n}\n\nexport type DaffShippingActions =\n | DaffUpdateShippingAddress\n | DaffSelectShippingOption;\n","import {\n createSelector,\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { DaffShippingReducerState } from '../reducers/shipping/shipping-reducer.interface';\nimport { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\n\n/**\n * Shipping Feature State\n */\nexport const selectShippingFeatureState: MemoizedSelector<Record<string, any>, DaffShippingReducersState> = createFeatureSelector<DaffShippingReducersState>('shipping');\n\n/**\n * Shipping State\n */\nexport const selectShippingState = createSelector(\n selectShippingFeatureState,\n (state: DaffShippingReducersState) => state.shipping,\n);\n\nexport const selectShippingAddress: MemoizedSelector<Record<string, any>, DaffAddress> = createSelector(\n selectShippingState,\n (state: DaffShippingReducerState) => state.shippingAddress,\n);\n\nexport const selectShippingOptionId: MemoizedSelector<Record<string, any>, string> = createSelector(\n selectShippingState,\n (state: DaffShippingReducerState) => state.selectedShippingOptionId,\n);\n\nexport const selectIsShippingAddressValid: MemoizedSelector<Record<string, any>, boolean> = createSelector(\n selectShippingAddress,\n (state: DaffAddress) => !!state,\n);\n","import {\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n Store,\n select,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport {\n DaffUpdateShippingAddress,\n DaffSelectShippingOption,\n} from '../actions/shipping.actions';\nimport { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\nimport {\n selectShippingAddress,\n selectShippingOptionId,\n selectIsShippingAddressValid,\n} from '../selectors/shipping.selectors';\n\n@Component({\n selector: '[shipping-container]',\n template: '<ng-content></ng-content>',\n exportAs: 'ShippingContainer',\n})\nexport class ShippingContainer implements OnInit {\n\n shippingAddress$: Observable<DaffAddress>;\n selectedShippingOptionId$: Observable<string>;\n isShippingAddressValid$: Observable<boolean>;\n isShippingOptionSelected$: Observable<boolean>;\n\n constructor(\n private store: Store<DaffShippingReducersState>,\n ) { }\n\n ngOnInit() {\n this.shippingAddress$ = this.store.pipe(select(selectShippingAddress));\n this.selectedShippingOptionId$ = this.store.pipe(select(selectShippingOptionId));\n this.isShippingAddressValid$ = this.store.pipe(select(selectIsShippingAddressValid));\n }\n\n updateShippingAddress(address: DaffAddress) {\n this.store.dispatch(new DaffUpdateShippingAddress(address));\n }\n\n selectShippingOption(optionId: string) {\n this.store.dispatch(new DaffSelectShippingOption(optionId));\n }\n}\n","import {\n createSelector,\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport { DaffOrder } from '../../models/order/order';\nimport { DaffOrderReducerState } from '../reducers/order/order-reducer.interface';\nimport { DaffOrderReducersState } from '../reducers/order-reducers.interface';\n\n/**\n * Order Feature State\n *\n * @deprecated\n */\nexport const selectOrderFeatureState: MemoizedSelector<Record<string, any>, DaffOrderReducersState> = createFeatureSelector<DaffOrderReducersState>('order');\n\n/**\n * Order State\n *\n * @deprecated\n */\nexport const selectOrderState = createSelector(\n selectOrderFeatureState,\n (state: DaffOrderReducersState) => state.order,\n);\n\n/**\n * @deprecated\n */\nexport const selectOrder: MemoizedSelector<Record<string, any>, DaffOrder> = createSelector(\n selectOrderState,\n (state: DaffOrderReducerState) => state.order,\n);\n\n/**\n * @deprecated\n */\nexport const selectLoading: MemoizedSelector<Record<string, any>, boolean> = createSelector(\n selectOrderState,\n (state: DaffOrderReducerState) => state.loading,\n);\n\n/**\n * @deprecated\n */\nexport const selectErrors: MemoizedSelector<Record<string, any>, string[]> = createSelector(\n selectOrderState,\n (state: DaffOrderReducerState) => state.errors,\n);\n","import {\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n Store,\n select,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffOrder } from '../../models/order/order';\nimport { DaffOrderReducersState } from '../reducers/order-reducers.interface';\nimport {\n selectOrder,\n selectLoading,\n} from '../selectors/order.selector';\n\n/**\n * @deprecated\n */\n@Component({\n selector: '[order-container]',\n template: '<ng-content></ng-content>',\n exportAs: 'OrderContainer',\n})\nexport class OrderContainer implements OnInit {\n\n order$: Observable<DaffOrder>;\n loading$: Observable<boolean>;\n\n constructor(\n private store: Store<DaffOrderReducersState>,\n ) { }\n\n ngOnInit() {\n this.order$ = this.store.pipe(select(selectOrder));\n this.loading$ = this.store.pipe(select(selectLoading));\n }\n}\n","import { Action } from '@ngrx/store';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\n\nexport enum DaffPaymentActionTypes {\n UpdatePaymentInfoAction = '[Payment] Update Payment Info Action'\n}\n\nexport class DaffUpdatePaymentInfo implements Action {\n readonly type = DaffPaymentActionTypes.UpdatePaymentInfoAction;\n\n constructor(public payload: PaymentInfo) {}\n}\n\nexport type DaffPaymentActions =\n | DaffUpdatePaymentInfo;\n","import { DaffPaymentReducerState } from './payment-reducer.interface';\nimport {\n DaffPaymentActionTypes,\n DaffPaymentActions,\n} from '../../actions/payment.actions';\n\nexport const initialState: DaffPaymentReducerState = {\n paymentInfo: null,\n};\n\nexport function daffPaymentReducer(state = initialState, action: DaffPaymentActions): DaffPaymentReducerState {\n switch (action.type) {\n case DaffPaymentActionTypes.UpdatePaymentInfoAction:\n return { ...state, paymentInfo: action.payload };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { daffPaymentReducer } from './payment/payment.reducer';\nimport { DaffPaymentReducersState } from './payment-reducers.interface';\n\nexport const daffPaymentReducers: ActionReducerMap<DaffPaymentReducersState> = {\n payment: daffPaymentReducer,\n};\n","import { NgModule } from '@angular/core';\nimport { StoreModule } from '@ngrx/store';\n\nimport { daffPaymentReducers } from './reducers/payment-reducers';\n\n@NgModule({\n imports: [\n StoreModule.forFeature('payment', daffPaymentReducers),\n ],\n})\nexport class DaffPaymentStateModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffPaymentStateModule } from './payment-state.module';\n\n@NgModule({\n imports: [\n CommonModule,\n\n /**\n * Ngrx/store\n */\n DaffPaymentStateModule,\n ],\n})\nexport class DaffPaymentModule { }\n","import {\n createSelector,\n createFeatureSelector,\n} from '@ngrx/store';\n\nimport { DaffPaymentReducerState } from '../reducers/payment/payment-reducer.interface';\nimport { DaffPaymentReducersState } from '../reducers/payment-reducers.interface';\n\n/**\n * Payment Feature State\n */\nexport const selectPaymentFeatureState = createFeatureSelector<DaffPaymentReducersState>('payment');\n\n/**\n * Payment State\n */\nexport const selectPaymentState = createSelector(\n selectPaymentFeatureState,\n (state: DaffPaymentReducersState) => state.payment,\n);\n\nexport const selectPaymentInfo = createSelector(\n selectPaymentState,\n (state: DaffPaymentReducerState) => state.paymentInfo,\n);\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport { DaffPaymentModule } from '../payment.module';\nimport { DaffPaymentReducersState } from '../reducers/payment-reducers.interface';\nimport { selectPaymentInfo } from '../selectors/payment.selector';\n\n/**\n * A facade for accessing state for customer payment information.\n */\n@Injectable({\n providedIn: DaffPaymentModule,\n})\nexport class DaffPaymentFacade implements DaffStoreFacade<Action> {\n /**\n * The payment information for a customer.\n */\n paymentInfo$: Observable<PaymentInfo>;\n\n constructor(private store: Store<DaffPaymentReducersState>) {\n this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const DaffPaymentDriver = new InjectionToken('DaffPaymentDriver');\n","import { InjectionToken } from '@angular/core';\nimport { Observable } from 'rxjs';\n\nimport { DaffOrder } from '../../models/order/order';\n\nexport const DaffOrderDriver = new InjectionToken<DaffOrderServiceInterface>('DaffOrderDriver');\n\n/**\n * Query order objects accessible by the logged-in user.\n *\n * @deprecated\n */\nexport interface DaffOrderServiceInterface<T extends DaffOrder = DaffOrder> {\n /**\n * Get an order object with the specified order ID.\n */\n get(orderId: T['id']): Observable<T>;\n\n /**\n * List all order objects for the logged-in user.\n */\n list(): Observable<T[]>;\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const DaffPaymentTransformer = new InjectionToken('DaffPaymentTransformer');\n","import { Action } from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\n\nexport enum DaffBillingActionTypes {\n UpdateBillingAddressAction = '[Billing] Update Billing Address Action',\n UpdatePaymentInfoAction = '[Billing] Update Payment Info Action',\n ToggleBillingAddressIsShippingAddressAction = '[Billing] Billing Address Is Shipping Address Action'\n}\n\nexport class DaffUpdateBillingAddress implements Action {\n readonly type = DaffBillingActionTypes.UpdateBillingAddressAction;\n\n constructor(public payload: DaffAddress) {}\n}\n\nexport class DaffUpdatePaymentInfo implements Action {\n readonly type = DaffBillingActionTypes.UpdatePaymentInfoAction;\n\n constructor(public payload: PaymentInfo) {}\n}\n\nexport class DaffToggleBillingAddressIsShippingAddress implements Action {\n readonly type = DaffBillingActionTypes.ToggleBillingAddressIsShippingAddressAction;\n}\n\nexport type DaffBillingActions =\n | DaffUpdateBillingAddress\n | DaffUpdatePaymentInfo\n | DaffToggleBillingAddressIsShippingAddress;\n","import {\n createSelector,\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport { DaffBillingReducerState } from '../reducers/billing/billing-reducer.interface';\nimport { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\n\n/**\n * Billing Feature State\n */\nexport const selectBillingFeatureState: MemoizedSelector<Record<string, any>, DaffBillingReducersState> = createFeatureSelector<DaffBillingReducersState>('billing');\n\n/**\n * Billing State\n */\nexport const selectBillingState = createSelector(\n selectBillingFeatureState,\n (state: DaffBillingReducersState) => state.billing,\n);\n\nexport const selectBillingAddress: MemoizedSelector<Record<string, any>, DaffAddress> = createSelector(\n selectBillingState,\n (state: DaffBillingReducerState) => state.billingAddress,\n);\n\nexport const selectBillingAddressIsShippingAddress: MemoizedSelector<Record<string, any>, boolean> = createSelector(\n selectBillingState,\n (state: DaffBillingReducerState) => state.billingAddressIsShippingAddress,\n);\n\nexport const selectPaymentInfo: MemoizedSelector<Record<string, any>, PaymentInfo> = createSelector(\n selectBillingState,\n (state: DaffBillingReducerState) => state.paymentInfo,\n);\n","import { DaffBillingReducerState } from './billing-reducer.interface';\nimport {\n DaffBillingActionTypes,\n DaffBillingActions,\n} from '../../actions/billing.actions';\n\nexport const initialState: DaffBillingReducerState = {\n billingAddress: null,\n billingAddressIsShippingAddress: false,\n paymentInfo: null,\n};\n\nexport function daffBillingReducer(state = initialState, action: DaffBillingActions): DaffBillingReducerState {\n switch (action.type) {\n case DaffBillingActionTypes.UpdateBillingAddressAction:\n return { ...state, billingAddress: action.payload };\n case DaffBillingActionTypes.ToggleBillingAddressIsShippingAddressAction:\n return { ...state, billingAddress: null, billingAddressIsShippingAddress: !state.billingAddressIsShippingAddress };\n case DaffBillingActionTypes.UpdatePaymentInfoAction:\n return { ...state, paymentInfo: action.payload };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { daffBillingReducer } from './billing/billing.reducer';\nimport { DaffBillingReducersState } from './billing-reducers.interface';\n\nexport const daffBillingReducers: ActionReducerMap<DaffBillingReducersState> = {\n billing: daffBillingReducer,\n};\n","import { NgModule } from '@angular/core';\nimport { StoreModule } from '@ngrx/store';\n\nimport { daffBillingReducers } from './reducers/billing-reducers';\n\n@NgModule({\n imports: [\n StoreModule.forFeature('billing', daffBillingReducers),\n ],\n})\nexport class DaffBillingStateModule { }\n","import {\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n Store,\n select,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport {\n DaffUpdateBillingAddress,\n DaffUpdatePaymentInfo,\n DaffToggleBillingAddressIsShippingAddress,\n} from '../actions/billing.actions';\nimport { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\nimport {\n selectBillingAddress,\n selectBillingAddressIsShippingAddress,\n selectPaymentInfo,\n} from '../selectors/billing.selector';\n\n@Component({\n selector: '[billing-container]',\n template: '<ng-content></ng-content>',\n exportAs: 'BillingContainer',\n})\nexport class BillingContainer implements OnInit {\n\n billingAddress$: Observable<DaffAddress>;\n billingAddressIsShippingAddress$: Observable<boolean>;\n paymentInfo$: Observable<PaymentInfo>;\n\n constructor(\n private store: Store<DaffBillingReducersState>,\n ) { }\n\n ngOnInit() {\n this.billingAddress$ = this.store.pipe(select(selectBillingAddress));\n this.billingAddressIsShippingAddress$ = this.store.pipe(select(selectBillingAddressIsShippingAddress));\n this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));\n }\n\n updateBillingAddress(address: DaffAddress) {\n this.store.dispatch(new DaffUpdateBillingAddress(address));\n }\n\n toggleBillingAddressIsShippingAddress() {\n this.store.dispatch(new DaffToggleBillingAddressIsShippingAddress());\n }\n\n updatePaymentInfo(info: PaymentInfo) {\n this.store.dispatch(new DaffUpdatePaymentInfo(info));\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffBillingStateModule } from './billing-state.module';\nimport { BillingContainer } from './containers/billing.component';\n\n@NgModule({\n imports: [\n CommonModule,\n\n /**\n * Ngrx/store\n */\n DaffBillingStateModule,\n ],\n declarations: [\n BillingContainer,\n ],\n exports: [\n BillingContainer,\n ],\n})\nexport class DaffBillingModule { }\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport { DaffBillingModule } from '../billing.module';\nimport { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\nimport {\n selectBillingAddress,\n selectBillingAddressIsShippingAddress,\n selectPaymentInfo,\n} from '../selectors/billing.selector';\n\n/**\n * A facade for accessing state for the billing information of a customer\n */\n@Injectable({\n providedIn: DaffBillingModule,\n})\nexport class DaffBillingFacade implements DaffStoreFacade<Action> {\n /**\n * The billing address for a customer.\n */\n billingAddress$: Observable<DaffAddress>;\n /**\n * Whether or not the billing address is the same as the shipping address.\n */\n billingAddressIsShippingAddress$: Observable<boolean>;\n /**\n * The payment information for a customer.\n */\n paymentInfo$: Observable<PaymentInfo>;\n\n constructor(private store: Store<DaffBillingReducersState>) {\n this.billingAddress$ = this.store.pipe(select(selectBillingAddress));\n this.billingAddressIsShippingAddress$ = this.store.pipe(select(selectBillingAddressIsShippingAddress));\n this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { DaffShippingReducerState } from './shipping-reducer.interface';\nimport {\n DaffShippingActionTypes,\n DaffShippingActions,\n} from '../../actions/shipping.actions';\n\nexport const initialState: DaffShippingReducerState = {\n shippingAddress: null,\n selectedShippingOptionId: null,\n};\n\nexport function daffShippingReducer(state = initialState, action: DaffShippingActions): DaffShippingReducerState {\n switch (action.type) {\n case DaffShippingActionTypes.UpdateShippingAddressAction:\n return { ...state, shippingAddress: action.payload };\n case DaffShippingActionTypes.SelectShippingOptionAction:\n return { ...state, selectedShippingOptionId: action.payload };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { daffShippingReducer } from './shipping/shipping.reducer';\nimport { DaffShippingReducersState } from './shipping-reducers.interface';\n\nexport const daffShippingReducers: ActionReducerMap<DaffShippingReducersState> = {\n shipping: daffShippingReducer,\n};\n","import { NgModule } from '@angular/core';\nimport { StoreModule } from '@ngrx/store';\n\nimport { daffShippingReducers } from './reducers/shipping-reducers';\n\n@NgModule({\n imports: [\n StoreModule.forFeature('shipping', daffShippingReducers),\n ],\n})\nexport class DaffShippingStateModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { ShippingContainer } from './containers/shipping.component';\nimport { DaffShippingStateModule } from './shipping-state.module';\n\n@NgModule({\n imports: [\n CommonModule,\n\n /**\n * Ngrx/store\n */\n DaffShippingStateModule,\n ],\n declarations: [\n ShippingContainer,\n ],\n exports: [\n ShippingContainer,\n ],\n})\nexport class DaffShippingModule { }\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\nimport {\n selectShippingAddress,\n selectShippingOptionId,\n selectIsShippingAddressValid,\n} from '../selectors/shipping.selectors';\nimport { DaffShippingModule } from '../shipping.module';\n\n/**\n * A facade for accessing state for shipping information.\n */\n@Injectable({\n providedIn: DaffShippingModule,\n})\nexport class DaffShippingFacade implements DaffStoreFacade<Action> {\n /**\n * The shipping address for the customer.\n */\n shippingAddress$: Observable<DaffAddress>;\n /**\n * The selected shipping option id.\n */\n selectedShippingOptionId$: Observable<string>;\n /**\n * Is the shipping address valid.\n */\n isShippingAddressValid$: Observable<boolean>;\n\n constructor(private store: Store<DaffShippingReducersState>) {\n this.shippingAddress$ = this.store.pipe(select(selectShippingAddress));\n this.selectedShippingOptionId$ = this.store.pipe(select(selectShippingOptionId));\n this.isShippingAddressValid$ = this.store.pipe(select(selectIsShippingAddressValid));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { Action } from '@ngrx/store';\n\nimport { DaffCart } from '@daffodil/cart';\n\nimport { DaffOrder } from '../../models/order/order';\n\n/**\n * @deprecated\n */\nexport enum DaffOrderActionTypes {\n PlaceOrderAction = '[Order] Place Order Action',\n PlaceOrderSuccessAction = '[Order] Place Order Success Action',\n PlaceOrderFailureAction = '[Order] Place Order Failure Action'\n}\n\n/**\n * @deprecated\n */\nexport enum OrderActionTypes {\n PlaceOrderAction = '[Order] Place Order Action',\n PlaceOrderSuccessAction = '[Order] Place Order Success Action',\n PlaceOrderFailureAction = '[Order] Place Order Failure Action'\n}\n\n/**\n * @deprecated\n */\nexport class PlaceOrder implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderAction;\n\n constructor(public payload: DaffCart) {}\n}\n\n/**\n * @deprecated\n */\nexport class DaffPlaceOrder implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderAction;\n\n constructor(public payload: DaffCart) {}\n}\n\n/**\n * @deprecated\n */\nexport class DaffPlaceOrderSuccess implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderSuccessAction;\n\n constructor(public payload: DaffOrder) {}\n}\n\n/**\n * @deprecated\n */\nexport class DaffPlaceOrderFailure implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderFailureAction;\n\n constructor(public payload: string) {}\n}\n\n/**\n * @deprecated\n */\nexport type DaffOrderActions =\n | DaffPlaceOrder\n | PlaceOrder\n | DaffPlaceOrderSuccess\n | DaffPlaceOrderFailure;\n","import { DaffOrderReducerState } from './order-reducer.interface';\nimport {\n DaffOrderActions,\n DaffOrderActionTypes,\n} from '../../actions/order.actions';\n\n/**\n * @deprecated\n */\nexport const initialState: DaffOrderReducerState = {\n order: null,\n loading: false,\n errors: [],\n};\n\n/**\n * @deprecated\n */\nexport function daffOrderReducer(state = initialState, action: DaffOrderActions): DaffOrderReducerState {\n switch (action.type) {\n case DaffOrderActionTypes.PlaceOrderAction:\n return { ...state, loading: true };\n case DaffOrderActionTypes.PlaceOrderSuccessAction:\n return { ...state, order: action.payload, loading: false };\n case DaffOrderActionTypes.PlaceOrderFailureAction:\n return { ...state, errors: [action.payload], loading: false };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { daffOrderReducer } from './order/order.reducer';\nimport { DaffOrderReducersState } from './order-reducers.interface';\n\n/**\n * @deprecated\n */\nexport const daffOrderReducers: ActionReducerMap<DaffOrderReducersState> = {\n order: daffOrderReducer,\n};\n","import { InjectionToken } from '@angular/core';\n\nexport const DaffCheckoutDriver = new InjectionToken('DaffCheckoutDriver');\n","import {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Actions,\n createEffect,\n ofType,\n} from '@ngrx/effects';\nimport {\n Observable,\n of,\n} from 'rxjs';\nimport {\n map,\n catchError,\n switchMap,\n tap,\n} from 'rxjs/operators';\n\nimport { DaffCheckoutDriver } from '../../drivers/injection-tokens/driver-checkout.token';\nimport { DaffCheckoutServiceInterface } from '../../drivers/interfaces/checkout-service.interface';\nimport {\n DaffOrderActionTypes,\n DaffPlaceOrderSuccess,\n DaffPlaceOrder,\n DaffPlaceOrderFailure,\n} from '../actions/order.actions';\n\n/**\n * @deprecated\n */\n@Injectable()\nexport class OrderEffects {\n\n constructor(\n private actions$: Actions,\n @Inject(DaffCheckoutDriver) private checkoutDriver: DaffCheckoutServiceInterface,\n ) {}\n\n\n onPlaceOrder$: Observable<any> = createEffect(() => this.actions$.pipe(\n ofType(DaffOrderActionTypes.PlaceOrderAction),\n switchMap((action: DaffPlaceOrder) =>\n this.checkoutDriver.placeOrder(action.payload.id.toString())\n .pipe(\n map((resp) => new DaffPlaceOrderSuccess(resp)),\n catchError(error => of(new DaffPlaceOrderFailure('Failed to place order'))),\n ),\n ),\n ));\n}\n","import { NgModule } from '@angular/core';\nimport { EffectsModule } from '@ngrx/effects';\nimport { StoreModule } from '@ngrx/store';\n\nimport { OrderEffects } from './effects/order.effects';\nimport { daffOrderReducers } from './reducers/order-reducers';\n\n/**\n * @deprecated\n */\n@NgModule({\n imports: [\n StoreModule.forFeature('order', daffOrderReducers),\n EffectsModule.forFeature([\n OrderEffects,\n ]),\n ],\n})\nexport class DaffOrderStateModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { OrderContainer } from './containers/order.component';\nimport { DaffOrderStateModule } from './order-state.module';\n\n/**\n * @deprecated\n */\n@NgModule({\n imports: [\n CommonModule,\n /**\n * Ngrx/store\n */\n DaffOrderStateModule,\n ],\n declarations: [\n OrderContainer,\n ],\n exports: [\n OrderContainer,\n ],\n})\nexport class DaffOrderModule { }\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { DaffOrder } from '../../models/order/order';\nimport { DaffOrderModule } from '../order.module';\nimport { DaffOrderReducersState } from '../reducers/order-reducers.interface';\nimport {\n selectOrder,\n selectLoading,\n selectErrors,\n} from '../selectors/order.selector';\n\n/**\n * A facade for accessing state for the currently selected category.\n */\n/**\n * @deprecated\n */\n@Injectable({\n providedIn: DaffOrderModule,\n})\nexport class DaffOrderFacade implements DaffStoreFacade<Action> {\n /**\n * The current order.\n */\n order$: Observable<DaffOrder>;\n /**\n * The loading state for the current order.\n */\n loading$: Observable<boolean>;\n /**\n * Any errors involved in loading the order.\n */\n errors$: Observable<string[]>;\n\n constructor(private store: Store<DaffOrderReducersState>) {\n this.order$ = this.store.pipe(select(selectOrder));\n this.loading$ = this.store.pipe(select(selectLoading));\n this.errors$ = this.store.pipe(select(selectErrors));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffBillingModule } from './billing/billing.module';\nimport { DaffOrderModule } from './order/order.module';\nimport { DaffPaymentModule } from './payment/payment.module';\nimport { DaffShippingModule } from './shipping/shipping.module';\n\n@NgModule({\n imports: [\n CommonModule,\n DaffShippingModule,\n DaffPaymentModule,\n DaffBillingModule,\n DaffOrderModule,\n ],\n exports: [\n DaffShippingModule,\n DaffPaymentModule,\n DaffBillingModule,\n DaffOrderModule,\n ],\n})\nexport class StateCheckoutModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["initialState","selectPaymentInfo","i2"],"mappings":";;;;;;;;;;IAIY,wBAGX;AAHD,CAAA,UAAY,uBAAuB,EAAA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AA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAb5B,YAAY;YACZ,kBAAkB;YAClB,iBAAiB;YACjB,iBAAiB;AACjB,YAAA,eAAe,aAGf,kBAAkB;YAClB,iBAAiB;YACjB,iBAAiB;YACjB,eAAe,CAAA,EAAA,CAAA,CAAA,EAAA;AAGN,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAb5B,YAAY;YACZ,kBAAkB;YAClB,iBAAiB;YACjB,iBAAiB;AACjB,YAAA,eAAe,EAGf,kBAAkB;YAClB,iBAAiB;YACjB,iBAAiB;YACjB,eAAe,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGN,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAf/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,kBAAkB;wBAClB,iBAAiB;wBACjB,iBAAiB;wBACjB,eAAe;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,kBAAkB;wBAClB,iBAAiB;wBACjB,iBAAiB;wBACjB,eAAe;AAChB,qBAAA;AACF,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"daffodil-checkout.mjs","sources":["../../../libs/checkout/src/shipping/actions/shipping.actions.ts","../../../libs/checkout/src/shipping/selectors/shipping.selectors.ts","../../../libs/checkout/src/shipping/containers/shipping.component.ts","../../../libs/checkout/src/order/selectors/order.selector.ts","../../../libs/checkout/src/order/containers/order.component.ts","../../../libs/checkout/src/payment/actions/payment.actions.ts","../../../libs/checkout/src/payment/reducers/payment/payment.reducer.ts","../../../libs/checkout/src/payment/reducers/payment-reducers.ts","../../../libs/checkout/src/payment/payment-state.module.ts","../../../libs/checkout/src/payment/payment.module.ts","../../../libs/checkout/src/payment/selectors/payment.selector.ts","../../../libs/checkout/src/payment/facades/payment.facade.ts","../../../libs/checkout/src/drivers/injection-tokens/payment-driver.token.ts","../../../libs/checkout/src/drivers/interfaces/order-service.interface.ts","../../../libs/checkout/src/drivers/injection-tokens/payment-transformer.token.ts","../../../libs/checkout/src/billing/actions/billing.actions.ts","../../../libs/checkout/src/billing/selectors/billing.selector.ts","../../../libs/checkout/src/billing/reducers/billing/billing.reducer.ts","../../../libs/checkout/src/billing/reducers/billing-reducers.ts","../../../libs/checkout/src/billing/billing-state.module.ts","../../../libs/checkout/src/billing/containers/billing.component.ts","../../../libs/checkout/src/billing/billing.module.ts","../../../libs/checkout/src/billing/facades/billing.facade.ts","../../../libs/checkout/src/shipping/reducers/shipping/shipping.reducer.ts","../../../libs/checkout/src/shipping/reducers/shipping-reducers.ts","../../../libs/checkout/src/shipping/shipping-state.module.ts","../../../libs/checkout/src/shipping/shipping.module.ts","../../../libs/checkout/src/shipping/facades/shipping.facade.ts","../../../libs/checkout/src/order/actions/order.actions.ts","../../../libs/checkout/src/order/reducers/order/order.reducer.ts","../../../libs/checkout/src/order/reducers/order-reducers.ts","../../../libs/checkout/src/drivers/injection-tokens/driver-checkout.token.ts","../../../libs/checkout/src/order/effects/order.effects.ts","../../../libs/checkout/src/order/order-state.module.ts","../../../libs/checkout/src/order/order.module.ts","../../../libs/checkout/src/order/facades/order.facade.ts","../../../libs/checkout/src/checkout.module.ts","../../../libs/checkout/src/daffodil-checkout.ts"],"sourcesContent":["import { Action } from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nexport enum DaffShippingActionTypes {\n UpdateShippingAddressAction = '[Shipping] Update Shipping Address Action',\n SelectShippingOptionAction = '[Shipping] Select Shipping Option Action'\n}\n\nexport class DaffUpdateShippingAddress implements Action {\n readonly type = DaffShippingActionTypes.UpdateShippingAddressAction;\n\n constructor(public payload: DaffAddress) {}\n}\n\nexport class DaffSelectShippingOption implements Action {\n readonly type = DaffShippingActionTypes.SelectShippingOptionAction;\n\n constructor(public payload: string) {}\n}\n\nexport type DaffShippingActions =\n | DaffUpdateShippingAddress\n | DaffSelectShippingOption;\n","import {\n createSelector,\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { DaffShippingReducerState } from '../reducers/shipping/shipping-reducer.interface';\nimport { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\n\n/**\n * Shipping Feature State\n */\nexport const selectShippingFeatureState: MemoizedSelector<Record<string, any>, DaffShippingReducersState> = createFeatureSelector<DaffShippingReducersState>('shipping');\n\n/**\n * Shipping State\n */\nexport const selectShippingState = createSelector(\n selectShippingFeatureState,\n (state: DaffShippingReducersState) => state.shipping,\n);\n\nexport const selectShippingAddress: MemoizedSelector<Record<string, any>, DaffAddress> = createSelector(\n selectShippingState,\n (state: DaffShippingReducerState) => state.shippingAddress,\n);\n\nexport const selectShippingOptionId: MemoizedSelector<Record<string, any>, string> = createSelector(\n selectShippingState,\n (state: DaffShippingReducerState) => state.selectedShippingOptionId,\n);\n\nexport const selectIsShippingAddressValid: MemoizedSelector<Record<string, any>, boolean> = createSelector(\n selectShippingAddress,\n (state: DaffAddress) => !!state,\n);\n","import {\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n Store,\n select,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport {\n DaffUpdateShippingAddress,\n DaffSelectShippingOption,\n} from '../actions/shipping.actions';\nimport { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\nimport {\n selectShippingAddress,\n selectShippingOptionId,\n selectIsShippingAddressValid,\n} from '../selectors/shipping.selectors';\n\n@Component({\n selector: '[shipping-container]',\n template: '<ng-content></ng-content>',\n exportAs: 'ShippingContainer',\n})\nexport class ShippingContainer implements OnInit {\n\n shippingAddress$: Observable<DaffAddress>;\n selectedShippingOptionId$: Observable<string>;\n isShippingAddressValid$: Observable<boolean>;\n isShippingOptionSelected$: Observable<boolean>;\n\n constructor(\n private store: Store<DaffShippingReducersState>,\n ) { }\n\n ngOnInit() {\n this.shippingAddress$ = this.store.pipe(select(selectShippingAddress));\n this.selectedShippingOptionId$ = this.store.pipe(select(selectShippingOptionId));\n this.isShippingAddressValid$ = this.store.pipe(select(selectIsShippingAddressValid));\n }\n\n updateShippingAddress(address: DaffAddress) {\n this.store.dispatch(new DaffUpdateShippingAddress(address));\n }\n\n selectShippingOption(optionId: string) {\n this.store.dispatch(new DaffSelectShippingOption(optionId));\n }\n}\n","import {\n createSelector,\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport { DaffOrder } from '../../models/order/order';\nimport { DaffOrderReducerState } from '../reducers/order/order-reducer.interface';\nimport { DaffOrderReducersState } from '../reducers/order-reducers.interface';\n\n/**\n * Order Feature State\n *\n * @deprecated\n */\nexport const selectOrderFeatureState: MemoizedSelector<Record<string, any>, DaffOrderReducersState> = createFeatureSelector<DaffOrderReducersState>('order');\n\n/**\n * Order State\n *\n * @deprecated\n */\nexport const selectOrderState = createSelector(\n selectOrderFeatureState,\n (state: DaffOrderReducersState) => state.order,\n);\n\n/**\n * @deprecated\n */\nexport const selectOrder: MemoizedSelector<Record<string, any>, DaffOrder> = createSelector(\n selectOrderState,\n (state: DaffOrderReducerState) => state.order,\n);\n\n/**\n * @deprecated\n */\nexport const selectLoading: MemoizedSelector<Record<string, any>, boolean> = createSelector(\n selectOrderState,\n (state: DaffOrderReducerState) => state.loading,\n);\n\n/**\n * @deprecated\n */\nexport const selectErrors: MemoizedSelector<Record<string, any>, string[]> = createSelector(\n selectOrderState,\n (state: DaffOrderReducerState) => state.errors,\n);\n","import {\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n Store,\n select,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffOrder } from '../../models/order/order';\nimport { DaffOrderReducersState } from '../reducers/order-reducers.interface';\nimport {\n selectOrder,\n selectLoading,\n} from '../selectors/order.selector';\n\n/**\n * @deprecated\n */\n@Component({\n selector: '[order-container]',\n template: '<ng-content></ng-content>',\n exportAs: 'OrderContainer',\n})\nexport class OrderContainer implements OnInit {\n\n order$: Observable<DaffOrder>;\n loading$: Observable<boolean>;\n\n constructor(\n private store: Store<DaffOrderReducersState>,\n ) { }\n\n ngOnInit() {\n this.order$ = this.store.pipe(select(selectOrder));\n this.loading$ = this.store.pipe(select(selectLoading));\n }\n}\n","import { Action } from '@ngrx/store';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\n\nexport enum DaffPaymentActionTypes {\n UpdatePaymentInfoAction = '[Payment] Update Payment Info Action'\n}\n\nexport class DaffUpdatePaymentInfo implements Action {\n readonly type = DaffPaymentActionTypes.UpdatePaymentInfoAction;\n\n constructor(public payload: PaymentInfo) {}\n}\n\nexport type DaffPaymentActions =\n | DaffUpdatePaymentInfo;\n","import { DaffPaymentReducerState } from './payment-reducer.interface';\nimport {\n DaffPaymentActionTypes,\n DaffPaymentActions,\n} from '../../actions/payment.actions';\n\nexport const initialState: DaffPaymentReducerState = {\n paymentInfo: null,\n};\n\nexport function daffPaymentReducer(state = initialState, action: DaffPaymentActions): DaffPaymentReducerState {\n switch (action.type) {\n case DaffPaymentActionTypes.UpdatePaymentInfoAction:\n return { ...state, paymentInfo: action.payload };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { daffPaymentReducer } from './payment/payment.reducer';\nimport { DaffPaymentReducersState } from './payment-reducers.interface';\n\nexport const daffPaymentReducers: ActionReducerMap<DaffPaymentReducersState> = {\n payment: daffPaymentReducer,\n};\n","import { NgModule } from '@angular/core';\nimport { StoreModule } from '@ngrx/store';\n\nimport { daffPaymentReducers } from './reducers/payment-reducers';\n\n@NgModule({\n imports: [\n StoreModule.forFeature('payment', daffPaymentReducers),\n ],\n})\nexport class DaffPaymentStateModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffPaymentStateModule } from './payment-state.module';\n\n@NgModule({\n imports: [\n CommonModule,\n\n /**\n * Ngrx/store\n */\n DaffPaymentStateModule,\n ],\n})\nexport class DaffPaymentModule { }\n","import {\n createSelector,\n createFeatureSelector,\n} from '@ngrx/store';\n\nimport { DaffPaymentReducerState } from '../reducers/payment/payment-reducer.interface';\nimport { DaffPaymentReducersState } from '../reducers/payment-reducers.interface';\n\n/**\n * Payment Feature State\n */\nexport const selectPaymentFeatureState = createFeatureSelector<DaffPaymentReducersState>('payment');\n\n/**\n * Payment State\n */\nexport const selectPaymentState = createSelector(\n selectPaymentFeatureState,\n (state: DaffPaymentReducersState) => state.payment,\n);\n\nexport const selectPaymentInfo = createSelector(\n selectPaymentState,\n (state: DaffPaymentReducerState) => state.paymentInfo,\n);\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport { DaffPaymentModule } from '../payment.module';\nimport { DaffPaymentReducersState } from '../reducers/payment-reducers.interface';\nimport { selectPaymentInfo } from '../selectors/payment.selector';\n\n/**\n * A facade for accessing state for customer payment information.\n */\n@Injectable({\n providedIn: DaffPaymentModule,\n})\nexport class DaffPaymentFacade implements DaffStoreFacade<Action> {\n /**\n * The payment information for a customer.\n */\n paymentInfo$: Observable<PaymentInfo>;\n\n constructor(private store: Store<DaffPaymentReducersState>) {\n this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const DaffPaymentDriver = new InjectionToken('DaffPaymentDriver');\n","import { InjectionToken } from '@angular/core';\nimport { Observable } from 'rxjs';\n\nimport { DaffOrder } from '../../models/order/order';\n\nexport const DaffOrderDriver = new InjectionToken<DaffOrderServiceInterface>('DaffOrderDriver');\n\n/**\n * Query order objects accessible by the logged-in user.\n *\n * @deprecated\n */\nexport interface DaffOrderServiceInterface<T extends DaffOrder = DaffOrder> {\n /**\n * Get an order object with the specified order ID.\n */\n get(orderId: T['id']): Observable<T>;\n\n /**\n * List all order objects for the logged-in user.\n */\n list(): Observable<T[]>;\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const DaffPaymentTransformer = new InjectionToken('DaffPaymentTransformer');\n","import { Action } from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\n\nexport enum DaffBillingActionTypes {\n UpdateBillingAddressAction = '[Billing] Update Billing Address Action',\n UpdatePaymentInfoAction = '[Billing] Update Payment Info Action',\n ToggleBillingAddressIsShippingAddressAction = '[Billing] Billing Address Is Shipping Address Action'\n}\n\nexport class DaffUpdateBillingAddress implements Action {\n readonly type = DaffBillingActionTypes.UpdateBillingAddressAction;\n\n constructor(public payload: DaffAddress) {}\n}\n\nexport class DaffUpdatePaymentInfo implements Action {\n readonly type = DaffBillingActionTypes.UpdatePaymentInfoAction;\n\n constructor(public payload: PaymentInfo) {}\n}\n\nexport class DaffToggleBillingAddressIsShippingAddress implements Action {\n readonly type = DaffBillingActionTypes.ToggleBillingAddressIsShippingAddressAction;\n}\n\nexport type DaffBillingActions =\n | DaffUpdateBillingAddress\n | DaffUpdatePaymentInfo\n | DaffToggleBillingAddressIsShippingAddress;\n","import {\n createSelector,\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport { DaffBillingReducerState } from '../reducers/billing/billing-reducer.interface';\nimport { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\n\n/**\n * Billing Feature State\n */\nexport const selectBillingFeatureState: MemoizedSelector<Record<string, any>, DaffBillingReducersState> = createFeatureSelector<DaffBillingReducersState>('billing');\n\n/**\n * Billing State\n */\nexport const selectBillingState = createSelector(\n selectBillingFeatureState,\n (state: DaffBillingReducersState) => state.billing,\n);\n\nexport const selectBillingAddress: MemoizedSelector<Record<string, any>, DaffAddress> = createSelector(\n selectBillingState,\n (state: DaffBillingReducerState) => state.billingAddress,\n);\n\nexport const selectBillingAddressIsShippingAddress: MemoizedSelector<Record<string, any>, boolean> = createSelector(\n selectBillingState,\n (state: DaffBillingReducerState) => state.billingAddressIsShippingAddress,\n);\n\nexport const selectPaymentInfo: MemoizedSelector<Record<string, any>, PaymentInfo> = createSelector(\n selectBillingState,\n (state: DaffBillingReducerState) => state.paymentInfo,\n);\n","import { DaffBillingReducerState } from './billing-reducer.interface';\nimport {\n DaffBillingActionTypes,\n DaffBillingActions,\n} from '../../actions/billing.actions';\n\nexport const initialState: DaffBillingReducerState = {\n billingAddress: null,\n billingAddressIsShippingAddress: false,\n paymentInfo: null,\n};\n\nexport function daffBillingReducer(state = initialState, action: DaffBillingActions): DaffBillingReducerState {\n switch (action.type) {\n case DaffBillingActionTypes.UpdateBillingAddressAction:\n return { ...state, billingAddress: action.payload };\n case DaffBillingActionTypes.ToggleBillingAddressIsShippingAddressAction:\n return { ...state, billingAddress: null, billingAddressIsShippingAddress: !state.billingAddressIsShippingAddress };\n case DaffBillingActionTypes.UpdatePaymentInfoAction:\n return { ...state, paymentInfo: action.payload };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { daffBillingReducer } from './billing/billing.reducer';\nimport { DaffBillingReducersState } from './billing-reducers.interface';\n\nexport const daffBillingReducers: ActionReducerMap<DaffBillingReducersState> = {\n billing: daffBillingReducer,\n};\n","import { NgModule } from '@angular/core';\nimport { StoreModule } from '@ngrx/store';\n\nimport { daffBillingReducers } from './reducers/billing-reducers';\n\n@NgModule({\n imports: [\n StoreModule.forFeature('billing', daffBillingReducers),\n ],\n})\nexport class DaffBillingStateModule { }\n","import {\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n Store,\n select,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport {\n DaffUpdateBillingAddress,\n DaffUpdatePaymentInfo,\n DaffToggleBillingAddressIsShippingAddress,\n} from '../actions/billing.actions';\nimport { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\nimport {\n selectBillingAddress,\n selectBillingAddressIsShippingAddress,\n selectPaymentInfo,\n} from '../selectors/billing.selector';\n\n@Component({\n selector: '[billing-container]',\n template: '<ng-content></ng-content>',\n exportAs: 'BillingContainer',\n})\nexport class BillingContainer implements OnInit {\n\n billingAddress$: Observable<DaffAddress>;\n billingAddressIsShippingAddress$: Observable<boolean>;\n paymentInfo$: Observable<PaymentInfo>;\n\n constructor(\n private store: Store<DaffBillingReducersState>,\n ) { }\n\n ngOnInit() {\n this.billingAddress$ = this.store.pipe(select(selectBillingAddress));\n this.billingAddressIsShippingAddress$ = this.store.pipe(select(selectBillingAddressIsShippingAddress));\n this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));\n }\n\n updateBillingAddress(address: DaffAddress) {\n this.store.dispatch(new DaffUpdateBillingAddress(address));\n }\n\n toggleBillingAddressIsShippingAddress() {\n this.store.dispatch(new DaffToggleBillingAddressIsShippingAddress());\n }\n\n updatePaymentInfo(info: PaymentInfo) {\n this.store.dispatch(new DaffUpdatePaymentInfo(info));\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffBillingStateModule } from './billing-state.module';\nimport { BillingContainer } from './containers/billing.component';\n\n@NgModule({\n imports: [\n CommonModule,\n\n /**\n * Ngrx/store\n */\n DaffBillingStateModule,\n ],\n declarations: [\n BillingContainer,\n ],\n exports: [\n BillingContainer,\n ],\n})\nexport class DaffBillingModule { }\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport { DaffBillingModule } from '../billing.module';\nimport { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\nimport {\n selectBillingAddress,\n selectBillingAddressIsShippingAddress,\n selectPaymentInfo,\n} from '../selectors/billing.selector';\n\n/**\n * A facade for accessing state for the billing information of a customer\n */\n@Injectable({\n providedIn: DaffBillingModule,\n})\nexport class DaffBillingFacade implements DaffStoreFacade<Action> {\n /**\n * The billing address for a customer.\n */\n billingAddress$: Observable<DaffAddress>;\n /**\n * Whether or not the billing address is the same as the shipping address.\n */\n billingAddressIsShippingAddress$: Observable<boolean>;\n /**\n * The payment information for a customer.\n */\n paymentInfo$: Observable<PaymentInfo>;\n\n constructor(private store: Store<DaffBillingReducersState>) {\n this.billingAddress$ = this.store.pipe(select(selectBillingAddress));\n this.billingAddressIsShippingAddress$ = this.store.pipe(select(selectBillingAddressIsShippingAddress));\n this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { DaffShippingReducerState } from './shipping-reducer.interface';\nimport {\n DaffShippingActionTypes,\n DaffShippingActions,\n} from '../../actions/shipping.actions';\n\nexport const initialState: DaffShippingReducerState = {\n shippingAddress: null,\n selectedShippingOptionId: null,\n};\n\nexport function daffShippingReducer(state = initialState, action: DaffShippingActions): DaffShippingReducerState {\n switch (action.type) {\n case DaffShippingActionTypes.UpdateShippingAddressAction:\n return { ...state, shippingAddress: action.payload };\n case DaffShippingActionTypes.SelectShippingOptionAction:\n return { ...state, selectedShippingOptionId: action.payload };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { daffShippingReducer } from './shipping/shipping.reducer';\nimport { DaffShippingReducersState } from './shipping-reducers.interface';\n\nexport const daffShippingReducers: ActionReducerMap<DaffShippingReducersState> = {\n shipping: daffShippingReducer,\n};\n","import { NgModule } from '@angular/core';\nimport { StoreModule } from '@ngrx/store';\n\nimport { daffShippingReducers } from './reducers/shipping-reducers';\n\n@NgModule({\n imports: [\n StoreModule.forFeature('shipping', daffShippingReducers),\n ],\n})\nexport class DaffShippingStateModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { ShippingContainer } from './containers/shipping.component';\nimport { DaffShippingStateModule } from './shipping-state.module';\n\n@NgModule({\n imports: [\n CommonModule,\n\n /**\n * Ngrx/store\n */\n DaffShippingStateModule,\n ],\n declarations: [\n ShippingContainer,\n ],\n exports: [\n ShippingContainer,\n ],\n})\nexport class DaffShippingModule { }\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\nimport {\n selectShippingAddress,\n selectShippingOptionId,\n selectIsShippingAddressValid,\n} from '../selectors/shipping.selectors';\nimport { DaffShippingModule } from '../shipping.module';\n\n/**\n * A facade for accessing state for shipping information.\n */\n@Injectable({\n providedIn: DaffShippingModule,\n})\nexport class DaffShippingFacade implements DaffStoreFacade<Action> {\n /**\n * The shipping address for the customer.\n */\n shippingAddress$: Observable<DaffAddress>;\n /**\n * The selected shipping option id.\n */\n selectedShippingOptionId$: Observable<string>;\n /**\n * Is the shipping address valid.\n */\n isShippingAddressValid$: Observable<boolean>;\n\n constructor(private store: Store<DaffShippingReducersState>) {\n this.shippingAddress$ = this.store.pipe(select(selectShippingAddress));\n this.selectedShippingOptionId$ = this.store.pipe(select(selectShippingOptionId));\n this.isShippingAddressValid$ = this.store.pipe(select(selectIsShippingAddressValid));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { Action } from '@ngrx/store';\n\nimport { DaffCart } from '@daffodil/cart';\n\nimport { DaffOrder } from '../../models/order/order';\n\n/**\n * @deprecated\n */\nexport enum DaffOrderActionTypes {\n PlaceOrderAction = '[Order] Place Order Action',\n PlaceOrderSuccessAction = '[Order] Place Order Success Action',\n PlaceOrderFailureAction = '[Order] Place Order Failure Action'\n}\n\n/**\n * @deprecated\n */\nexport enum OrderActionTypes {\n PlaceOrderAction = '[Order] Place Order Action',\n PlaceOrderSuccessAction = '[Order] Place Order Success Action',\n PlaceOrderFailureAction = '[Order] Place Order Failure Action'\n}\n\n/**\n * @deprecated\n */\nexport class PlaceOrder implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderAction;\n\n constructor(public payload: DaffCart) {}\n}\n\n/**\n * @deprecated\n */\nexport class DaffPlaceOrder implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderAction;\n\n constructor(public payload: DaffCart) {}\n}\n\n/**\n * @deprecated\n */\nexport class DaffPlaceOrderSuccess implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderSuccessAction;\n\n constructor(public payload: DaffOrder) {}\n}\n\n/**\n * @deprecated\n */\nexport class DaffPlaceOrderFailure implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderFailureAction;\n\n constructor(public payload: string) {}\n}\n\n/**\n * @deprecated\n */\nexport type DaffOrderActions =\n | DaffPlaceOrder\n | PlaceOrder\n | DaffPlaceOrderSuccess\n | DaffPlaceOrderFailure;\n","import { DaffOrderReducerState } from './order-reducer.interface';\nimport {\n DaffOrderActions,\n DaffOrderActionTypes,\n} from '../../actions/order.actions';\n\n/**\n * @deprecated\n */\nexport const initialState: DaffOrderReducerState = {\n order: null,\n loading: false,\n errors: [],\n};\n\n/**\n * @deprecated\n */\nexport function daffOrderReducer(state = initialState, action: DaffOrderActions): DaffOrderReducerState {\n switch (action.type) {\n case DaffOrderActionTypes.PlaceOrderAction:\n return { ...state, loading: true };\n case DaffOrderActionTypes.PlaceOrderSuccessAction:\n return { ...state, order: action.payload, loading: false };\n case DaffOrderActionTypes.PlaceOrderFailureAction:\n return { ...state, errors: [action.payload], loading: false };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { daffOrderReducer } from './order/order.reducer';\nimport { DaffOrderReducersState } from './order-reducers.interface';\n\n/**\n * @deprecated\n */\nexport const daffOrderReducers: ActionReducerMap<DaffOrderReducersState> = {\n order: daffOrderReducer,\n};\n","import { InjectionToken } from '@angular/core';\n\nexport const DaffCheckoutDriver = new InjectionToken('DaffCheckoutDriver');\n","import {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Actions,\n createEffect,\n ofType,\n} from '@ngrx/effects';\nimport {\n Observable,\n of,\n} from 'rxjs';\nimport {\n map,\n catchError,\n switchMap,\n tap,\n} from 'rxjs/operators';\n\nimport { DaffCheckoutDriver } from '../../drivers/injection-tokens/driver-checkout.token';\nimport { DaffCheckoutServiceInterface } from '../../drivers/interfaces/checkout-service.interface';\nimport {\n DaffOrderActionTypes,\n DaffPlaceOrderSuccess,\n DaffPlaceOrder,\n DaffPlaceOrderFailure,\n} from '../actions/order.actions';\n\n/**\n * @deprecated\n */\n@Injectable()\nexport class OrderEffects {\n\n constructor(\n private actions$: Actions,\n @Inject(DaffCheckoutDriver) private checkoutDriver: DaffCheckoutServiceInterface,\n ) {}\n\n\n onPlaceOrder$: Observable<any> = createEffect(() => this.actions$.pipe(\n ofType(DaffOrderActionTypes.PlaceOrderAction),\n switchMap((action: DaffPlaceOrder) =>\n this.checkoutDriver.placeOrder(action.payload.id.toString())\n .pipe(\n map((resp) => new DaffPlaceOrderSuccess(resp)),\n catchError(error => of(new DaffPlaceOrderFailure('Failed to place order'))),\n ),\n ),\n ));\n}\n","import { NgModule } from '@angular/core';\nimport { EffectsModule } from '@ngrx/effects';\nimport { StoreModule } from '@ngrx/store';\n\nimport { OrderEffects } from './effects/order.effects';\nimport { daffOrderReducers } from './reducers/order-reducers';\n\n/**\n * @deprecated\n */\n@NgModule({\n imports: [\n StoreModule.forFeature('order', daffOrderReducers),\n EffectsModule.forFeature([\n OrderEffects,\n ]),\n ],\n})\nexport class DaffOrderStateModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { OrderContainer } from './containers/order.component';\nimport { DaffOrderStateModule } from './order-state.module';\n\n/**\n * @deprecated\n */\n@NgModule({\n imports: [\n CommonModule,\n /**\n * Ngrx/store\n */\n DaffOrderStateModule,\n ],\n declarations: [\n OrderContainer,\n ],\n exports: [\n OrderContainer,\n ],\n})\nexport class DaffOrderModule { }\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { DaffOrder } from '../../models/order/order';\nimport { DaffOrderModule } from '../order.module';\nimport { DaffOrderReducersState } from '../reducers/order-reducers.interface';\nimport {\n selectOrder,\n selectLoading,\n selectErrors,\n} from '../selectors/order.selector';\n\n/**\n * A facade for accessing state for the currently selected category.\n */\n/**\n * @deprecated\n */\n@Injectable({\n providedIn: DaffOrderModule,\n})\nexport class DaffOrderFacade implements DaffStoreFacade<Action> {\n /**\n * The current order.\n */\n order$: Observable<DaffOrder>;\n /**\n * The loading state for the current order.\n */\n loading$: Observable<boolean>;\n /**\n * Any errors involved in loading the order.\n */\n errors$: Observable<string[]>;\n\n constructor(private store: Store<DaffOrderReducersState>) {\n this.order$ = this.store.pipe(select(selectOrder));\n this.loading$ = this.store.pipe(select(selectLoading));\n this.errors$ = this.store.pipe(select(selectErrors));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffBillingModule } from './billing/billing.module';\nimport { DaffOrderModule } from './order/order.module';\nimport { DaffPaymentModule } from './payment/payment.module';\nimport { DaffShippingModule } from './shipping/shipping.module';\n\n@NgModule({\n imports: [\n CommonModule,\n DaffShippingModule,\n DaffPaymentModule,\n DaffBillingModule,\n DaffOrderModule,\n ],\n exports: [\n DaffShippingModule,\n DaffPaymentModule,\n DaffBillingModule,\n DaffOrderModule,\n ],\n})\nexport class StateCheckoutModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["initialState","selectPaymentInfo","i2"],"mappings":";;;;;;;;;;IAIY,wBAGX;AAHD,CAAA,UAAY,uBAAuB,EAAA;AACjC,IAAA,uBAAA,CAAA,6BAAA,CAAA,GAAA,2CAAyE,CAAA;AACzE,IAAA,uBAAA,CAAA,4BAAA,CAAA,GAAA,0CAAuE,CAAA;AACzE,CAAC,EAHW,uBAAuB,KAAvB,uBAAuB,GAGlC,EAAA,CAAA,CAAA,CAAA;MAEY,yBAAyB,CAAA;AAGpC,IAAA,WAAA,CAAmB,OAAoB,EAAA;QAApB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAa;AAF9B,QAAA,IAAA,CAAA,IAAI,GAAG,uBAAuB,CAAC,2BAA2B,CAAC;KAEzB;AAC5C,CAAA;MAEY,wBAAwB,CAAA;AAGnC,IAAA,WAAA,CAAmB,OAAe,EAAA;QAAf,IAAO,CAAA,OAAA,GAAP,OAAO,CAAQ;AAFzB,QAAA,IAAA,CAAA,IAAI,GAAG,uBAAuB,CAAC,0BAA0B,CAAC;KAE7B;AACvC;;ACRD;;AAEG;MACU,0BAA0B,GAAqE,qBAAqB,CAA4B,UAAU,EAAE;AAEzK;;AAEG;AACU,MAAA,mBAAmB,GAAG,cAAc,CAC/C,0BAA0B,EAC1B,CAAC,KAAgC,KAAK,KAAK,CAAC,QAAQ,EACpD;AAEW,MAAA,qBAAqB,GAAuD,cAAc,CACrG,mBAAmB,EACnB,CAAC,KAA+B,KAAK,KAAK,CAAC,eAAe,EAC1D;AAEW,MAAA,sBAAsB,GAAkD,cAAc,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AAA,CAAA;;;ACtBD;;AAEG;;;;"}
|
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"@daffodil/checkout","nx":{"targets":{"build":{"outputs":["{workspaceRoot}/dist/checkout"]}}},"version":"0.
|
1
|
+
{"name":"@daffodil/checkout","nx":{"targets":{"build":{"outputs":["{workspaceRoot}/dist/checkout"]}}},"version":"0.71.0","description":"Interfaces built for daffodil/state","repository":{"type":"git","url":"https://github.com/graycoreio/daffodil"},"author":"Graycore LLC","license":"MIT","bugs":{"url":"https://github.com/graycoreio/daffodil/issues"},"homepage":"https://github.com/graycoreio/daffodil","peerDependencies":{"@angular/common":"^17.0.0","@angular/core":"^17.0.0","@daffodil/cart":"0.71.0","@daffodil/core":"0.71.0","@daffodil/order":"0.71.0","@daffodil/product":"0.71.0","@ngrx/effects":"^17.0.0","@ngrx/entity":"^17.0.0","@ngrx/store":"^17.0.0","rxjs":"7.8.1"},"optionalDependencies":{"@faker-js/faker":"^7.6.0","angular-in-memory-web-api":"^0.17.0"},"module":"fesm2022/daffodil-checkout.mjs","typings":"index.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./index.d.ts","esm2022":"./esm2022/daffodil-checkout.mjs","esm":"./esm2022/daffodil-checkout.mjs","default":"./fesm2022/daffodil-checkout.mjs"},"./state":{"types":"./state/index.d.ts","esm2022":"./esm2022/state/daffodil-checkout-state.mjs","esm":"./esm2022/state/daffodil-checkout-state.mjs","default":"./fesm2022/daffodil-checkout-state.mjs"},"./testing":{"types":"./testing/index.d.ts","esm2022":"./esm2022/testing/daffodil-checkout-testing.mjs","esm":"./esm2022/testing/daffodil-checkout-testing.mjs","default":"./fesm2022/daffodil-checkout-testing.mjs"},"./state/testing":{"types":"./state/testing/index.d.ts","esm2022":"./esm2022/state/testing/daffodil-checkout-state-testing.mjs","esm":"./esm2022/state/testing/daffodil-checkout-state-testing.mjs","default":"./fesm2022/daffodil-checkout-state-testing.mjs"}},"sideEffects":false,"dependencies":{"tslib":"^2.3.0"}}
|