@daffodil/checkout 0.43.1 → 0.45.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/esm2020/billing/billing-state.module.mjs +4 -4
- package/esm2020/billing/billing.module.mjs +4 -4
- package/esm2020/billing/containers/billing.component.mjs +3 -3
- package/esm2020/billing/facades/billing.facade.mjs +3 -3
- package/esm2020/checkout.module.mjs +4 -4
- package/esm2020/order/containers/order.component.mjs +3 -3
- package/esm2020/order/effects/order.effects.mjs +3 -3
- package/esm2020/order/facades/order.facade.mjs +3 -3
- package/esm2020/order/order-state.module.mjs +4 -4
- package/esm2020/order/order.module.mjs +4 -4
- package/esm2020/payment/facades/payment.facade.mjs +3 -3
- package/esm2020/payment/payment-state.module.mjs +4 -4
- package/esm2020/payment/payment.module.mjs +4 -4
- package/esm2020/shipping/containers/shipping.component.mjs +3 -3
- package/esm2020/shipping/facades/shipping.facade.mjs +3 -3
- package/esm2020/shipping/shipping-state.module.mjs +4 -4
- package/esm2020/shipping/shipping.module.mjs +4 -4
- package/esm2020/testing/drivers/in-memory/checkout-driver.module.mjs +4 -4
- package/esm2020/testing/drivers/in-memory/checkout.service.mjs +3 -3
- package/esm2020/testing/drivers/testing/checkout-driver.module.mjs +4 -4
- package/esm2020/testing/drivers/testing/checkout.service.mjs +3 -3
- package/esm2020/testing/inmemory-backend/checkout.service.mjs +3 -3
- package/esm2020/testing/order/factories/order-address.factory.mjs +3 -3
- package/esm2020/testing/order/factories/order-item.factory.mjs +3 -3
- package/esm2020/testing/order/factories/order-payment.factory.mjs +3 -3
- package/esm2020/testing/order/factories/order-shipping-rate.factory.mjs +3 -3
- package/esm2020/testing/order/factories/order.factory.mjs +3 -3
- package/esm2020/testing/payment/factories/payment.factory.mjs +3 -3
- package/esm2020/testing/shipping/factories/shipping-option.factory.mjs +3 -3
- package/esm2020/testing/shipping/factories/shipping-rate.factory.mjs +3 -3
- package/fesm2015/daffodil-checkout-testing.mjs +28 -28
- package/fesm2015/daffodil-checkout-testing.mjs.map +1 -1
- package/fesm2015/daffodil-checkout.mjs +43 -43
- package/fesm2015/daffodil-checkout.mjs.map +1 -1
- package/fesm2020/daffodil-checkout-testing.mjs +28 -28
- package/fesm2020/daffodil-checkout-testing.mjs.map +1 -1
- package/fesm2020/daffodil-checkout.mjs +43 -43
- package/fesm2020/daffodil-checkout.mjs.map +1 -1
- package/package.json +4 -4
@@ -54,8 +54,8 @@ class ShippingContainer {
|
|
54
54
|
this.store.dispatch(new DaffSelectShippingOption(optionId));
|
55
55
|
}
|
56
56
|
}
|
57
|
-
/** @nocollapse */
|
58
|
-
/** @nocollapse */
|
57
|
+
/** @nocollapse */ ShippingContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: ShippingContainer, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Component });
|
58
|
+
/** @nocollapse */ ShippingContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: ShippingContainer, selector: "[shipping-container]", exportAs: ["ShippingContainer"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
59
59
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: ShippingContainer, decorators: [{
|
60
60
|
type: Component,
|
61
61
|
args: [{
|
@@ -102,8 +102,8 @@ class OrderContainer {
|
|
102
102
|
this.loading$ = this.store.pipe(select(selectLoading));
|
103
103
|
}
|
104
104
|
}
|
105
|
-
/** @nocollapse */
|
106
|
-
/** @nocollapse */
|
105
|
+
/** @nocollapse */ OrderContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: OrderContainer, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Component });
|
106
|
+
/** @nocollapse */ OrderContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: OrderContainer, selector: "[order-container]", exportAs: ["OrderContainer"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
107
107
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: OrderContainer, decorators: [{
|
108
108
|
type: Component,
|
109
109
|
args: [{
|
@@ -142,9 +142,9 @@ const daffPaymentReducers = {
|
|
142
142
|
|
143
143
|
class DaffPaymentStateModule {
|
144
144
|
}
|
145
|
-
/** @nocollapse */
|
146
|
-
/** @nocollapse */
|
147
|
-
/** @nocollapse */
|
145
|
+
/** @nocollapse */ DaffPaymentStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaymentStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
146
|
+
/** @nocollapse */ DaffPaymentStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaymentStateModule, imports: [i1.StoreFeatureModule] });
|
147
|
+
/** @nocollapse */ DaffPaymentStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaymentStateModule, imports: [[
|
148
148
|
StoreModule.forFeature('payment', daffPaymentReducers),
|
149
149
|
]] });
|
150
150
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaymentStateModule, decorators: [{
|
@@ -158,13 +158,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
158
158
|
|
159
159
|
class DaffPaymentModule {
|
160
160
|
}
|
161
|
-
/** @nocollapse */
|
162
|
-
/** @nocollapse */
|
161
|
+
/** @nocollapse */ DaffPaymentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaymentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
162
|
+
/** @nocollapse */ DaffPaymentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaymentModule, imports: [CommonModule,
|
163
163
|
/**
|
164
164
|
* Ngrx/store
|
165
165
|
*/
|
166
166
|
DaffPaymentStateModule] });
|
167
|
-
/** @nocollapse */
|
167
|
+
/** @nocollapse */ DaffPaymentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaymentModule, imports: [[
|
168
168
|
CommonModule,
|
169
169
|
/**
|
170
170
|
* Ngrx/store
|
@@ -211,8 +211,8 @@ class DaffPaymentFacade {
|
|
211
211
|
this.store.dispatch(action);
|
212
212
|
}
|
213
213
|
}
|
214
|
-
/** @nocollapse */
|
215
|
-
/** @nocollapse */
|
214
|
+
/** @nocollapse */ DaffPaymentFacade.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaymentFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable });
|
215
|
+
/** @nocollapse */ DaffPaymentFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaymentFacade, providedIn: DaffPaymentModule });
|
216
216
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaymentFacade, decorators: [{
|
217
217
|
type: Injectable,
|
218
218
|
args: [{
|
@@ -286,9 +286,9 @@ const daffBillingReducers = {
|
|
286
286
|
|
287
287
|
class DaffBillingStateModule {
|
288
288
|
}
|
289
|
-
/** @nocollapse */
|
290
|
-
/** @nocollapse */
|
291
|
-
/** @nocollapse */
|
289
|
+
/** @nocollapse */ DaffBillingStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffBillingStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
290
|
+
/** @nocollapse */ DaffBillingStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffBillingStateModule, imports: [i1.StoreFeatureModule] });
|
291
|
+
/** @nocollapse */ DaffBillingStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffBillingStateModule, imports: [[
|
292
292
|
StoreModule.forFeature('billing', daffBillingReducers),
|
293
293
|
]] });
|
294
294
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffBillingStateModule, decorators: [{
|
@@ -319,8 +319,8 @@ class BillingContainer {
|
|
319
319
|
this.store.dispatch(new DaffUpdatePaymentInfo(info));
|
320
320
|
}
|
321
321
|
}
|
322
|
-
/** @nocollapse */
|
323
|
-
/** @nocollapse */
|
322
|
+
/** @nocollapse */ BillingContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BillingContainer, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Component });
|
323
|
+
/** @nocollapse */ BillingContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: BillingContainer, selector: "[billing-container]", exportAs: ["BillingContainer"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
324
324
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BillingContainer, decorators: [{
|
325
325
|
type: Component,
|
326
326
|
args: [{
|
@@ -332,13 +332,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
332
332
|
|
333
333
|
class DaffBillingModule {
|
334
334
|
}
|
335
|
-
/** @nocollapse */
|
336
|
-
/** @nocollapse */
|
335
|
+
/** @nocollapse */ DaffBillingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffBillingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
336
|
+
/** @nocollapse */ DaffBillingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffBillingModule, declarations: [BillingContainer], imports: [CommonModule,
|
337
337
|
/**
|
338
338
|
* Ngrx/store
|
339
339
|
*/
|
340
340
|
DaffBillingStateModule], exports: [BillingContainer] });
|
341
|
-
/** @nocollapse */
|
341
|
+
/** @nocollapse */ DaffBillingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffBillingModule, imports: [[
|
342
342
|
CommonModule,
|
343
343
|
/**
|
344
344
|
* Ngrx/store
|
@@ -383,8 +383,8 @@ class DaffBillingFacade {
|
|
383
383
|
this.store.dispatch(action);
|
384
384
|
}
|
385
385
|
}
|
386
|
-
/** @nocollapse */
|
387
|
-
/** @nocollapse */
|
386
|
+
/** @nocollapse */ DaffBillingFacade.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffBillingFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable });
|
387
|
+
/** @nocollapse */ DaffBillingFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffBillingFacade, providedIn: DaffBillingModule });
|
388
388
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffBillingFacade, decorators: [{
|
389
389
|
type: Injectable,
|
390
390
|
args: [{
|
@@ -413,9 +413,9 @@ const daffShippingReducers = {
|
|
413
413
|
|
414
414
|
class DaffShippingStateModule {
|
415
415
|
}
|
416
|
-
/** @nocollapse */
|
417
|
-
/** @nocollapse */
|
418
|
-
/** @nocollapse */
|
416
|
+
/** @nocollapse */ DaffShippingStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffShippingStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
417
|
+
/** @nocollapse */ DaffShippingStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffShippingStateModule, imports: [i1.StoreFeatureModule] });
|
418
|
+
/** @nocollapse */ DaffShippingStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffShippingStateModule, imports: [[
|
419
419
|
StoreModule.forFeature('shipping', daffShippingReducers),
|
420
420
|
]] });
|
421
421
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffShippingStateModule, decorators: [{
|
@@ -429,13 +429,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
429
429
|
|
430
430
|
class DaffShippingModule {
|
431
431
|
}
|
432
|
-
/** @nocollapse */
|
433
|
-
/** @nocollapse */
|
432
|
+
/** @nocollapse */ DaffShippingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffShippingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
433
|
+
/** @nocollapse */ DaffShippingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffShippingModule, declarations: [ShippingContainer], imports: [CommonModule,
|
434
434
|
/**
|
435
435
|
* Ngrx/store
|
436
436
|
*/
|
437
437
|
DaffShippingStateModule], exports: [ShippingContainer] });
|
438
|
-
/** @nocollapse */
|
438
|
+
/** @nocollapse */ DaffShippingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffShippingModule, imports: [[
|
439
439
|
CommonModule,
|
440
440
|
/**
|
441
441
|
* Ngrx/store
|
@@ -480,8 +480,8 @@ class DaffShippingFacade {
|
|
480
480
|
this.store.dispatch(action);
|
481
481
|
}
|
482
482
|
}
|
483
|
-
/** @nocollapse */
|
484
|
-
/** @nocollapse */
|
483
|
+
/** @nocollapse */ DaffShippingFacade.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffShippingFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable });
|
484
|
+
/** @nocollapse */ DaffShippingFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffShippingFacade, providedIn: DaffShippingModule });
|
485
485
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffShippingFacade, decorators: [{
|
486
486
|
type: Injectable,
|
487
487
|
args: [{
|
@@ -588,8 +588,8 @@ class OrderEffects {
|
|
588
588
|
.pipe(map((resp) => new DaffPlaceOrderSuccess(resp)), catchError(error => of(new DaffPlaceOrderFailure('Failed to place order')))))));
|
589
589
|
}
|
590
590
|
}
|
591
|
-
/** @nocollapse */
|
592
|
-
/** @nocollapse */
|
591
|
+
/** @nocollapse */ OrderEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: OrderEffects, deps: [{ token: i1$1.Actions }, { token: DaffCheckoutDriver }], target: i0.ɵɵFactoryTarget.Injectable });
|
592
|
+
/** @nocollapse */ OrderEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: OrderEffects });
|
593
593
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: OrderEffects, decorators: [{
|
594
594
|
type: Injectable
|
595
595
|
}], ctorParameters: function () { return [{ type: i1$1.Actions }, { type: undefined, decorators: [{
|
@@ -602,9 +602,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
602
602
|
*/
|
603
603
|
class DaffOrderStateModule {
|
604
604
|
}
|
605
|
-
/** @nocollapse */
|
606
|
-
/** @nocollapse */
|
607
|
-
/** @nocollapse */
|
605
|
+
/** @nocollapse */ DaffOrderStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
606
|
+
/** @nocollapse */ DaffOrderStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderStateModule, imports: [i1.StoreFeatureModule, i1$1.EffectsFeatureModule] });
|
607
|
+
/** @nocollapse */ DaffOrderStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderStateModule, imports: [[
|
608
608
|
StoreModule.forFeature('order', daffOrderReducers),
|
609
609
|
EffectsModule.forFeature([
|
610
610
|
OrderEffects,
|
@@ -627,13 +627,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
627
627
|
*/
|
628
628
|
class DaffOrderModule {
|
629
629
|
}
|
630
|
-
/** @nocollapse */
|
631
|
-
/** @nocollapse */
|
630
|
+
/** @nocollapse */ DaffOrderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
631
|
+
/** @nocollapse */ DaffOrderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderModule, declarations: [OrderContainer], imports: [CommonModule,
|
632
632
|
/**
|
633
633
|
* Ngrx/store
|
634
634
|
*/
|
635
635
|
DaffOrderStateModule], exports: [OrderContainer] });
|
636
|
-
/** @nocollapse */
|
636
|
+
/** @nocollapse */ DaffOrderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderModule, imports: [[
|
637
637
|
CommonModule,
|
638
638
|
/**
|
639
639
|
* Ngrx/store
|
@@ -681,8 +681,8 @@ class DaffOrderFacade {
|
|
681
681
|
this.store.dispatch(action);
|
682
682
|
}
|
683
683
|
}
|
684
|
-
/** @nocollapse */
|
685
|
-
/** @nocollapse */
|
684
|
+
/** @nocollapse */ DaffOrderFacade.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable });
|
685
|
+
/** @nocollapse */ DaffOrderFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderFacade, providedIn: DaffOrderModule });
|
686
686
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderFacade, decorators: [{
|
687
687
|
type: Injectable,
|
688
688
|
args: [{
|
@@ -692,8 +692,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
692
692
|
|
693
693
|
class StateCheckoutModule {
|
694
694
|
}
|
695
|
-
/** @nocollapse */
|
696
|
-
/** @nocollapse */
|
695
|
+
/** @nocollapse */ StateCheckoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: StateCheckoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
696
|
+
/** @nocollapse */ StateCheckoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: StateCheckoutModule, imports: [CommonModule,
|
697
697
|
DaffShippingModule,
|
698
698
|
DaffPaymentModule,
|
699
699
|
DaffBillingModule,
|
@@ -701,7 +701,7 @@ class StateCheckoutModule {
|
|
701
701
|
DaffPaymentModule,
|
702
702
|
DaffBillingModule,
|
703
703
|
DaffOrderModule] });
|
704
|
-
/** @nocollapse */
|
704
|
+
/** @nocollapse */ StateCheckoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: StateCheckoutModule, imports: [[
|
705
705
|
CommonModule,
|
706
706
|
DaffShippingModule,
|
707
707
|
DaffPaymentModule,
|
@@ -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 { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\nimport { DaffShippingReducerState } from '../reducers/shipping/shipping-reducer.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 { DaffOrderReducersState } from '../reducers/order-reducers.interface';\nimport { DaffOrderReducerState } from '../reducers/order/order-reducer.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 {\n DaffPaymentActionTypes,\n DaffPaymentActions,\n} from '../../actions/payment.actions';\nimport { DaffPaymentReducerState } from './payment-reducer.interface';\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 { DaffPaymentReducersState } from './payment-reducers.interface';\nimport { daffPaymentReducer } from './payment/payment.reducer';\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 { DaffPaymentReducersState } from '../reducers/payment-reducers.interface';\nimport { DaffPaymentReducerState } from '../reducers/payment/payment-reducer.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 { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\nimport { DaffBillingReducerState } from '../reducers/billing/billing-reducer.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 {\n DaffBillingActionTypes,\n DaffBillingActions,\n} from '../../actions/billing.actions';\nimport { DaffBillingReducerState } from './billing-reducer.interface';\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 { DaffBillingReducersState } from './billing-reducers.interface';\nimport { daffBillingReducer } from './billing/billing.reducer';\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 {\n DaffShippingActionTypes,\n DaffShippingActions,\n} from '../../actions/shipping.actions';\nimport { DaffShippingReducerState } from './shipping-reducer.interface';\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 { DaffShippingReducersState } from './shipping-reducers.interface';\nimport { daffShippingReducer } from './shipping/shipping.reducer';\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 {\n DaffOrderActions,\n DaffOrderActionTypes,\n} from '../../actions/order.actions';\nimport { DaffOrderReducerState } from './order-reducer.interface';\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 { DaffOrderReducersState } from './order-reducers.interface';\nimport { daffOrderReducer } from './order/order.reducer';\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":["DaffUpdatePaymentInfo","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;MAE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":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 { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\nimport { DaffShippingReducerState } from '../reducers/shipping/shipping-reducer.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 { DaffOrderReducersState } from '../reducers/order-reducers.interface';\nimport { DaffOrderReducerState } from '../reducers/order/order-reducer.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 {\n DaffPaymentActionTypes,\n DaffPaymentActions,\n} from '../../actions/payment.actions';\nimport { DaffPaymentReducerState } from './payment-reducer.interface';\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 { DaffPaymentReducersState } from './payment-reducers.interface';\nimport { daffPaymentReducer } from './payment/payment.reducer';\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 { DaffPaymentReducersState } from '../reducers/payment-reducers.interface';\nimport { DaffPaymentReducerState } from '../reducers/payment/payment-reducer.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 { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\nimport { DaffBillingReducerState } from '../reducers/billing/billing-reducer.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 {\n DaffBillingActionTypes,\n DaffBillingActions,\n} from '../../actions/billing.actions';\nimport { DaffBillingReducerState } from './billing-reducer.interface';\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 { DaffBillingReducersState } from './billing-reducers.interface';\nimport { daffBillingReducer } from './billing/billing.reducer';\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 {\n DaffShippingActionTypes,\n DaffShippingActions,\n} from '../../actions/shipping.actions';\nimport { DaffShippingReducerState } from './shipping-reducer.interface';\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 { DaffShippingReducersState } from './shipping-reducers.interface';\nimport { daffShippingReducer } from './shipping/shipping.reducer';\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 {\n DaffOrderActions,\n DaffOrderActionTypes,\n} from '../../actions/order.actions';\nimport { DaffOrderReducerState } from './order-reducer.interface';\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 { DaffOrderReducersState } from './order-reducers.interface';\nimport { daffOrderReducer } from './order/order.reducer';\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":["DaffUpdatePaymentInfo","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,0BAA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AA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAb5B,YAAY;QACZ,kBAAkB;QAClB,iBAAiB;QACjB,iBAAiB;AACjB,QAAA,eAAe,aAGf,kBAAkB;QAClB,iBAAiB;QACjB,iBAAiB;QACjB,eAAe,CAAA,EAAA,CAAA,CAAA;AAGN,mBAAA,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,EAdrB,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,kBAAkB;YAClB,iBAAiB;YACjB,iBAAiB;YACjB,eAAe;AAChB,SAAA,EAEC,kBAAkB;QAClB,iBAAiB;QACjB,iBAAiB;QACjB,eAAe,CAAA,EAAA,CAAA,CAAA;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;;;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@daffodil/checkout",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.45.0",
|
4
4
|
"description": "Interfaces built for daffodil/state",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -15,9 +15,9 @@
|
|
15
15
|
"peerDependencies": {
|
16
16
|
"@angular/common": "^13.0.0",
|
17
17
|
"@angular/core": "^13.0.0",
|
18
|
-
"@daffodil/cart": "0.
|
19
|
-
"@daffodil/core": "0.
|
20
|
-
"@daffodil/product": "0.
|
18
|
+
"@daffodil/cart": "0.45.0",
|
19
|
+
"@daffodil/core": "0.45.0",
|
20
|
+
"@daffodil/product": "0.45.0",
|
21
21
|
"@ngrx/effects": "^13.0.0",
|
22
22
|
"@ngrx/entity": "^13.0.0",
|
23
23
|
"@ngrx/store": "^13.0.0",
|